/* MathsTutorUK: teal + lemon. Colours come from brand/palette.css. */
:root {
  --teal: #0E3B43;
  --teal-mid: #1B6B78;
  --lemon: #F4D35E;
  --lemon-soft: #F8E39A;
  --mustard: #806300;
  --paper: #F4F1EA;
  --white: #FFFFFF;
  --ink: #1C2B2F;
  --muted: #56676C;
  --line: #DDD8CC;
  --field: #7D8A8D;
  --on-teal: #F4F1EA;
  --on-teal-muted: rgba(244, 241, 234, .8);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  --step-3: clamp(1.95rem, 1.3rem + 2.6vw, 3rem);
  --step-4: clamp(2.4rem, 1.4rem + 4.4vw, 4.4rem);

  --band-pad: clamp(56px, 8vw, 112px);
  --radius: 10px;
  --focus: var(--teal-mid);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.04; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: var(--step-3); line-height: 1.1; letter-spacing: -.012em; }
h3 { font-size: var(--step-1); line-height: 1.25; }
h2.h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: 0; }
p { margin: 0 0 1em; }
.after { margin-top: 28px; }
a { color: var(--mustard); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 700; }
.small { font-size: .95rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.measure { max-width: 68ch; }
.lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.3rem); line-height: 1.55; max-width: 56ch; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lemon); color: var(--teal); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ----------------------------------------------------------------- bands */
.band { padding-block: var(--band-pad); }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.band-teal { background: var(--teal); color: var(--on-teal); --focus: var(--lemon); }
.band-teal h1, .band-teal h2, .band-teal h3 { color: var(--on-teal); }
.band-teal a:not(.btn) { color: var(--lemon); }
.band-teal a:not(.btn):hover { color: var(--white); }
.band-lemon { background: var(--lemon); color: var(--teal); --focus: var(--teal); }
.band-lemon a:not(.btn) { color: var(--teal); }
.graph-paper {
  background-image:
    linear-gradient(rgba(244, 241, 234, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, .055) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { font-size: 1.2rem; }
.band-teal .section-head p { color: var(--on-teal-muted); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1.02rem/1.2 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: .98rem; }
.btn-lemon { background: var(--lemon); color: var(--teal); }
.btn-lemon:hover { background: var(--lemon-soft); color: var(--teal); }
.btn-teal { background: var(--teal); color: var(--paper); }
.btn-teal:hover { background: var(--teal-mid); color: var(--white); }
.btn-outline-teal { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline-teal:hover { background: var(--teal); color: var(--paper); }
.btn-outline-paper { border-color: rgba(244, 241, 234, .7); color: var(--on-teal); background: transparent; }
.btn-outline-paper:hover { border-color: var(--lemon); color: var(--lemon); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--teal); color: var(--on-teal); border-bottom: 1px solid rgba(244, 241, 234, .12); --focus: var(--lemon); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { width: 194px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav .btn { white-space: nowrap; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 10px 9px; color: var(--on-teal); text-decoration: none; white-space: nowrap;
  font-size: 1rem; border-bottom: 2px solid transparent;
}
.site-nav ul a:hover { color: var(--lemon); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--lemon); }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
    background: transparent; color: var(--on-teal); border: 2px solid rgba(244, 241, 234, .6);
    border-radius: 999px; font: 700 1rem var(--sans); cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--teal); padding: 12px clamp(16px, 4vw, 40px) 28px;
    border-bottom: 1px solid rgba(244, 241, 234, .15);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 14px 0; border-bottom: 1px solid rgba(244, 241, 234, .12); font-size: 1.1rem; }
  .site-nav ul a[aria-current="page"] { color: var(--lemon); border-bottom-color: rgba(244, 241, 234, .12); }
}
@media (max-width: 420px) { .brand img { width: 160px; } }

