/* PeptideIQ private offer page (/offer/<token>/) and the owner's preview
   (/peptideiq/offer-preview/). One dark "deep space" look, the PeptideIQ
   sign-in's palette and IBM Plex. Self-contained: loads no other stylesheet. */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url('../fonts/IBMPlexSans-Var-latin-v5.3.0.woff2') format('woff2-variations'), url('../fonts/IBMPlexSans-Var-latin-v5.3.0.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/IBMPlexMono-400-latin-v5.3.0.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/IBMPlexMono-500-latin-v5.3.0.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --void: #03060F;
  --deep: #060B18;
  --night: #0A1224;
  --panel: rgba(14, 24, 44, .72);
  --panel-solid: #0E182C;
  --line: rgba(148, 196, 220, .14);
  --line-strong: rgba(148, 196, 220, .28);
  --text: #E8F1F6;
  --dim: rgba(222, 234, 242, .74);
  --faint: rgba(222, 234, 242, .52);
  --teal: #5EEAD4;
  --teal-deep: #14B8A6;
  --mint: #34D399;
  --amber: #FCD34D;
  --ember: #FB923C;
  --red: #F87171;
  --violet: #A78BFA;
  --ice: #BFDBFE;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.of { margin: 0; background: var(--void); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
.of a { color: var(--teal); text-underline-offset: 3px; }
.of a:hover { color: #99F6E4; }
.of :focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.of-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.of-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.of-kicker { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.of-kicker b { color: var(--teal); font-weight: 500; }
.of-kicker::after { content: ''; flex: 1 1 60px; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); min-width: 40px; }
.of-mono { font-family: var(--mono); }

/* ---------------------------------------------------------------- top bar */
.of-top { position: absolute; inset: 0 0 auto 0; z-index: 5; padding-top: env(safe-area-inset-top, 0px); }
.of-top .of-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 18px; }
.of-brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.of-brand svg { width: 26px; height: 26px; }
.of-brand small { font: 400 12px var(--mono); color: var(--faint); letter-spacing: .06em; }
.of-private { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line-strong); padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
.of-private i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 8px var(--teal); }

