/* =====================================================================
   Fatewave — shared design system (Warm Editorial Light)
   Ivory canvas, ink type, restrained plum accent, generous whitespace.
   Dark objects (device mockups, CTA, footer) anchor the light page and
   make the app's dark tarot screenshots pop.
   Used by the landing page and every SEO / GEO content page.
   ===================================================================== */

:root {
  color-scheme: light;

  /* Paper / surfaces */
  --paper: #f4eee2;          /* page background, ivory */
  --paper-raise: #fbf8f0;    /* lifted cards / inputs */
  --paper-sink: #ece4d4;     /* subtle alternating bands */
  --ink-panel: #1c1814;      /* dark anchor panels (cta, footer, device) */

  /* Ink / text */
  --ink: #1b1612;            /* headings, strong */
  --prose-text: #2d2620;     /* long-form body copy (high contrast) */
  --ink-muted: #6c6052;      /* secondary text */
  --ink-faint: #978a78;      /* meta, captions */
  --paper-text: #f2ebdd;     /* text on dark panels */
  --paper-text-soft: rgba(242, 235, 221, 0.74);

  /* Lines */
  --line: rgba(27, 22, 18, 0.12);
  --line-strong: rgba(27, 22, 18, 0.22);
  --line-on-dark: rgba(242, 235, 221, 0.16);

  /* Accent — muted plum, used sparingly */
  --accent: #6e4a57;
  --accent-deep: #4d3340;
  --accent-bright: #8a5e6d;
  --accent-soft: rgba(110, 74, 87, 0.10);
  --rose: #a86f78;           /* dusty rose for small accents on dark */
  --gold: #b08a52;

  /* Shadows (warm, soft) */
  --shadow: rgba(46, 34, 22, 0.18);
  --shadow-soft: rgba(46, 34, 22, 0.10);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --script: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Rhythm */
  --shell: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(110, 74, 87, 0.07), transparent 60%),
    radial-gradient(900px 560px at 4% 2%, rgba(176, 138, 82, 0.05), transparent 58%),
    linear-gradient(180deg, #f7f2e9 0%, #f3ecdf 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* faint paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(circle at 50% 50%, rgba(27, 22, 18, 0.015) 0.5px, transparent 0.6px);
  background-size: 4px 4px;
}

main, header, footer { position: relative; z-index: 1; }

a { color: inherit; }

img, picture, video, svg { display: block; max-width: 100%; height: auto; }

button, input, textarea { font: inherit; }
button { cursor: pointer; }

::selection { background: rgba(110, 74, 87, 0.22); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-shell {
  width: min(100%, var(--shell));
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 10px 0;
  font-weight: 800;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------------- Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 238, 226, 0.78);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
}

.topbar-inner {
  width: min(100%, var(--shell));
  min-height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16050d;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(27, 22, 18, 0.12), 0 6px 16px rgba(46, 34, 22, 0.18);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name { display: grid; gap: 1px; }
.brand-name strong { font-family: var(--display); font-size: 18px; letter-spacing: 0.04em; color: var(--ink); }
.brand-name span { color: var(--ink-muted); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 22px; color: var(--ink-muted); font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; position: relative; transition: color 0.2s var(--ease); }
.nav-links a:not(.mini-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.mini-cta):hover { color: var(--ink); }
.nav-links a:not(.mini-cta):hover::after { transform: scaleX(1); }

/* ----------------------------------------------------------------- Buttons */
.mini-cta,
.primary-button,
.secondary-button,
.submit-button {
  min-height: 48px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.mini-cta {
  min-height: 40px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 6px 16px rgba(46, 34, 22, 0.18);
}
.mini-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(46, 34, 22, 0.24); }

.primary-button,
.submit-button {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: linear-gradient(180deg, #2a231d, #161210);
  box-shadow: 0 14px 30px rgba(46, 34, 22, 0.24);
}
.primary-button:hover,
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(46, 34, 22, 0.30); }
.primary-button::after,
.submit-button::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 248, 235, 0.22), transparent);
  transform: skewX(-18deg);
}
.primary-button:hover::after,
.submit-button:hover::after { animation: shimmer 0.9s var(--ease-out); }
@keyframes shimmer { to { left: 140%; } }

