/* Excel Practice marketing styles. Tokens follow DESIGN.md (2026-11-18 practice-game system).
   guides.css, careers.css, workbooks.css and auth.css build on these tokens. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
}
:root {
  --green: #12a454;
  --green-strong: #0b7a3b;
  --green-button: #0e8644; /* white text 4.7:1 */
  --green-button-edge: #08592c;
  --green-ink: #064e2a;
  --mint: #e8f8ef;
  --lime: #c6f36b;
  --sun: #ffc83d;
  --sun-strong: #d99a00;
  --sun-soft: #fff5d1;
  --grape: #6d5cff;
  --grape-strong: #4b3bd6;
  --grape-soft: #efecff;
  --coral: #ff6250;
  --coral-soft: #ffeeeb;
  --sky: #2f7cf6;
  --ink: #10231a;
  --ink-2: #45584e;
  --line: #e2e8e4;
  --canvas: #f5f7f6;
  --paper: #ffffff;
  --night: #0e1f17;
  --sheet-header: #f2f4f3;
  --sheet-header-active: #dff3e7;
  --sheet-grid: #e3e8e5;
  --sheet-selection-fill: rgba(18,164,84,.08);
  --r-control: 10px;
  --r-button: 14px;
  --r-card: 18px;
  --r-panel: 24px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(16,35,26,.06), 0 8px 24px rgba(16,35,26,.06);
  --shadow-float: 0 12px 40px rgba(16,35,26,.14);
  --sans: Manrope, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  /* Older names still used by reading surfaces. */
  --forest: var(--ink);
  --muted: var(--ink-2);
  --green-hover: var(--green-strong);
  --link: var(--green-ink);
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; scrollbar-color: #c3cdc7 var(--canvas); }
body { min-height: 100svh; background: var(--canvas); font-size: 16px; font-weight: 500; line-height: 1.6; overflow-x: clip; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg, video { max-width: 100%; }
::selection { color: var(--ink); background: var(--lime); }
/* Focus: a 2px white gap, a dark ring that reads on light surfaces and a 3px lime halo. */
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green-ink); border-radius: 4px; }
input, textarea { caret-color: var(--green); }
button:disabled { cursor: default; opacity: .65; }
[hidden] { display: none !important; }
.site-wrap { width: min(100%, 1180px); padding-inline: 32px; margin-inline: auto; }
.content-width { max-width: 1080px; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; border-radius: var(--r-control); background: var(--ink); color: #fff; font-weight: 800; }
.skip:focus { top: 12px; }
.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; }

/* Type scale: 12 / 14 / 16 / 18 / 22 / 28 / 36 / 48 / 60 */
h1, h2, h3 { color: var(--ink); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.03em; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
p { color: var(--ink-2); }
code { font-family: var(--mono); font-size: .9em; }
.label { color: var(--ink-2); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* Buttons: one filled green action per view, raised on a 4px edge that compresses on press. */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; margin-bottom: 4px; padding: 12px 24px;
  border: 0; border-radius: var(--r-button);
  color: #fff; background: var(--green-button); box-shadow: 0 4px 0 var(--green-button-edge);
  font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: -.005em; text-align: center; text-decoration: none; white-space: nowrap;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out;
}
.button:hover { background: var(--green-strong); box-shadow: 0 4px 0 var(--green-button-edge); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--green-ink); }
.button:focus-visible { box-shadow: 0 4px 0 var(--green-button-edge), 0 0 0 2px #fff, 0 0 0 4px var(--green-ink); border-radius: var(--r-button); }
.button-hero { min-height: 56px; padding: 16px 32px; font-size: 18px; }
.button-small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.button-secondary, .button.button-secondary { color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }
.button-secondary:hover, .button.button-secondary:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.button-secondary:active { transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-2); font-size: 16px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--ink); text-decoration: underline; }

.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--mint); color: var(--green-ink); font-size: 12px; font-weight: 800; line-height: 1.6; }
.pill-sun { background: var(--sun-soft); color: var(--ink); }
.pill-grape { background: var(--grape-soft); color: var(--grape-strong); }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-card); }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; gap: 10px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.brand img { display: block; width: 32px; height: 32px; flex: none; }
.public-navigation { display: flex; align-items: center; gap: 24px; margin-left: auto; min-width: 0; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-control); color: var(--ink-2); font-size: 16px; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--ink); background: var(--canvas); }
.site-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.header-actions, .header-account-links { display: flex; align-items: center; gap: 8px; flex: none; }
.header-actions .button { margin-bottom: 4px; min-height: 44px; padding: 10px 18px; font-size: 16px; }
.header-account-loading { display: block; width: 76px; height: 44px; }
.header-account-loading-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header-login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border-radius: var(--r-control); color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.header-login:hover { background: var(--canvas); }
.header-login[aria-current] { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.site-menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 88px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--r-control); background: var(--paper); color: var(--ink); font: 800 14px/1.25 var(--sans); }
.site-menu-toggle:hover, .site-menu-toggle[aria-expanded="true"] { border-color: var(--ink-2); }
/* Phones: links sit behind Menu from the first paint. Keep 860px in step with site-navigation.js. */
/* Phones: links sit behind Menu from the first paint. Open, the menu is a full-screen sheet:
   big rows (Lessons, Skill check, Contact, Log in), one filled start button at the bottom,
   the toggle becomes Close, and the page behind does not scroll. Keep 860px in step with site-navigation.js. */
