/* ZeroDayBriefing: landing page and legal pages. Mobile first. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  /* Reels palette (the Shorts' own CSS). Contrast on --bg: text 18:1, muted 8:1, green #00E5A0 11.7:1 (10.0:1 on --raised), red 5.4:1; dark #04130D on green 11.5:1.
     Buy buttons use --buy (#D93025): white text on it is 4.77:1. #FF3B30 (3.55:1) and #E5352B (4.31:1) fail 4.5:1 with white. */
  --bg: #0B0E14; --raised: #11202B; --surface: #141B26; --line: #1E2835; --line-2: #2A3747;
  --text: #F5F7FA; --muted: #9BA8BC; --soft: #C9D2DE;
  --red: #FF3B30; --buy: #D93025; --buy-hover: #C42B21; --on-red: #FFFFFF;
  --green: #00E5A0; --on-green: #04130D; --warn: #FFB020; --safe: var(--green);
  --accent: var(--green); --on-accent: var(--on-green); --danger: var(--red);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px; --s7: 128px;
  --radius: 16px;
  --measure: 62ch;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sticky-h: 0px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 var(--s2); }
code { font-family: var(--mono); font-size: .92em; color: var(--green); background: rgba(0, 229, 160, .1); padding: 1px 6px; border-radius: 5px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.i { width: 18px; height: 18px; flex: none; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: var(--s2); top: -100px; z-index: 50; background: var(--green); color: var(--on-green); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: var(--s2); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: var(--s5) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--raised); border-top-color: transparent !important; }
.section-alt + .section { border-top-color: transparent; }

.eyebrow {
  display: inline-flex; text-wrap: balance; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin: 0 0 var(--s3);
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--red); border-radius: 2px; }
.center .eyebrow, .eyebrow.center { justify-content: center; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3rem); margin-bottom: var(--s3); max-width: 22ch; }
.lede { color: var(--muted); font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); max-width: var(--measure); margin-bottom: var(--s5); }
.h-small { font-size: 1.15rem; letter-spacing: -0.01em; }

/* Buttons. Buy = red (white text 4.77:1 on --buy); secondary actions = green (dark text 11.5:1) or ghost. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 12px; border: 1px solid transparent;
  font: 700 1rem/1.2 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn-primary { background: var(--buy); color: var(--on-red); box-shadow: 0 10px 30px -12px rgba(255, 59, 48, .6); }
.btn-primary:hover { background: var(--buy-hover); transform: translateY(-1px); box-shadow: 0 14px 36px -12px rgba(255, 59, 48, .7); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline-color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-green { background: var(--green); color: var(--on-green); }
.btn-green:hover { background: #33EBB3; }
.btn-green:focus-visible { outline-color: var(--text); }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 1.06rem; white-space: nowrap; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .9rem; font-weight: 600; }
.textlink {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0, 229, 160, .55); text-decoration-thickness: 2px;
}
.textlink:hover { color: var(--green); }
/* Wrapping link: plain inline text so the arrow stays with the last word; padding keeps a 44 px hit area. */
.textlink-inline { display: inline; padding: 12px 0; line-height: 1.6; }
.textlink-inline .i { display: inline-block; vertical-align: -3px; margin-left: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: var(--s5) 0 var(--s5); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 0%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse 90% 70% at 70% 0%, #000 10%, transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; width: 680px; height: 680px; right: -280px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, .13), rgba(0, 229, 160, 0) 65%);
}
.hero-grid { position: relative; display: grid; gap: var(--s5); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; letter-spacing: .3em; font-weight: 800; color: var(--text); margin: 0 0 var(--s4); }
.mark { width: 22px; height: 22px; color: var(--red); }
.hero h1 { font-size: clamp(2.35rem, 1.3rem + 5vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.04; margin-bottom: var(--s4); max-width: 15ch; }
.hero h1 .hl { display: block; color: var(--green); margin-top: .14em; }
.sub { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); color: var(--muted); max-width: 34em; margin-bottom: var(--s4); }
.cta-row { display: flex; flex-direction: column; align-items: stretch; gap: var(--s2); margin-bottom: var(--s3); }
.cta-row .textlink { justify-content: center; }
.code-line { color: var(--muted); font-size: .95rem; margin: 0 0 var(--s4); }
.tag {
  display: inline-block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--red); border: 1px solid rgba(255, 59, 48, .55); border-radius: 999px; padding: 2px 9px; margin-right: 10px; vertical-align: 1px;
}
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { font-size: .85rem; color: var(--soft); border: 1px solid var(--line); background: rgba(20, 27, 38, .7); border-radius: 999px; padding: 6px 14px; }
/* Problem cards */
.cards { display: grid; gap: var(--s3); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3);
  display: flex; flex-direction: column;
}
.case { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .02em; margin-bottom: var(--s3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 48, .18); }
.card h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: var(--s3); }
.card .what { color: var(--text); margin-bottom: var(--s2); }
.card .risk { color: var(--muted); margin-bottom: var(--s4); }
.fix {
  margin: auto 0 0; padding-top: var(--s3); border-top: 1px solid var(--line);
  display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--soft);
}
.fix .i { color: var(--safe); margin-top: 4px; }
.fix b { color: var(--text); font-weight: 700; }

