/* =========================================================
   01. Design Tokens
   ========================================================= */
:root {
  --color-ink: #061332;
  --color-ink-2: #0b1f46;
  --color-navy: #030e3c;
  --color-blue: #00509d;
  --color-blue-2: #2f71c7;
  --color-sky: #83d3ff;
  --color-teal: #6caabf;
  --color-cream: #fff2cc;
  --color-gold: #f1c232;
  --color-paper: #ffffff;
  --color-soft: #f7fbff;
  --color-line: #d9e8f8;
  --color-muted: #5b6b82;
  --shadow-soft: 0 18px 60px rgba(3, 14, 60, 0.12);
  --shadow-card: 0 12px 34px rgba(3, 14, 60, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: min(1160px, calc(100vw - 40px));
  --font-sans: "Noto Serif TC", "Source Han Serif TC", "PingFang TC", serif;
  --font-serif: "Noto Serif TC", "Source Han Serif TC", Georgia, serif;
}

/* =========================================================
   02. Base
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.65;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(131, 211, 255, 0.25);
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-weight: 500;
}

:focus-visible {
  outline: 3px solid rgba(131, 211, 255, 0.95);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  color: var(--color-navy);
  padding: 10px 14px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96) 0 28%, rgba(238, 250, 255, 0.92) 58%, #dff4ff 100%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
  animation: loader-auto-hide 1.82s ease forwards;
}

.site-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__mark {
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(360px, 72vw);
  animation: loader-mark-in 680ms ease both;
}

.site-loader__mark img {
  width: 100%;
  filter: drop-shadow(0 18px 28px rgba(3, 14, 60, 0.12));
}

.site-loader__bar {
  position: relative;
  width: min(218px, 46vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(47, 113, 199, 0.16);
}

.site-loader__bar::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-blue), var(--color-sky));
  transform: translateX(-100%);
  animation: loader-bar 1050ms ease forwards;
}

@keyframes loader-mark-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loader-bar {
  to {
    transform: translateX(0);
  }
}

@keyframes loader-auto-hide {
  0%,
  78% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--color-soft);
}

.section--method {
  position: relative;
  overflow: hidden;
  padding: 58px 0 74px;
  background:
    radial-gradient(circle at 94% 35%, rgba(221, 241, 255, 0.86) 0 16%, transparent 16.4%),
    linear-gradient(180deg, #f6fbff 0%, #eff8ff 100%);
}

.section--method::before {
  position: absolute;
  right: -80px;
  bottom: -135px;
  width: 520px;
  height: 520px;
  content: "";
  border-radius: 999px;
  background: rgba(222, 242, 255, 0.64);
}

.section--method .container {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 48px));
}

.section--method .section__header {
  max-width: 960px;
  margin-bottom: 34px;
}

.section--method .section__eyebrow {
  gap: 7px;
  min-height: 30px;
  border-color: rgba(47, 113, 199, 0.24);
  background: rgba(255, 246, 218, 0.74);
  box-shadow: 0 8px 18px rgba(47, 113, 199, 0.07);
}

.section--method .section__eyebrow svg {
  width: 16px;
  height: 16px;
}

.section--method .section__header h2 {
  max-width: 840px;
  margin-top: 14px;
  margin-bottom: 12px;
  font-size: 1.86rem;
  letter-spacing: 0;
}

.section--method .section__header p {
  color: #5c6c7f;
  font-size: 0.95rem;
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-paper);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  border: 1px solid rgba(47, 113, 199, 0.18);
  border-radius: 999px;
  background: rgba(255, 242, 204, 0.74);
  color: var(--color-blue);
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 500;
}

.section__header {
  max-width: 760px;
  margin-bottom: 30px;
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__header h1,
.section__header h2 {
  margin: 14px 0 14px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 2.28rem;
  line-height: 1.12;
  text-wrap: balance;
}

.section__header h2 {
  font-size: 1.92rem;
}

.section--navy .section__header h1,
.section--navy .section__header h2 {
  color: var(--color-paper);
}

.section__header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.section--navy .section__header p {
  color: rgba(255, 255, 255, 0.72);
}

.highlight {
  color: var(--color-gold);
}

.text-blue {
  color: var(--color-blue-2);
}

/* =========================================================
   03. Header And Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(131, 211, 255, 0.34);
  background: rgba(248, 253, 255, 0.94);
  color: var(--color-ink);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(3, 14, 60, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

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

.brand__logo {
  width: clamp(154px, 15vw, 210px);
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links a {
  min-height: 44px;
  border-radius: 999px;
  color: var(--color-ink-2);
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  background: rgba(47, 113, 199, 0.12);
  color: var(--color-blue);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(47, 113, 199, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-blue);
  cursor: pointer;
}

/* =========================================================
   04. Buttons And Utility Components
   ========================================================= */
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--color-blue-2);
  color: var(--color-paper);
}

.button--primary:hover {
  background: #1f62b7;
}

.button--light {
  background: var(--color-paper);
  color: var(--color-blue);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--color-paper);
}

.hero .button--ghost {
  border-color: rgba(47, 113, 199, 0.3);
  background: rgba(255, 255, 255, 0.54);
  color: var(--color-blue);
}

.button--outline {
  border-color: rgba(47, 113, 199, 0.28);
  color: var(--color-blue);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid rgba(217, 232, 248, 0.64);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--color-ink-2);
  padding: 7px 12px;
  font-size: 0.92rem;
  font-weight: 500;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-blue-2);
  box-shadow: inset 0 0 0 5px var(--color-paper);
}

.number-kicker {
  color: var(--color-blue-2);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

[id] {
  scroll-margin-top: 96px;
}

.u-mt-18 {
  margin-top: 18px;
}

.u-mt-24 {
  margin-top: 24px;
}

.u-mb-22 {
  margin-bottom: 22px;
}

.u-mb-24 {
  margin-bottom: 24px;
}

.u-center {
  justify-content: center;
}

/* =========================================================
   05. Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: min(724px, calc(100dvh - 72px));
  overflow: hidden;
  color: var(--color-ink);
  background: linear-gradient(112deg, #f7fbff 0%, #edf8ff 54%, #f4fbff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 28%, rgba(96, 172, 235, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(247, 251, 255, 0.96) 0%, rgba(235, 247, 255, 0.88) 46%, rgba(230, 244, 255, 0.58) 100%),
    url("../assets/generated/ielts-hero.jpg") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 0;
  height: 150px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(238, 250, 255, 0), #eefaff 58%, #f7fbff 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 610px) minmax(420px, 1fr);
  align-items: center;
  min-height: inherit;
  gap: 34px;
  padding: 42px 0 56px;
}

.hero__content {
  max-width: 640px;
}

.hero__brand-logo {
  display: block;
  width: min(282px, 72vw);
  height: auto;
  margin-bottom: 18px;
}

.hero__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 33px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0) 0 3%, rgba(218, 236, 255, 0.9) 12% 88%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(47, 113, 199, 0.14), rgba(47, 113, 199, 0.04));
  color: var(--color-blue);
  padding: 6px 16px 6px 12px;
  font-size: 0.84rem;
  font-weight: 500;
}

.hero__eyebrow svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero h1 {
  margin: 18px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(3.18rem, 5.1vw, 4.72rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  position: relative;
  width: max-content;
  max-width: 100%;
}

.hero h1 span:first-child::after {
  position: absolute;
  right: 2px;
  bottom: 0.03em;
  left: 54%;
  height: 0.16em;
  content: "";
  border-radius: 999px 80% 999px 70%;
  background: rgba(47, 113, 199, 0.22);
  transform: rotate(-2deg);
}

.hero__lead {
  max-width: 560px;
  margin: 0 0 22px;
  color: var(--color-muted);
  font-size: 0.98rem;
  line-height: 1.86;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 610px;
  margin-top: 28px;
}

.hero__meta-item {
  position: relative;
  min-height: 142px;
  border: 1px solid rgba(218, 234, 249, 0.86);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  padding: 17px 16px 15px;
  box-shadow: 0 18px 40px rgba(47, 113, 199, 0.12);
  backdrop-filter: blur(8px);
}

.hero__meta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 1px solid rgba(47, 113, 199, 0.2);
  border-radius: 999px;
  color: var(--color-blue-2);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 48%, transparent 49%),
    conic-gradient(from -20deg, rgba(47, 113, 199, 0.12), rgba(47, 113, 199, 0.56), rgba(47, 113, 199, 0.12), transparent 78%, rgba(47, 113, 199, 0.18));
}

.hero__meta-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero__meta-item strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--color-ink-2);
  font-size: 1rem;
}

.hero__meta-item strong [data-counter] {
  color: var(--color-blue);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.hero__meta-item strong small {
  color: var(--color-ink-2);
  font-size: 1rem;
  font-weight: 500;
}

.hero__meta-item > span:not(.hero__meta-icon) {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero__portrait {
  align-self: end;
  justify-self: end;
  position: relative;
  width: min(520px, 100%);
  min-height: 560px;
  display: grid;
  align-items: end;
  justify-items: center;
}

.hero__portrait::before {
  position: absolute;
  right: 24px;
  bottom: 68px;
  width: min(470px, 44vw);
  height: min(470px, 44vw);
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0) 0 50%, rgba(47, 113, 199, 0.13) 51% 58%, transparent 59%),
    conic-gradient(from 18deg, rgba(47, 113, 199, 0), rgba(47, 113, 199, 0.2), rgba(47, 113, 199, 0.04), rgba(47, 113, 199, 0.24), rgba(47, 113, 199, 0));
  filter: blur(0.2px);
  opacity: 0.92;
  transform: rotate(-12deg);
}

.hero__portrait img {
  position: relative;
  z-index: 2;
  width: min(448px, 45vw);
  max-width: none;
  filter: drop-shadow(0 24px 38px rgba(0, 80, 157, 0.2));
}

.hero__caption {
  position: absolute;
  right: 22px;
  bottom: 124px;
  z-index: 3;
  max-width: 310px;
  border: 1px solid rgba(131, 211, 255, 0.42);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink-2);
  padding: 17px 22px;
  box-shadow: 0 18px 42px rgba(3, 14, 60, 0.13);
}

.hero__caption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-blue);
}

.proof-strip {
  position: relative;
  z-index: 2;
  margin-top: -54px;
  padding: 82px 0 50px;
  background:
    linear-gradient(180deg, rgba(238, 250, 255, 0) 0%, rgba(247, 251, 255, 0.94) 42%, #fff 100%);
  color: var(--color-ink);
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.proof-strip__item {
  position: relative;
  min-height: 104px;
  padding: 16px 54px 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 225, 247, 0.82);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 255, 0.9));
  box-shadow: 0 18px 38px rgba(3, 14, 60, 0.1);
}

.proof-strip__item::after {
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  content: "";
  border-radius: 999px;
  background: rgba(131, 211, 255, 0.16);
}

.proof-strip__label {
  display: block;
  margin-bottom: 5px;
  color: var(--color-muted);
  font-size: 0.7rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.proof-strip__item strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--color-blue);
  font-family: var(--font-serif);
  font-size: 1.66rem;
  line-height: 1.05;
}

.proof-strip__item strong small {
  color: var(--color-blue);
  font-size: 0.95rem;
}

.proof-strip__note {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.proof-strip__icon {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 23px;
  height: 23px;
  color: rgba(47, 113, 199, 0.52);
}

/* =========================================================
   06. Cards And Grids
   ========================================================= */
.grid {
  display: grid;
  gap: 22px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.method-card,
.team-card,
.testimonial-card,
.price-card,
.faq-item,
.resource-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.feature-card {
  position: relative;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    z-index: 2;
    border-color: rgba(131, 211, 255, 0.95);
    box-shadow: 0 24px 54px rgba(3, 14, 60, 0.16);
    transform: translateY(-8px) scale(1.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: none;
  }

  .feature-card:hover {
    transform: none;
  }
}

.feature-card,
.method-card,
.resource-card {
  padding: 24px;
}

.feature-card h3,
.method-card h3,
.resource-card h3 {
  margin: 8px 0 10px;
  color: var(--color-ink);
  font-size: 1.04rem;
  line-height: 1.35;
}

.feature-card p,
.method-card p,
.resource-card p {
  margin: 0;
  color: var(--color-muted);
}

.method-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 222px;
  overflow: hidden;
  border-radius: 10px;
  border-top: 5px solid var(--color-blue-2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98));
  padding: 24px 30px 22px;
  box-shadow: 0 18px 42px rgba(3, 14, 60, 0.1);
}

.method-flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.method-flow::before {
  position: absolute;
  inset: -54px -44px -50px;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 84%, rgba(131, 211, 255, 0.13), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(131, 211, 255, 0.12), transparent 24%);
}

.method-flow > * {
  position: relative;
  z-index: 1;
}

.method-flow__arrow {
  display: grid;
  place-items: center;
  width: 104px;
  height: 128px;
  justify-self: center;
  background: url("../assets/generated/method-footsteps-connector.png") center / contain no-repeat;
}

.method-flow__arrow::before {
  content: "";
}

.method-flow__arrow::after {
  content: "";
}

.method-card::before {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 118px;
  height: 1px;
  content: "";
  background: var(--color-line);
}

.method-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.method-card__header > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.method-card__number {
  color: var(--color-blue);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
}

.method-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201, 225, 247, 0.9);
  border-radius: 999px;
  background: linear-gradient(145deg, #eefaff, #ffffff);
  color: var(--color-blue);
  box-shadow: 0 12px 24px rgba(3, 14, 60, 0.08);
}

.method-card__icon svg {
  width: 27px;
  height: 27px;
}

.method-card h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.04rem;
  line-height: 1.28;
}

.method-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.band {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-cream);
}

.band--blue {
  background: #edf7ff;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 44px;
}

.split--feedback {
  grid-template-columns: 0.78fr 1.22fr;
}

.split--ai-tools {
  grid-template-columns: 1.05fr 0.95fr;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feedback-versions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: center;
}

.feedback-version-card {
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: center;
  box-shadow: none;
}

.feedback-version-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  border: 0;
  background: transparent;
}

.feedback-version-card h3 {
  margin: 10px 0 0;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 400;
  line-height: 1.2;
}

.feedback-version-card p {
  margin: 0;
  color: var(--color-ink-2);
  font-size: 0.88rem;
  font-weight: 500;
}

.speaking-examples {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  align-items: end;
  gap: 22px;
}

.speaking-example {
  display: grid;
  gap: 14px;
  margin: 0;
  text-align: center;
}

.speaking-example img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  object-position: bottom center;
}

.speaking-example--reply img {
  object-position: bottom left;
}

.speaking-example figcaption {
  display: grid;
  gap: 4px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  line-height: 1.35;
}

.speaking-example figcaption strong {
  font-size: 1.16rem;
  font-weight: 400;
}

.speaking-example figcaption span {
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 500;
}

/* =========================================================
   07. Course And Resources
   ========================================================= */
.resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.resource-list__item {
  border: 1px solid rgba(217, 232, 248, 0.82);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
}

.resource-list__item strong {
  display: block;
  color: var(--color-blue);
}

.course-architecture {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 232, 248, 0.86);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 14%, rgba(188, 222, 255, 0.36), transparent 17%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 247, 255, 0.9));
  padding: 40px;
  box-shadow: 0 22px 58px rgba(47, 113, 199, 0.12);
}

.course-architecture__decor {
  position: absolute;
  top: 24px;
  right: 56px;
  width: 156px;
  opacity: 0.76;
  pointer-events: none;
}

.course-architecture__header {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-bottom: 22px;
}

.course-architecture__header h2 {
  margin: 18px 0 14px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.92rem;
  line-height: 1.18;
}

.course-architecture__header p {
  max-width: 620px;
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
}

.course-architecture__features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.course-architecture__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid rgba(217, 232, 248, 0.82);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ink-2);
  padding: 10px 16px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(47, 113, 199, 0.08);
}

.course-architecture__features span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--color-blue);
  font-size: 0.86rem;
  font-weight: 600;
}

.course-path {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.course-path__item {
  min-height: 188px;
  border: 1px solid rgba(217, 232, 248, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  box-shadow: 0 10px 26px rgba(3, 14, 60, 0.06);
}

.course-path__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.course-path__num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eff7ff;
  color: var(--color-blue);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.course-path__icon {
  color: rgba(47, 113, 199, 0.66);
  font-size: 2rem;
  line-height: 1;
}

.course-path__item h3 {
  position: relative;
  margin: 0 0 14px;
  color: var(--color-ink);
  font-size: 1.12rem;
  line-height: 1.28;
}

.course-path__item h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  background: var(--color-gold);
}

.course-path__item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.tabs {
  display: grid;
  gap: 22px;
}

.tabs__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tabs__button {
  min-height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-paper);
  color: var(--color-blue);
  padding: 9px 14px;
  font-weight: 500;
  cursor: pointer;
}

.tabs__button[aria-selected="true"] {
  background: var(--color-blue);
  color: var(--color-paper);
}

