/* oll4.com — one page. Black, hairline grid, one accent, IBM Plex. */

@font-face { font-family: "Plex"; src: url("fonts/ibm-plex-sans-var-latin.e2291e842c.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "PlexMono"; src: url("fonts/ibm-plex-mono-500-latin.01d2854474.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --ink: #f3f3f1;
  --ink-2: #b9bbb6;
  --mute: #7d817c;
  --line: rgba(255, 255, 255, 0.11);
  --line-2: rgba(255, 255, 255, 0.22);
  --accent: #b7f5d3;
  --accent-ink: #06130d;
  --sans: "Plex", "Segoe UI", system-ui, sans-serif;
  --mono: "PlexMono", "SFMono-Regular", Consolas, monospace;
  --w: min(1200px, calc(100vw - 40px));
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; overflow-x: clip; color: var(--ink); background: var(--bg); font: 400 16px/1.55 var(--sans); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: 0.5; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 300; padding: 8px 12px; color: var(--accent-ink); background: var(--accent); transform: translateY(-200%); }
.skip:focus { transform: none; }
.preview { position: relative; z-index: 120; margin: 0; padding: 6px 16px; color: var(--accent-ink); background: var(--accent); font: 500 12px/1.4 var(--mono); text-align: center; letter-spacing: 0.02em; }

/* Mono labels */
.tag, .meta, .num, .hero-meta, .hero-foot, .strip b, .step-n, .keep, .panel-head, .foot-row p, .spec, .rail, .note, .cell span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Header */
.top {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  width: var(--w); margin: 0 auto; padding: 18px 0 14px;
  background: linear-gradient(var(--bg) 70%, transparent);
}
.brand { display: inline-flex; align-items: center; gap: 9px; }
.mark { width: 24px; height: 24px; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mark .node { fill: var(--accent); stroke: none; transition: transform 300ms var(--ease); transform-origin: 18.6px 5.4px; }
.brand:hover .mark .node { transform: scale(1.25); }
.word { font-size: 17px; font-weight: 600; letter-spacing: 0.08em; }
.word b { font-weight: 600; color: var(--accent); }

/* Mouse trail: a thin line that follows a fine pointer; off for touch and reduced motion. */
.trail { position: fixed; inset: 0; z-index: 90; display: none; width: 100vw; height: 100vh; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity 240ms ease; }
.trail line { stroke: var(--accent); stroke-linecap: round; }
.trail.is-active { display: block; }
.trail.is-visible { opacity: 0.9; }
.top nav { display: flex; gap: 2px; margin-left: auto; }
.top nav a { padding: 8px 12px; color: var(--ink-2); font-size: 14px; border-radius: 6px; transition: color 150ms, background 150ms; }
.top nav a:hover { color: var(--ink); background: var(--bg-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 8px; font-weight: 500; transition: background 150ms, border-color 150ms, transform 150ms var(--ease); }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-accent { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.btn-accent:hover { background: #d1ffe6; border-color: #d1ffe6; }
.btn-line:hover { background: var(--bg-2); }
.btn-sm { min-height: 38px; padding: 7px 13px; font-size: 14px; }
.link { padding: 0; border: 0; background: none; color: inherit; }

/* Hero: flat accent field with a black card, like a poster. */
.hero { position: relative; isolation: isolate; width: var(--w); margin: 8px auto 0; padding: 0; }
.hero::before { position: absolute; inset: 0 -20px; z-index: -1; content: ""; background: var(--accent); }
.hero-card { position: relative; max-width: 720px; margin: 0; padding: 40px 40px 36px; color: var(--ink); background: var(--bg); }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--mute); }
.hero h1 { margin-top: 36px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 span { display: block; }
.hero-sub { max-width: 54ch; margin-top: 22px; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-foot { margin-top: 28px; color: var(--mute); }

.hero-cells { position: absolute; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(2, 150px); gap: 1px; background: rgba(6, 19, 13, 0.18); }
.cell { display: grid; align-content: space-between; height: 150px; padding: 14px; color: var(--accent-ink); background: var(--accent); }
.cell span { color: rgba(6, 19, 13, 0.7); }
.g { position: relative; display: block; width: 44px; height: 44px; }
.g-scan { border: 1.5px solid var(--accent-ink); }
.g-scan::after { position: absolute; inset: 0 auto 0 0; width: 2px; content: ""; background: var(--accent-ink); animation: scan 2.2s linear infinite; }
.g-check { border-radius: 50%; border: 1.5px solid var(--accent-ink); }
.g-check::after { position: absolute; top: 9px; left: 15px; width: 10px; height: 20px; content: ""; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transform-origin: center; animation: check 2.6s ease-in-out infinite; }
.g-gate { border: 1.5px solid var(--accent-ink); border-radius: 22px; }
.g-gate::after { position: absolute; top: 5px; left: 5px; width: 30px; height: 30px; content: ""; border-radius: 50%; background: var(--accent-ink); animation: gate 3s var(--ease) infinite; }
.g-pulse { border-bottom: 1.5px solid var(--accent-ink); }
.g-pulse::after { position: absolute; bottom: 0; left: 0; width: 8px; height: 8px; content: ""; background: var(--accent-ink); animation: pulse 1.8s var(--ease) infinite; }
@keyframes scan { to { transform: translateX(41px); } }
@keyframes check { 0%, 25% { opacity: 0; clip-path: inset(0 0 100% 0); } 55%, 80% { opacity: 1; clip-path: inset(0); } 100% { opacity: 0; } }
@keyframes gate { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(-24px); } }
@keyframes pulse { 0%, 100% { height: 8px; } 30% { height: 36px; } 60% { height: 18px; } }

/* Programs: Anthropic and OpenAI as text; NVIDIA's official badge unaltered (its white panel and built-in margins). */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; width: var(--w); margin: 0 auto; background: var(--line); border-bottom: 1px solid var(--line); }
.programs > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 18px; background: var(--bg); }
.programs-lead { flex: 1 1 220px; font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.programs-lead span { display: block; }
/* The padding keeps at least the NVIDIA eye's height clear around the badge; 116px wide stays over the 30px digital minimum. */
.programs-badge { flex: none; width: 182px; height: auto; padding: 16px; }
.programs .programs-fine { display: grid; gap: 4px; grid-column: 1 / -1; padding-top: 12px; color: var(--mute); font-size: 12px; line-height: 1.5; }

/* Strip */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; width: var(--w); margin: 0 auto; background: var(--line); border-bottom: 1px solid var(--line); }
.strip div { padding: 22px 18px 24px; background: var(--bg); }
.strip b { display: block; color: var(--accent); font-weight: 500; }
.strip p { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }

/* Blocks */
.block { width: var(--w); margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 0; }
.block-head { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; align-items: baseline; margin-bottom: 28px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.num { color: var(--accent); }
.tag { color: var(--mute); }
.block-head h2 { grid-column: 1 / -1; max-width: 22ch; margin-top: 14px; font-size: clamp(28px, 3.4vw, 42px); }

.grid { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: 1.15fr 1fr; }
.grid > * { min-width: 0; background: var(--bg); }
.cell-lg { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 26px; transition: background 180ms; }
.cell-lg:hover { background: var(--bg-2); }
.meta { display: flex; gap: 14px; color: var(--mute); }
.meta span:first-child { color: var(--accent); }
.cell-lg h3 { font-size: 24px; }
.cell-lg > p:not(.meta):not(.links):not(.note) { color: var(--ink-2); font-size: 15px; }
.code { position: relative; display: flex; min-width: 0; max-width: 100%; align-items: center; gap: 10px; margin: 4px 0 0; padding: 10px 12px; border: 1px solid var(--line-2); background: #050505; font: 500 13px/1.5 var(--mono); color: var(--accent); overflow-x: auto; }
.code code::before { margin-right: 8px; content: "$"; color: var(--mute); }
.code button { margin-left: auto; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--bg); color: var(--ink-2); font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.spec, .note { color: var(--mute); }
.spec { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.spec li::before { margin-right: 8px; content: "·"; color: var(--accent); }
.rail { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.rail li:not(:last-child)::after { margin: 0 8px; content: "→"; color: var(--accent); }
.links { display: flex; gap: 18px; margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--ink); }
.links a { border-bottom: 1px solid var(--line-2); transition: border-color 150ms; }
.links a:hover { border-color: var(--accent); }

.steps li { padding: 22px 20px 26px; }
.step-n { color: var(--accent); }
.steps h3 { margin-top: 44px; font-size: 22px; }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.keep { margin-top: 18px !important; color: var(--ink) !important; font-size: 12px !important; }

.rules { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: rule; }
.rules li { display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; counter-increment: rule; }
.rules li::before { content: counter(rule, decimal-leading-zero); color: var(--mute); font: 500 12px/1.9 var(--mono); }

/* Contact */
.panel { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.panel-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--mute); }
.panel-head span:first-child { color: var(--ink); }
.panel-head [data-advisor-stage] { color: var(--accent); }
.panel-head button { margin-left: auto; padding: 0; border: 0; background: none; color: var(--mute); font: inherit; letter-spacing: inherit; text-transform: inherit; }
.panel-head button:hover { color: var(--ink); }
.brief .panel-head span:last-child { margin-left: auto; }
.prompts { display: flex; flex-wrap: wrap; gap: 6px; }
.prompts button { padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 6px; background: none; color: var(--ink-2); font-size: 13px; }
.prompts button:hover { color: var(--ink); border-color: var(--ink); }
.log { display: grid; gap: 10px; min-height: 120px; max-height: 380px; overflow-y: auto; overscroll-behavior: contain; }
.msg { max-width: 92%; padding: 10px 12px; border: 1px solid var(--line); }
.msg small { display: block; margin-bottom: 4px; color: var(--mute); font: 500 11px var(--mono); letter-spacing: 0.08em; }
.msg p { font-size: 15px; white-space: pre-wrap; }
.msg-u { justify-self: end; border-color: transparent; background: var(--bg-2); }
.msg-u small { color: var(--accent); }
.msg-pending p::after { content: "…"; }
textarea, input:not([type="hidden"]), select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: #050505; font-size: 15px; }
textarea { resize: vertical; }
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--accent); }
select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { color: var(--ink); background: var(--bg-2); }
::placeholder { color: #6a6e69; }
[aria-invalid="true"] { border-color: #ff8f7d !important; }
.field { margin-bottom: 12px; }
.field label { display: block; margin-bottom: 5px; color: var(--ink-2); font-size: 13px; }
.field label i { color: var(--mute); font-style: normal; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.status { color: var(--ink-2); font-size: 14px; }
.status.small { font-size: 13px; color: var(--mute); }
.status.small a { border-bottom: 1px solid var(--line-2); }
.status[data-state="error"] { color: #ff8f7d; }
.status[data-state="success"] { color: var(--accent); }
.challenge { margin-top: 10px; padding: 10px; border: 1px dashed var(--line-2); }
.challenge p { margin-bottom: 8px; color: var(--ink-2); font-size: 14px; }
.turnstile-mount:empty { display: none; }
.handoff { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid var(--accent); }
.handoff p { flex: 1 1 220px; color: var(--ink-2); font-size: 14px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.foot { width: var(--w); margin: clamp(64px, 9vw, 120px) auto 0; padding: 22px 0 28px; border-top: 1px solid var(--line-2); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--mute); }
.foot-row a, .foot-row .link { color: var(--ink-2); }
.foot-row a:hover, .foot-row .link:hover { color: var(--ink); }
.foot-links { margin-top: 10px; }
.foot-links p { display: flex; gap: 18px; }
.foot-links .link { font: inherit; letter-spacing: inherit; text-transform: inherit; }

/* Legal pages */
.legal-doc { width: min(760px, var(--w)); margin: 0 auto; padding: clamp(48px, 8vw, 88px) 0 0; }
.legal-doc h1 { margin-top: 14px; font-size: clamp(32px, 4.5vw, 48px); }
.legal-doc .lead { margin-top: 18px; color: var(--ink-2); font-size: 17px; }
.legal-doc h2 { margin: 40px 0 10px; font-size: 20px; scroll-margin-top: 90px; }
.legal-doc p, .legal-doc li { color: var(--ink-2); font-size: 15px; }
.legal-doc p + p { margin-top: 10px; }
.legal-doc ul { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.legal-doc code { padding: 1px 5px; border: 1px solid var(--line); font: 500 13px var(--mono); color: var(--ink); }
.legal-doc a { border-bottom: 1px solid var(--line-2); }
.legal-doc .link { border-bottom: 1px solid var(--line-2); }
.legal-doc .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.toc { margin-top: 28px; padding: 14px 18px; border: 1px solid var(--line); }
.toc ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px; margin: 0; padding-left: 18px; font-size: 14px; }
@media (max-width: 680px) { .toc ol { grid-template-columns: 1fr; } }

/* 404 */
.notfound { width: var(--w); margin: 0 auto; padding: clamp(64px, 12vw, 140px) 0; }
.notfound h1 { margin-top: 16px; font-size: clamp(34px, 5vw, 56px); }
.notfound p { margin-top: 14px; color: var(--ink-2); }
.notfound .hero-actions { margin-top: 26px; opacity: 1; animation: none; }

/* Consent */
.consent { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: grid; gap: 12px; width: min(380px, calc(100vw - 32px)); padding: 16px; border: 1px solid var(--line-2); background: var(--bg); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
.consent p { color: var(--ink-2); font-size: 14px; }
.consent a { border-bottom: 1px solid var(--line-2); }
.consent div { display: flex; gap: 8px; }

/* Motion */
[data-lines] span { opacity: 0; transform: translateY(14px); animation: rise 700ms var(--ease) forwards; }
[data-lines] span:nth-child(2) { animation-delay: 90ms; }
[data-lines] span:nth-child(3) { animation-delay: 180ms; }
.hero-sub, .hero-actions, .hero-foot { opacity: 0; animation: rise 700ms var(--ease) 260ms forwards; }
.hero-actions { animation-delay: 340ms; }
.hero-foot { animation-delay: 420ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* Careers */
.jobs { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.jobs li { border-bottom: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 20px 16px 22px; transition: background 180ms; }
.job:hover, .job:focus-visible { background: var(--bg-2); }
.job h3 { font-size: 22px; }
.job-where { display: flex; align-items: center; gap: 8px; }
.job-where svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.job-line { color: var(--ink-2); font-size: 15px; }
.job-go { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--accent); font: 500 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.applying { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; padding: 10px 12px; border: 1px solid var(--line-2); }
.applying b { color: var(--accent); font-weight: 500; }
.applying .link { color: var(--mute); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.applying .link:hover { color: var(--ink); }

.will-reveal { opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.will-reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .strip { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-cells { position: static; grid-template-columns: repeat(4, 1fr); }
  .cell { height: 120px; }
  .hero-card { max-width: none; }
}
@media (max-width: 680px) {
  .top nav { display: none; }
  .top-cta { margin-left: auto; }
  .hero-card { padding: 26px 22px 28px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero-sub { font-size: 16px; }
  .hero-cells { grid-template-columns: repeat(2, 1fr); }
  .strip, .grid-3, .grid-4, .programs { grid-template-columns: 1fr; }
  .programs-lead { font-size: 16px; }
  .programs-badge { width: min(240px, 80vw); padding: 12px 16px; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .rules li { grid-template-columns: 40px 1fr; font-size: 16px; }
  .block-head h2 { font-size: 28px; }
  .cell-lg h3 { font-size: 21px; }
  .job { grid-template-columns: 1fr; padding: 18px 4px 20px; }
  .job h3 { font-size: 19px; }
  .job-go { grid-column: 1; grid-row: auto; }
  .msg { max-width: 100%; }
  .foot-links p { flex-wrap: wrap; gap: 12px; }
}
/* Phones (operator 5/11): the NVIDIA badge at about 85% of the content width, its plate starting with the text. The official
   SVG is drawn as is (ratio and its own clear space, 29.49 of 500.43 on each side); the clear space sits in the block's empty
   18px gutter instead of indenting the plate. */
@media (max-width: 640px) {
  .programs-badge { width: min(300px, 92%); padding: 12px 0; margin-left: calc(min(300px, 92%) * -0.0589); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  [data-lines] span, .hero-sub, .hero-actions, .hero-foot, .will-reveal { opacity: 1 !important; transform: none !important; }
}
