/* =========================================================================
   SurgiNotes — marketing site
   Design system rebuilt to match the canvas design:
   precise, reassuring, practitioner-built. Calm under pressure.
   ========================================================================= */

:root {
  /* Surfaces */
  --ink: #0B2338;
  --surface-dark: #0F2C46;
  --surface-dark-2: #16395A;
  --paper: #EBF2F7;
  --paper-2: #D9E7F0;
  --card-light: #FFFFFF;

  /* Text on light */
  --text-strong: #0E2A43;
  --text-body: #3B4C5C;
  --text-muted: #6C7C8B;

  /* Text on dark */
  --on-dark-strong: #F1F7FB;
  --on-dark-body: #B0C4D5;
  --on-dark-muted: #7E95A8;

  /* Brand + signal (teal / cyan accent) */
  --brand: #1596B0;
  --brand-deep: #0F7488;
  --brand-soft: #3FB9D2;
  --signal: #1596B0;
  --signal-deep: #0F7488;

  /* Lines */
  --line: #CBDCE7;
  --line-dark: #21486B;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  /* Type */
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 40px 80px -20px rgba(11, 35, 56, 0.42);
  --shadow-md: 0 20px 44px -18px rgba(11, 35, 56, 0.24);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

a { color: var(--brand-deep); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* Reusable kickers / eyebrows ------------------------------------------- */
.kicker,
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.kicker--ondark { color: var(--on-dark-muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
}
.eyebrow .dot,
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); display: inline-block; }

.ondark { color: var(--on-dark-strong); }

/* ---------- Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--signal); color: #fff; box-shadow: 0 10px 24px -10px rgba(21, 150, 176, 0.55); }
.btn-primary:hover { background: var(--signal-deep); }
.btn-outline { background: transparent; color: var(--text-strong); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-ghost { background: rgba(241, 247, 251, 0.08); color: var(--on-dark-strong); border-color: var(--line-dark); }

/* ---------- Store badges ----------------------------------------------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  color: var(--ink);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease);
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge .sb-lines { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge .sb-top { font-size: 11px; font-weight: 500; color: var(--text-muted); }
.store-badge .sb-store { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }

/* ============================ HEADER ==================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-dark);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark-strong); }
.brand-mark {
  width: 34px; height: 34px;
  /* White tile, matching the app icon as it appears on the home screen — the
     shield artwork is navy and teal on transparent, so it needs a light ground
     to read. Both header and footer sit on --ink, so one colour works for both. */
  border-radius: 9px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark-strong);
  flex: none;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { color: var(--on-dark-body); font-weight: 500; font-size: 15px; transition: color 0.2s; }
.site-nav a:hover { color: var(--on-dark-strong); }
.site-nav .btn-primary { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--on-dark-strong); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ HERO ===================================== */
.hero {
  position: relative;
  background: var(--paper);
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% 0 auto 0;
  height: 620px;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(21, 150, 176, 0.20), transparent 70%),
    radial-gradient(40% 60% at 78% 12%, rgba(30, 111, 168, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { margin-bottom: 22px; }
.hero-title {
  font-size: clamp(38px, 6.4vw, 68px);
  letter-spacing: -0.03em;
  max-width: 15ch;
  color: var(--text-strong);
}
.hero-title .accent { color: var(--brand-deep); }
.hero-sub {
  margin-top: 22px;
  max-width: 60ch;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-body);
}
.hero-actions { margin-top: 32px; display: flex; justify-content: center; }
.hero-trust {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg { color: var(--brand); width: 16px; height: 16px; flex: none; }

/* Device cascade */
.hero-devices {
  margin-top: clamp(40px, 6vw, 68px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 1600px;
}
.phone {
  width: 300px;
  border-radius: 42px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-dark);
  flex: none;
  z-index: 2;
}
.phone-screen { background: var(--card-light); border-radius: 33px; overflow: hidden; }
.phone-screen img { width: 100%; height: auto; display: block; }

/* Side phones flanking the hero cascade */
.phone--side { width: 234px; border-radius: 34px; margin-bottom: 52px; z-index: 1; }
.phone--side .phone-screen { border-radius: 26px; }
.phone--left { margin-right: -44px; transform: rotate(-5deg); }
.phone--right { margin-left: -44px; transform: rotate(5deg); }

/* ============================ MARQUEE ================================== */
.marquee {
  background: var(--paper-2);
  padding: 40px 0 44px;
  overflow: hidden;
}
.marquee-cap {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.marquee-track { display: flex; gap: 12px; padding-left: 12px; width: max-content; animation: scroll-left 46s linear infinite; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 54s; }
.marquee-track + .marquee-track { margin-top: 12px; }
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card-light);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 11px 18px;
  white-space: nowrap;
}
.spec-chip b { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--text-strong); letter-spacing: -0.01em; }
.spec-chip span { font-family: var(--font-mono); font-size: 12px; color: var(--brand-deep); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================ WHOLE OR (bento) ========================= */
.whole-or {
  position: relative;
  background:
    radial-gradient(70% 90% at 82% 8%, rgba(21, 150, 176, 0.30), transparent 60%),
    var(--ink);
  padding: clamp(56px, 8vw, 92px) 0;
  overflow: hidden;
}
.whole-or .kicker { margin-bottom: 16px; display: block; }
.whole-or h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -0.03em; max-width: 18ch; }
.bento {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "ref scan spec"
    "ref scan stats"
    "ref scan cta";
  gap: 20px;
}
.bento-tile {
  background: var(--surface-dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 24px;
  color: var(--on-dark-body);
}
.tile-ref { grid-area: ref; display: flex; flex-direction: column; }
.tile-scan { grid-area: scan; background: var(--brand-deep); border-color: transparent; display: flex; flex-direction: column; }
.tile-stats { grid-area: stats; display: flex; gap: 20px; align-items: center; }
.tile-spec { grid-area: spec; display: flex; flex-direction: column; gap: 14px; }
.tile-cta { grid-area: cta; background: var(--signal); border-color: transparent; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.tile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tile-head b { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--on-dark-strong); display: inline-flex; align-items: center; gap: 9px; }
.tile-head b svg { color: var(--brand-soft); }
.tile-head .t-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--on-dark-muted); }

