/* ==========================================================================
   The AI Advantage — shared stylesheet
   Palette: deep navy, white, soft grey, electric-blue accent.
   ========================================================================== */

:root {
  color-scheme: light;
  --navy-900: #0b1b2e;
  --navy-800: #102743;
  --navy-700: #16324f;
  --navy-600: #1d4267;
  --blue-500: #2f6feb;
  --blue-600: #255ac7;
  --blue-100: #e8f0ff;
  --amber-500: #e8a33d; /* used sparingly, echoes the cover illustration only */
  --grey-50: #f6f8fa;
  --grey-100: #eef1f5;
  --grey-200: #e2e6ec;
  --grey-400: #9aa5b3;
  --grey-600: #5b6675;
  --grey-800: #2b3442;
  --white: #ffffff;
  --success: #1e7a4c;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 46, 0.06), 0 1px 1px rgba(11, 27, 46, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 27, 46, 0.10);
  --shadow-lg: 0 20px 60px rgba(11, 27, 46, 0.18);

  --max-width: 1120px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "URW Palladio L", serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
a { color: inherit; }

button { font-family: inherit; }

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -48px;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.15s ease;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--navy { background: var(--navy-900); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--grey { background: var(--grey-50); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.9em;
}
.section--navy .eyebrow { color: var(--amber-500); }

.section-head {
  max-width: 680px;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.35rem); }
.section-head p { color: var(--grey-600); font-size: 1.08rem; }
.section--navy .section-head p { color: var(--grey-200); }

.lede { font-size: 1.15rem; color: var(--grey-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  min-height: 48px;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--blue-600); }

.btn--large { padding: 1.15rem 2.4rem; font-size: 1.12rem; }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.7); }

.btn--block { width: 100%; }

.btn-note {
  margin-top: 0.75rem;
  font-size: 0.86rem;
  color: var(--grey-600);
}
.section--navy .btn-note,
.hero .btn-note { color: var(--grey-200); }

/* ---------- Header ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 41;
  background: var(--navy-900);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: rgba(11, 27, 46, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  color: var(--white);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--blue-500), var(--amber-500));
  flex-shrink: 0;
}
.site-header .btn--primary { padding: 0.7rem 1.3rem; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(47,111,235,0.25), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: 56px 0 72px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  margin-bottom: 0.45em;
}
.hero h1 .accent { color: var(--amber-500); }
.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--grey-200);
  max-width: 46ch;
  margin-bottom: 1.5rem;
}
.hero-benefits {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.hero-benefits li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 1.02rem;
  color: var(--grey-100);
}
.hero-benefits svg { flex-shrink: 0; margin-top: 3px; color: var(--amber-500); }

.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.price-chip strong { font-size: 1.15rem; color: var(--amber-500); }

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0 8px;
}

/* Contrast glow: a soft white light halo behind the book so a dark navy
   cover never blends into the navy hero background. */
.hero-art::before {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: min(100vw, 480px);
  height: min(100vw, 480px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.24) 32%, rgba(255, 255, 255, 0.08) 52%, transparent 74%);
  filter: blur(4px);
  z-index: 0;
  pointer-events: none;
}

.book3d-wrap {
  --book-w: clamp(176px, 40vw, 248px);
  --book-h: calc(var(--book-w) / 0.71);
  --book-d: calc(var(--book-w) * 0.115);
  position: relative;
  z-index: 1;
  perspective: 1600px;
  padding: 10px 36px 34px;
}

/* Grounding shadow: separates the book from the backdrop and sells the tilt. */
.book3d-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 78%;
  height: 22px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent 72%);
  transform: translateX(-50%);
  filter: blur(5px);
  z-index: 0;
}

.book3d {
  position: relative;
  width: var(--book-w);
  height: var(--book-h);
  margin: 0 auto;
  transform-style: preserve-3d;
  transform: rotateX(11deg) rotateY(-30deg);
  z-index: 1;
}

.book3d__cover {
  position: absolute;
  inset: 0;
  transform: translateZ(calc(var(--book-d) / 2));
  border-radius: 2px 8px 8px 2px;
  overflow: hidden;
  box-shadow: 3px 10px 24px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.book3d__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  display: block;
}
.book3d__cover::after {
  /* subtle sheen so the cover face reads as glossy paper, not a flat swatch */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.14) 0%, transparent 28%, transparent 72%, rgba(0,0,0,0.12) 100%);
  pointer-events: none;
}

