/* Raise with Purpose / Raising Kids in the Age of AI
   Mobile-first. Tokens mirror the ebook palette. Radius rule: buttons = pill, cards = 20px, media = 12px. */

:root {
  --navy: #22385A;
  --navy-deep: #152440;
  --navy-ink: #1E2533;
  --cta: #B4522D;
  --cta-hover: #9C4524;
  --terra: #C4613A;
  --terra-soft: #F3DCCF;
  --coral: #F08A5D;
  --sage: #4F826A;
  --sage-soft: #E2EDE6;
  --cream: #FAF5EC;
  --cream-deep: #F2E9DA;
  --surface: #FFFDF9;
  --line: #E6DCCB;
  --muted: #586070;
  --on-navy: #EEF1F7;
  --on-navy-muted: #B7C1D3;

  --r-card: 20px;
  --r-media: 12px;
  --shadow-soft: 0 1px 2px rgba(34, 56, 90, 0.06), 0 12px 32px -12px rgba(34, 56, 90, 0.22);
  --shadow-lift: 0 2px 4px rgba(21, 36, 64, 0.08), 0 28px 60px -20px rgba(21, 36, 64, 0.45);

  --serif: "Literata", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Avenir Next", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad-x: 20px;
  --section-y: 64px;
  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --pad-x: 32px; --section-y: 96px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy-ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.015em; color: var(--navy-deep); }
h1 { font-size: clamp(2.15rem, 7.4vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 5.6vw, 2.75rem); line-height: 1.12; }
h3 { font-size: 1.25rem; line-height: 1.3; }
em { font-style: italic; }
.h-em { font-style: italic; font-weight: 500; color: var(--terra); padding-bottom: 0.06em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-deep); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px; border: 0;
  font: 600 1.0625rem/1 var(--sans);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  touch-action: manipulation;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 10px 24px -10px rgba(180, 82, 45, 0.65); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-ghost { background: transparent; color: var(--on-navy); box-shadow: inset 0 0 0 1.5px rgba(238, 241, 247, 0.45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-navy); }
.btn-block { width: 100%; }
.btn .ph { font-size: 1.25rem; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(21, 36, 64, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--coral); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.0625rem; }
.topbar .btn { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 85% 70%, rgba(196, 97, 58, 0.22), transparent 60%), var(--navy-deep);
  color: var(--on-navy);
  padding: 40px 0 56px;
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero .h-em { color: var(--coral); }
.hero .eyebrow { color: var(--coral); }
.hero-sub { font-size: 1.125rem; color: var(--on-navy-muted); margin: 18px 0 28px; max-width: 34ch; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; }
.hero-visual { position: relative; display: flex; justify-content: center; padding-bottom: 8px; }
.hero-visual::before {
  content: ""; position: absolute; width: 72%; aspect-ratio: 1; top: 12%; left: 14%;
  background: radial-gradient(circle, rgba(240, 138, 93, 0.35), transparent 65%); filter: blur(10px);
}

@media (min-width: 560px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .hero-sub { font-size: 1.1875rem; }
}

/* book mockup */
.book {
  position: relative; width: min(68vw, 300px);
  border-radius: 3px 10px 10px 3px; overflow: hidden;
  transform: perspective(1400px) rotateY(-10deg) rotateX(2deg);
  box-shadow: 24px 36px 60px -12px rgba(5, 12, 26, 0.6), 2px 2px 0 rgba(255, 255, 255, 0.04);
  transition: transform 600ms var(--ease);
}
.book::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.28) 0, rgba(255,255,255,0.16) 1.4%, rgba(0,0,0,0.12) 3.2%, transparent 7%);
  pointer-events: none;
}
.book img { width: 100%; aspect-ratio: 7 / 10; object-fit: cover; }
@media (min-width: 900px) {
  .book { width: 360px; transform: perspective(1400px) rotateY(-16deg) rotateX(3deg); }
  .hero-visual:hover .book { transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); }
}

/* ---------- research strip ---------- */
.research { background: var(--cream-deep); padding: 22px 0; border-bottom: 1px solid var(--line); }
.research p { margin: 0; text-align: center; font-size: 0.9375rem; color: var(--muted); line-height: 1.7; }
.research strong { color: var(--navy); font-weight: 600; white-space: nowrap; }