/* ------------------------------------------------------------------ hero */
.of-hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 72% 45%, #0D2140 0%, #081229 38%, var(--void) 78%); }
.of-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.of-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(180deg, transparent, var(--void)); z-index: -1; pointer-events: none; }
.of-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: center; padding-block: 120px 96px; }
.of-hero-copy { max-width: 620px; }
.of-hero h1 { font: 600 clamp(2rem, 4vw, 3.4rem)/1.06 var(--sans); letter-spacing: -.03em; margin: 1.1rem 0 1.2rem; text-wrap: balance; }
.of-hero h1 em { font-style: normal; background: linear-gradient(92deg, #99F6E4, var(--teal) 45%, #7DD3FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.of-lede { font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--dim); max-width: 56ch; margin: 0 0 1.8rem; }
.of-lede strong { color: var(--text); font-weight: 600; }
.of-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.of-btn { --b: var(--teal); appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 600 1rem/1 var(--sans); letter-spacing: -.005em; padding: 17px 26px; border-radius: 12px; text-decoration: none; min-height: 52px;
  color: #04201C; background: linear-gradient(180deg, #99F6E4, var(--b)); box-shadow: 0 10px 40px -10px rgba(94, 234, 212, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.of .of-btn { color: #04201C; }
.of-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 48px -10px rgba(94, 234, 212, .75), inset 0 1px 0 rgba(255, 255, 255, .5); filter: saturate(1.1); }
.of-btn:active { transform: translateY(0); }
.of-btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.of-btn svg { width: 18px; height: 18px; }
.of-btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.of .of-btn-ghost { color: var(--text); }
.of-btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--teal); filter: none; }
.of-seats { display: inline-flex; align-items: center; gap: .55rem; font: 500 13px/1.3 var(--mono); color: var(--dim); }
.of-seats-dots { display: inline-flex; gap: 3px; }
.of-seats-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(148, 196, 220, .25); }
.of-seats-dots span.on { background: var(--teal); box-shadow: 0 0 6px rgba(94, 234, 212, .8); }
.of-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 2.4rem; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--line); max-width: 620px; }
.of-stat { background: rgba(6, 11, 24, .72); padding: 14px 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.of-stat b { display: block; font: 600 1.5rem/1.1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.of-stat span { display: block; font: 400 12px/1.35 var(--mono); color: var(--faint); margin-top: 4px; }
.of-legend { position: absolute; right: var(--gutter); bottom: 28px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1rem; font: 400 11.5px/1.3 var(--mono); color: var(--faint); max-width: 520px; z-index: 1; }
.of-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.of-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.of-motion { position: absolute; left: var(--gutter); bottom: 24px; z-index: 2; font: 500 11.5px var(--mono); color: var(--faint); background: rgba(6, 11, 24, .6); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.of-motion:hover { color: var(--text); border-color: var(--line-strong); }

/* --------------------------------------------------------------- sections */
.of-sec { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.of-sec h2 { font: 600 clamp(1.7rem, 3.2vw, 2.6rem)/1.1 var(--sans); letter-spacing: -.025em; margin: .9rem 0 .8rem; text-wrap: balance; max-width: 22ch; }
.of-sec .of-sub { color: var(--dim); max-width: 62ch; margin: 0 0 2.4rem; font-size: 1.05rem; }

/* findings */
.of-findings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.of-find { position: relative; padding: 28px 26px 26px; border-radius: 18px; background: linear-gradient(180deg, rgba(20, 34, 62, .8), rgba(10, 18, 36, .8)); border: 1px solid var(--line); overflow: hidden; }
.of-find::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--c, var(--teal)), transparent 80%); }
.of-find::after { content: ''; position: absolute; width: 260px; height: 260px; right: -110px; top: -120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c, var(--teal)) 22%, transparent), transparent 70%); pointer-events: none; }
.of-find-n { font: 600 clamp(3rem, 6vw, 4.6rem)/.95 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--c, var(--teal)); display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.of-find-n small { font: 500 13px var(--mono); letter-spacing: .04em; color: var(--dim); text-transform: uppercase; }
.of-find h3 { font: 600 1.14rem/1.35 var(--sans); margin: 1rem 0 .55rem; letter-spacing: -.01em; }
.of-find p { margin: 0; color: var(--dim); font-size: .95rem; }