.site-nav .nav-extra, .menu-icon-close { display: none; }
@media (max-width: 860px) {
  .header-inner { min-height: 64px; gap: 12px; padding-block: 10px; }
  .site-menu-toggle { display: inline-flex; position: relative; z-index: 102; }
  .site-header .brand { position: relative; z-index: 102; }
  .site-menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
  .site-menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }
  .public-navigation { display: none; }
  .site-header[data-menu-open] .public-navigation { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 84px 20px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); animation: menu-sheet-in 220ms cubic-bezier(.22,.8,.3,1); }
  .site-nav, .header-actions { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav { border-top: 1px solid var(--line); }
  .site-nav a, .header-actions .header-contact, .header-actions .header-login { position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: 68px; padding: 0 40px 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); font-size: 26px; font-weight: 800; letter-spacing: -.02em; background: none; }
  .site-nav a::after, .header-actions .header-contact::after, .header-actions .header-login::after { content: ""; position: absolute; right: 8px; width: 10px; height: 10px; border-top: 2.5px solid var(--ink-2); border-right: 2.5px solid var(--ink-2); transform: rotate(45deg); }
  .site-nav a[aria-current], .header-login[aria-current] { text-decoration: none; box-shadow: inset 4px 0 0 var(--green); padding-left: 16px; background: var(--mint); }
  .site-nav .nav-extra { display: flex; order: 3; min-height: 52px; font-size: 17px; font-weight: 700; color: var(--ink-2); }
  .header-actions { flex: 1; }
  .header-actions [data-header-links], .header-actions .header-account-links { flex-direction: column; align-items: stretch; gap: 0; }
  .header-actions .button { order: 9; width: 100%; min-height: 56px; margin-top: auto; font-size: 18px; }
  .header-actions .header-start { margin-top: auto; }
  .header-actions { padding-bottom: 4px; }
  .header-actions::before { content: ""; display: block; flex: 1 0 28px; order: 8; }
  .header-account-loading { width: 100%; height: 56px; }
  html.menu-sheet-open, html.menu-sheet-open body { overflow: hidden; }
}
@keyframes menu-sheet-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-header[data-menu-open] .public-navigation { animation: none; } }
@media (max-width: 860px) and (scripting: none) {
  .site-menu-toggle { display: none; }
  .header-inner { flex-wrap: wrap; }
  .public-navigation { display: flex; width: 100%; flex-direction: column; align-items: stretch; }
  .site-nav a, .header-actions .header-contact, .header-actions .header-login { min-height: 48px; font-size: 18px; }
}

