/* ============================================================
   Hastara — marketing site
   Dark cosmic palette, Poppins type, amethyst accent, brass premium.
   ============================================================ */

/* Self-hosted Poppins (latin) — no third-party font CDN, so visitor
   IPs never leave for a font request. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/poppins-700.woff2") format("woff2");
}

:root {
  /* Base surfaces */
  --bg: #0f0a1f;
  --bg-2: #130d24;
  --surface: #1a1230;
  --ink: #f5f1ea;
  --muted: #9b8fb5;
  --border: #2d1f45;

  /* Brand accent — amethyst */
  --accent: #a589d9;
  --accent-soft: rgba(165, 137, 217, 0.16);
  --accent-ring: rgba(165, 137, 217, 0.4);
  --ink-on: #1f1a2e;

  /* Brass — the “premium moment” signal */
  --brass: #e2b279;

  /* Per-domain semantic hues (match ReadingHub / sample preview) */
  --love: #d4697a;
  --career: #7b8db8;
  --health: #6ba58e;
  --wealth: #c4a265;

  --radius-card: 22px;
  --radius-lg: 18px;
  --radius-sm: 12px;
  --maxw: 1080px;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;

  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Cosmic background ---------- */
/* Fixed starfield + a soft amethyst aurora at the top, echoing the
   app's StardustOverlay + HeroWash. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      900px 520px at 50% -8%,
      rgba(165, 137, 217, 0.22),
      transparent 60%
    ),
    radial-gradient(
      700px 500px at 85% 8%,
      rgba(226, 178, 121, 0.08),
      transparent 55%
    ),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(245, 241, 234, 0.5), transparent),
    radial-gradient(1.2px 1.2px at 70% 20%, rgba(245, 241, 234, 0.4), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(245, 241, 234, 0.35), transparent),
    radial-gradient(1.6px 1.6px at 88% 60%, rgba(245, 241, 234, 0.45), transparent),
    radial-gradient(1px 1px at 12% 80%, rgba(245, 241, 234, 0.3), transparent),
    radial-gradient(1.3px 1.3px at 60% 85%, rgba(245, 241, 234, 0.32), transparent),
    radial-gradient(1px 1px at 33% 12%, rgba(245, 241, 234, 0.3), transparent);
  background-repeat: no-repeat;
  opacity: 0.7;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  position: relative;
  padding-block: 88px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 40px);
  margin-top: 12px;
}
.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 10, 31, 0.66);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand .mark {
  width: 30px;
  height: 30px;
}
.brand b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a:not(.btn) {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:not(.btn):hover {
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 22px;
  transition: transform 0.12s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--ink);
  color: var(--ink-on);
}
.btn-primary:hover {
  box-shadow: 0 8px 26px rgba(245, 241, 234, 0.18);
}
.btn-ghost {
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent-ring);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

/* App Store badge button */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--ink-on);
  border-radius: 14px;
  padding: 11px 20px 11px 18px;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.appstore:hover {
  box-shadow: 0 10px 30px rgba(245, 241, 234, 0.16);
}
.appstore:active {
  transform: scale(0.98);
}
.appstore svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.appstore .as-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.appstore .as-copy small {
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.appstore .as-copy span {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 64px;
  padding-bottom: 56px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  background: rgba(245, 241, 234, 0.04);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero-badge .dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  letter-spacing: -0.04em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--brass));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
  max-width: 30ch;
}
.hero .cta-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .reassure {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero .reassure svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ---------- Phone mockup ---------- */
.phone-stage {
  display: grid;
  place-items: center;
  position: relative;
}
.phone-stage::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(165, 137, 217, 0.35),
    transparent 65%
  );
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 290px;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #2a2140, #15101f);
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(245, 241, 234, 0.06);
}
.phone-screen {
  position: relative;
  border-radius: 33px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 9 / 19.3;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #0a0715;
  border-radius: 14px;
  z-index: 3;
}

