/* ==========================================================================
   RAZ+ Official Website - 7-in-One-Row Design System (v7.0)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand Theme Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Original Classic Palette */
  --blue: #239eea;
  --blue-light: #25b5ed;
  --blue-mid: #73d5f4;
  --blue-dark: #0a4c87;
  --sky: #e8f8ff;
  --sky-soft: #f0f9ff;
  
  --green: #10b981;
  --green-soft: #ecfdf5;
  
  --yellow: #f59e0b;
  --yellow-soft: #fffbeb;
  
  --purple: #8b5cf6;
  --purple-soft: #f5f3ff;
  
  --pink: #ec4899;
  --pink-soft: #fdf2f8;
  
  --teal: #14b8a6;
  --teal-soft: #f0fdfa;

  /* Typography Colors */
  --ink: #11365f;
  --muted: #557492;
  --light: #8fa7be;
  
  /* Backgrounds & Surfaces */
  --bg-page: #ffffff;
  --bg-card: #ffffff;
  
  /* Borders & Shadows */
  --border-light: rgba(226, 232, 240, 0.8);
  --border-card: rgba(226, 232, 240, 0.85);
  --shadow-sm: 0 2px 8px rgba(17, 54, 95, 0.04);
  --shadow-md: 0 12px 28px -4px rgba(17, 54, 95, 0.08), 0 2px 6px -1px rgba(17, 54, 95, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(35, 158, 234, 0.18), 0 4px 12px -2px rgba(17, 54, 95, 0.06);

  /* Typography */
  --font-family: 'Outfit', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  
  --container-max: 1200px;
  --header-height: 72px;
}

/* --------------------------------------------------------------------------
   2. Base & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-family);
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.section {
  width: min(var(--container-max), 100% - 36px);
  margin-inline: auto;
  padding: 44px 0;
  position: relative;
}

/* --------------------------------------------------------------------------
   3. Typography & Section Headers
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eyebrow.pill {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 10px;
}

.section-head p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.button-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.button.primary {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 10px 24px -4px rgba(10, 76, 135, 0.25);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(10, 76, 135, 0.35);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.button.secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
}

.button.white {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 10px 26px rgba(10, 76, 135, 0.25);
}

.button.white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(10, 76, 135, 0.35);
}

.button.glass {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.button.glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   5. Site Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(35, 158, 234, 0.12);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(17, 54, 95, 0.08);
}

.header-container {
  width: min(var(--container-max), 100% - 36px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header nav a:not(.nav-cta) {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.site-header nav a:not(.nav-cta):hover {
  color: var(--blue);
  background: var(--sky);
}

.site-header nav a.active:not(.nav-cta) {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(35, 158, 234, 0.35);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  position: relative;
  align-items: center;
  justify-content: center;
  background: var(--sky);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
}

.menu-button span:nth-child(1) { transform: translateY(-6px); }
.menu-button span:nth-child(2) { transform: translateY(0); }
.menu-button span:nth-child(3) { transform: translateY(6px); }

.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 72px;
  background: linear-gradient(145deg, #25b5ed 0%, #73d5f4 52%, #d9f7ff 100%);
  overflow: hidden;
}

.hero-inner {
  width: min(var(--container-max), 100% - 36px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-copy {
  color: #ffffff;
}

.hero h1 {
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  margin: 14px 0 18px;
  text-shadow: 0 2px 10px rgba(10, 76, 135, 0.15);
}

.hero h1 span:first-child {
  color: #ffd95a;
}

.hero h1 .accent {
  color: #e9ff98;
}

.hero-copy > p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  max-width: 500px;
  margin-bottom: 24px;
}

.hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(10, 76, 135, 0.1);
}

.hero-stats span::before {
  content: "★";
  color: #ffd95a;
  margin-right: 5px;
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 48px rgba(10, 76, 135, 0.25);
  transition: transform 0.35s ease;
}

.hero-image-wrap:hover {
  transform: translateY(-4px);
}

.hero-shot {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
}

/* --------------------------------------------------------------------------
   7. 7 Reading Worlds - One-Row 7-Book Showcase (一行 7 列并排)
   -------------------------------------------------------------------------- */
.books-section {
  background: transparent;
  padding-top: 24px;
  padding-bottom: 24px;
}

.books-one-row-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.book-row-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  box-shadow: 0 4px 16px rgba(17, 54, 95, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 190px;
  position: relative;
  overflow: hidden;
}

.book-row-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--blue);
}

.border-green::before { background: var(--green); }
.border-yellow::before { background: var(--yellow); }
.border-purple::before { background: var(--purple); }
.border-teal::before { background: var(--teal); }
.border-pink::before { background: var(--pink); }

.book-row-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(35, 158, 234, 0.16);
  border-color: var(--blue);
  z-index: 2;
}

.card-num-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--light);
  margin-bottom: 6px;
}

.card-cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 8px;
}

.pill-blue { background: var(--sky); color: var(--blue); }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-yellow { background: var(--yellow-soft); color: var(--yellow); }
.pill-purple { background: var(--purple-soft); color: var(--purple); }
.pill-teal { background: var(--teal-soft); color: var(--teal); }
.pill-pink { background: var(--pink-soft); color: var(--pink); }

.card-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2px;
}

.card-en-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-brief {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   8. Showcase Section
   -------------------------------------------------------------------------- */
.showcase {
  background: transparent;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.showcase-row:first-child {
  padding-top: 16px;
}

.showcase-row:last-child {
  border-bottom: none;
}

.showcase-row.reverse {
  grid-template-columns: 1.25fr 1fr;
}

.showcase-row.reverse .showcase-copy { order: 2; }
.showcase-row.reverse .showcase-media { order: 1; }

.showcase-copy h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 14px;
}

.showcase-copy > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.bullet-list {
  display: grid;
  gap: 16px;
}

.bullet-list > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

.bullet-list strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}