.book3d__pages {
  position: absolute;
  top: 3px;
  left: 0;
  width: var(--book-d);
  height: calc(var(--book-h) - 6px);
  transform-origin: left center;
  transform: translateX(calc(var(--book-w) - (var(--book-d) / 2))) rotateY(90deg);
  background: repeating-linear-gradient(
    to bottom,
    #fbf8f1 0px, #fbf8f1 2px,
    #eee6d3 2px, #eee6d3 3px
  );
  box-shadow: inset 0 0 6px rgba(0,0,0,0.12);
  border-radius: 0 3px 3px 0;
}

.book3d__back {
  position: absolute;
  inset: 0;
  transform: translateZ(calc(var(--book-d) / -2));
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border-radius: 2px 8px 8px 2px;
}

.cover-badge {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

/* ---------- Problem / empathy section ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.problem-card .mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grey-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-600);
  margin-bottom: 1rem;
}
.problem-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.problem-card p { color: var(--grey-600); font-size: 0.96rem; margin: 0; }

/* ---------- Solution steps ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin-top: 2.25rem;
}
.step-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: left;
}
.step-card .num {
  font-weight: 800;
  color: var(--amber-500);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.step-card h3 { font-size: 0.98rem; margin-bottom: 0.3rem; color: var(--white); }
.step-card p { font-size: 0.86rem; color: var(--grey-200); margin: 0; }

/* ---------- Ability checklist ---------- */
.ability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}
.ability-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--grey-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
}
.ability-item svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }
.ability-item p { margin: 0; font-size: 0.97rem; }

/* ---------- Curriculum (what's inside) ---------- */
.part-block { margin-bottom: 2.75rem; }
.part-block:last-child { margin-bottom: 0; }
.part-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.part-title .part-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.part-title h3 { margin: 0; font-size: 1.35rem; }
.part-why { color: var(--grey-600); margin: -0.6rem 0 1.25rem; max-width: 70ch; }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.mission-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.mission-card .mission-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
}
.mission-card h4 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.mission-card p { font-size: 0.93rem; color: var(--grey-600); margin: 0; }

/* ---------- Differentiators ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.diff-card {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--grey-200);
}
.diff-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.diff-card p { font-size: 0.93rem; color: var(--grey-600); margin: 0; }

/* ---------- Demo / show don't tell ---------- */
.demo-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 820px;
  margin: 2.25rem auto 0;
}
.demo-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 0.5rem;
}
.demo-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--grey-200);
}
.demo-card--vague { background: var(--grey-50); }
.demo-card--good { background: var(--blue-100); border-color: #c6d9fb; }
.demo-card p.prompt-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  margin: 0;
  color: var(--grey-800);
}
.demo-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.9rem; }
.demo-tag {
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.demo-note {
  background: #fff6e8;
  border: 1px solid #f1d8a6;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  font-size: 0.95rem;
  color: var(--grey-800);
}
.demo-note strong { color: #8a5a10; }
.illustrative-flag {
  font-size: 0.78rem;
  color: var(--grey-600);
  margin-top: 1rem;
}

/* ---------- Who it's for ---------- */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.who-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
}
.who-card.good { background: #f1f8f3; border-color: #cfe8d6; }
.who-card.bad { background: var(--grey-50); }
.who-card h3 { font-size: 1.05rem; margin-bottom: 0.9rem; }
.who-card ul { padding-left: 1.1rem; margin: 0; }
.who-card li { margin-bottom: 0.55rem; font-size: 0.97rem; color: var(--grey-800); }

/* ---------- Deliverables ---------- */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.deliver-card {
  text-align: center;
  padding: 1.6rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--grey-200);
}
.deliver-card .icon {
  width: 46px; height: 46px;
  margin: 0 auto 0.9rem;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
}
.deliver-card h3 { font-size: 0.98rem; margin-bottom: 0.35rem; }
.deliver-card p { font-size: 0.88rem; color: var(--grey-600); margin: 0; }
.delivery-note {
  max-width: 680px;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--grey-600);
  font-size: 0.92rem;
}

