/* ---------- Inner page header ---------- */
.page-hero { padding: clamp(150px, 16vw, 210px) 0 clamp(50px, 6vw, 80px); }
.page-hero .eyebrow { display: inline-block; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--bg-2); font-size: 14px; color: var(--ink-2); }
.page-hero h1 { max-width: 14ch; margin: 0 auto; }
.page-hero .sub { max-width: 40ch; margin: 22px auto 0; }

/* ---------- Test facts (how it works) ---------- */
.facts-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { padding: 22px; border-radius: 22px; background: var(--bg-2); }
.stat b { display: block; font-size: clamp(36px, 4vw, 56px); font-weight: 350; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.stat--ink { background: var(--ink); color: #fff; }
.stat--ink span { color: rgba(255, 255, 255, 0.6); }
.stat--amber { background: var(--amber-soft); }

/* ---------- Session steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 24px 22px 26px; border-radius: 22px; background: var(--bg-2); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 42px; font-size: 14px; color: var(--ink-3); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 15px; }
.steps li:last-child { background: var(--ink); color: #fff; }
.steps li:last-child p, .steps li:last-child::before { color: rgba(255, 255, 255, 0.6); }

/* ---------- CTA band ---------- */
.band-cta { padding-block: clamp(70px, 9vw, 120px); }
.band-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); background: var(--sage); }
.band-cta h2 { font-size: clamp(32px, 4vw, 52px); max-width: 16ch; }
.band-cta__right { display: flex; align-items: center; gap: 16px; }
.band-cta .dot-mascot { width: 72px; }

/* ---------- Tutor page ---------- */
.profile { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.profile__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sage); display: grid; place-items: center; }
.profile__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; z-index: 1; }
.profile__photo .tutor__initials { position: relative; }
.profile h1 { font-size: clamp(52px, 7vw, 104px); }
.profile .sub { margin: 18px 0 28px; max-width: 34ch; }
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.approach article { padding: 26px; border-radius: 22px; background: var(--bg-2); }
.approach h3 { margin-bottom: 8px; }
.approach p { color: var(--ink-2); }
.big-quote { max-width: 980px; margin: 0 auto; text-align: center; }
.big-quote p { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -0.045em; }
.big-quote cite { display: block; margin-top: 18px; font-style: normal; color: var(--ink-3); }

/* ---------- Pricing page ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 16px 12px; text-align: center; border-bottom: 1px solid var(--hair); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-2); }
.compare thead th { font-weight: 500; font-size: 15px; vertical-align: bottom; }
.compare thead th:last-child { color: #c7801b; }
.compare .yes { color: var(--green); font-size: 18px; }
.compare .no { color: var(--ink-3); }
.compare-wrap { overflow-x: auto; padding: 8px 22px 16px; border-radius: 22px; background: var(--bg-2); }
.per-chart { display: grid; gap: 10px; margin-top: 8px; }
.per-row { display: grid; grid-template-columns: 110px 1fr 70px; gap: 12px; align-items: center; font-size: 15px; }
.per-row .dom__track { height: 12px; }
.per-row .dom__fill { background: var(--ink); }
.per-row:last-child .dom__fill { background: var(--amber); }
.is-in .per-row .dom__fill { width: var(--w); }
.fine { max-width: 70ch; margin: 28px auto 0; color: var(--ink-3); font-size: 14px; text-align: center; }

/* ---------- FAQ page ---------- */
.faq-group { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 40px; padding-block: 40px; border-top: 1px solid var(--hair); }
.faq-group h2 { font-size: clamp(26px, 3vw, 38px); }
.faq-group .faq__list { border-top: 0; }
.faq-group details:first-child summary { padding-top: 0; }

/* ---------- Book page ---------- */
.book-page { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.book-page h1 { font-size: clamp(48px, 6vw, 84px); }
.book-page .sub { margin: 20px 0 28px; max-width: 32ch; }
.book-page .dot-mascot { width: 110px; margin-bottom: 18px; }
.call-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.call-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); }
.call-list b { color: var(--ink); font-weight: 500; min-width: 1.6em; }
.book-page .form { background: var(--bg-2); box-shadow: none; padding: clamp(24px, 3vw, 36px); }
.book-page .field input:not([type="range"]), .book-page .field select { background: var(--bg); }
.book-page .seg { background: var(--bg); }

@media (max-width: 960px) {
  .facts-grid, .profile, .book-page, .faq-group { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .approach { grid-template-columns: 1fr; }
  .profile__photo { max-width: 440px; }
}
@media (max-width: 560px) {
  .steps, .stat-grid { grid-template-columns: 1fr; }
  .per-row { grid-template-columns: 90px 1fr 60px; }
}

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: 0; }
.legal__toc { position: sticky; top: 110px; display: grid; gap: 8px; font-size: 14px; }
.legal__toc a { color: var(--ink-3); transition: color 0.2s; }
.legal__toc a:hover { color: var(--ink); }
.legal__body { max-width: 720px; }
.legal__body h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.035em; margin: 48px 0 14px; scroll-margin-top: 110px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--ink-2); margin-bottom: 12px; }
.legal__body ul { padding-left: 20px; }
.legal__body b { color: var(--ink); font-weight: 500; }
.legal__body a { text-decoration: underline; text-underline-offset: 2px; }
.legal__meta { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.ph-fill { background: var(--amber-soft); color: #8a5a0c; padding: 0 4px; border-radius: 4px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; } }
