/* 4DV Sentinel. Calm, light product site in the manner of Vercel / Intercom / ElevenLabs:
   warm off-white ground, near-black ink, regular-weight sentence-case display type,
   pill buttons, hairline rules, and the product shown in framed app windows.
   Deliberately a single light theme; camera feeds inside the windows stay dark like real video. */
:root {
  --bg: #f7f6f3;          /* warm paper */
  --bg-2: #ffffff;        /* raised surface */
  --bg-3: #efede8;        /* sunken / panel fill */
  --line: #e4e1da;
  --line-2: #d4d0c7;
  --fg: #151513;
  --muted: #6c6a64;
  --dim: #9a978f;
  --accent: #ea580c;      /* one signal colour, used sparingly */
  --accent-soft: #fdeee4;
  --ok: #15803d;
  --ok-soft: #e7f4ec;
  --danger: #c2410c;
  --danger-soft: #fdece4;
  --feed: #eeece6;
  --font-display: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 0px;
  --r-sm: 0px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, canvas, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -0.035em; }
h1 { font-size: clamp(44px, 6.2vw, 88px); letter-spacing: -0.045em; line-height: .98; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; max-width: 62ch; }
.mono { font-family: var(--font-mono); font-size: 12.5px; }
.eyebrow { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent); }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 136px); border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4.5vw, 64px); max-width: 760px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-head p + p { margin-top: 2px; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.brand-mark { width: 22px; height: 22px; background: var(--fg); position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 7px; height: 7px; right: 4px; top: 4px; background: var(--accent); }
.brand small { font-family: var(--font-body); font-weight: 400; font-size: 15px; letter-spacing: -0.01em; color: var(--muted); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--fg); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 0; font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; border: 1px solid var(--fg); color: var(--bg-2); background: var(--fg); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: #33322f; border-color: #33322f; }
.btn.ghost { background: var(--bg-2); color: var(--fg); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--fg); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.soldout { background: var(--bg-3); color: var(--muted); border-color: var(--line-2); }
.btn.soldout:hover { color: var(--fg); border-color: var(--fg); background: var(--bg-3); }
.btn.soldout .strike { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* hero */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); }
.hero-top { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } }
.hero h1 span { color: var(--dim); }
.hero-side { display: grid; gap: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* framed product window: used for every live demo */
.stage {  padding: clamp(10px, 2.2vw, 28px); background: radial-gradient(120% 90% at 15% 0%, #f3dcc6 0%, transparent 55%), radial-gradient(90% 80% at 100% 100%, #d9dde6 0%, transparent 60%), #ebe7df; }
.window { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,20,19,.06), 0 24px 60px -24px rgba(20,20,19,.25); overflow: hidden; min-width: 0; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots i { width: 9px; height: 9px; background: var(--line-2); }
.window-bar .title { color: var(--fg); font-weight: 500; }
.window-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ok); }
.window-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 1.8s infinite; }
@keyframes blink { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .window-bar .live::before { animation: none; } }
.hero-feed { position: relative; aspect-ratio: 16 / 7.6; min-height: 300px; max-width: 100%; background: var(--feed); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.hero-canvas:active { cursor: grabbing; }
.feed-hint { position: absolute; z-index: 2; right: 12px; bottom: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); background: rgba(255,255,255,.8); padding: 3px 8px; pointer-events: none; }
.feed-legend { position: absolute; z-index: 2; left: 12px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.8); padding: 4px 10px; pointer-events: none; }
.feed-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; vertical-align: 0; }
.feed-legend .rainbow { width: 22px; height: 3px; vertical-align: 3px; background: linear-gradient(90deg, #ff2d2d, #ffb000, #4cd437, #12c2e9, #3d5afe, #c03cff); }
@media (max-width: 600px) { .feed-hint, .feed-legend { display: none; } }
.status-row { display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.status-row b { color: var(--fg); font-weight: 500; }
.status-row .ok { color: var(--ok); }
@media (max-width: 600px) { .hero-feed { aspect-ratio: 4 / 3; } .window-bar .dots { display: none; } }

/* capability grid */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .cap-grid { grid-template-columns: 1fr; } }
.cap { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); display: grid; grid-template-rows: auto 1fr; min-width: 0; padding: 8px; }
.cap .view { position: relative; aspect-ratio: 16 / 10; max-width: 100%; background: var(--feed); border-radius: var(--r-sm); overflow: hidden; }
.cap .view canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cap .tag { position: absolute; left: 10px; top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--fg); background: rgba(255,255,255,.85); backdrop-filter: blur(6px); padding: 3px 9px; border-radius: 0; }
.cap .body { padding: 18px 14px 16px; display: grid; gap: 8px; align-content: start; }
.cap .body p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .cap .tag { display: none; } }

