/* DocuJob · docujob.ai
   Ink-dark blueprint aesthetic with a hi-vis orange signal color. */

@font-face { font-family: "Space Grotesk"; src: url("/fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #070B14;
  --ink-2: #0B1120;
  --surface: #0F1628;
  --surface-2: #131B30;
  --line: rgba(160, 180, 220, 0.12);
  --line-2: rgba(160, 180, 220, 0.2);
  --text: #EAEEF6;
  --muted: #94A0B8;
  --dim: #66728A;
  --orange: #FF6A2B;
  --orange-2: #FF8A3D;
  --orange-3: #FF4A1C;
  --cyan: #5CC8FF;
  --ok: #3DDC97;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line);
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .fine a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 138, 61, .4); }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.025em; margin: 0; font-weight: 600; }
.mono { font-family: var(--mono); font-size: .85em; letter-spacing: 0; }
.dim { color: var(--dim); }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; justify-content: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: #111; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }

/* blueprint grid + glow */
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(255, 106, 43, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 20%, rgba(92, 200, 255, .08), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--ink);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.25) 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.25) 100%);
}

/* icons */
.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 14px; height: 14px; }

/* buttons */
.btn {
  --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--sans);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #160A04; background: linear-gradient(180deg, var(--orange-2), var(--orange-3));
  box-shadow: 0 10px 30px -10px rgba(255, 90, 30, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(255, 90, 30, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.btn .ic { transition: transform .2s ease; }
.btn:hover .ic { transform: translateX(2px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 11, 20, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .mark { width: 32px; height: 32px; }
.wordmark { font: 700 21px/1 var(--display); letter-spacing: -0.03em; }
.wordmark b { color: var(--orange); font-weight: 700; }
.nav-links { display: flex; gap: 4px; margin-left: 24px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 24px; }
.nav.open .nav-toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 20px; transform: rotate(-45deg); }
.nav-sheet { display: none; }

/* typography blocks */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  font: 500 13px/1 var(--sans); color: #FFC7A6; letter-spacing: .01em;
  background: linear-gradient(180deg, rgba(255, 106, 43, .14), rgba(255, 106, 43, .06)); border: 1px solid rgba(255, 106, 43, .3);
}
.kicker { display: inline-block; font: 500 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 16px; }
.grad { background: linear-gradient(100deg, #FFB37A 0%, var(--orange) 45%, #FF3D6E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 590px; line-height: 1.6; margin: 22px 0 0; }
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; margin-top: 22px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 34px 0 0; color: var(--muted); font-size: 14px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ic { color: var(--orange-2); }

/* hero stage */
.stage { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, .38fr) minmax(0, 1fr); align-items: center; min-height: 520px; }
.stage::before {
  content: ""; position: absolute; inset: 6% -4% 6% 4%; border-radius: 40px; z-index: -1;
  background: radial-gradient(60% 60% at 60% 50%, rgba(255, 106, 43, .22), transparent 70%);
  filter: blur(20px);
}
.device {
  position: relative; z-index: 2; padding: 16px 14px 18px; border-radius: 34px;
  background: linear-gradient(180deg, #121A2E, #0B1120); border: 1px solid var(--line-2);
  box-shadow: var(--shadow), inset 0 0 0 6px #070B14, inset 0 0 0 7px rgba(255,255,255,.06);
  transform: rotate(-4deg) translateY(10px);
}
.device-notch { width: 70px; height: 6px; border-radius: 6px; background: #070B14; margin: 6px auto 14px; box-shadow: 0 0 0 1px var(--line); }
.device-top { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; font-size: 12px; }
.device-title { font: 600 14px/1.3 var(--display); padding: 10px 6px 12px; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font: 600 11px/1 var(--sans); }
.pill-live { color: #FFB59A; background: rgba(255, 74, 28, .14); border: 1px solid rgba(255, 74, 28, .35); }
.pill-live i { width: 6px; height: 6px; border-radius: 50%; background: #FF4A1C; animation: blink 1.2s infinite; }
.pill-ok { color: var(--ok); background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .3); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.shot { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.shot.s1 { background: linear-gradient(160deg, transparent 52%, #3B2A22 52.5%, #5A3C2C 70%, #2B1E18) , linear-gradient(180deg, #5C8BB8, #9CC3E0 55%, #DCE9F2); }
.shot.s2 { background: repeating-linear-gradient(-20deg, #4A3A34 0 9px, #3A2D28 9px 18px), #4A3A34; }
.shot.s3 { background: linear-gradient(135deg, #6B7686, #2E3644 60%), #3A4250; }
.shot.s3::after { content: ""; position: absolute; left: 18%; right: 18%; top: 30%; bottom: 30%; border: 2px solid rgba(255, 200, 120, .8); border-radius: 4px; box-shadow: 0 0 0 999px rgba(0,0,0,.1); }
.shot.s4 { display: grid; place-items: center; background: rgba(255, 255, 255, .03); border: 1px dashed var(--line-2); }
.plus { font: 300 28px/1 var(--display); color: var(--dim); }
.scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(92, 200, 255, .35), transparent); border-bottom: 1px solid rgba(92, 200, 255, .8); animation: scan 3.2s ease-in-out infinite; }
.voice { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.bars { flex: 1; display: flex; align-items: center; gap: 2px; height: 28px; }
.bars i { flex: 1; min-width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--orange-2), var(--orange-3)); height: 30%; animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -73ms); }
.voice .mono { font-size: 12px; color: var(--muted); }
.rec { width: 56px; height: 56px; margin: 14px auto 0; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .85); display: grid; place-items: center; }
.rec span { width: 22px; height: 22px; border-radius: 6px; background: #FF4A1C; box-shadow: 0 0 20px rgba(255, 74, 28, .8); }

.flow { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.flow-line { position: absolute; left: -20%; right: -20%; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 138, 61, .55) 0 6px, transparent 6px 12px); }
.flow-line i { position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 14px 4px rgba(255, 106, 43, .6); animation: travel 2.4s cubic-bezier(.6,0,.4,1) infinite; }
.flow-steps { position: absolute; z-index: 3; top: calc(50% + 16px); display: grid; gap: 6px; left: 50%; transform: translateX(-50%); }
.flow-steps span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font: 500 11px/1 var(--sans); color: var(--muted); background: rgba(11, 17, 32, .9); border: 1px solid var(--line); opacity: .35; animation: step 4.8s infinite; justify-self: center; }
.flow-steps span:nth-child(2) { animation-delay: 1.2s; } .flow-steps span:nth-child(3) { animation-delay: 2.4s; } .flow-steps span:nth-child(4) { animation-delay: 3.6s; }

.report {
  position: relative; z-index: 2; padding: 22px 22px 18px; border-radius: 16px; color: #1A2133;
  background: linear-gradient(180deg, #FFFFFF, #F4F2EE); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.4);
  transform: rotate(3deg) translateY(-14px);
}
.report::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.65) 50%, transparent 60%) -200% 0 / 250% 100% no-repeat; animation: sheen 5s ease-in-out infinite; }
.report-head { white-space: nowrap; gap: 10px; display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #E6E1D8; font-size: 12px; }
.report-co { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.co-dot { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #1F3B66, #2F5C9A); }
.report .dim { color: #8C93A3; }
.report h3 { font-size: 22px; margin: 14px 0 10px; color: #0E1424; }
.report-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
.report-meta dt { font: 600 9.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #9097A6; }
.report-meta dd { margin: 3px 0 0; font: 600 12.5px/1.2 var(--sans); }
.report-sec { font: 700 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #E2551F; margin-bottom: 8px; }
.lines { display: grid; gap: 7px; }
.lines i { height: 7px; border-radius: 4px; background: #E3DED5; width: 0; animation: type 5s ease-out infinite; }
.lines i:nth-child(1) { --t: 0s; } .lines i:nth-child(2) { animation-delay: .25s; } .lines i:nth-child(3) { animation-delay: .5s; } .lines i:nth-child(4) { animation-delay: .75s; }
.report-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0; }
.report-thumbs span { aspect-ratio: 4/3; border-radius: 6px; }
.report-thumbs .t1 { background: linear-gradient(160deg, transparent 52%, #5A3C2C 52.5%), linear-gradient(180deg, #5C8BB8, #CFE2EF); }
.report-thumbs .t2 { background: repeating-linear-gradient(-20deg, #6A564C 0 6px, #574640 6px 12px); }
.report-thumbs .t3 { background: linear-gradient(135deg, #8792A2, #4A5262); }
.report-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid #E6E1D8; }
.sig { font: italic 500 12px/1 var(--sans); color: #9097A6; border-bottom: 1px solid #C9C3B8; padding-bottom: 4px; min-width: 96px; }
.report .pill-ok { color: #0F8A55; background: #E3F7EE; border-color: #B8EBD3; }

/* trades marquee */
.trades { padding: 8px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(11, 17, 32, .5); }
.trades-label { text-align: center; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 22px 0 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.trade { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--muted); font-weight: 500; font-size: 15px; white-space: nowrap; }
.trade .ic { color: var(--orange-2); }

/* sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 46px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 106, 43, .5), transparent); }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(19, 27, 48, .9), rgba(11, 17, 32, .9)); border: 1px solid var(--line); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.step-num { color: var(--dim); font-size: 13px; }
.step-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--orange-2); background: rgba(255, 106, 43, .1); border: 1px solid rgba(255, 106, 43, .25); }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(19, 27, 48, .85), rgba(11, 17, 32, .85)); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(255, 106, 43, .12), transparent 60%); opacity: 0; transition: opacity .3s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card.wide { grid-column: span 2; }
.card.full { grid-column: 1 / -1; }
.card.wide, .card.full { display: flex; gap: 28px; align-items: center; }
.card-txt { position: relative; flex: 1 1 0; min-width: 0; }
.viz { position: relative; flex: 1 1 0; min-width: 0; }
.viz-transcript { padding: 16px; border-radius: 14px; background: rgba(7, 11, 20, .7); border: 1px solid var(--line); }
.viz-transcript p { margin: 12px 0 0; font-size: 12.5px; line-height: 1.7; color: #C9D2E3; }
.bars-sm { height: 30px; }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 3px; vertical-align: -2px; background: var(--orange-2); animation: blink 1s steps(1) infinite; }
.viz-roles { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 14px; font-weight: 500; }
.chip .av { width: 22px; height: 22px; }
.card-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--orange-2); background: rgba(255, 106, 43, .1); border: 1px solid rgba(255, 106, 43, .25); margin-bottom: 22px; position: relative; }
.card h3 { margin-bottom: 8px; position: relative; }
.card p { color: var(--muted); margin: 0; position: relative; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 106, 43, .05), transparent); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 600 clamp(36px, 4.4vw, 54px)/1 var(--display); letter-spacing: -0.04em; background: linear-gradient(180deg, #fff, #B9C2D6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 14.5px; max-width: 220px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split h2 { margin-bottom: 18px; }
.split .muted { font-size: 17.5px; margin: 0; }
.checklist { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .ic { color: var(--orange-2); margin-top: 3px; }
.checklist b { display: block; font-weight: 600; }
.checklist span { color: var(--muted); font-size: 15px; }

.code { border-radius: var(--radius); overflow: hidden; background: #0A101E; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.code-head { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.code-head span { width: 10px; height: 10px; border-radius: 50%; background: #262F44; }
.code-head em { margin-left: auto; font-style: normal; color: var(--dim); font-size: 12px; }
.code pre { margin: 0; padding: 22px 24px; font-size: 13.5px; line-height: 1.75; color: #C9D2E3; overflow-x: auto; }
.code b { color: var(--orange-2); font-weight: 500; }
.code .k { color: var(--cyan); } .code .s { color: #FFC59E; } .code .c { color: var(--dim); }

.panel { padding: 20px; border-radius: var(--radius); background: linear-gradient(180deg, #111A2D, #0B1120); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; font-family: var(--display); }
.role { display: flex; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.role:last-child { border-bottom: 0; }
.role b { display: block; font-size: 15px; font-weight: 600; }
.role span { color: var(--muted); font-size: 13px; }
.av { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.av-o { background: linear-gradient(135deg, #FF8A3D, #FF3D6E); } .av-a { background: linear-gradient(135deg, #5CC8FF, #3D6BFF); }
.av-t { background: linear-gradient(135deg, #FFC94D, #FF8A3D); } .av-v { background: linear-gradient(135deg, #8A94A8, #4A5468); }
.tog { margin-left: auto; width: 38px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.1); position: relative; flex: none; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
.tog.on { background: var(--orange); } .tog.on::after { left: 19px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--orange-2); font-weight: 600; }
.link-arrow:hover .ic { transform: translateX(3px); } .link-arrow .ic { transition: transform .2s; }

.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px); border-radius: 28px; border: 1px solid rgba(255, 106, 43, .3); background: linear-gradient(180deg, #141B2E, #0B1120); }
.cta-glow { position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 106, 43, .35), transparent 70%); pointer-events: none; }
.cta-band h2 { position: relative; max-width: 760px; margin: 0 auto; }
.cta-band p { position: relative; color: var(--muted); max-width: 560px; margin: 18px auto 0; font-size: 18px; }
.cta-band .cta-row { position: relative; justify-content: center; }

/* inner pages */
.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(32px, 5vw, 64px); }
.page-hero-tight { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 68px); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline li { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(11, 17, 32, .7); position: relative; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 2px; background: linear-gradient(90deg, var(--orange), transparent); }
.timeline .mono { color: var(--orange-2); }
.timeline h3 { margin: 14px 0 8px; font-size: 21px; }
.timeline p { color: var(--muted); margin: 0; font-size: 15px; }
.note { margin-top: 40px; padding: 28px 32px; border-radius: var(--radius); border: 1px dashed var(--line-2); }
.note p { color: var(--muted); margin: 8px 0 0; }

.demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.form { padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: linear-gradient(180deg, rgba(19, 27, 48, .95), rgba(11, 17, 32, .95)); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 500; color: #C6CEDD; }
.form label em { color: var(--dim); font-style: normal; font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 15px/1.4 var(--sans); color: var(--text); background: rgba(7, 11, 20, .7);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.form textarea { resize: vertical; min-height: 100px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(255, 138, 61, .7); box-shadow: 0 0 0 4px rgba(255, 106, 43, .15); }
.form .hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.4em; font-size: 14px; }
.form-status.ok { color: var(--ok); } .form-status.err { color: #FF8A8A; }
.fine { margin: 0; font-size: 12.5px; color: var(--dim); }
.form.done > *:not(.form-status):not(.done-msg) { display: none; }
.done-msg { text-align: center; padding: 40px 10px; }
.done-msg .ic { width: 52px; height: 52px; margin: 0 auto 18px; color: var(--ok); }
.done-msg p { color: var(--muted); }

.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p { color: #C2CADA; margin: 0 0 12px; }

/* footer */
.footer { margin-top: 40px; border-top: 1px solid var(--line); background: rgba(7, 11, 20, .8); }
.footer-in { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); max-width: 320px; margin: 16px 0 0; font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-cols a { display: block; color: #C2CADA; padding: 5px 0; font-size: 15px; }
.footer-cols a:hover { color: var(--orange-2); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.device.reveal.in { transform: rotate(-4deg) translateY(10px); }
.report.reveal.in { transform: rotate(3deg) translateY(-14px); }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: .2; } }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 100%; } }
@keyframes scan { 0% { top: -30%; } 60%, 100% { top: 100%; } }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes step { 0%, 100% { opacity: .35; border-color: var(--line); color: var(--muted); } 10%, 22% { opacity: 1; border-color: rgba(255, 106, 43, .55); color: #FFD0B3; } 32% { opacity: .35; } }
@keyframes type { 0% { width: 0; } 35%, 100% { width: var(--w); } }
@keyframes sheen { 0%, 60% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* responsive */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; }
  .stage { max-width: 640px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
.card.full { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-sheet { display: grid; gap: 4px; padding: 0 var(--gutter); max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; background: rgba(7, 11, 20, .96); }
  .nav.open .nav-sheet { max-height: 420px; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); }
  .nav.open { background: rgba(7, 11, 20, .96); }
  .nav-sheet a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
  .nav-sheet .btn { margin-top: 14px; border-bottom: 0; }
  .steps, .split, .demo, .footer-in { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .split-rev > :first-child { order: 2; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .stage { grid-template-columns: 1fr 1fr; min-height: 0; gap: 0; }
  .flow { display: none; }
  .device { padding: 12px 10px 14px; border-radius: 26px; }
  .device-title { font-size: 12px; }
  .rec { width: 44px; height: 44px; } .rec span { width: 16px; height: 16px; }
  .report { padding: 14px 14px 12px; margin-left: -18px; }
  .report h3 { font-size: 16px; margin: 10px 0 8px; }
  .report-meta dd { font-size: 10.5px; }
  .report-head .dim, .sig { display: none; }
  .report .pill-ok { font-size: 9.5px; }
  .bento, .grid-3, .timeline { grid-template-columns: 1fr; }
  .card.wide, .card.full { grid-column: auto; flex-direction: column; align-items: stretch; }
  .viz-roles { justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  h1 br, h2 br { display: none; }
  .voice .mono { display: none; }
  .report-meta div:nth-child(2) { display: none; }
  .report-meta { grid-template-columns: 1fr 1fr; }
  .trades-label { letter-spacing: .08em; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .btn-lg { --h: 50px; padding: 0 20px; }
  .hero .cta-row .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .lines i { width: var(--w); }
  html { scroll-behavior: auto; }
}