/* Footer: night band with every older destination. */
.site-footer { padding: 56px 0 24px; background: var(--night); color: #fff; }
.site-footer :focus-visible { box-shadow: none; outline-color: var(--lime); outline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: #fff; }
.footer-about p { max-width: 30ch; margin: 14px 0 20px; color: #b8c7bf; font-size: 14px; line-height: 1.6; }
.footer-about .footer-note { margin: 4px 0 0; color: var(--lime); font-size: 14px; font-weight: 700; }
.footer-start { margin-bottom: 4px; }
.footer-start:focus-visible { box-shadow: 0 4px 0 var(--green-strong); }
.footer-group h2 { margin: 8px 0 10px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; }
.footer-group ul { list-style: none; padding: 0; margin: 0; }
.footer-group a { display: inline-flex; align-items: center; min-height: 40px; color: #b8c7bf; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.footer-group a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { color: #b8c7bf; font-size: 12px; line-height: 1.6; }
.footer-preferred-source { display: block; width: fit-content; max-width: 100%; margin-top: 16px; }
.footer-preferred-source img { display: block; max-width: 100%; height: auto; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .site-footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-group:last-child { grid-column: 1 / -1; }
  .footer-group:last-child ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .footer-start { width: 100%; }
  .footer-about p { max-width: none; }
}

/* ---------- Home ---------- */
.home-main { overflow-x: clip; }
.hp-section { padding-block: 64px; }
.hp-section-head { max-width: 640px; margin-bottom: 32px; }
.hp-section-head p { margin-top: 12px; font-size: 18px; }
.hp-hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--paper) 0%, var(--mint) 100%); border-bottom: 1px solid var(--line); }
.hp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
.hp-hero-copy { padding-top: 48px; }
.hp-hero-copy h1 { max-width: 13ch; }
.hp-hero-copy h1 span { position: relative; white-space: nowrap; background: linear-gradient(transparent 68%, var(--lime) 68%, var(--lime) 92%, transparent 92%); }
.hp-sub { max-width: 34ch; margin-top: 20px; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.hp-cta { margin-top: 32px; }
.hp-cta .button { min-width: 280px; }
.hp-cta-note { margin-top: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.hp-cta-note::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.hp-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.hp-facts li { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); color: var(--ink-2); font-size: 14px; font-weight: 700; }
.hp-facts strong { color: var(--ink); }

/* Mini exercise */
.hp-try { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); box-shadow: var(--shadow-float); }
.hp-try-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.hp-try-steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hp-try-steps li { width: 28px; height: 6px; border-radius: var(--r-pill); background: var(--line); }
.hp-try-steps li[data-state="current"] { background: var(--sun); }
.hp-try-steps li[data-state="done"] { background: var(--green); }
.hp-try-task { min-height: 2.7em; margin: 4px 0 14px; color: var(--ink); font-weight: 800; font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }
.hp-try-task code { padding: 1px 6px; border-radius: 6px; background: var(--canvas); color: var(--green-ink); font-size: 15px; font-weight: 700; }
.hp-reset { min-height: 36px; padding: 4px 10px; border: 0; border-radius: var(--r-control); background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hp-reset:hover { color: var(--ink); background: var(--canvas); }

.xs-sheet { border: 1px solid var(--sheet-grid); border-radius: 12px; overflow: hidden; background: var(--paper); }
.xs-bar { display: flex; align-items: stretch; min-height: 44px; border-bottom: 1px solid var(--sheet-grid); background: var(--paper); }
.xs-name { display: flex; align-items: center; justify-content: center; flex: none; width: 56px; border-right: 1px solid var(--sheet-grid); color: var(--ink); font: 700 14px/1 var(--mono); }
.xs-fx { display: flex; align-items: center; flex: none; padding: 0 10px; border-right: 1px solid var(--sheet-grid); color: var(--ink-2); font: italic 700 14px/1 Georgia, serif; }
.xs-formula { flex: 1; min-width: 0; padding: 0 12px; border: 0; background: transparent; color: var(--ink); font: 500 15px/1.4 var(--mono); }
.xs-formula::placeholder { color: #7d8c84; opacity: 1; }
.xs-formula:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--green); border-radius: 0; }
.xs-formula:disabled { color: var(--ink-2); background: var(--canvas); cursor: default; opacity: 1; }
.xs-check { flex: none; margin: 5px; min-height: 44px; padding: 4px 14px; border: 0; border-radius: var(--r-control); background: var(--green-button); box-shadow: 0 3px 0 var(--green-button-edge); color: #fff; font-size: 14px; font-weight: 800; }
.xs-check:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--green-strong); }
.xs-grid { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.xs-grid th { height: 28px; background: var(--sheet-header); color: var(--ink-2); font-size: 12px; font-weight: 700; text-align: center; border: 1px solid var(--sheet-grid); }
.xs-grid thead th:first-child, .xs-grid tbody th { width: 40px; }
.xs-grid th[data-active] { background: var(--sheet-header-active); color: var(--green-ink); }
.xs-grid td { height: 36px; padding: 0; border: 1px solid var(--sheet-grid); }
.xs-grid tr > :first-child { border-left: 0; }
.xs-grid tr > :last-child { border-right: 0; }
.xs-grid tbody tr:last-child > * { border-bottom: 0; }
.xs-cell { position: relative; display: flex; align-items: center; width: 100%; height: 100%; min-height: 36px; padding: 0 10px; border: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; text-align: left; }
.xs-cell[data-num] { justify-content: flex-end; font-family: var(--mono); font-size: 14px; }
.xs-cell[data-head] { font-weight: 800; }
.xs-cell:hover { background: var(--sheet-selection-fill); }
.xs-cell:focus-visible { z-index: 2; outline: 2px solid var(--green-ink); outline-offset: -4px; }
.xs-cell[data-target] { background: var(--sun-soft); box-shadow: inset 0 0 0 2px var(--sun); }
.xs-cell[aria-pressed="true"] { background: var(--sheet-selection-fill); box-shadow: inset 0 0 0 2px var(--green); }
.xs-cell[aria-pressed="true"]::after { content: ""; position: absolute; right: 0; bottom: 0; width: 6px; height: 6px; border: 1px solid var(--paper); background: var(--green); }
.xs-cell[data-flash] { animation: xs-flash 500ms ease-out 1; }
.xs-cell[data-wrong] { box-shadow: inset 0 0 0 2px var(--coral); background: var(--coral-soft); }
@keyframes xs-flash { 0% { background: var(--mint); } 60% { background: #c9f0d9; } 100% { background: var(--sheet-selection-fill); } }

.hp-feedback { display: flex; align-items: flex-start; gap: 10px; min-height: 48px; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-control); background: var(--canvas); color: var(--ink-2); font-size: 14px; font-weight: 600; line-height: 1.5; }
.hp-feedback[data-tone="correct"] { background: var(--mint); color: var(--green-ink); }
.hp-feedback[data-tone="wrong"] { background: var(--coral-soft); color: #8f2414; }
.hp-feedback-icon { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1; }
.hp-feedback[data-tone="correct"] .hp-feedback-icon { background: var(--green); color: #fff; }
.hp-feedback[data-tone="wrong"] .hp-feedback-icon { background: var(--coral); color: #fff; }
.hp-demo-complete { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill); background: var(--mint); color: var(--green-ink); font-size: 14px; font-weight: 800; }
.hp-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; }
.hp-next a { display: inline-flex; align-items: center; min-height: 44px; color: var(--green-ink); font-size: 16px; font-weight: 800; }
.hb-course-audience { margin-top: 16px; color: var(--ink-2); font-size: 15px; }
.hb-course-audience a { color: var(--green-ink); font-weight: 750; }

/* Benefits, outline, pricing, FAQ */
.hp-outline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: unit; }
.hp-unit { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-content: start; gap: 0 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--canvas); counter-increment: unit; }
.hp-unit::before { content: counter(unit); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--green-ink); font-size: 12px; font-weight: 800; }
.hp-unit h3 { font-size: 18px; line-height: 28px; }
.hp-unit h3 small { margin-left: 6px; color: var(--ink-2); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.hp-unit ul { grid-column: 2; margin: 6px 0 0; padding: 0; list-style: none; }
.hp-unit li { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.hp-unit li a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); font-weight: 600; text-decoration: none; }
.hp-unit li a:hover { color: var(--green-ink); text-decoration: underline; }
.hp-unit li span { color: var(--ink-2); font-family: var(--mono); font-size: 12px; margin-right: 6px; }
.hp-outline-more { margin-top: 24px; }

