/* ============================================================
   EYEPROFIT — IRIS
   Optical precision: midnight navy → electric azure → pale ice.
   One warm amber accent, reserved for compliance flags.
   ============================================================ */

:root {
  --ink:      #04070F;   /* deepest field */
  --navy:     #071022;   /* page ground */
  --navy-2:   #0B1830;   /* raised panels */
  --navy-3:   #10223F;   /* card hover */
  --azure:    #4DA6FF;   /* electric azure */
  --azure-hi: #8FC6FF;   /* lit azure */
  --azure-dp: #1E63D0;   /* deep azure */
  --teal:     #43E0D0;   /* iris fiber teal */
  --ice:      #EAF4FF;   /* pale ice — primary text */
  --ice-dim:  #93ACCD;   /* secondary text */
  --amber:    #FFB454;   /* coaching / caution */
  --red:      #F0616B;   /* review-needed lens segments only */
  --hairline: rgba(125, 170, 230, .16);
  --glass:    rgba(13, 27, 51, .55);

  --font-d: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --font-m: "Spline Sans Mono", ui-monospace, "Cascadia Mono", monospace;

  --wrap: 1200px;
  --pad: clamp(20px, 4.5vw, 64px);
  --radius: 18px;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.modal-open { overflow: hidden; }

body {
  background: var(--navy);
  color: var(--ice);
  font-family: var(--font-d);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--azure-dp); color: var(--ice); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 1.4s steps(3) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); } 33% { transform: translate(-2%,1%); }
  66% { transform: translate(1%,-2%); } 100% { transform: translate(0,0); }
}

/* ---------- custom cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 70; pointer-events: none; display: none; }
body.has-cursor .cursor { display: block; }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
.cursor-dot, .cursor-ring {
  position: absolute; top: 0; left: 0; border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--azure-hi); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(143, 198, 255, .65);
  transition: width .3s var(--ease-out), height .3s var(--ease-out),
              border-color .3s, background-color .3s;
}
.cursor.is-active .cursor-ring {
  width: 52px; height: 52px;
  border-color: var(--teal);
  border-style: dashed;
  background: rgba(67, 224, 208, .06);
  animation: cursorSpin 5s linear infinite;
}
@keyframes cursorSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- shared atoms ---------- */
.kicker {
  font-family: var(--font-m); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--azure);
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.kicker::after { content: ""; height: 1px; width: 72px; background: var(--azure); opacity: .4; }
.kicker-no { color: var(--ice-dim); }

.section-title {
  font-size: clamp(38px, 6.2vw, 84px);
  font-weight: 800; line-height: .98; letter-spacing: -.025em;
  margin-bottom: 26px;
}
.section-lede { max-width: 560px; color: var(--ice-dim); font-size: clamp(16px, 1.4vw, 19px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-m); font-size: 13.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 15px 30px; border-radius: 999px; border: 1px solid var(--hairline);
  color: var(--ice); background: transparent; position: relative; overflow: hidden;
  transition: color .35s, border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 160% at 50% 120%, var(--azure-dp), var(--azure) 70%);
  transform: scale(0); transform-origin: 50% 100%; opacity: 0;
  transition: transform .45s var(--ease-out), opacity .3s;
  z-index: -1;
}
.btn:hover { border-color: var(--azure); transform: translateY(-2px); }
.btn:hover::before { transform: scale(1.05); opacity: 1; }
.btn:focus-visible { outline: 2px solid var(--azure-hi); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--azure-dp), var(--azure));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 30px -8px rgba(77, 166, 255, .45);
}
.btn-primary:hover { box-shadow: 0 14px 44px -8px rgba(77, 166, 255, .6); }
.btn-primary::before { background: radial-gradient(120% 160% at 50% 120%, var(--teal), var(--azure) 80%); }
.btn-ghost { color: var(--azure-hi); }
.btn-small { padding: 10px 20px; font-size: 12px; }
.btn-full { width: 100%; margin-top: 26px; }
.btn-big { padding: 20px 44px; font-size: 15px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px var(--pad);
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(6, 12, 26, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--azure-hi); text-decoration: none;
}
.nav-logo-word { font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ice); }
.nav-logo-word em { font-style: normal; color: var(--azure); }
.nav-logo-mark { transition: transform .6s var(--ease-out); }
.nav-logo:hover .nav-logo-mark { transform: rotate(90deg); }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  color: var(--ice-dim); text-decoration: none; font-size: 14.5px; font-weight: 500;
  letter-spacing: .01em; position: relative; padding: 6px 0;
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--azure); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--ice); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

