/* Lessonling product site — one stylesheet, no build step.
   Brand tokens mirror the app (web/src/styles.css :root). Light theme only. */

:root {
  color-scheme: light;

  /* hsl triplets — the brand mark consumes these via hsl(var(--…)) */
  --brand-navy: 218 52% 32%;
  --brand-sky: 202 77% 75%;
  --brand-word: 207 67% 55%;

  --paper: hsl(60 18% 96%);
  --surface: #ffffff;
  --ink: hsl(218 40% 16%);
  --ink-soft: hsl(218 25% 28%);
  --muted: hsl(215 12% 40%);
  --line: hsl(60 10% 88%);
  --line-strong: hsl(60 8% 80%);
  --navy: hsl(218 52% 32%);
  --navy-hover: hsl(218 52% 38%);
  --sky: hsl(202 77% 75%);
  --sky-soft: hsl(205 70% 91%);
  --sky-wash: hsl(205 60% 94%);
  --deep: hsl(208 56% 42%);
  --link: #226aa6;
  --ok: hsl(150 45% 31%);
  --ok-wash: hsl(150 35% 93%);
  --amber-ink: hsl(35 70% 32%);
  --amber-wash: hsl(42 80% 92%);
  --tg-bg: hsl(205 38% 88%);
  --tg-out: hsl(100 55% 88%);

  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(25, 35, 56, 0.04), 0 6px 24px -12px rgba(25, 35, 56, 0.12);
  --shadow-lift: 0 2px 4px rgba(25, 35, 56, 0.06), 0 10px 30px -12px rgba(25, 35, 56, 0.2);

  --gutter: 16px;
  --max: 1120px;
  --nav-h: 64px;
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; color: var(--ink); }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--navy); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 700px) { :root { --gutter: 28px; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- brand ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: hsl(var(--brand-navy));
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.06em;
  text-decoration: none;
  line-height: 1;
}
.brand:hover { color: hsl(var(--brand-navy)); }
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .ling { color: hsl(var(--brand-word)); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 247, 242, 0.94);
  border-bottom: 1px solid var(--line);
  --brand-knockout: hsl(60 18% 96%);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(8px); }
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
}

.nav-menu { position: static; }
.nav-menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary .bars,
.nav-menu > summary .bars::before,
.nav-menu > summary .bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-menu > summary .bars::before,
.nav-menu > summary .bars::after { content: ''; position: absolute; left: 0; }
.nav-menu > summary .bars::before { top: -5px; }
.nav-menu > summary .bars::after { top: 5px; }
.nav-menu[open] > summary .bars { background: transparent; }
.nav-menu[open] > summary .bars::before { top: 0; transform: rotate(45deg); }
.nav-menu[open] > summary .bars::after { top: 0; transform: rotate(-45deg); }

.nav-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  padding: 8px var(--gutter) 20px;
}
.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  padding: 12px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav-links a:hover { color: var(--link); }
.nav-links a[aria-current='page'] { color: var(--link); }
.nav-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* A closed <details> keeps its content hidden whatever the CSS says, so the
   <details> menu is mobile-only; above 800px a plain, always-visible nav
   (.nav-desktop) takes over. Both are display-toggled, so only one is ever
   in the accessibility tree. */
.nav-desktop { display: none; }
.nav-desktop .nav-start { display: none; }
@media (min-width: 1060px) { .nav-desktop .nav-start { display: inline-flex; } }
@media (min-width: 800px) {
  .nav-menu { display: none; }
  .nav-desktop { display: flex; align-items: center; gap: 14px; }
  .nav-desktop .nav-links { display: flex; gap: 2px; }
  .nav-desktop .nav-links a {
    border: 0;
    padding: 8px 9px;
    font-size: 15px;
    border-radius: 8px;
  }
  .nav-desktop .nav-links a:hover { background: var(--sky-wash); }
  .nav-desktop .nav-actions { margin: 0; flex-wrap: nowrap; }
}
@media (min-width: 800px) and (max-width: 1000px) {
  .nav-desktop .nav-links a { padding: 8px 5px; font-size: 14px; }
  .nav-desktop .btn-small { padding: 7px 12px; font-size: 14px; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--navy); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-small { min-height: 38px; padding: 7px 14px; font-size: 15px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky-wash); color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

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

.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--surface); }
.section-wash { background: var(--sky-wash); }
@media (min-width: 900px) { .section { padding: 88px 0; } }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: 10px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46em; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.note { font-size: 15px; color: var(--muted); }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .split.center { align-items: center; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.section-alt .card { background: var(--paper); box-shadow: none; }
.card h3 { margin-bottom: 0.4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--ok);
  border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
}

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

