/* ============================================================
   RadContour — marketing site
   Design language mirrors the app: near-black canvas, neon
   contour glow (cyan / magenta / green), liquid-glass panels.
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

/* ---------- tokens ---------- */
:root {
  --bg:        #05070b;
  --bg-alt:    #080b11;
  --ink:       #e9eef6;
  --ink-dim:   #98a4b8;
  --ink-faint: #6b7789;

  --cyan:    #22d3ee;
  --cyan-hi: #7df3ff;
  --magenta: #e879f9;
  --green:   #34d399;

  --glass:        rgba(255,255,255,.045);
  --glass-strong: rgba(255,255,255,.075);
  --line:         rgba(255,255,255,.10);
  --line-soft:    rgba(255,255,255,.06);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;

  --wrap: 1160px;
  --ease: cubic-bezier(.22,.9,.3,1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- base ---------- */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* `clip` not `hidden`: hidden makes <body> a scroll container, which breaks
     programmatic scrolling and position:sticky on the nav. */
  overflow-x: clip;
}

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.06rem; letter-spacing: -.01em; }
a  { color: inherit; }

/* typographic polish — even ragged edges on headings, no orphans in prose
   (progressive: browsers without support simply ignore these) */
h2, h3, .legal__title { text-wrap: balance; }
.lede, .sub, .card p, .faq__body p, .callout, .footer__blurb,
.legal p, .plan__price, .viewer__note, .metrics__src { text-wrap: pretty; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  background: var(--cyan); color: #04222a; padding: 10px 16px;
  border-radius: 10px; font-weight: 600;
}
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 780px); }

/* ---------- ambient background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora__blob {
  position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: .30;
  animation: drift 26s var(--ease) infinite alternate;
}
.aurora__blob--cyan    { width: 46vw; height: 46vw; top: -12vw; left: -8vw;  background: #0891b2; }
.aurora__blob--magenta { width: 40vw; height: 40vw; top: 32vw;  right: -12vw; background: #a21caf; animation-delay: -9s;  opacity: .22; }
.aurora__blob--green   { width: 34vw; height: 34vw; top: 92vw;  left: 12vw;  background: #047857; animation-delay: -16s; opacity: .18; }

@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(4vw, 6vw, 0) scale(1.16); }
}

.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- wordmark ---------- */
.wordmark { font-weight: 600; letter-spacing: -.02em; font-size: 1.12rem; white-space: nowrap; }
.wordmark__rad     { color: var(--cyan-hi); text-shadow: 0 0 14px rgba(34,211,238,.85), 0 0 34px rgba(34,211,238,.45); }
.wordmark__contour { color: #fff;           text-shadow: 0 0 14px rgba(255,255,255,.7),  0 0 36px rgba(255,255,255,.35); }
.wordmark--sm { font-size: 1rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(5,7,11,.55);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-stuck { background: rgba(5,7,11,.82); border-bottom-color: var(--line-soft); }
.nav__inner {
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
  height: 66px; display: flex; align-items: center; gap: 1.5rem;
}
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.nav__icon { border-radius: 8px; }
.nav__links { margin-left: auto; display: flex; gap: 1.6rem; }
.nav__links a {
  text-decoration: none; font-size: .9rem; color: var(--ink-dim);
  transition: color .2s; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--cyan); transition: width .28s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
/* scrollspy: the section currently in view keeps its underline lit */
.nav__links a.is-current { color: var(--ink); }
.nav__links a.is-current::after { width: 100%; opacity: .85; }

.nav__lang {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  color: var(--ink-dim); text-decoration: none;
  border: 1px solid var(--line); border-radius: 8px; padding: .3rem .55rem;
  transition: color .2s, border-color .2s;
}
.nav__lang:hover { color: var(--cyan-hi); border-color: rgba(34,211,238,.4); }

/* ---------- buttons ---------- */
.btn {
  --pad: .82rem 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--pad); border-radius: 100px; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .93rem; font-weight: 550; text-decoration: none; cursor: pointer;
  transition: transform .22s var(--ease), background .22s, border-color .22s, box-shadow .22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--glass-strong); border-color: rgba(255,255,255,.2); }