.nav-right { display: flex; align-items: center; gap: 18px; }
.scroll-ring { color: var(--azure); display: block; }

.nav-burger {
  display: none; flex-direction: column; gap: 6px; background: none;
  border: 0; padding: 10px; cursor: pointer;
}
.nav-burger span { width: 24px; height: 2px; background: var(--ice); transition: transform .35s var(--ease-out), opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(4, 7, 15, .96); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 28px; text-align: center; }
.mobile-menu a {
  color: var(--ice); text-decoration: none; font-size: 28px; font-weight: 700;
  letter-spacing: -.02em;
}
.mobile-menu a.mobile-cta { color: var(--azure); font-family: var(--font-m); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 110px var(--pad) 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 44% at 50% 38%, rgba(30, 99, 208, .22), transparent 70%),
    radial-gradient(90% 60% at 50% 110%, rgba(67, 224, 208, .06), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--navy) 55%);
}
.hero-bg::after {
  /* lens-flare hairline */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(143,198,255,.16) 30%, rgba(143,198,255,.16) 60%, transparent);
}

.hero-eyebrow {
  font-family: var(--font-m); font-size: 12.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--ice-dim);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: clamp(20px, 3.5vh, 42px);
}
.rec-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 180, 84, .5);
  animation: recPulse 2.2s ease-out infinite;
}
@keyframes recPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 180, 84, .5); }
  70% { box-shadow: 0 0 0 9px rgba(255, 180, 84, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 180, 84, 0); }
}

.iris-stage {
  position: relative;
  width: min(66vmin, 560px);
  aspect-ratio: 1;
  margin-bottom: clamp(-70px, -8vmin, -40px);
  flex-shrink: 0;
}
#irisCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#apertureSvg { position: absolute; inset: -6%; width: 112%; height: 112%; }

.iris-hud { position: absolute; inset: -6% -14%; pointer-events: none; }
.hud {
  position: absolute; font-family: var(--font-m); font-size: 10.5px;
  letter-spacing: .16em; color: var(--ice-dim); white-space: nowrap;
}
.hud b { color: var(--teal); font-weight: 500; }
.hud-tl { top: 4%; left: 0; }
.hud-tr { top: 4%; right: 0; }
.hud-bl { bottom: 17%; left: 0; }
.hud-br { bottom: 17%; right: 0; }

.hero-title {
  position: relative; z-index: 2;
  font-size: clamp(44px, 8.4vw, 118px);
  font-weight: 900; line-height: .96; letter-spacing: -.035em;
  display: flex; flex-direction: column; gap: .04em;
  text-shadow: 0 10px 60px rgba(4, 7, 15, .9);
}
.ht-line { display: block; }
.ht-blur { color: var(--ice-dim); }
.ht-know {
  background: linear-gradient(100deg, var(--azure-hi) 10%, var(--azure) 45%, var(--teal) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* line-height < 1 shrinks the paint box below the glyphs — extend it so
     descenders (the g in "knowing") keep their gradient */
  padding-bottom: .14em; margin-bottom: -.14em;
}
/* pre-JS / no-JS visible defaults; JS adds .js-focus for the pull */
.js-anim .ht-blur { filter: blur(14px); opacity: .3; letter-spacing: .04em; }
.js-anim .ht-know { filter: blur(22px); opacity: 0; }

.hero-sub {
  max-width: 620px; margin-top: 28px; color: var(--ice-dim);
  font-size: clamp(15.5px, 1.5vw, 18.5px);
}
.hero-ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none;
}
.scroll-cue-label {
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--ice-dim);
}
.scroll-cue-line {
  width: 1px; height: 44px; overflow: hidden; position: relative;
  background: rgba(125, 170, 230, .2);
}
.scroll-cue-line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--azure); animation: cueDrop 2s var(--ease-out) infinite;
}
@keyframes cueDrop { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { padding: clamp(90px, 14vh, 170px) 0; position: relative; }
.manifesto::before {
  content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad);
  height: 1px; background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}