/* Inside: topic groups, no numbers */
.parts { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.part { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3); }
.part-label { font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green); margin: 0 0 var(--s1); }
.part h3 { font-size: 1.5rem; margin-bottom: var(--s1); }
.part-note { color: var(--muted); margin-bottom: var(--s3); }
.topics { list-style: none; margin: 0; padding: 0; }
.topics li { padding: var(--s2) 0; border-top: 1px solid var(--line); }
.topics b { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 2px; }
.topics span { color: var(--muted); font-size: .95rem; }
.pages-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s3); }
.hint { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; margin: 0; }
.hint .i { width: 16px; height: 16px; }
.strip {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 -20px var(--s1); padding: 4px 20px var(--s2); scroll-padding: 0 20px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; border-radius: 4px;
}
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s3); width: max-content; }
.strip li { scroll-snap-align: start; width: min(68vw, 280px); }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 720 / 1018; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.strip figcaption { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.strip::-webkit-scrollbar { height: 10px; }
.strip::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }

.prompt { margin-top: var(--s6); background: var(--bg); border: 1px solid var(--line); border-top: 2px solid var(--green); border-radius: 12px; overflow: hidden; }
.prompt-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
.prompt-label { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.prompt-body {
  margin: 0; padding: var(--s3) 18px; font: 400 .84rem/1.7 var(--mono); color: var(--soft);
  white-space: pre-wrap; overflow-wrap: break-word; tab-size: 2;
}
.prompt-body .ph { color: var(--green); }
.copy-status { margin: 0; padding: 0 18px; min-height: 0; font-size: .85rem; color: var(--green); }
.copy-status:not(:empty) { padding-bottom: 12px; }

/* Proof: one line */
.proof-line { font-size: clamp(1.6rem, 1.15rem + 2.2vw, 2.6rem); line-height: 1.2; max-width: 26ch; margin-bottom: var(--s4); }
.proof-line .hl { color: var(--green); }

/* Buy */
.buy-wrap { display: flex; justify-content: center; }
.buy-card {
  position: relative; width: 100%; max-width: 540px; padding: var(--s5) var(--s3) var(--s4);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);
}
.buy-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.buy-card .eyebrow { display: block; text-align: center; }
.buy-card .eyebrow::before { display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; }
.price { text-align: center; font-size: clamp(4rem, 3rem + 5vw, 5.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: 0 0 var(--s2); }
.price .cur { font-size: .45em; vertical-align: .9em; margin-right: 4px; color: var(--muted); letter-spacing: 0; }
.price-sub { text-align: center; color: var(--muted); max-width: 30ch; margin: 0 auto var(--s4); }
.incl { list-style: none; margin: 0 0 var(--s4); padding: var(--s4) 0 0; border-top: 1px solid var(--line); }
.incl li { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.incl .i { color: var(--green); margin-top: 4px; }
.buy-card .code-line { margin: var(--s3) 0 var(--s2); font-size: .92rem; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: .9rem; margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: var(--s4); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  min-height: 64px; padding: 18px 0; font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg) translateY(-3px);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--green); }
.faq details p { color: var(--muted); margin: 0 0 var(--s3); max-width: var(--measure); }