.secondary-button {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.secondary-button:hover { transform: translateY(-2px); background: var(--accent-soft); border-color: var(--accent); color: var(--accent-deep); }

/* ----------------------------------------------------------------- Premium device mockup
   A real dark handset on the ivory canvas: graphite bezel, dark screen,
   soft warm drop shadow. The colorful app screenshot is the hero. */
.device {
  --bezel: 9px;
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  border-radius: 46px;
  padding: var(--bezel);
  background: linear-gradient(150deg, #46403a 0%, #221d19 34%, #110d0b 66%, #322b25 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 245, 230, 0.22),
    inset 0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 -2px 3px rgba(0, 0, 0, 0.7),
    0 2px 5px rgba(46, 34, 22, 0.22),
    0 44px 80px -30px rgba(46, 34, 22, 0.5),
    0 14px 36px -24px rgba(46, 34, 22, 0.4);
  isolation: isolate;
}
.device::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 245, 230, 0.4), transparent 40%, transparent 60%, rgba(255, 245, 230, 0.14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 4;
}
.device::after {
  content: "";
  position: absolute;
  inset: -8% -6% 2%;
  z-index: -1;
  background: radial-gradient(50% 46% at 50% 60%, rgba(46, 34, 22, 0.16), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}

.device-screen {
  position: relative;
  border-radius: 37px;
  overflow: hidden;
  background: #050307;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.9);
  aspect-ratio: 390 / 844;
}
.device-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.device-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 16%, transparent 34%, transparent 66%, rgba(255, 255, 255, 0.05) 100%);
  mix-blend-mode: screen;
}

.device-btn { position: absolute; right: -2px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, #4a423b, #161210); }
.device-btn.power { top: 27%; height: 64px; }
.device-vol { position: absolute; left: -2px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, #4a423b, #161210); }
.device-vol.up { top: 23%; height: 42px; }
.device-vol.down { top: 33%; height: 42px; }

.device-reflect { position: relative; }
.device-reflect .device-mirror {
  position: absolute; left: 50%; bottom: 0;
  width: min(100%, 300px);
  transform: translate(-50%, 99%) scaleY(-1);
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 46%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 46%);
  pointer-events: none;
}

/* ----------------------------------------------------------------- Hero */
.hero-wrap { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 88% 8%, rgba(110, 74, 87, 0.08), transparent 60%);
  pointer-events: none;
}

.hero {
  min-height: min(660px, calc(100svh - 68px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 6vw, 60px);
  position: relative;
  z-index: 2;
}

.hero-copy { max-width: 740px; }

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; letter-spacing: 0; color: var(--ink); }

h1 {
  max-width: 800px;
  font-family: var(--serif);
  font-size: clamp(52px, 6.8vw, 92px);
  line-height: 0.94;
  font-weight: 700;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

.lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-lines { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.hero-lines span,
.signal-pill,
.context-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--paper-raise);
  font-size: 14px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.hero-note { max-width: 560px; margin: 20px 0 0; color: var(--ink-muted); font-size: 13px; line-height: 1.55; }

.hero-preview { justify-self: center; width: min(100%, 300px); margin: 0; }
.hero-caption { margin: 26px 0 0; color: var(--ink-muted); font-size: 13px; line-height: 1.5; text-align: center; }

.phone-peek { display: none; }

.next-glimpse {
  min-height: 72px;
  display: flex; align-items: center; gap: 18px;
  color: var(--ink-faint);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; z-index: 2;
}
.next-glimpse span { width: 56px; height: 1px; background: var(--line-strong); }

/* ----------------------------------------------------------------- Bands */
section { scroll-margin-top: 88px; }
.band { position: relative; border-bottom: 1px solid var(--line); padding: clamp(58px, 8vw, 96px) 0; }
.band.soft { background: var(--paper-sink); }

.section-heading { display: grid; gap: 14px; max-width: 760px; }
.section-heading.center { margin: 0 auto; text-align: center; }
.section-heading p { margin: 0; color: var(--ink-muted); font-size: 18px; line-height: 1.55; text-wrap: pretty; }

h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.0; font-weight: 700; text-wrap: balance; letter-spacing: -0.01em; }
h3 { font-family: var(--serif); font-weight: 700; text-wrap: balance; }

/* Flow strip */
.flow-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 44px; }
.flow-step { display: grid; gap: 18px; }
.flow-step .device { width: min(100%, 268px); }
.flow-cap { display: grid; gap: 6px; text-align: center; padding: 0 6px; }
.flow-cap strong { color: var(--accent); font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase; }
.flow-cap span { color: var(--ink-muted); line-height: 1.5; }