.manifesto-title {
  font-size: clamp(36px, 5.6vw, 76px); font-weight: 800;
  line-height: 1.02; letter-spacing: -.03em; margin-bottom: 30px;
  display: flex; flex-direction: column;
}
.mt-amber { color: var(--amber); }
.manifesto-copy { max-width: 680px; color: var(--ice-dim); font-size: clamp(16px, 1.5vw, 19px); }

.manifesto-stats {
  list-style: none; margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--hairline); border-block: 1px solid var(--hairline);
}
.manifesto-stats li {
  background: var(--navy); padding: 30px 26px 26px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background .4s;
}
.manifesto-stats li:hover { background: var(--navy-2); }
.stat-n {
  font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.03em;
  color: var(--azure-hi); font-variant-numeric: tabular-nums;
}
.manifesto-stats span { font-size: 13.5px; color: var(--ice-dim); }

/* ============================================================
   FIELDS OF VISION
   ============================================================ */
.fields { padding: clamp(80px, 12vh, 150px) 0 40px; }
.fields > .wrap { margin-bottom: clamp(50px, 8vh, 100px); }

.field {
  max-width: var(--wrap); margin: 0 auto clamp(80px, 12vh, 140px);
  padding-inline: var(--pad);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.field-rev .field-media { order: 2; }
.field-rev .field-copy { order: 1; }

.field-media { position: relative; }
.device {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(30, 99, 208, .12), transparent 60%),
    var(--navy-2);
  border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(10px, 2vw, 24px);
  box-shadow: 0 30px 80px -30px rgba(2, 6, 16, .9), inset 0 1px 0 rgba(143,198,255,.07);
  position: relative; overflow: hidden;
}
.device::after {
  /* refraction hairline sweep */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(143,198,255,.045), transparent);
  transition: left 1.1s var(--ease-out);
  pointer-events: none;
}
.field-media:hover .device::after { left: 130%; }
.device svg { display: block; width: 100%; height: auto; }
.device-notes text {
  font-family: var(--font-m); fill: var(--ice-dim); letter-spacing: .14em;
}

/* lens rays draw on scroll (JS sets dash) */
.lens-ray { stroke-opacity: .8; }
.focal-pt, .focal-halo { transform-origin: 500px 200px; }
.anim .focal-halo { animation: focalPulse 2.6s ease-out infinite; }
@keyframes focalPulse {
  0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; }
}

/* waveform */
.wave-bars rect { fill: var(--azure); }
.wave-bars rect.wb-teal { fill: var(--teal); }
.anim .wave-scan { animation: waveScan 7s linear infinite; }
@keyframes waveScan { 0% { transform: translateX(20px); } 100% { transform: translateX(540px); } }
.wtok rect { fill: rgba(13, 27, 51, .9); stroke: var(--azure); stroke-opacity: .55; }
.wtok text { font-family: var(--font-m); fill: var(--azure-hi); letter-spacing: .08em; }
.wtok-amber rect { stroke: var(--amber); }
.wtok-amber text { fill: var(--amber); }
/* token float is driven by GSAP (attribute-transform-safe) */

/* shield */
.shield-rays line { stroke: var(--azure); stroke-opacity: .35; }
.shield-rays line.sr-teal { stroke: var(--teal); }
.shield-path { filter: drop-shadow(0 0 18px rgba(77, 166, 255, .25)); }
.shield-check { stroke-dasharray: 90; stroke-dashoffset: 90; }
.anim .shield-check { animation: checkDraw 3.4s var(--ease-out) infinite; }
@keyframes checkDraw {
  0% { stroke-dashoffset: 90; } 30%, 78% { stroke-dashoffset: 0; opacity: 1; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

.field-no {
  font-family: var(--font-m); font-size: 12.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ice-dim); margin-bottom: 18px;
}
.field-no em { font-style: normal; color: var(--teal); }
.field-copy h3 {
  font-size: clamp(30px, 3.6vw, 48px); font-weight: 800;
  line-height: 1.04; letter-spacing: -.025em; margin-bottom: 20px;
}
.field-copy > p { color: var(--ice-dim); max-width: 480px; }
.field-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.field-list li {
  position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ice);
}
.field-list li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid var(--azure);
  background: radial-gradient(circle at 50% 50%, var(--azure) 0 3px, transparent 3.5px);
}