/* Free checklist */
.free-grid { display: grid; gap: var(--s4); }
.free-copy .lede { margin-bottom: 0; }
.free-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3); }
.free-form label { display: block; font-weight: 600; margin-bottom: var(--s1); }
.free-form input[type="email"] {
  width: 100%; min-height: 54px; padding: 12px 14px; margin-bottom: var(--s2);
  background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; font: 400 1rem var(--sans);
}
.free-form input[type="email"]::placeholder { color: #7D8AA0; }
.free-form input[type="email"]:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; left: -9999px; }
.consent { color: var(--muted); font-size: .85rem; margin: var(--s2) 0 0; }
.status { margin: 0; font-weight: 600; }
.status:not(:empty) { margin-top: var(--s2); }
.status.ok { color: var(--safe); }
.status.err { color: #FF6B61; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: var(--s5) 0 calc(var(--s5) + var(--sticky-h)); }
.foot-grid { display: grid; gap: var(--s4); }
.foot-brand { font-weight: 800; letter-spacing: .3em; font-size: .8rem; color: var(--text); margin-bottom: var(--s2); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px var(--s4); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.foot-links a:hover { color: var(--green); text-decoration: underline; }
.footer a[href^="mailto"] { color: var(--text); display: inline-block; padding: 13px 0; margin: -13px 0; }
.footer .muted.small { line-height: 1.8; }
.disclaimer { margin-top: var(--s3); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 14, 20, .92); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  visibility: visible;
  transition: transform .25s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s;
}
/* Hidden = also out of the tab order and the accessibility tree; visibility flips after the slide. */
.sticky-cta.is-hidden, .sticky-cta.is-typing, .sticky-cta.is-soon, html.js .sticky-cta:not(.is-ready) {
  transform: translateY(110%); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform .25s var(--ease), opacity .25s var(--ease), visibility 0s linear .25s;
}
html.js .sticky-cta:not(.is-ready) { transition: none; }
body { --sticky-h: 76px; }

/* Reveal on scroll (only with JS and motion allowed; content is visible without JS) */
.reveal.pending { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.pending.in { opacity: 1; transform: none; }

/* Legal and thanks pages */
.topbar { border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 800; letter-spacing: .3em; font-size: .78rem; text-decoration: none; }
.doc { padding: var(--s5) 0 var(--s6); }
.doc h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); margin-bottom: var(--s4); }
.doc h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: var(--s5) 0 var(--s2); max-width: none; }
.doc p, .doc li { color: var(--soft); max-width: var(--measure); }
.doc ul { padding-left: 1.2em; margin: 0 0 var(--s2); }
.doc li { margin-bottom: 8px; }
.doc .updated { color: var(--muted); margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); }
.thanks { min-height: 70vh; display: flex; align-items: center; }
.thanks .card { max-width: 580px; margin: 0 auto; text-align: center; padding: var(--s5) var(--s3); }
.thanks h1 { font-size: clamp(1.9rem, 1.4rem + 2.6vw, 2.8rem); margin-bottom: var(--s4); }
.thanks .btn { margin-bottom: var(--s4); }
.thanks .card p:not(.eyebrow) { color: var(--muted); }
.notice { border: 1px solid rgba(255, 176, 32, .5); background: rgba(255, 176, 32, .08); color: var(--text) !important; border-radius: 10px; padding: var(--s2); text-align: left; }