/* where you sit (band chart) */
.of-band { margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8, 14, 30, .7); padding: 22px 22px 14px; }
.of-band-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; margin-bottom: 14px; }
.of-band-head h3 { margin: 0; font: 600 1.05rem var(--sans); }
.of-band-key { display: flex; gap: 1rem; flex-wrap: wrap; font: 400 12px var(--mono); color: var(--faint); }
.of-band-key span { display: inline-flex; align-items: center; gap: .4rem; }
.of-band-row { display: grid; grid-template-columns: minmax(96px, 170px) minmax(0, 1fr) 76px; gap: 14px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(148, 196, 220, .07); }
.of-band-row:first-of-type { border-top: 0; }
.of-band-name { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-band-track { position: relative; height: 22px; }
.of-band-track .rng { position: absolute; top: 9px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(94, 234, 212, .25), rgba(148, 196, 220, .5), rgba(251, 146, 60, .3)); }
.of-band-track .med { position: absolute; top: 5px; width: 2px; height: 12px; background: var(--faint); border-radius: 1px; }
.of-band-track .you { position: absolute; top: 4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--c, var(--teal)); box-shadow: 0 0 0 3px rgba(3, 6, 15, .9), 0 0 14px var(--c, var(--teal)); transition: left 1.1s cubic-bezier(.2, .8, .2, 1); }
.of-band-track .near { position: absolute; top: 2px; width: 2px; height: 18px; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.of-band-rank { font: 500 12.5px var(--mono); color: var(--dim); text-align: right; white-space: nowrap; }
.of-band-foot { font: 400 12px var(--mono); color: var(--faint); margin: 10px 0 0; }

/* tour */
.of-tour { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
.of-tabs { display: flex; flex-direction: column; gap: 8px; }
.of-tab { text-align: left; cursor: pointer; border: 1px solid var(--line); background: rgba(10, 18, 36, .6); color: var(--text); border-radius: 14px; padding: 14px 16px 16px; font: inherit; position: relative; overflow: hidden; transition: border-color .2s, background .2s; }
.of-tab b { display: block; font-weight: 600; font-size: .98rem; }
.of-tab span { display: block; color: var(--dim); font-size: .88rem; margin-top: 3px; line-height: 1.45; }
.of-tab[aria-selected="true"] { border-color: rgba(94, 234, 212, .5); background: rgba(16, 36, 56, .8); }
.of-tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--teal); }
.of-tab[aria-selected="true"] .bar.run { animation: of-bar var(--dur, 7s) linear forwards; }
@keyframes of-bar { to { width: 100%; } }
.of-screen { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: #050A16; box-shadow: 0 40px 120px -40px rgba(20, 184, 166, .35), 0 0 0 1px rgba(0, 0, 0, .4); }
.of-chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(14, 24, 44, .9); font: 400 12px var(--mono); color: var(--faint); }
.of-chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 196, 220, .22); }
.of-chrome span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.of-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 8s ease-out; }
.of-view img.on { opacity: 1; transform: scale(1.0); }
.of-view img.pan { animation: of-pan 16s ease-in-out infinite alternate; }
@keyframes of-pan { from { object-position: 50% 0%; } to { object-position: 50% 100%; } }
.of-toast { position: absolute; right: 16px; bottom: 16px; max-width: min(340px, 80%); background: rgba(8, 14, 28, .92); border: 1px solid var(--line-strong); border-left: 3px solid var(--c, var(--teal)); border-radius: 12px; padding: 11px 14px; font-size: .86rem; line-height: 1.4; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transform: translateY(8px); opacity: 0; transition: opacity .45s, transform .45s; }
.of-toast.on { opacity: 1; transform: none; }
.of-toast small { display: block; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--teal)); margin-bottom: 3px; }
.of-noshot { display: grid; place-items: center; height: 100%; color: var(--faint); font: 400 13px var(--mono); padding: 2rem; text-align: center; }

/* offer */
.of-offer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: stretch; }
.of-deal { position: relative; border-radius: 22px; padding: clamp(24px, 4vw, 44px); overflow: hidden; border: 1px solid rgba(94, 234, 212, .35);
  background: radial-gradient(120% 120% at 100% 0%, rgba(94, 234, 212, .16), transparent 55%), linear-gradient(180deg, #0F1E3A, #081026); }
.of-deal .tag { display: inline-flex; gap: .5rem; align-items: center; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.of-price { display: flex; align-items: flex-end; gap: .6rem 1rem; flex-wrap: wrap; margin: 1rem 0 .4rem; }
.of-price b { font: 600 clamp(3.4rem, 7vw, 5.4rem)/.9 var(--sans); letter-spacing: -.045em; }
.of-price span { color: var(--dim); font-size: 1.05rem; padding-bottom: .5rem; }
.of-price s { color: var(--faint); font-size: 1.05rem; padding-bottom: .5rem; }
.of-deal ul { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .7rem; }
.of-deal li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; color: var(--dim); }
.of-deal li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--teal); }
.of-deal li strong { color: var(--text); font-weight: 600; }
.of-places { border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3.4vw, 36px); background: rgba(8, 14, 30, .7); display: flex; flex-direction: column; gap: 1.1rem; }
.of-places h3 { margin: 0; font: 600 1.15rem var(--sans); }
.of-grid10 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.of-grid10 span { aspect-ratio: 1; border-radius: 12px; border: 1px dashed var(--line-strong); display: grid; place-items: center; font: 500 12px var(--mono); color: var(--faint); }
.of-grid10 span.taken { border-style: solid; background: rgba(148, 196, 220, .1); color: var(--dim); }
.of-grid10 span.you { border: 1px solid var(--teal); background: rgba(94, 234, 212, .12); color: var(--teal); box-shadow: 0 0 22px rgba(94, 234, 212, .25) inset; }
.of-places p { margin: 0; color: var(--dim); font-size: .95rem; }