.hero { padding: 48px 0 56px; }
@media (min-width: 900px) { .hero { padding: 80px 0 88px; } }
.hero h1 { max-width: 14em; }
.hero .lead { margin-bottom: 28px; }
.hero-tag {
  margin-top: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}
/* hero product collage: teacher instruction -> Telegram practice -> teacher summary.
   Static by default; site.js only writes --py (parallax), which CSS applies at
   >= 1000px with motion allowed. */
.hero { position: relative; overflow-x: clip; }
.hero-visual-wrap { min-width: 0; max-width: 580px; }
.hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.hero-glow {
  position: absolute;
  z-index: -1;
  inset: -24px 0;
  border-radius: 40px;
  background:
    radial-gradient(60% 50% at 70% 30%, hsl(205 70% 86% / 0.85), transparent 70%),
    radial-gradient(55% 45% at 25% 80%, hsl(150 35% 88% / 0.65), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}
.hero-visual .hero-card { max-width: none; }
.hero-card .mock-head { padding: 10px 16px; font-size: 13.5px; }
.hero-card .mock-body { padding: 14px 16px 16px; }
.hero-card .mock-label { font-size: 11px; margin: 10px 0 5px; }
.hero-card .mock-label:first-child { margin-top: 0; }
.hero-card .mock-field { font-size: 14px; padding: 7px 10px; line-height: 1.45; }
.hero-card .chip { font-size: 13px; padding: 3px 9px; }
.hero-card .chat-head { padding: 9px 14px; }
.hero-card .chat-avatar { width: 32px; height: 32px; }
.hero-card .chat-avatar svg { width: 20px; height: 20px; }
.hero-card .chat-log { padding: 12px 10px; gap: 6px; font-size: 13.5px; }
.hero-card .msg { padding: 6px 10px; }
.hero-card .voice { min-width: 0; }
.hero-card .voice .wave { min-width: 60px; }
.hero-card .voice .dur { white-space: nowrap; }
.hero-card .stat-line { font-size: 14px; margin-bottom: 10px; }
.hero-brief { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; line-height: 1.45; }
.hero-brief li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
.hero-brief strong { color: var(--ink); }
.hero-caption { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* the hero copy stays a single column up to 999px (the collage stacks under it);
   the overlapping composition needs the width of a 1000px+ screen */
@media (min-width: 900px) and (max-width: 999px) {
  .hero .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (min-width: 1000px) {
  .hero-visual-wrap { max-width: none; }
  .hero .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 44px; }
  /* goal card top left, summary bottom left, the Telegram chat on the right
     overlapping both: instruction -> practice -> insight */
  .hero-visual { grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 26px 0; align-items: start; }
  .hero-glow { inset: -40px -32px; }
  .hero-card { position: relative; }
  .hero-card-goal { grid-column: 1 / 13; grid-row: 1; z-index: 1; }
  .hero-card-brief { grid-column: 1 / 13; grid-row: 2; z-index: 1; }
  .hero-card-chat { grid-column: 12 / 21; grid-row: 1 / 3; align-self: center; z-index: 2; box-shadow: var(--shadow-lift), 0 18px 40px -24px rgba(25, 35, 56, 0.35); }
  /* the chat covers the left cards' right edge: keep that strip empty */
  .hero-card-goal .mock-head, .hero-card-goal .mock-body,
  .hero-card-brief .mock-head, .hero-card-brief .mock-body { padding-right: 36px; }
  .hero-caption { text-align: center; }
}
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .hero-visual [data-depth] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-visual-wrap { animation: hero-in 500ms ease-out both; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- problem timeline ---------- */

.timeline {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 18px;
}
.timeline .row-label { display: block; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; font-family: var(--font-body); font-size: 14px; }
.track { display: flex; align-items: center; gap: 0; }
.track .dot {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: var(--navy);
}
.track .dot.small { width: 10px; height: 10px; background: var(--surface); border: 3px solid var(--deep); }
.track .bar { flex: 1; height: 3px; background: var(--line-strong); }
.track .bar.on { background: var(--sky); }
.track-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 6px; gap: 4px; }
@media (max-width: 380px) { .timeline { padding: 16px 12px; } .track-labels { font-size: 11px; } }

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

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; }
.steps > li .card { height: 100%; }
.steps .num {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.quote-line {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  border-left: 3px solid var(--sky);
  padding-left: 12px;
  margin: 0;
}

/* ---------- mockups ---------- */

.mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  max-width: 520px;
}
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.mock-body { padding: 18px; }
.mock-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 6px;
}
.mock-label:first-child { margin-top: 0; }
.mock-field {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.5;
  background: var(--surface);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-soft);
}
.chip.on { background: var(--sky-wash); border-color: hsl(205 50% 75%); color: var(--navy); font-weight: 600; }
.chip.on::before { content: '✓'; font-weight: 700; }
.chip.off { color: var(--muted); }
.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.switch {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ok-wash);
  color: var(--ok);
  border: 1px solid hsl(150 30% 75%);
}
.mock-foot { display: flex; justify-content: flex-end; padding-top: 16px; }
.fake-btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
}