/* legacy screen-card */
.screen-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-raise); box-shadow: 0 18px 44px var(--shadow-soft); }
.screen-card img { width: 100%; aspect-ratio: 390 / 844; max-height: 420px; object-fit: cover; object-position: top center; }
.screen-card figcaption { min-height: 126px; display: grid; gap: 6px; padding: 18px; background: var(--paper-raise); }
.screen-card strong { color: var(--accent); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.screen-card span { color: var(--ink-muted); line-height: 1.45; }

/* Sample read */
.sample-layout { display: grid; grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 76px); align-items: center; margin-top: 46px; }
.read-copy { display: grid; gap: 18px; }
.read-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(26px, 5vw, 46px);
  color: var(--ink);
  background: var(--paper-raise);
  box-shadow: 0 24px 56px var(--shadow-soft);
}
.read-card .label { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.10em; text-transform: uppercase; }
.read-card h3 { max-width: 700px; color: var(--ink); font-size: clamp(34px, 5vw, 54px); line-height: 1.0; }
.read-card p { margin: 18px 0 0; color: var(--prose-text); font-size: 18px; line-height: 1.6; }

.clarity-row { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: center; margin-top: 26px; }
.clarity-score {
  min-height: 128px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--ink);
  background: radial-gradient(circle, rgba(110, 74, 87, 0.10), transparent 50%), var(--paper);
  box-shadow: inset 0 0 0 6px rgba(110, 74, 87, 0.06);
}
.clarity-score strong { font-family: var(--serif); font-size: 48px; line-height: 0.8; color: var(--accent-deep); }
.clarity-score span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.clarity-row p { margin: 0; color: var(--prose-text); }

/* Waitlist */
.waitlist-prompts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.question-chip {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--paper-raise);
  text-align: left;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.05;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.question-chip:hover,
.question-chip.selected { transform: translateY(-1px); border-color: var(--accent); background: var(--accent-soft); }

.waitlist-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(26px, 5vw, 50px);
  background: var(--paper-raise);
  box-shadow: 0 28px 70px var(--shadow-soft);
}
.waitlist-copy h2 { max-width: 580px; }
.waitlist-copy p { max-width: 560px; margin: 18px 0 0; color: var(--ink-muted); font-size: 18px; line-height: 1.55; }
.signal-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.waitlist-form { display: grid; gap: 12px; }
.field { display: grid; gap: 7px; }
.field label { color: var(--ink); font-size: 13px; font-weight: 700; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--paper);
  outline: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus,
.field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.submit-button { width: 100%; margin-top: 4px; }
.submit-button:disabled { opacity: 0.7; cursor: wait; }
.form-note, .form-status { margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 1.45; }
.form-status.success { color: #4a7c54; }
.form-status.error { color: #a23b4a; }

/* Memory */
.memory-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(28px, 6vw, 68px); align-items: center; margin-top: 46px; }
.memory-list { display: grid; gap: 14px; }
.memory-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  background: var(--paper-raise);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.memory-item:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 36px var(--shadow-soft); }
.memory-item h3 { font-size: 31px; line-height: 1; }
.memory-item p { margin: 10px 0 0; color: var(--ink-muted); line-height: 1.55; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--paper-raise);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 36px var(--shadow-soft); }
.faq-item h3 { font-size: 29px; line-height: 1.02; }
.faq-item p { margin: 12px 0 0; color: var(--ink-muted); line-height: 1.55; }