/* 4D scene */
.scene { position: relative; }
.scene-view { position: relative; aspect-ratio: 16 / 8.2; max-width: 100%; min-height: 320px; cursor: grab; touch-action: none; background: var(--feed); }
.scene-view:active { cursor: grabbing; }
.scene-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-hud { position: absolute; left: 14px; top: 12px; display: grid; gap: 4px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); pointer-events: none; }
.scene-hint { position: absolute; right: 14px; top: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); pointer-events: none; }
.scene-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 12px 14px; border-top: 1px solid var(--line); }
.scene-bar input[type=range] { width: 100%; accent-color: var(--fg); }
.scene-bar .time { font-family: var(--font-mono); font-size: 13px; color: var(--fg); font-variant-numeric: tabular-nums; min-width: 9ch; text-align: right; }
.icon-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: 0; background: var(--bg-2); color: var(--fg); cursor: pointer; font-family: var(--font-mono); font-size: 12px; }
.icon-btn:hover { border-color: var(--fg); }
.scene-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.scene-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; vertical-align: -1px; }
.scene-legend .rainbow { width: 26px; height: 3px; vertical-align: 3px; background: linear-gradient(90deg, #ff2d2d, #ffb000, #4cd437, #12c2e9, #3d5afe, #c03cff); }

/* privacy / airgap */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.facts { display: grid; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.fact .k { font-size: 14px; font-weight: 500; padding-top: 1px; }
.fact .v { font-size: 15.5px; color: var(--muted); }
.fact .v b { color: var(--ok); font-weight: 500; font-family: var(--font-mono); font-size: 12px; margin-left: 4px; }
@media (max-width: 520px) { .fact { grid-template-columns: 1fr; gap: 4px; } }
.airgap {  background: var(--bg-3); padding: clamp(12px, 2vw, 24px); }
.airgap svg { background: var(--bg-2); border-radius: var(--r); border: 1px solid var(--line); width: 100%; height: auto; }

/* audiences */
.aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .aud-grid { grid-template-columns: 1fr; } }
.aud { padding: 26px 24px 28px; border-radius: var(--r); background: var(--bg-3); display: grid; gap: 12px; align-content: start; min-width: 0; }
.aud p { color: var(--muted); font-size: 15px; }
.aud ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; display: grid; gap: 4px; }
.aud .who { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* specs */
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }
.spec { padding: 22px 20px 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; min-width: 0; }
.spec .k { font-size: 13.5px; color: var(--muted); }
.spec .v { font-size: 32px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.spec .d { color: var(--muted); font-size: 14px; }

/* CTA band */
.cta-band { border-top: 1px solid var(--line); }
.cta-in { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding-block: clamp(56px, 8vw, 112px); }
@media (max-width: 800px) { .cta-in { grid-template-columns: 1fr; } }
.price-line { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.price-line b { font-weight: 500; }
.price-line span { color: var(--dim); }

/* footer */
.footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); font-size: 13.5px; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--fg); }

