:root {
  color-scheme: light;
  --ink: #17233f;
  --muted: #5c6676;
  --line: #dde7ef;
  --paper: #ffffff;
  --soft: #f6fbff;
  --teal: #0f766e;
  --teal-dark: #0b5d56;
  --blue: #2f80ed;
  --coral: #f06c5b;
  --gold: #f4b740;
  --mint: #daf7ea;
  --peach: #fff1e8;
  --sky: #eaf4ff;
  --shadow: 0 18px 55px rgba(23, 35, 63, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfdff;
  line-height: 1.55;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 42px;
  padding: 8px 16px;
  background: #ffcf3f;
  color: #17233f;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
}

.top-strip a {
  padding: 7px 12px;
  border-radius: 999px;
  background: #17233f;
  color: white;
  font-size: 0.82rem;
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(221, 231, 239, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 900;
}

.brand-logo {
  width: 62px;
  height: 48px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #344056;
  font-size: 0.95rem;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--teal-dark);
  color: white;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  min-width: 74px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(390px, 1.12fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
  min-height: calc(100vh - 118px);
  padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 56px) 56px;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 207, 63, 0.35) 0 9%, transparent 10%),
    radial-gradient(circle at 46% 78%, rgba(240, 108, 91, 0.18) 0 10%, transparent 11%),
    linear-gradient(110deg, #fff6e8 0%, #fff6e8 42%, #eaf4ff 42%, #eaf4ff 100%);
}

.hero-copy {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.8rem, 6.5vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: #f06c5b;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.22;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: #334155;
  font-size: 1.2rem;
  font-weight: 560;
}

.hero-actions,
.cta-section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, #0f766e, #2f80ed);
  color: white;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.button.secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.proof-strip div {
  padding: 16px;
  border: 2px solid #ffffff;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 26px rgba(23, 35, 63, 0.06);
}

.proof-strip dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.proof-strip dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.hero-stage {
  display: grid;
  gap: 18px;
  align-self: stretch;
  align-content: center;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 8px solid white;
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(23, 35, 63, 0.18);
}

.hero-media::before {
  content: "Live class";
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 38%;
}

.trial-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  padding: 24px;
  border: 1px solid rgba(221, 231, 239, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 44px rgba(23, 35, 63, 0.14);
}

.trial-card h2 {
  font-size: 1.45rem;
  line-height: 1.12;
}

.trial-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trial-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.trial-card label {
  grid-column: span 1;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.trial-card input {
  grid-column: span 1;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

.trial-card button {
  grid-column: 1 / -1;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  gap: 12px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: white;
  border-block: 1px solid var(--line);
}

.trust-band p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-weight: 750;
  box-shadow: 0 10px 26px rgba(23, 35, 63, 0.05);
}

.trust-band span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section,
.local-section,
.cta-section,
.site-footer {
  padding: clamp(58px, 8vw, 106px) clamp(18px, 4vw, 56px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.class-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.class-grid article,
.steps article,
.quote-panel {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 14px 34px rgba(23, 35, 63, 0.06);
}

.class-grid article:nth-child(1) {
  background: linear-gradient(180deg, #ffffff 0%, var(--sky) 100%);
}

.class-grid article:nth-child(2) {
  background: linear-gradient(180deg, #ffffff 0%, var(--mint) 100%);
}

.class-grid article:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, var(--peach) 100%);
}

.class-grid article:nth-child(4) {
  background: linear-gradient(180deg, #ffffff 0%, #fff8dc 100%);
}

.class-grid article:nth-child(5) {
  background: linear-gradient(180deg, #ffffff 0%, #f3edff 100%);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  height: auto;
  margin-bottom: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.programs {
  background: #ffffff;
}

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

.program-grid article {
  min-height: 260px;
  overflow: hidden;
  padding: 0 0 26px;
  border-radius: 24px;
  color: #17233f;
  box-shadow: 0 18px 42px rgba(23, 35, 63, 0.09);
}

.program-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid rgba(221, 231, 239, 0.7);
}

.program-grid article:nth-child(1) {
  background: #fff1e8;
}

.program-grid article:nth-child(2) {
  background: #eaf4ff;
}

.program-grid article:nth-child(3) {
  background: #daf7ea;
}

.program-grid article:nth-child(4) {
  background: #fff8dc;
}

.program-grid article:nth-child(5) {
  background: #f3edff;
}

.program-grid span {
  display: inline-flex;
  margin: 22px 26px 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-grid h3,
.program-grid p,
.program-grid a {
  margin-left: 26px;
  margin-right: 26px;
}

.program-grid p {
  color: #475569;
}

.program-grid a {
  color: var(--teal-dark);
  font-weight: 900;
}

.class-grid p,
.steps p {
  color: var(--muted);
}

.class-grid a {
  color: var(--teal-dark);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 207, 63, 0.22) 0 8%, transparent 9%),
    var(--soft);
}

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

.check-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--blue);
  background: white;
  font-weight: 650;
  box-shadow: 0 8px 22px rgba(23, 35, 63, 0.04);
}

.quote-panel {
  background: linear-gradient(135deg, #17233f, #274c9b);
  color: white;
}

.quote-panel p {
  margin-top: 0;
  font-size: 1.2rem;
}

.quote-panel span {
  color: #bfebe5;
  font-weight: 800;
}

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

.steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #fff4d6;
  color: #8a6100;
  font-weight: 900;
}

.local-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 207, 63, 0.2) 0 10%, transparent 11%),
    linear-gradient(135deg, #17233f, #0b5d56);
  color: white;
}

.local-section p {
  color: #cbd7d3;
}

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

.city-list span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 750;
}

.faq {
  background: #fbfdff;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.1rem;
  font-weight: 850;
}

details p {
  max-width: 900px;
  margin: -6px 0 22px;
  color: var(--muted);
}

.cta-section {
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #fff7ec, #eaf4ff);
}

.cta-section div {
  max-width: 760px;
}

.cta-section p:not(.eyebrow) {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  background: #17233f;
  color: white;
}

.site-footer p {
  margin-bottom: 0;
  color: #cbd7d3;
}

.footer-logo {
  width: min(240px, 78vw);
  height: auto;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 18px;
  background: white;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .local-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background: var(--soft);
  }

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

  .class-grid article:first-child,
  .program-grid article:first-child {
    grid-column: 1 / -1;
  }

  .trial-card {
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  h1 {
    font-size: 3rem;
  }

  .proof-strip,
  .class-grid,
  .program-grid,
  .steps,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .top-strip {
    flex-direction: column;
    gap: 6px;
  }

  .trial-card form {
    grid-template-columns: 1fr;
  }

  .trial-card label,
  .trial-card input {
    grid-column: 1;
  }

  .class-grid article,
  .steps article {
    min-height: auto;
  }

  .site-footer,
  .cta-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