/* pre-lesson briefing */
.stat-line { font-size: 15px; color: var(--ink-soft); margin: 0 0 12px; }
.brief-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.brief-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; }
.brief-icon { font-size: 17px; line-height: 1.4; }
.brief-key { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* Telegram chat */
.chat {
  max-width: 420px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  background: var(--surface);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy);
  display: grid; place-items: center;
  flex: none;
}
.chat-avatar svg { width: 22px; height: 22px; }
.chat-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.chat-sub { font-size: 13px; color: var(--muted); }
.chat-log {
  list-style: none;
  margin: 0;
  padding: 16px 12px;
  background: var(--tg-bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.5;
}
.msg {
  max-width: 86%;
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 1px rgba(25, 35, 56, 0.08);
}
.msg.me {
  align-self: flex-end;
  background: var(--tg-out);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 4px;
}
.msg .who { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--deep); margin-bottom: 2px; }
.msg.me .who { color: var(--ok); }
.msg p { margin: 0; }
.msg p + p { margin-top: 4px; }
.voice {
  min-width: min(240px, 58vw);
  display: flex;
  align-items: center;
  gap: 8px;
}
.voice .wave {
  flex: 1;
  min-width: 90px;
  height: 18px;
  background:
    repeating-linear-gradient(90deg, var(--ok) 0 3px, transparent 3px 6px);
  -webkit-mask: linear-gradient(180deg, transparent 0 20%, #000 20% 80%, transparent 80%);
  mask: linear-gradient(180deg, transparent 0 20%, #000 20% 80%, transparent 80%);
  opacity: 0.7;
}
.voice .dur { font-size: 12px; color: var(--ink-soft); }
.chat-divider {
  align-self: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 10px;
  border-radius: 999px;
}
.chat-caption { font-size: 14px; color: var(--muted); margin-top: 12px; max-width: 420px; }

/* the ladder */
.ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ladder li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.ladder li:nth-child(1) { margin-right: 15%; }
.ladder li:nth-child(2) { margin-left: 5%; margin-right: 10%; }
.ladder li:nth-child(3) { margin-left: 10%; margin-right: 5%; }
.ladder li:nth-child(4) { margin-left: 15%; border: 2px solid var(--navy); }
.ladder .rung {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
}
.ladder strong { display: block; letter-spacing: 0.04em; text-transform: uppercase; font-size: 14px; color: var(--navy); }
.ladder span.desc { font-size: 15px; color: var(--ink-soft); }

/* ---------- screenshot slots ---------- */

.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; align-items: start; }
@media (min-width: 900px) {
  .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shots.shots-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.shot { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.shot figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
.shot-wide { max-width: 960px; margin: 40px auto 0; }
.section-tight { padding-top: 0; }
.section + .section.section-tight { border-top: 0; }

/* ---------- admin features ---------- */

.feature-list { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.section-alt .feature-list li { background: var(--paper); }
.feature-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.free-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--ok-wash);
  color: var(--ok);
  border: 1px solid hsl(150 30% 75%);
}

/* ---------- comparison table ---------- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.table-scroll:focus-visible { outline-offset: 4px; }
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare caption { text-align: left; padding: 14px 16px 0; color: var(--muted); font-size: 14px; }
.compare th, .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; color: var(--ink-soft); background: var(--paper); }
.compare tbody th { font-weight: 600; }
.compare .us { background: var(--sky-wash); font-weight: 700; color: var(--navy); }
.compare thead .us { color: var(--navy); background: var(--sky-soft); }


/* ---------- research ---------- */

.research-card { display: flex; flex-direction: column; }
.research-card .cite { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--muted); }
.research-card .cite strong { color: var(--ink-soft); }
.cite a, .biblio a, .doi { overflow-wrap: anywhere; word-break: break-word; }
.disclaimer {
  margin-top: 24px;
  font-size: 15px;
  color: var(--ink-soft);
  border-left: 3px solid var(--sky);
  padding-left: 12px;
}

.question { padding-top: 8px; }
.question + .question { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.study {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-top: 18px;
}
.study dl { margin: 0; display: grid; gap: 4px; }
.study dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.study dt:first-child { margin-top: 0; }
.study dd { margin: 0; }
.study .finding { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; }
.caveat {
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--amber-wash);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 14px;
}

.biblio { list-style: none; padding: 0; margin: 0; }
.biblio li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.biblio li:last-child { border-bottom: 0; }
.biblio .topic { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* ---------- pricing ---------- */

.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.plan.featured { border: 2px solid var(--navy); box-shadow: var(--shadow-lift); }
.plan h3 { font-size: 1.3rem; margin-bottom: 2px; }
.plan .plan-for { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--ink); margin: 0 0 4px; }
.price .per { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); }
.price-annual { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.plan .ticks { margin-bottom: 20px; font-size: 16px; }
.plan .btn { margin-top: auto; }
.plan-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.pricing-notes { margin-top: 28px; display: grid; gap: 16px; }
@media (min-width: 700px) { .pricing-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pricing-notes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pricing-notes h3 { font-size: 1rem; }
.pricing-notes p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; }
.faq h3.faq-group { margin: 28px 0 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.faq h3.faq-group:first-child { margin-top: 0; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  padding: 14px 44px 14px 18px;
  font-weight: 700;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 500;
  color: var(--deep);
}
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 18px 14px; color: var(--ink-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- final CTA ---------- */

.final {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
}
@media (min-width: 700px) { .final { padding: 56px 40px; } }
.final h2 { color: #fff; }
.final p { color: hsl(205 60% 92%); max-width: 36em; margin-left: auto; margin-right: auto; }
.final .cta-row { justify-content: center; margin-top: 24px; }
.final a:not(.btn) { color: #fff; }
.final :focus-visible { outline-color: #fff; }

/* ---------- page head (sub pages) ---------- */

.page-head { padding: 48px 0 24px; }
@media (min-width: 900px) { .page-head { padding: 72px 0 32px; } }
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.toc a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.toc a:hover { border-color: var(--navy); }

.prose { max-width: 760px; }
.prose h3 { margin-top: 1.6em; }
.detail-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }

.format-table { width: 100%; min-width: 340px; border-collapse: collapse; font-size: 15px; }
.format-table tbody th { white-space: nowrap; }
@media (max-width: 520px) { .format-table tbody th { white-space: normal; } }
.format-table th, .format-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.format-table thead th { background: var(--paper); color: var(--ink-soft); font-size: 14px; }

.paid-note {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sky-wash);
  color: var(--navy);
  border: 1px solid hsl(205 50% 80%);
  vertical-align: middle;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 40px 0 48px;
  margin-top: 0;
  --brand-knockout: #fff;
  font-size: 15px;
}
.footer-row { display: grid; gap: 24px; }
@media (min-width: 800px) { .footer-row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--link); text-decoration: underline; }
.footer-tag { color: var(--muted); margin: 10px 0 0; }

/* ---------- 404 ---------- */

.notfound { padding: 96px 0; text-align: center; }
.notfound .cta-row { justify-content: center; }

/* screenshots open in the lightbox (site.js); new tab without JS */
.shot-link { display: block; }
.shot-link:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; border-radius: 8px; }

/* ---------- home v2 (appended 2026-10-19; existing classes unchanged) ---------- */

.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.cta-gap { margin-top: 36px; }

.trial-line {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ok);
}
.hero .trial-line + .hero-tag { margin-top: 8px; }

/* audience split: two anchor cards */
.section-compact { padding: 32px 0; }
@media (min-width: 900px) { .section-compact { padding: 40px 0; } }
.audience { display: grid; gap: 16px; }
@media (min-width: 700px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.audience-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.audience-card:hover { border-color: var(--navy); color: var(--ink); }
.audience-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep); }
.audience-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.audience-text { color: var(--ink-soft); font-size: 16px; }
.audience-go { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--link); }