/* mini reading card recreated from the app */
.screen-eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-top: 18px;
}
.screen-title {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  margin-top: 6px;
}
.screen-hand {
  margin: 14px auto 6px;
  width: 130px;
  color: var(--ink);
  opacity: 0.92;
}
.screen-handtype {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.screen-traits {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
}
.screen-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.screen-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 11px;
}
.screen-tile .st-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.screen-tile .st-tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 600;
}
.screen-tile .st-sub {
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 1px;
}
.screen-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 241, 234, 0.14);
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Logos / trust strip ---------- */
.trust {
  padding-block: 28px;
}
.trust .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
}
.trust .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.03);
}
.trust .chip svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* ---------- Feature: domains ---------- */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.domain {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.domain:hover {
  transform: translateY(-4px);
  border-color: var(--accent-ring);
}
.domain .icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.domain h3 {
  font-size: 17px;
}
.domain p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Feature rows (alternating) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature + .feature {
  margin-top: 96px;
}
.feature.reverse .feature-media {
  order: 2;
}
.feature-copy h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  margin-top: 12px;
}
.feature-copy p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16.5px;
}
.feature-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.feature-list .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* generic card used inside feature media */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.media-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* featured signal tile (Love) with soft wash — mirrors the app fix */
.signal {
  position: relative;
  overflow: hidden;
}
.signal::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(212, 105, 122, 0.16));
  pointer-events: none;
}
.signal .row {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.signal .icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(212, 105, 122, 0.18);
  color: var(--love);
}
.signal .lab small {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--love);
}
.signal .lab b {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.signal p {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink);
  position: relative;
}

