@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/nunito-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/nunito-800.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/nunito-900.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --bg-canvas: #FFFBF7;
  --surface-raised: #FFFFFF;
  --surface-sunken: #FAF5F0;
  --border-subtle: #EDE4DC;
  --border-strong: #8A7B70;
  --text-primary: #2B211C;
  --text-secondary: #716258;
  --text-on-fill: #FFFFFF;
  --accent-text: #C8441C;
  --accent-fill: #E8562A;
  --accent-container: #FFE9DD;
  --accent-on-container: #8F2E12;
  --button-top: #CB4620;
  --button-bottom: #BC3E1A;
  --button-depth: #8F2E12;
  --band-start: #CB4620;
  --band-end: #A8331A;
  --band-gold: #FFD24D;
  --band-cream: #FFF6E6;
  --band-ink: #8F2E12;
  --de-text: #3F55C4;
  --focus: #0B73AE;
  --focus-on-band: #FFFFFF;
  --margin: 20px;
  --section: 48px;
  --container: 1120px;
  --prose: 68ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-canvas: #17120F;
    --surface-raised: #231C18;
    --surface-sunken: #2A221D;
    --border-subtle: #3A2F29;
    --border-strong: #8A7D74;
    --text-primary: #F5EEE9;
    --text-secondary: #AD9F96;
    --accent-text: #FF8A5F;
    --accent-container: #3A2016;
    --accent-on-container: #FFD5C2;
    --button-depth: #6B220D;
    --de-text: #A9B6FF;
    --focus: #6CC4FF;
  }
}
@media (prefers-contrast: more) {
  :root { --text-secondary: var(--text-primary); --border-subtle: var(--border-strong); }
}
@media (min-width: 37.5em) { :root { --margin: 24px; } }
@media (min-width: 56.25em) { :root { --margin: 32px; --section: 64px; } }

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  font-synthesis: none;
  font-feature-settings: "kern";
  overflow-wrap: anywhere;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, address { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
img, video { max-width: 100%; height: auto; }
img { display: block; }
strong, b { font-weight: 800; }
em { font-style: normal; font-weight: 800; }
address { font-style: normal; }
a {
  color: var(--accent-text);
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-thickness: 3px; } }
@media (prefers-contrast: more) { a { text-decoration-thickness: 2px; } }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--focus-on-band); }
.es { font-weight: 800; }
.nowrap { white-space: nowrap; }
[lang="es-ES"] { text-transform: none; }

/* type roles */
.display {
  font-size: clamp(2.125rem, 1.5rem + 2.5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}
h2, .page-title {
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.015em;
}
h3, h4 { font-size: 1.1875rem; line-height: 1.26; font-weight: 800; }
.lead { font-size: 1.1875rem; line-height: 1.5; }
.caption, .meta { font-size: 0.9375rem; line-height: 1.4; font-weight: 700; }
.meta { color: var(--text-secondary); }
.eyebrow { font-size: 0.75rem; line-height: 1.25; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }

/* layout */
.wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}
.section { margin-block-start: var(--section); }
.section > h2 { margin-block-end: 16px; }
.narrow > * { max-width: var(--prose); }

/* skip link */
.skip {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 9999px;
  background: var(--surface-raised);
  color: var(--text-primary);
  font-weight: 800;
}
.skip:not(:focus) {
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* header */
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.375rem;
  line-height: 1.26;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
}
.brand:hover, .brand:focus-visible { text-decoration: underline 3px var(--text-secondary); text-underline-offset: 6px; }
.nav ul { display: flex; flex-wrap: wrap; margin: 0; margin-inline-end: -12px; padding: 0; list-style: none; }
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding-inline: 12px;
  color: var(--text-primary);
  font-weight: 800;
  text-decoration: none;
}
.nav a:hover, .nav a:focus-visible { text-decoration: underline 3px var(--text-secondary); text-underline-offset: 6px; }
.nav a[aria-current="page"] { font-weight: 900; text-decoration: underline 3px var(--accent-fill); text-underline-offset: 6px; }