.btn:active { transform: translateY(0); }
.btn--sm { --pad: .55rem 1.05rem; font-size: .86rem; margin-left: .25rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), #0ea5c4);
  color: #032027; border-color: transparent; font-weight: 650;
  box-shadow: 0 6px 26px rgba(34,211,238,.32);
}
.btn--primary:hover { box-shadow: 0 10px 38px rgba(34,211,238,.46); background: linear-gradient(135deg, var(--cyan-hi), var(--cyan)); }
.btn--ghost { color: var(--ink-dim); }
.btn--ghost:hover { color: var(--ink); }
/* forward CTAs carry an arrow that slides on hover */
.btn--go::after {
  content: "→"; display: inline-block; margin-left: .5em;
  transition: transform .25s var(--ease);
}
.btn--go:hover::after { transform: translateX(4px); }

/* reading-progress bar across the very top edge */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan-hi), var(--cyan) 60%, var(--magenta));
  box-shadow: 0 0 8px rgba(34,211,238,.6);
  will-change: transform;
}

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__grid {
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; letter-spacing: .04em; color: var(--ink-dim);
  border: 1px solid var(--line); background: var(--glass);
  padding: .42rem .95rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.grad {
  background: linear-gradient(115deg, var(--cyan-hi) 0%, var(--cyan) 30%, var(--magenta) 75%, var(--cyan-hi) 100%);
  background-size: 220% 100%;
  background-position: calc(var(--shift, 0%)) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes shimmer {
  from { background-position: var(--shift, 0%) 0; }
  to   { background-position: calc(var(--shift, 0%) + 55%) 0; }
}

/* masked line reveal — each line rises out of its own clip box */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line__in {
  display: inline-block; transform: translateY(115%);
  animation: lineUp .9s var(--ease) var(--ld, .07s) forwards;
}
.line:first-child .line__in { animation-delay: 0s; }
.line__in.grad {
  animation:
    lineUp .9s var(--ease) var(--ld, .07s) forwards,
    shimmer 7s ease-in-out 1s infinite alternate;
}
@keyframes lineUp { to { transform: translateY(0); } }
.lede { font-size: clamp(1.02rem, 1.35vw, 1.15rem); color: var(--ink-dim); margin-top: 1.5rem; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero__note { font-size: .82rem; color: var(--ink-faint); margin-top: 1.4rem; }
.hero__note a { color: var(--ink-dim); text-underline-offset: 3px; }

/* ---------- hero rotator — real app views ---------- */
.rotator { position: relative; margin-bottom: 2rem; }
.rotator__frame {
  position: relative; aspect-ratio: 1800 / 1209;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0d12;
  box-shadow:
    0 30px 90px rgba(0,0,0,.6),
    0 0 120px rgba(34,211,238,.14),
    inset 0 1px 0 rgba(255,255,255,.09);
}
.rotator__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.045);
  transition: opacity 1.1s var(--ease), transform 6s linear;
}
.rotator__img.is-active { opacity: 1; transform: scale(1); }

.rotator__dots {
  position: absolute; left: 50%; bottom: -1.7rem; transform: translateX(-50%);
  display: flex; gap: .5rem;
}
.rotator__dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.18); transition: background .4s, box-shadow .4s;
}
.rotator__dots span.is-active { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* chips drift vertically */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(34,211,238,.13) 48%, rgba(34,211,238,.03) 52%, transparent 100%);
  height: 34%; animation: sweep 5.5s ease-in-out infinite;
}
@keyframes sweep {
  0%, 100% { transform: translateY(-40%); opacity: 0; }
  12%      { opacity: 1; }
  88%      { opacity: 1; }
  95%      { transform: translateY(300%); opacity: 0; }
}