/* Full screenshot inside a bento tile — whole image, never cropped */
.tile-shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-dark); margin-top: 4px; }
.tile-shot img { width: 100%; height: auto; display: block; }

.stat { flex: 1; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; color: var(--on-dark-strong); }
.stat .lab { font-size: 13px; color: var(--on-dark-muted); }

.tile-spec .kicker { color: var(--on-dark-muted); }
.tile-spec h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--on-dark-strong); letter-spacing: -0.02em; }
.spec-wrap { display: flex; flex-wrap: wrap; gap: 9px; }
.spec-mini { padding: 8px 14px; border-radius: 100px; background: var(--surface-dark); border: 1px solid var(--line-dark); font-size: 13.5px; font-weight: 500; color: var(--on-dark-body); }
.spec-mini--more { background: transparent; border-style: dashed; color: var(--on-dark-muted, var(--on-dark-body)); font-weight: 600; }

.tile-cta .cta-t { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; letter-spacing: -0.01em; }
.tile-cta .cta-s { display: block; font-size: 13.5px; color: rgba(255,255,255,0.88); margin-top: 3px; }
.tile-cta .cta-arrow { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--signal-deep); display: flex; align-items: center; justify-content: center; flex: none; transition: transform 0.25s var(--ease); }
.tile-cta:hover .cta-arrow { transform: translateX(4px); }

/* ============================ AI SCANNER =============================== */
.scanner {
  background: var(--surface-dark);
  border-top: 1px solid var(--line-dark);
  padding: clamp(56px, 8vw, 92px) 0;
}
.scanner-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.scanner .kicker { color: var(--on-dark-muted); display: block; margin-bottom: 16px; }
.scanner h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; margin-bottom: 20px; }
.scanner .lede { color: var(--on-dark-body); font-size: 18px; max-width: 52ch; }
.ai-steps { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.ai-step { display: flex; gap: 14px; }
.ai-step .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-dark); background: var(--surface-dark-2); color: var(--brand-soft); font-family: var(--font-mono); font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; font-size: 14px; }
.ai-step b { color: var(--on-dark-strong); font-size: 15px; }
.ai-step p { color: var(--on-dark-body); font-size: 14.5px; }
.ai-note { margin-top: 24px; font-size: 13.5px; color: var(--on-dark-muted); max-width: 56ch; display: flex; gap: 8px; }
.ai-note svg { color: var(--brand-soft); width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* Scanner-section phone (dark screenshot on a dark bg — ring + glow to separate) */
.phone--stage {
  width: min(320px, 78%);
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 0 1px rgba(241,247,251,0.12), 0 30px 80px -24px rgba(0,0,0,0.7);
}
.phone--stage::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  background: radial-gradient(60% 55% at 50% 40%, rgba(21,150,176,0.38), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* ============================ PERSONAL TOOLS ========================== */
.tools {
  background: var(--card-light);
  padding: clamp(56px, 8vw, 92px) 0;
}
.tools .kicker { display: block; margin-bottom: 16px; }
.tools h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; max-width: 20ch; }
.tools .lede { margin-top: 18px; max-width: 60ch; font-size: 18px; color: var(--text-body); }
.tool-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tool-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tool-card .tc-ic { width: 44px; height: 44px; border-radius: var(--r-sm); background: #E2F1F6; color: var(--brand-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tool-card h3 { font-size: 20px; margin-bottom: 8px; }
.tool-card p { font-size: 15px; color: var(--text-body); }
.tool-card .tc-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-card .tc-tags span { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); background: var(--card-light); border: 1px solid var(--line); padding: 4px 10px; border-radius: 100px; }

/* ============================ BOOK ==================================== */
.book { background: var(--paper-2); padding: clamp(56px, 8vw, 92px) 0; }
.book-grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.book-cover-wrap { display: flex; justify-content: center; }
.book-cover {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 6px 12px 12px 6px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.4s var(--ease);
}
.book-cover:hover { transform: rotate(0deg) translateY(-4px); }
.book-badge { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-deep); background: var(--card-light); border: 1px solid var(--line); padding: 6px 12px; border-radius: 100px; margin-bottom: 18px; }
.book h2 { font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; }
.book .lede { margin-top: 18px; max-width: 54ch; font-size: 18px; color: var(--text-body); }
.book .btn { margin-top: 28px; }