.hp-closing { padding: 72px 0; background: var(--night); text-align: center; }
.hp-closing h2 { color: #fff; }
.hp-closing p { max-width: 46ch; margin: 12px auto 28px; color: #b8c7bf; font-size: 18px; }
.hp-closing .hp-cta-note { color: var(--lime); }
.hp-closing .hp-cta-note::before { background: var(--lime); }
.hp-closing :focus-visible { box-shadow: 0 4px 0 var(--green-strong); outline-color: var(--lime); }

@media (max-width: 1023px) {
  .site-wrap { padding-inline: 24px; }
  .hp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px; }
}
@media (max-width: 860px) {
  .hp-hero { padding: 32px 0 40px; }
  .hp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hp-hero-copy { padding-top: 0; }
  .hp-hero-copy h1 { max-width: 16ch; }
  .hp-sub { max-width: 42ch; font-size: 16px; margin-top: 14px; }
  .hp-cta { margin-top: 22px; }
  .hp-facts { margin-top: 0; }
  .hp-section { padding-block: 48px; }
  .hp-section-head p { font-size: 16px; }
}
@media (max-width: 600px) {
  .site-wrap { padding-inline: 16px; }
  .hp-hero-copy h1 { font-size: clamp(34px, 10vw, 44px); }
  .hp-hero-copy h1 span { white-space: normal; }
  .hp-cta .button { width: 100%; min-width: 0; }
  .hp-cta-note { text-align: center; }
  .hp-try { margin-inline: -4px; padding: 14px; border-radius: var(--r-card); }
  .xs-grid td { height: 40px; }
  .xs-cell { min-height: 40px; padding: 0 8px; }
  .xs-formula { font-size: 16px; }
  .xs-name { width: 48px; }
  .card { padding: 16px; }
  .hp-closing { padding: 56px 0; }
  .hp-closing .button { width: 100%; }
}

/* ---------- Utility pages: contact, privacy, terms ---------- */
.inner-page { padding-top: 48px; padding-bottom: 72px; }
.inner-content { max-width: 1060px; }
.page-intro { max-width: 680px; }
.page-intro h1 { max-width: 16ch; font-size: clamp(36px, 5vw, 48px); }
.page-intro > p { max-width: 60ch; margin-top: 18px; font-size: 18px; }
.page-intro > .button { margin-top: 24px; }
.page-intro .action-note { margin-top: 12px; font-size: 12px; }
.page-intro.centered { max-width: 780px; margin-inline: auto; text-align: center; }
.page-intro.centered h1 { max-width: 19ch; margin-inline: auto; }
.page-intro.centered > p { margin-inline: auto; }
.legal-content { max-width: 900px; }
.legal-content h1 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 48px); }
.legal-updated { font-size: 14px; color: var(--ink-2); }
.legal-lead { max-width: 68ch; margin: 24px 0; font-size: 18px; line-height: 1.7; }
.legal-contents { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 28px 0 40px; padding: 16px 24px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.legal-contents a { display: flex; align-items: center; min-height: 44px; color: var(--link); font-size: 14px; font-weight: 600; }
.legal-content section { max-width: 72ch; margin-top: 40px; scroll-margin-top: 24px; }
.legal-content section h2 { margin: 0 0 16px; font-size: 22px; }
.legal-content section p, .legal-content li { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.legal-content ul { padding-left: 24px; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--link); }
@media (max-width: 767px) {
  .inner-page { padding-top: 32px; padding-bottom: 52px; }
  .page-intro > p { font-size: 16px; }
  .legal-contents { grid-template-columns: 1fr; margin-block: 28px 36px; }
  .legal-lead { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .button:active, .xs-check:active { transform: none; }
}

/* Contact: a quiet text link next to the account control. */
.header-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; border-radius: var(--r-control); color: var(--muted, #45584e); font-size: 16px; font-weight: 600; line-height: 1.25; text-decoration: none; }
.header-contact:hover { background: var(--canvas); color: var(--ink); }
@media (max-width: 900px) { .header-contact { justify-content: flex-start; min-height: 48px; padding-inline: 4px; font-size: 18px; } }

.header-contact { font-weight: 700; }
.footer-group h2 { font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 700; }
.footer-bottom p { font-size: 14px; }
.header-actions .button { margin-bottom: 0; }
/* ---- Home: guide sections below the hero (no prices on the home page) ---- */
/* One card system: 18px radius, 1px line, card shadow, 24px padding. Linked cards lift on hover and focus. */
.hp-band { background: var(--paper); border-block: 1px solid var(--line); }
.hp-eyebrow { margin-bottom: 10px; color: var(--green-ink); }
.hp-section-head h2 { text-wrap: balance; }
.hp-subhead { margin: 56px 0 20px; }
.hp-grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.hp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-skills { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-features { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hp-features > li { grid-column: span 2; }
.hp-features > li:nth-child(n+4) { grid-column: span 3; }
.hp-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0; height: 100%; transition: border-color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out; }
.hp-card:hover { border-color: #c3d4ca; box-shadow: 0 1px 2px rgba(16,35,26,.06), 0 14px 32px rgba(16,35,26,.10); transform: translateY(-2px); }
.hp-card:focus-within { border-color: var(--green); }
.hp-card h3 { margin: 16px 0 8px; font-size: 20px; }
.hp-card p { font-size: 16px; line-height: 1.6; }
.hp-card a { font-weight: 700; }
.hp-tile { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--green-ink); font: 800 16px/1 var(--mono); }
.hp-tile.is-sun { background: var(--sun-soft); color: #6b4a00; }
.hp-tile.is-grape { background: var(--grape-soft); color: var(--grape-strong); }
.ico { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-tile .ico { width: 22px; height: 22px; }
.hp-feature { flex-direction: row; align-items: flex-start; gap: 16px; }
.hp-feature h4 { margin: 2px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.hp-feature p { font-size: 16px; }
.hp-skill h3 { font-size: 20px; }
.hp-skill-links { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 16px 0 0; list-style: none; }
.hp-skill-links a { display: inline-flex; min-height: 32px; align-items: center; padding: 4px 11px; border-radius: var(--r-pill); background: var(--mint); color: var(--green-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color 120ms ease-out; }
.hp-skill-links a:hover { background: #cdeedb; }
.hp-skill-links a:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--green-ink); }

/* Reading column: about 68 characters a line. */
.hp-prose { min-width: 0; max-width: 36rem; }
.hp-prose h2 { margin-bottom: 20px; }
.hp-prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; }
.hp-prose code { padding: 1px 6px; border-radius: 6px; background: var(--canvas); color: var(--green-ink); font-size: 15px; }
.hp-band .hp-prose code { background: var(--mint); }
.hp-pull { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--lime); color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; text-wrap: balance; }
.hp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: center; }
.hp-split.is-flip { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
.hp-split.is-flip .hp-prose { order: 2; }
.hp-split.is-flip .hp-shot { order: 1; }
.hp-shot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); box-shadow: var(--shadow-float); }
.hp-shot img { display: block; width: 100%; height: auto; }
.hp-shot figcaption { padding: 12px 18px 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.hp-rows { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.hp-rows li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.hp-rows p { margin: 0; font-size: 16px; line-height: 1.6; }
.hp-rows strong, .hp-feature strong { color: var(--ink); }

/* How a lesson works: three steps, text and visual alternating. */
.hp-steps { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
.hp-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
.hp-step:nth-child(even) { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.hp-step:nth-child(even) .hp-step-text { order: 2; }
.hp-step-text { min-width: 0; max-width: 36rem; }
.hp-step-text p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; }
.hp-step-text code { padding: 1px 6px; border-radius: 6px; background: var(--mint); color: var(--green-ink); font-size: 15px; }
.hp-step .hp-shot { width: 100%; }
.hp-step-n { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 16px; font-weight: 800; }
.hp-fade { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--canvas); }
.hp-fade div { display: grid; gap: 6px; }
.hp-fade span { color: var(--ink); font-size: 14px; font-weight: 700; }
.hp-fade i { display: block; width: var(--w); height: 10px; border-radius: var(--r-pill); background: var(--green); }
.hp-fade div:nth-child(2) i { opacity: .7; }
.hp-fade div:nth-child(3) i { opacity: .45; }
.hp-fade small { color: var(--ink-2); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hp-cta-band { display: grid; justify-items: start; margin-top: 48px; }

/* FAQ: accordion of cards. */
.hp-faq-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: start; }
.hp-faq-layout .hp-section-head { margin: 0; position: sticky; top: 24px; }
.hp-faq { display: grid; gap: 12px; max-width: 760px; }
.hp-faq details { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-card); transition: border-color 160ms ease-out; }
.hp-faq details:hover { border-color: #c3d4ca; }
.hp-faq details[open] { border-color: var(--green); }
.hp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; color: var(--ink); font-weight: 800; cursor: pointer; list-style: none; padding: 16px 20px; border-radius: var(--r-card); font-size: 18px; line-height: 1.35; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; border-radius: 50%; }
.hp-faq details[open] summary::after { content: "−"; }
.hp-faq summary:focus-visible { outline-offset: 2px; }
.hp-faq summary::after { width: 32px; height: 32px; background: var(--mint); color: var(--green-ink); font-size: 20px; }
.hp-faq details[open] summary::after { background: var(--green-button); color: #fff; }
.hp-faq details p { max-width: 62ch; padding: 0 20px 20px; font-size: 16px; line-height: 1.7; }

@media (max-width: 1100px) {
  .hp-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-outline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-split, .hp-split.is-flip { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
  .hp-split.is-flip { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
  .hp-step, .hp-step:nth-child(even) { gap: 40px; }
}
@media (max-width: 900px) {
  .hp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-features > li, .hp-features > li:nth-child(n+4) { grid-column: auto; }
  .hp-features > li:last-child { grid-column: 1 / -1; }
  .hp-split, .hp-split.is-flip, .hp-step, .hp-step:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hp-split.is-flip .hp-prose, .hp-step:nth-child(even) .hp-step-text { order: 0; }
  .hp-shot { max-width: 520px; }
  .hp-faq-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hp-faq-layout .hp-section-head { position: static; }
}
@media (max-width: 640px) {
  .hp-grid-3, .hp-skills, .hp-features, .hp-outline { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hp-features > li:last-child { grid-column: auto; }
  .hp-card h3, .hp-skill h3 { font-size: 18px; }
  .hp-prose p, .hp-step-text p { font-size: 16px; }
  .hp-pull { font-size: 18px; margin: 20px 0; }
  .hp-subhead { margin-top: 40px; }
  .hp-steps { gap: 36px; }
  .hp-cta-band { justify-items: stretch; margin-top: 32px; }
  .hp-cta-band .button { width: 100%; }
  .hp-faq summary { padding: 14px 16px; font-size: 16px; min-height: 60px; }
  .hp-faq details p { padding: 0 16px 18px; }
  .hp-unit { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-card:hover { transform: none; }
}

/* ---- Home: calmer skills and a compact course overview ---- */
.hp-skill-links { gap: 4px 16px; padding-top: 12px; }
.hp-skill-links a { min-height: 0; padding: 0; border-radius: 0; background: none; color: var(--green-ink); font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hp-skill-links a:hover { background: none; text-decoration-thickness: 2px; }
.hp-skill p { font-size: 16px; }
.hp-tracks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-track { gap: 0; }
.hp-track h3 { margin: 0 0 8px; font-size: 18px; }
.hp-track h3 a { color: var(--ink); text-decoration: none; }
.hp-track h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hp-track p { margin: 0 0 12px; font-size: 15px; }
.hp-track .hp-track-count { margin: auto 0 0; color: var(--green-ink); font-size: 14px; font-weight: 800; }
.hp-outline-more { margin: 28px 0 0; }
.hp-try .label { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 800; }
@media (max-width: 1100px) { .hp-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hp-tracks { grid-template-columns: minmax(0, 1fr); } }
.hp-closing .hp-cta { display: grid; justify-items: center; gap: 12px; }
.hp-closing .hp-cta-note { margin: 0; color: #b8c7bf; font-size: 14px; }
.xs-grid tbody td:nth-child(2) { width: 42%; }

/* Home below the hero, direction A (owner pick, 2026-11-19): full-bleed bands, one idea each,
   real lesson recordings in browser and phone frames, two-tone headings, rules instead of boxes. */
.hb-band { position: relative; padding-block: 120px; overflow: hidden; }
.hb-night { background: var(--night); color: #fff; --tone: #8fa99b; }
.hb-lime { background: var(--lime); --tone: #3f6a2a; }
.hb-sun { background: var(--sun); --tone: #7a5a00; --rule: rgba(16,35,26,.2); }
.hb-mint { background: var(--mint); --tone: #4f7a63; }
.hb-paper { background: var(--paper); --tone: #6b7d73; }
.hb-h { margin: 0; max-width: 16ch; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.hb-h span { color: var(--tone); }
.hb-h-wide { max-width: 18ch; }
.hb-h-split { font-size: clamp(34px, 4vw, 52px); }
.hb-h-sm { font-size: clamp(30px, 3.6vw, 44px); }
.hb-night .hb-h { color: #fff; }
.hb-lead { max-width: 46ch; margin: 20px 0 0; font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--ink-2); }
.hb-sun .hb-lead, .hb-sun .hb-facts p { color: #3d3a26; }
.hb-band .button { margin-top: 32px; }
/* Frames around real recordings */
.hb-frame { position: relative; margin: 0; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(16,35,26,.10), 0 2px 4px rgba(16,35,26,.06), 0 28px 60px -18px rgba(16,35,26,.38); }
.hb-frame-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #f3f5f4; border-bottom: 1px solid var(--line); }
.hb-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5dcd8; }
.hb-frame-bar span { flex: 1; max-width: 320px; height: 24px; margin-left: 12px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font: 600 12px/22px var(--sans); }
.hb-media { position: relative; }
.hb-media video { display: block; width: 100%; height: auto; background: #f5f7f6; }
.hb-replay { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: rgba(16,35,26,.84); color: #fff; font: 800 14px var(--sans); cursor: pointer; }
.hb-replay:disabled { visibility: hidden; }
.hb-replay:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.hb-stage { position: relative; margin-top: 64px; }
.hb-stage > .hb-frame { width: 76%; margin-inline: auto; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 14px 14px 0 var(--lime), 0 40px 80px -20px rgba(0,0,0,.6); }
.hb-note { position: absolute; z-index: 2; color: var(--sun); font: 700 26px/1.05 "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; transform: rotate(-5deg); white-space: nowrap; }
.hb-note.is-left { left: 0; top: calc(45% - 79px); }
.hb-note.is-right { right: 0; top: calc(45% - 88px); transform: rotate(4deg); }
.hb-arrow { position: absolute; z-index: 2; width: 140px; height: 100px; fill: none; stroke: var(--sun); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.hb-arrow.is-left { left: calc(12% - 88px); top: calc(45% - 54px); }
.hb-arrow.is-right { right: 40px; top: calc(45% - 70px); }
.hb-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.hb-bleed { margin-right: calc(-1 * max(24px, (100vw - 1180px) / 2 + 24px)); }
.hb-bleed .hb-frame { border-radius: 16px 0 0 16px; box-shadow: -14px 14px 0 var(--ink), 0 30px 60px -20px rgba(16,35,26,.45); }
.hb-feedback { grid-template-areas: "copy recording" "action recording"; row-gap: 0; }
.hb-feedback-copy { grid-area: copy; align-self: end; }
.hb-feedback .hb-bleed { grid-area: recording; }
.hb-feedback-action { grid-area: action; align-self: start; margin: 0; }
.hb-feedback-action .button { margin-top: 24px; }
/* Course tracks as one ruled list */
.hb-tracks { margin: 56px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.hb-tracks li { border-top: 1px solid var(--line); }
.hb-tracks a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 0; color: var(--ink); text-decoration: none; }
.hb-track-n { color: var(--green); font: 800 15px var(--mono); }
.hb-track-name strong { display: block; color: var(--ink); font-size: clamp(24px, 3vw, 38px); letter-spacing: -.03em; line-height: 1.1; transition: color .15s; }
.hb-track-name small { display: block; margin-top: 6px; color: var(--ink-2); font-size: 16px; font-weight: 500; }
.hb-track-count { padding: 4px 12px; border-radius: var(--r-pill); background: var(--sun-soft); font-size: 14px; font-weight: 800; white-space: nowrap; }
.hb-tracks a:hover strong, .hb-tracks a:focus-visible strong { color: var(--green-strong); }
.hb-tracks a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 8px; }
.hb-more { margin-top: 36px; }
.hb-more .button { margin-top: 0; }
/* Phone band */
.hb-phone { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "device intro" "device facts"; column-gap: 88px; align-items: center; }
.hb-phone-intro { grid-area: intro; align-self: end; }
.hb-device { grid-area: device; width: min(300px, 78vw); margin: 0; padding: 10px; border-radius: 44px; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(16,35,26,.45), inset 0 0 0 2px #2a3d33; }
.hb-device .hb-media { border-radius: 34px; overflow: hidden; background: #fff; }
.hb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--rule, var(--line)); }
.hb-phone .hb-facts { grid-area: facts; align-self: start; }
.hb-facts > div { padding: 22px 24px 0 0; }
.hb-facts > div + div { padding-left: 24px; border-left: 1px solid var(--rule, var(--line)); }
.hb-facts h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.hb-facts p { margin: 0; font-size: 15.5px; line-height: 1.5; }
/* Skill check */
.hb-check { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; }
.hb-numeral { margin: 0; color: var(--green); font-size: clamp(140px, 20vw, 260px); font-weight: 800; letter-spacing: -.06em; line-height: .8; text-align: right; }
.hb-numeral small { display: block; margin-top: 16px; color: var(--ink); font-size: 20px; letter-spacing: 0; line-height: 1.3; }
/* SEO text and FAQ */
.hb-two { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.hb-prose p { max-width: 62ch; margin: 0 0 16px; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.hb-resources { margin-top: 64px; }
.hb-resource-list { margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.hb-resource-list li { padding: 16px 0; }
.hb-resource-list li + li { border-top: 1px solid var(--line); }
.hb-resource-list a { font-size: 17px; font-weight: 800; text-underline-offset: 4px; }
.hb-resource-list a:focus-visible { outline-offset: 4px; }
.hb-resource-list p { margin: 4px 0 0; color: var(--ink-2); line-height: 1.55; }
.hb-faq-wrap { margin-top: 96px; }
.hb-faq-wrap .hp-faq { gap: 0; max-width: none; }
.hb-faq-wrap .hp-faq details { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.hb-faq-wrap .hp-faq details:last-child { border-bottom: 1px solid var(--line); }
.hb-faq-wrap .hp-faq details[open] { border-color: var(--line); }
.hb-faq-wrap .hp-faq summary { padding: 18px 0; border-radius: 0; font-size: 19px; letter-spacing: -.01em; }
.hb-faq-wrap .hp-faq summary::after { content: "+"; transition: transform .25s cubic-bezier(.22,.8,.3,1), background .2s; }
.hb-faq-wrap .hp-faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.hb-faq-wrap .hp-faq details p { padding: 0 48px 22px 0; font-size: 16.5px; }
/* Closing */
:is(.hb-closing, .landing-page .hp-closing) { padding: 140px 0; }
:is(.hb-closing, .landing-page .hp-closing) h2 { max-width: 14ch; margin: 0 auto 36px; font-size: clamp(44px, 7vw, 92px); letter-spacing: -.045em; line-height: .98; }
:is(.hb-closing, .landing-page .hp-closing) h2 span { color: var(--lime); }
:is(.hb-closing, .landing-page .hp-closing) .hp-cta { display: grid; justify-items: center; gap: 12px; }
@media (max-width: 860px) {
  .hb-band { padding-block: 72px; }
  .hb-split, .hb-phone, .hb-check, .hb-two { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hb-feedback { grid-template-areas: "copy" "recording" "action"; row-gap: 28px; }
  .hb-feedback-action .button { margin-top: 0; }
  .hb-stage { margin-top: 40px; }
  .hb-stage > .hb-frame { width: 100%; box-shadow: 6px 6px 0 var(--lime), 0 20px 40px -16px rgba(0,0,0,.6); }
  .hb-note, .hb-arrow { display: none; }
  .hb-bleed { margin-right: -16px; }
  .hb-bleed .hb-frame { box-shadow: -6px 6px 0 var(--ink); }
  .hb-frame-bar { height: 28px; } .hb-frame-bar span { display: none; }
  .hb-tracks a { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 18px 0; }
  .hb-track-n { display: none; }
  .hb-track-name strong { font-size: 22px; } .hb-track-name small { font-size: 15px; }
  .hb-phone { grid-template-areas: "intro" "device" "facts"; }
  .hb-device { justify-self: center; }
  .hb-facts { grid-template-columns: minmax(0, 1fr); }
  .hb-phone .hb-facts { margin-top: 0; }
  .hb-facts > div, .hb-facts > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--rule, var(--line)); }
  .home-main .hb-check { gap: 0; }
  .home-main .hb-numeral { display: none; }
  .hb-resources { margin-top: 48px; gap: 20px; }
  .hb-faq-wrap { margin-top: 64px; } .hb-faq-wrap .hp-faq summary { font-size: 17px; } .hb-faq-wrap .hp-faq details p { padding-right: 0; }
  .hb-lead { font-size: 17px; }
  :is(.hb-closing, .landing-page .hp-closing) { padding: 88px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-track-name strong, .hb-faq-wrap .hp-faq summary::after { transition: none; }
}

/* /teams/: schools, bootcamps and workplaces, in the home page's band style. */
.teams-hero { padding-block: 96px 88px; }
.teams-h1 { font-size: clamp(42px, 6vw, 80px); }
.teams-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.teams-actions .button { margin-top: 0; }
.teams-actions.is-center { justify-content: center; }
.teams-link { color: var(--green-ink); font-size: 17px; font-weight: 800; text-underline-offset: 5px; }
:is(.hb-closing, .landing-page .hp-closing) .teams-link { color: var(--lime); }
.teams-split { align-items: start; }
.teams-list { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.teams-list li { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: #c9d8d0; font-size: 17px; line-height: 1.55; }
.teams-list b { color: #fff; }
.teams-list a { color: var(--lime); }
.teams-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px 0; }
.teams-groups { border-color: rgba(16,35,26,.18); }
.teams-groups li { border-color: rgba(16,35,26,.18); }
.teams-groups .hb-track-name strong { color: var(--ink); }
.teams-groups .hb-track-name small { max-width: 60ch; color: #2f4a1f; font-size: 17px; }
.teams-groups .hb-track-n { color: var(--green-ink); }
.teams-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 56px 0 0; padding: 0; list-style: none; }
.teams-steps b { display: block; color: var(--green); font-size: 120px; font-weight: 800; letter-spacing: -.06em; line-height: .8; }
.teams-steps h3 { margin: 20px 0 8px; font-size: 24px; letter-spacing: -.02em; }
.teams-steps p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.teams-audience-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 800px; margin-top: 32px; }
.teams-audience-links a { display: grid; gap: 4px; min-width: 0; padding: 16px; color: var(--green-ink); border: 1px solid var(--line); border-radius: var(--r-control); text-decoration: none; }
.teams-audience-links a:hover { background: var(--mint); border-color: var(--green); }
.teams-audience-links strong { font-size: 17px; text-decoration: underline; text-underline-offset: 3px; }
.teams-audience-links span { color: var(--ink-2); font-size: 14px; }
.teams-detail-hero { padding-block: 42px 76px; }
.teams-crumbs { display: flex; flex-wrap: wrap; column-gap: 16px; align-items: center; margin-bottom: 32px; font-size: 14px; }
.teams-crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--green-ink); }
.teams-detail-split { align-items: start; }
.teams-detail-hero .teams-h1 { font-size: clamp(38px, 6vw, 66px); }
.teams-sample { padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--canvas); }
.teams-sample h2 { margin: 0 0 6px; font-size: 23px; letter-spacing: -.025em; }
.teams-sample p, .teams-detail-steps p, .teams-detail-questions p { margin: 0; color: var(--ink-2); }
.teams-sample ol { margin: 16px 0 0; padding: 0; list-style: none; }
.teams-sample li { padding: 10px 0; border-top: 1px solid var(--line); }
.teams-sample li span { display: block; font-size: 14px; color: var(--ink-2); }
.teams-sample li a { display: inline-flex; align-items: center; min-height: 34px; color: var(--green-ink); font-weight: 750; }
.teams-detail-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0 0; padding-inline-start: 22px; }
.teams-detail-steps li { padding-inline-start: 4px; }
.teams-detail-steps h3 { margin: 0 0 8px; font-size: 20px; }
.teams-detail-questions details { max-width: 72ch; border-bottom: 1px solid var(--line); }
.teams-detail-questions summary { display: list-item; min-height: 48px; padding: 12px 0; font-weight: 750; cursor: pointer; }
.teams-detail-questions p { margin: 0 0 16px; }
@media (max-width: 860px) {
  .teams-hero { padding-block: 56px; }
  .teams-row { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
  .teams-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 36px; }
  .teams-steps b { font-size: 88px; }
  .teams-actions .button { width: 100%; }
  .teams-detail-hero { padding-block: 18px 46px; }
  .teams-audience-links, .teams-detail-steps { grid-template-columns: minmax(0, 1fr); }
}
.hb-more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hb-more-link { color: var(--green-ink); font-size: 17px; font-weight: 800; text-underline-offset: 5px; }
@media (max-width: 860px) { .hb-more .button { width: 100%; } }

.teams-skill-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.teams-skill-list li {
  display: grid;
  gap: 3px;
  padding-block: 9px;
  border-top: 1px solid var(--line);
}
.teams-skill-list strong {
  color: var(--green-ink);
  font-size: 15px;
}