/* footer */
.site-footer {
  margin-block-start: var(--section);
  padding-block: 40px;
  background: var(--surface-sunken);
  border-block-start: 2px solid var(--border-subtle);
}
@media (min-width: 37.5em) { .site-footer { padding-block: 48px; } }
.footer-brand { font-size: 1.1875rem; line-height: 1.26; font-weight: 800; }
.footer-tag, .footer-legal { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.4; font-weight: 700; }
.footer-tag { margin-block-start: 4px; }
.footer-nav { margin-block-start: 16px; }
.footer-nav ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.footer-nav li:not(:last-child)::after { content: "·"; content: "·" / ""; margin-inline: 8px; color: var(--text-secondary); }
.footer-nav a, .footer-email a { display: inline-block; padding-block: 8px; }
.footer-legal { margin-block-start: 16px; }
.footer-legal p + p { margin-block-start: 4px; }
.site-footer a { color: var(--accent-text); }

/* tiles, icons, capsules */
.tile { border-radius: 22.37%; }
.icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: var(--accent-container);
  color: var(--accent-text);
}
.icon svg { width: 24px; height: 24px; }
.capsule {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 16px;
  border-radius: 9999px;
  background: var(--accent-container);
  color: var(--accent-on-container);
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 700;
}
.band .capsule { background: var(--band-cream); color: var(--band-ink); }
.eyebrow-capsule {
  display: inline-block;
  margin-block-end: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--accent-container);
  color: var(--accent-on-container);
}

/* 3D button */
.btn3d {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-block-end: 4px;
  padding: 0 24px;
  border-radius: 16px;
  background: linear-gradient(to bottom, var(--button-top), var(--button-bottom));
  box-shadow: 0 4px 0 var(--button-depth);
  color: var(--text-on-fill);
  font-size: 1.0625rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 200ms cubic-bezier(0.34, 1.3, 0.64, 1);
}
.btn3d:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 var(--button-depth);
  transition-duration: 80ms;
  transition-timing-function: ease-out;
}
@media (prefers-reduced-motion: reduce) { .btn3d { transition-duration: 120ms; transition-timing-function: ease-out; } }
@media (min-width: 37.5em) { .btn3d { display: inline-flex; width: auto; min-width: 280px; } }

/* card */
.card {
  padding: 20px;
  border: 2px solid var(--border-subtle);
  border-radius: 24px;
  background: var(--surface-raised);
  box-shadow: 0 3px 0 var(--border-subtle);
}
@media (min-width: 37.5em) { .card { padding: 24px; } }
.card > * + * { margin-block-start: 12px; }

/* home */
.home-hero { display: grid; gap: 24px; padding-block-start: 24px; }
.home-hero-art { order: -1; }
.home-hero-art .tile { width: 96px; height: 96px; }
.home-hero-copy { max-width: 600px; }
.home-hero-copy .lead { margin-block: 16px 24px; color: var(--text-secondary); }
@media (min-width: 37.5em) { .home-hero-art .tile { width: 120px; height: 120px; } }
@media (min-width: 56.25em) { .home-hero-art .tile { width: 176px; height: 176px; } }
@media (min-width: 56.25em) {
  .home-hero { grid-template-columns: 7fr 5fr; align-items: center; padding-block-start: 48px; }
  .home-hero-art { order: 0; justify-self: center; }
}
.courses, .promises, .features { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 37.5em) { .courses, .promises, .features { gap: 24px; } .promises, .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56.25em) {
  .courses { grid-template-columns: repeat(2, 1fr); }
  .promises { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
}
.course-card { position: relative; }
.course-head { display: flex; align-items: center; gap: 16px; }
.course-head .tile { flex: none; width: 72px; height: 72px; }
.course-card h3 a { color: var(--text-primary); text-decoration: none; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.course-card h3 a:hover { text-decoration: underline 3px var(--text-secondary); text-underline-offset: 4px; }
.accent { color: var(--accent-text); }
.de { color: var(--de-text); }
.promises li > * + * { margin-block-start: 12px; }
.feature h3 { margin-block-start: 12px; }
.feature p { margin-block-start: 8px; }

/* /spanish/ band */
.band {
  padding-block: 32px 48px;
  background: linear-gradient(to bottom right, var(--band-start), var(--band-end));
  color: var(--text-on-fill);
}
.band-grid { display: grid; gap: 32px; }
@media (min-width: 56.25em) {
  .band { padding-block: 64px; }
  .band-grid { grid-template-columns: 7fr 5fr; align-items: center; gap: 48px; }
}
.band-copy { max-width: 600px; }
.band-mark { display: flex; align-items: center; gap: 12px; font-size: 1.1875rem; line-height: 1.26; font-weight: 800; }
.band-mark .tile { flex: none; width: 48px; height: 48px; box-shadow: 0 0 0 2px var(--band-cream); }
.band-mark span { color: var(--band-gold); }
.band h1 { margin-block-start: 24px; }
.band .lead { margin-block-start: 16px; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 700;
}
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.fact-icon svg { display: block; width: 20px; height: 20px; }
.play-slot { margin-block-start: 24px; }
.play-badge { display: block; width: fit-content; margin: 14px; margin-inline-start: 0; border-radius: 8px; }
.play-badge img { height: 56px; width: auto; }
.band .caption { margin-block-start: 16px; }
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-block: 32px;
}
.hero-ring {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 100%;
  max-width: none;
  transform: translateY(-50%);
}
.hero-shot { position: relative; width: 240px; }
@media (min-width: 37.5em) { .hero-shot { width: 280px; } }
.hero-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 2px solid var(--band-cream);
  border-radius: 20px;
  background: var(--band-cream);
}