.tabs__panel {
  display: none;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.tabs__panel.is-active {
  display: block;
}

/* =========================================================
   08. Team
   ========================================================= */
.consultant-showcase {
  position: relative;
  overflow: hidden;
  padding: 86px 0 82px;
  background:
    radial-gradient(circle at -6% 14%, rgba(178, 220, 255, 0.52) 0 15%, transparent 15.4%),
    radial-gradient(circle at 100% 100%, rgba(178, 220, 255, 0.5) 0 18%, transparent 18.4%),
    linear-gradient(135deg, #eef8ff 0%, #f7fbff 52%, #ffffff 100%);
}

.consultant-showcase::before {
  content: "";
  position: absolute;
  top: 78px;
  left: max(20px, calc((100vw - 1160px) / 2));
  width: 132px;
  height: 100px;
  opacity: 0.38;
  background-image: radial-gradient(circle, rgba(47, 113, 199, 0.26) 2.5px, transparent 3px);
  background-size: 18px 18px;
}

.consultant-showcase::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 28px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(188, 225, 255, 0.58);
  opacity: 0.56;
}

.consultant-showcase .container {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100vw - 48px));
}

.consultant-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.68fr) minmax(0, 1.72fr);
  gap: 28px 46px;
  overflow: hidden;
  border: 1px solid rgba(220, 238, 252, 0.86);
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.54) 0 34%, rgba(255, 255, 255, 0.1) 34%),
    radial-gradient(circle at 94% 0%, rgba(196, 228, 255, 0.78) 0 11%, transparent 11.4%),
    linear-gradient(135deg, #f4fbff 0%, #e9f6ff 100%);
  padding: 52px 54px 36px;
  box-shadow: 0 28px 76px rgba(47, 113, 199, 0.13);
}

.consultant-panel::before {
  content: "";
  position: absolute;
  left: -94px;
  bottom: -110px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(190, 226, 255, 0.5);
}

.consultant-panel::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 38px;
  width: 240px;
  height: 160px;
  border-radius: 999px 999px 0 0;
  background: rgba(220, 241, 255, 0.58);
  transform: rotate(-8deg);
}

.consultant-showcase__header {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 320px;
  margin: 0;
  text-align: left;
}

.consultant-showcase__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, #dceeff, #cfe6fb);
  color: var(--color-blue);
  padding: 6px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.consultant-showcase__pill svg {
  width: 18px;
  height: 18px;
}

.consultant-showcase__header h2 {
  margin: 22px 0 12px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 2.08rem;
  line-height: 1.25;
}

.consultant-showcase__header h2 span {
  color: var(--color-blue);
}

.consultant-showcase__rule {
  display: block;
  width: 58px;
  height: 3px;
  margin: 0 0 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-sky));
}

.consultant-showcase__header p {
  max-width: 305px;
  margin: 0;
  color: #25548e;
  font-size: 0.9rem;
  line-height: 1.7;
}

.consultant-note {
  width: min(310px, 100%);
  margin: 30px 0 0;
}

.consultant-note img {
  width: 100%;
  height: auto;
}

.consultant-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
}

.consultant-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(220, 235, 249, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px 16px 22px;
  box-shadow: 0 18px 46px rgba(47, 113, 199, 0.12);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.consultant-card:hover,
.consultant-card:focus-within {
  border-color: rgba(47, 113, 199, 0.28);
  box-shadow: 12px 18px 0 2px rgba(0, 80, 157, 0.95), 0 30px 62px rgba(47, 113, 199, 0.2);
  transform: translateY(-8px);
}

.consultant-card--lead {
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(47, 113, 199, 0.12);
}

.consultant-card--lead:hover,
.consultant-card--lead:focus-within {
  border-color: rgba(47, 113, 199, 0.28);
  box-shadow: 12px 18px 0 2px rgba(0, 80, 157, 0.95), 0 30px 62px rgba(47, 113, 199, 0.2);
  transform: translateY(-8px);
}

.consultant-card--compact:hover,
.consultant-card--compact:focus-within {
  box-shadow: 12px 18px 0 2px rgba(0, 80, 157, 0.95), 0 30px 62px rgba(47, 113, 199, 0.2);
}

.consultant-card__media {
  position: relative;
  display: grid;
  place-items: end center;
  height: 258px;
  margin-bottom: 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 62% 50%, #bfe1ff 0 42%, transparent 42.5%),
    linear-gradient(135deg, rgba(232, 246, 255, 0.95), rgba(255, 255, 255, 0.85));
  overflow: hidden;
}

.consultant-card--lead .consultant-card__media {
  height: 258px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 58% 52%, #ffffff 0 10%, transparent 10.5%),
    radial-gradient(circle at 64% 52%, #2f8fe8 0 47%, transparent 47.5%),
    linear-gradient(145deg, #e7f4ff 0%, #ffffff 100%);
}

.consultant-card__media::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 24px;
  width: 42px;
  height: 42px;
  opacity: 0.68;
  background:
    linear-gradient(90deg, #2f71c7, #2f71c7) 8px 8px / 4px 22px no-repeat,
    linear-gradient(90deg, #2f71c7, #2f71c7) 23px 2px / 4px 20px no-repeat,
    linear-gradient(90deg, #2f71c7, #2f71c7) 36px 12px / 4px 18px no-repeat;
  transform: rotate(36deg);
  border-radius: 99px;
}

.consultant-card--compact .consultant-card__media::after {
  display: none;
}

.consultant-card__media img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 88%;
  height: 258px;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 260ms ease;
}

.consultant-card:hover .consultant-card__media img,
.consultant-card:focus-within .consultant-card__media img {
  transform: scale(1.035);
}

.consultant-card--lead:hover .consultant-card__media img,
.consultant-card--lead:focus-within .consultant-card__media img {
  transform: scale(1.035);
}

.consultant-card--lead .consultant-card__media img {
  max-width: 95%;
  height: 262px;
}

.consultant-card__media--photo {
  place-items: center;
  padding: 0;
}

.consultant-card__media--photo img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.consultant-card__badge {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-blue-2), var(--color-blue));
  color: var(--color-paper);
  padding: 7px 12px;
  font-size: 0.78rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 80, 157, 0.22);
  transition:
    box-shadow 260ms ease,
    transform 260ms ease;
}

.consultant-card__badge svg {
  width: 17px;
  height: 17px;
}

.consultant-card__badge--icon {
  left: 14px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
  background: linear-gradient(135deg, #7cc0ff, #2f71c7);
}

.consultant-card:hover .consultant-card__badge,
.consultant-card:focus-within .consultant-card__badge {
  box-shadow: 0 14px 28px rgba(0, 80, 157, 0.28);
  transform: translateY(-2px);
}

.consultant-card--compact:hover .consultant-card__badge--icon,
.consultant-card--compact:focus-within .consultant-card__badge--icon {
  transform: translateY(-3px) scale(1.06);
}

.consultant-card--compact .consultant-card__media:not(.consultant-card__media--photo) img {
  max-width: 96%;
  height: 262px;
}

.consultant-card__body {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 0 6px;
}

.consultant-card__body h3 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.16;
}

.consultant-card__role {
  margin: 0;
  color: var(--color-blue);
  font-size: 0.92rem;
  font-weight: 600;
}

.consultant-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.consultant-support {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 1.18fr) repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(218, 234, 249, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(47, 113, 199, 0.1);
}

.consultant-support__lead,
.consultant-support__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 18px;
}

.consultant-support__lead {
  background: linear-gradient(135deg, #0b70d3, var(--color-blue));
  color: var(--color-paper);
  font-weight: 600;
}

.consultant-support__item {
  border-left: 1px solid rgba(207, 227, 245, 0.85);
  color: #24446d;
  font-size: 0.82rem;
}

.consultant-support svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: currentColor;
}

.consultant-support__item svg {
  color: var(--color-blue-2);
}

.consultant-support__item span {
  display: grid;
  gap: 2px;
}

.consultant-support__item strong {
  display: block;
  color: var(--color-blue);
  font-size: 0.94rem;
}

.team-card {
  overflow: hidden;
}

.team-card__photo {
  min-height: 260px;
  background: linear-gradient(180deg, #eaf6ff, #ffffff);
}

.team-card__photo img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  object-position: bottom center;
}

.team-card__photo--cover img {
  object-fit: cover;
  object-position: center;
}

.team-card__body {
  padding: 22px;
}

.team-card__role {
  color: var(--color-blue);
  font-size: 0.9rem;
  font-weight: 500;
}

.team-card h3 {
  margin: 5px 0 10px;
  font-size: 1.08rem;
}

.team-card p {
  margin: 0 0 14px;
  color: var(--color-muted);
}

/* =========================================================
   09. Testimonials
   ========================================================= */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 18px;
}

.testimonial-marquee {
  position: relative;
  overflow: hidden;
  padding: 4px 0 18px;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.testimonial-marquee__track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: testimonial-marquee 42s linear infinite;
}

.testimonial-marquee:hover .testimonial-marquee__track,
.testimonial-marquee:focus-within .testimonial-marquee__track {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 360px;
  min-height: 178px;
  padding: 22px;
  border-left: 4px solid var(--color-blue-2);
}

.testimonial-card blockquote {
  margin: 0 0 16px;
  color: var(--color-ink-2);
  font-size: 0.96rem;
}

.testimonial-card cite {
  color: var(--color-blue);
  font-style: normal;
  font-weight: 500;
}

@keyframes testimonial-marquee {
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  font-variant-numeric: tabular-nums;
}

.score-table th,
.score-table td {
  border-bottom: 1px solid var(--color-line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.score-table th {
  background: var(--color-navy);
  color: var(--color-paper);
}

.score-table tr:last-child td {
  border-bottom: 0;
}

/* =========================================================
   10. Pricing, Enroll, Forms
   ========================================================= */
.price-card {
  padding: 28px;
}

.price-card__label {
  color: var(--color-muted);
  font-weight: 500;
}

.price-card__old {
  color: #778399;
  text-decoration: line-through;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0;
  color: var(--color-blue);
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
}

.price-card__price span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
}

.order-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(212, 232, 247, 0.64), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
}

.order-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 36px;
  overflow: hidden;
  border: 1px solid rgba(201, 225, 247, 0.88);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 16%, rgba(131, 211, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 248, 255, 0.9));
  padding: 36px;
  box-shadow: 0 24px 62px rgba(47, 113, 199, 0.14);
}

.order-banner::after {
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  content: "";
  border-radius: 999px;
  background: rgba(131, 211, 255, 0.2);
  pointer-events: none;
}

.order-banner__content,
.order-card {
  position: relative;
  z-index: 1;
}

.order-banner__content h2 {
  margin: 14px 0 14px;
  color: var(--color-ink);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.12;
}

.order-banner__content p {
  max-width: 680px;
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.order-banner__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.order-banner__features li {
  border: 1px solid rgba(201, 225, 247, 0.9);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: #254363;
  padding: 12px 14px;
}

.order-card {
  display: grid;
  gap: 16px;
  align-self: center;
  border: 1px solid rgba(201, 225, 247, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(3, 14, 60, 0.09);
}

.order-card img {
  width: 210px;
  margin-inline: auto;
}

.order-card__price {
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(201, 225, 247, 0.78);
  border-bottom: 1px solid rgba(201, 225, 247, 0.78);
  padding: 16px 0;
}

.order-card__price span,
.cart-card__header span {
  color: var(--color-blue);
  font-size: 0.85rem;
  font-weight: 500;
}

.order-card__price strong {
  color: var(--color-ink);
  font-size: 2.4rem;
  line-height: 1;
}

.order-card__price del {
  color: var(--color-muted);
}

.order-card__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-sm);
  background: #f4fbff;
  color: var(--color-muted);
  padding: 12px 14px;
}

.order-card__line strong {
  color: var(--color-ink);
  font-size: 1.2rem;
}

.page-hero--cart {
  background:
    radial-gradient(circle at 50% 0%, rgba(131, 211, 255, 0.26), transparent 30%),
    linear-gradient(180deg, #f2fbff 0%, #ffffff 100%);
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 28px;
  align-items: start;
}

.cart-card,
.cart-summary {
  border: 1px solid rgba(201, 225, 247, 0.88);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.cart-card {
  padding: 28px;
}

.cart-card__header h2,
.cart-summary h2 {
  margin: 8px 0 0;
  color: var(--color-ink);
  font-size: 1.55rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  border-top: 1px solid rgba(201, 225, 247, 0.78);
  padding-top: 24px;
}

.cart-item img {
  width: 150px;
}

.cart-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-ink);
}

.cart-item p {
  margin: 0;
  color: var(--color-muted);
}

.cart-item__price {
  color: var(--color-blue);
  font-size: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
}

.cart-summary {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.cart-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.cart-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(201, 225, 247, 0.72);
  padding-bottom: 12px;
}

.cart-summary dt {
  color: var(--color-muted);
}

.cart-summary dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 500;
  text-align: right;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  padding: 20px;
}

.step__num {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-paper);
  font-weight: 500;
}

.step h3 {
  margin: 0 0 6px;
  color: var(--color-blue);
}

.step p {
  margin: 0;
  color: var(--color-muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-paper);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--color-ink-2);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fbfdff;
  color: var(--color-ink);
  padding: 10px 12px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  display: none;
  border-radius: var(--radius-sm);
  background: #e9f8ef;
  color: #0f5c30;
  padding: 12px 14px;
  font-weight: 500;
}

.form-note.is-visible {
  display: block;
}

/* =========================================================
   11. FAQ And Footer
   ========================================================= */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  min-height: 56px;
  cursor: pointer;
  padding: 16px 18px;
  color: var(--color-blue);
  font-weight: 500;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--color-muted);
}

.site-footer {
  background: var(--color-navy);
  color: var(--color-paper);
  padding: 52px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 32px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  min-height: 34px;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

/* =========================================================
   12. Page Hero
   ========================================================= */
.page-hero {
  padding: 86px 0 70px;
  background:
    linear-gradient(120deg, rgba(3, 14, 60, 0.98), rgba(0, 80, 157, 0.86)),
    url("../assets/generated/ielts-hero.jpg") center / cover no-repeat;
  color: var(--color-paper);
}

.page-hero .section__header {
  margin-bottom: 0;
}

.page-hero h1 {
  color: var(--color-paper);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   13. Added Reference Pages
   ========================================================= */
.sales-hero,
.story-hero,
.review-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(131, 211, 255, 0.48), transparent 26%),
    linear-gradient(135deg, #f4fbff 0%, #e4f6ff 52%, #d8efff 100%);
}

.sales-hero::after,
.story-hero::after,
.review-hero::after {
  content: "";
  position: absolute;
  inset: auto -8vw -110px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(131, 211, 255, 0.28);
  pointer-events: none;
}

.sales-hero__inner,
.story-hero__grid,
.review-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 48px;
  min-height: 640px;
  padding: 74px 0;
}

.sales-hero h1,
.story-hero h1,
.review-hero h1 {
  margin: 14px 0 18px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(2.12rem, 4.6vw, 3.72rem);
  line-height: 1.04;
}

.sales-hero p,
.story-hero p,
.review-hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--color-muted);
  font-size: 1.02rem;
}

.sales-hero .pill-list {
  margin-top: 24px;
}

.sales-hero__card,
.credential-card,
.letter-panel,
.review-hero__score,
.price-card--featured {
  border: 1px solid rgba(217, 232, 248, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.sales-hero__card {
  display: grid;
  gap: 22px;
  padding: 30px;
}

.sales-hero__card img {
  width: 240px;
}

.sales-hero__price {
  display: grid;
  gap: 4px;
}

.sales-hero__price span,
.price-card__label {
  color: var(--color-blue);
  font-size: 0.9rem;
  font-weight: 500;
}

.sales-hero__price strong,
.price-card__price {
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
}

.sales-hero__price del,
.price-card__old {
  color: var(--color-muted);
}

body[data-page="paid-course"] .sales-hero {
  background:
    radial-gradient(circle at 92% 8%, rgba(202, 232, 255, 0.62), transparent 24%),
    radial-gradient(circle at 0% 92%, rgba(220, 243, 255, 0.64), transparent 28%),
    linear-gradient(135deg, #f4fbff 0%, #e6f6ff 56%, #dff3ff 100%);
}

body[data-page="paid-course"] .sales-hero__inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: 64px;
  min-height: 560px;
  padding: 66px 0 58px;
}

body[data-page="paid-course"] .sales-hero__content {
  max-width: 720px;
}

body[data-page="paid-course"] .sales-hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 4.6vw, 4.25rem);
}

body[data-page="paid-course"] .sales-hero p {
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.8;
}

body[data-page="paid-course"] .sales-hero .button-row {
  margin-top: 22px;
}

body[data-page="paid-course"] .sales-hero .button {
  min-width: 150px;
  border-radius: var(--radius-sm);
}

body[data-page="paid-course"] .sales-hero .pill-list {
  gap: 10px;
  margin-top: 26px;
}

body[data-page="paid-course"] .sales-hero .pill-list li {
  background: rgba(255, 255, 255, 0.72);
}

body[data-page="paid-course"] .sales-hero__card {
  gap: 24px;
  align-self: center;
  max-width: 430px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.93);
  padding: 38px 42px;
  box-shadow: 0 24px 68px rgba(47, 113, 199, 0.14);
}

body[data-page="paid-course"] .sales-hero__card img {
  width: min(250px, 82%);
  margin-inline: auto;
}

body[data-page="paid-course"] .sales-hero__price {
  gap: 8px;
  border-bottom: 1px solid rgba(201, 225, 247, 0.78);
  padding-bottom: 18px;
}

body[data-page="paid-course"] .sales-hero__price strong {
  font-size: clamp(2.5rem, 4.2vw, 3.65rem);
}

body[data-page="paid-course"] .sales-hero__price del {
  font-size: 0.96rem;
}