/* glass chips */
.chip {
  position: absolute; display: flex; align-items: center; gap: .5rem;
  padding: .6rem .95rem; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(10,14,20,.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  font-size: .84rem; animation: floatY 7s ease-in-out infinite;
}
.chip--dice { top: 8%; right: -4%; }
.chip--roi  { bottom: 11%; left: -5%; animation-delay: -3s; }
.chip__label { color: var(--ink-faint); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
.chip__value { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--cyan-hi); font-size: 1.02rem; }
.chip__swatch { width: 9px; height: 9px; border-radius: 3px; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.chip__check { color: var(--green); text-shadow: 0 0 10px rgba(52,211,153,.8); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; padding: 1.05rem 0; margin-top: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); white-space: nowrap;
}
.marquee__track i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); opacity: .55; box-shadow: 0 0 8px var(--cyan);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- bands ---------- */
.band { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }

/* isodose-style contour-line motif, drifting faintly behind plain bands */
.band--topo { isolation: isolate; overflow: clip; }
.band--topo::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -6%; right: -12%; width: min(58vw, 780px); aspect-ratio: 1;
  opacity: .055;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%2322d3ee' stroke-width='1.6'><g transform='translate(300 300)'><path d='M0 -250C140 -245 243 -140 248 0 253 140 140 248 0 252 -145 256 -250 140 -254 0 -258 -145 -140 -255 0 -250Z'/><path transform='scale(.82)' d='M0 -250C140 -245 243 -140 248 0 253 140 140 248 0 252 -145 256 -250 140 -254 0 -258 -145 -140 -255 0 -250Z'/><path transform='scale(.65)' d='M0 -250C140 -245 243 -140 248 0 253 140 140 248 0 252 -145 256 -250 140 -254 0 -258 -145 -140 -255 0 -250Z'/><path transform='scale(.48)' d='M0 -250C140 -245 243 -140 248 0 253 140 140 248 0 252 -145 256 -250 140 -254 0 -258 -145 -140 -255 0 -250Z'/><path transform='scale(.32)' d='M0 -250C140 -245 243 -140 248 0 253 140 140 248 0 252 -145 256 -250 140 -254 0 -258 -145 -140 -255 0 -250Z'/><path transform='scale(.17)' d='M0 -250C140 -245 243 -140 248 0 253 140 140 248 0 252 -145 256 -250 140 -254 0 -258 -145 -140 -255 0 -250Z'/></g></svg>") center / contain no-repeat;
  animation: topoDrift 80s ease-in-out infinite alternate;
}
@keyframes topoDrift {
  from { transform: rotate(0deg)  translateY(0); }
  to   { transform: rotate(10deg) translateY(-3%); }
}
.band--alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 18%, var(--bg-alt) 82%, transparent); }

.kicker {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--cyan); margin-bottom: 1rem; font-weight: 600;
}
.dim { color: var(--ink-faint); }
.sub { color: var(--ink-dim); max-width: 60ch; margin-top: 1.3rem; font-size: 1.02rem; }

/* ---------- cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem; margin-top: clamp(2.5rem, 5vw, 3.8rem);
}
.card {
  padding: 1.7rem; border-radius: var(--r);
  border: 1px solid var(--line-soft); background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,.11), transparent 42%);
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(34,211,238,.28); background: var(--glass-strong); }
.card:hover::after { opacity: 1; }
.card__step {
  position: absolute; top: 1.3rem; right: 1.5rem;
  font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em;
  color: rgba(34,211,238,.22); font-variant-numeric: tabular-nums;
  transition: color .5s, text-shadow .5s;
}
.card:hover .card__step { color: rgba(34,211,238,.55); }
/* steps light up as the workflow progress line passes them */
.card__step.lit { color: var(--cyan-hi); text-shadow: 0 0 18px rgba(34,211,238,.55); }

