/* Visual system: warm sunlit editorial study for Inglês em Domicílio.
   Unbleached linen paper, deep botanical pine, warm terracotta clay, and
   golden ochre; Fraunces display serif paired with Plus Jakarta Sans. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/fraunces-600-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/fraunces-600-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/fraunces-700-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/fraunces-700-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/fraunces-500-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/fraunces-500-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/plus-jakarta-sans-400-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/plus-jakarta-sans-400-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/plus-jakarta-sans-500-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/plus-jakarta-sans-500-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/plus-jakarta-sans-600-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/plus-jakarta-sans-600-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/plus-jakarta-sans-700-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/plus-jakarta-sans-700-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* palette */
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --tint: #F2ECE1;
  --deep: #18342B;
  --deep-2: #11261F;
  --on-deep: #FAF7F2;
  --on-deep-soft: #D7E3DC;
  --ink: #1C1917;
  --ink-soft: #524B43;
  --line: #DFD6C7;
  --line-strong: #C5B8A3;
  --accent: #1E4D3E;
  --accent-deep: #14362B;
  --on-accent: #FFFFFF;
  --link: #1E4D3E;
  --clay: #9A3B1E;
  --ochre: #EAB454;
  --ochre-ink: #1A1306;
  --focus: #9A3B1E;
  --shadow-soft: 0 1px 2px rgb(28 25 23 / 0.05), 0 14px 34px -16px rgb(28 25 23 / 0.14);
  --shadow-photo: 0 2px 6px rgb(28 25 23 / 0.06), 0 26px 54px -24px rgb(28 25 23 / 0.24);

  /* typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.03125rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
  --step-3: clamp(1.875rem, 1.45rem + 1.8vw, 2.65rem);
  --step-4: clamp(2.2rem, 1.45rem + 2.75vw, 3.6rem);

  /* layout */
  --max: 73rem;
  --measure: 39rem;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --header-h: 4.25rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121513;
    --surface: #1A1F1C;
    --tint: #171C19;
    --deep: #0F231D;
    --deep-2: #0A1914;
    --on-deep: #F3EFE7;
    --on-deep-soft: #C7D6CE;
    --ink: #F3EFE7;
    --ink-soft: #BDB5A9;
    --line: #2C342F;
    --line-strong: #414D46;
    --accent: #225E4A;
    --accent-deep: #1A4B3B;
    --on-accent: #FFFFFF;
    --link: #87CEB3;
    --clay: #EA9676;
    --ochre: #EAB454;
    --ochre-ink: #1A1306;
    --focus: #EAB454;
    --shadow-soft: 0 2px 6px rgb(0 0 0 / 0.35), 0 18px 36px -14px rgb(0 0 0 / 0.45);
    --shadow-photo: 0 6px 16px rgb(0 0 0 / 0.4), 0 28px 56px -18px rgb(0 0 0 / 0.55);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #121513;
  --surface: #1A1F1C;
  --tint: #171C19;
  --deep: #0F231D;
  --deep-2: #0A1914;
  --on-deep: #F3EFE7;
  --on-deep-soft: #C7D6CE;
  --ink: #F3EFE7;
  --ink-soft: #BDB5A9;
  --line: #2C342F;
  --line-strong: #414D46;
  --accent: #225E4A;
  --accent-deep: #1A4B3B;
  --on-accent: #FFFFFF;
  --link: #87CEB3;
  --clay: #EA9676;
  --ochre: #EAB454;
  --ochre-ink: #1A1306;
  --focus: #EAB454;
  --shadow-soft: 0 2px 6px rgb(0 0 0 / 0.35), 0 18px 36px -14px rgb(0 0 0 / 0.45);
  --shadow-photo: 0 6px 16px rgb(0 0 0 / 0.4), 0 28px 56px -18px rgb(0 0 0 / 0.55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.24; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }

a {
  color: var(--link);
  text-underline-offset: 0.24em;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) + var(--gutter-r));
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.85rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 1.5px;
  background: currentColor;
  flex: none;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: var(--measure);
}

/* ---------- buttons ---------- */