body[data-page="paid-course"] .proof-strip {
  margin-top: -28px;
  padding: 0 0 56px;
  background: linear-gradient(180deg, #dff3ff 0%, #f6fbff 82%, #fff 100%);
}

body[data-page="paid-course"] .proof-strip__grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 225, 247, 0.86);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(3, 14, 60, 0.08);
}

body[data-page="paid-course"] .proof-strip__item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 18px 24px;
  box-shadow: none;
}

body[data-page="paid-course"] .proof-strip__item + .proof-strip__item {
  border-left: 1px solid rgba(201, 225, 247, 0.72);
}

body[data-page="paid-course"] .proof-strip__item::after {
  display: none;
}

body[data-page="paid-course"] .proof-strip__icon {
  position: static;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: rgba(0, 80, 157, 0.74);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body[data-page="paid-course"] .proof-strip__content {
  display: grid;
  gap: 2px;
}

body[data-page="paid-course"] .proof-strip__item strong {
  font-size: 1.8rem;
}

body[data-page="paid-course"] .proof-strip__note {
  margin-top: 0;
}

.media-frame--portrait {
  display: grid;
  place-items: end center;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 48%, rgba(131, 211, 255, 0.58), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 248, 255, 0.9));
}

.media-frame--portrait img {
  width: min(78%, 360px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  align-items: center;
  gap: 42px;
}

.price-card--featured {
  padding: 28px;
}

.price-card--featured h3 {
  margin: 8px 0 6px;
  font-size: 1.42rem;
}

.price-card__sub {
  margin: 0 0 18px;
  color: var(--color-muted);
}

.price-card--featured .button {
  width: 100%;
  margin-top: 18px;
}

.story-hero__portrait {
  display: grid;
  place-items: end center;
  min-height: 540px;
  border-radius: 48px;
  background: radial-gradient(circle at 50% 44%, rgba(131, 211, 255, 0.68), transparent 35%);
}

.story-hero__portrait img {
  width: min(78%, 390px);
}

.letter-panel {
  padding: 34px;
}

.letter-panel h2,
.credential-card h3 {
  margin: 14px 0 18px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.64rem;
  line-height: 1.2;
}

.letter-panel p {
  margin: 0 0 16px;
  color: var(--color-muted);
}

.letter-panel p:last-child {
  margin-bottom: 0;
}

.credential-card {
  padding: 30px;
}

body[data-page="about-david"] {
  background:
    radial-gradient(circle at 14% 4%, rgba(245, 224, 180, 0.16), transparent 24%),
    linear-gradient(180deg, #fffaf2 0%, #fbf8f1 46%, #ffffff 100%);
}

.david-page {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 250, 242, 0.92), rgba(255, 250, 242, 0.92)),
    repeating-linear-gradient(0deg, rgba(3, 14, 60, 0.018) 0 1px, transparent 1px 4px);
}

.david-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 45%, rgba(187, 222, 247, 0.5) 0 18%, transparent 18.3%),
    radial-gradient(circle at 95% 84%, rgba(83, 157, 215, 0.26) 0 18%, transparent 18.4%),
    linear-gradient(120deg, #fffaf2 0%, #fffdf8 48%, #f4fbff 100%);
}

.david-hero::before,
.david-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.david-hero::before {
  top: -70px;
  left: -92px;
  width: 420px;
  height: 160px;
  border-radius: 50%;
  border-top: 15px solid rgba(47, 113, 199, 0.2);
  border-bottom: 5px solid rgba(47, 113, 199, 0.1);
  transform: rotate(-18deg);
}

.david-hero::after {
  right: -110px;
  bottom: -82px;
  width: 540px;
  height: 210px;
  border-radius: 50%;
  border-top: 34px solid rgba(47, 113, 199, 0.2);
  border-bottom: 14px solid rgba(47, 113, 199, 0.09);
  transform: rotate(-10deg);
}

.david-hero__score {
  position: absolute;
  top: 56px;
  left: 50%;
  z-index: 1;
  color: rgba(47, 113, 199, 0.62);
  font-family: "Bradley Hand", "Marker Felt", var(--font-serif);
  font-size: 1.1rem;
  transform: translateX(-62%) rotate(-6deg);
}

.david-hero__score::after {
  position: absolute;
  top: -24px;
  left: 100%;
  width: 90px;
  height: 34px;
  content: "";
  border-top: 2px dashed rgba(47, 113, 199, 0.28);
  border-radius: 50%;
  transform: rotate(12deg);
}

.david-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  align-items: end;
  gap: 56px;
  min-height: 640px;
  padding-top: 72px;
}

.david-hero__copy {
  align-self: center;
  max-width: 700px;
  padding-bottom: 80px;
}

.david-pill {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  border-radius: 999px;
  background: rgba(212, 232, 247, 0.9);
  color: var(--color-blue);
  padding: 6px 15px;
  font-size: 0.82rem;
  font-weight: 500;
}

.david-pill--small {
  min-height: 27px;
  padding: 5px 13px;
  font-size: 0.76rem;
}

.david-pill--dark {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.david-hero h1 {
  margin: 18px 0 22px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(3rem, 4.7vw, 4.35rem);
  line-height: 1.05;
}

.david-hero h1 span {
  position: relative;
  display: inline-block;
  margin-left: 12px;
  color: var(--color-blue);
  font-family: "Bradley Hand", "Marker Felt", "Snell Roundhand", cursive;
  font-size: 0.72em;
  font-weight: 400;
  z-index: 1;
  transform: rotate(-2deg);
}

.david-hero h1 span::after {
  position: absolute;
  left: -3%;
  right: -6%;
  bottom: 0.04em;
  height: 0.16em;
  content: "";
  border-radius: 999px 70% 999px 70%;
  background: rgba(245, 195, 62, 0.5);
  z-index: -1;
  transform: rotate(-2deg);
}

.david-highlight,
.david-marker {
  position: relative;
  z-index: 1;
  display: inline;
  color: inherit;
  background:
    linear-gradient(transparent 56%, rgba(245, 195, 62, 0.48) 56% 88%, transparent 88%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.04em;
}

.david-marker {
  background:
    linear-gradient(transparent 50%, rgba(245, 195, 62, 0.56) 50% 90%, transparent 90%);
  padding-inline: 0.06em;
}

.david-marker::after {
  position: absolute;
  left: -0.16em;
  right: -0.18em;
  bottom: -0.09em;
  z-index: -1;
  height: 0.64em;
  content: "";
  border: 2px solid rgba(245, 195, 62, 0.58);
  border-top: 0;
  border-radius: 50%;
  transform: rotate(-2deg);
}

.david-highlight--dark {
  background:
    linear-gradient(transparent 58%, rgba(245, 195, 62, 0.64) 58% 88%, transparent 88%);
}

.david-hero__copy p,
.david-letter p,
.david-method__copy p,
.david-support__content p,
.david-cta p {
  color: #4c5f76;
  font-size: 1rem;
  line-height: 2;
}

.david-hero__portrait {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  min-height: 560px;
}

.david-hero__portrait::before {
  position: absolute;
  right: 86px;
  bottom: 104px;
  width: min(430px, 38vw);
  height: min(430px, 38vw);
  content: "";
  border-radius: 50%;
  border: 24px solid rgba(47, 113, 199, 0.13);
  box-shadow:
    0 0 0 18px rgba(47, 113, 199, 0.055),
    inset 0 0 0 12px rgba(255, 255, 255, 0.42);
  transform: rotate(-18deg);
}

.david-hero__person {
  position: relative;
  z-index: 2;
  width: min(430px, 39vw);
  max-width: none;
  filter: drop-shadow(0 24px 42px rgba(0, 80, 157, 0.16));
}

.david-hero__note {
  position: absolute;
  right: -78px;
  top: 198px;
  z-index: 3;
  width: min(156px, 15vw);
  max-width: none;
  height: auto;
  filter: none;
  transform: rotate(-2deg);
}

.david-paper {
  position: relative;
  z-index: 3;
  margin-top: -18px;
  padding-bottom: 56px;
}

.david-paper__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 42px;
  border: 1px solid rgba(202, 193, 177, 0.34);
  background:
    linear-gradient(rgba(255, 252, 246, 0.94), rgba(255, 252, 246, 0.94)),
    repeating-linear-gradient(0deg, rgba(3, 14, 60, 0.018) 0 1px, transparent 1px 5px);
  padding: 48px 62px;
  box-shadow: 0 22px 48px rgba(68, 56, 39, 0.11);
}

.david-paper__card::before,
.david-paper__card::after {
  position: absolute;
  width: 88px;
  height: 36px;
  content: "";
  background: rgba(230, 202, 143, 0.42);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.2);
}

.david-paper__card::before {
  top: 26px;
  left: -28px;
  transform: rotate(-38deg);
}

.david-paper__card::after {
  right: -22px;
  bottom: 16px;
  transform: rotate(-36deg);
}

.david-letter h2,
.david-credentials h2,
.david-method h2,
.david-support h2,
.david-cta h2 {
  margin: 14px 0 18px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  line-height: 1.24;
}

.david-letter h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.75rem;
}

.david-letter h2 svg {
  width: 48px;
  height: 34px;
  fill: none;
  stroke: var(--color-ink-2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transform: rotate(14deg);
}

.david-letter p {
  margin: 0 0 18px;
}

.david-letter p:last-child {
  margin-bottom: 0;
}

.david-credentials {
  border-left: 1px solid rgba(16, 45, 82, 0.24);
  padding-left: 60px;
}

.david-credentials h2 {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-top: 34px;
  font-size: 2rem;
}

.david-credentials h2::after {
  position: absolute;
  left: -0.08em;
  right: -0.2em;
  bottom: -3px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: rgba(245, 195, 62, 0.42);
  z-index: -1;
  transform: rotate(-2deg);
}

.david-credentials ul {
  display: grid;
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.david-credentials li {
  position: relative;
  color: #283d59;
  padding-left: 34px;
  line-height: 1.8;
}

.david-credentials li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "✓";
  background: linear-gradient(135deg, #5aa9ee, #1f62b7);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
}

.david-scoreline {
  padding: 18px 0 86px;
  text-align: center;
}

.david-scoreline__header {
  display: grid;
  justify-items: center;
  text-align: center;
}

.david-scoreline__header .david-pill {
  margin-bottom: 6px;
}

.david-scoreline__header h2 {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 10px auto 42px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.35;
}

.david-scoreline__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 920px;
  margin-inline: auto;
}

.david-scoreline__items article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.david-scoreline__items article + article::before {
  position: absolute;
  top: 34px;
  right: calc(100% + 2px);
  width: 66px;
  height: 18px;
  content: "";
  border-top: 2px dashed rgba(47, 113, 199, 0.28);
  border-radius: 50%;
}

.david-scoreline__items svg {
  width: 48px;
  height: 48px;
  color: var(--color-blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.david-scoreline__items strong {
  color: var(--color-blue);
  font-family: "Bradley Hand", "Marker Felt", var(--font-serif);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
}

.david-scoreline__items span {
  position: relative;
  color: #254363;
  font-size: 0.9rem;
  font-weight: 500;
}

.david-scoreline__items span::after {
  position: absolute;
  left: -0.12em;
  right: -0.12em;
  bottom: -5px;
  height: 7px;
  content: "";
  border-radius: 999px;
  background: rgba(245, 221, 86, 0.72);
  z-index: -1;
}

.david-method {
  padding: 78px 0;
  background: rgba(245, 250, 254, 0.72);
}

.david-method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 72px;
  align-items: start;
}

.david-method__copy h2,
.david-support h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.david-method__copy h2 mark {
  color: inherit;
}

.david-steps {
  display: grid;
  gap: 0;
}

.david-steps article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  border-bottom: 1px solid rgba(47, 113, 199, 0.16);
  padding: 0 0 28px;
}

.david-steps article + article {
  padding-top: 28px;
}

.david-steps strong {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 42px;
  background: rgba(206, 232, 249, 0.75);
  color: var(--color-blue);
  font-family: "Bradley Hand", "Marker Felt", var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  transform: rotate(-6deg);
}

.david-steps h3 {
  margin: 0 0 6px;
  color: var(--color-ink);
  font-size: 1.08rem;
}

.david-steps p {
  margin: 0;
  color: #5d6d80;
  font-size: 0.95rem;
}

.david-support {
  padding: 76px 0 74px;
}

.david-support__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.david-support__image {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #f7efe2;
  box-shadow: 0 20px 46px rgba(68, 56, 39, 0.11);
}

.david-support__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  filter: sepia(0.18) saturate(0.8) brightness(1.08);
}

.david-support__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.david-support__features article {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
}

.david-support__features svg {
  width: 40px;
  height: 40px;
  color: var(--color-blue);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.david-support__features h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 0.96rem;
}

.david-support__features p {
  margin: 0;
  color: #607083;
  font-size: 0.78rem;
  line-height: 1.7;
}

.david-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 78%, rgba(131, 211, 255, 0.16), transparent 22%),
    radial-gradient(circle at 12% 8%, rgba(99, 177, 239, 0.16), transparent 25%),
    linear-gradient(145deg, #09244a 0%, #123d70 100%);
  color: #fff;
  padding: 78px 0 62px;
}

.david-cta::before {
  position: absolute;
  top: -48px;
  left: -6vw;
  width: 112vw;
  height: 92px;
  content: "";
  border-radius: 0 0 52% 48% / 0 0 100% 100%;
  background: rgba(255, 250, 242, 0.98);
  transform: rotate(-1.4deg);
}

.david-cta::after {
  position: absolute;
  right: 8%;
  bottom: 18px;
  width: 128px;
  height: 98px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  opacity: 0.72;
  transform: rotate(-12deg);
}

.david-cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
}

.david-cta h2 {
  margin-top: 16px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.david-cta p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.david-cta .button-row {
  justify-content: flex-end;
}

.david-cta .button--ghost {
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
}

.metric-card {
  border: 1px solid rgba(217, 232, 248, 0.92);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.metric-card strong {
  display: block;
  color: var(--color-blue);
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
}

.review-hero__score {
  padding: 34px;
  text-align: center;
}

.review-hero__score span {
  color: var(--color-blue);
  font-weight: 500;
}

.review-hero__score strong {
  display: block;
  margin: 8px 0;
  color: var(--color-blue-2);
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
}

.review-hero__score p {
  margin: 0;
}

.case-study {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 30px;
  align-items: start;
}

.case-study--reverse {
  grid-template-columns: 0.72fr 1.28fr;
}

.case-study--system {
  grid-template-columns: 0.74fr 1.26fr;
  gap: 24px;
  align-items: stretch;
}

.case-study--interactive {
  grid-template-columns: 0.74fr 1.16fr;
  align-items: stretch;
  gap: 20px;
  padding: 6px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(238, 250, 255, 0.86), rgba(255, 255, 255, 0.95));
}

.case-study__intro {
  position: sticky;
  top: 100px;
  border-left: 4px solid var(--color-blue-2);
  background: var(--color-paper);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.case-study__intro h3 {
  margin: 8px 0 12px;
  font-size: 1.5rem;
  line-height: 1.25;
}

.case-study__intro p {
  margin: 0 0 16px;
  color: var(--color-muted);
}

.case-study__intro cite {
  color: var(--color-blue);
  font-style: normal;
  font-weight: 500;
}

.case-study--interactive .case-study__intro {
  position: relative;
  top: auto;
  min-height: 100%;
  border-left: 0;
  border-right: 0;
  border: 1px solid rgba(201, 225, 247, 0.82);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 250, 255, 0.7));
  padding: 48px 38px 34px;
  box-shadow: 0 24px 60px rgba(3, 14, 60, 0.09);
}

.case-study--interactive .case-study__intro::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 113, 199, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 113, 199, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.6), transparent 72%);
}

.case-study__tape {
  position: absolute;
  top: 30px;
  right: 34%;
  width: 92px;
  height: 27px;
  border-radius: 5px;
  background: rgba(0, 80, 157, 0.08);
  transform: rotate(-2deg);
}

.case-study--interactive .case-study__intro h3 {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-top: 30px;
  font-size: 1.72rem;
  line-height: 1.32;
}

.case-study--interactive .case-study__intro p {
  position: relative;
  z-index: 1;
  max-width: 460px;
  font-size: 0.96rem;
}

.case-study--interactive .number-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.case-study--interactive .number-kicker::before {
  width: 10px;
  height: 10px;
  content: "";
  border: 3px solid rgba(47, 113, 199, 0.22);
  border-radius: 999px;
  background: var(--color-blue);
}

.case-study__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.case-study__chips span {
  border: 1px solid rgba(201, 225, 247, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-ink-2);
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 500;
}

.case-study__note {
  position: relative;
  z-index: 1;
  margin-top: 58px;
  border: 1px solid rgba(201, 225, 247, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  padding: 20px 22px;
  box-shadow: 0 18px 36px rgba(3, 14, 60, 0.08);
}

.case-study__note h4 {
  margin: 0 0 8px;
  color: var(--color-ink);
  font-size: 0.95rem;
}

.case-study__note p {
  margin: 0;
  font-size: 0.9rem;
}

.case-study--system .case-study__intro {
  position: relative;
  top: auto;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(201, 225, 247, 0.82);
  border-left: 0;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 250, 255, 0.84));
  padding: 28px;
  box-shadow: 0 22px 56px rgba(3, 14, 60, 0.09);
}

.case-study--system .case-study__intro::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 113, 199, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 113, 199, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.55), transparent 78%);
}

.case-study--system .number-kicker,
.case-study--system .case-study__intro h3,
.case-study--system .case-study__intro p,
.case-study--system .case-study__chips {
  position: relative;
  z-index: 1;
}