/* workflow progress line — fills with scroll, wide screens only */
.cards--4 { position: relative; --flow: 0; }
@media (min-width: 1280px) {
  .cards--4::before,
  .cards--4::after {
    content: ""; position: absolute; left: -38px; top: 10px; bottom: 10px;
    width: 2px; border-radius: 2px;
  }
  .cards--4::before { background: rgba(255,255,255,.08); }
  .cards--4::after {
    background: linear-gradient(180deg, var(--cyan-hi), var(--cyan) 55%, rgba(34,211,238,.35));
    box-shadow: 0 0 14px rgba(34,211,238,.5);
    transform-origin: top; transform: scaleY(var(--flow, 0));
  }
}
.card__icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(34,211,238,.10); border: 1px solid rgba(34,211,238,.22);
  color: var(--cyan); margin-bottom: 1.1rem;
}
.card__icon { transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover .card__icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 24px rgba(34,211,238,.25);
}
.card__icon svg { width: 20px; height: 20px; }
.card p { color: var(--ink-dim); font-size: .92rem; margin-top: .6rem; }

/* ---------- product showcase ---------- */
.device { margin: clamp(2.5rem, 5vw, 3.8rem) 0 0; }
.device__frame {
  position: relative; border-radius: clamp(24px, 2.6vw, 38px);
  padding: clamp(11px, 1.6vw, 22px);
  background: linear-gradient(158deg, #23262c 0%, #0d0f13 46%, #060709 100%);
  /* the cyan bloom is an outer shadow — a ::before with z-index:-1 would
     paint behind the frame's own background and never be seen. The hairline
     inset rings read as the iPad's aluminium edge. */
  box-shadow:
    0 40px 110px rgba(0,0,0,.72),
    0 0 140px rgba(34,211,238,.14),
    0 0 0 1px rgba(255,255,255,.06),
    inset 0 0 0 1.5px rgba(255,255,255,.05),
    inset 0 1px 0 rgba(255,255,255,.11);
}
/* front camera, centred on the top bezel */
.device__frame::before {
  content: ""; position: absolute; z-index: 2;
  top: clamp(5px, .8vw, 11px); left: 50%; margin-left: -2.5px;
  width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #35454f, #05070b 78%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.55), 0 0 3px rgba(120,180,200,.3);
}
.device__frame img {
  width: 100%; height: auto; display: block;
  border-radius: clamp(13px, 1.7vw, 22px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.4);
}
.device figcaption { margin-top: 1rem; font-size: .8rem; color: var(--ink-faint); text-align: center; }

/* floating annotation chips over the device */
.annot {
  position: absolute; z-index: 2; white-space: nowrap;
  font-size: .78rem; font-weight: 550; color: var(--ink);
  padding: .45rem .8rem; border-radius: 100px;
  border: 1px solid rgba(34,211,238,.34);
  background: rgba(8,12,18,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 32px rgba(0,0,0,.6);
  animation: floatY 7s ease-in-out infinite;
}
.annot::before {                       /* connector dot */
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
}
.annot--1 { top: 18%;  left: -2.5%; }
.annot--1::before { right: -18px; top: 50%; transform: translateY(-50%); }
.annot--2 { top: 8%;   right: 27%;  animation-delay: -2s; }
.annot--2::before { left: 50%; bottom: -16px; transform: translateX(-50%); }
.annot--3 { top: 46%;  right: -2.5%; animation-delay: -4s; }
.annot--3::before { left: -18px; top: 50%; transform: translateY(-50%); }
.annot--4 { bottom: 9%; left: 26%;  animation-delay: -5.5s; }
.annot--4::before { left: 50%; top: -16px; transform: translateX(-50%); }

/* inline screenshot (pencil composite) */
.shot {
  margin: clamp(2.2rem, 4vw, 3rem) 0 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.6);
  max-width: 900px;
}
.shot img { width: 100%; height: auto; display: block; }

/* ---------- split / metrics ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.metrics { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.metric { display: grid; grid-template-columns: 1fr auto; gap: .2rem .9rem; align-items: baseline; }
.metric dt { font-weight: 550; font-size: .96rem; }
.metric dd { grid-column: 1 / -1; color: var(--ink-faint); font-size: .86rem; margin: 0; }
.metric__num {
  font-variant-numeric: tabular-nums; font-weight: 600; color: var(--cyan-hi);
  font-size: .98rem; grid-row: 1; grid-column: 2;
}
.bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); margin-top: .55rem; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-hi));
  box-shadow: 0 0 12px rgba(34,211,238,.7);
  transition: width 1.3s var(--ease); }
.in .bar i { width: var(--w); }

.metrics__src { margin-top: 1.6rem; font-size: .8rem; color: var(--ink-faint); max-width: 46ch; }
.shot--tight { margin-top: 0; }
.shot figcaption { padding: .8rem 1.1rem; font-size: .8rem; color: var(--ink-faint);
  background: rgba(255,255,255,.025); border-top: 1px solid var(--line-soft); }

/* ---------- plan-evaluation viewer ---------- */
.viewer {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.6rem;
  border-radius: var(--r-lg); border: 1px solid var(--line-soft);
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.viewer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }

/* segmented control, in the app's own idiom */
.seg {
  position: relative;
  display: inline-flex; gap: .25rem; padding: .28rem;
  border-radius: 100px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
/* sliding highlight behind the active tab (element created by JS) */
.seg__pill {
  position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none;
  border-radius: 100px;
  background: rgba(34,211,238,.16);
  box-shadow: inset 0 0 0 1px rgba(34,211,238,.35), 0 2px 14px rgba(34,211,238,.18);
}
.seg__pill.is-ready {
  transition: transform .38s var(--ease), width .38s var(--ease), height .38s var(--ease);
}
.seg__btn {
  position: relative; z-index: 1;
  border: 0; background: transparent; color: var(--ink-dim); cursor: pointer;
  font-size: .86rem; font-weight: 550; padding: .42rem 1.15rem; border-radius: 100px;
  transition: color .3s var(--ease);
}
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-active {
  background: rgba(34,211,238,.16); color: var(--cyan-hi);
  box-shadow: inset 0 0 0 1px rgba(34,211,238,.35), 0 2px 14px rgba(34,211,238,.18);
}
/* with JS running, the sliding pill supplies the highlight instead */
.js .seg__btn.is-active { background: transparent; box-shadow: none; }

.viewer__stage {
  position: relative; aspect-ratio: 1800 / 1209;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-soft); background: #0a0d12;
}
.viewer__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: translateY(14px) scale(1.012);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
.viewer__img.is-active { opacity: 1; transform: none; pointer-events: auto; }
.viewer__stage:hover .viewer__img.is-active { transform: scale(1.013); }
.viewer__note { font-size: .8rem; color: var(--ink-faint); margin-top: .9rem; }

/* ---------- checks / callout ---------- */
.checks { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: .85rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--ink-dim); font-size: .96rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 15px; height: 8px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg); border-radius: 1px;
}
.callout {
  margin-top: 2.4rem; padding: 1.3rem 1.5rem; border-radius: var(--r);
  border: 1px solid rgba(232,121,249,.22); background: rgba(232,121,249,.055);
  color: var(--ink-dim); font-size: .9rem; border-left: 3px solid var(--magenta);
}
.callout strong { color: var(--ink); display: block; margin-bottom: .3rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(2.2rem, 4vw, 3rem); display: grid; gap: .7rem; }
.faq__item {
  border: 1px solid var(--line-soft); border-radius: var(--r);
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s;
}
.faq__item[open] { border-color: rgba(34,211,238,.3); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.4rem;
  font-weight: 550; font-size: .98rem; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {           /* chevron */
  content: ""; position: absolute; right: 1.4rem; top: 50%;
  width: 9px; height: 9px; border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan); border-radius: 1px;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__body { padding: 0 1.4rem 1.2rem; }
.faq__body p { color: var(--ink-dim); font-size: .93rem; }
.faq__item[open] .faq__body { animation: faqIn .35s var(--ease); }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- pricing ---------- */
.plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 760px;
}
.plan {
  position: relative; padding: 2rem 1.8rem; border-radius: var(--r-lg);
  border: 1px solid var(--line-soft); background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s;
}
.plan:hover { transform: translateY(-5px); border-color: rgba(34,211,238,.28); }
.plan--best {
  border-color: rgba(34,211,238,.4);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(34,211,238,.12), transparent 60%),
    var(--glass);
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 40px rgba(34,211,238,.08);
}