.cta-block { display: grid; gap: 0.6rem; justify-items: start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.15rem;
  padding: 0.78rem 1.45rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.25;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.button:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgb(24 52 43 / 0.45);
}
.button:active { transform: translateY(0); }
.button .cta-icon {
  flex: none;
  transition: transform 0.18s ease;
}
.button:hover .cta-icon { transform: translateX(3px); }

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.button-ghost:hover {
  background: var(--surface);
  border-color: var(--ink-soft);
  box-shadow: none;
}

.preview-note { font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- header ---------- */

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.wordmark-mark { width: 2.15rem; height: 2.15rem; flex: none; }
.wordmark-text em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
}

.desktop-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.15rem; }
.nav-list a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-list a:hover { background: var(--tint); }
.nav-list a[aria-current="page"] {
  color: var(--link);
  font-weight: 600;
  border-radius: 0;
  box-shadow: inset 0 -2px 0 var(--clay);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.nav-cta:hover { background: var(--accent-deep); }

.nav-disclosure { display: none; position: relative; }
.nav-disclosure summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-disclosure summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after {
  display: block;
  width: 1.05rem;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  content: "";
}
.burger { position: relative; }
.burger::before { position: absolute; top: -5px; }
.burger::after { position: absolute; top: 5px; }

.mobile-nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  min-width: 15.5rem;
  padding: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.mobile-nav .nav-list { flex-direction: column; gap: 0.15rem; }
.mobile-nav .nav-list a {
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
}
.mobile-nav .nav-list a[aria-current="page"] {
  background: var(--tint);
  box-shadow: none;
  border-radius: 10px;
}

/* ---------- homepage hero ---------- */

.hero {
  padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(2.25rem, 5vw, 3.75rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 3.25rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 0.95rem;
  min-width: 0;
}

.h1-accent {
  display: inline;
  font-style: italic;
  font-weight: 500;
  color: var(--link);
}

.hero-copy .cta-block { margin-top: 0.25rem; }

.trial-plate {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1.1rem 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  max-width: 34.5rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.trial-plate:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}
.trial-seal {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--deep);
  color: var(--ochre);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}
.trial-plate-text {
  font-size: 0.94rem;
  line-height: 1.42;
  color: var(--ink-soft);
}
.trial-plate-text strong {
  color: var(--ink);
  font-weight: 700;
  margin-right: 0.25rem;
}

/* ---------- framed photo hero (when src/media/hero.jpg exists) ----------
   Source photo is 590×1280 portrait: ceiling in the top third (0–35%),
   both heads in the middle band (top of beanie ~35.5%, seated chin ~62.5%,
   laptop ~52–68%), table below.
   Instead of a dark full-bleed backdrop that pushed the hero below the fold
   at 1280×800, the photo sits inside a dedicated framed card never wider
   than its 590px intrinsic width, while all copy sits on solid linen paper
   (#FAF7F2 in light, #121513 in dark; contrast 16:1 headline, 8:1 lead).
   --hero-pos crops out the excess ceiling so both complete faces and the
   laptop sit cleanly above the fold on 1280×800 and inside the top frame
   on 390×844, with zero text over the photo. */

.hero-photo {
  --hero-pos: 50% 52%;
  position: relative;
  isolation: isolate;
  padding-block: 1rem 2rem;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10.5rem;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  z-index: -1;
}

.hero-media {
  order: -1;
  width: 100%;
  max-width: 520px;
  height: clamp(16.75rem, 74vw, 22rem);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--deep);
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  box-shadow: var(--shadow-photo);
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: var(--hero-pos);
}

@media (min-width: 900px) {
  .hero-photo {
    --hero-pos: 50% 58%;
    padding-block: clamp(1.5rem, 2.6vw, 2.35rem);
  }
  .hero-photo::before {
    inset: 0 0 0 auto;
    height: auto;
    width: min(35vw, 29rem);
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .hero-photo .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: clamp(2.25rem, 4.5vw, 4rem);
    align-items: center;
  }
  .hero-photo .hero-copy { gap: 1.05rem; }
  .hero-media {
    order: 0;
    justify-self: end;
    width: 100%;
    max-width: 468px;
    height: clamp(26rem, 38.5vw, 31rem);
    margin-inline: 0;
  }
}