/* iris-wipe reveal (JS/ScrollTrigger animates clip-path) */
.js-anim .iris-wipe { clip-path: circle(0% at 50% 50%); }

/* ============================================================
   COMMAND CENTER
   ============================================================ */
.command {
  padding: clamp(90px, 13vh, 160px) 0;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(30, 99, 208, .14), transparent 70%),
    var(--ink);
  border-block: 1px solid var(--hairline);
}
.command > .wrap { margin-bottom: clamp(40px, 6vh, 70px); }

.dash {
  max-width: var(--wrap); margin: 0 auto;
  width: calc(100% - var(--pad) * 2);
  background: var(--navy-2);
  border: 1px solid var(--hairline); border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 50px 120px -40px rgba(2, 6, 16, 1), inset 0 1px 0 rgba(143,198,255,.08);
  overflow: hidden;
}
.dash-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 22px; border-bottom: 1px solid var(--hairline);
  font-family: var(--font-m); font-size: 11.5px; letter-spacing: .14em;
  color: var(--ice-dim);
}
.dash-rec { display: inline-flex; align-items: center; gap: 10px; color: var(--ice); }
.dash-clock { color: var(--teal); font-variant-numeric: tabular-nums; }

.dash-grid {
  display: grid; gap: 14px; padding: 14px;
  grid-template-columns: 1.5fr 1fr;
  grid-template-areas:
    "lenses flags"
    "transcript flags"
    "stats stats";
}
.dash-card {
  background: rgba(7, 16, 34, .7);
  border: 1px solid rgba(125, 170, 230, .1); border-radius: 12px;
  padding: 18px;
}
.dash-label {
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ice-dim); margin-bottom: 14px;
}
.dash-lenses { grid-area: lenses; }
.dash-lenses ul { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.lens { display: flex; flex-direction: column; gap: 7px; }
.lens-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lens-name { font-size: 14px; color: var(--ice); display: inline-flex; gap: 9px; align-items: baseline; }
.lens-name i {
  font-style: normal; font-family: var(--font-m); font-size: 10.5px;
  color: var(--ice-dim); letter-spacing: .1em;
}
.lens-note { font-family: var(--font-m); font-size: 10.5px; color: var(--ice-dim); white-space: nowrap; }
.lens-bar {
  display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px;
}
.lens-bar i, .lens-legend i { display: block; height: 100%; }
.lb-green { background: var(--teal); }
.lb-amber { background: var(--amber); }
.lb-red   { background: var(--red); }
.lb-gray  { background: rgba(125, 170, 230, .22); }
.lens-legend {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px;
  font-family: var(--font-m); font-size: 10.5px; color: var(--ice-dim);
}
.lens-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lens-legend i { width: 10px; height: 10px; border-radius: 3px; }

.dash-flags { grid-area: flags; }
.dash-flags ul { list-style: none; display: flex; flex-direction: column; }
.dash-flags li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 2px; font-size: 14px;
  border-bottom: 1px solid rgba(125, 170, 230, .08);
}
.dash-flags li:last-child { border-bottom: 0; }
.dash-flags b {
  margin-left: auto; font-family: var(--font-m); font-weight: 400;
  font-size: 11.5px; color: var(--ice-dim);
}
.flag-ic { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.flag-ok .flag-ic { background: var(--teal); box-shadow: 0 0 8px rgba(67,224,208,.6); }
.flag-warn { color: var(--amber); }
.flag-warn .flag-ic {
  background: var(--amber); box-shadow: 0 0 10px rgba(255,180,84,.7);
  animation: recPulse 1.6s ease-out infinite;
}
.flag-warn b { color: var(--amber); }
.flag-idle { color: var(--ice-dim); }
.flag-idle .flag-ic { background: transparent; border: 1px solid var(--ice-dim); }

.dash-transcript { grid-area: transcript; }
.ticker-mask {
  height: 176px; overflow: hidden; position: relative;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.ticker { list-style: none; animation: tickerUp 26s linear infinite; }
.ticker-mask:hover .ticker { animation-play-state: paused; }
.ticker li { padding: 7px 0; font-size: 14px; color: var(--ice-dim); line-height: 1.5; }
.ticker li b {
  font-family: var(--font-m); font-weight: 500; font-size: 11px;
  color: var(--azure); letter-spacing: .06em; margin-right: 8px;
}
.ticker mark {
  background: rgba(67, 224, 208, .14); color: var(--teal);
  padding: 1px 6px; border-radius: 5px;
}
.ticker mark.mk-amber { background: rgba(255, 180, 84, .14); color: var(--amber); }
@keyframes tickerUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

.dash-stats { grid-area: stats; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-tile {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 16px; align-items: center;
  transition: background .35s, border-color .35s, transform .35s var(--ease-out);
}
.stat-tile:hover { background: var(--navy-3); border-color: rgba(125,170,230,.25); transform: translateY(-3px); }
.ap-spin { grid-row: 1 / 3; width: 40px; height: 40px; color: var(--azure); }
.ap-spin svg { width: 100%; height: 100%; animation: apSpin 9s linear infinite; }
@keyframes apSpin { to { transform: rotate(360deg); } }
.stat-tile b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-tile b i { font-style: normal; font-size: 15px; color: var(--ice-dim); font-weight: 500; }
.stat-tile > span:not(.ap-spin) { font-size: 12.5px; color: var(--ice-dim); }
.stat-amber { border-color: rgba(255, 180, 84, .3); }
.stat-amber .ap-spin, .stat-amber b { color: var(--amber); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: clamp(90px, 13vh, 160px) 0; }
.price-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  margin-top: clamp(44px, 7vh, 80px); align-items: start;
}
.price-card {
  background: var(--navy-2); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 42px);
  position: relative;
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s;
}
.price-card:hover {
  transform: translateY(-6px); border-color: rgba(125, 170, 230, .35);
  box-shadow: 0 30px 70px -30px rgba(2, 6, 16, .9);
}
.price-featured {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(30, 99, 208, .22), transparent 65%),
    var(--navy-2);
  border-color: rgba(77, 166, 255, .4);
}
.price-badge {
  position: absolute; top: -13px; left: clamp(26px, 3vw, 42px);
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink);
  background: linear-gradient(90deg, var(--azure-hi), var(--teal));
  padding: 5px 14px; border-radius: 999px; font-weight: 600;
}
.price-f {
  font-family: var(--font-m); font-size: 13px; letter-spacing: .22em;
  color: var(--teal); margin-bottom: 14px;
}
.price-card h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.price-tag { font-family: var(--font-m); font-size: 13px; color: var(--ice-dim); margin: 10px 0 18px; }
.price-tag b { color: var(--azure-hi); font-weight: 500; }
.price-desc { color: var(--ice-dim); font-size: 15.5px; padding-bottom: 22px; border-bottom: 1px solid var(--hairline); }
.price-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.price-list li { position: relative; padding-left: 26px; font-size: 15px; }
.price-list li::before {
  content: ""; position: absolute; left: 2px; top: .52em;
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--teal);
}
.price-addon { color: var(--ice-dim); font-style: italic; }
.price-addon::before { border-style: dashed; border-color: var(--ice-dim); }