/* ============================ PRICING ================================= */
.pricing { background: var(--paper); padding: clamp(64px, 9vw, 110px) 0; text-align: center; }
.pricing .kicker { display: inline-flex; margin-bottom: 16px; }
.pricing h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto; }
.pricing .lede { margin: 18px auto 0; max-width: 52ch; font-size: 18px; color: var(--text-body); }
.plans { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; align-items: start; max-width: 1080px; margin-left: auto; margin-right: auto; }
.plan {
  background: var(--card-light);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.plan.featured { background: var(--surface-dark); border-color: transparent; box-shadow: var(--shadow-lg); }
.plan .p-top { display: flex; flex-direction: column; gap: 12px; }
.plan .p-name-row { display: flex; align-items: center; justify-content: space-between; }
.plan .p-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--text-strong); }
.plan.featured .p-name { color: var(--on-dark-strong); }
.plan .p-badge { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: 0.04em; color: #fff; background: var(--signal); padding: 6px 11px; border-radius: 100px; }
.plan .p-price { display: flex; align-items: flex-end; gap: 6px; }
.plan .p-price .amt { font-family: var(--font-display); font-weight: 800; font-size: 46px; letter-spacing: -0.03em; color: var(--text-strong); }
.plan.featured .p-price .amt { color: var(--on-dark-strong); }
.plan .p-price .per { font-size: 15px; color: var(--text-muted); padding-bottom: 8px; }
.plan.featured .p-price .per { color: var(--on-dark-muted); }
.plan .p-note { font-size: 14px; color: var(--text-body); }
.plan.featured .p-note { color: var(--on-dark-body); }
.plan .p-cta { width: 100%; }
.plan .p-feats { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.plan .p-feats li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text-body); }
.plan.featured .p-feats li { color: var(--on-dark-body); }
.plan .p-feats svg { color: var(--brand); width: 18px; height: 18px; flex: none; margin-top: 1px; }
.plan.featured .p-feats svg { color: var(--brand-soft); }
.pricing .fine { margin: 40px auto 0; max-width: 60ch; font-size: 13px; color: var(--text-muted); }

/* ============================ FOOTER ================================== */
.site-footer { background: var(--ink); color: var(--on-dark-body); padding: 72px 0 34px; margin-top: auto; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.brand--footer { color: var(--on-dark-strong); }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: var(--on-dark-body); }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 3px; }
.footer-col a { color: var(--on-dark-body); font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--on-dark-strong); }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--on-dark-muted); }
.footer-bottom a { color: var(--brand-soft); }

/* ============================ LEGAL / STATIC PAGES ==================== */
.page { flex: 1; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 88px); background: var(--paper); }
.page-head { margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-block; margin-bottom: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--brand-deep); }
.back-link:hover { color: var(--brand); }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; }
.page-head .meta { margin-top: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(20px, 3vw, 25px); margin: 40px 0 12px; color: var(--text-strong); }
.prose h3 { font-size: 18px; margin: 28px 0 10px; color: var(--text-strong); }
.prose p { margin-bottom: 16px; color: var(--text-body); }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; color: var(--text-body); }
.prose a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--brand); }
.prose strong { color: var(--text-strong); font-weight: 600; }

/* ============================ REVEAL ANIMATION ======================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================ RESPONSIVE ============================== */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "ref scan" "spec stats" "cta cta"; }
  .scanner-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
  .book-cover-wrap { order: -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface-dark);
    border-bottom: 1px solid var(--line-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px clamp(20px, 5vw, 64px) 24px;
    box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; font-size: 16px; }
  .site-nav .btn-primary { margin-top: 8px; padding: 14px; }

  .tool-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .tile-stats { flex-wrap: wrap; }
  .phone--side { display: none; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "ref" "scan" "spec" "stats" "cta"; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-links { gap: 32px; }
  .store-badges { justify-content: center; }
}

/* ============================ REDUCED MOTION ========================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .btn:hover, .store-badge:hover, .tool-card:hover, .book-cover:hover, .tile-cta:hover .cta-arrow { transform: none; }
}