/* ---------- essential facts ribbon ---------- */

.facts {
  background: var(--deep);
  color: var(--on-deep);
  border-block: 1px solid color-mix(in srgb, var(--on-deep) 12%, transparent);
}

.facts-grid {
  display: grid;
  gap: 0;
  padding-block: 0.5rem;
  counter-reset: fact;
}

.facts-grid p {
  position: relative;
  padding: 1.1rem 0 1.1rem 2.2rem;
  color: var(--on-deep-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  counter-increment: fact;
}

.facts-grid p::before {
  content: "0" counter(fact);
  position: absolute;
  left: 0;
  top: 1.18rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}

.facts-grid p + p {
  border-top: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent);
}

.facts-grid strong {
  display: block;
  color: var(--on-deep);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* ---------- sections ---------- */

.section { padding-block: clamp(3.5rem, 7.5vw, 6rem); }

.section-tint {
  background: var(--tint);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 0.8rem;
  max-width: var(--measure);
  margin-bottom: clamp(1.75rem, 3.8vw, 2.75rem);
  min-width: 0;
}
.section-head p:not(.eyebrow) { color: var(--ink-soft); }

.split { display: grid; gap: 1.75rem 4rem; align-items: start; }
.split .section-head { margin-bottom: 0; }
.prose { display: grid; gap: 1.05rem; max-width: var(--measure); min-width: 0; }
.prose-action { margin-top: 0.25rem; font-weight: 600; }
.prose-action a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  border-bottom: 1.5px solid color-mix(in srgb, var(--link) 40%, transparent);
  padding-bottom: 0.15rem;
}
.prose-action a:hover { border-bottom-color: var(--link); }

/* ---------- tracks & teacher roster cards ---------- */

.usecases { display: grid; gap: 1.25rem; }

.usecase {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.usecase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent);
}
.usecase[data-track="criancas"]::before { background: var(--clay); }
.usecase[data-track="adultos"]::before { background: var(--accent); }
.usecase-quiet::before { display: none; }

a.usecase:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.usecase h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
  line-height: 1.15;
}
.usecase h2 { font-size: var(--step-2); }
.usecase p { color: var(--ink-soft); }
.usecase .more {
  margin-top: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--link);
  font-weight: 600;
  font-size: 0.96rem;
}
.usecase[data-track="criancas"] .more { color: var(--clay); }
a.usecase:hover .more span { transform: translateX(3px); }
.usecase .more span { display: inline-block; transition: transform 0.18s ease; }

.usecase-quiet {
  background: transparent;
  border-style: dashed;
  border-color: var(--line-strong);
}