/* Tablet and up */
@media (min-width: 768px) {
  .wrap { padding: 0 var(--s4); }
  .section { padding: var(--s6) 0; }
  .cta-row { flex-direction: row; align-items: center; gap: var(--s4); }
  .parts { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .part { padding: var(--s5) var(--s4); }
  .card { padding: var(--s4); }
  .strip { margin: 0 0 var(--s1); padding: 4px 0 var(--s2); scroll-padding: 0; }
  .strip li { width: 240px; }
  .hint { display: none; }
  .prompt-body { font-size: .9rem; padding: var(--s4); }
  .foot-grid { grid-template-columns: 1fr auto; align-items: start; }
  .sticky-cta { display: none; }
  body { --sticky-h: 0px; }
  .free-form { padding: var(--s5) var(--s4); }
  .buy-card { padding: var(--s5) var(--s5) var(--s4); }
}
@media (min-width: 960px) {
  .hero { padding: var(--s6) 0 var(--s7); }
  .cards { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .free-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s6); }
  .section { padding: var(--s7) 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.pending { opacity: 1; transform: none; }
  .btn-primary:hover { transform: none; }
}

/* ---------- Briefings (archive, article, homepage strip) ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Homepage: the kicker row carries the minimal nav */
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin: 0 0 var(--s4); }
.hero-top .kicker { margin: 0; }
.navlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--text); font-weight: 600; font-size: .95rem; text-decoration: none; }
.navlink:hover { color: var(--green); }
.navlink[aria-current="page"] { color: var(--green); }

/* Shared header on briefing pages */
.page-briefings .topbar { position: sticky; top: 0; z-index: 30; background: rgba(11, 14, 20, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sitenav { display: flex; align-items: center; gap: var(--s3); }
.page-briefings .footer-plain { padding-bottom: var(--s5); }

/* Cards: date, title, summary. The whole card is the title link's hit area. */
.bgrid { display: grid; gap: var(--s3); }
.bcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3);
  transition: border-color .18s var(--ease);
}
.bcard:hover { border-color: var(--line-2); }
.bcard:focus-within { border-color: var(--green); }
.bcard-date { font-family: var(--mono); font-size: .8rem; color: var(--muted); margin: 0 0 var(--s2); }
.bcard-title { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 var(--s2); }
.bcard-title a { color: var(--text); text-decoration: none; }
.bcard-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.bcard-title a:focus-visible { outline: none; }
.bcard:hover .bcard-title a { color: var(--green); }
.bcard-summary { color: var(--muted); font-size: .97rem; line-height: 1.6; margin: 0 0 var(--s3); }
.bcard-more { margin: auto 0 0; display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; font-size: .92rem; }

/* Homepage strip: fixed card height so the skeletons and the real cards take the same space */
html:not(.js) .latest { display: none; }
.bgrid-latest .bcard { height: 21rem; overflow: hidden; }
.bgrid-latest .bcard > * { flex-shrink: 0; }
.bgrid-latest .bcard-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.bgrid-latest .bcard-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.bcard-skeleton span { display: block; border-radius: 6px; background: var(--line); }
.bcard-skeleton span:nth-child(1) { width: 40%; height: 14px; margin-bottom: var(--s3); }
.bcard-skeleton span:nth-child(2) { width: 90%; height: 52px; margin-bottom: var(--s3); }
.bcard-skeleton span:nth-child(3) { width: 100%; height: 76px; opacity: .6; }
.latest .lede { margin-bottom: var(--s4); }
.latest-all { margin: var(--s4) 0 0; }

/* Archive */
.briefings-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.06; margin-bottom: var(--s3); max-width: 18ch; }
.briefings-head .lede { margin-bottom: var(--s5); }
.empty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: var(--s4) var(--s3); max-width: var(--measure); }
.empty p { color: var(--soft); }
.empty p:last-child { margin: 0; }