.case-study--system .case-study__intro h3 {
  max-width: 360px;
  margin-top: 18px;
  font-size: 1.2rem;
  line-height: 1.36;
}

.case-study--system .case-study__intro p {
  max-width: 390px;
  font-size: 0.9rem;
}

.case-study__leaf {
  position: absolute;
  right: 18px;
  bottom: -8px;
  width: 120px;
  height: 104px;
  opacity: 0.22;
}

.case-study__leaf::before {
  position: absolute;
  left: 50px;
  bottom: 0;
  width: 2px;
  height: 92px;
  content: "";
  background: var(--color-blue-2);
  transform: rotate(20deg);
}

.case-study__leaf::after {
  position: absolute;
  inset: 16px 0 0 20px;
  content: "";
  background:
    radial-gradient(ellipse at center, rgba(47, 113, 199, 0.8) 0 46%, transparent 48%) 0 8px / 30px 18px no-repeat,
    radial-gradient(ellipse at center, rgba(47, 113, 199, 0.8) 0 46%, transparent 48%) 38px 0 / 30px 18px no-repeat,
    radial-gradient(ellipse at center, rgba(47, 113, 199, 0.8) 0 46%, transparent 48%) 62px 32px / 30px 18px no-repeat;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid rgba(201, 225, 247, 0.82);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 250, 255, 0.78));
  padding: 14px;
  box-shadow: 0 22px 56px rgba(3, 14, 60, 0.08);
}

.system-card {
  min-height: 158px;
  border: 1px solid rgba(201, 225, 247, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 18px;
  box-shadow: 0 12px 26px rgba(3, 14, 60, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .system-card:hover {
    border-color: rgba(131, 211, 255, 0.96);
    box-shadow: 0 18px 38px rgba(3, 14, 60, 0.11);
    transform: translateY(-4px);
  }
}

.system-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.system-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(47, 113, 199, 0.1);
  color: var(--color-blue);
}

.system-card__icon svg {
  width: 17px;
  height: 17px;
}

.system-card__num {
  color: var(--color-blue);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 500;
}

.system-card h4 {
  margin: 0 0 9px;
  color: var(--color-ink);
  font-size: 0.98rem;
  line-height: 1.35;
}

.system-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.subject-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.subject-tabs {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  border: 1px solid rgba(201, 225, 247, 0.86);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 249, 255, 0.9));
  padding: 34px;
  box-shadow: 0 24px 60px rgba(3, 14, 60, 0.09);
}

.subject-tabs__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.subject-tabs__head-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.subject-tabs__icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(201, 225, 247, 0.88);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(229, 243, 255, 0.78));
  box-shadow: 0 10px 24px rgba(3, 14, 60, 0.07);
}

.subject-tabs__icon::before {
  display: block;
  width: 18px;
  height: 18px;
  margin: 15px auto;
  content: "";
  border: 2px solid var(--color-blue);
  border-radius: 4px;
  box-shadow:
    inset 0 -5px 0 rgba(47, 113, 199, 0.12),
    5px -5px 0 -3px var(--color-blue);
}

.subject-tabs__head h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.14rem;
  line-height: 1.25;
}

.subject-tabs__head p {
  margin: 7px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.subject-tabs__badge {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(47, 113, 199, 0.1);
  color: var(--color-blue);
  padding: 8px 13px;
  font-size: 0.8rem;
  font-weight: 500;
}

.subject-tabs__controls {
  justify-self: stretch;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(201, 225, 247, 0.94);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(3, 14, 60, 0.06);
}

.subject-tabs__button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.subject-tabs__button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-blue);
  box-shadow:
    0 10px 24px rgba(3, 14, 60, 0.09),
    inset 0 -2px 0 rgba(47, 113, 199, 0.48);
}

.subject-tabs__panel {
  display: none;
  position: relative;
  overflow: hidden;
  min-height: 316px;
  border: 1px solid rgba(201, 225, 247, 0.9);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.96)),
    linear-gradient(rgba(47, 113, 199, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 113, 199, 0.045) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  padding: 34px;
  box-shadow: 0 20px 44px rgba(3, 14, 60, 0.08);
}

.subject-tabs__panel::after {
  position: absolute;
  right: -58px;
  bottom: -58px;
  width: 190px;
  height: 190px;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(131, 211, 255, 0.2), rgba(131, 211, 255, 0.08) 58%, transparent 60%);
}

.subject-tabs__panel.is-active {
  display: block;
}

.subject-tabs__status {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.subject-tabs__status h4 {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.42rem;
  line-height: 1.15;
}

.subject-tabs__status span {
  border-radius: 999px;
  background: rgba(47, 113, 199, 0.1);
  color: var(--color-blue);
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 500;
}

.subject-tabs__status em {
  justify-self: end;
  border-radius: 999px;
  background: rgba(47, 113, 199, 0.1);
  color: var(--color-blue);
  padding: 7px 12px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
}

.subject-tabs__panel p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.subject-tabs__direction {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  border-radius: 14px;
  background: rgba(229, 243, 255, 0.78);
  color: var(--color-ink-2);
  padding: 14px 18px;
  font-size: 0.92rem;
}

.subject-tabs__direction strong {
  color: var(--color-blue);
  font-weight: 500;
}

.subject-tabs__metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.subject-tabs__metrics span {
  border: 1px solid rgba(201, 225, 247, 0.88);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-blue);
  padding: 12px 14px;
  font-size: 0.84rem;
  text-align: center;
}

.subject-tabs__actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.subject-tabs__actions .button {
  min-width: 210px;
  justify-content: center;
}

.subject-tabs__actions > a:not(.button) {
  color: var(--color-blue);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.subject-breakdown:not(.subject-tabs) article {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-paper);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.subject-breakdown:not(.subject-tabs) h4,
.resource-card h4 {
  margin: 0 0 10px;
  color: var(--color-ink);
  font-size: 1.02rem;
}

.subject-breakdown:not(.subject-tabs) p,
.resource-card h4 + p {
  margin: 0;
  color: var(--color-muted);
}

.testimonial-track--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-marquee .testimonial-track--wide {
  grid-template-columns: none;
}

body[data-page="reviews"] .site-header {
  position: relative;
}

.reviews-final-cta {
  min-height: 360px;
  display: grid;
  place-items: center;
  background: #050f3d;
  padding: 104px 0 98px;
}

.reviews-final-cta .container {
  width: min(760px, calc(100vw - 48px));
}

.reviews-final-cta .section__header {
  max-width: 760px;
  margin-bottom: 32px;
}

.reviews-final-cta .section__eyebrow {
  min-height: 37px;
  border: 0;
  background: #e5d9b7;
  color: #31516c;
  padding: 7px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: none;
}

.reviews-final-cta .section__header h2 {
  margin: 24px 0 20px;
  color: #fff;
  font-size: clamp(2.08rem, 3.25vw, 2.72rem);
  line-height: 1.24;
  letter-spacing: 0;
}

.reviews-final-cta .section__header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.9;
}

.reviews-final-cta .button-row {
  gap: 20px;
}

.reviews-final-cta .button {
  min-width: 168px;
  min-height: 54px;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 1rem;
}

.reviews-final-cta .button--light {
  border-color: #fff;
  background: #fff;
  color: #0a4772;
}

.reviews-final-cta .button--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
}

@media (max-width: 640px) {
  .reviews-final-cta {
    min-height: 390px;
    padding: 74px 0 76px;
  }

  .reviews-final-cta .container {
    width: min(100% - 34px, 520px);
  }

  .reviews-final-cta .section__header h2 {
    font-size: 1.82rem;
  }

  .reviews-final-cta .section__header p {
    font-size: 0.96rem;
  }

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

  .reviews-final-cta .button {
    min-width: min(100%, 220px);
  }
}

/* =========================================================
   14. Responsive
   ========================================================= */
@media (max-width: 980px) {
  .section__header h1,
  .section__header h2 {
    font-size: 1.82rem;
  }

  .section__header h2 {
    font-size: 1.66rem;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(131, 211, 255, 0.36);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.98);
    padding: 12px;
    box-shadow: var(--shadow-card);
  }

  .nav__links.is-open {
    display: flex;
  }

  .hero__inner,
  .sales-hero__inner,
  .story-hero__grid,
  .review-hero__grid,
  .split,
  .grid--2,
  .grid--3,
  .grid--4,
  .pricing-layout,
  .case-study,
  .case-study--reverse,
  .case-study--system,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 64px 0 54px;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 540px;
  }

  .hero__meta-item {
    min-height: 132px;
  }

  .sales-hero__inner,
  .story-hero__grid,
  .review-hero__grid {
    min-height: auto;
    padding: 64px 0;
  }

  .order-banner,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .order-card {
    max-width: 480px;
  }

  body[data-page="paid-course"] .sales-hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 58px 0 70px;
  }

  .sales-hero__card {
    max-width: 560px;
  }

  body[data-page="paid-course"] .sales-hero__card {
    justify-self: start;
    max-width: 520px;
  }

  body[data-page="paid-course"] .proof-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="paid-course"] .proof-strip__item:nth-child(odd) {
    border-left: 0;
  }

  body[data-page="paid-course"] .proof-strip__item:nth-child(n+3) {
    border-top: 1px solid rgba(201, 225, 247, 0.72);
  }

  .david-hero {
    min-height: auto;
  }

  .david-hero__score {
    top: 34px;
    left: 56%;
  }

  .david-hero__grid,
  .david-paper__card,
  .david-method__grid,
  .david-support__grid,
  .david-cta__grid {
    grid-template-columns: 1fr;
  }

  .david-hero__grid {
    gap: 12px;
    min-height: auto;
    padding-top: 80px;
  }

  .david-hero__copy {
    max-width: 680px;
    padding-bottom: 0;
  }

  .david-hero__portrait {
    min-height: 450px;
  }

  .david-hero__portrait::before {
    right: 50%;
    bottom: 76px;
    width: 360px;
    height: 360px;
    transform: translateX(50%) rotate(-18deg);
  }

  .david-hero__person {
    width: min(340px, 72vw);
  }

  .david-hero__note {
    right: max(22px, 7vw);
    top: 88px;
    width: min(140px, 22vw);
  }

  .david-paper__card {
    gap: 34px;
    padding: 40px;
  }

  .david-credentials {
    border-left: 0;
    border-top: 1px solid rgba(16, 45, 82, 0.2);
    padding-top: 34px;
    padding-left: 0;
  }

  .david-credentials h2 {
    margin-top: 0;
  }

  .david-scoreline__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }

  .david-scoreline__items article + article::before {
    display: none;
  }

  .david-method__grid,
  .david-support__grid {
    gap: 36px;
  }

  .david-support__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .david-cta__grid {
    align-items: start;
  }

  .case-study__intro {
    position: static;
  }

  .case-study--interactive .case-study__intro {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 225, 247, 0.7);
  }

  .case-study--system .case-study__intro {
    min-height: auto;
  }

  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-study--interactive {
    gap: 16px;
  }

  .subject-tabs {
    padding: 26px;
  }

  .feedback-versions {
    max-width: 760px;
    margin-inline: auto;
  }

  .feedback-version-card img {
    height: 230px;
  }

  .speaking-examples {
    max-width: 720px;
    margin-inline: auto;
  }

  .consultant-showcase {
    padding: 78px 0 72px;
  }

  .consultant-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 38px 30px 30px;
  }

  .consultant-showcase__header {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
  }

  .consultant-showcase__header h2 {
    font-size: 1.88rem;
  }

  .consultant-showcase__rule {
    margin-inline: auto;
  }

  .consultant-showcase__header p {
    max-width: 560px;
    margin-inline: auto;
  }

  .consultant-note {
    margin-inline: auto;
  }

  .consultant-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    max-width: none;
    margin-inline: 0;
  }

  .consultant-card--lead {
    box-shadow: 0 18px 46px rgba(47, 113, 199, 0.12);
  }

  .consultant-card:hover,
  .consultant-card:focus-within,
  .consultant-card--lead:hover,
  .consultant-card--lead:focus-within,
  .consultant-card--compact:hover,
  .consultant-card--compact:focus-within {
    box-shadow: 10px 16px 0 2px rgba(0, 80, 157, 0.95), 0 24px 50px rgba(47, 113, 199, 0.18);
    transform: translateY(-8px);
  }

  .consultant-card__media {
    height: 218px;
  }

  .consultant-card__media img {
    height: 218px;
  }

  .consultant-card--lead .consultant-card__media {
    height: 218px;
  }

  .consultant-card--lead .consultant-card__media img {
    height: 222px;
  }

  .consultant-card--compact .consultant-card__media:not(.consultant-card__media--photo) img {
    height: 222px;
  }

  .consultant-support {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultant-support__lead {
    grid-column: 1 / -1;
  }

  .consultant-support__item:nth-child(2n) {
    border-left: 0;
  }

  .course-architecture {
    padding: 34px;
  }

  .course-architecture__decor {
    right: 30px;
    width: 128px;
  }

  .course-architecture__header h2 {
    max-width: 600px;
    font-size: 1.76rem;
  }

  .course-architecture__features,
  .course-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__portrait {
    display: none;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(240, 250, 255, 0.97), rgba(224, 245, 255, 0.88)),
      url("../assets/generated/ielts-hero.jpg") center / cover no-repeat;
  }

  .proof-strip {
    margin-top: 0;
    padding: 26px 0 38px;
  }

  .proof-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .method-flow__arrow {
    width: 84px;
    height: 104px;
    transform: rotate(90deg);
  }

  .method-card {
    height: auto;
    min-height: 210px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 50px 0 44px;
  }

  .hero__brand-logo {
    width: min(236px, 72vw);
  }

  .hero__eyebrow {
    width: fit-content;
    max-width: 100%;
    padding-inline: 10px 12px;
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: 2.52rem;
  }

  .hero h1 span:first-child::after {
    left: 48%;
  }

  .hero__meta {
    gap: 12px;
  }

  .hero__meta-item {
    min-height: 118px;
    padding: 15px 16px;
  }

  .hero__meta-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
  }

  .hero__meta-icon svg {
    width: 23px;
    height: 23px;
  }

  .hero__meta-item strong [data-counter] {
    font-size: 1.72rem;
  }

  .sales-hero h1,
  .story-hero h1,
  .review-hero h1 {
    font-size: 2.18rem;
  }

  body[data-page="paid-course"] .sales-hero h1 {
    font-size: 2.6rem;
  }

  .sales-hero__card,
  .letter-panel,
  .credential-card,
  .review-hero__score,
  .price-card--featured {
    border-radius: 18px;
    padding: 22px;
  }

  .sales-hero__price strong,
  .price-card__price {
    font-size: 2.35rem;
  }

  .david-hero__score {
    display: none;
  }

  .david-hero__grid {
    padding-top: 56px;
  }

  .david-hero h1 {
    font-size: 2.92rem;
  }

  .david-hero h1 span {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-top: 4px;
    margin-left: 0;
  }

  .david-hero__copy p,
  .david-letter p,
  .david-method__copy p,
  .david-support__content p,
  .david-cta p {
    font-size: 0.95rem;
  }

  .david-hero__portrait {
    min-height: 390px;
  }

  .david-hero__portrait::before {
    width: 300px;
    height: 300px;
  }

  .david-hero__person {
    width: min(300px, 80vw);
  }

  .david-hero__note {
    display: none;
  }

  .david-paper {
    margin-top: 0;
  }

  .david-paper__card {
    padding: 28px 22px;
  }

  .david-paper__card::before,
  .david-paper__card::after {
    width: 66px;
    height: 28px;
  }

  .david-letter h2,
  .david-credentials h2 {
    font-size: 1.48rem;
  }

  .david-letter h2 {
    align-items: flex-start;
  }

  .david-scoreline,
  .david-method,
  .david-support {
    padding: 58px 0;
  }

  .david-scoreline__items,
  .david-support__features {
    grid-template-columns: 1fr;
  }

  .david-steps article {
    grid-template-columns: 64px 1fr;
    gap: 18px;
  }

  .david-steps strong {
    width: 56px;
    height: 36px;
    font-size: 1.62rem;
  }

  .david-cta {
    padding: 60px 0 50px;
  }

  body[data-page="paid-course"] .sales-hero__card {
    padding: 26px;
  }

  body[data-page="paid-course"] .proof-strip {
    margin-top: -20px;
    padding-bottom: 44px;
  }

  body[data-page="paid-course"] .proof-strip__grid {
    grid-template-columns: 1fr;
  }

  body[data-page="paid-course"] .proof-strip__item,
  body[data-page="paid-course"] .proof-strip__item + .proof-strip__item {
    border-left: 0;
  }

  body[data-page="paid-course"] .proof-strip__item + .proof-strip__item {
    border-top: 1px solid rgba(201, 225, 247, 0.72);
  }

  .story-hero__portrait,
  .media-frame--portrait {
    min-height: 360px;
  }

  .review-hero__score strong {
    font-size: 3.7rem;
  }

  .subject-breakdown,
  .testimonial-track--wide:not(.testimonial-marquee__track) {
    grid-template-columns: 1fr;
  }

  .subject-tabs__controls {
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 18px;
  }

  .subject-tabs__button {
    min-width: 0;
    padding-inline: 8px;
  }

  .subject-tabs__panel {
    min-height: auto;
    padding: 24px;
  }

  .case-study--interactive {
    padding: 0;
    border-radius: 18px;
  }

  .case-study--interactive .case-study__intro {
    padding: 30px 24px;
  }

  .subject-tabs {
    padding: 22px;
  }

  .subject-tabs__head,
  .subject-tabs__head-main,
  .subject-tabs__status,
  .subject-tabs__actions {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .subject-tabs__head {
    flex-direction: column;
  }

  .subject-tabs__badge,
  .subject-tabs__status em {
    justify-self: start;
  }

  .case-study__note {
    margin-top: 34px;
  }

  .subject-tabs__status {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .subject-tabs__metrics {
    grid-template-columns: 1fr;
  }

  .system-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .system-card {
    min-height: auto;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .feedback-versions {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .feedback-version-card {
    gap: 12px;
    padding: 14px;
  }

  .feedback-version-card img {
    height: 280px;
  }

  .speaking-examples {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .speaking-example img {
    height: auto;
    max-height: 440px;
  }

  .consultant-showcase {
    padding: 62px 0 58px;
  }

  .consultant-showcase::before {
    left: -36px;
    top: 36px;
  }

  .consultant-panel {
    border-radius: 8px;
    padding: 30px 18px 22px;
  }

  .consultant-panel::after {
    right: -108px;
    bottom: 120px;
  }

  .consultant-showcase__pill {
    min-height: 38px;
    padding: 7px 22px;
    font-size: 0.96rem;
  }

  .consultant-showcase__header {
    max-width: 360px;
    margin-bottom: 4px;
    text-align: left;
  }

  .consultant-showcase__header h2 {
    font-size: 1.58rem;
  }

  .consultant-showcase__rule {
    margin-inline: 0;
  }

  .consultant-showcase__header p {
    max-width: none;
    margin-inline: 0;
    font-size: 0.98rem;
  }

  .consultant-note {
    width: min(300px, 100%);
    margin: 22px 0 0;
  }

  .consultant-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
    margin-inline: auto;
  }

  .consultant-card {
    border-radius: 20px;
    padding: 22px;
  }

  .consultant-card--lead {
    box-shadow: 0 18px 46px rgba(47, 113, 199, 0.12);
  }

  .consultant-card:hover,
  .consultant-card:focus-within,
  .consultant-card--lead:hover,
  .consultant-card--lead:focus-within,
  .consultant-card--compact:hover,
  .consultant-card--compact:focus-within {
    box-shadow: 6px 10px 0 1px rgba(0, 80, 157, 0.95), 0 18px 40px rgba(47, 113, 199, 0.15);
    transform: translateY(-6px);
  }

  .consultant-card__media {
    height: 250px;
    border-radius: 34px;
  }

  .consultant-card__media img {
    height: 250px;
  }

  .consultant-card--lead .consultant-card__media {
    height: 250px;
  }

  .consultant-card--lead .consultant-card__media img {
    height: 254px;
  }

  .consultant-card--compact .consultant-card__media:not(.consultant-card__media--photo) img {
    height: 254px;
  }

  .consultant-support {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 18px;
  }

  .consultant-support__lead {
    grid-column: auto;
  }

  .consultant-support__item {
    border-top: 1px solid rgba(207, 227, 245, 0.85);
    border-left: 0;
  }

  .consultant-card__media--photo {
    padding: 16px;
  }

  .consultant-card__role {
    align-items: flex-start;
    font-size: 0.98rem;
  }

  .consultant-card p {
    min-height: 0;
    font-size: 0.96rem;
  }

  .course-architecture {
    border-radius: 18px;
    padding: 24px;
  }

  .course-architecture__decor {
    top: 20px;
    right: -18px;
    width: 104px;
    opacity: 0.5;
  }

  .course-architecture__header h2 {
    font-size: 1.58rem;
  }

  .course-architecture__header p {
    font-size: 0.95rem;
  }

  .course-architecture__features,
  .course-path {
    grid-template-columns: 1fr;
  }

  .course-path__item {
    min-height: auto;
    padding: 18px;
  }

  .proof-strip {
    margin-top: 0;
    padding: 22px 0 30px;
  }

  .section__header h1,
  .section__header h2 {
    font-size: 1.5rem;
  }

  .section__header h2 {
    font-size: 1.42rem;
  }

  .price-card__price {
    font-size: 2.75rem;
  }

  .order-banner {
    gap: 24px;
    padding: 24px;
  }

  .order-banner__features,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .order-card img,
  .cart-item img {
    width: 170px;
  }

  .cart-item__price {
    justify-self: start;
  }

  .hero__meta,
  .proof-strip__grid,
  .resource-list,
  .field-grid,
  .testimonial-track:not(.testimonial-marquee__track) {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex-basis: min(330px, calc(100vw - 56px));
  }

  .proof-strip__item {
    min-height: 96px;
  }

  .method-card {
    border-top-width: 5px;
    padding: 24px;
  }

  .method-card::before {
    left: 24px;
    right: 24px;
    top: 112px;
  }

  .method-card__header {
    gap: 14px;
    margin-bottom: 30px;
  }

  .method-card__icon {
    width: 48px;
    height: 48px;
  }

  .method-card__icon svg {
    width: 23px;
    height: 23px;
  }

  .method-card__number {
    font-size: 1.86rem;
  }

  .band {
    padding: 22px;
  }

  .course-path__item,
  .step {
    grid-template-columns: 1fr;
  }

  .button-row {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   15. Home Reference Layout
   ========================================================= */
body[data-page="home"] {
  background:
    radial-gradient(circle at 96% 8%, rgba(236, 205, 142, 0.18), transparent 18%),
    linear-gradient(180deg, #fffaf3 0%, #ffffff 42%, #f8fbff 100%);
}

body[data-page="home"] .site-header {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(218, 234, 249, 0.6);
}

body[data-page="home"] .home-hero {
  min-height: 0;
  background:
    radial-gradient(circle at 76% 43%, rgba(185, 219, 246, 0.36), transparent 23%),
    linear-gradient(102deg, #fffaf3 0%, #ffffff 46%, #f2f8ff 100%);
}

body[data-page="home"] .home-hero::before,
body[data-page="home"] .home-hero::after {
  display: none;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(500px, 0.94fr) minmax(410px, 1.06fr);
  align-items: center;
  gap: 18px;
  min-height: 520px;
  padding: 48px 0 24px;
}

.home-hero__copy {
  max-width: 565px;
}

body[data-page="home"] .hero__brand-logo {
  width: 226px;
  margin-bottom: 22px;
}

body[data-page="home"] .hero__eyebrow {
  min-height: 29px;
  padding: 5px 15px 5px 10px;
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0) 0 2%, rgba(255, 240, 204, 0.86) 8% 92%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(47, 113, 199, 0.08), rgba(47, 113, 199, 0.02));
  color: var(--color-blue);
  font-size: 0.82rem;
}

body[data-page="home"] .hero__eyebrow svg {
  width: 16px;
  height: 16px;
}

body[data-page="home"] .hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.82rem, 4.7vw, 4.15rem);
  line-height: 0.96;
}

.marker-line {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
}

.marker-line::after {
  position: absolute;
  right: -0.14em;
  bottom: 0.04em;
  left: -0.08em;
  z-index: -1;
  height: 0.25em;
  content: "";
  border-radius: 999px 80% 999px 70%;
  background: rgba(239, 199, 67, 0.58);
  transform: rotate(-2deg);
}

body[data-page="home"] .hero h1 span:first-child::after {
  display: none;
}

body[data-page="home"] .hero__lead {
  max-width: 475px;
  margin-bottom: 24px;
  color: #253e66;
  font-size: 0.92rem;
  line-height: 1.84;
}

body[data-page="home"] .button-row {
  gap: 16px;
}

body[data-page="home"] .button {
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.86rem;
}

body[data-page="home"] .button--primary {
  background: linear-gradient(135deg, #1d7bd9, #0d61b8);
  box-shadow: 0 14px 28px rgba(0, 80, 157, 0.18);
}

body[data-page="home"] .button--ghost {
  background: rgba(255, 255, 255, 0.68);
}

.home-hero__scene {
  position: relative;
  justify-self: end;
  width: min(560px, 100%);
  margin: 0;
}

.home-hero__scene img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 42px rgba(47, 113, 199, 0.12));
}

.home-hero-note {
  position: absolute;
  left: 44%;
  bottom: 2.8%;
  z-index: 2;
  display: grid;
  gap: 4px;
  width: 292px;
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 246, 0.98));
  color: var(--color-blue);
  min-height: 134px;
  padding: 15px 22px 24px;
  box-shadow: 0 12px 22px rgba(69, 51, 32, 0.11);
  transform: rotate(-1.2deg);
}