/* video */
.video { margin: 0; }
.video video {
  display: block;
  margin-inline: auto;
  border-radius: 20px;
  background: var(--surface-sunken);
}
.video .video--landscape { display: none; width: 100%; max-width: 960px; aspect-ratio: 16 / 9; }
.video .video--vertical { width: min(100%, 360px, 45svh); aspect-ratio: 9 / 16; }
@media (min-width: 37.5em), (orientation: landscape) {
  .video .video--landscape { display: block; }
  .video .video--vertical { display: none; }
}
.video figcaption { margin-block-start: 12px; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.4; font-weight: 700; text-align: center; }
.transcript { max-width: var(--prose); margin: 16px auto 0; }
.transcript summary { min-height: 48px; padding-block: 12px; color: var(--accent-text); font-weight: 800; cursor: pointer; }
.transcript > :not(summary) + * { margin-block-start: 12px; }

/* gallery */
.gallery {
  margin-inline: calc(-1 * var(--margin));
  padding-inline: var(--margin);
  padding-block: 4px 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margin);
}
.gallery:focus-visible { outline-offset: -3px; }
.gallery ul {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72vw, 280px);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery li { scroll-snap-align: start; }
.gallery img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 2px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: 0 3px 0 var(--border-subtle);
  background: var(--surface-sunken);
}
.gallery figcaption { margin-block-start: 12px; }
.shot-head { display: block; font-size: 1.1875rem; line-height: 1.26; font-weight: 800; }
.shot-sub { display: block; margin-block-start: 4px; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.4; font-weight: 700; }
@media (min-width: 37.5em) { .gallery ul { grid-auto-columns: 240px; gap: 16px; } }
@media (min-width: 56.25em) {
  .gallery { margin-inline: 0; padding-inline: 0; overflow: visible; }
  .gallery ul { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* good to know, end CTA */
.rows h3 + p { margin-block-start: 8px; }
.rows p + h3 { margin-block-start: 24px; }
.end-cta { margin-block: 48px 64px; text-align: center; }
.end-cta .lead { margin-block-start: 16px; }
.end-cta .play-slot { display: flex; justify-content: center; }
.end-cta .play-badge { margin-inline: 14px; }
.end-cta + .site-footer { margin-block-start: 0; }

/* support */
.page-title { margin-block-start: 24px; }
@media (min-width: 56.25em) { .page-title { margin-block-start: 48px; } }
.contact-cards { display: grid; gap: 12px; margin-block-start: 24px; }
@media (min-width: 37.5em) { .contact-cards { gap: 24px; } }
@media (min-width: 56.25em) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.card h2 { font-size: 1.1875rem; line-height: 1.26; font-weight: 800; letter-spacing: 0; }
.contact-email { font-size: 1.1875rem; line-height: 1.26; font-weight: 800; }
.jump ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.jump li:not(:last-child)::after { content: "·"; content: "·" / ""; margin-inline: 8px; }
.jump a { display: inline-block; padding-block: 8px; }
.faq h3 { margin-block-start: 48px; font-size: 1.375rem; line-height: 1.23; font-weight: 800; }
.faq h4 { margin-block-start: 24px; }
.faq h4 + p { margin-block-start: 8px; }
.faq h3, .faq h4 { scroll-margin-top: 24px; }

/* privacy */
.policy-meta time { white-space: nowrap; }
.policy-meta { margin-block-start: 12px; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.4; font-weight: 700; }
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-block-start: 24px; }
.policy-summary {
  max-width: var(--prose);
  padding: 20px 24px;
  border-radius: 24px;
  background: var(--accent-container);
  color: var(--text-primary);
}
.policy-summary .h2-row h2 { font-size: 1.1875rem; line-height: 1.26; font-weight: 800; letter-spacing: 0; }
.policy-summary > * + * { margin-block-start: 12px; }
.policy-summary ul { padding-inline-start: 24px; }
.policy-summary li + li { margin-block-start: 8px; }
.policy-summary a, .policy-summary .anchor { color: var(--accent-on-container); }
.toc h2 { font-size: 1.1875rem; line-height: 1.26; font-weight: 800; letter-spacing: 0; }
.toc ol { margin-block-start: 12px; padding-inline-start: 2.25em; }
.toc li + li { margin-block-start: 4px; }
.toc a { display: block; padding-block: 4px; }
.prose { max-width: var(--prose); line-height: 1.6; }
.prose > section > * + * { margin-block-start: 16px; }
.prose > section + section { margin-block-start: 48px; }
.prose ul, .prose ol { padding-inline-start: 24px; }
.prose li + li, .prose li > ul, .prose li > ol { margin-block-start: 8px; }
.prose h3 { margin-block-start: 32px; }
.prose address > * + * { margin-block-start: 16px; }
.h2-row { display: flex; align-items: baseline; gap: 8px; }
.h2-row h2, .prose h3 { scroll-margin-top: 24px; }
.prose .h2-row h2 { font-size: 1.375rem; line-height: 1.23; font-weight: 800; letter-spacing: 0; }
.anchor {
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 24px;
  min-height: 24px;
  color: var(--text-secondary);
  font-weight: 800;
  text-decoration: none;
}
.anchor:hover { text-decoration: underline; }
.h2-row:has(h2:target), .prose h3:target {
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--accent-fill);
}
code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-sunken);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.94em;
}
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: -3px; }
table { width: 100%; min-width: 0; border-collapse: collapse; line-height: 1.5; }
caption { padding-block-end: 8px; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.4; font-weight: 700; text-align: start; }
th, td { padding: 12px; border-block-end: 1px solid var(--border-strong); text-align: start; vertical-align: top; }
thead th { font-weight: 800; }
tbody th { font-weight: 700; }
.back-to-top { margin-block-start: 48px; }
@media (min-width: 64em) {
  .policy-layout { grid-template-columns: 260px minmax(0, var(--prose)); column-gap: 48px; row-gap: 32px; }
  .policy-summary { grid-column: 2; grid-row: 1; }
  .toc {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
  .prose { grid-column: 2; grid-row: 2; }
}

/* 404 */
.not-found .lead { margin-block: 16px 24px; color: var(--text-secondary); }
.link-rows { margin-block-start: 8px; padding-inline-start: 24px; }
.link-rows a { display: inline-flex; align-items: center; min-height: 48px; }

/* forced colours */
@media (forced-colors: active) {
  .card, .capsule, .eyebrow-capsule, .policy-summary { border: 1px solid CanvasText; }
  .btn3d { border: 2px solid ButtonText; box-shadow: none; }
  .hero-ring { display: none; }
  :focus-visible { outline-color: Highlight; }
  .tile, .play-badge img { forced-color-adjust: none; }
}

/* print */
@media print {
  :root { --text-primary: #2B211C; --text-secondary: #2B211C; --accent-text: #2B211C; }
  body { background: #FFFFFF; color: #2B211C; font-size: 11pt; }
  .nav, .skip, .footer-nav, .footer-email, .footer-legal, .toc, .anchor, .back-to-top { display: none; }
  .site-footer { border: 0; background: #FFFFFF; }
  .policy-summary { border: 1px solid #2B211C; background: #FFFFFF; }
  a[href^="http"]::after { content: " (" attr(href) ")"; }
  h1, h2, h3, h4, .h2-row { break-after: avoid; break-inside: avoid; }
  tr { break-inside: avoid; }
}