/* deep-dive mini cards */
.dive {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 16px;
}
.dive .icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.dive b {
  font-size: 14.5px;
  font-weight: 600;
}
.dive small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 1px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.step .num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 18px;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Privacy band ---------- */
.privacy-band .inner {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(
    160deg,
    rgba(165, 137, 217, 0.1),
    rgba(26, 18, 48, 0.4)
  );
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.privacy-points .pp {
  display: flex;
  gap: 14px;
}
.privacy-points .pp .icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(245, 241, 234, 0.05);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.privacy-points .pp b {
  font-size: 15.5px;
}
.privacy-points .pp p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .plus {
  flex: none;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq details[open] summary .plus {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Final CTA ---------- */
.final {
  text-align: center;
}
.final h2 {
  font-size: clamp(30px, 5vw, 48px);
}
.final p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}
.final .cta-row {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding-block: 40px 56px;
  margin-top: 40px;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
footer .brand b {
  font-size: 15px;
}
footer .legal-note {
  color: var(--muted);
  font-size: 12.5px;
  max-width: 460px;
}
footer .copy {
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal-main {
  max-width: 760px;
  margin-inline: auto;
  padding: 56px 24px 96px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.legal-back:hover {
  color: var(--ink);
}
.legal-main h1 {
  font-size: clamp(30px, 5vw, 40px);
}
.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-toc {
  margin: 28px 0 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.legal-toc b {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-toc ol {
  margin: 12px 0 0 18px;
  columns: 2;
  gap: 24px;
}
.legal-toc a {
  color: var(--accent);
  font-size: 14px;
  line-height: 1.9;
}
.legal-toc a:hover {
  text-decoration: underline;
}
.legal-main h2 {
  font-size: 21px;
  margin-top: 40px;
  scroll-margin-top: 24px;
}
.legal-main h3 {
  font-size: 16.5px;
  margin-top: 24px;
}
.legal-main p,
.legal-main li {
  color: #d8d1e4;
  font-size: 15.5px;
  line-height: 1.7;
  margin-top: 14px;
}
.legal-main ul,
.legal-main ol.body {
  margin-top: 12px;
  padding-left: 22px;
}
.legal-main li {
  margin-top: 8px;
}
.legal-main strong {
  color: var(--ink);
}
.legal-main a.inline {
  color: var(--accent);
  text-decoration: underline;
}
.callout {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 16px 20px;
}
.callout p {
  margin-top: 0;
  color: var(--ink);
  font-size: 14.5px;
}
.legal-foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}
.legal-foot a {
  color: var(--accent);
}
.legal-foot a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p.lede {
    margin-inline: auto;
  }
  .hero .cta-row,
  .hero .reassure {
    justify-content: center;
  }
  .hero-media {
    order: -1;
  }
  .feature,
  .privacy-band .inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature.reverse .feature-media {
    order: 0;
  }
  .domain-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .privacy-band .inner {
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  section {
    padding-block: 64px;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .legal-toc ol {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:active,
  .appstore:active {
    transform: none;
  }
}

/* ============================================================
   Sample report page (sample.html)
   ============================================================ */
.report-hero {
  text-align: center;
  padding: 56px 0 28px;
}
.report-hand {
  width: 132px;
  margin: 20px auto 14px;
}
.report-headline {
  font-size: clamp(28px, 4.6vw, 42px);
  max-width: 16ch;
  margin: 8px auto 0;
}
.report-sub {
  max-width: 52ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-style: italic;
  font-size: 17px;
}
.report-traits {
  margin-top: 16px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.report-disclaimer {
  margin: 18px auto 0;
  max-width: 46ch;
  font-size: 13px;
  color: var(--muted);
}

/* sticky TOC under the nav */
.report-toc-bar {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(15, 10, 31, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.report-toc {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 24px;
  scrollbar-width: none;
}
.report-toc::-webkit-scrollbar {
  display: none;
}
.report-toc a {
  flex: none;
  font-size: 13px;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.report-toc a:hover {
  color: var(--ink);
}
.report-toc a.active {
  color: var(--ink);
  background: var(--accent-soft);
  border-color: var(--accent-ring);
}

.report-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 130px;
}
.report-section .section-head {
  margin-bottom: 28px;
}

/* prose cards */
.read-card p {
  color: #d8d1e4;
  font-size: 15.5px;
  line-height: 1.7;
}
.read-card p + p {
  margin-top: 14px;
}
.mini-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.read-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.read-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: #d8d1e4;
  line-height: 1.55;
}
.read-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}
.read-list.accent li::before {
  background: var(--c, var(--accent));
}

/* lines */
.line-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.line-card p {
  margin-top: 12px;
}
.line-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.line-head b {
  font-size: 17px;
  font-weight: 600;
}
.line-sub {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.pill-row {
  margin-top: 10px;
  display: flex;
  gap: 6px;
}
.pill {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 10px;
}
.chip-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip-sm {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
}

/* mounts */
.mount-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mount-card p {
  margin-top: 10px;
  color: #d8d1e4;
  font-size: 14.5px;
  line-height: 1.65;
}

/* shape */
.shape-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.fact {
  flex: 1 1 auto;
  min-width: 96px;
  background: rgba(245, 241, 234, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.fact small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact b {
  font-size: 16px;
  font-weight: 600;
  margin-top: 2px;
  display: block;
}

/* domains */
.domain-read-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.domain-read-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.domain-read-head .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.domain-read .read-list {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* deep dives */
.dive-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 28px;
  margin-bottom: 18px;
}
.dive-block + .dive-block {
  margin-top: 0;
}
.dive-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.dive-title .bar {
  flex: none;
  width: 4px;
  align-self: stretch;
  min-height: 38px;
  border-radius: 2px;
  background: var(--c, var(--accent));
}
.dive-title h3 {
  font-size: 22px;
}
.dive-title em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}
.dive-sec {
  margin-top: 22px;
}
.dive-sec h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.dive-sec p {
  color: #d8d1e4;
  font-size: 15px;
  line-height: 1.7;
}
.dive-sec p + p {
  margin-top: 12px;
}
.dive-actions {
  margin-top: 26px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--c, var(--accent));
  background: rgba(245, 241, 234, 0.03);
  border-radius: 12px;
  padding: 18px 20px;
}
.dive-actions .mini-label {
  color: var(--c, var(--accent));
}
.dive-actions ul {
  list-style: none;
}
.dive-actions li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: #d8d1e4;
  line-height: 1.55;
}
.dive-actions li + li {
  margin-top: 8px;
}
.dive-actions li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--c, var(--accent));
  font-weight: 700;
}

/* chapters */
.age-mark {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.chapter-card {
  margin-bottom: 14px;
}
.chapter-card h3 {
  font-size: 22px;
  margin: 4px 0 12px;
}
.chapter-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.phase-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phase {
  border-left: 2px solid var(--border);
  padding-left: 16px;
}
.phase b {
  font-size: 14px;
}
.phase p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
}
.quarter-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quarter {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.quarter.current {
  border-color: var(--accent-ring);
  background: var(--accent-soft);
}
.q-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.q-top b {
  font-size: 15px;
}
.q-top small {
  color: var(--muted);
  font-size: 12px;
}
.q-theme {
  margin-top: 6px;
  font-weight: 600;
  font-size: 14.5px;
}
.now-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent-ring);
  border-radius: 999px;
  padding: 1px 7px;
  vertical-align: middle;
}
.quarter p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.report-final {
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

@media (max-width: 760px) {
  .line-grid,
  .mount-grid,
  .domain-read-grid,
  .quarter-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .report-toc-bar {
    top: 60px;
  }
  .dive-block {
    padding: 22px 18px;
  }
}