/* ---------- Purchase block ---------- */
.purchase-card {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.purchase-card h2 { font-size: 1.7rem; }
.purchase-card .price-display {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--amber-500);
  margin: 1rem 0 0.4rem;
}
.purchase-card .price-currency-note {
  font-size: 0.85rem;
  color: var(--grey-200);
  margin-bottom: 1.6rem;
}
.purchase-included {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
  display: grid;
  gap: 0.6rem;
}
.purchase-included li { display: flex; gap: 0.6rem; font-size: 0.96rem; color: var(--grey-100); }
.purchase-included svg { color: var(--amber-500); flex-shrink: 0; margin-top: 3px; }
.purchase-policies {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--grey-200);
}
.purchase-policies a { color: var(--grey-100); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 2rem auto 0; }
.faq-item {
  border-bottom: 1px solid var(--grey-200);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.25rem 1.25rem 0;
  font-weight: 700;
  position: relative;
  font-size: 1.01rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.1rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue-500);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0 0 1.4rem;
  color: var(--grey-600);
  font-size: 0.97rem;
  max-width: 70ch;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(47,111,235,0.3), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}
.final-cta h2 { font-size: clamp(1.7rem, 1.4rem + 1.3vw, 2.4rem); max-width: 18ch; margin: 0 auto 0.6rem; }
.final-cta p { max-width: 56ch; margin: 0 auto 2rem; color: var(--grey-200); font-size: 1.05rem; }

/* ---------- Sticky mobile bar ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  box-shadow: 0 -8px 24px rgba(11,27,46,0.12);
  padding-top: 0.65rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.sticky-cta .price-display-sm { font-weight: 800; color: var(--navy-900); font-size: 1rem; }
.sticky-cta .btn { padding: 0.75rem 1.4rem; font-size: 0.96rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--grey-200);
  padding: 48px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { font-weight: 800; color: var(--white); margin-bottom: 0.6rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--grey-200); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--grey-400);
  font-size: 0.82rem;
}

/* ---------- Thank-you page ---------- */
.ty-wrap {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(47,111,235,0.18), transparent 60%),
    var(--grey-50);
  padding: 48px 0;
}
.ty-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 1.2rem + 2vw, 3.25rem);
  text-align: center;
}
.ty-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #e9f7ef;
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.ty-card h1 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); }
.ty-lede { color: var(--grey-600); font-size: 1.05rem; max-width: 52ch; margin: 0 auto 2rem; }

.ty-book-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin: 0 auto 1.75rem;
  max-width: 480px;
}
.ty-book-row img { width: 54px; border-radius: 4px; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.ty-book-row .title { font-weight: 800; font-size: 0.98rem; }
.ty-book-row .byline { color: var(--grey-600); font-size: 0.86rem; }

.ty-download { margin-bottom: 2rem; }

.ty-steps {
  text-align: left;
  max-width: 520px;
  margin: 0 auto 2rem;
  background: var(--grey-50);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
}
.ty-steps h2 { font-size: 1rem; margin-bottom: 0.9rem; }
.ty-steps ol { margin: 0; padding-left: 1.2rem; }
.ty-steps li { margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--grey-800); }

.ty-support {
  font-size: 0.92rem;
  color: var(--grey-600);
}
.ty-support a { color: var(--blue-600); font-weight: 700; text-decoration: none; }
.ty-support a:hover { text-decoration: underline; }

.ty-footer-note {
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--grey-400);
  text-align: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .who-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-art { order: -1; margin-bottom: 0.5rem; }
  .book3d-wrap { --book-w: clamp(150px, 44vw, 220px); padding-top: 4px; }
  .hero { padding-top: 32px; }
}

@media (max-width: 680px) {
  .section { padding: 52px 0; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
  .purchase-card { padding: 2rem 1.4rem; }
  .site-header .btn--primary { padding: 0.6rem 1.05rem; font-size: 0.88rem; }
}

@media (max-width: 480px) {
  .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .hero h1 { font-size: 2rem; }
  .steps-row { grid-template-columns: 1fr 1fr; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
