/* Layout: one centred reading column (max 1120px) with full-bleed ink bands for the hero and calls to action.
   Identity comes from the SlideLesson decks: ink, indigo, teal, yellow, coral. */
:root {
  --ink: #23254F;          /* deck background ink, headings */
  --indigo: #3B3FB6;       /* chips, links */
  --teal: #1FA99A;         /* answers, success, primary buttons */
  --yellow: #FFC93C;       /* think-time, highlights */
  --coral: #FF6B5B;        /* solution chip, small accents */
  --bg: #F7F8FD;           /* page ground: off-white with an indigo bias */
  --surface: #FFFFFF;
  --tint: #EEF0FF;
  --fg: #23254F;
  --muted: #5D6088;
  --line: #D5D7EE;
  --band: #23254F;         /* dark bands stay dark in both themes */
  --band-fg: #FFFFFF;
  --band-muted: #CFD1F5;
  --btn-fg: #23254F;
  --link: #3B3FB6;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Lexend", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14152E; --surface: #1D1F42; --tint: #25285A; --fg: #ECEDFB; --muted: #A9ACD6;
    --line: #34376B; --band: #0E0F24; --band-fg: #FFFFFF; --band-muted: #B9BCEB; --link: #9EA2FF;
    --indigo: #7D82F5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14152E; --surface: #1D1F42; --tint: #25285A; --fg: #ECEDFB; --muted: #A9ACD6;
  --line: #34376B; --band: #0E0F24; --band-fg: #FFFFFF; --band-muted: #B9BCEB; --link: #9EA2FF;
  --indigo: #7D82F5; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; font-weight: 350; }
img, video { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.prose { max-width: 68ch; display: grid; gap: 14px; }
.prose h2 { font-size: 1.5rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.band .eyebrow { color: var(--yellow); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--band); color: var(--band-fg); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--band-fg); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.45rem; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--yellow); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 12px solid var(--band); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.brand b { color: var(--yellow); font-weight: 700; }
.nav { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a { color: var(--band-muted); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--band-fg); }
.nav .btn { color: var(--btn-fg); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; }
.btn-yellow { background: var(--yellow); color: #23254F; }
.btn-teal { background: var(--teal); color: #FFFFFF; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn:hover { filter: brightness(1.06); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* bands */
.band { background: var(--band); color: var(--band-fg); }
.band .muted { color: var(--band-muted); }
section { padding-block: 64px; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 70ch; }

/* hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 44px; align-items: start; padding-block: 40px 56px; }
.hero p.lede { font-size: 1.12rem; color: var(--band-muted); max-width: 46ch; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-facts { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: var(--band-muted); }
.hero-facts strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--band-fg); line-height: 1.1; }

/* click-through slide demo */
.player { display: grid; gap: 12px; min-width: 0; }
.screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 0 0 10px #3B3FB6, 0 24px 60px rgba(0,0,0,.35); }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.screen img.on { opacity: 1; }
.controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.controls .btn { padding: 9px 18px; }
.steps { display: flex; gap: 6px; flex: 1; min-width: 120px; }
.steps i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); }
.steps i.done { background: var(--yellow); }
.step-label { font-size: .88rem; color: var(--band-muted); min-width: 0; }

/* flow (a real sequence, so numbered) */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: flow; }
.flow li { list-style: none; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 4px solid var(--c); }
.flow li::before { counter-increment: flow; content: counter(flow); font-family: var(--display); font-weight: 700; font-size: 1.1rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #23254F; }
.flow { padding: 0; margin: 0; }

/* class cards */
.classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.class-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.class-card:hover { border-color: var(--indigo); }
.class-card .big { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--indigo); }
.class-card .stats { display: flex; gap: 16px; font-size: .9rem; color: var(--muted); }
.class-card .go { font-weight: 600; color: var(--link); }
.soon { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 20px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.pill-yellow { background: var(--yellow); color: #23254F; }
.pill-teal { background: var(--teal); color: #FFFFFF; }
.pill-coral { background: var(--coral); color: #FFFFFF; }

/* video */
.video-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.video-grid video { width: 100%; border-radius: 12px; background: #000; aspect-ratio: 16 / 9; }
.video-copy { display: grid; gap: 14px; min-width: 0; }
.checks { margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { list-style: none; padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 4px); width: 5px; height: 9px; border: solid #FFFFFF; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; grid-template-rows: auto auto auto 1fr auto; }
.plan.feature { border: 2px solid var(--teal); }
.plan .price { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .per { font-size: .9rem; color: var(--muted); }
.plan ul { margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.plan li { list-style: none; padding-left: 22px; position: relative; font-size: .95rem; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--teal); }
.note { font-size: .9rem; color: var(--muted); margin-top: 18px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding-block: 14px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.4rem; line-height: 1; color: var(--indigo); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* chapter table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); }
th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--tint); }
tr:last-child td { border-bottom: 0; }
td.n { font-variant-numeric: tabular-nums; color: var(--muted); width: 4.5em; }
td.q { font-variant-numeric: tabular-nums; text-align: right; width: 7em; }
th.q { text-align: right; }

/* class page */
.class-hero .wrap { padding-block: 48px 56px; display: grid; gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; position: sticky; top: 90px; }
.side-card .price { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.1; }
.dl { display: grid; gap: 10px; }
.dl a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 10px; background: var(--tint); color: var(--fg); text-decoration: none; font-weight: 500; }
.dl a span { color: var(--muted); font-size: .85rem; font-weight: 400; }

/* forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); width: 100%; }
.contact-box { display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--tint); }
.contact-box .num-big { font-family: var(--display); font-size: 1.7rem; font-weight: 700; user-select: all; }
.copy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.status { font-size: .9rem; color: var(--teal); min-height: 1.4em; }

/* cta band */
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { max-width: 22ch; }

/* footer */
.site-foot { background: var(--band); color: var(--band-muted); font-size: .9rem; }
.site-foot .wrap { padding-block: 40px; display: grid; gap: 22px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot-cols h3 { color: var(--band-fg); font-size: 1rem; font-family: var(--body); font-weight: 600; margin-bottom: 8px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--band-muted); }
.site-foot a:hover { color: var(--band-fg); }
.disclaimer { border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; font-size: .82rem; }

@media (max-width: 900px) {
  .hero .wrap, .video-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .classes, .plans { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .side-card { position: static; }
  section { padding-block: 48px; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .nav { margin-left: 0; }
  .wrap { padding-inline: 16px; }
}

.price .was { font-size: .5em; font-weight: 600; color: var(--muted); text-decoration-thickness: 2px; margin-left: 6px; }
.launch { color: var(--teal, #0E8C7F); font-weight: 600; }
.price-alt { font-size: .9rem; color: var(--muted); margin-top: -4px; }
.price-alt .num { font-weight: 600; color: var(--fg); }
.price-alt .was { font-weight: 400; margin-left: 2px; }
/* Classes dropdown in the header */
.nav-drop { position: relative; }
.nav-drop summary { list-style: none; cursor: pointer; color: var(--band-muted); font-size: .95rem; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: " ▾"; font-size: .8em; }
.nav-drop summary:hover, .nav-drop summary.on, .nav-drop[open] summary { color: var(--band-fg); }
.nav-drop .drop { position: absolute; top: calc(100% + 10px); left: -14px; z-index: 20; display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 22px; padding: 14px 18px; background: var(--band); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
/* chapter table part headings (Classes 6–8) */
tr.part td { background: var(--tint); font-weight: 600; font-size: .85rem; letter-spacing: .04em; color: var(--indigo); }
@media (min-width: 901px) { .classes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 521px) and (max-width: 900px) { .classes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.buy-row { display: grid; gap: 8px; }
.side-card .btn { justify-content: center; }

/* SlideLesson logo icon (four steps) */
.brand-mark { background: url(logo-icon-on-dark.svg) center / contain no-repeat; border-radius: 0; }
.brand-mark::after { display: none; }
.brand-word { font-weight: 800; letter-spacing: -0.2px; }
.brand-word b { font-weight: 800; }

/* sample PowerPoint request form (class pages) */
.sample-form { display: grid; gap: 8px; }
.sample-form input { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--fg); width: 100%; box-sizing: border-box; }
.sample-form .btn { justify-content: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* home hero: subject badge */
.hero-badge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.2; color: var(--yellow); }
.hero-badge span { white-space: nowrap; }
.hero-badge-cls { background: var(--yellow); color: var(--band); border-radius: 999px; padding: 3px 14px; font-size: .9em; }

/* positive value statement under the four steps */
.value-note { margin: 28px 0 0; padding: 18px 22px; border-radius: var(--radius); background: var(--tint); border-left: 0; font-size: 1.12rem; line-height: 1.55; color: var(--fg); max-width: 72ch; font-weight: 500; }

/* Subjects (added: all-subjects upgrade) */
.subjects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.subject-card { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--sc, var(--indigo)); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; }
.subject-card h3 { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; margin: 0; }
.subject-card p { margin: 0; font-size: .95rem; }
.subject-card .pill { justify-self: start; }
.subject-card .go { font-weight: 600; color: var(--link); text-decoration: none; }
.subject-card.live { border-color: var(--teal); border-top-color: var(--teal); }
.subject-card.live:hover { border-color: var(--indigo); }
.subject-card.soon-card { border-style: dashed; border-top-style: solid; }
.subject-card.soon-card .go:hover { text-decoration: underline; }
.hero-note { margin: 6px 0 0; font-size: .82rem; color: var(--band-muted); }
@media (max-width: 900px) { .subjects { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 521px) and (max-width: 900px) { .subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.chips a, .chips i { font-style: normal; font-weight: 600; min-width: 30px; text-align: center; padding: 3px 8px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.chips a { background: var(--teal); border-color: var(--teal); color: #fff; }
.chips a:hover { background: var(--indigo); border-color: var(--indigo); }
.chips i { border-style: dashed; color: var(--muted); }

/* Free teacher licence */
.free-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; background: var(--surface); border: 2px solid var(--yellow); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.free-copy { display: grid; gap: 10px; align-content: start; }
.free-copy h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; margin: 0; }
.free-copy p { margin: 0; color: var(--muted); }
.free-copy .pill { justify-self: start; }
.free-form { display: grid; gap: 10px; }
.free-form input:not([aria-hidden]) { font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg); width: 100%; }
.free-form input:focus { outline: 2px solid var(--indigo); outline-offset: 1px; }
.free-form .btn { justify-content: center; }
.side-card .free-form { margin-top: 2px; }
.free-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; background: var(--surface); border: 2px solid var(--yellow); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; }
.free-strip h3 { font-family: var(--display); font-size: 1.35rem; margin: 6px 0; }
.free-strip p { margin: 0; max-width: 62ch; }
@media (max-width: 900px) { .free-band { grid-template-columns: minmax(0, 1fr); padding: 18px; } }

/* Class-first home and class hub pages */
.sl-row { display: flex; align-items: flex-start; align-content: flex-start; flex-wrap: wrap; gap: 6px; }
.sl { line-height: 1.4; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.sl.sl-ct { background: var(--teal); border-color: var(--teal); color: #fff; }
.sl.sl-free { background: var(--yellow); border-color: var(--yellow); color: #23254F; }
.sl.sl-soon { border-style: dashed; }
.class-card .go { margin-top: 2px; }
.crumb { display: inline-block; margin-bottom: 10px; font-size: .92rem; color: var(--band-muted); text-decoration: none; }
.crumb:hover { color: var(--band-fg); text-decoration: underline; }
.subject-card .stats { font-size: .9rem; }

/* feedback form */
.free-form .fld { display: grid; gap: 4px; font-size: .92rem; color: var(--muted); }
.free-form textarea, .free-form select { font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg); width: 100%; box-sizing: border-box; }
.free-form textarea { resize: vertical; min-height: 120px; }
.free-form textarea:focus, .free-form select:focus { outline: 2px solid var(--indigo); outline-offset: 1px; }
.free-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--fg); }
.free-form .check input { width: auto; margin-top: 4px; flex: none; }
.fb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .fb-row { grid-template-columns: 1fr; } }

/* highlighted feedback links */
.nav a.nav-fb { color: #23254F; background: #FF6B5B; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.nav a.nav-fb:hover { background: #ff8576; color: #23254F; }
.site-foot a.foot-fb { display: inline-block; background: #FF6B5B; color: #23254F; font-weight: 700; padding: 5px 14px; border-radius: 999px; text-decoration: none; }
.site-foot a.foot-fb:hover { background: #ff8576; }
.fb-float { position: fixed; right: 0; top: 55%; z-index: 30; background: #FF6B5B; color: #23254F; font-weight: 700; font-size: .9rem; text-decoration: none; padding: 10px 16px; border-radius: 12px 0 0 12px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.fb-float:hover { background: #ff8576; padding-right: 22px; }
@media (max-width: 720px) { .fb-float { top: auto; bottom: 14px; right: 14px; border-radius: 999px; padding: 10px 18px; } }

/* free sample prominence (20 Oct) */
.sample-strip { background: var(--tint); border-block: 1px solid var(--line); }
.sample-strip .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.sample-strip .ss-copy { display: grid; gap: 8px; max-width: 62ch; }
.sample-strip h2 { margin: 0; font-size: 1.4rem; }
.sample-strip p { margin: 0; }
.sample-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.sample-chip { display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 2px solid var(--teal); color: var(--fg); text-decoration: none; min-width: 200px; }
.sample-chip strong { font-size: 1rem; }
.sample-chip span { font-size: .82rem; color: var(--muted); }
.sample-chip:hover { background: var(--teal); color: #fff; }
.sample-chip:hover span { color: #fff; }
.sample-class { display: grid; gap: 10px; margin-bottom: 20px; }
.sample-class h3 { margin: 0; }
.pill-yellow[href] { text-decoration: none; }
.sample-float { display: none; }
@media (max-width: 720px) {
  .sample-float { display: block; position: fixed; left: 14px; bottom: 14px; z-index: 30; background: var(--teal); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; padding: 10px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
}
.sample-strip .pill { justify-self: start; }

/* PowerPoint-by-email sample form (26 Oct) */
.sample-actions { display: grid; gap: 10px; justify-items: start; min-width: 280px; max-width: 420px; }
.sample-actions .ppt-or { font-size: .85rem; color: var(--muted); }
.ppt-form { display: grid; gap: 8px; width: 100%; }
.ppt-form input[name="email"] { width: 100%; }
.ppt-form .btn { width: 100%; justify-content: center; text-align: center; }
@media (max-width: 720px) { .sample-actions { max-width: none; width: 100%; } }

/* PowerPoint offer window after a PDF click (26 Oct) */
.ppt-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(20,21,46,.65); }
.ppt-box { position: relative; width: min(460px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); color: var(--fg); border-radius: 16px; padding: 26px 24px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.4); display: grid; gap: 12px; }
.ppt-step { display: grid; gap: 12px; }
.ppt-step[hidden] { display: none; }
.ppt-step h3 { margin: 0; font-size: 1.35rem; }
.ppt-step p { margin: 0; }
.ppt-step .pill { justify-self: start; }
.ppt-x { position: absolute; top: 8px; right: 12px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.ppt-modal .ppt-form { display: grid; gap: 10px; }
.ppt-modal .ppt-form input[name="email"] { width: 100%; }
.ppt-modal .ppt-form .btn { width: 100%; justify-content: center; }
.ppt-err { color: #C0392B; font-size: .9rem; }
.btn-link { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; padding: 4px; }
.ppt-modal input[name="email"] { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg); }
.ppt-modal input[name="email"]:focus { outline: 2px solid var(--yellow); outline-offset: 1px; }

/* home hero: class cards on the right */
.hero-classes-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--band-fg); margin: 0 0 12px; }
.hero .hero-classes .classes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hero .hero-classes .class-card { padding: 16px 18px; gap: 8px; }
.hero .hero-classes .class-card .big { font-size: 2rem; }
@media (max-width: 900px) { .hero .hero-classes .classes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hero .hero-classes .classes { grid-template-columns: minmax(0, 1fr); } }
.band .hero-classes .class-card .eyebrow { color: var(--indigo); }
.band .hero-classes .class-card .muted { color: var(--muted); }