/* ------------------------------------------------------------------ hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { max-width: 16ch; margin-bottom: .4em; }
.hero .lead { color: var(--on-teal-muted); }
.hero .lead strong { color: var(--on-teal); }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 15rem)); gap: 14px 28px; list-style: none; padding: 0; margin: 44px 0 0; font-size: .98rem; color: var(--on-teal-muted); }
.creds li { border-top: 1px solid rgba(244, 241, 234, .35); padding-top: 10px; }

.hero-graph { width: 100%; max-width: 560px; margin-left: auto; overflow: visible; }
.hg-axis { fill: none; stroke: rgba(244, 241, 234, .55); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hg-curve { fill: none; stroke: var(--paper); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hg-draw 1.9s cubic-bezier(.55, 0, .3, 1) .25s forwards; }
.hg-dot { fill: var(--lemon); offset-rotate: 0deg; offset-distance: 0%; animation: hg-travel 1.9s cubic-bezier(.55, 0, .3, 1) .25s forwards; }
.hg-mark { opacity: 0; animation: hg-fade .45s ease-out var(--d) forwards; }
.hg-mark circle { fill: var(--teal); stroke: var(--lemon); stroke-width: 3; }
.hg-mark text { fill: var(--paper); font: 700 21px var(--sans); }
@keyframes hg-draw { to { stroke-dashoffset: 0; } }
@keyframes hg-travel { to { offset-distance: 100%; } }
@keyframes hg-fade { to { opacity: 1; } }
@supports not (offset-path: path("M0 0")) { .hg-dot { animation: none; transform: translate(560px, 40px); } }
@media (prefers-reduced-motion: reduce) {
  .hg-curve, .hg-dot, .hg-mark { animation: none; }
  .hg-curve { stroke-dashoffset: 0; }
  .hg-dot { offset-distance: 100%; }
  .hg-mark { opacity: 1; }
  .btn, .qa summary::after { transition: none; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-graph { max-width: 440px; margin: 8px auto 0; }
}

/* Inner-page hero */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(44px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.7rem); max-width: 24ch; }
.page-hero .lead { color: var(--on-teal-muted); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.facts li { border: 1px solid rgba(244, 241, 234, .35); border-radius: 999px; padding: 6px 16px; font-size: .98rem; }
.facts li strong { color: var(--lemon); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .95rem; color: var(--on-teal-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--on-teal-muted) !important; }
.crumbs a:hover { color: var(--lemon) !important; }

/* ------------------------------------------------------- levels (lemon) */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); list-style: none; padding: 0; margin: 0; }
.level { border-top: 3px solid var(--teal); padding-top: 22px; display: flex; flex-direction: column; }
.level h3 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: .2em; }
.level h3 a { color: var(--teal); text-decoration: none; }
.level h3 a:hover { text-decoration: underline; }
.level-meta { font-size: .98rem; margin-bottom: 14px; opacity: .85; }
.level-price { margin-top: auto; padding-top: 12px; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.level-price span { font-family: var(--sans); font-size: 1rem; font-weight: 400; }
.level .more { font-weight: 700; }
.also { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid rgba(14, 59, 67, .3); font-size: 1.05rem; }
@media (max-width: 860px) { .levels { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: block; font: 700 clamp(3rem, 2.4rem + 2vw, 4.2rem)/1 var(--serif);
  color: var(--teal-mid); margin-bottom: 14px;
}
.steps h3 { margin-bottom: .35em; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.includes { margin-top: clamp(36px, 5vw, 56px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.includes h3 { margin-bottom: .7em; }
.tick-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.tick-list li { position: relative; padding-left: 30px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--teal-mid); border-bottom: 3px solid var(--teal-mid); transform: rotate(-45deg); }
@media (max-width: 700px) { .tick-list { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------- timeline */
.year { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(244, 241, 234, .25); }
.year li { display: grid; grid-template-columns: 12rem 15rem minmax(0, 1fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid rgba(244, 241, 234, .25); }
.year .when { font: 700 1.15rem/1.3 var(--serif); color: var(--lemon); }
.year .what { font-weight: 700; color: var(--on-teal); }
.year .how { color: var(--on-teal-muted); }
@media (max-width: 760px) { .year li { grid-template-columns: minmax(0, 1fr); } }

/* ----------------------------------------------------------------- about */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.cred-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cred-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cred-list strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--teal); }
.cred-list span { color: var(--muted); font-size: 1rem; }

/* ---------------------------------------------------------------- tables */
.table-scroll { overflow-x: auto; }
.fee-table, .data-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1.05rem; }
.fee-table th, .fee-table td, .data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table thead th, .data-table thead th { font-size: .95rem; color: var(--muted); font-weight: 700; background: var(--paper); }
.fee-table tbody th { font-weight: 400; }
.fee-table tbody th a { color: var(--ink); }
.fee-table td { font: 700 1.2rem var(--serif); color: var(--teal); white-space: nowrap; }
.fee-table + .small, .table-scroll + .small { margin-top: 12px; }

/* ------------------------------------------------------------------- FAQ */
.qa-list { border-top: 1px solid var(--line); max-width: 52rem; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 48px 20px 0; font: 600 1.2rem/1.35 var(--serif); color: var(--teal);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(45deg); transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.qa > div { padding: 0 0 20px; max-width: 68ch; }
.qa > div p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ blog */
.post-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-item > a { text-decoration: none; }
.post-title { font: 600 clamp(1.3rem, 1.1rem + .7vw, 1.6rem)/1.25 var(--serif); color: var(--teal); }
.post-item > a:hover .post-title { text-decoration: underline; text-underline-offset: 4px; }
.post-item p { margin: 8px 0 0; max-width: 68ch; }
.post-meta { font-size: .95rem; color: var(--muted); }
.post-meta span::before { content: "/"; margin: 0 8px; opacity: .6; }
.post-byline { color: var(--on-teal-muted); font-size: 1rem; margin-top: 18px; }

/* ----------------------------------------------------------------- prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--teal-mid); }
.prose .data-table { margin: 8px 0 1.4em; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside h2 { font-size: 1.35rem; }
.aside .btn { width: 100%; margin-top: 10px; }
.aside p { font-size: 1rem; }
@media (max-width: 960px) { .with-aside { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }

.worked { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); margin: 1.2em 0 1.6em; }
.worked h3 { margin-top: 0; font-size: 1.2rem; }
.worked ol { margin-bottom: 0; }
.math { font-family: var(--serif); font-size: 1.12em; white-space: nowrap; }
@media (max-width: 600px) { .math { white-space: normal; } .prose, .worked { overflow-wrap: anywhere; } }
.math i, var { font-style: italic; }
.display-math { display: block; font-family: var(--serif); font-size: 1.15em; margin: .6em 0 .9em; padding-left: 1em; overflow-x: auto; }
.answer { font-weight: 700; color: var(--teal); }
.note { border-left: 4px solid var(--lemon); padding: 4px 0 4px 18px; margin: 1.4em 0; }

.topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 40px; list-style: none; padding: 0; margin: 0; }
.topic-grid h3 { font-size: 1.2rem; margin-bottom: .4em; padding-bottom: .4em; border-bottom: 2px solid var(--teal); }
.topic-grid ul { padding-left: 1.1em; margin: 0; font-size: 1.02rem; }
.topic-grid li { margin-bottom: .3em; }

/* -------------------------------------------------------------------- CTA */
.cta-band { padding-block: clamp(48px, 6vw, 80px); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 48px; align-items: center; }
.cta-inner h2 { color: var(--teal); margin-bottom: .3em; }
.cta-inner p { max-width: 52ch; margin: 0; font-size: 1.15rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }

/* ----------------------------------------------------------------- forms */
.book-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1.05rem/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--field); border-radius: 8px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal-mid); outline-offset: 1px; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: #A1261B; }
.field .err { color: #A1261B; font-size: .95rem; margin: 6px 0 0; }
.hint { font-size: .95rem; color: var(--muted); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 12px 16px; border-radius: 8px; background: var(--paper); font-weight: 700; }
.form-status.ok { background: #E3F1EC; color: #13513F; }
.form-status.bad { background: #FBE9E7; color: #A1261B; }
.book-form .small { margin: 0; }
@media (max-width: 700px) { .book-form { grid-template-columns: minmax(0, 1fr); } }

.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: .95rem; color: var(--muted); }
.contact-list a { font: 600 1.25rem var(--serif); color: var(--teal); }

/* ---------------------------------------------------------------- quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.quote { margin: 0; border-top: 3px solid var(--lemon); padding-top: 18px; }
.quote blockquote { margin: 0; font: 400 1.25rem/1.5 var(--serif); color: var(--teal); }
.quote figcaption { margin-top: 10px; color: var(--muted); font-size: .98rem; }

/* ----------------------------------------------------------- publications */
.pubs { padding-left: 1.6em; margin: 0; }
.pubs li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pubs li::marker { font-family: var(--serif); color: var(--teal-mid); font-weight: 700; }
.pub-title { display: block; font: 600 1.15rem/1.35 var(--serif); color: var(--teal); }
.pub-meta { display: block; color: var(--muted); font-size: 1rem; margin-top: 4px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--teal); color: var(--on-teal-muted); padding-block: clamp(48px, 6vw, 72px) 28px; font-size: 1rem; --focus: var(--lemon); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 194px; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.footer-h { font: 700 1rem var(--sans); color: var(--on-teal); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-teal); text-decoration: none; }
.site-footer a:hover { color: var(--lemon); text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(244, 241, 234, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .92rem; }
.footer-legal p { margin: 0; max-width: 70ch; }
.footer-legal a { margin-right: 16px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- misc */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 760px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.more-courses-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.course-block { padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px clamp(28px, 4vw, 56px); scroll-margin-top: 96px; }
.course-block h2 { font-size: var(--step-2); margin: 0; }
.course-block .level-price { font-size: 1.2rem; padding: 0; margin-top: 8px; color: var(--teal); }
@media (max-width: 760px) { .course-block { grid-template-columns: minmax(0, 1fr); } }
.notfound { min-height: 50vh; }
