@font-face {
  font-family: Inter;
  src: url('/learn/english/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url('/learn/english/outfit.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #171b36;
  --muted: #514f66;
  --violet: #5132a0;
  --violet-dark: #392170;
  --mint: #d6f4e3;
  --surface: #fcfbf8;
  --line: #e1dce9;
  color: var(--ink);
  background: var(--surface);
  font: 100%/1.6 Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
h1, h2, h3, .brand, .trust-bar strong { font-family: Outfit, Inter, system-ui, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h2 { font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.625rem); letter-spacing: -.032em; line-height: 1.13; font-weight: 650; }
h3 { font-size: clamp(1.125rem, 1rem + .35vw, 1.375rem); line-height: 1.25; font-weight: 650; }
.shell { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto 1rem; transform: translateY(-160%); padding: .6rem 1rem; background: white; z-index: 2; }
.skip:focus { transform: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-nav, footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 76px; }
.site-nav nav, footer nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2rem); flex-wrap: wrap; }
.site-nav nav a, footer nav a { font-size: .9375rem; font-weight: 600; text-decoration: none; }
.site-nav nav a:hover, footer nav a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.4rem; font-weight: 670; text-decoration: none; }
.brand img { border-radius: 11px; }
.sign-in { border: 1px solid #cfc4e4; color: var(--violet-dark); border-radius: 12px; padding: .55rem 1rem; }
.welcome-hero { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(1.6rem,5vw,5rem); padding-block: clamp(2rem,6vw,5.5rem) clamp(1.5rem,4vw,3.5rem); }
.eyebrow { color: var(--violet-dark); font-size: .875rem; font-weight: 650; letter-spacing: .02em; }
.welcome-hero h1 { font-size: clamp(1.875rem, .94rem + 4.5vw, 3.875rem); font-weight: 650; line-height: 1.08; letter-spacing: -.04em; margin-block: .75rem 1.15rem; }
.welcome-hero h1 em { color: var(--violet); font-style: normal; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); font-size: clamp(1rem, .95rem + .22vw, 1.125rem); line-height: 1.6; max-width: 46ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.35rem; margin-top: 1.5rem; }
.hero-link { color: var(--violet-dark); font-size: .9375rem; line-height: 1.35; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; padding: .65rem 1.15rem; color: white; background: var(--violet); text-decoration: none; font-size: .9375rem; line-height: 1.25; font-weight: 650; }
.button:hover { background: var(--violet-dark); }
.hero-image { border-radius: 27px; overflow: hidden; border: 1px solid #ddd3e8; box-shadow: 0 15px 40px #3d215b1f; }
.hero-image img { width: 100%; height: auto; }
.trust-bar { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.trust-bar > div { padding: 1rem 1.2rem; background: #fff; }
.trust-bar strong, .trust-bar span { display: block; }
.trust-bar strong { font-size: clamp(1.25rem, 1.12rem + .5vw, 1.625rem); line-height: 1.15; color: var(--violet-dark); }
.trust-bar span { margin-top: .25rem; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.trust-bar #rating-score { color: #704400; }
.section { margin-block: clamp(2.7rem,6vw,5.5rem); }
.programme-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 1.35rem; }
.programme { --tint: #e5f4eb; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: #fff; }
.programme:nth-child(2) { --tint: #eee8fb; }
.programme:nth-child(3) { --tint: #f9ead7; }
.programme > img { width: calc(100% - 1.3rem); height: auto; aspect-ratio: 16/9; object-fit: cover; margin: .65rem .65rem 0; border-radius: 14px; background: var(--tint); }
.programme-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.15rem; }
.tag { font-size: .8125rem; font-weight: 650; color: var(--ink); background: var(--tint); padding: .2rem .6rem; border-radius: 8px; }
.programme h3 { margin-top: .65rem; font-size: clamp(1.375rem, 1.15rem + .55vw, 1.625rem); letter-spacing: -.025em; }
.programme p { margin-block: .4rem 1.2rem; font-size: 1rem; line-height: 1.55; color: var(--muted); }
.programme .button { margin-top: auto; color: var(--violet-dark); background: #fff; border: 1px solid #cfc4e4; }
.programme .button:hover { background: var(--tint); }
.learning-benefits { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: clamp(1.4rem,5vw,5rem); padding: clamp(1.4rem,4.5vw,3.5rem); border-radius: 24px; background: #ede8f7; }
.learning-benefits p { margin-top: .5rem; color: var(--muted); }
.benefit-list { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.benefit-list li { counter-increment: step; display: grid; grid-template-columns: 2rem 1fr; column-gap: .75rem; padding-block: .7rem; }
.benefit-list li + li { border-top: 1px solid #d8cce8; }
.benefit-list li::before { content: counter(step); grid-row: span 2; align-self: start; text-align: center; border-radius: 8px; background: #fff; color: var(--violet-dark); font-weight: 750; padding: .12rem; }
.benefit-list p { grid-column: 2; }
.final-call { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding: clamp(1.45rem,4vw,3rem); border-radius: 24px; background: var(--ink); color: white; }
.final-call p { margin-top: .55rem; color: #eeebfa; }
.final-call .button { background: var(--mint); color: #19392a; }
.final-call .button:hover { background: #bdebd1; }
.final-call a:focus-visible { outline-color: #c5b3ff; }
footer { border-top: 1px solid var(--line); padding-block: .85rem; }
@media (max-width: 820px) {
  .shell { width: calc(100% - 36px); }
  .welcome-hero { grid-template-columns: 1fr; }
  .hero-image { max-width: 640px; }
  .programme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 580px) {
  .site-nav { min-height: 65px; }
  .site-nav nav { gap: .7rem; }
  .site-nav nav a { font-size: .875rem; }
  .site-nav nav a[href="#practice-title"] { display: none; }
  .brand { font-size: 1.25rem; }
  .programme-grid, .learning-benefits { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-bar > div { padding: .8rem; }
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .6rem;
  list-style: none;
  padding: 0;
  margin: 1.05rem 0 0;
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 99px;
  padding: .25rem .65rem;
  background: #e5f4eb;
  color: #234733;
  font-size: .875rem;
  line-height: 1.35;
  font-weight: 600;
}
.hero-proof li::before {
  content: '';
  width: .43rem;
  height: .26rem;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
}
.hero-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.programme { box-shadow: 0 8px 22px #2111350a; }

.hero-image {
  border-color: #e7deee;
  box-shadow: 0 22px 46px #3d215b1a;
  background: #eee6f4;
}
.hero-actions .button {
  min-height: 52px;
  padding-inline: 1.35rem;
  box-shadow: 0 6px 16px #5132a028;
}
.trust-bar > div { padding-block: 1.15rem; }
.trust-bar > div:not([hidden]) { min-width: 0; }
@media (max-width: 580px) {
  .welcome-hero { gap: 1.25rem; padding-top: 1.6rem; }
  .welcome-hero h1 { font-size: clamp(1.875rem, 1.25rem + 3.5vw, 2.5rem); margin-block: .55rem .75rem; }
  .hero-actions { margin-top: 1.1rem; }
  .hero-proof { margin-top: .85rem; }
  .trust-bar > div { padding-block: .8rem; }
}

[hidden] { display: none !important; }
.hero-image { position: relative; }
.hero-sample {
  position: absolute;
  inset: auto auto .9rem .9rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .62rem .85rem;
  border-radius: 14px;
  background: #fff;
  color: var(--violet-dark);
  box-shadow: 0 4px 14px #21113526;
  text-decoration: none;
  line-height: 1.3;
}
.hero-sample:hover { background: #f5effb; }
.hero-sample strong { font-size: .9375rem; }
.hero-sample small { display: block; margin-top: .15rem; color: var(--muted); font-size: .8125rem; }
.sample-play { padding: .32rem .6rem; border-radius: 50%; background: #ede8f7; }
.sample-section {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: clamp(1rem,4vw,3.5rem);
  padding: clamp(1.25rem,4vw,3rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f4eff9;
  scroll-margin-top: 1rem;
}
.sample-section h2 { margin-block: .35rem .7rem; }
.sample-card { min-width: 0; padding: 1rem; border-radius: 16px; background: #fff; }
.sample-phrase { font-size: 1.45rem; font-weight: 700; text-align: start; }
.sample-translation { color: var(--muted); }
.sample-card audio { display: block; width: 100%; margin-block: .75rem; }
.sample-card fieldset { display: grid; gap: .4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.sample-card legend { margin-bottom: .4rem; font-weight: 700; }
.sample-card button {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem .8rem;
  text-align: start;
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.sample-card button:hover { background: #f4eff9; }
.sample-card button:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.sample-card button[data-correct] { background: var(--mint); }
#sample-feedback:not(:empty), #sample-continue { margin-top: .65rem; }
@media (max-width: 700px) { .sample-section { grid-template-columns: 1fr; } }

@media (min-width: 821px) and (max-width: 1180px) {
  .welcome-hero h1 { font-size: clamp(2.4rem, 5vw, 3.55rem); }
}

.sample-choices { min-width: 0; display: grid; align-content: start; gap: .65rem; }
.sample-choice { min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.sample-choice summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .75rem; min-height: 60px; padding: .7rem 1rem; color: var(--ink); list-style: none; cursor: pointer; }
.sample-choice summary::-webkit-details-marker { display: none; }
.sample-choice summary::after { content: '+'; align-self: center; grid-column: 2; grid-row: 1 / span 2; color: var(--violet-dark); font-size: 1.2rem; }
.sample-choice[open] summary::after { content: '−'; }
.sample-choice summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 12px; }
.sample-choice summary strong { font-size: 1rem; font-weight: 650; }
.sample-choice summary > span { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.sample-choice .sample-card { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.sample-context, .sample-next { margin-block: .25rem .7rem; }
.sample-feedback:not(:empty), .sample-explanation:not([hidden]) { margin-top: .65rem; font-size: .9375rem; }
.sample-card button[data-sample-answer] { text-align: start; }