/* ---------- product / offer ---------- */
.offer-grid { display: grid; gap: 40px; margin-top: 40px; align-items: center; }
.offer-visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.offer-visual .stack { position: relative; width: min(78vw, 330px); aspect-ratio: 7 / 10; }
.offer-visual .stack img { position: absolute; border-radius: var(--r-media); box-shadow: var(--shadow-lift); width: 78%; }
.stack .s-back1 { right: -6%; top: 6%; transform: rotate(7deg); }
.stack .s-back2 { left: -6%; top: 10%; transform: rotate(-6deg); }
.stack .s-front { left: 11%; top: 0; width: 78%; border-radius: 3px 10px 10px 3px; z-index: 2; }
.offer-badge {
  position: absolute; z-index: 3; right: 2%; bottom: 4%;
  background: var(--sage); color: #fff; border-radius: 999px; padding: 10px 16px;
  font-weight: 600; font-size: 0.9375rem; box-shadow: var(--shadow-soft); display: inline-flex; gap: 8px; align-items: center;
}

.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 22px; box-shadow: var(--shadow-soft); }
.price-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.price-card .by { font-size: 0.9375rem; color: var(--muted); margin-bottom: 20px; }
.includes { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.includes li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; line-height: 1.45; }
.includes .ph { font-size: 1.5rem; color: var(--sage); margin-top: -1px; }
.includes b { color: var(--navy-deep); }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 14px; padding: 18px 0; border-top: 1px dashed var(--line); margin-bottom: 18px; }
.price-now { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--navy-deep); font-variant-numeric: tabular-nums; }
.price-was { font-size: 1.25rem; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.price-save { background: var(--terra-soft); color: #8C3A1C; font-weight: 700; font-size: 0.875rem; border-radius: 999px; padding: 5px 12px; }
.assure { display: grid; gap: 8px; margin-top: 16px; font-size: 0.9375rem; color: var(--muted); }
.assure span { display: inline-flex; align-items: center; gap: 8px; }
.assure .ph { color: var(--navy); font-size: 1.125rem; }

@media (min-width: 900px) {
  .offer-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .price-card { padding: 36px 34px; }
  .offer-visual { min-height: 520px; }
}

/* ---------- the problem ---------- */
.problem { background: var(--surface); border-block: 1px solid var(--line); }
.story {
  position: relative; max-width: 720px; margin: 0 auto;
  font-family: var(--serif); font-size: clamp(1.25rem, 3.8vw, 1.625rem); line-height: 1.55; color: var(--navy-deep);
  padding-left: 22px; border-left: 3px solid var(--terra);
}
.story p { margin-bottom: 0.75em; }
.story .quiet { color: var(--muted); font-style: italic; }
.stats { display: grid; gap: 16px; margin: 48px auto 0; max-width: 880px; }
.stat { background: var(--cream); border-radius: var(--r-card); padding: 24px; }
.stat .n { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--terra); }
.stat p { margin: 10px 0 6px; font-size: 1.0625rem; color: var(--navy-ink); }
.stat small { color: var(--muted); font-size: 0.8125rem; }
@media (min-width: 768px) { .stats { grid-template-columns: 1fr 1fr; } }

.pivot { max-width: 720px; margin: 64px auto 0; text-align: center; }
.pillars { display: grid; gap: 14px; margin-top: 36px; }
.pillar { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: var(--r-card); background: var(--cream); }
.pillar .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.625rem; }
.pillar h3 { margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--muted); font-size: 1rem; }
.ic-terra { background: var(--terra-soft); color: #8C3A1C; }
.ic-navy { background: #DFE6F0; color: var(--navy); }
.ic-sage { background: var(--sage-soft); color: #2F5E47; }
.ic-gold { background: #F6E7C8; color: #7A5410; }
@media (min-width: 768px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar.wide { grid-column: span 2; } }

/* ---------- sneak peek ---------- */
.peek { background: var(--cream-deep); overflow: hidden; }
.peek-head { max-width: 640px; }
.excerpt {
  margin: 32px 0 0; padding: 22px 22px 18px; border-radius: var(--r-card); background: var(--surface);
  box-shadow: var(--shadow-soft); max-width: 640px;
}
.excerpt blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.1875rem; line-height: 1.5; color: var(--navy-deep); }
.excerpt figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }

.carousel { position: relative; margin-top: 36px; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-x);
  padding: 8px var(--pad-x) 24px; margin-inline: calc(var(--pad-x) * -1);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; margin: 0; }
.slide img { border-radius: var(--r-media); box-shadow: var(--shadow-lift); aspect-ratio: 7 / 10; object-fit: cover; width: 100%; background: #fff; }
.slide figcaption { margin-top: 14px; font-size: 0.9375rem; color: var(--navy-ink); line-height: 1.45; }
.slide figcaption b { display: block; font-family: var(--serif); font-size: 1.0625rem; color: var(--navy-deep); }
.car-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; gap: 8px; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #CDBFA8; border: 0; padding: 0; cursor: pointer; position: relative; }
.dot::after { content: ""; position: absolute; inset: -12px; }
.dot[aria-current="true"] { background: var(--terra); width: 26px; border-radius: 999px; }
.car-btns { display: flex; gap: 10px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #CDBFA8; background: var(--surface); color: var(--navy-deep);
  display: grid; place-items: center; font-size: 1.25rem; cursor: pointer; transition: border-color 200ms, transform 160ms var(--ease);
}
.icon-btn:hover { border-color: var(--navy); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
@media (min-width: 640px) { .track { grid-auto-columns: 42%; } }
@media (min-width: 1024px) { .track { grid-auto-columns: calc((100% - 48px) / 3.3); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }

/* ---------- who it's for ---------- */
.fit-grid { display: grid; gap: 16px; margin-top: 36px; }
.fit { border-radius: var(--r-card); padding: 28px 22px; }
.fit h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.375rem; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fit li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; line-height: 1.5; }
.fit li .ph { font-size: 1.375rem; margin-top: 1px; }
.fit-yes { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.fit-yes .ph { color: var(--sage); }
.fit-no { background: transparent; border: 1.5px dashed #CDBFA8; }
.fit-no .ph { color: var(--terra); }
.fit-no li { color: var(--muted); }
@media (min-width: 900px) { .fit-grid { grid-template-columns: 1.35fr 1fr; gap: 24px; } .fit { padding: 36px 32px; } }

/* ---------- testimonials ---------- */
.reviews { background: var(--surface); border-block: 1px solid var(--line); }
.review-grid { display: grid; gap: 16px; margin-top: 36px; }
.review { margin: 0; border-radius: var(--r-card); padding: 26px 22px; background: var(--cream); }
.review .stars { color: #C98A1B; font-size: 1.125rem; letter-spacing: 2px; margin-bottom: 12px; display: flex; gap: 2px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.125rem; line-height: 1.55; color: var(--navy-deep); }
.review figcaption { margin-top: 16px; font-size: 0.9375rem; color: var(--muted); }
.review figcaption b { color: var(--navy-ink); display: block; }
.review.feature { background: var(--navy-deep); }
.review.feature blockquote { color: #fff; font-size: 1.3125rem; }
.review.feature figcaption { color: var(--on-navy-muted); }
.review.feature figcaption b { color: #fff; }
@media (min-width: 900px) {
  .review-grid { grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; }
  .review.feature { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
}

/* ---------- faq ---------- */
.faq-list { max-width: 760px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 600; font-size: 1.0625rem; color: var(--navy-deep); line-height: 1.4; min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2px solid var(--terra); border-bottom: 2px solid var(--terra); transform: rotate(45deg);
  transition: transform 220ms var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-list summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 16px; }
.faq-list .a { padding: 0 22px 20px; color: var(--muted); }
.faq-list .a p:last-child { margin: 0; }

/* ---------- final cta ---------- */
.final-card {
  display: grid; gap: 28px; align-items: center; border-radius: 28px; padding: 36px 22px;
  background: linear-gradient(160deg, var(--terra-soft), #F7E8DC 55%, var(--cream));
  border: 1px solid #EBCDBB;
}
.final-card .book { width: min(52vw, 220px); margin: 0 auto; transform: perspective(1200px) rotateY(-12deg); }
.final-card h2 { margin-bottom: 14px; }
.final-card .price-mini { margin: 18px 0 20px; display: flex; align-items: baseline; gap: 12px; }
.final-card .price-mini .price-now { font-size: 2.5rem; }
@media (min-width: 900px) { .final-card { grid-template-columns: 280px 1fr; padding: 56px; gap: 56px; } }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: var(--on-navy-muted); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 0.9375rem; }
.footer .brand { margin-bottom: 14px; }
.footer-grid { display: grid; gap: 28px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { text-decoration: none; color: var(--on-navy); padding: 8px 0; }
.footer nav a:hover { text-decoration: underline; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 32px; padding-top: 24px; font-size: 0.8125rem; line-height: 1.6; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } .footer nav { justify-content: flex-end; } }

/* ---------- mobile sticky buy bar ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255, 253, 249, 0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(21, 36, 64, 0.4);
  padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transform: translateY(110%); transition: transform 320ms var(--ease);
}
.buybar.show { transform: translateY(0); }
.buybar .bb-price { display: flex; flex-direction: column; line-height: 1.15; }
.buybar .bb-price b { font-family: var(--serif); font-size: 1.5rem; color: var(--navy-deep); }
.buybar .bb-price s { font-size: 0.875rem; color: var(--muted); }
.buybar .btn { min-height: 50px; flex: 1; max-width: 240px; }
@media (min-width: 900px) { .buybar { display: none; } }

/* ---------- reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .hero .reveal { transition-duration: 900ms; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .book, .buybar { transition: none; }
}

/* ---------- thank-you page ---------- */
.ty-hero { background: radial-gradient(110% 70% at 50% 0%, rgba(196, 97, 58, 0.25), transparent 60%), var(--navy-deep); color: var(--on-navy); padding: 48px 0 120px; text-align: center; }
.ty-hero h1 { color: #fff; max-width: 16ch; margin: 18px auto 14px; }
.ty-hero .lede { color: var(--on-navy-muted); margin-inline: auto; max-width: 42ch; }
.ty-check { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; background: var(--sage); color: #fff; display: grid; place-items: center; font-size: 2.25rem; box-shadow: 0 0 0 10px rgba(79, 130, 106, 0.22); }
.dl-card {
  position: relative; margin: -84px auto 0; max-width: 640px; background: var(--surface); border-radius: 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lift); padding: 24px 20px; display: grid; gap: 20px;
}
.dl-top { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; }
.dl-top img { border-radius: 3px 8px 8px 3px; box-shadow: var(--shadow-soft); }
.dl-top h2 { font-size: 1.375rem; }
.dl-meta { font-size: 0.9375rem; color: var(--muted); margin: 6px 0 0; }
.dl-note { font-size: 0.875rem; color: var(--muted); text-align: center; margin: 0; }
@media (min-width: 640px) { .dl-card { padding: 32px; } .dl-top { grid-template-columns: 110px 1fr; } }

.steps { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; counter-reset: s; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.step .num { counter-increment: s; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.step .num::before { content: counter(s); }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.step .tip { margin-top: 10px; font-size: 0.9375rem; background: var(--cream); border-radius: 12px; padding: 10px 12px; color: var(--navy-ink); }
.help { text-align: center; color: var(--muted); max-width: 520px; margin: 40px auto 0; }
.help a { color: var(--cta); font-weight: 600; }

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

@media (max-width: 559px) {
  .final-card .btn { width: 100%; }
}
@media (max-width: 380px) {
  .brand { font-size: 0.9375rem; gap: 8px; }
  .topbar .btn { padding: 0 14px; font-size: 0.875rem; }
}
.brand { white-space: nowrap; }
@media (max-width: 340px) {
  .brand { font-size: 0.875rem; }
  .topbar .btn { padding: 0 12px; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.3fr 0.7fr; }
  .hero h1 { font-size: clamp(2.75rem, 4.2vw, 3.4rem); }
  .hero-sub { max-width: 44ch; }
}
.fit-grid { align-items: start; }
@media (min-width: 900px) {
  .peek-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
  .peek-top .excerpt { margin-top: 0; }
}
@media (min-width: 900px) { .ty-hero h1 { max-width: 22ch; } }