/* plan table */
.of-plans-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: rgba(8, 14, 30, .72); }
.of-plans { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem; }
.of-plans th, .of-plans td { padding: 12px 16px; text-align: center; border-bottom: 1px solid rgba(148, 196, 220, .08); }
.of-plans th:first-child, .of-plans td:first-child { text-align: left; color: var(--dim); font-weight: 400; width: 38%; }
.of-plans thead th { vertical-align: bottom; padding-top: 22px; font-weight: 600; }
.of-plans thead th small { display: block; font: 400 12px var(--mono); color: var(--faint); margin-top: 4px; }
.of-plans thead th .pr { display: block; font: 600 1.3rem var(--sans); letter-spacing: -.02em; margin-top: 6px; }
.of-plans .hl { background: rgba(94, 234, 212, .06); }
.of-plans thead .hl { box-shadow: inset 0 2px 0 var(--teal); }
.of-plans .full { color: var(--teal); }
.of-plans .limited { color: var(--text); }
.of-plans .teaser { color: var(--faint); font-style: italic; }
.of-plans .none { color: rgba(222, 234, 242, .28); }
.of-plans tbody tr:last-child td { border-bottom: 0; }

/* principle */
.of-principle { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; border: 1px solid rgba(94, 234, 212, .3); border-radius: 22px; padding: clamp(22px, 3.4vw, 36px); background: linear-gradient(90deg, rgba(94, 234, 212, .08), rgba(94, 234, 212, 0) 70%); }
.of-principle svg { width: 54px; height: 54px; color: var(--teal); }
.of-principle p { margin: 0; font: 500 clamp(1.1rem, 2vw, 1.45rem)/1.4 var(--sans); letter-spacing: -.01em; }
.of-principle small { display: block; margin-top: .5rem; color: var(--dim); font: 400 .95rem/1.5 var(--sans); }

/* faq */
.of-faq { display: grid; gap: 10px; max-width: 880px; }
.of-faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 14, 30, .6); }
.of-faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.of-faq summary::-webkit-details-marker { display: none; }
.of-faq summary::after { content: '+'; font: 400 1.3rem/1 var(--mono); color: var(--teal); }
.of-faq details[open] summary::after { content: '\2212'; }
.of-faq details > div { padding: 0 20px 18px; color: var(--dim); }
.of-faq details > div p { margin: 0 0 .6rem; }

/* final */
.of-final { text-align: center; }
.of-final h2 { margin-inline: auto; max-width: 20ch; }
.of-final .of-sub { margin-inline: auto; }
.of-final .of-actions { justify-content: center; }
.of-foot { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--faint); font-size: .85rem; }
.of-foot .of-wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; }
.of-foot a { color: var(--dim); }
.of-legal { font-size: .82rem; color: var(--faint); }

/* sticky CTA on phones */
.of-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(3, 6, 15, .88); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: none; transform: translateY(110%); transition: transform .3s; }
.of-dock.on { transform: none; }
.of-dock .of-btn { width: 100%; }

/* reveal */
.of-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.of-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .of-reveal { opacity: 1; transform: none; transition: none; }
  .of-view img, .of-toast, .of-band-track .you { transition: none; }
  .of-view img.pan { animation: none; }
  .of-tab .bar.run { animation: none; }
}