.teacher-card h2 { font-size: 1.3rem; line-height: 1.25; }
.teacher-card[data-teacher-slot="open"] h2 {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.step {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
  padding-top: 0.1rem;
}

.step > div { display: grid; gap: 0.45rem; min-width: 0; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- checklist & after-class facts ---------- */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  max-width: var(--measure);
  min-width: 0;
}

.checklist li {
  position: relative;
  padding: 0.95rem 1.15rem 0.95rem 3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 1.44rem;
  top: 1.32rem;
  width: 0.36rem;
  height: 0.62rem;
  border: solid var(--on-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checklist-links { margin-block: 0.5rem; }
.checklist-links a { font-weight: 600; text-decoration: none; }
.checklist-links a:hover { text-decoration: underline; }

.after-class {
  margin-top: 1.5rem;
  max-width: none;
}

/* contact placeholder */
.contact-pending {
  margin-top: 1.35rem;
  padding: 0.95rem 1.2rem;
  max-width: var(--measure);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.contact-pending strong { color: var(--ink); font-weight: 700; }

/* ---------- editorial faq accordion ---------- */

.faq-grid { display: grid; gap: 1.5rem 4rem; align-items: start; }
.faq-list {
  display: grid;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background-color 0.15s ease;
}

.faq-item[open] {
  background: color-mix(in srgb, var(--tint) 55%, transparent);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 0.75rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover h3 { color: var(--link); }

.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.faq-item h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.03rem;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

.faq-item p {
  padding: 0 0.75rem 1.35rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

/* ---------- legal details table ---------- */

.policy-list {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line-strong);
  min-width: 0;
}

.policy-list > div {
  display: grid;
  gap: 0.2rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.policy-list dt {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
}

.policy-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* ---------- inner page hero ---------- */

.page-hero {
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.25rem, 5vw, 3.75rem);
}

.page-hero-inner { display: grid; gap: 1.1rem; }
.page-hero h1 { max-width: 19ch; }
.page-hero-inner > p:not(.eyebrow):not(.lead) {
  max-width: var(--measure);
  color: var(--ink);
}
.page-hero .cta-block { margin-top: 0.45rem; }

/* ---------- close band ---------- */

.close-band {
  background: var(--deep);
  color: var(--on-deep);
  padding-block: clamp(3rem, 6.5vw, 4.75rem);
}

.close-grid { display: grid; gap: 1.75rem 3rem; align-items: center; }
.close-grid > div { display: grid; gap: 0.7rem; max-width: var(--measure); min-width: 0; }
.close-band h2 { color: var(--on-deep); }
.close-band p { color: var(--on-deep-soft); }

.close-band .button {
  background: var(--ochre);
  color: var(--ochre-ink);
}
.close-band .button:hover {
  background: color-mix(in srgb, var(--ochre) 88%, #FFFFFF);
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / 0.45);
}
.close-band :focus-visible { outline-color: var(--ochre); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--tint);
  border-top: 1px solid var(--line);
  padding-block: 3.25rem 1.75rem;
  font-size: 0.9375rem;
}

.footer-grid { display: grid; gap: 2rem; }
.footer-grid > * { display: grid; gap: 0.65rem; align-content: start; min-width: 0; }
.footer-grid p { color: var(--ink-soft); }
.footer-brand p { max-width: 22rem; }

.footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover {
  color: var(--link);
  text-decoration: underline;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.footer-credit a {
  color: inherit;
}

.footer-credit a:hover {
  color: var(--link);
}

/* ---------- breakpoints ---------- */

@media (min-width: 600px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
  .facts-grid p + p { border-top: 0; }
  .facts-grid p:nth-child(n + 3) { border-top: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .after-class { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .policy-list > div { grid-template-columns: 12rem 1fr; align-items: baseline; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); gap: 0; padding-block: 0.65rem; }
  .facts-grid p { padding: 0.7rem 1.35rem 0.7rem 2.1rem; }
  .facts-grid p::before { top: 0.78rem; }
  .facts-grid p:first-child { padding-left: 2.1rem; }
  .facts-grid p:nth-child(n + 3) { border-top: 0; }
  .facts-grid p + p { border-left: 1px solid color-mix(in srgb, var(--on-deep) 16%, transparent); padding-left: 3.35rem; }
  .facts-grid p + p::before { left: 1.35rem; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .step { flex-direction: column; gap: 0.85rem; }
  .step-num {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.95rem;
  }
  .roster { grid-template-columns: repeat(3, 1fr); }
  .split, .faq-grid { grid-template-columns: 5fr 7fr; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .close-grid { grid-template-columns: 1fr auto; }
  .footer-grid { grid-template-columns: 1.55fr 0.95fr 1.05fr 1.45fr; }
}

@media (max-width: 899px) {
  .desktop-nav { display: none; }
  .nav-disclosure { display: block; }
  .nav-cta { margin-left: auto; }
}

@media (max-width: 599px) {
  .nav-cta { display: none; }
  .nav-disclosure { margin-left: auto; }
  .menu-label { display: none; }
  .wordmark { font-size: 1.08rem; }
  .wordmark-mark { width: 1.95rem; height: 1.95rem; }
  .cta-row { width: 100%; }
  .cta-row .button { width: 100%; }
  .cta-row .button:not(.button-ghost) { justify-content: space-between; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