.home-hero-note::before {
  position: absolute;
  top: -12px;
  right: 14px;
  width: 38px;
  height: 23px;
  content: "";
  border-radius: 2px;
  background: rgba(76, 136, 180, 0.42);
  transform: rotate(-4deg);
}

.home-hero-note strong {
  color: var(--color-blue);
  font-family: "Bradley Hand", "Kaiti TC", "Noto Serif TC", serif;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.2;
}

.home-hero-note span {
  position: relative;
  display: block;
  color: #1f5f9f;
  font-size: 0.8rem;
  line-height: 1.28;
  padding-left: 18px;
}

.home-hero-note span::before {
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--color-blue);
  content: "✓";
  font-weight: 600;
}

body[data-page="home"] .home-proof {
  margin-top: 0;
  padding: 21px 0 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.98)),
    linear-gradient(90deg, rgba(131, 211, 255, 0), rgba(131, 211, 255, 0.2), rgba(131, 211, 255, 0));
  box-shadow: 0 -1px 0 rgba(236, 242, 248, 0.8), 0 1px 0 rgba(236, 242, 248, 0.78);
}

body[data-page="home"] .home-proof .proof-strip__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

body[data-page="home"] .home-proof .proof-strip__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 15px;
  min-height: 78px;
  border: 0;
  border-right: 1px solid rgba(201, 225, 247, 0.88);
  border-radius: 0;
  background: transparent;
  padding: 8px 30px;
  box-shadow: none;
  overflow: visible;
}

body[data-page="home"] .home-proof .proof-strip__item:first-child {
  padding-left: 0;
}

body[data-page="home"] .home-proof .proof-strip__item:last-child {
  border-right: 0;
  padding-right: 0;
}

body[data-page="home"] .home-proof .proof-strip__item::after {
  display: none;
}

.proof-strip__icon--circle {
  position: static;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(47, 113, 199, 0.2);
  border-radius: 999px;
  color: var(--color-blue-2);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 48%, transparent 49%),
    conic-gradient(from -30deg, rgba(47, 113, 199, 0.12), rgba(47, 113, 199, 0.58), rgba(47, 113, 199, 0.1), transparent 78%, rgba(47, 113, 199, 0.18));
}

.proof-strip__icon--circle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body[data-page="home"] .home-proof .proof-strip__item strong {
  gap: 4px;
  color: var(--color-ink);
  font-size: 1.78rem;
}

body[data-page="home"] .home-proof .proof-strip__item strong small {
  color: var(--color-ink);
  font-size: 0.98rem;
}

body[data-page="home"] .home-proof .proof-strip__note {
  margin-top: 0;
  color: #334c70;
  font-size: 0.78rem;
}

.home-section-heading {
  max-width: 420px;
}

.home-section-heading--center {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.home-section-heading h2 {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.72rem, 3.2vw, 2.42rem);
  line-height: 1.28;
}

.home-section-heading p {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.home-problem {
  padding: 70px 0 86px;
  background:
    radial-gradient(circle at 18% 100%, rgba(235, 247, 255, 0.65), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 74%, #f5fbff 100%);
}

.home-problem .home-section-heading h2 {
  font-size: clamp(2rem, 3.7vw, 2.72rem);
  line-height: 1.24;
}

.home-problem .home-section-heading p {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.02rem;
}

.home-skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 50px;
}

.home-skill {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 246px;
  padding: 0 34px;
  text-align: center;
}

.home-skill + .home-skill {
  border-left: 1px solid rgba(47, 113, 199, 0.22);
}

.home-skill__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  color: var(--color-blue-2);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98) 0 48%, rgba(207, 233, 255, 0.86) 49% 72%, transparent 73%);
  filter: drop-shadow(0 9px 12px rgba(47, 113, 199, 0.14));
}

.home-skill__icon svg {
  width: 46px;
  height: 46px;
  fill: currentColor;
}

.home-skill__label {
  color: var(--color-blue);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-skill h3 {
  margin: 10px 0 12px;
  color: var(--color-ink);
  font-size: 1.12rem;
  line-height: 1.42;
}

.home-skill p {
  max-width: 250px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.88;
}

.home-method {
  padding: 78px 0 82px;
  background:
    radial-gradient(circle at 88% 0%, rgba(215, 238, 255, 0.72), transparent 24%),
    radial-gradient(circle at 8% 100%, rgba(255, 240, 204, 0.25), transparent 20%),
    linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
}

.home-method__grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 38px;
}

.home-method .home-section-heading,
.home-resources .home-section-heading {
  max-width: 620px;
}

.home-method .home-section-heading h2,
.home-resources .home-section-heading h2 {
  font-size: clamp(1.62rem, 2.45vw, 2.08rem);
}

.home-method__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.home-step {
  position: relative;
  min-height: 174px;
  padding-top: 4px;
}

.home-step__num {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 36%, #ffffff 0 12%, transparent 13%),
    radial-gradient(circle, rgba(166, 211, 247, 0.94), rgba(217, 240, 255, 0.82));
  color: var(--color-blue);
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
}

.home-step h3 {
  margin: 0 0 8px;
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.36;
}

.home-step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.82;
}

.home-step__path {
  display: block;
  width: 56px;
  height: 58px;
  margin-top: 22px;
  background:
    radial-gradient(circle at 6px 38px, rgba(47, 113, 199, 0.52) 0 3px, transparent 4px),
    radial-gradient(circle at 17px 43px, rgba(47, 113, 199, 0.42) 0 3px, transparent 4px),
    radial-gradient(circle at 29px 41px, rgba(47, 113, 199, 0.34) 0 3px, transparent 4px);
  opacity: 1;
}

.home-step__path::after {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 3px 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: linear-gradient(135deg, #2f8fe8, var(--color-blue));
  color: #fff;
  content: "→";
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(47, 113, 199, 0.26);
}

.home-resources {
  padding: 74px 0 78px;
  background:
    linear-gradient(90deg, #fffaf3 0 34%, #ffffff 34%),
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.home-resources__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 50px;
}

.home-resources__photo {
  margin: 0;
}

.home-resources__photo img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 24px 50px rgba(118, 96, 68, 0.12);
}

.home-resources__copy {
  max-width: 760px;
}

.home-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid rgba(201, 225, 247, 0.85);
  border-left: 1px solid rgba(201, 225, 247, 0.85);
  background: rgba(255, 255, 255, 0.42);
}

.home-resource-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  min-height: 146px;
  border-right: 1px solid rgba(201, 225, 247, 0.85);
  border-bottom: 1px solid rgba(201, 225, 247, 0.85);
  padding: 24px 26px;
}

.home-resource-item > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 42%, rgba(226, 243, 255, 0.96) 43% 100%);
  color: var(--color-blue);
  box-shadow: 0 8px 18px rgba(47, 113, 199, 0.1);
}

.home-resource-item > span svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.home-resource-item h3 {
  margin: 0 0 9px;
  color: var(--color-blue);
  font-size: 1.06rem;
  line-height: 1.35;
}

.home-resource-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.86;
}

.home-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  color: var(--color-blue);
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
}

.home-link-arrow span {
  font-size: 1.45rem;
  line-height: 1;
}

.home-consultants {
  position: relative;
  overflow: hidden;
  padding: 76px 0 78px;
  background:
    radial-gradient(circle at 14% 96%, rgba(204, 233, 255, 0.7), transparent 22%),
    radial-gradient(circle at 97% 11%, rgba(204, 233, 255, 0.56), transparent 18%),
    #ffffff;
}

.home-consultants__grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 42px;
}

body[data-page="home"] .consultant-showcase__header {
  max-width: 330px;
  align-self: center;
}

body[data-page="home"] .consultant-showcase__pill {
  background: linear-gradient(180deg, #e3f2ff, #cfe6fb);
  color: var(--color-blue);
  font-size: 0.82rem;
}

body[data-page="home"] .consultant-showcase__header h2 {
  margin: 18px 0 12px;
  font-size: 1.9rem;
}

body[data-page="home"] .consultant-showcase__header p {
  max-width: 320px;
  color: #24446d;
  font-size: 0.8rem;
}

.consultant-note-text {
  position: relative;
  width: min(336px, 100%);
  min-height: 108px;
  margin: 26px 0 0;
  color: #2f86cf;
  padding: 8px 0 0 34px;
  transform: rotate(-5deg);
}

.consultant-note-text > span {
  position: absolute;
  left: 0;
  top: -8px;
  color: #2f86cf;
  font-family: Georgia, serif;
  font-size: 4.3rem;
  line-height: 1;
}

.consultant-note-text strong {
  position: relative;
  display: inline-block;
  color: #2f86cf;
  font-family: "Bradley Hand", "Kaiti TC", "Noto Serif TC", serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.92;
  letter-spacing: 0.02em;
}

.consultant-note-text strong::after {
  position: absolute;
  right: -22px;
  bottom: -12px;
  width: 190px;
  height: 26px;
  content: "";
  border-bottom: 3px solid rgba(47, 134, 207, 0.78);
  border-radius: 50%;
  transform: rotate(-7deg);
}

body[data-page="home"] .consultant-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body[data-page="home"] .consultant-card {
  min-height: 356px;
  border-radius: 18px;
  padding: 12px 12px 18px;
  box-shadow: none;
}

body[data-page="home"] .consultant-card:hover,
body[data-page="home"] .consultant-card:focus-within {
  box-shadow: 9px 12px 0 1px rgba(0, 80, 157, 0.92), 0 26px 48px rgba(47, 113, 199, 0.16);
}

body[data-page="home"] .consultant-card__media,
body[data-page="home"] .consultant-card--lead .consultant-card__media {
  height: 168px;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(69, 151, 232, 0.06), transparent 38%),
    radial-gradient(ellipse at 57% 52%, rgba(47, 143, 232, 0.82) 0 45%, transparent 46%);
}