/* Article */
.article { padding: var(--s4) 0 var(--s5); }
.article-head { max-width: 46rem; margin-bottom: var(--s4); }
.article-back { margin: 0 0 var(--s3); }
.article-back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .92rem; font-weight: 600; text-decoration: none; }
.article-back a::before { content: ""; width: 8px; height: 8px; margin-right: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.article-back a:hover { color: var(--green); }
.article-date { font-family: var(--mono); font-size: .85rem; color: var(--muted); margin: 0 0 var(--s2); }
.article h1 { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3rem); letter-spacing: -0.03em; line-height: 1.1; }
.article-grid { display: grid; gap: var(--s4); }
.video { margin: 0; justify-self: center; width: min(100%, 300px); }
.video-frame {
  position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line); background: #000;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--buy); color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7);
  transition: transform .18s var(--ease), background-color .18s var(--ease);
}
.play svg { width: 30px; height: 30px; margin-left: 4px; }
a.video-frame:hover .play { transform: scale(1.06); background: var(--buy-hover); }
a.video-frame:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.video figcaption { margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }
.article-body { max-width: var(--measure); font-size: 1.08rem; line-height: 1.8; }
.article-body p { color: var(--soft); margin: 0 0 1.35em; overflow-wrap: anywhere; }
.article-body > p:first-child { color: var(--text); font-size: 1.2rem; line-height: 1.6; font-weight: 600; }
.article-body .lead-in { color: var(--text); font-weight: 700; margin-bottom: .4em; }
.article-body ul { margin: 0 0 1.35em; padding-left: 1.2em; color: var(--soft); }
.article-body li { margin-bottom: .4em; }
.article-body a { color: var(--green); }
.article-body .ig-link { margin-top: var(--s4); }
.ig-link .textlink { font-size: 1rem; }

/* Guide box at the end of archive and article */
.guide-box {
  position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; padding: var(--s4) var(--s3);
}
.guide-box::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.guide-box h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); margin-bottom: var(--s2); }
.guide-box p:not(.eyebrow) { color: var(--soft); max-width: 46ch; }
.guide-box b { color: var(--text); }
.guide-actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--s2); margin-top: var(--s3); }
.guide-actions .textlink { justify-content: center; }
.nf-title { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); margin-bottom: var(--s3); }

@media (max-width: 639px) {
  .page-briefings .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .page-briefings .brand .mark { width: 28px; height: 28px; }
  .sitenav { gap: var(--s2); }
}
@media (min-width: 768px) {
  .bgrid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .bgrid-latest .bcard { height: 22rem; }
  .bcard { padding: var(--s4); }
  .guide-box { padding: var(--s5); }
  .guide-actions { flex-direction: row; align-items: center; gap: var(--s4); }
  .article { padding: var(--s5) 0 var(--s6); }
}
@media (min-width: 960px) {
  .hero-top { grid-column: 1 / -1; margin-bottom: 0; }
  .bgrid { grid-template-columns: repeat(3, 1fr); }
  .bgrid-latest .bcard { height: 22rem; }
  .article-grid { grid-template-columns: 300px minmax(0, 1fr); gap: var(--s6); align-items: start; }
  .video { position: sticky; top: 96px; }
  .article-head { margin-bottom: var(--s5); }
}
@media (prefers-reduced-motion: reduce) {
  a.video-frame:hover .play { transform: none; }
}

/* ---------- Round 3: plain-language help for non-technical owners ---------- */
.noit {
  display: flex; gap: 12px; align-items: flex-start; max-width: 34em;
  color: var(--soft); font-size: 1.02rem; line-height: 1.55;
  margin: calc(var(--s2) * -1) 0 var(--s4); padding: 12px 16px;
  border: 1px solid rgba(0, 229, 160, .35); background: rgba(0, 229, 160, .07); border-radius: 12px;
}
.noit .i { color: var(--green); margin-top: 3px; }
.noit b { color: var(--text); font-weight: 700; }