/* rotating border beam on the featured plan */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan--best::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--beam),
    transparent 0turn, transparent .78turn,
    rgba(125,243,255,.95) .9turn, transparent 1turn);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: beam 4.5s linear infinite;
}
@keyframes beam { to { --beam: 1turn; } }
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: #04222a; background: linear-gradient(135deg, var(--cyan-hi), var(--cyan));
  padding: .3rem .85rem; border-radius: 100px;
  box-shadow: 0 4px 18px rgba(34,211,238,.4);
}
.plan h3 { font-size: 1.25rem; }
.plan__price { color: var(--ink-dim); font-size: .9rem; margin-top: .4rem; }
.plan__list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; flex: 1; }
.plan__list li { position: relative; padding-left: 1.7rem; color: var(--ink-dim); font-size: .92rem; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 13px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg); border-radius: 1px;
}
.plan__cta { justify-content: center; }
.plans__fine { margin-top: 1.6rem; font-size: .8rem; color: var(--ink-faint); }

/* ---------- waitlist ---------- */
.waitlist__card {
  text-align: center; padding: clamp(2.5rem, 5vw, 3.8rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(34,211,238,.13), transparent 62%),
    linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
}
.waitlist__icon { border-radius: 17px; margin: 0 auto 1.4rem; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
.waitlist__card p { color: var(--ink-dim); max-width: 50ch; margin: 1rem auto 0; font-size: .98rem; }

.form { margin-top: 2rem; }
.form__row { display: flex; gap: .6rem; max-width: 480px; margin-inline: auto; }
.form input[type=email] {
  flex: 1; min-width: 0; padding: .82rem 1.15rem; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(255,255,255,.045);
  color: var(--ink); transition: border-color .22s, background .22s;
}
.form input::placeholder { color: var(--ink-faint); }
.form input:focus { outline: none; border-color: var(--cyan); background: rgba(34,211,238,.07); }
.form input[aria-invalid="true"] { border-color: #f87171; }
/* animated success checkmark on waitlist submit */
.success { display: grid; justify-items: center; gap: 1rem; }
.success__check { width: 56px; height: 56px; }
.success__check circle {
  stroke: var(--green); stroke-width: 3; fill: none;
  stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: checkRing .5s var(--ease) forwards;
}
.success__check path {
  stroke: var(--green); stroke-width: 4; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: checkTick .35s var(--ease) .45s forwards;
  filter: drop-shadow(0 0 6px rgba(52,211,153,.5));
}
@keyframes checkRing { to { stroke-dashoffset: 0; } }
@keyframes checkTick { to { stroke-dashoffset: 0; } }

.form__msg { min-height: 1.4em; margin-top: .9rem; font-size: .88rem; }
.form__msg.ok  { color: var(--green); }
.form__msg.err { color: #fca5a5; }
.form__fine { font-size: .76rem; color: var(--ink-faint); margin-top: 1rem; max-width: 44ch; margin-inline: auto; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- legal pages ---------- */
.legal__title { font-size: clamp(2rem, 5vw, 3rem); }
.legal__meta { color: var(--ink-faint); font-size: .85rem; margin-top: .8rem; }
.legal h2 { font-size: 1.15rem; margin-top: 2.4rem; margin-bottom: .6rem; }
.legal p, .legal li { color: var(--ink-dim); font-size: .95rem; }
.legal p + p { margin-top: .8rem; }
.legal ul { margin: .6rem 0 0; padding-left: 1.3rem; display: grid; gap: .45rem; }
.legal a { color: var(--cyan); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: clamp(3rem, 6vw, 4.5rem) 0 3rem; background: var(--bg-alt); }
.footer__top { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.footer__blurb { color: var(--ink-faint); font-size: .9rem; max-width: 42ch; margin-top: .8rem; }
.footer__contact h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: .6rem; }
.footer__contact a { color: var(--cyan); text-decoration: none; font-size: .92rem; }
.footer__contact a:hover { text-decoration: underline; }

.disclaimer {
  margin-top: 3rem; padding: 1.6rem 1.8rem; border-radius: var(--r);
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.022);
}
.disclaimer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-dim); margin-bottom: .9rem; }
.disclaimer p { font-size: .8rem; color: var(--ink-faint); line-height: 1.65; }
.disclaimer p + p { margin-top: .8rem; }
.footer__legal { margin-top: 2rem; font-size: .8rem; color: var(--ink-faint); text-align: center; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity .75s var(--ease) var(--d, 0s), transform .75s var(--ease) var(--d, 0s);
}

/* headings sharpen out of a blur as they reveal */
.js h2.reveal { filter: blur(12px); }
.js h2.reveal.in {
  filter: blur(0);
  transition:
    opacity .8s var(--ease) var(--d, 0s),
    transform .8s var(--ease) var(--d, 0s),
    filter .8s var(--ease) var(--d, 0s);
}

/* device-frame tilt (JS drives --rx/--ry on hover-capable pointers) */
.device__frame {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out; will-change: transform;
}

/* ---------- lightbox ---------- */
[data-zoom] { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 4vmin;
  background: rgba(3,5,9,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__fig { margin: 0; display: grid; gap: .85rem; justify-items: center; max-width: 96vw; }
.lightbox img {
  max-width: 96vw; max-height: 84vh; width: auto; height: auto; cursor: default;
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
  transform: scale(.965); transition: transform .3s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox__cap { font-size: .82rem; color: var(--ink-dim); text-align: center; max-width: 72ch; }
.lightbox__close {
  position: absolute; top: 3vmin; right: 3vmin; width: 44px; height: 44px;
  display: grid; place-items: center; line-height: 1; font-size: 1.05rem;
  border-radius: 50%; border: 1px solid var(--line); color: var(--ink);
  background: rgba(10,14,20,.7); cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s;
}
.lightbox__close:hover { background: rgba(34,211,238,.15); border-color: rgba(34,211,238,.4); }

/* ---------- cross-page view transitions ---------- */
/* Opts every same-origin navigation into a smooth cross-fade (Chromium today;
   silently ignored elsewhere — navigation just happens instantly). */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vtOut .42s var(--ease) both; }
::view-transition-new(root) { animation: vtIn  .42s var(--ease) both; }
@keyframes vtOut { to   { opacity: 0; transform: translateY(-6px); } }
@keyframes vtIn  { from { opacity: 0; transform: translateY(8px);  } }

/* the brand stays anchored while the rest of the page cross-fades */
.nav__brand { view-transition-name: brand; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .nav__links { display: none; }
  .nav__links + .btn { margin-left: auto; }
  .chip--dice { right: 2%; }
  .chip--roi  { left: 2%; }
  /* annotations would overlap and crowd the shot at this width */
  .annot { display: none; }
}
@media (max-width: 560px) {
  .form__row { flex-direction: column; border-radius: var(--r); }
  .form__row .btn { width: 100%; }
  .hero__cta .btn { flex: 1; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .line__in { transform: none; animation: none; }
  .sweep { display: none; }
  .rotator__img { transition: none; }
  .device__frame { transform: none; }
  .plan--best::after { display: none; }
  .marquee__track { animation: none; }
  .hero__art { translate: none !important; }
}