/* ============================================================
   TRUST
   ============================================================ */
.trust { border-block: 1px solid var(--hairline); background: var(--ink); }
.trust-row {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 60px);
  padding-block: 34px; flex-wrap: wrap;
}
.trust-title {
  font-family: var(--font-m); font-size: 11.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ice-dim); flex-shrink: 0;
}
.trust-list { list-style: none; display: flex; gap: clamp(24px, 4vw, 60px); flex-wrap: wrap; }
.trust-list li { display: flex; flex-direction: column; gap: 2px; }
.trust-list b { font-size: 15px; color: var(--azure-hi); letter-spacing: .01em; }
.trust-list span { font-size: 12.5px; color: var(--ice-dim); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(110px, 18vh, 220px) var(--pad);
}
.cta-iris { position: absolute; inset: 0; z-index: 0; opacity: .5; }
#ctaCanvas { width: 100%; height: 100%; display: block; }
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(40px, 7vw, 96px); font-weight: 900;
  line-height: .98; letter-spacing: -.035em;
  display: flex; flex-direction: column; gap: .05em; margin-bottom: 26px;
}
.cta-line2 {
  background: linear-gradient(100deg, var(--azure-hi), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .14em; margin-bottom: -.14em;
}
.cta-sub { color: var(--ice-dim); max-width: 460px; margin: 0 auto 40px; }

/* lead capture form */
.lead-form { max-width: 680px; margin: 0 auto 30px; text-align: left; color-scheme: dark; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lf-wide { grid-column: 1 / -1; }
.lf-field { display: flex; flex-direction: column; gap: 7px; }
.lf-field span {
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ice-dim);
}
.lf-field span em { font-style: normal; text-transform: none; letter-spacing: .04em; }
.lf-field input, .lf-field select, .lf-field textarea {
  width: 100%;
  background: rgba(7, 16, 34, .72);
  border: 1px solid var(--hairline); border-radius: 10px;
  padding: 13px 15px;
  color: var(--ice); font-family: var(--font-d); font-size: 15.5px;
  transition: border-color .3s, box-shadow .3s;
}
.lf-field textarea { resize: vertical; min-height: 84px; }
.lf-field input:focus-visible, .lf-field select:focus-visible, .lf-field textarea:focus-visible {
  outline: none; border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(77, 166, 255, .16);
}
.lf-field input:hover, .lf-field select:hover, .lf-field textarea:hover { border-color: rgba(125, 170, 230, .35); }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.lf-submit { width: 100%; margin-top: 22px; }
.lf-submit:disabled { opacity: .55; pointer-events: none; }
.lf-status {
  margin-top: 14px; min-height: 1.2em; text-align: center;
  font-family: var(--font-m); font-size: 12.5px; letter-spacing: .06em;
  color: var(--teal);
}
.lf-status.is-error { color: var(--amber); }
.lead-form.is-done .lf-grid, .lead-form.is-done .lf-submit { display: none; }
.lead-form.is-done .lf-status { font-size: 15px; text-align: center; }

.cta-alt { color: var(--ice-dim); font-size: 14.5px; margin-top: 26px; }
.cta-alt a { color: var(--azure-hi); text-decoration: none; }
.cta-alt a:hover { text-decoration: underline; }

/* ============================================================
   DEMO MODAL
   ============================================================ */
.demo-modal {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 40px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.demo-modal.is-open { opacity: 1; pointer-events: auto; }
.demo-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 7, 15, .82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.demo-modal-card {
  position: relative; width: min(640px, 100%);
  max-height: min(88vh, 88svh); overflow-y: auto;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(30, 99, 208, .16), transparent 60%),
    var(--navy-2);
  border: 1px solid rgba(77, 166, 255, .3); border-radius: calc(var(--radius) + 4px);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 50px 120px -30px rgba(2, 6, 16, 1);
  transform: translateY(14px) scale(.98);
  transition: transform .35s var(--ease-out);
}
.demo-modal.is-open .demo-modal-card { transform: none; }
.demo-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--hairline);
  color: var(--ice-dim); cursor: pointer;
  transition: color .3s, border-color .3s, transform .3s;
}
.demo-modal-close:hover { color: var(--ice); border-color: var(--azure); transform: rotate(90deg); }
.demo-modal-close:focus-visible { outline: 2px solid var(--azure-hi); outline-offset: 2px; }
.demo-modal-kicker {
  font-family: var(--font-m); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--azure); margin-bottom: 12px;
}
.demo-modal-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.demo-modal-sub { color: var(--ice-dim); font-size: 15px; margin: 8px 0 24px; }
.demo-modal-alt { color: var(--ice-dim); font-size: 13.5px; margin-top: 18px; text-align: center; }
.demo-modal-alt a { color: var(--azure-hi); text-decoration: none; }
.demo-modal-alt a:hover { text-decoration: underline; }
.demo-modal .lead-form { margin: 0; max-width: none; }
.lf-captcha { margin-top: 18px; display: flex; justify-content: center; }
.lf-captcha[hidden] { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hairline); background: var(--ink); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px); padding-block: clamp(50px, 7vh, 80px);
}
.footer-brand p { margin-top: 18px; color: var(--ice-dim); font-size: 14px; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col p {
  font-family: var(--font-m); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ice-dim); margin-bottom: 6px;
}
.footer-col a {
  color: var(--ice); text-decoration: none; font-size: 14.5px; width: fit-content;
  position: relative; transition: color .3s;
}
.footer-col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--azure); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .4s var(--ease-out);
}
.footer-col a:hover { color: var(--azure-hi); }
.footer-col a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 22px; border-top: 1px solid var(--hairline);
  font-size: 12.5px; color: var(--ice-dim);
}
.footer-mono { font-family: var(--font-m); letter-spacing: .14em; }