.bullet-list p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.shot-clean {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 8px;
  border: 1px solid var(--border-card);
  box-shadow: 0 16px 36px rgba(17, 54, 95, 0.08);
  transition: transform 0.3s ease;
}

.shot-clean:hover {
  transform: translateY(-4px);
}

.shot-clean img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
}

/* --------------------------------------------------------------------------
   9. Learning Loop Section (Connected Step Timeline)
   -------------------------------------------------------------------------- */
.learning {
  background: transparent;
  border-top: 1px solid var(--border-light);
}

.learning-split-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr;
  align-items: center;
  gap: 52px;
}

.learning-copy h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 10px;
}

.learning-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Connected 4-Step Pipeline */
.learning-timeline-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  position: relative;
}

.timeline-step-item {
  display: flex;
  gap: 16px;
  position: relative;
}

.timeline-step-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  width: 28px;
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(35, 158, 234, 0.35);
  z-index: 2;
}

.step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(35, 158, 234, 0.2) 100%);
  margin: 4px 0;
  min-height: 28px;
}

.timeline-step-content {
  flex: 1;
  padding-bottom: 20px;
}

.timeline-step-item:last-child .timeline-step-content {
  padding-bottom: 0;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.step-icon-badge {
  color: var(--blue);
  background: var(--sky);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: none;
}
.step-icon-badge svg {
  width: 13px;
  height: 13px;
}

.step-head strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.step-action-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  background: var(--sky-soft);
  padding: 1px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(35, 158, 234, 0.2);
}

.timeline-step-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Bottom Micro Features */
.learning-pill-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

.pill-feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--muted);
  box-shadow: 0 1px 4px rgba(17, 54, 95, 0.03);
}

.pill-feat i {
  display: grid;
  place-items: center;
  color: var(--yellow);
}
.pill-feat i svg {
  width: 14px;
  height: 14px;
}

.pill-feat:nth-child(2) i {
  color: var(--green);
}

.pill-feat b {
  color: var(--ink);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   10. Growth Track
   -------------------------------------------------------------------------- */
.growth-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  padding: 32px 8px 26px;
  background: linear-gradient(180deg, #f3fbff 0%, #ffffff 72%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  position: relative;
}

.growth-track::before {
  content: "";
  position: absolute;
  top: 49px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0.28;
}

.growth-track li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
}

.growth-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue);
  border: 2px solid var(--blue);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 0 0 0 6px #f6fcff;
}

.growth-track li:last-child .growth-num {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.growth-track h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.growth-track p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   11. CTA Banner
   -------------------------------------------------------------------------- */
.cta {
  background: linear-gradient(145deg, #209ee7 0%, #60c9f0 65%, #a8e8f6 100%);
  color: #ffffff;
  padding: 72px 24px;
  text-align: center;
}

.cta-content {
  max-width: 680px;
  margin: 0 auto;
}

.cta .eyebrow {
  color: #eaff9e;
}

.cta h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 14px;
}

.cta-content > p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta .button-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   12. Site Footer
   -------------------------------------------------------------------------- */
footer {
  background: #0c3558;
  color: #d5e8f5;
  padding-top: 56px;
}

.footer-inner {
  width: min(var(--container-max), 100% - 36px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 44px;
}

.footer-brand .brand {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand .brand span {
  color: #ffd95a;
}

.footer-brand strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin: 10px 0 4px;
}

.footer-brand p {
  font-size: 13px;
  color: #91b4cd;
  max-width: 320px;
  line-height: 1.65;
}

.footer-inner h3 {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-inner a {
  display: block;
  font-size: 13px;
  color: #bdd6e8;
  margin-bottom: 8px;
}

.footer-inner a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-inner strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-bottom {
  width: min(var(--container-max), 100% - 36px);
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #759bb7;
}

/* --------------------------------------------------------------------------
   13. Modal Dialog
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 51, 84, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 2000;
  animation: fadeIn 0.2s ease-out forwards;
}

.modal {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  width: min(380px, 100%);
  text-align: center;
  box-shadow: 0 24px 60px rgba(10, 76, 135, 0.3);
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-brand {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
}

.modal-brand span {
  color: #ffd95a;
}

.modal p {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.65;
}

.modal .button {
  width: 100%;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   14. Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   15. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .books-one-row-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    gap: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .book-row-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
  }
  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .showcase-row.reverse .showcase-copy { order: 1; }
  .showcase-row.reverse .showcase-media { order: 2; }
  .learning-split-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 60px;
  }
  .site-header .brand-logo {
    height: 42px;
  }
  .menu-button {
    display: flex;
  }
  .site-header nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-card);
    padding: 14px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-header nav.open {
    display: flex;
  }
  .hero {
    padding-top: calc(60px + 32px);
    padding-bottom: 48px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-copy > p {
    margin-inline: auto;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero .button-row {
    justify-content: center;
  }
  .section {
    padding: 40px 0;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .section-head h2 {
    font-size: 24px;
  }
  .book-row-card {
    flex: 0 0 160px;
  }
  .flow-mini-grid {
    grid-template-columns: 1fr;
  }
  .learning-extra-row {
    grid-template-columns: 1fr;
  }
  .growth-track {
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    padding: 24px 8px 20px;
  }
  .growth-track::before {
    display: none;
  }
  .growth-num {
    box-shadow: none;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}