/* ----------------------------------------------------------------- Footer (dark anchor) */
.footer { background: var(--ink-panel); color: var(--paper-text-soft); padding: 44px 0 48px; }
.footer .site-shell { color: inherit; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap;
  padding-bottom: 26px; margin-bottom: 24px; border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand { display: grid; gap: 12px; max-width: 360px; }
.footer-brand .brand { pointer-events: none; }
.footer .brand-name strong { color: var(--paper-text); }
.footer .brand-name span { color: var(--paper-text-soft); }
.footer-tag { color: var(--paper-text-soft); line-height: 1.55; }

.social-row { display: flex; align-items: center; gap: 12px; }
.social-link {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-on-dark);
  border-radius: 12px;
  color: var(--paper-text-soft);
  background: rgba(242, 235, 221, 0.04);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.social-link svg { width: 19px; height: 19px; fill: currentColor; }
.social-link:hover { transform: translateY(-2px); color: #fff; border-color: rgba(242, 235, 221, 0.4); background: rgba(242, 235, 221, 0.10); }

.footer-inner { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.footer-inner p { max-width: 760px; margin: 0; line-height: 1.55; color: var(--paper-text-soft); }
.footer-links { min-width: fit-content; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 14px; }
.footer-links a { color: var(--paper-text-soft); text-decoration: none; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--paper-text); }

/* ----------------------------------------------------------------- Content / article pages */
.page-hero { position: relative; border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(30px, 4vw, 44px); overflow: hidden; }
.page-hero.soft { background: radial-gradient(700px 380px at 84% -10%, rgba(110, 74, 87, 0.09), transparent 56%), var(--paper-sink); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; padding: 0; list-style: none; color: var(--ink-faint); font-size: 12.5px; letter-spacing: 0.04em; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--ink); }

.page-hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.0; max-width: 16ch; letter-spacing: -0.015em; }
.page-hero .lede { margin-top: 20px; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 312px); gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(40px, 6vw, 72px) 0; }
.prose { max-width: 66ch; font-size: 18.5px; }
.prose > * + * { margin-top: 1.35em; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  margin-top: 2.4em;
  padding-top: 1.3em;
  border-top: 1px solid var(--line);
  font-size: clamp(25px, 2.9vw, 33px);
  line-height: 1.14;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.prose h3 { margin-top: 1.9em; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.22; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose p { color: var(--prose-text); font-size: 1em; line-height: 1.74; text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(110, 74, 87, 0.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; color: var(--prose-text); font-size: 1em; line-height: 1.7; }
.prose li { padding-left: 0.2em; }
.prose li + li { margin-top: 0.55em; }
.prose ul li::marker { color: var(--accent); }
.prose ol li::marker { color: var(--accent); font-weight: 700; }

.answer {
  position: relative;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 22px 24px;
  background: var(--paper-raise);
  box-shadow: 0 12px 30px var(--shadow-soft);
}
.answer .answer-tag { display: block; margin-bottom: 8px; color: var(--accent); font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.answer p { margin: 0; color: var(--ink); font-size: 19px; line-height: 1.6; }

.boundary {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 18px 20px;
  background: rgba(110, 74, 87, 0.04);
  color: var(--ink-muted);
  font-size: 15.5px; line-height: 1.55;
}
.boundary svg { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.boundary strong { color: var(--ink); }

.aside { position: sticky; top: 92px; display: grid; gap: 22px; }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: var(--paper-raise); }
.toc strong { display: block; margin-bottom: 12px; color: var(--accent); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 9px; color: var(--ink-muted); font-size: 14.5px; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--ink); }

.bridge {
  display: grid; grid-template-columns: 168px 1fr; gap: 22px; align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: var(--paper-raise);
  box-shadow: 0 22px 52px var(--shadow-soft);
}
.bridge .device { --bezel: 7px; width: 100%; border-radius: 34px; }
.bridge .device-screen { border-radius: 27px; }
.bridge-copy { display: grid; gap: 12px; }
.bridge-copy .eyebrow { margin-bottom: 4px; }
.bridge-copy h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.06; }
.bridge-copy p { margin: 0; color: var(--ink-muted); font-size: 16px; line-height: 1.55; }
.bridge-copy .primary-button { width: fit-content; margin-top: 4px; }

.related { border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 72px) 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 16px; margin-top: 28px; }
.related-card {
  display: grid; gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: var(--paper-raise);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.related-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 38px var(--shadow-soft); }
.related-card strong { font-family: var(--serif); font-size: 23px; line-height: 1.06; }
.related-card span { color: var(--ink-muted); font-size: 14.5px; line-height: 1.5; }
.related-card .arrow { color: var(--accent); font-size: 13px; letter-spacing: 0.06em; }

/* final CTA band — dark anchor */
.cta-band { border-top: 1px solid var(--line); }
.cta-card {
  display: grid; gap: 16px; justify-items: center; text-align: center;
  border-radius: 22px;
  padding: clamp(36px, 6vw, 64px);
  margin: clamp(44px, 6vw, 72px) 0;
  background: linear-gradient(165deg, #241e19, #14110e);
  box-shadow: 0 30px 70px var(--shadow);
  color: var(--paper-text);
}
.cta-card h2 { max-width: 18ch; color: var(--paper-text); }
.cta-card p { max-width: 56ch; margin: 0; color: var(--paper-text-soft); font-size: 18px; line-height: 1.55; }
.cta-card .eyebrow { color: var(--gold); border-color: rgba(176, 138, 82, 0.3); background: rgba(176, 138, 82, 0.12); }
.cta-card .primary-button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-card .primary-button::after { background: linear-gradient(100deg, transparent, rgba(27, 22, 18, 0.12), transparent); }

/* ----------------------------------------------------------------- Daily bond reading showcase */
.bond-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: stretch; }
.bond-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper-raise);
  box-shadow: 0 22px 54px var(--shadow-soft);
}
.bond-panel .kicker { display: block; margin-bottom: 14px; color: var(--accent); font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.weather-verdict { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 0.98; color: var(--ink); }
.weather-sub { margin: 12px 0 0; color: var(--ink-muted); font-size: 16px; line-height: 1.5; }
.gauge { margin-top: 26px; }
.gauge-head { display: flex; align-items: baseline; gap: 12px; }
.gauge-score { font-family: var(--serif); font-size: 46px; line-height: 0.8; color: var(--accent-deep); }
.gauge-label { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.gauge-track { position: relative; height: 4px; margin: 24px 0 0; border-radius: 999px; background: linear-gradient(90deg, rgba(27, 22, 18, 0.12), var(--accent)); }
.gauge-pointer {
  position: absolute; top: 50%; width: 18px; height: 18px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  border: 1px solid var(--paper);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(46, 34, 22, 0.3);
}
.gauge-ticks { position: relative; height: 36px; margin-top: 14px; }
.gauge-tick { position: absolute; transform: translateX(-50%); }
.gauge-tick b { display: block; color: var(--ink); font-size: 13px; font-weight: 700; }
.gauge-tick span { color: var(--ink-faint); font-size: 11px; letter-spacing: 0.03em; }
.gauge-note { margin: 18px 0 0; color: var(--ink-muted); font-size: 13.5px; line-height: 1.55; }
.gauge-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.gauge-note a:hover { color: var(--accent-deep); }
.pull-layout { display: grid; grid-template-columns: 152px 1fr; gap: 22px; align-items: center; }
.pull-art { border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px var(--shadow); }
.pull-art img { width: 100%; display: block; }
.pull-name { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1; color: var(--ink); }
.pull-orient { margin: 8px 0 0; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pull-read { margin: 15px 0 0; color: var(--prose-text); font-size: 16px; line-height: 1.55; font-style: italic; }
.pull-foot { margin: 14px 0 0; color: var(--ink-muted); font-size: 13px; line-height: 1.5; }

/* ----------------------------------------------------------------- Scroll reveal motion */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); will-change: opacity, transform; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ----------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; align-items: start; padding-top: 38px; min-height: auto; }
  .hero-copy { width: min(100%, 720px); }
  .hero-preview { display: none; }
  .flow-strip { gap: 18px; }
  .sample-layout, .memory-layout, .waitlist-panel, .article { grid-template-columns: 1fr; }
  .memory-layout .device { order: -1; width: min(100%, 300px); }
  .aside { position: static; }
  .toc { display: none; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (min-width: 961px) and (max-width: 1300px) {
  .hero { min-height: min(640px, calc(100svh - 68px)); padding-top: 44px; }
  h1 { font-size: clamp(56px, 7vw, 88px); }
  .lede { margin-top: 18px; font-size: 20px; }
}

@media (max-width: 680px) {
  .site-shell, .topbar-inner { padding-left: 16px; padding-right: 16px; }
  .topbar-inner { min-height: 64px; }
  .nav-links a:not(.mini-cta) { display: none; }
  .brand-name strong { font-size: 16px; }
  .hero { min-height: auto; padding-top: 30px; }
  h1 { font-size: clamp(40px, 11.4vw, 56px); overflow-wrap: anywhere; }
  .lede { margin-top: 18px; font-size: 16px; }
  .hero-lines { display: none; }
  .hero-actions { align-items: stretch; margin-top: 18px; }
  .primary-button, .secondary-button { width: 100%; }
  .phone-peek {
    display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; margin-top: 16px;
    border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper-raise);
  }
  .phone-peek img { width: 72px; height: 92px; object-fit: cover; object-position: top center; }
  .phone-peek span { padding-right: 14px; color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.08; }
  .flow-strip { grid-template-columns: 1fr; gap: 22px; }
  .flow-step .device { width: min(100%, 280px); }
  .waitlist-prompts, .faq-grid { grid-template-columns: 1fr; }
  .clarity-row { grid-template-columns: 1fr; }
  .clarity-score { width: 128px; }
  .bridge { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .bridge .device { width: min(60%, 180px); }
  .bridge-copy .primary-button { margin: 4px auto 0; }
  .footer-inner { display: grid; }
  .footer-links { justify-content: flex-start; }
  .footer-top { flex-direction: column; }
  .bond-grid { grid-template-columns: 1fr; }
  .pull-layout { grid-template-columns: 116px 1fr; gap: 16px; }
}
@media (max-width: 820px) {
  .bond-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .primary-button::after, .submit-button::after { display: none; }
}