body[data-page="home"] .consultant-card__media--photo {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), transparent),
    url("../assets/images/rosa.jpg") center / cover no-repeat;
}

body[data-page="home"] .consultant-card__media--photo img {
  opacity: 0;
}

body[data-page="home"] .consultant-card__media img,
body[data-page="home"] .consultant-card--lead .consultant-card__media img,
body[data-page="home"] .consultant-card--compact .consultant-card__media:not(.consultant-card__media--photo) img {
  height: 174px;
  max-width: 92%;
}

body[data-page="home"] .consultant-card--lead .consultant-card__media img {
  height: 188px;
}

body[data-page="home"] .consultant-card__media::before {
  position: absolute;
  inset: 18px 10px auto;
  height: 48px;
  content: "";
  border-radius: 50%;
  background: rgba(47, 113, 199, 0.16);
  transform: rotate(-10deg);
}

body[data-page="home"] .consultant-card__media::after {
  display: none;
}

body[data-page="home"] .consultant-card__badge {
  left: 14px;
  bottom: 10px;
  font-size: 0.68rem;
}

body[data-page="home"] .consultant-card__badge--icon {
  width: 38px;
  height: 38px;
}

body[data-page="home"] .consultant-card__body {
  padding: 0 4px;
}

body[data-page="home"] .consultant-card__body h3 {
  font-size: 1.5rem;
}

body[data-page="home"] .consultant-card__role {
  font-size: 0.78rem;
}

body[data-page="home"] .consultant-card p {
  font-size: 0.74rem;
  line-height: 1.72;
}

.home-final-cta {
  position: relative;
  overflow: hidden;
  padding: 42px 0 36px;
  color: #ffffff;
  background:
    radial-gradient(ellipse at 14% 28%, rgba(255, 227, 139, 0.18), transparent 18%),
    radial-gradient(ellipse at 88% 6%, rgba(131, 211, 255, 0.22), transparent 24%),
    linear-gradient(172deg, #2c78b8 0%, #14558f 36%, #0b2b5f 100%);
}

.home-final-cta::before {
  position: absolute;
  inset: -24px -8% auto;
  height: 64px;
  content: "";
  border-radius: 0 0 48% 42%;
  background: rgba(255, 255, 255, 0.42);
  transform: rotate(-1.4deg);
}

.home-final-cta::after {
  position: absolute;
  right: 8%;
  bottom: 20px;
  width: 148px;
  height: 96px;
  content: "";
  opacity: 0.16;
  background:
    linear-gradient(135deg, transparent 0 14%, rgba(255, 255, 255, 0.9) 14% 18%, transparent 18% 100%),
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)) 38px 12px / 72px 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)) 38px 30px / 58px 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)) 38px 48px / 68px 2px no-repeat;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  transform: rotate(-8deg);
}

.home-final-cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}

.home-final-cta__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffe38b;
  font-size: 0.86rem;
  font-weight: 500;
}

.home-final-cta h2 {
  margin: 0 0 10px;
  font-size: 1.72rem;
  line-height: 1.34;
}

.home-final-cta p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  line-height: 1.78;
}

body[data-page="home"] .home-final-cta .button--primary {
  background: #ffe28a;
  color: var(--color-blue);
  box-shadow: none;
}

body[data-page="home"] .home-final-cta .button--outline {
  border-color: rgba(255, 255, 255, 0.66);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 980px) {
  .home-hero__inner,
  .home-method__grid,
  .home-resources__grid,
  .home-consultants__grid,
  .home-final-cta__grid {
    grid-template-columns: 1fr;
  }

  .home-hero__inner {
    min-height: 0;
    padding: 42px 0 28px;
  }

  .home-hero__copy,
  .home-section-heading,
  body[data-page="home"] .consultant-showcase__header {
    max-width: 680px;
  }

  .home-hero__scene {
    justify-self: start;
    width: min(620px, 100%);
  }

  body[data-page="home"] .home-proof .proof-strip__grid,
  .home-skill-grid,
  body[data-page="home"] .consultant-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .home-proof .proof-strip__item {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 225, 247, 0.88);
    padding: 16px 20px;
  }

  body[data-page="home"] .home-proof .proof-strip__item:nth-child(odd),
  .home-skill:nth-child(odd) {
    border-right: 1px solid rgba(201, 225, 247, 0.88);
  }

  body[data-page="home"] .home-proof .proof-strip__item:nth-child(n+3) {
    border-bottom: 0;
  }

  .home-skill {
    padding: 22px 24px;
  }

  .home-skill + .home-skill {
    border-left: 0;
  }

  .home-skill:nth-child(n+3) {
    border-top: 1px solid rgba(201, 225, 247, 0.88);
  }

  .home-method__steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-step__path {
    display: none;
  }

  .home-resource-grid {
    grid-template-columns: 1fr;
  }

  .home-resources__photo {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .hero__brand-logo {
    width: 188px;
  }

  body[data-page="home"] .hero h1 {
    font-size: 2.55rem;
  }

  .home-hero-note {
    left: 6%;
    bottom: 5%;
    width: min(260px, 86%);
    padding: 13px 18px 15px;
  }

  .home-hero-note strong {
    font-size: 0.98rem;
  }

  .home-hero-note span {
    font-size: 0.74rem;
  }

  body[data-page="home"] .button {
    width: 100%;
  }

  body[data-page="home"] .home-proof .proof-strip__grid,
  .home-skill-grid,
  body[data-page="home"] .consultant-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .home-proof .proof-strip__item,
  body[data-page="home"] .home-proof .proof-strip__item:first-child,
  body[data-page="home"] .home-proof .proof-strip__item:last-child,
  body[data-page="home"] .home-proof .proof-strip__item:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid rgba(201, 225, 247, 0.88);
    padding: 15px 0;
  }

  body[data-page="home"] .home-proof .proof-strip__item:last-child {
    border-bottom: 0;
  }

  .home-skill,
  .home-skill:nth-child(odd) {
    border-right: 0;
  }

  .home-skill + .home-skill {
    border-top: 1px solid rgba(201, 225, 247, 0.88);
  }

  .home-section-heading h2 {
    font-size: 1.62rem;
  }

  .home-problem,
  .home-method,
  .home-resources,
  .home-consultants {
    padding: 46px 0;
  }

  .home-final-cta {
    padding: 34px 0;
  }
}

/* =========================================================
   19. Paid Course Poster Layout
   ========================================================= */
body[data-page="paid-course"] {
  background: #fbf8f1;
}

body[data-page="paid-course"] main {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.88), transparent 24%),
    radial-gradient(circle at 94% 1%, rgba(204, 232, 250, 0.62), transparent 23%),
    linear-gradient(180deg, #fbfaf6 0%, #f7fbff 48%, #fbf8ef 100%);
}

body[data-page="paid-course"] main::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(90deg, rgba(8, 28, 66, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 28, 66, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

body[data-page="paid-course"] .container {
  width: min(1220px, calc(100vw - 48px));
}

.course-poster {
  color: #071433;
}

.course-poster-hero,
.course-benefits-poster,
.course-mentor-poster,
.course-team-poster,
.course-outline-poster,
.course-choice-poster {
  position: relative;
}

.course-poster-hero {
  padding: 68px 0 22px;
  background:
    radial-gradient(circle at 88% 32%, rgba(193, 225, 247, 0.56), transparent 20%),
    radial-gradient(circle at 71% 57%, rgba(244, 204, 95, 0.16), transparent 20%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.96) 0 56%, rgba(229, 244, 253, 0.84) 56% 100%);
}

.course-poster-hero::before {
  content: "";
  position: absolute;
  right: max(-160px, -8vw);
  top: 64px;
  width: min(570px, 46vw);
  height: 470px;
  border-radius: 52% 34% 46% 42%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent),
    rgba(167, 213, 242, 0.5);
  filter: blur(1px);
  transform: rotate(-8deg);
  pointer-events: none;
}

.course-poster-hero::after {
  content: "";
  position: absolute;
  right: 9vw;
  bottom: -20px;
  width: 220px;
  height: 120px;
  border-radius: 48% 52% 42% 58%;
  background: rgba(244, 206, 113, 0.2);
  filter: blur(12px);
  pointer-events: none;
}

.course-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  align-items: center;
  gap: 86px;
}

.course-hero-copy {
  max-width: 640px;
}

.course-pill {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  border: 1px solid rgba(205, 181, 100, 0.45);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 244, 202, 0.96), rgba(255, 235, 166, 0.82));
  color: #164f8e;
  padding: 6px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.1;
  box-shadow: 0 8px 18px rgba(47, 113, 199, 0.08);
}

.course-hero-copy h1,
.course-section-copy h2,
.course-mentor-copy h2 {
  margin: 18px 0 16px;
  color: #071433;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
}

.course-hero-copy h1 {
  font-size: clamp(3.15rem, 6vw, 5.15rem);
}

.course-hero-copy h1 span {
  display: block;
}

.course-marker {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.course-marker::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.12em;
  bottom: 0.08em;
  z-index: -1;
  height: 0.22em;
  border-radius: 999px;
  background: rgba(245, 205, 86, 0.68);
  transform: rotate(-2deg);
}

.course-hero-copy p,
.course-section-copy p,
.course-mentor-copy p,
.course-team-cards p,
.course-module-grid p,
.course-benefit-cards p {
  color: #33455f;
  font-size: 1rem;
  line-height: 1.82;
}

.course-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.course-button-row .button {
  min-width: 170px;
  border-radius: 999px;
}

.course-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.course-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(199, 222, 241, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #174979;
  padding: 8px 14px;
  font-size: 0.9rem;
  box-shadow: 0 12px 26px rgba(31, 98, 169, 0.08);
}

.course-trust-list svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #1f6fbd;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.course-offer-card,
.course-bottom-offer,
.course-benefit-cards,
.course-david-note,
.course-team-cards article,
.course-module-grid article {
  border: 1px solid rgba(205, 226, 244, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 58px rgba(18, 69, 126, 0.12);
}

.course-offer-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  padding: 38px 44px 34px;
}

.course-offer-card::before {
  content: "";
  position: absolute;
  top: 82px;
  left: 52px;
  right: 52px;
  z-index: -1;
  height: 44px;
  border-radius: 40% 60% 45% 55%;
  background: rgba(245, 211, 128, 0.38);
  transform: rotate(-2deg);
}

.course-offer-card__logo {
  width: 250px;
  margin: 0 auto 22px;
}

.course-offer-card__ribbon {
  display: table;
  margin: 0 auto 18px;
  border-radius: 4px;
  background: rgba(247, 205, 109, 0.72);
  color: #184f8d;
  padding: 8px 32px;
  font-weight: 600;
}

.course-offer-card__price,
.course-bottom-offer strong {
  display: block;
  color: #061332;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 4.1rem);
  line-height: 1;
  text-align: center;
}

.course-offer-card__old,
.course-bottom-offer p {
  margin: 10px 0 18px;
  color: #66758a;
  text-align: center;
}

.course-checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-checks li {
  position: relative;
  padding-left: 30px;
  color: #1d385e;
  font-size: 0.96rem;
  line-height: 1.6;
}

.course-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1f6fbd;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.24);
}

.course-checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.62em;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.course-stats-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 18px;
  margin-bottom: 34px;
  border: 1px solid rgba(202, 224, 242, 0.94);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 48px rgba(18, 69, 126, 0.12);
}

.course-stats-panel article {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
  min-height: 112px;
  padding: 24px 28px;
}

.course-stats-panel article + article {
  border-left: 1px solid rgba(202, 224, 242, 0.84);
}

.course-stats-panel svg {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  color: #1f6fbd;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.course-stats-panel strong {
  color: #07508b;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.08;
}

.course-stats-panel small {
  margin-left: 5px;
  font-size: 1rem;
}

.course-stats-panel p {
  margin: 4px 0 0;
  color: #33455f;
  font-size: 0.92rem;
  line-height: 1.45;
}

.course-benefits-poster {
  padding: 40px 0 54px;
}

.course-benefits-poster::before,
.course-outline-poster::before,
.course-choice-poster::before {
  content: "";
  position: absolute;
  inset: auto auto 0 -6vw;
  width: 520px;
  height: 150px;
  border-radius: 56% 44% 50% 44%;
  background: rgba(245, 213, 145, 0.22);
  transform: rotate(2deg);
  pointer-events: none;
}

.course-benefits-grid,
.course-mentor-grid,
.course-team-layout,
.course-outline-layout,
.course-choice-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 46px;
}

.course-benefits-grid {
  grid-template-columns: 315px minmax(0, 1fr);
  align-items: center;
}

.course-section-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.course-section-copy p {
  margin: 0;
}

.course-scribble {
  display: block;
  width: 128px;
  height: 14px;
  margin-top: 16px;
  border-bottom: 4px solid rgba(57, 138, 209, 0.62);
  border-radius: 50%;
  transform: rotate(-5deg);
}

.course-benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 18px;
}

.course-benefit-cards article {
  min-height: 174px;
  padding: 25px 26px;
}

.course-benefit-cards article:nth-child(3n + 2),
.course-benefit-cards article:nth-child(3n + 3) {
  border-left: 1px solid rgba(202, 224, 242, 0.86);
}

.course-benefit-cards article:nth-child(n + 4) {
  border-top: 1px solid rgba(202, 224, 242, 0.86);
}

.course-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e7f5ff, #d3ebff);
  color: #1f6fbd;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(47, 113, 199, 0.14);
}

.course-icon::before {
  color: inherit;
  font-size: 1.18rem;
}

.course-icon--plan::before {
  content: "01";
}

.course-icon--video::before {
  content: "02";
}

.course-icon--group::before {
  content: "03";
}

.course-icon--pen::before {
  content: "04";
}

.course-icon--bot::before {
  content: "05";
}

.course-benefit-cards h3,
.course-module-grid h3 {
  margin: 0 0 7px;
  color: #071433;
  font-size: 1.08rem;
}

.course-benefit-cards p,
.course-module-grid p {
  margin: 0;
  font-size: 0.9rem;
}

.course-mentor-poster {
  padding: 38px 0 44px;
}

.course-mentor-poster::before {
  content: "";
  position: absolute;
  left: 5vw;
  top: 62px;
  width: 375px;
  height: 300px;
  border-radius: 48% 52% 44% 56%;
  background: rgba(191, 225, 247, 0.36);
  transform: rotate(-5deg);
}

.course-mentor-grid {
  grid-template-columns: 410px minmax(0, 1fr);
  align-items: center;
}

.course-david-note {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 370px;
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(220, 241, 255, 0.9), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  padding: 28px 26px 0;
}

.course-david-note span {
  position: absolute;
  left: 35px;
  top: 58px;
  color: #1f6fbd;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.3;
  transform: rotate(-8deg);
}

.course-david-note::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 26px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.72));
}

.course-david-note img {
  width: min(330px, 88%);
  filter: drop-shadow(0 18px 20px rgba(6, 19, 50, 0.14));
}

.course-mentor-copy {
  padding: 20px 0;
}

.course-mentor-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
}

.course-mentor-copy > p {
  max-width: 680px;
}

.course-mentor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 22px 0 24px;
}

.course-team-poster {
  padding: 38px 0 54px;
}

.course-team-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: end;
}

.course-handwriting {
  color: #1f6fbd;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
  transform: rotate(-8deg);
}

.course-team-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.course-team-cards article {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 16px 16px 20px;
}

.course-team-cards article::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 22px;
  right: 22px;
  height: 96px;
  border-radius: 50% 50% 42% 58%;
  background: rgba(188, 225, 255, 0.52);
  transform: rotate(-7deg);
  pointer-events: none;
}

.course-team-card__media {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: end center;
  height: 180px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(239, 248, 255, 0.8);
}

.course-team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-team-card__media--david img,
.course-team-cards article:nth-child(3) .course-team-card__media img {
  object-fit: contain;
  object-position: bottom center;
}

.course-team-cards h3 {
  margin: 14px 0 2px;
  color: #071433;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1.1;
}

.course-team-card__role {
  margin: 0 0 8px;
  color: #07508b;
  font-weight: 600;
}

.course-outline-poster {
  padding: 50px 0 46px;
  background:
    radial-gradient(circle at 4% 92%, rgba(188, 225, 255, 0.48), transparent 18%),
    linear-gradient(180deg, rgba(246, 251, 255, 0.82), rgba(255, 255, 255, 0.76));
}

.course-outline-layout {
  grid-template-columns: 275px minmax(0, 1fr);
  align-items: center;
}

.course-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.course-module-grid article {
  min-height: 150px;
  border-radius: 13px;
  padding: 20px 18px;
}

.course-module-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 11px;
  border-radius: 50%;
  background: linear-gradient(180deg, #dff2ff, #c8e7ff);
  color: #07508b;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.course-choice-poster {
  padding: 50px 0 70px;
}