/* ---------- product page ---------- */
.product-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .product-hero { grid-template-columns: 1fr; } }
.kit-art {  background: var(--bg-3); padding: clamp(10px, 2vw, 20px); position: relative; }
.kit-art svg { width: 100%; height: auto; border-radius: var(--r); }
.kit-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 14px 4px 2px; font-size: 13.5px; color: var(--muted); }
.buy { display: grid; gap: 22px; position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
.buy h1 { font-size: clamp(40px, 5vw, 64px) !important; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 0; width: max-content; }
.pill.soldout { color: var(--danger); background: var(--danger-soft); }
.pill.soldout::before, .pill.open::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.open { color: var(--ok); background: var(--ok-soft); }
.price { display: grid; gap: 6px; }
.price .amount { font-size: clamp(52px, 7vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.price .amount sup { font-size: .42em; vertical-align: top; margin-right: 3px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price .terms { font-size: 14.5px; color: var(--muted); }
.price .terms b { color: var(--fg); font-weight: 500; }
.buy-note { font-size: 14.5px; color: var(--muted); }
.buy-actions { display: grid; gap: 10px; }
.buy-actions .btn { width: 100%; padding: 14px 22px; }
.buy-actions small { color: var(--dim) !important; font-family: var(--font-body) !important; font-size: 13px; }
.inbox { display: grid; border-top: 1px solid var(--line); }
.inbox-row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; min-width: 0; }
.inbox-row .qty { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; color: var(--dim); line-height: 1.1; font-variant-numeric: tabular-nums; }
.inbox-row .name { font-weight: 500; }
.inbox-row .sub { color: var(--muted); font-size: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
table.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.specs th { text-align: left; font-size: 13px; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line-2); font-weight: 500; }
table.specs td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs td:first-child { color: var(--muted); width: 36%; padding-right: 12px; }
.table-wrap { overflow-x: auto; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px 20px 24px; border-radius: var(--r); background: var(--bg-3); display: grid; gap: 8px; align-content: start; min-width: 0; }
.step .n { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--muted); }
.step p { color: var(--muted); font-size: 14.5px; }
.step .t { font-family: var(--font-mono); font-size: 11.5px; color: var(--dim); }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; font-size: 17px; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; max-width: 70ch; }

/* waitlist modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(21,21,19,.35); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal-card { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--bg-2);  box-shadow: 0 30px 80px -20px rgba(21,21,19,.35); padding: 28px; display: grid; gap: 18px; }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.modal-head h3 { font-size: 28px; letter-spacing: -0.035em; }
.modal-head p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.x { background: var(--bg-3); border: 0; color: var(--muted); width: 34px; height: 34px; border-radius: 0; cursor: pointer; flex: 0 0 auto; }
.x:hover { color: var(--fg); }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--fg); padding: 11px 12px; font: inherit; font-size: 15px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 3px rgba(21,21,19,.08); }
.field textarea { min-height: 80px; resize: vertical; }
.form-foot { display: grid; gap: 10px; }
.form-foot .btn { width: 100%; }
.form-foot small { color: var(--dim); font-size: 12.5px; }
.msg { font-size: 14px; padding: 12px 14px; border-radius: var(--r-sm); }
.msg.ok { color: var(--ok); background: var(--ok-soft); }
.msg.err { color: var(--danger); background: var(--danger-soft); }
.msg.note { color: var(--muted); background: var(--bg-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* event log */
.events { display: grid; min-width: 0; }
.events-head, .event { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); align-items: start; }
.events-head { grid-template-columns: 1fr auto; font-size: 13px; color: var(--muted); }
.event .t { font-family: var(--font-mono); font-size: 12.5px; color: var(--dim); font-variant-numeric: tabular-nums; padding-top: 2px; }
.event .d { font-size: 15px; min-width: 0; }
.event .v { font-size: 12.5px; font-weight: 500; padding: 3px 10px; border-radius: 0; background: var(--bg-3); color: var(--muted); white-space: nowrap; }
.event .v.ok { color: var(--ok); background: var(--ok-soft); }
.event.alert { background: #fffaf6; box-shadow: inset 3px 0 0 var(--accent); }
.event.alert .v { color: var(--danger); background: var(--danger-soft); }
.events-foot { padding: 12px 18px; font-size: 13px; color: var(--dim); }
@media (max-width: 520px) { .event { grid-template-columns: 44px 1fr; } .event .v { grid-column: 2; width: max-content; } }

/* plans: one kit, three ways to be protected */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 28px 26px 26px;  border: 1px solid var(--line); background: var(--bg-2); display: grid; grid-template-rows: auto 1fr auto; gap: 22px; min-width: 0; }
.plan.top { background: var(--fg); border-color: var(--fg); color: #f5f4f0; }
.plan-head { display: grid; gap: 10px; }
.plan-name { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 26px; letter-spacing: -0.03em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.plan-price b { font-size: 46px; font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.plan-price span { font-size: 14px; color: var(--muted); }
.plan-sub { color: var(--muted); font-size: 15px; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; display: grid; gap: 8px; align-content: start; }
.plan ul b { color: var(--fg); font-weight: 500; }
.plan .btn { width: 100%; }
.plan.top .plan-name, .plan.top .plan-price span, .plan.top .plan-sub, .plan.top ul { color: #b5b2aa; }
.plan.top ul b { color: #f5f4f0; }
.plan.top .btn { background: #f5f4f0; color: var(--fg); border-color: #f5f4f0; }
.plan.top .btn:hover { background: #ffffff; }
.plans-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* plan picker in the product buy box */
.picker { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.picker legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg-2); cursor: pointer; transition: border-color .15s; }
.opt:hover { border-color: var(--muted); }
.opt input { grid-row: span 2; accent-color: var(--fg); width: 16px; height: 16px; margin: 0; }
.opt .o-name { font-size: 16px; font-weight: 500; }
.opt .o-price { grid-row: span 2; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.opt .o-desc { color: var(--muted); font-size: 13.5px; }
.opt:has(input:checked) { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }

/* 4D world: event caption and object labels */
.feed-caption { position: absolute; z-index: 2; left: 12px; top: 12px; max-width: min(560px, calc(100% - 24px)); display: flex; gap: 10px; align-items: baseline; font-size: 13px; line-height: 1.35; color: var(--fg); background: rgba(255,255,255,.93); border-left: 3px solid var(--line-2); padding: 7px 11px; pointer-events: none; }
.feed-caption:empty { display: none; }
.feed-caption.bottom { top: auto; bottom: 12px; }
.feed-caption .clk { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.feed-caption.tone-ok { border-left-color: var(--ok); }
.feed-caption.tone-warn { border-left-color: #ca8a04; }
.feed-caption.tone-alert { border-left-color: var(--accent); }
.w4-labels { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.w4-label { position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: 11px; line-height: 1; white-space: nowrap; padding: 4px 6px; background: rgba(255,255,255,.88); color: var(--muted); border-left: 2px solid #9a978f; will-change: transform; }
.w4-label.warn { color: #854d0e; border-left-color: #ca8a04; }
.w4-label.alert { color: #fff; background: var(--accent); border-left-color: #9a3412; }
.w4-label.ok { color: #fff; background: var(--ok); border-left-color: #14532d; }
@media (max-width: 600px) { .feed-caption { font-size: 12px; left: 8px; top: 8px; padding: 6px 9px; } .w4-label { font-size: 10px; } }