/* teacher: you decide / Charlie handles */
.roles { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 800px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.role { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--surface); }
.role .ticks { margin: 0; }
.role .ticks li:last-child { margin-bottom: 0; }
.role-you { border-top: 4px solid var(--navy); }
.role-charlie { border-top: 4px solid var(--sky); }
.mock-pair { align-items: start; }

/* mockup extras */
.mock-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.fake-btn-outline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--navy);
  background: var(--surface);
}
.mock-divider {
  margin: 18px -18px 0;
  padding: 8px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep);
}
.check-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 15px; }
.check {
  flex: none;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

/* student benefits */
.benefits { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.benefits li { padding-left: 14px; border-left: 3px solid var(--sky); }
.benefits strong { color: var(--navy); }

/* Telegram inline keyboard under a message */
.tg-buttons {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  font-family: var(--font-body);
}
.tg-buttons li {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep);
  background: var(--sky-wash);
  border-radius: 8px;
  padding: 5px 6px;
}
@media (min-width: 420px) { .tg-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* agentic branching visual */
.branch { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.branch-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.branch-row:last-child { border-left-color: var(--navy); }
.branch-if { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.branch-arrow { display: none; color: var(--deep); font-weight: 700; }
.branch-then { color: var(--ink-soft); font-size: 16px; }
@media (min-width: 520px) {
  .branch-row { grid-template-columns: 11em 1.5em minmax(0, 1fr); align-items: center; gap: 8px; }
  .branch-arrow { display: block; text-align: center; }
}

/* testimonials */
.testimonial {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; color: var(--ink); }
.testimonial blockquote p { margin: 0; }
.testimonial blockquote p + p { margin-top: 0.8em; }
.testimonial-single { max-width: 820px; margin: 0 auto; padding: 28px; }
.testimonial-single blockquote { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.65; color: var(--ink-soft); }
.testimonial-single blockquote strong { font-weight: 600; color: var(--ink); }
.avatar-photo { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.testimonial figcaption a { color: var(--deep); }
.testimonial figcaption { margin-top: auto; font-size: 15px; color: var(--muted); }
.example-label {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--amber-wash);
  color: var(--amber-ink);
}

/* three pricing notes instead of four */
@media (min-width: 1100px) { .pricing-notes.pricing-notes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.final .small { color: hsl(205 60% 92%); }
.trust-list { margin: 0; }
@media (min-width: 900px) { .trust-list { columns: 2; column-gap: 48px; } .trust-list li { break-inside: avoid; } }
.trust-list + .shots { margin-top: 32px; }

/* --- features / research v2 spacing (orchestrator) --- */
.paid-note + h2, .free-badge + h2 { margin-top: 12px; }
.table-scroll + .detail-grid { margin-top: 32px; }
.biblio + .note { margin-top: 24px; }

/* ---------- icons (appended 2026-10-19; Lucide sprite /assets/icons.svg) ---------- */

.ic { width: 1.1em; height: 1.1em; vertical-align: -0.15em; flex: none; color: var(--deep); }
.ic-lg { width: 22px; height: 22px; vertical-align: -5px; }

/* icon + label rows (trial limits, capability chips): wrap, never overflow */
.ic-row { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; }
.ic-row li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.trial-row { font-weight: 600; color: var(--ink-soft); }
.trial-row .trial-first { font-weight: 500; color: var(--muted); }
.audience-row { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--muted); }
.final .trial-row { justify-content: center; color: #fff; }
.final .trial-row .ic { color: var(--sky); }
.cap-chips { margin: 4px 0 16px; gap: 8px; font-size: 14px; }
.cap-chips li { padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-weight: 600; }

/* icon bullet lists (roles, trust, trial limits) */
.ic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ic-list li { display: grid; grid-template-columns: 1.3em minmax(0, 1fr); gap: 10px; align-items: start; }
.ic-list li > .ic { margin-top: 0.22em; }
.role .ic-list .ic { color: var(--muted); }
@media (min-width: 900px) { .trust-list { display: block; } .trust-list li { margin-bottom: 10px; } }
.ic-kicker { display: inline-flex; align-items: center; gap: 8px; }

/* how it works: number + icon */
.step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.step-top .num { margin-bottom: 0; }
.step-top .ic { color: var(--navy); }

/* gap timeline: icon above each label, subtle */
.track-labels span { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.track-labels span:first-child { align-items: flex-start; }
.track-labels span:last-child { align-items: flex-end; }
.track-labels .ic { color: var(--muted); width: 16px; height: 16px; }

/* student benefits */
.benefits li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.benefits li > .ic { margin-top: 2px; color: var(--navy); }

/* card headings with an icon (free admin) */
.ic-head { display: flex; align-items: center; gap: 8px; }
.ic-head .ic { color: var(--deep); }

/* adaptive branch states */
.branch-if { display: inline-flex; align-items: center; gap: 8px; }
.branch-if .ic { color: var(--deep); }

/* research cards */
.card-ic { display: block; margin-bottom: 8px; }
.card-ic .ic { color: var(--deep); }

/* testimonial initials avatar */
.testimonial figcaption { display: flex; align-items: center; gap: 10px; }
.avatar {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sky-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}

/* pricing: free-forever vs free AI trial */
.plan-sub, .trial-box-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.plan .ticks + .trial-box { margin-top: -4px; }
.trial-box {
  border-top: 1px dashed var(--line-strong);
  padding-top: 14px;
  margin-bottom: 20px;
  font-size: 15px;
}
.trial-box-label { color: var(--ok); }
.trial-box p { margin: 0 0 10px; color: var(--ink-soft); }
.trial-box .ic-list { gap: 4px; margin-bottom: 10px; }
.trial-box .trial-box-rule { margin: 0; font-weight: 600; color: var(--ink); }
.pricing-notes p + p { margin-top: 8px; }
.trial-row + .cta-row { margin-top: 20px; }

/* ---------- screenshot lightbox (assets/site.js; without JS the link opens a new tab) ---------- */

.lightbox {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: transparent;
  overflow: hidden;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(9, 14, 26, 0.88); }
.lightbox img {
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}
.lightbox-close {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font: 400 30px/1 system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.lightbox-close:hover { background: var(--sky-soft); }
.lightbox-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] img { animation: lightbox-in 0.18s ease-out; }
  .lightbox[open]::backdrop { animation: lightbox-fade 0.18s ease-out; }
}
@keyframes lightbox-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }

/* comparison table: brand mark in the Lessonling column header */
.compare thead th.us { position: relative; text-align: center; --brand-knockout: hsl(205 70% 91%); }
.brand-inline { font-size: 17px; gap: 7px; vertical-align: top; }
.brand-inline svg { width: 20px; height: 20px; }

/* adaptive practice rows cascade to the right like the ladder (operator 2026-10-20) */
@media (min-width: 700px) {
  .branch-row:nth-child(1) { margin-right: 15%; }
  .branch-row:nth-child(2) { margin-left: 5%; margin-right: 10%; }
  .branch-row:nth-child(3) { margin-left: 10%; margin-right: 5%; }
  .branch-row:nth-child(4) { margin-left: 15%; }
}

/* hero trial block: intro line tight above the icon row (operator 2026-10-20) */
.trial-line + .trial-row { margin-top: 6px; }

/* mockup cards: who writes what (operator 2026-10-20) */
.hero-visual .hero-card, #telegram .chat { position: relative; overflow: visible; }
.hero-visual { padding-top: 12px; }
#telegram .chat { margin-top: 12px; }
.card-who {
  position: absolute; top: -11px; left: 14px; z-index: 3;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; color: #fff; background: var(--navy);
  box-shadow: 0 1px 2px rgba(25, 35, 56, 0.15); white-space: nowrap;
}
.card-who-charlie { background: var(--deep); }
.hero-visual .hero-card + .hero-card { margin-top: 10px; }
@media (min-width: 1000px) { .hero-visual .hero-card + .hero-card { margin-top: 0; } }
.hero-card-chat .chat-head, #telegram .chat .chat-head { padding-top: 20px; }
/* room for the author badge above the card heads (operator 2026-10-20) */
.hero-visual .hero-card .mock-head { padding-top: 22px; }
.hero-visual .hero-card + .hero-card { margin-top: 22px; }
@media (min-width: 1000px) { .hero-visual .hero-card + .hero-card { margin-top: 0; } }

/* hero collage: one corner radius on every frame; the badges need overflow visible, so round the
   head and the last block themselves (operator 2026-10-20) */
.hero-visual .hero-card { border-radius: var(--radius); }
.hero-visual .mock-head, .hero-visual .chat-head { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.hero-visual .mock-body:last-child, .hero-visual .chat-log:last-child { border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); }