.course-choice-poster::after {
  content: "";
  position: absolute;
  right: -5vw;
  bottom: 0;
  width: 520px;
  height: 190px;
  border-radius: 58% 42% 0 0;
  background: rgba(188, 225, 255, 0.38);
  pointer-events: none;
}

.course-choice-layout {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 470px);
  align-items: center;
}

.course-bottom-offer {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  padding: 34px 42px 38px;
  text-align: center;
}

.course-bottom-offer span {
  display: inline-block;
  border-radius: 999px;
  background: rgba(247, 205, 109, 0.7);
  color: #184f8d;
  padding: 6px 24px;
  font-weight: 600;
}

.course-bottom-offer h3 {
  margin: 16px 0 12px;
  color: #071433;
  font-family: var(--font-serif);
  font-size: 2.2rem;
}

.course-bottom-offer .button {
  width: min(320px, 100%);
  margin-top: 10px;
  border-radius: 999px;
}

@media (max-width: 1080px) {
  .course-hero-grid,
  .course-benefits-grid,
  .course-mentor-grid,
  .course-team-layout,
  .course-outline-layout,
  .course-choice-layout {
    grid-template-columns: 1fr;
  }

  .course-hero-grid {
    gap: 38px;
  }

  .course-offer-card,
  .course-bottom-offer {
    max-width: 560px;
  }

  .course-benefit-cards,
  .course-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-benefit-cards article:nth-child(3n + 2),
  .course-benefit-cards article:nth-child(3n + 3) {
    border-left: 0;
  }

  .course-benefit-cards article:nth-child(2n + 2) {
    border-left: 1px solid rgba(202, 224, 242, 0.86);
  }

  .course-benefit-cards article:nth-child(n + 3) {
    border-top: 1px solid rgba(202, 224, 242, 0.86);
  }

  .course-stats-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-stats-panel article:nth-child(3) {
    border-left: 0;
  }

  .course-stats-panel article:nth-child(n + 3) {
    border-top: 1px solid rgba(202, 224, 242, 0.84);
  }
}

@media (max-width: 760px) {
  body[data-page="paid-course"] .container {
    width: min(100% - 32px, 560px);
  }

  .course-poster-hero {
    padding-top: 48px;
  }

  .course-hero-copy h1 {
    font-size: 2.75rem;
  }

  .course-button-row .button {
    width: 100%;
  }

  .course-trust-list {
    display: grid;
  }

  .course-offer-card {
    padding: 28px 24px;
  }

  .course-stats-panel,
  .course-benefit-cards,
  .course-team-cards,
  .course-module-grid,
  .course-mentor-list {
    grid-template-columns: 1fr;
  }

  .course-stats-panel article + article,
  .course-stats-panel article:nth-child(3),
  .course-benefit-cards article,
  .course-benefit-cards article:nth-child(2n + 2) {
    border-left: 0;
  }

  .course-stats-panel article + article,
  .course-benefit-cards article + article {
    border-top: 1px solid rgba(202, 224, 242, 0.86);
  }

  .course-stats-panel article {
    min-height: auto;
  }

  .course-section-copy h2,
  .course-mentor-copy h2 {
    font-size: 2rem;
  }

  .course-david-note {
    min-height: 330px;
  }

  .course-david-note span {
    top: 34px;
    font-size: 1rem;
  }

  .course-bottom-offer {
    padding: 28px 24px;
  }
}

/* =========================================================
   20. Spacing Refinements
   ========================================================= */
body[data-page="home"] .home-problem {
  padding-top: 94px;
  padding-bottom: 112px;
}

body[data-page="home"] .home-method {
  padding-top: 108px;
  padding-bottom: 112px;
}

body[data-page="home"] .home-resources {
  padding-top: 102px;
  padding-bottom: 112px;
}

body[data-page="home"] .home-consultants {
  padding-top: 106px;
  padding-bottom: 112px;
}

body[data-page="home"] .home-final-cta {
  padding-top: 62px;
  padding-bottom: 56px;
}

body[data-page="home"] .home-skill-grid {
  margin-top: 66px;
}

body[data-page="home"] .home-resource-grid {
  margin-top: 38px;
}

body[data-page="home"] .home-method__grid,
body[data-page="home"] .home-resources__grid,
body[data-page="home"] .home-consultants__grid {
  gap: 64px;
}

body[data-page="home"] .home-method .home-section-heading,
body[data-page="home"] .home-resources .home-section-heading {
  max-width: 760px;
}

body[data-page="home"] .home-section-heading h2,
body[data-page="home"] .consultant-showcase__header h2,
body[data-page="home"] .home-final-cta h2 {
  max-width: 820px;
  text-wrap: balance;
}

body[data-page="paid-course"] .course-poster-hero {
  padding-top: 86px;
  padding-bottom: 42px;
}

body[data-page="paid-course"] .course-hero-grid {
  gap: 108px;
}

body[data-page="paid-course"] .course-stats-panel {
  margin-top: 36px;
  margin-bottom: 64px;
}

body[data-page="paid-course"] .course-benefits-poster {
  padding-top: 58px;
  padding-bottom: 86px;
}

body[data-page="paid-course"] .course-mentor-poster {
  padding-top: 76px;
  padding-bottom: 86px;
}

body[data-page="paid-course"] .course-team-poster {
  padding-top: 76px;
  padding-bottom: 92px;
}

body[data-page="paid-course"] .course-outline-poster {
  padding-top: 82px;
  padding-bottom: 86px;
}

body[data-page="paid-course"] .course-choice-poster {
  padding-top: 86px;
  padding-bottom: 96px;
}

body[data-page="paid-course"] .course-benefits-grid,
body[data-page="paid-course"] .course-mentor-grid,
body[data-page="paid-course"] .course-team-layout,
body[data-page="paid-course"] .course-outline-layout,
body[data-page="paid-course"] .course-choice-layout {
  gap: 72px;
}

body[data-page="paid-course"] .course-benefits-grid {
  grid-template-columns: 360px minmax(0, 1fr);
}

body[data-page="paid-course"] .course-team-layout {
  grid-template-columns: 360px minmax(0, 1fr);
}

body[data-page="paid-course"] .course-outline-layout {
  grid-template-columns: 400px minmax(0, 1fr);
}

body[data-page="paid-course"] .course-section-copy h2,
body[data-page="paid-course"] .course-mentor-copy h2 {
  max-width: 820px;
  text-wrap: balance;
}

body[data-page="paid-course"] .course-section-copy h2 {
  font-size: clamp(1.95rem, 2.7vw, 2.62rem);
  line-height: 1.14;
}

body[data-page="paid-course"] .course-outline-layout .course-section-copy h2 {
  max-width: 400px;
}

body[data-page="paid-course"] .course-benefit-cards article,
body[data-page="paid-course"] .course-module-grid article {
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (max-width: 1080px) {
  body[data-page="paid-course"] .course-hero-grid,
  body[data-page="paid-course"] .course-benefits-grid,
  body[data-page="paid-course"] .course-mentor-grid,
  body[data-page="paid-course"] .course-team-layout,
  body[data-page="paid-course"] .course-outline-layout,
  body[data-page="paid-course"] .course-choice-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  body[data-page="paid-course"] .course-outline-layout .course-section-copy h2 {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .home-problem,
  body[data-page="home"] .home-method,
  body[data-page="home"] .home-resources,
  body[data-page="home"] .home-consultants {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  body[data-page="home"] .home-final-cta {
    padding-top: 44px;
    padding-bottom: 40px;
  }

  body[data-page="home"] .home-skill-grid,
  body[data-page="home"] .home-resource-grid {
    margin-top: 34px;
  }

  body[data-page="home"] .home-method__grid,
  body[data-page="home"] .home-resources__grid,
  body[data-page="home"] .home-consultants__grid {
    gap: 34px;
  }

  body[data-page="paid-course"] .course-poster-hero {
    padding-top: 56px;
    padding-bottom: 42px;
  }

  body[data-page="paid-course"] .course-stats-panel {
    margin-top: 28px;
    margin-bottom: 46px;
  }

  body[data-page="paid-course"] .course-benefits-poster,
  body[data-page="paid-course"] .course-mentor-poster,
  body[data-page="paid-course"] .course-team-poster,
  body[data-page="paid-course"] .course-outline-poster,
  body[data-page="paid-course"] .course-choice-poster {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  body[data-page="paid-course"] .course-section-copy h2,
  body[data-page="paid-course"] .course-mentor-copy h2 {
    font-size: 1.86rem;
    line-height: 1.18;
  }
}

/* =========================================================
   21. Enroll Poster Layout
   ========================================================= */
body[data-page="enroll"] {
  background:
    radial-gradient(circle at 92% 35%, rgba(241, 194, 50, 0.12), transparent 18%),
    radial-gradient(circle at 4% 58%, rgba(131, 211, 255, 0.24), transparent 20%),
    #fffdf8;
}

body[data-page="enroll"] main {
  overflow: hidden;
  background:
    linear-gradient(180deg, #fffdf8 0%, #ffffff 52%, #f5fbff 100%);
}

body[data-page="enroll"] .container {
  width: min(1220px, calc(100vw - 48px));
}

.enroll-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 14, 60, 0.98) 0%, rgba(3, 14, 60, 0.88) 38%, rgba(3, 14, 60, 0.46) 73%, rgba(3, 14, 60, 0.34) 100%),
    url("../assets/generated/ielts-hero.jpg") center / cover no-repeat;
}

.enroll-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(47, 113, 199, 0.24) 0 14%, transparent 15%),
    radial-gradient(circle at 0% 74%, rgba(47, 113, 199, 0.42), transparent 22%),
    radial-gradient(circle at 98% 98%, rgba(188, 225, 255, 0.3), transparent 18%);
  pointer-events: none;
}

.enroll-hero::after {
  content: "";
  position: absolute;
  left: -5vw;
  right: -5vw;
  bottom: -72px;
  height: 150px;
  border-radius: 50% 50% 0 0 / 92% 92% 0 0;
  background: #fffdf8;
  transform: rotate(-1.4deg);
  pointer-events: none;
}

.enroll-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 500px;
  padding: 72px 0 118px;
}

.enroll-hero__screen-logo {
  position: absolute;
  z-index: 1;
  top: 88px;
  right: 11.5%;
  width: min(230px, 18vw);
  height: auto;
  opacity: 0.7;
  filter: brightness(1.15) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
  transform: rotate(5deg);
  pointer-events: none;
}

.enroll-hand {
  display: inline-block;
  width: max-content;
  color: #ffdf7e;
  font-family: "Bradley Hand", "Kaiti TC", var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-style: italic;
  line-height: 1;
  transform: rotate(-6deg);
}

.enroll-hand::after,
.enroll-discount-card h2::after,
.enroll-section-heading h2 span::after {
  content: "";
  display: block;
  height: 4px;
  margin-top: 4px;
  border-radius: 999px;
  background: #f7d36d;
  transform: rotate(-3deg);
}

.enroll-hero h1 {
  max-width: 680px;
  margin: 24px 0 20px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.1vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  text-wrap: balance;
}

.enroll-hero h1::after {
  content: "";
  display: block;
  width: min(360px, 62%);
  height: 7px;
  margin: 10px 0 0 44%;
  border-radius: 999px;
  background: #f7d36d;
  transform: rotate(-3deg);
}

.enroll-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.13rem;
  line-height: 1.9;
}

.enroll-pricing,
.enroll-addon,
.enroll-order,
.enroll-faq {
  position: relative;
}

.enroll-pricing {
  padding: 34px 0 54px;
  background:
    radial-gradient(circle at 98% 42%, rgba(247, 211, 109, 0.16), transparent 18%),
    #fffdf8;
}

.enroll-pricing__grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 78px;
}

.enroll-price-card,
.enroll-discount-card,
.enroll-addon__panel,
.enroll-order__panel,
.enroll-cart-card {
  border: 1px solid rgba(213, 227, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 62px rgba(17, 55, 102, 0.13);
}

.enroll-price-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 40px 46px 36px;
}

.enroll-price-card::after,
.enroll-order__panel::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -54px;
  width: 190px;
  height: 150px;
  border-radius: 46% 54% 44% 56%;
  background: rgba(188, 225, 255, 0.54);
  transform: rotate(-18deg);
  pointer-events: none;
}

.enroll-pill {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  border: 1px solid rgba(214, 184, 93, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 244, 202, 0.98), rgba(255, 231, 154, 0.9));
  color: #164f8e;
  padding: 6px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.1;
}

.enroll-price-card h2 {
  margin: 18px 0 8px;
  color: #071433;
  font-family: var(--font-serif);
  font-size: clamp(1.68rem, 2.7vw, 2.35rem);
  line-height: 1.18;
}

.enroll-price-card__old {
  margin: 0;
  color: #6c7d92;
  font-size: 1.06rem;
  text-decoration: line-through;
  text-decoration-color: rgba(7, 20, 51, 0.45);
}

.enroll-price-card__old::first-letter {
  text-decoration: none;
}

.enroll-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 12px 0 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(201, 225, 247, 0.82);
  color: #061332;
  font-family: var(--font-serif);
  font-size: clamp(4.6rem, 8vw, 7rem);
  line-height: 0.95;
}

.enroll-price-card__price span {
  font-size: 1.5rem;
}

.enroll-price-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 28px;
}

.enroll-price-icons span {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 100px;
  border-right: 1px solid rgba(201, 225, 247, 0.86);
  color: #18375f;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.enroll-price-icons span:last-child {
  border-right: 0;
}

.enroll-price-icons svg,
.enroll-round-icon svg,
.enroll-order-features svg {
  width: 38px;
  height: 38px;
  color: #0b5ead;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.enroll-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.enroll-actions .button,
.enroll-cart-card .button {
  border-radius: 999px;
}

.enroll-discount-card {
  position: relative;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 14px 0;
}

.enroll-discount-card::before {
  content: "";
  position: absolute;
  right: -64px;
  top: 28px;
  width: 170px;
  height: 180px;
  border-radius: 48% 52% 42% 58%;
  background: rgba(247, 211, 109, 0.18);
  transform: rotate(-12deg);
}

.enroll-discount-card h2,
.enroll-section-heading h2 {
  position: relative;
  margin: 0 0 18px;
  color: #071433;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.18;
  text-wrap: balance;
}

.enroll-discount-card h2::before {
  content: "☆";
  margin-right: 8px;
  color: #f1c232;
}

.enroll-discount-card h2::after {
  width: min(350px, 74%);
  margin-left: 35px;
}

.enroll-discount-card p,
.enroll-section-heading p {
  max-width: 620px;
  color: #33455f;
  font-size: 1rem;
  line-height: 1.85;
}

.enroll-discount-card .course-checks {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-top: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  padding: 26px 30px;
  box-shadow: 0 18px 42px rgba(17, 55, 102, 0.08);
}

.enroll-addon {
  padding: 44px 0 34px;
}

.enroll-addon::before,
.enroll-order::before {
  content: "";
  position: absolute;
  inset: auto auto -20px -90px;
  width: 310px;
  height: 230px;
  border-radius: 48% 52% 42% 58%;
  background: rgba(188, 225, 255, 0.42);
  transform: rotate(18deg);
}

.enroll-addon__panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 52px 64px 58px;
  background:
    radial-gradient(circle at 93% 4%, rgba(188, 225, 255, 0.48), transparent 19%),
    radial-gradient(circle at 3% 98%, rgba(247, 211, 109, 0.14), transparent 22%),
    rgba(255, 255, 255, 0.88);
}

.enroll-section-heading--center {
  display: grid;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.enroll-section-heading h2 span {
  position: relative;
  display: inline-block;
}

.enroll-section-heading h2 span::after {
  height: 5px;
}

.enroll-section-heading p {
  margin: 0;
}

.enroll-addon__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 42px;
}

.enroll-addon__items article,
.enroll-order-features article {
  border: 1px solid rgba(201, 225, 247, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(17, 55, 102, 0.08);
}

.enroll-addon__items article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  min-height: 148px;
  padding: 26px 28px;
}

.enroll-round-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #eff8ff;
}

.enroll-addon__items .enroll-round-icon {
  grid-row: 1 / span 2;
}

.enroll-round-icon svg {
  width: 32px;
  height: 32px;
}

.enroll-plus {
  color: #b59955;
  font-size: 2rem;
  text-align: center;
}

.enroll-addon__items h3,
.enroll-order-features strong {
  margin: 0 0 6px;
  color: #071433;
  font-size: 1.18rem;
  line-height: 1.3;
}

.enroll-addon__items p {
  grid-column: 2;
  margin: 0;
  color: #4c6079;
  font-size: 0.92rem;
  line-height: 1.7;
}

.enroll-order {
  padding: 44px 0 58px;
}

.enroll-order__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 410px);
  gap: 48px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 3% 18%, rgba(188, 225, 255, 0.58), transparent 18%),
    radial-gradient(circle at 100% 100%, rgba(188, 225, 255, 0.5), transparent 26%),
    linear-gradient(135deg, rgba(244, 251, 255, 0.96), rgba(255, 255, 255, 0.92));
  padding: 64px 56px;
}

.enroll-order__content h2 {
  margin: 18px 0 16px;
  color: #071433;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 2.7vw, 2.65rem);
  line-height: 1.12;
  white-space: nowrap;
}

.enroll-order__content p {
  max-width: 640px;
  margin: 0;
  color: #33455f;
  font-size: 1rem;
  line-height: 1.86;
}