/* ------------------------------------------------------------ sign-up sheet */
.of-sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.of-sheet[hidden] { display: none; }
.of-scrim { position: absolute; inset: 0; background: rgba(2, 4, 10, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.of-dialog { position: relative; width: min(760px, 100%); max-height: min(92svh, 920px); overflow: auto; border-radius: 22px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, #0E1A33, #070D1E); box-shadow: 0 50px 140px -30px rgba(0, 0, 0, .8); }
.of-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 16px 22px; border-bottom: 1px solid var(--line); background: rgba(12, 22, 42, .96); }
.of-steps { display: flex; gap: 6px; align-items: center; font: 500 12px var(--mono); color: var(--faint); flex-wrap: wrap; }
.of-steps span { display: inline-flex; align-items: center; gap: 6px; }
.of-steps span b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-weight: 500; }
.of-steps span.on { color: var(--text); }
.of-steps span.on b { border-color: var(--teal); color: var(--teal); }
.of-steps span.done b { background: var(--teal); color: #04201C; border-color: var(--teal); }
.of-steps i { width: 18px; height: 1px; background: var(--line-strong); }
.of-x { appearance: none; border: 1px solid var(--line); background: transparent; color: var(--text); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 1.2rem; line-height: 1; }
.of-x:hover { border-color: var(--line-strong); }
.of-dialog-body { padding: 22px; }
.of-dialog h3 { font: 600 1.4rem/1.2 var(--sans); letter-spacing: -.02em; margin: 0 0 .4rem; }
.of-dialog .of-note { color: var(--dim); margin: 0 0 1.2rem; font-size: .95rem; }
.of-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; margin-bottom: 16px; }
.of-toggle button { appearance: none; border: 0; background: transparent; color: var(--dim); font: 500 .9rem var(--sans); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.of-toggle button[aria-pressed="true"] { background: var(--teal); color: #04201C; }
.of-planpick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.of-plan { position: relative; text-align: left; cursor: pointer; border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: rgba(10, 18, 36, .7); color: var(--text); font: inherit; display: flex; flex-direction: column; gap: 6px; }
.of-plan:hover { border-color: var(--line-strong); }
.of-plan[aria-checked="true"] { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal) inset, 0 12px 40px -18px rgba(94, 234, 212, .6); background: rgba(16, 38, 58, .85); }
.of-plan b { font-size: 1.05rem; }
.of-plan .pp { font: 600 1.45rem/1.1 var(--sans); letter-spacing: -.02em; }
.of-plan .pp small { font: 400 .8rem var(--sans); color: var(--dim); letter-spacing: 0; }
.of-plan .pp s { font: 400 .85rem var(--sans); color: var(--faint); margin-left: 4px; }
.of-plan .ribbon { position: absolute; top: -10px; right: 12px; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--teal); color: #04201C; border-radius: 999px; padding: 4px 8px; }
.of-plan ul { margin: 4px 0 0; padding: 0 0 0 1rem; color: var(--dim); font-size: .85rem; line-height: 1.5; }
.of-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.of-field { display: flex; flex-direction: column; gap: 6px; }
.of-field.wide { grid-column: 1 / -1; }
.of-field label { font-weight: 500; font-size: .92rem; }
.of-field .hint { font-size: .8rem; color: var(--faint); }
.of-field input[type="text"], .of-field input[type="email"] { width: 100%; font: 400 1rem var(--sans); color: var(--text); background: rgba(3, 6, 15, .7); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 13px; min-height: 46px; }
.of-field input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(94, 234, 212, .18); }
.of-field input[aria-invalid="true"] { border-color: var(--red); }
.of-err { color: #FCA5A5; font-size: .82rem; min-height: 0; }
.of-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--dim); font-size: .92rem; }
.of-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); }
.of-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.of-review { border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; margin: 0 0 16px; }
.of-review div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(148, 196, 220, .08); font-size: .93rem; }
.of-review div:first-child { border-top: 0; }
.of-review dt { color: var(--faint); }
.of-review dd { margin: 0; overflow-wrap: anywhere; }
.of-dialog-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgba(8, 14, 28, .9); position: sticky; bottom: 0; flex-wrap: wrap; }
.of-dialog-foot .of-legal { flex: 1 1 260px; }
.of-alert { border: 1px solid rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); color: #FECACA; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-size: .92rem; }
.of-okbox { text-align: center; padding: 16px 8px 8px; }
.of-okbox .ring { width: 86px; height: 86px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(94, 234, 212, .25), transparent 70%); border: 1px solid rgba(94, 234, 212, .5); }
.of-okbox .ring svg { width: 40px; height: 40px; color: var(--teal); }
.of-next { text-align: left; list-style: none; padding: 0; margin: 20px auto 6px; max-width: 520px; display: grid; gap: 12px; counter-reset: n; }
.of-next li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--dim); counter-increment: n; }
.of-next li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 500 12px var(--mono); color: var(--teal); }
.of-next li strong { color: var(--text); }
.of-dry { border: 1px dashed rgba(252, 211, 77, .5); background: rgba(252, 211, 77, .06); border-radius: 12px; padding: 12px 16px; text-align: left; font-size: .9rem; color: var(--dim); margin-top: 14px; }
.of-dry b { color: var(--amber); }