.steps { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s3); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4) var(--s3); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: var(--s3);
  border-radius: 50%; background: var(--green); color: var(--on-green); font-weight: 800; font-size: 1.1rem;
}
.step h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: var(--s2); }
.step p { color: var(--muted); margin: 0; }
.how-note { color: var(--muted); font-size: .95rem; max-width: var(--measure); margin: 0; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .step { padding: var(--s4); }
}

/* Replace former inline styles (the CSP allows no inline style attributes) */
.footer.footer-plain { padding-bottom: var(--s5); }
.lede-strong { color: var(--text); }
.thanks.section { border-top: 0; }
.thanks-lead:empty { display: none; }

/* ---------- Round 3: the five guides as a 3D shelf (carousel.js) ---------- */
/* Hero: copy and the selected guide's panel on the left, the shelf on the right (stacked on phones). */
.hero-grid { gap: var(--s3); }
.hero-grid .hero-top { margin: 0; }
.hero h1 { margin-bottom: 0; }
.hero .sub { margin: var(--s3) 0 0; }
.shop { --bw: 255px; min-width: 0; }
@media (max-width: 959px) {
  /* Phones and tablets: the caption under the shelf says what the sub said, so the shelf fits the first screen. */
  .hero { padding: var(--s4) 0 var(--s5); }
  .hero .sub { display: none; }
  html.js .shelf-stage { margin: 0 -20px; }
}
.shelf { position: relative; }
.shelf-stage { position: relative; }
.shelf-list { list-style: none; margin: 0; padding: 0; }

/* Without JS: a plain row of covers that scrolls sideways. */
html:not(.js) .shelf-list { display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s2); }
html:not(.js) .shelf-item { flex: 0 0 225px; scroll-snap-align: start; }
html:not(.js) .book { cursor: default; }