/* ============================================================
   GUIDE PAGE
   ============================================================ */
.guide-hero { padding: 160px var(--pad) 80px; max-width: 900px; margin: 0 auto; }
.guide-hero h1 {
  font-size: clamp(40px, 6.5vw, 80px); font-weight: 900;
  letter-spacing: -.03em; line-height: 1; margin-bottom: 24px;
}
.guide-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--azure-hi), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.guide-hero p { color: var(--ice-dim); font-size: 18px; max-width: 640px; }
.guide-body { max-width: 900px; margin: 0 auto; padding: 0 var(--pad) 100px; }
.guide-section { border-top: 1px solid var(--hairline); padding: 56px 0; }
.guide-section h2 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 22px;
}
.guide-section h3 {
  font-size: 19px; font-weight: 700; margin: 34px 0 12px; color: var(--azure-hi);
}
.guide-section p, .guide-section li { color: var(--ice-dim); font-size: 16px; }
.guide-section p + p { margin-top: 14px; }
.guide-section ul { padding-left: 22px; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.guide-section li strong { color: var(--ice); font-weight: 600; }
.guide-section a { color: var(--azure-hi); text-decoration: none; }
.guide-section a:hover { text-decoration: underline; }
.guide-hero > p { font-family: var(--font-m); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.guide-section code {
  font-family: var(--font-m); font-size: 13.5px; color: var(--teal);
  background: rgba(67, 224, 208, .08); padding: 2px 7px; border-radius: 6px;
}
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.swatch {
  display: flex; flex-direction: column; gap: 8px; width: 118px;
  font-family: var(--font-m); font-size: 11px; color: var(--ice-dim);
}
.swatch i {
  display: block; height: 58px; border-radius: 10px;
  border: 1px solid var(--hairline);
}
.swatch b { color: var(--ice); font-weight: 500; }
.pass {
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--navy-2); padding: 28px; margin-top: 22px;
}
.pass h3 { margin-top: 0; }
.pass-tag {
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 8px;
}
.guide-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .dash-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "lenses" "flags" "transcript" "stats";
  }
  .dash-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .field { grid-template-columns: 1fr; gap: 34px; }
  .field-rev .field-media { order: 0; }
  .field-rev .field-copy { order: 1; }
  .manifesto-stats { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hud-tl, .hud-bl { left: 2%; }
  .hud-tr, .hud-br { right: 2%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav .btn-small { display: none; }
  .manifesto-stats { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .iris-stage { width: min(78vw, 340px); margin-bottom: -30px; }
  .iris-hud { inset: -4% -6%; }
  .hud { font-size: 9px; }
  .hero { padding-top: 96px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .trust-row { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
  .lf-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .grain { animation: none; }
  .ticker { animation: none; }
  .js-anim .ht-blur { filter: none; opacity: 1; letter-spacing: normal; }
  .js-anim .ht-know { filter: none; opacity: 1; }
  .js-anim .iris-wipe { clip-path: none; }
  .scroll-cue-line::after { animation: none; top: 0; }
}