/* preview banner */
.of-preview-bar { position: sticky; top: 0; z-index: 30; background: repeating-linear-gradient(135deg, #3A2C06, #3A2C06 14px, #2C2105 14px, #2C2105 28px); color: #FDE68A; font: 500 13px/1.4 var(--mono); padding: 10px var(--gutter); display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(252, 211, 77, .4); padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.of-preview-bar a { color: #FDE68A; }

/* empty / gone */
.of-gone { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 32px var(--gutter); background: radial-gradient(90% 70% at 50% 40%, #0D2140, var(--void) 75%); }
.of-gone h1 { font: 600 clamp(1.7rem, 4vw, 2.6rem)/1.15 var(--sans); letter-spacing: -.02em; margin: 1rem 0 .6rem; }
.of-gone p { color: var(--dim); max-width: 52ch; margin: 0 auto .6rem; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .of-hero-in { grid-template-columns: minmax(0, 1fr); padding-block: 104px 120px; }
  .of-hero { align-items: flex-end; }
  .of-findings { grid-template-columns: minmax(0, 1fr); }
  .of-tour { grid-template-columns: minmax(0, 1fr); }
  .of-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .of-tab { flex: 0 0 min(78%, 280px); scroll-snap-align: start; }
  .of-offer { grid-template-columns: minmax(0, 1fr); }
  .of-legend { left: var(--gutter); right: var(--gutter); justify-content: flex-start; bottom: 64px; }
}
@media (max-width: 980px) {
  .of-hero { align-items: flex-start; }
  .of-hero-in { padding-block: 390px 110px; }
}
@media (max-width: 640px) {
  body.of { font-size: 15.5px; }
  .of-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-band-row { grid-template-columns: minmax(0, 1fr) 70px; gap: 6px 10px; }
  .of-band-name { grid-column: 1 / -1; }
  .of-band-track { grid-column: 1; }
  .of-planpick { grid-template-columns: minmax(0, 1fr); }
  .of-fields { grid-template-columns: minmax(0, 1fr); }
  .of-review div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .of-sheet { padding: 0; place-items: end stretch; }
  .of-dialog { border-radius: 20px 20px 0 0; max-height: 94svh; width: 100%; }
  .of-dock { display: block; }
  .of-principle { grid-template-columns: minmax(0, 1fr); }
  .of-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .of-motion { bottom: 16px; }
  .of-legend { display: none; }
  .of-private { display: none; }
}

/* sign-up sheet: small bits */
.of-linkish { appearance: none; border: 0; background: none; padding: 0; color: var(--teal); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.of-linkish:hover { color: #99F6E4; }
.of-step-t { font-style: normal; }
@media (max-width: 640px) { .of-steps span:not(.on) .of-step-t { display: none; } .of-steps i { width: 10px; } }

/* subscription terms page */
.of-terms { padding-block: calc(56px + env(safe-area-inset-top, 0px)) 72px; max-width: 820px; }
.of-terms h1 { font: 600 clamp(1.9rem, 4vw, 2.8rem)/1.1 var(--sans); letter-spacing: -.025em; margin: 1rem 0 1.2rem; }
.of-terms h2 { font: 600 1.15rem/1.3 var(--sans); margin: 2rem 0 .5rem; }
.of-terms p { color: var(--dim); margin: 0 0 .8rem; }
.of-terms .of-lede strong { color: var(--text); }
.of-sec h2 + .of-offer { margin-top: 2.2rem; }
.of-dialog-foot { background: #0A1224; }
@media (max-width: 640px) {
  .of-steps { flex-wrap: nowrap; }
  .of-dialog-foot { flex-direction: column; align-items: stretch; gap: .6rem; }
  .of-dialog-foot .of-legal { flex: 0 0 auto; font-size: .74rem; order: 2; text-align: center; }
  .of-dialog-foot .of-btn { width: 100%; }
}