.enroll-order-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.enroll-order-features article {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 20px 24px;
}

.enroll-order-features svg {
  grid-row: span 2;
  width: 42px;
  height: 42px;
}

.enroll-order-features span {
  color: #0f5c9d;
  font-size: 0.9rem;
}

.enroll-cart-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-self: center;
  border-radius: 18px;
  padding: 34px 40px;
}

.enroll-cart-card img {
  width: 220px;
  margin-inline: auto;
}

.enroll-cart-card .enroll-pill {
  justify-self: center;
}

.enroll-cart-card p,
.enroll-cart-card del {
  margin: 0;
  color: #65758a;
}

.enroll-cart-card strong {
  display: block;
  color: #061332;
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
}

.enroll-quantity {
  display: grid;
  grid-template-columns: 1fr 42px 42px 42px;
  align-items: center;
  gap: 6px;
  min-height: 54px;
  border-radius: 999px;
  background: #f3f8fd;
  padding: 6px 10px 6px 18px;
}

.enroll-quantity span {
  color: #536780;
}

.enroll-quantity button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0b5ead;
  cursor: pointer;
}

.enroll-quantity button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.enroll-quantity output {
  color: #071433;
  text-align: center;
  font-weight: 600;
}

.enroll-cart-card .button--primary {
  justify-content: center;
  gap: 10px;
}

.enroll-cart-card .button svg {
  width: 20px;
  height: 20px;
}

.enroll-safe-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  margin-top: 8px;
  color: #52657b;
  font-size: 0.72rem;
}

.enroll-safe-list span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #0b5ead;
}

.enroll-faq {
  padding: 22px 0 72px;
}

.enroll-faq .enroll-section-heading h2 {
  margin-bottom: 28px;
}

.enroll-faq-list {
  max-width: 1130px;
  margin-inline: auto;
}

.enroll-faq-list .faq-item {
  border: 1px solid rgba(162, 202, 236, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(17, 55, 102, 0.06);
}

.enroll-faq-list .faq-item summary {
  display: grid;
  grid-template-columns: 42px 1fr 22px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  color: #071433;
  padding: 10px 18px;
  list-style: none;
}

.enroll-faq-list .faq-item summary::-webkit-details-marker {
  display: none;
}

.enroll-faq-list .faq-item summary::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 43%, #0b5ead 43% 57%, transparent 57%),
    linear-gradient(#0b5ead 43%, transparent 43% 57%, #0b5ead 57%),
    #e6f4ff;
  transform: rotate(90deg) scale(0.62);
}

.enroll-faq-list .faq-item summary::after {
  content: "⌄";
  color: #0b5ead;
  font-size: 1.2rem;
}

.enroll-faq-list .faq-item[open] summary::after {
  transform: rotate(180deg);
}

.enroll-faq-list .faq-item p {
  padding: 0 64px 18px 72px;
}

@media (max-width: 1080px) {
  .enroll-pricing__grid,
  .enroll-order__panel {
    grid-template-columns: 1fr;
  }

  .enroll-pricing__grid,
  .enroll-order__panel {
    gap: 38px;
  }

  .enroll-price-card,
  .enroll-cart-card {
    max-width: 620px;
  }

  .enroll-order__content h2 {
    white-space: normal;
  }

  .enroll-addon__items {
    grid-template-columns: 1fr;
  }

  .enroll-plus {
    display: none;
  }
}

@media (max-width: 720px) {
  body[data-page="enroll"] .container {
    width: min(100% - 32px, 560px);
  }

  .enroll-hero,
  .enroll-hero__content {
    min-height: 420px;
  }

  .enroll-hero__content {
    padding-top: 42px;
  }

  .enroll-hero h1 {
    font-size: 2.55rem;
  }

  .enroll-hero h1::after {
    margin-left: 0;
  }

  .enroll-pricing {
    padding-top: 20px;
  }

  .enroll-price-card,
  .enroll-addon__panel,
  .enroll-order__panel,
  .enroll-cart-card {
    padding: 28px 22px;
  }

  .enroll-price-card__price {
    font-size: 4rem;
  }

  .enroll-price-icons,
  .enroll-actions,
  .enroll-order-features {
    grid-template-columns: 1fr;
  }

  .enroll-price-icons {
    gap: 12px;
  }

  .enroll-price-icons span {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 225, 247, 0.86);
    padding-bottom: 12px;
  }

  .enroll-price-icons span:last-child {
    border-bottom: 0;
  }

  .enroll-discount-card h2,
  .enroll-section-heading h2 {
    font-size: 1.86rem;
  }

  .enroll-addon__items article {
    grid-template-columns: 1fr;
  }

  .enroll-cart-card img {
    width: 190px;
  }

  .enroll-cart-card strong {
    font-size: 2.45rem;
  }

  .enroll-faq-list .faq-item summary {
    grid-template-columns: 34px 1fr 18px;
    gap: 10px;
    padding-inline: 14px;
  }

  .enroll-faq-list .faq-item p {
    padding: 0 18px 18px 58px;
  }
}

/* =========================================================
   22. Reviews Poster Layout
   ========================================================= */
body[data-page="reviews"] {
  background: #f6fbff;
}

body[data-page="reviews"] main {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 18%, #f9fbff 62%, #ffffff 100%);
}

body[data-page="reviews"] .container {
  width: min(1320px, calc(100vw - 64px));
}

.review-hero {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background:
    radial-gradient(circle at 3% 0%, rgba(196, 226, 250, 0.72) 0 16%, transparent 16.4%),
    radial-gradient(circle at 100% 100%, rgba(188, 225, 255, 0.58) 0 24%, transparent 24.4%),
    linear-gradient(135deg, #f8fcff 0%, #eef8ff 58%, #e1f2ff 100%);
}

.review-hero::before {
  position: absolute;
  left: -42px;
  bottom: 20px;
  width: 430px;
  height: 80px;
  content: "";
  border-bottom: 3px solid rgba(47, 113, 199, 0.46);
  border-radius: 50%;
  opacity: 0.8;
  transform: rotate(-7deg);
}

.review-hero::after {
  position: absolute;
  right: 2vw;
  bottom: -92px;
  width: 420px;
  height: 420px;
  content: "";
  border-radius: 50%;
  background: rgba(178, 220, 255, 0.28);
}

.review-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
  align-items: center;
  gap: 84px;
  min-height: 470px;
  padding: 62px 0 70px;
}

.review-hero__copy {
  position: relative;
  max-width: 710px;
}

.review-hero__script {
  display: inline-block;
  width: max-content;
  color: #1f62b7;
  font-family: "Bradley Hand", "Kaiti TC", var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  transform: rotate(-5deg);
}

.review-hero__script::after {
  display: block;
  width: 132px;
  height: 3px;
  margin-top: 7px;
  content: "";
  border-radius: 999px;
  background: #2f71c7;
  transform: rotate(-3deg);
}

.review-hero h1 {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 28px 0 22px;
  color: #071433;
  font-family: var(--font-serif);
  font-size: clamp(3.35rem, 6.2vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.review-hero h1::after {
  position: absolute;
  right: -12px;
  bottom: 0.02em;
  left: 52%;
  height: 0.12em;
  content: "";
  border-radius: 999px;
  background: rgba(47, 113, 199, 0.36);
  transform: rotate(-2deg);
}

.review-hero p {
  max-width: 720px;
  margin: 0;
  color: #33455f;
  font-size: 1.08rem;
  line-height: 1.9;
}

.review-hero__quote {
  position: absolute;
  top: 64px;
  right: 80px;
  color: rgba(47, 113, 199, 0.18);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
}

.review-hero__score {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-height: 300px;
  border: 1px solid rgba(217, 232, 248, 0.95);
  border-radius: 20px;
  background: #fff;
  padding: 44px 46px 34px;
  text-align: center;
  box-shadow: 0 28px 62px rgba(3, 14, 60, 0.12);
}

.review-hero__score::before,
.review-hero__score::after {
  display: none;
}

.review-hero__score::before {
  inset: 32px -28px -24px 62px;
  transform: rotate(-4deg);
}

.review-hero__score::after {
  inset: -22px 58px 34px -24px;
  background: rgba(131, 211, 255, 0.2);
  transform: rotate(5deg);
}

.review-hero__score > span:first-child {
  display: inline-block;
  background: rgba(231, 221, 201, 0.72);
  color: #071433;
  padding: 8px 26px;
  font-size: 1.06rem;
  font-weight: 600;
}

.review-hero__score strong {
  display: block;
  margin: 16px 0 18px;
  color: #2f71c7;
  font-family: var(--font-serif);
  font-size: 7.2rem;
  font-weight: 500;
  line-height: 0.9;
}

.review-hero__score strong::after {
  display: block;
  width: 190px;
  height: 5px;
  margin: 8px auto 0;
  content: "";
  border-radius: 999px;
  background: #2f71c7;
  transform: rotate(-2deg);
}

.review-hero__score p {
  max-width: 330px;
  margin-inline: auto;
  color: #33455f;
}

.review-hero__star {
  position: absolute;
  top: 46px;
  right: 36px;
  width: 54px;
  height: 54px;
  color: #2f71c7;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 3;
}

.review-hero__badge {
  display: none;
}

.review-hero__badge svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reviews-story {
  position: relative;
  padding: 36px 0 28px;
  background: #fff;
}

.reviews-story .section__header {
  max-width: 820px;
  margin-bottom: 34px;
}

.reviews-story .section__eyebrow,
.reviews-voices .section__eyebrow,
.reviews-feedback .section__eyebrow {
  border-color: rgba(214, 184, 93, 0.34);
  background: linear-gradient(180deg, rgba(255, 244, 204, 0.94), rgba(255, 231, 154, 0.8));
  color: #164f8e;
  font-size: 0.86rem;
  font-weight: 600;
}

.reviews-story .section__header h2,
.reviews-voices .section__header h2 {
  color: #071433;
  font-size: clamp(2rem, 3.2vw, 2.78rem);
}

.reviews-case-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
}

.reviews-case-card,
.reviews-task-card,
.reviews-system-grid,
.reviews-feedback .feedback-version-card,
.reviews-voices .testimonial-card {
  border: 1px solid rgba(201, 225, 247, 0.92);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 250, 255, 0.88));
  box-shadow: 0 18px 42px rgba(3, 14, 60, 0.08);
}

.reviews-case-card {
  position: relative;
  top: auto;
  min-height: 100%;
  overflow: hidden;
  border-left: 0;
  padding: 42px 34px 34px;
}

.reviews-case-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 113, 199, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 113, 199, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.52), transparent 78%);
}

.reviews-case-card .number-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #07508b;
}

.reviews-case-card .number-kicker::before {
  width: 11px;
  height: 11px;
  content: "";
  border-radius: 50%;
  background: #2f71c7;
}

.reviews-case-card h3 {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 30px 0 16px;
  color: #071433;
  font-size: 1.8rem;
  line-height: 1.3;
}

.reviews-case-card p,
.reviews-case-card .case-study__chips,
.reviews-case-card .case-study__note {
  position: relative;
  z-index: 1;
}

.reviews-case-card p {
  color: #33455f;
  font-size: 0.96rem;
  line-height: 1.78;
}

.reviews-case-card .case-study__chips {
  margin-top: 28px;
}

.reviews-case-card .case-study__note {
  margin-top: 34px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.reviews-case-card--secondary h3 {
  font-size: 1.48rem;
}

.reviews-case-card--secondary .case-study__leaf {
  right: 18px;
  bottom: 4px;
}

.reviews-task-card {
  min-height: 100%;
  padding: 28px 34px;
}

.reviews-task-card .subject-tabs__panel {
  min-height: 260px;
  padding: 28px 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94));
}

.reviews-task-card .subject-tabs__direction {
  background: #eaf5ff;
}

.reviews-task-card .subject-tabs__actions {
  margin-top: 22px;
}

.reviews-task-card .subject-tabs__actions .button {
  min-width: 210px;
}

.reviews-system-grid {
  align-self: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.reviews-system-grid .system-card {
  min-height: 150px;
}

.reviews-system-grid .system-card h4 {
  font-size: 1rem;
}

.reviews-system-grid .system-card p {
  font-size: 0.82rem;
}

.reviews-voices {
  position: relative;
  overflow: hidden;
  padding: 50px 0 62px;
  background:
    radial-gradient(circle at 0% 0%, rgba(247, 211, 109, 0.18), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(188, 225, 255, 0.22), transparent 22%),
    linear-gradient(180deg, #fffdf7 0%, #fff7e9 100%);
}

.reviews-voices .section__header {
  margin-bottom: 26px;
}

.reviews-voices .testimonial-marquee {
  overflow: hidden;
  margin-inline: auto;
  padding: 4px 0 18px;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.reviews-voices .testimonial-marquee__track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: reviews-voices-marquee 36s linear infinite;
  will-change: transform;
}

.reviews-voices .testimonial-marquee.is-reversed .testimonial-marquee__track {
  animation-direction: reverse;
}

.reviews-voices .testimonial-marquee:hover .testimonial-marquee__track,
.reviews-voices .testimonial-marquee:focus-within .testimonial-marquee__track {
  animation-play-state: paused;
}

.reviews-voices .testimonial-card {
  position: relative;
  flex: 0 0 clamp(280px, 24vw, 360px);
  min-height: 176px;
  border-left: 4px solid #2f71c7;
  background: rgba(255, 255, 255, 0.94);
  padding: 28px 26px 24px;
}

.reviews-voices .testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: #071433;
  font-size: 0.98rem;
  line-height: 1.7;
}

.reviews-voices .testimonial-card cite {
  color: #637085;
  font-size: 0.9rem;
  text-align: right;
}

@keyframes reviews-voices-marquee {
  to {
    transform: translateX(calc(-50% - 12px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-voices .testimonial-marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .reviews-voices .testimonial-marquee__track {
    animation: none;
  }
}

.reviews-feedback {
  padding: 48px 0 44px;
  background:
    linear-gradient(180deg, #eaf7ff 0%, #f7fbff 100%);
}

.reviews-feedback .split--feedback {
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: 46px;
  align-items: end;
}

.reviews-feedback .section__header h2 {
  position: relative;
  font-size: clamp(2rem, 3.2vw, 2.74rem);
}

.reviews-feedback .section__header h2::after {
  display: block;
  width: 176px;
  height: 6px;
  margin-top: 8px;
  content: "";
  border-radius: 999px;
  background: rgba(47, 113, 199, 0.28);
  transform: rotate(-2deg);
}

.reviews-feedback .check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.reviews-feedback .feedback-versions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.reviews-feedback .feedback-version-card {
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.reviews-feedback .feedback-version-card img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 16px 34px rgba(3, 14, 60, 0.08);
}

.reviews-feedback .feedback-version-card h3 {
  margin-top: 18px;
  font-size: 1.5rem;
}

.reviews-final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 120%, rgba(47, 113, 199, 0.38), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(47, 113, 199, 0.16), transparent 24%),
    #050f3d;
}

.reviews-final-cta::before {
  position: absolute;
  left: -72px;
  bottom: -52px;
  width: 260px;
  height: 150px;
  content: "";
  border: 2px solid rgba(247, 211, 109, 0.68);
  border-right: 0;
  border-radius: 50%;
  transform: rotate(-22deg);
}

.reviews-final-cta::after {
  position: absolute;
  top: 92px;
  right: max(180px, 18vw);
  width: 42px;
  height: 42px;
  content: "";
  background:
    linear-gradient(30deg, transparent 45%, #f7d36d 46% 54%, transparent 55%),
    linear-gradient(120deg, transparent 45%, #f7d36d 46% 54%, transparent 55%),
    linear-gradient(0deg, transparent 45%, #f7d36d 46% 54%, transparent 55%);
  transform: rotate(12deg);
}

.reviews-final-cta .button::after {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  content: "";
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 42%, currentColor 42% 56%, transparent 56%),
    linear-gradient(45deg, transparent 48%, currentColor 49% 57%, transparent 58%);
  transform: rotate(45deg) scale(0.72);
}

@media (max-width: 1080px) {
  body[data-page="reviews"] .container {
    width: min(100% - 48px, 880px);
  }

  .review-hero__grid,
  .reviews-case-grid,
  .reviews-feedback .split--feedback {
    grid-template-columns: 1fr;
  }

  .review-hero__score {
    max-width: 540px;
  }

  .reviews-voices .testimonial-marquee__track,
  .reviews-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  body[data-page="reviews"] .container {
    width: min(100% - 32px, 520px);
  }

  .review-hero,
  .review-hero__grid {
    min-height: auto;
  }

  .review-hero__grid {
    gap: 34px;
    padding: 54px 0 64px;
  }

  .review-hero h1 {
    font-size: 3rem;
  }

  .review-hero__quote,
  .review-hero__badge {
    display: none;
  }

  .review-hero__score {
    min-height: auto;
    padding: 34px 24px;
  }

  .review-hero__score strong {
    font-size: 5.1rem;
  }

  .reviews-case-card {
    padding: 34px 24px;
  }

  .reviews-case-card h3 {
    font-size: 1.42rem;
  }

  .reviews-task-card,
  .reviews-task-card .subject-tabs__panel {
    padding: 22px;
  }

  .reviews-system-grid,
  .reviews-voices .testimonial-marquee__track,
  .reviews-feedback .feedback-versions,
  .subject-tabs__metrics {
    grid-template-columns: 1fr;
  }

  .reviews-feedback .feedback-versions {
    gap: 24px;
  }
}