.book {
  display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; color: inherit; cursor: pointer;
  border-radius: 4px 8px 8px 4px; -webkit-tap-highlight-color: transparent;
}
.book-3d { position: relative; display: block; }
.book-front { position: relative; width: 100%; border-radius: 3px 6px 6px 3px; background: var(--surface); }
/* Spine crease and a soft sheen on the front, so it reads as a bound cover. */
.book-3d::after {
  content: ""; position: absolute; inset: 0; border-radius: 3px 6px 6px 3px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .16) 0, rgba(255, 255, 255, .04) 1.6%, rgba(0, 0, 0, .35) 2.6%, rgba(0, 0, 0, 0) 6%),
              linear-gradient(115deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 38%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.book-pages, .book-spine { display: none; }

/* With JS: the 3D stage. Only transform and opacity change, so moving never triggers layout. */
html.js .shelf-stage {
  height: calc(var(--bw) * 1.414 + 40px); overflow: hidden; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
html.js .shelf-list { position: relative; height: 100%; perspective: 1300px; perspective-origin: 50% 40%; transform: translateX(var(--drag, 0px)); }
html.js .shelf-list.is-dragging { cursor: grabbing; }
html.js .book-front { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
html.js .shelf-item {
  position: absolute; left: 50%; top: 12px; width: var(--bw); margin-left: calc(var(--bw) / -2);
  transform-style: preserve-3d; will-change: transform;
  transition: transform .6s var(--ease), opacity .45s var(--ease);
}
html.js .shelf-item.jump { transition: none; }
html.js .book, html.js .book-3d { transform-style: preserve-3d; }
html.js .book-pages, html.js .book-spine { display: block; position: absolute; top: 1.2%; bottom: 1.2%; width: 12px; }
/* Page block on the right edge and the spine on the left, turned back into the depth of the book. */
html.js .book-pages {
  right: 0; transform-origin: right center; transform: rotateY(-90deg);
  background: repeating-linear-gradient(90deg, #E9EDF2 0, #E9EDF2 1px, #C3CBD6 1px, #C3CBD6 2px);
}
html.js .book-spine { left: 0; transform-origin: left center; transform: rotateY(90deg); background: linear-gradient(90deg, #070A0F, #18212E); }
/* Floor shadow */
html.js .shelf-item::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -26px; height: 34px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); transform: translateZ(-6px);
}
html.js .book-front { box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .95); }

html.js .shelf-item[data-pos="0"]  { z-index: 5; transform: rotateY(-14deg); }
html.js .shelf-item[data-pos="1"]  { z-index: 4; transform: translateX(calc(var(--bw) * .7)) translateZ(-180px) rotateY(-42deg); }
html.js .shelf-item[data-pos="-1"] { z-index: 4; transform: translateX(calc(var(--bw) * -.7)) translateZ(-180px) rotateY(42deg); }
html.js .shelf-item[data-pos="2"]  { z-index: 3; transform: translateX(calc(var(--bw) * 1.25)) translateZ(-345px) rotateY(-50deg); opacity: .6; }
html.js .shelf-item[data-pos="-2"] { z-index: 3; transform: translateX(calc(var(--bw) * -1.25)) translateZ(-345px) rotateY(50deg); opacity: .6; }
html.js .shelf-item[data-pos="0"] .book-front { box-shadow: 0 34px 60px -22px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 229, 160, .18), 0 0 60px -10px rgba(0, 229, 160, .22); }
.book:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }

.shelf-nav { display: flex; align-items: center; justify-content: center; gap: var(--s3); margin-top: var(--s1); }
.shelf-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); color: var(--text); border: 1px solid var(--line-2); cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.shelf-btn:hover { border-color: var(--green); color: var(--green); }
.shelf-btn:active { transform: scale(.94); }
.shelf-btn .i { width: 20px; height: 20px; }
.shelf-nav { gap: var(--s2); }
.shelf-btn { flex: none; }
.shelf-cap { flex: 1 1 auto; min-width: 0; max-width: 22rem; text-align: center; }
.cap-name { margin: 0; font-weight: 800; font-size: .95rem; line-height: 1.3; text-wrap: balance; }
.cap-line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 12px; font-size: .88rem; color: var(--muted); line-height: 1.3; }
.cap-act { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cap-act:hover { color: #33EBB3; }
.cap-act[hidden] { display: none; }
html:not(.js) .shelf-nav { display: flex; }
html:not(.js) .shelf-btn { display: none; }

/* The selected guide's panel. Both panels share one grid cell, so switching never moves the page below. */
.panels { display: grid; min-width: 0; }
.panel { grid-area: 1 / 1; min-width: 0; transition: opacity .3s var(--ease), visibility 0s linear 0s; }
.panel.is-off { opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility 0s linear .2s; }
.panel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 var(--s2); font-size: .9rem; }
.lvl { display: inline-block; background: var(--green); color: var(--on-green); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.panel-price { font-weight: 800; font-size: 1.05rem; color: var(--text); }
.panel-state { color: var(--muted); }
.panel-state-soon { color: var(--warn); font-weight: 600; }
.panel-name { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 1.9rem); letter-spacing: -0.02em; margin: 0 0 var(--s2); max-width: none; }
.panel-aud { color: var(--soft); max-width: 34em; margin-bottom: var(--s3); }
.panel .noit { margin: 0 0 var(--s3); }
.soon-form label { display: block; font-weight: 600; margin-bottom: var(--s1); }
.soon-row { display: flex; flex-direction: column; gap: 10px; }
.soon-form input[type="email"] {
  width: 100%; min-height: 54px; padding: 12px 14px; flex: 1 1 auto; min-width: 0;
  background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; font: 400 1rem var(--sans);
}
.soon-form input[type="email"]::placeholder { color: #7D8AA0; }
.soon-form input[type="email"]:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.soon-form .btn { min-height: 54px; white-space: nowrap; }
.soon-form .consent { margin-top: var(--s1); }
.linkbtn { background: none; border: 0; padding: 0; margin-top: var(--s2); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }

/* Which guide is for me? */
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pick {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "level price" "body body"; gap: 6px var(--s2); align-items: center;
  padding: var(--s2) 18px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); text-decoration: none; transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.pick:hover { border-color: var(--green); }
.pick-main { border-color: rgba(0, 229, 160, .55); background: linear-gradient(90deg, rgba(0, 229, 160, .08), rgba(0, 229, 160, 0) 70%), var(--surface); }
.pick-level { grid-area: level; justify-self: start; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.pick-body { grid-area: body; display: block; }
.pick-name { display: block; font-size: 1.08rem; line-height: 1.3; }
.pick-line { display: block; color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 2px; }
.pick-price { grid-area: price; font-weight: 800; white-space: nowrap; }
.pick-soon { color: var(--warn); font-weight: 600; font-size: .9rem; }
.choose .lede { margin-bottom: var(--s4); }

@media (min-width: 640px) {
  .soon-row { flex-direction: row; }
  .pick { grid-template-columns: 7.5rem 1fr auto; grid-template-areas: "level body price"; padding: 18px var(--s3); }
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "top top" "copy shop" "panels shop";
    column-gap: var(--s5); row-gap: var(--s4); align-items: start;
  }
  .hero-top { grid-area: top; }
  .hero-copy { grid-area: copy; }
  .shop { grid-area: shop; align-self: start; --bw: 270px; }
  html.js .shelf-stage { margin: 0 calc(var(--s4) * -1) 0 calc(var(--s5) * -1); }
  .panels { grid-area: panels; }
  .hero { padding: var(--s5) 0 var(--s6); }
  .hero h1 { font-size: clamp(2.4rem, 1rem + 2.5vw, 3.25rem); max-width: 17ch; }
}
@media (min-width: 1200px) {
  .shop { --bw: 315px; }
}
@media (prefers-reduced-motion: reduce) {
  /* Covers switch in place: no rotation and no travel (the global rule above already removes transitions). */
  html.js .shelf-item[data-pos="0"]  { transform: none; }
  html.js .shelf-item[data-pos="1"]  { transform: translateX(calc(var(--bw) * .74)) scale(.8); }
  html.js .shelf-item[data-pos="-1"] { transform: translateX(calc(var(--bw) * -.74)) scale(.8); }
  html.js .shelf-item[data-pos="2"]  { transform: translateX(calc(var(--bw) * 1.3)) scale(.64); }
  html.js .shelf-item[data-pos="-2"] { transform: translateX(calc(var(--bw) * -1.3)) scale(.64); }
  html.js .book-pages, html.js .book-spine { display: none; }
}

/* ---------- Lock It Down With AI: the real beginner product ---------- */
.panel-honest { color: var(--text); font-weight: 600; }
.noit.needs { border-color: var(--line-2); background: rgba(20, 27, 38, .7); }
.noit.needs .i { color: var(--soft); }
.parts-areas { margin-bottom: var(--s3); }
.parts-areas .part h3 { font-size: 1.2rem; }
.parts-areas .part-note { margin-bottom: 0; }
.inside-comes { color: var(--soft); font-weight: 600; margin: 0 0 var(--s6); }
.prompt-note { margin: 0; padding: 0 18px 12px; font-size: .85rem; color: var(--muted); }
.buy-honest { text-align: center; color: var(--soft); max-width: 34ch; margin: calc(var(--s2) * -1) auto var(--s4); font-size: .95rem; }
.needs-line { color: var(--soft); font-size: .92rem; margin: 0 0 var(--s3); padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; }
@media (min-width: 960px) {
  .parts-areas { grid-template-columns: repeat(3, 1fr); }
  .parts-areas .part { padding: var(--s4) var(--s3); }
}
.panel .cta-row + .noit.needs { margin-top: var(--s3); }
.parts-areas .part { padding: var(--s3); }
