/* Home page sections and the How It Works page (owner's design, 2026-11-17).
   site/login.html, site/how-it-works.html; live parts in homeLanding.js. */

.hl {
  --hl-heading: var(--text);
  --hl-soft: rgba(var(--accent-rgb), 0.1);
  --hl-line: color-mix(in srgb, var(--border) 60%, transparent);
  --hl-cta-bg: #0f1d4d;
  --hl-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  --hl-glow: radial-gradient(1100px 420px at 50% -80px, rgba(79, 157, 255, 0.18) 0%, rgba(79, 157, 255, 0) 70%);
  --hl-bar-bg: color-mix(in srgb, var(--bg) 86%, transparent);
  --hl-chip-on: var(--accent);
  --hl-chip-on-text: #0b0d12;
  --hl-tool-hover: var(--surface-2);
  --hl-card: var(--surface);
  --hl-card-2: var(--surface-2);
  --hl-track: rgba(255, 255, 255, 0.1);
  --hl-gain-bg: rgba(245, 158, 11, 0.16);
  --hl-gain-text: #fde68a;
  --hl-on-ok: #0b0d12;
}
[data-theme="light"] .hl {
  --hl-heading: var(--brand-navy);
  --hl-cta-bg: #0b1f5e;
  --hl-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
  --hl-glow: radial-gradient(1100px 420px at 50% -80px, #dbeafe 0%, rgba(219, 234, 254, 0) 70%);
  --hl-chip-on: var(--brand-navy);
  --hl-chip-on-text: #ffffff;
  --hl-track: #e2e8f0;
  --hl-gain-bg: #fef3c7;
  --hl-gain-text: #92400e;
  --hl-on-ok: #ffffff;
}

.hl-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.hl-sec { padding: 88px 0; }
.hl-sec--alt { background: var(--surface); border-top: 1px solid var(--hl-line); border-bottom: 1px solid var(--hl-line); }
[data-theme="dark"] .hl-sec--alt { background: var(--bg); }
.hl-sec[hidden] { display: none; }
.hl-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.hl-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hl-h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--hl-heading);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.hl-lead { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; text-wrap: pretty; }
.hl-foot { text-align: center; margin-top: 36px; }

.hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.hl-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.hl-btn--primary { background: var(--action-bg); color: var(--on-accent); }
.hl-btn--primary:hover { background: var(--action-hover); }
.hl-btn--outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.hl-btn--outline:hover { background: rgba(var(--accent-rgb), 0.08); }
.hl-btn--quiet { background: var(--surface); color: var(--text); border-color: var(--border); }
.hl-btn--quiet:hover { border-color: var(--accent); color: var(--accent); }
.hl-btn--light { background: #ffffff; color: var(--brand-navy); }
.hl-btn--light:hover { background: #e0e7ff; }
.hl-btn--ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.85); }
.hl-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.hl-btn[hidden] { display: none; }
.hl-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* 01 Hero */
.hl-hero { background: var(--hl-glow); padding: 96px 0 88px; text-align: center; }
.hl-hero h1 {
  margin: 0 auto 14px;
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hl-heading);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.hl-hero h2 {
  margin: 0 auto 16px;
  max-width: 760px;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  text-wrap: balance;
}
.hl-hero p { margin: 0 auto 32px; max-width: 640px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; text-wrap: pretty; }

/* 02 Explore subjects */
.hl-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--hl-line);
  border-radius: 20px;
}
.hl-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 20px 44px 20px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.hl-tile:hover { border-color: rgba(var(--accent-rgb), 0.45); box-shadow: var(--hl-shadow); transform: translateY(-1px); }
.hl-tile-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--hl-soft);
  color: var(--accent);
}
.hl-tile-icon svg { width: 20px; height: 20px; }
.hl-tile-name { min-width: 0; overflow-wrap: anywhere; }
/* Fitness is not open yet (owner 2026-11-17): its name in italics with a
   quieter "(coming soon)" after it, which wraps under it when the tile is
   narrow (French runs longer). */
.hl-tile-name--soon { font-style: italic; }
.hl-tile-soon { color: var(--muted); font-size: 0.85em; font-weight: 500; white-space: nowrap; }
.hl-tile-arrow { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; color: var(--muted); transition: color 0.15s, transform 0.15s; }
.hl-tile:hover .hl-tile-arrow { color: var(--accent); transform: translate(2px, -2px); }

/* 05 Meet tutors (featured tutor cards) */
.hl-tutors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hl-tcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--hl-line);
  border-radius: 18px;
  box-shadow: var(--hl-shadow);
  transition: border-color 0.15s, transform 0.15s;
}
.hl-tcard:hover { border-color: rgba(var(--accent-rgb), 0.45); transform: translateY(-2px); }
.hl-tcard-body {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas: "photo info" "photo about";
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  row-gap: 10px;
  padding: 20px;
  align-items: start;
}
.hl-tcard-photo {
  grid-area: photo;
  width: 132px;
  height: 156px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--hl-line);
}
.hl-tcard-info { grid-area: info; min-width: 0; }
.hl-tcard-name { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; }
.hl-tcard-name a { color: var(--hl-heading); text-decoration: none; overflow-wrap: anywhere; }
.hl-tcard-name a:hover { text-decoration: underline; }
.hl-tcard-subjects { margin: 0 0 8px; color: var(--muted); overflow-wrap: anywhere; }
.hl-tcard-where { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 0.92rem; }
.hl-tcard-where svg { flex: 0 0 auto; }
.hl-tcard-about { grid-area: about; margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.hl-tcard-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--hl-line);
}
.hl-tcard-consult {
  margin-right: auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(var(--accent-rgb), 0.5);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.hl-tcard-consult:hover { background: rgba(var(--accent-rgb), 0.08); }
.hl-tcard-view { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 700; text-decoration: none; }
.hl-tcard-view:hover { text-decoration: underline; }

.hl-tutors[hidden] { display: none; }

/* On this page (owner 2026-11-19, homeOnPage.js): sticks under the site
   header (its top is set from the header's place) and follows it when it
   slides away. Sentence case, one weight for every tab, the one in view
   filled; links that look like tabs, not like links to another page. */
.hl-onpage {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--hl-bar-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--hl-line);
  border-bottom: 1px solid var(--hl-line);
}
html[data-mobile-fixed-header="true"] .hl-onpage { transition: top 240ms ease; }
.hl-onpage-row {
  display: flex;
  align-items: center;
  justify-content: safe center;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.hl-onpage-row::-webkit-scrollbar { display: none; }
.hl-onpage-label { display: none; }
.hl-onpage-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.hl-onpage-chip[hidden] { display: none; }
.hl-onpage-chip:hover { border-color: var(--accent); color: var(--text); }
.hl-onpage-chip.is-on,
.hl-onpage-chip.is-on:hover { background: var(--hl-chip-on); border-color: var(--hl-chip-on); color: var(--hl-chip-on-text); }
.hl-onpage-chip:focus-visible,
.hl-tool:focus-visible { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; }

/* Sections the bar leads to start just under it. */
.hl-target { scroll-margin-top: var(--hl-target-offset, 150px); }
.hl-head--start { text-align: left; margin-left: 0; }
.hl-h2:focus { outline: none; }
.hl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl-research { margin: 28px 0 0; max-width: 780px; color: var(--muted); font-size: 0.95rem; line-height: 1.6; text-wrap: pretty; }
.hl-research a { color: var(--link); font-weight: 600; }
.hl-sec-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hl-sec-cta--center { justify-content: center; }
.hl-sec-cta:not(:has(> :not([hidden]))) { display: none; }

/* Numbers first: rounded down to the ten with "+", counting up in view. */
.hl-facts { display: flex; gap: 16px; margin: 0 0 36px; }
.hl-facts[hidden], .hl-fact[hidden] { display: none; }
.hl-facts--two { max-width: 560px; }
.hl-facts--one { max-width: 280px; margin-bottom: 28px; }
.hl-fact {
  flex: 1 1 0;
  min-width: 0;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--hl-line);
  border-radius: 16px;
  box-shadow: var(--hl-shadow);
}
.hl-fact-num { display: block; font-size: clamp(1.5rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; }
.hl-fact-label { display: block; margin-top: 4px; color: var(--muted); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }

/* 03 For students: sticky tool menu beside the scrolling mockups. */
.hl-explorer { display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); gap: 24px; align-items: start; }
.hl-tools { display: flex; flex-direction: column; gap: 8px; }
.hl-tool {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.hl-tool:hover { background: var(--hl-tool-hover); border-color: var(--hl-line); }
.hl-tool[aria-pressed="true"] { background: var(--hl-tool-hover); border-color: var(--accent); box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.16); }
.hl-tool-name { font-weight: 700; font-size: 1.05rem; color: var(--hl-heading); }
.hl-tool-line { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.hl-carousel-shell { min-width: 0; }
.hl-previews { min-width: 0; min-height: 470px; }
.hl-pv { display: none; }
.hl-pv.is-on { display: block; }
.hl-pv-head, .hl-pv-foot { display: none; }
.hl-tool-why {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.hl-tool-why:focus-visible { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 3px; border-radius: 3px; }
.hl-carousel-nav { display: none; }
.hl-carousel-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--hl-line);
  border-radius: 999px;
  background: var(--hl-card-2);
  color: var(--hl-heading);
  cursor: pointer;
}
.hl-carousel-btn svg { width: 22px; height: 22px; }
.hl-carousel-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.hl-carousel-btn:focus-visible { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; }
.hl-carousel-btn:disabled { opacity: 0.35; cursor: default; }

.hl-pcard {
  position: relative;
  min-width: 0;
  padding: 24px;
  background: var(--hl-card);
  border: 1px solid var(--hl-line);
  border-radius: 20px;
  box-shadow: var(--hl-shadow);
}
.hl-pc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.hl-pc-title { font-weight: 800; font-size: 1.15rem; color: var(--hl-heading); }
.hl-pc-sub { margin: 0; color: var(--muted); font-size: 0.9rem; }
.hl-pc-meta { margin: 4px 0 16px; color: var(--muted); }
.hl-pc-tag { display: inline-block; margin-top: 16px; padding: 1px 9px; border: 1px dashed var(--muted); border-radius: 999px; color: var(--muted); font-size: 0.75rem; font-weight: 700; }

/* Progress: the graph climbs with sessions, homework, Daily Reviews and
   games on it (the Portfolio graph's own marks), and the points go up. */
.hl-pts { display: flex; align-items: center; gap: 10px; }
.hl-medal {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #5b3a00;
  background: radial-gradient(circle at 35% 30%, #fff3b0 0%, #fcd34d 45%, #d97706 100%);
  box-shadow: inset 0 0 0 2px rgba(180, 83, 9, 0.55), 0 2px 6px rgba(217, 119, 6, 0.35);
}
.hl-pts-text { display: flex; flex-direction: column; line-height: 1.2; }
.hl-pts-line { font-weight: 700; white-space: nowrap; }
.hl-pts-num { display: inline-block; min-width: 3ch; font-size: 1.1rem; color: var(--hl-heading); font-variant-numeric: tabular-nums; }
.hl-pts-num.is-bump { animation: hl-bump 0.35s ease-out; }
.hl-pts-level { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.hl-gains { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; min-height: 26px; margin: 0 0 4px; }
.hl-gain { padding: 3px 10px; border-radius: 999px; background: var(--hl-gain-bg); color: var(--hl-gain-text); font-size: 0.8rem; font-weight: 700; }
.hl-graph { display: block; width: 100%; height: auto; overflow: visible; }
.hl-grid { stroke: var(--hl-line); stroke-width: 1; }
.hl-area { fill: var(--accent); opacity: 0.12; }
.hl-gline { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
.hl-garrow { fill: var(--accent); }
.hl-mk, .hl-garrow { transform-box: fill-box; transform-origin: center; }
.hl-mk-session { fill: var(--accent); }
.hl-mk-star { fill: #facc15; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.hl-mk-daily { fill: var(--ok); }
.hl-mk-tick, .hl-mk-pad { fill: none; stroke: #ffffff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hl-mk-game { fill: #8b5cf6; }
.hl-mk-btn { fill: #ffffff; }
.hl-gx { display: flex; justify-content: space-between; margin-top: 2px; padding: 0 4px; color: var(--muted); font-size: 0.8rem; }
.hl-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 16px; padding: 0; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.hl-legend li { display: inline-flex; align-items: center; gap: 6px; }
.hl-legend svg { width: 18px; height: 18px; flex: 0 0 auto; overflow: visible; }
.hl-bars { display: flex; flex-direction: column; gap: 10px; }
.hl-bar-row { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 0.95rem; }
.hl-bar { display: block; height: 10px; border-radius: 999px; background: var(--hl-track); overflow: hidden; }
.hl-bar-fill { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--accent); }
.hl-bar-pc { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Daily Review */
.hl-badge { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--bad); color: #ffffff; font-weight: 800; font-size: 0.85rem; }
.hl-minis { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.hl-mini { padding: 6px 12px; border-radius: 999px; background: var(--hl-soft); font-size: 0.85rem; font-weight: 600; }
.hl-streak { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; background: var(--hl-soft); font-weight: 600; line-height: 1.45; }
.hl-streak svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--accent); }
.hl-fake-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 12px; background: var(--action-bg); color: var(--on-accent); font-weight: 700; }
.hl-review-visual, .hl-review-prompt, .hl-review-time { display: none; }
.hl-review-side { fill: var(--hl-heading); }

/* Practice */
.hl-q { margin: 8px 0 16px; font-size: 1.25rem; font-weight: 700; color: var(--hl-heading); }
.hl-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.hl-choice { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); font-weight: 600; }
.hl-choice.is-right { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.hl-choice svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ok); }
.hl-report { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: var(--hl-soft); }
.hl-report-title { margin: 0 0 2px; font-weight: 800; }
.hl-report-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; margin: 0; font-size: 0.95rem; line-height: 1.45; }
.hl-report-key { font-weight: 800; color: var(--accent); }

/* Games */
.hl-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hl-game { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px; border-radius: 16px; border: 1px solid var(--hl-line); background: var(--hl-card-2); }
.hl-game-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: var(--hl-soft); color: var(--accent); }
.hl-game-icon svg { width: 24px; height: 24px; }
.hl-game { position: relative; padding-right: 96px; }
.hl-game-art { position: absolute; top: 50%; right: 14px; width: 72px; height: 72px; transform: translateY(-50%); pointer-events: none; }
.hl-game-art svg { width: 100%; height: 100%; }
@media (max-width: 380px) { .hl-game { padding-right: 76px; } .hl-game-art { width: 56px; height: 56px; right: 10px; } }
.hl-game-name { font-weight: 800; overflow-wrap: anywhere; }
.hl-game-topic { color: var(--muted); font-size: 0.9rem; }
.hl-game-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hl-lvl { padding: 3px 10px; border-radius: 999px; background: var(--hl-soft); font-size: 0.78rem; font-weight: 700; }
.hl-lvl--done { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }

/* Summaries and homework */
.hl-summary { margin: 8px 0 16px; line-height: 1.55; }
.hl-hw { margin-bottom: 14px; padding: 16px; border-radius: 14px; background: var(--hl-soft); }
.hl-hw-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; font-weight: 700; }
.hl-hw-top span:last-child { color: var(--muted); font-weight: 600; }
.hl-summary-visual { display: none; background: linear-gradient(145deg, #f3e8ff, #e0f2fe); }
[data-theme="dark"] .hl-summary-visual { background: linear-gradient(145deg, #2e1a5e, #0c2f4f); }
.hl-hw { position: relative; }
.hl-hw-count, .hl-bar-pc { display: grid; }
.hl-hw-count > span, .hl-bar-pc > span { grid-area: 1 / 1; }
.hl-hw-before { opacity: 0; }
.hl-hw-after { opacity: 1; }
.hl-homework-star {
  position: absolute;
  z-index: 1;
  top: -24px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #facc15;
  filter: drop-shadow(0 3px 4px rgba(146, 64, 14, 0.3));
}
.hl-homework-star svg { width: 100%; height: 100%; fill: currentColor; stroke: #d97706; stroke-width: 1.2; stroke-linejoin: round; }

.hl-research-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--hl-line);
  border-radius: 20px;
  background: var(--hl-card);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}
.hl-research-dialog::backdrop { background: rgba(2, 6, 23, 0.72); backdrop-filter: blur(4px); }
.hl-research-card { position: relative; padding: 28px; }
.hl-research-card h3 { margin: 0 44px 12px 0; color: var(--hl-heading); font-size: 1.35rem; }
.hl-research-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.hl-research-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--hl-line);
  border-radius: 999px;
  background: var(--hl-card-2);
  color: var(--hl-heading);
  cursor: pointer;
}
.hl-research-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hl-research-source {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--hl-soft);
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.hl-research-source:hover { text-decoration: underline; }
.hl-research-source svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hl-research-source .hl-source-video { fill: none; }
.hl-research-source .hl-source-video path:last-child { fill: currentColor; stroke: none; }

/* 03b Meet the students: approved cards, the discount said under them */
.hl-sec--glow { background: var(--hl-glow); }
.hl-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hl-story { display: flex; flex-direction: column; min-width: 0; margin: 0; background: var(--surface); border: 1px solid var(--hl-line); border-radius: 18px; overflow: hidden; box-shadow: var(--hl-shadow); }
.hl-story-photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--surface-2); }
.hl-story-body { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; }
.hl-story-text { margin: 0 0 10px; font-size: 1.02rem; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
.hl-story-name { margin: 0; font-weight: 800; color: var(--hl-heading); }
.hl-story-where { margin: 0; color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.hl-stories-note { margin: 24px 0 0; color: var(--muted); font-size: 0.85rem; text-align: center; }

/* 04 For parents */
.hl-parent-explorer { display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); gap: 24px; align-items: start; }
.hl-parent-tools { display: flex; flex-direction: column; gap: 8px; }
.hl-parent-carousel-shell { min-width: 0; }
.hl-parent-previews { display: flex; min-width: 0; flex-direction: column; gap: 80px; }
.hl-parent-pv { display: flex; min-width: 0; flex-direction: column; scroll-margin-top: 96px; }
.hl-parent-pv-head { display: none; }
.hl-parent-card {
  min-height: 440px;
  padding: 28px;
  border: 1px solid var(--hl-line);
  border-radius: 20px;
  background: var(--hl-card);
  box-shadow: var(--hl-shadow);
}
/* Each preview is a small copy of the real page (owner 2026-11-21: "it has
   to look like the website"): the site's header and nav, its fields, oval
   switches, chips and words. Narrow, it is the phone's page with the bottom
   bar; from 560px wide (a container query on the preview, so a tablet's wide
   card gets it too) the computer's, nav at the top and two columns.
   .hl-scr-wide shows on the computer's only, .hl-scr-narrow on the phone's. */
.hl-parent-pv { container-type: inline-size; }
.hl-parent-card.hl-scr { display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; background: var(--bg); color: var(--text); font-size: 0.76rem; line-height: 1.35; }
.hl-scr b { font-weight: 700; }
.hl-scr svg { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hl-scr-top { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--hl-line); background: var(--hl-card); color: var(--hl-heading); font-size: 0.85rem; }
.hl-scr-top b { font-weight: 800; }
.hl-scr-logo { width: 24px; height: 24px; }
.hl-scr-logo--light, [data-theme="light"] .hl-scr-logo--dark { display: none; }
[data-theme="light"] .hl-scr-logo--light { display: block; }
.hl-scr-nav { order: 3; display: flex; gap: 2px; padding: 5px 6px; border-top: 1px solid var(--hl-line); background: var(--hl-card); }
.hl-scr-tab { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 4px 2px; border-radius: 12px; color: var(--muted); font-size: 0.58rem; font-weight: 700; }
.hl-scr-tab > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-scr-tab svg { width: 17px; height: 17px; }
.hl-scr-tab.is-on { background: var(--hl-soft); color: var(--accent); }
.hl-scr-body { display: flex; flex: 1; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; }
.hl-scr-split { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hl-scr-panel, .hl-scr-list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hl-scr-panel { padding: 12px; border: 1px solid var(--hl-line); border-radius: 14px; background: var(--hl-card); }
.hl-scr-h { color: var(--hl-heading); font-size: 1rem; font-weight: 800; }
.hl-scr-label { color: var(--hl-heading); }
.hl-scr-muted { color: var(--muted); font-size: 0.7rem; }
.hl-scr-text { line-height: 1.45; }
.hl-scr-link { min-width: 0; overflow: hidden; color: var(--link); text-overflow: ellipsis; white-space: nowrap; }
.hl-scr-sep { height: 1px; background: var(--hl-line); }
.hl-scr-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.hl-scr-line--apart { justify-content: space-between; }
.hl-scr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hl-scr-field { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hl-scr-field--short { max-width: 120px; }
.hl-scr-field > small { overflow: hidden; color: var(--hl-heading); font-size: 0.7rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.hl-scr-input { display: block; min-width: 0; padding: 6px 9px; overflow: hidden; border: 1px solid var(--hl-line); border-radius: 9px; background: var(--hl-card-2); text-overflow: ellipsis; white-space: nowrap; }
.hl-scr-line > .hl-scr-input { flex: 1 1 90px; }
.hl-scr-input.is-empty { color: var(--muted); }
.hl-scr-input.is-select { padding-right: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-position: right 8px center; background-repeat: no-repeat; background-size: 10px; }
.hl-scr-ok { display: inline-flex; align-items: center; gap: 3px; color: var(--ok); font-size: 0.68rem; font-style: normal; font-weight: 700; }
.hl-scr-ok svg { width: 11px; height: 11px; stroke-width: 3; }
.hl-scr-seg { display: inline-flex; flex-wrap: wrap; align-self: flex-start; padding: 3px; border: 1px solid var(--hl-line); border-radius: 14px; background: var(--hl-card-2); }
.hl-scr-seg > b { padding: 4px 10px; border-radius: 999px; color: var(--muted); font-size: 0.7rem; }
.hl-scr-seg > b.is-on { background: var(--hl-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.hl-scr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hl-scr-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--hl-line); border-radius: 999px; background: var(--hl-card); }
.hl-scr-chip u { color: var(--muted); text-decoration: none; }
.hl-scr-chip.is-on { border-color: var(--accent); background: var(--hl-soft); color: var(--accent); font-weight: 700; }
.hl-scr-btn { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; padding: 6px 13px; border-radius: 10px; background: var(--action-bg); color: var(--on-accent); font-weight: 700; white-space: nowrap; }
.hl-scr-btn svg { width: 13px; height: 13px; }
.hl-scr-btn--ghost { padding: 3px 10px; border: 1px solid var(--hl-line); border-radius: 999px; background: transparent; color: var(--text); }
.hl-scr-back { align-self: center; padding: 5px 11px 5px 6px; border-radius: 999px; }

/* Settings > Family > More: what a child's own login may do */
.hl-scr-more { display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; border: 1px solid var(--hl-line); border-radius: 12px; }
.hl-scr-more-head { display: flex; align-items: center; gap: 6px; color: var(--accent); }
.hl-scr .hl-scr-more-head svg { width: 9px; height: 9px; fill: currentColor; stroke: none; }
.hl-scr-switches { display: grid; gap: 9px; }
.hl-scr-switch { display: flex; align-items: center; gap: 10px; color: var(--hl-heading); font-weight: 700; line-height: 1.25; }
.hl-scr-switch > i { position: relative; flex: 0 0 auto; width: 32px; height: 18px; border-radius: var(--radius-switch, 999px); background: color-mix(in srgb, var(--muted) 55%, transparent); }
.hl-scr-switch > i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.hl-scr-switch.is-on > i { background: var(--accent); }
.hl-scr-switch.is-on > i::after { left: 16px; }

/* Sessions: the people on the left, their messages on the right */
.hl-scr-search { padding: 6px 12px; overflow: hidden; border: 1px solid var(--hl-line); border-radius: 999px; background: var(--hl-card); color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.hl-scr-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.hl-scr-pills > b { padding: 5px 11px; border-radius: 999px; background: var(--hl-card); color: var(--hl-heading); font-size: 0.72rem; white-space: nowrap; }
.hl-scr-pills > b.is-on { background: var(--action-bg); color: var(--on-accent); }
.hl-scr-person { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.hl-scr-person.is-on { background: color-mix(in srgb, var(--accent) 12%, var(--hl-card)); }
.hl-scr-person > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.hl-scr-person b, .hl-scr-chat-head b, .hl-scr-paid b { color: var(--hl-heading); }
.hl-scr-person small, .hl-scr-chat-head small, .hl-scr-paid small { color: var(--muted); font-size: 0.7rem; }
.hl-scr-av { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #7c3aed; color: #ffffff; font-weight: 800; }
.hl-scr-av--b { background: #0369a1; }
.hl-scr-when { padding: 1px 8px; border-radius: 999px; background: var(--hl-soft); color: var(--accent); font-size: 0.66rem; font-style: normal; font-weight: 700; }
.hl-scr-when.is-ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.hl-scr-unread { display: grid; place-items: center; flex: 0 0 auto; min-width: 18px; height: 18px; border-radius: 999px; background: var(--bad); color: #ffffff; font-size: 0.64rem; font-style: normal; font-weight: 800; }
.hl-scr-chat { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--hl-line); border-radius: 14px; background: var(--hl-card); }
.hl-scr-chat-head { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-bottom: 1px solid var(--hl-line); }
.hl-scr-chat-head > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.hl-scr-msgs { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px; }
.hl-scr-day { align-self: center; color: var(--muted); font-size: 0.64rem; font-weight: 700; }
.hl-scr-msg { align-self: flex-start; max-width: 86%; margin: 0; padding: 7px 12px; border: 1px solid var(--hl-line); border-radius: 14px; background: var(--hl-card-2); }
.hl-scr-msg > small { display: block; color: var(--accent); font-size: 0.64rem; font-weight: 800; }
.hl-scr-msg.is-me { align-self: flex-end; border-color: transparent; background: #2563eb; color: #ffffff; }
.hl-scr-compose { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-top: 1px solid var(--hl-line); color: var(--muted); }
.hl-scr-compose > span { flex: 1; padding: 6px 12px; border-radius: 999px; background: var(--hl-card-2); }
.hl-scr-compose > svg { width: 15px; height: 15px; }

/* Portfolio: the latest summary and homework, and each topic's bar */
.hl-scr-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px; align-items: center; gap: 8px; }
.hl-scr-bar > i { height: 7px; overflow: hidden; border-radius: 999px; background: var(--hl-track); }
.hl-scr-bar > i > b { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--accent); }
.hl-scr-bar > em { color: var(--muted); font-size: 0.7rem; font-style: normal; text-align: right; }
.hl-scr-graph { display: block; width: 100%; height: auto; overflow: visible; }
.hl-scr-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 0.7rem; }
.hl-scr-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.hl-scr-key { width: 13px; height: 13px; overflow: visible; }
.hl-scr :is(.hl-scr-graph, .hl-scr-key) * { stroke: none; }
.hl-scr .hl-scr-graph .g-grid { stroke: var(--hl-line); stroke-width: 1; }
.hl-scr .hl-scr-graph .g-area { fill: var(--accent); opacity: 0.12; }
.hl-scr .hl-scr-graph .g-line { stroke: var(--accent); stroke-width: 3; }
.hl-scr :is(.hl-scr-graph, .hl-scr-key) .g-session { fill: var(--accent); }
.hl-scr :is(.hl-scr-graph, .hl-scr-key) .g-star { fill: #facc15; stroke: var(--accent); stroke-width: 1.5; }
.hl-scr :is(.hl-scr-graph, .hl-scr-key) .g-daily { fill: var(--ok); }
.hl-scr :is(.hl-scr-graph, .hl-scr-key) .g-tick { stroke: #ffffff; stroke-width: 1.8; }
.hl-scr :is(.hl-scr-graph, .hl-scr-key) .g-game { fill: #8b5cf6; }
.hl-scr :is(.hl-scr-graph, .hl-scr-key) .g-dot { fill: #ffffff; }
.hl-scr-hw { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--hl-soft); }
.hl-scr-hw > b { padding-right: 24px; color: var(--hl-heading); }
.hl-scr .hl-scr-star { position: absolute; top: -8px; right: 8px; width: 22px; height: 22px; fill: #fbbf24; stroke: #f59e0b; stroke-width: 1.5; }

/* Booking: how to meet, the tutor's calendar, once or every week */
.hl-scr-opt { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid var(--hl-line); border-radius: 12px; }
.hl-scr-opt > svg { width: 18px; height: 18px; color: var(--accent); }
.hl-scr-opt > span { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.hl-scr-opt > span > b, .hl-scr-opt > b { color: var(--hl-heading); }
.hl-scr-opt > span > small { color: var(--muted); font-size: 0.68rem; }
.hl-scr-opt > b { font-size: 0.72rem; text-align: right; }
.hl-scr-opt > i { flex: 0 0 auto; width: 15px; height: 15px; border: 2px solid color-mix(in srgb, var(--muted) 60%, transparent); border-radius: 50%; }
.hl-scr-opt.is-on { border-color: var(--accent); background: var(--hl-soft); }
.hl-scr-opt.is-on > i { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 42%, transparent 46%); }
.hl-scr-cal { display: grid; grid-template-columns: 30px repeat(5, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--hl-line); border-radius: 10px; }
.hl-scr-cal > b { display: flex; flex-direction: column; align-items: center; padding: 4px 1px; color: var(--hl-heading); font-size: 0.66rem; line-height: 1.2; }
.hl-scr-cal > b > small { color: var(--muted); font-weight: 400; }
.hl-scr-cal > small { padding: 1px 4px 0 0; color: var(--muted); font-size: 0.58rem; text-align: right; white-space: nowrap; }
.hl-scr-cal > i { min-height: 20px; border-top: 1px solid var(--hl-line); border-left: 1px solid var(--hl-line); font-style: normal; }
.hl-scr-cal > i.is-busy { background: repeating-linear-gradient(135deg, var(--hl-track) 0 3px, transparent 3px 7px); }
.hl-scr-cal > i.is-pick { grid-row: span 2; display: grid; place-items: center; padding: 1px; background: var(--action-bg); color: var(--on-accent); font-size: 0.58rem; font-weight: 800; line-height: 1.15; text-align: center; }

/* Past sessions with what was paid, and the payment summary */
.hl-scr-paid { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 11px; border: 1px solid var(--hl-line); border-radius: 12px; background: var(--hl-card); }
.hl-scr-paid > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hl-scr-paid > span:last-child { flex: 0 0 auto; align-items: flex-end; }

@container (max-width: 559.98px) {
  .hl-scr .hl-scr-wide { display: none; }
  /* A short phone cuts the page off above the bottom bar, as a phone does. */
  .hl-scr-body { min-height: 0; overflow: hidden; }
  .hl-scr-top, .hl-scr-nav { flex: 0 0 auto; }
}
@container (min-width: 560px) {
  .hl-scr .hl-scr-narrow { display: none; }
  .hl-parent-card.hl-scr { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; min-height: 440px; font-size: 0.8rem; }
  .hl-scr-top { justify-content: flex-start; padding: 10px 8px 10px 16px; font-size: 0.9rem; }
  .hl-scr-nav { order: 0; align-items: center; justify-content: flex-end; padding: 8px 12px; border-top: 0; border-bottom: 1px solid var(--hl-line); }
  .hl-scr-tab { flex: 0 1 auto; flex-direction: row; gap: 5px; padding: 6px 10px; border-radius: 999px; font-size: 0.72rem; }
  .hl-scr-tab svg { width: 14px; height: 14px; }
  .hl-scr-body { grid-column: 1 / -1; gap: 12px; padding: 16px; }
  .hl-scr-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 12px; }
  .hl-scr-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-scr-panel { gap: 10px; padding: 14px; }
  .hl-scr-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hl-scr-chat { align-self: stretch; min-height: 320px; }
  .hl-scr-cal > i { min-height: 24px; }
}

/* 06 How it works: a line from step 1 to step 3, then what it costs */
.hl-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 8px 0 0; padding: 0; list-style: none; }
.hl-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 16.67%;
  right: 16.67%;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transform-origin: left center;
}
.hl-step { position: relative; min-width: 0; padding: 0 12px; text-align: center; }
.hl-step-n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 999px;
  border: 3px solid var(--accent);
  background: var(--accent);
  color: var(--surface);
  font-size: 1.25rem;
  font-weight: 800;
}
.hl-step h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; color: var(--hl-heading); }
.hl-step p { margin: 0; color: var(--muted); line-height: 1.55; }
.hl-costs-h { margin: 56px 0 16px; text-align: center; font-size: 1.3rem; font-weight: 800; color: var(--hl-heading); }
.hl-costs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hl-cost { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--hl-line); background: var(--surface); line-height: 1.5; }
.hl-cost svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; color: var(--accent); }

/* 07 For tutors */
.hl-teach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: center; }
.hl-teach .hl-head { margin-bottom: 28px; }
.hl-ticks { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hl-ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; line-height: 1.5; }
.hl-tick { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 999px; background: var(--hl-soft); color: var(--accent); }
.hl-tick svg { width: 16px; height: 16px; }
.hl-req-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.hl-req-dot { width: 10px; height: 10px; border-radius: 99px; background: var(--bad); }
.hl-req-name { margin: 10px 0 2px; font-size: 1.3rem; font-weight: 800; color: var(--hl-heading); }
.hl-req-meta { margin-bottom: 18px; color: var(--muted); }
.hl-req-btns { display: flex; gap: 10px; }
.hl-req-acc { flex: 1 1 auto; display: grid; place-items: center; min-height: 48px; border-radius: 12px; background: var(--ok); color: var(--hl-on-ok); font-weight: 700; }
.hl-req-acc > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; }
.hl-req-acc svg { width: 18px; height: 18px; }
.hl-req-acc-a { opacity: 0; }
.hl-req-dec { display: grid; place-items: center; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--border); font-weight: 700; }
.hl-req-cal { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--hl-soft); font-weight: 600; }
.hl-req-cal svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--accent); }

/* 08 Questions */
.hl-faq { max-width: 800px; margin: 0 auto; }
.hl-faq details { border-bottom: 1px solid var(--hl-line); }
.hl-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 1.1rem; font-weight: 700; color: var(--hl-heading); }
.hl-faq summary::-webkit-details-marker { display: none; }
.hl-faq summary::after { content: "+"; flex: 0 0 auto; color: var(--muted); font-size: 1.5rem; font-weight: 400; }
.hl-faq details[open] summary::after { content: "\2212"; }
.hl-faq summary:focus-visible { outline: 2px solid var(--focus-ring, var(--accent)); outline-offset: 2px; border-radius: 6px; }
.hl-faq p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }

/* Moving parts (homeOnPage.js adds .hl-motion only when motion is allowed):
   each plays once when it comes into view, from the state below to the one
   above; without the script, or with reduced motion, the final state shows. */
@keyframes hl-draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes hl-fade { from { opacity: 0; } }
@keyframes hl-area { from { opacity: 0; } to { opacity: 0.12; } }
@keyframes hl-pop { from { opacity: 0; scale: 0.2; } to { opacity: 1; scale: 1; } }
@keyframes hl-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hl-fill { from { width: 0; } }
@keyframes hl-homework-fill { from { width: 83%; } to { width: 100%; } }
@keyframes hl-homework-star { 0% { opacity: 0; transform: translate(-86px, 62px) rotate(-100deg) scale(0.25); } 70% { opacity: 1; transform: translate(4px, -6px) rotate(16deg) scale(1.25); } 100% { opacity: 1; transform: none; } }
@keyframes hl-bump { 40% { transform: scale(1.18); color: var(--accent); } }
@keyframes hl-grow-x { from { transform: scaleX(0); } }
@keyframes hl-grow-y { from { transform: scaleY(0); } }
@keyframes hl-step-on { from { background: var(--surface); color: var(--muted); } }
@keyframes hl-right { from { border-color: var(--border); background: transparent; } }
@keyframes hl-press { 50% { transform: scale(0.94); } }
@keyframes hl-ok { from { background: var(--action-bg); color: var(--on-accent); } }
@keyframes hl-out { to { opacity: 0; } }
@keyframes hl-in { from { opacity: 0; } to { opacity: 1; } }

/* Before a preview plays */
.hl-motion .hl-pv:not(.is-play) .hl-gline { stroke-dashoffset: 600; }
.hl-motion .hl-pv:not(.is-play) :is(.hl-area, .hl-garrow, .hl-mk, .hl-gain, .hl-badge, .hl-report-row, .hl-game) { opacity: 0; }
.hl-motion .hl-pv:not(.is-play) .hl-bar-fill { width: 0; }
.hl-motion .hl-pv:not(.is-play) .hl-choice.is-right { border-color: var(--border); background: transparent; }
.hl-motion .hl-pv:not(.is-play) .hl-choice.is-right svg { opacity: 0; }
/* Playing */
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-gline { animation: hl-draw 1.6s ease-out both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-area { animation: hl-area 0.8s 0.9s both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-mk { animation: hl-pop 0.35s calc(0.2s + var(--i) * 0.23s) both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-garrow { animation: hl-pop 0.35s 1.55s both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-gain { animation: hl-rise 0.4s calc(1.7s + var(--i) * 0.35s) both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-bar-fill { animation: hl-fill 1.2s 0.3s ease-out both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-badge { animation: hl-pop 0.35s 0.3s both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-choice.is-right { animation: hl-right 0.4s 0.6s both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-choice.is-right svg { animation: hl-in 0.3s 0.8s both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-report-row { animation: hl-rise 0.4s 1s both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-report-row:nth-of-type(3) { animation-delay: 1.15s; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-report-row:nth-of-type(4) { animation-delay: 1.3s; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-report-row:nth-of-type(5) { animation-delay: 1.45s; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-game { animation: hl-rise 0.45s both; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-game:nth-child(2) { animation-delay: 0.1s; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-game:nth-child(3) { animation-delay: 0.2s; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-game:nth-child(4) { animation-delay: 0.3s; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-game:nth-child(5) { animation-delay: 0.4s; }
.hl-motion .hl-pv.is-play:not(.is-instant) .hl-game:nth-child(6) { animation-delay: 0.5s; }
.hl-motion #hl-pv-homework:not(.is-play) .hl-hw-before { opacity: 1; }
.hl-motion #hl-pv-homework:not(.is-play) .hl-hw-after { opacity: 0; }
.hl-motion #hl-pv-homework:not(.is-play) .hl-homework-star { opacity: 0; }
.hl-motion #hl-pv-homework:not(.is-play) .hl-bar-fill { width: 83%; }
.hl-motion #hl-pv-homework.is-play:not(.is-instant) .hl-hw-before { animation: hl-out 0.25s 1.25s both; }
.hl-motion #hl-pv-homework.is-play:not(.is-instant) .hl-hw-after { animation: hl-in 0.25s 1.25s both; }
.hl-motion #hl-pv-homework.is-play:not(.is-instant) .hl-bar-fill { animation: hl-homework-fill 0.8s 0.45s ease-out both; }
.hl-motion #hl-pv-homework.is-play:not(.is-instant) .hl-homework-star { animation: hl-homework-star 0.75s 1.35s cubic-bezier(.2,.8,.2,1.1) both; }

/* Before a section comes into view */
.hl-motion #meet-students:not(.is-seen) .hl-story { opacity: 0; }
.hl-motion #meet-students.is-seen:not(.is-instant) .hl-story { animation: hl-rise 0.5s both; }
.hl-motion #meet-students.is-seen:not(.is-instant) .hl-story:nth-child(2) { animation-delay: 0.1s; }
.hl-motion #meet-students.is-seen:not(.is-instant) .hl-story:nth-child(3) { animation-delay: 0.2s; }
.hl-motion #meet-tutors:not(.is-seen) .hl-tcard { opacity: 0; }
.hl-motion #how-it-works:not(.is-seen) .hl-steps::before { transform: scaleX(0); }
.hl-motion #how-it-works:not(.is-seen) .hl-step-n { background: var(--surface); color: var(--muted); }
.hl-motion #for-tutors:not(.is-seen) .hl-req { opacity: 0; }
.hl-motion #for-tutors:not(.is-seen) .hl-req-acc { background: var(--action-bg); color: var(--on-accent); }
.hl-motion #for-tutors:not(.is-seen) .hl-req-acc-a { opacity: 1; }
.hl-motion #for-tutors:not(.is-seen) :is(.hl-req-acc-b, .hl-req-cal) { opacity: 0; }
/* Coming into view */
.hl-motion #meet-tutors.is-seen:not(.is-instant) .hl-tcard { animation: hl-rise 0.5s both; }
.hl-motion #meet-tutors.is-seen:not(.is-instant) .hl-tcard:nth-child(2) { animation-delay: 0.1s; }
.hl-motion #meet-tutors.is-seen:not(.is-instant) .hl-tcard:nth-child(3) { animation-delay: 0.2s; }
.hl-motion #meet-tutors.is-seen:not(.is-instant) .hl-tcard:nth-child(4) { animation-delay: 0.3s; }
.hl-motion #how-it-works.is-seen:not(.is-instant) .hl-steps::before { animation: hl-grow-x 1.2s 0.2s ease-out both; }
.hl-motion #how-it-works.is-seen:not(.is-instant) .hl-step:nth-child(1) .hl-step-n { animation: hl-step-on 0.3s 0.2s both; }
.hl-motion #how-it-works.is-seen:not(.is-instant) .hl-step:nth-child(2) .hl-step-n { animation: hl-step-on 0.3s 0.8s both; }
.hl-motion #how-it-works.is-seen:not(.is-instant) .hl-step:nth-child(3) .hl-step-n { animation: hl-step-on 0.3s 1.4s both; }
.hl-motion #for-tutors.is-seen:not(.is-instant) .hl-req { animation: hl-rise 0.5s 0.2s both; }
.hl-motion #for-tutors.is-seen:not(.is-instant) .hl-req-acc { animation: hl-press 0.3s 1.4s, hl-ok 0.3s 1.7s both; }
.hl-motion #for-tutors.is-seen:not(.is-instant) .hl-req-acc-a { animation: hl-out 0.25s 1.7s both; }
.hl-motion #for-tutors.is-seen:not(.is-instant) .hl-req-acc-b { animation: hl-in 0.25s 1.7s both; }
.hl-motion #for-tutors.is-seen:not(.is-instant) .hl-req-cal { animation: hl-rise 0.45s 2.2s both; }

/* 09 Final CTA */
.hl-cta { background: var(--hl-cta-bg); color: #ffffff; text-align: center; padding: 88px 0; }
[data-theme="dark"] .hl-cta { border-top: 1px solid var(--hl-line); }
.hl-cta .hl-eyebrow { color: #a5b4fc; }
.hl-cta .hl-h2 { color: #ffffff; }
.hl-cta .hl-lead { color: #c7d2fe; max-width: 720px; margin: 0 auto 32px; }

/* The sign-in window is sign-in-window.css (every page opens it). */

/* How It Works page */
.hl-page-hero { background: var(--hl-glow); padding: 80px 0 40px; text-align: center; }
.hl-page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hl-heading);
  text-wrap: balance;
}
.hl-seg {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--hl-line);
}
.hl-seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.hl-seg button[aria-selected="true"] { background: var(--surface); color: var(--hl-heading); box-shadow: var(--hl-shadow); }
.hl-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.hl-tl { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-bottom: 28px; }
.hl-tl:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: rgba(var(--accent-rgb), 0.25); }
.hl-tl-num {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--accent);
  border: 1.5px solid rgba(var(--accent-rgb), 0.4);
  font-weight: 800;
}
.hl-tl-body { min-width: 0; padding-top: 4px; }
.hl-tl-body h2, .hl-tl-body h3 { margin: 6px 0; font-size: 1.2rem; font-weight: 800; color: var(--hl-heading); }
.hl-tl-body p { margin: 0; color: var(--muted); line-height: 1.6; }
.hl-panel { max-width: 760px; margin: 12px auto 0; padding: 24px 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--hl-line); }
.hl-panel h3 { margin: 0 0 10px; color: var(--hl-heading); }
.hl-panel ul { margin: 0 0 14px; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.hl-panel a { color: var(--link); font-weight: 700; text-decoration: none; }
.hl-panel a:hover { text-decoration: underline; }

@media (min-width: 1024px) {
  .hl-tools { position: sticky; top: 80px; }
  .hl-parent-tools { position: sticky; top: 80px; }
  .hl-previews { display: flex; flex-direction: column; gap: 80px; }
  .hl-previews { min-height: 690px; }
  .hl-pv, .hl-pv.is-on { display: flex; flex-direction: column; scroll-margin-top: 96px; }
  .hl-pcard { flex: 0 0 620px; height: 620px; }
  .hl-pv-foot { display: flex; justify-content: flex-end; margin-top: 12px; }
  .hl-pv-foot .hl-tool-line { display: none; }
  #hl-pv-games .hl-games {
    grid-template-rows: repeat(3, minmax(0, 1fr));
    height: 100%;
  }
  #hl-pv-games .hl-game { padding: 13px 94px 13px 14px; }
  #hl-pv-games .hl-game-icon { width: 38px; height: 38px; margin-bottom: 2px; }
  #hl-pv-games .hl-game-icon svg { width: 21px; height: 21px; }
  #hl-pv-homework .hl-summary-visual {
    display: block;
    height: 210px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 16px;
  }
  #hl-pv-homework .hl-summary-visual svg { display: block; width: 100%; height: 100%; }
  #hl-pv-review .hl-review-visual {
    display: block;
    height: 210px;
    margin: 6px 0 14px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff1f2, #eff6ff);
  }
  [data-theme="dark"] #hl-pv-review .hl-review-visual { background: linear-gradient(145deg, #3f1723, #172554); }
  #hl-pv-review .hl-review-visual svg { display: block; width: 100%; height: 100%; }
}

@media (max-width: 1023px) {
  .hl-explorer { grid-template-columns: minmax(0, 1fr); }
  .hl-tools { display: none; }
  .hl-previews, .hl-parent-previews {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% - 44px);
    align-items: start;
    gap: 16px;
    min-height: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    touch-action: pan-y pinch-zoom;
  }
  .hl-previews::-webkit-scrollbar, .hl-parent-previews::-webkit-scrollbar { display: none; }
  .hl-previews.is-dragging, .hl-parent-previews.is-dragging { scroll-snap-type: none; scroll-behavior: auto; }
  .hl-pv, .hl-pv.is-on, .hl-parent-pv {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-height: calc(100dvh - 24px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .hl-pv-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
  .hl-pv-foot { display: flex; flex-direction: column; gap: 3px; margin-top: 9px; }
  .hl-game--desktop-extra { display: none; }
  .hl-pcard, .hl-parent-card { flex: 1 1 auto; }
  .hl-carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
  .hl-parent-explorer { grid-template-columns: minmax(0, 1fr); }
  .hl-parent-tools { display: none; position: static; }
  .hl-parent-pv-head { display: block; margin-bottom: 12px; }
  .hl-parent-pv-head h3 { margin: 0 0 4px; color: var(--hl-heading); font-size: 1.3rem; line-height: 1.15; }
  .hl-parent-pv-head p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.35; }
  .hl-parent-card { min-height: 0; padding: 18px; border-radius: 16px; }
  .hl-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-teach { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 860px) {
  .hl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-tutors { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .hl-sec, .hl-cta { padding: 60px 0; }
  .hl-hero { padding: 56px 0; }
  .hl-page-hero { padding: 56px 0 32px; }
  .hl-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hl-steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 3px; height: auto; transform-origin: center top; }
  .hl-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 0; text-align: left; }
  .hl-step-n { margin: 0; }
  .hl-motion #how-it-works:not(.is-seen) .hl-steps::before { transform: scaleY(0); }
  .hl-motion #how-it-works.is-seen:not(.is-instant) .hl-steps::before { animation-name: hl-grow-y; }
  .hl-costs { grid-template-columns: minmax(0, 1fr); }
  .hl-costs-h { text-align: left; }
  .hl-pgrid { grid-template-columns: minmax(0, 1fr); }

  /* The learning previews must fit as whole cards on a phone: use a compact,
     visual form with three representative games. */
  .hl-pv-head { justify-content: flex-end; min-height: 3.2em; gap: 0; margin-bottom: 8px; }
  .hl-pv-head .hl-tool-name { font-size: 1.3rem; line-height: 1.15; }
  .hl-pv-foot .hl-tool-line {
    display: -webkit-box;
    height: 2.6em;
    overflow: hidden;
    font-size: 0.85rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .hl-pcard { padding: 14px; border-radius: 16px; }
  .hl-pc-top { gap: 8px; margin-bottom: 4px; }
  .hl-pc-title { font-size: 1rem; }
  .hl-pc-meta { margin: 2px 0 10px; }
  .hl-medal { width: 34px; height: 34px; }
  .hl-gains { gap: 4px; min-height: 0; margin-bottom: 2px; }
  .hl-gain { padding: 2px 7px; font-size: 0.7rem; }
  .hl-graph { height: min(17dvh, 112px); }
  .hl-gx { font-size: 0.7rem; }
  .hl-legend { gap: 4px 10px; margin: 5px 0 8px; font-size: 0.72rem; }
  .hl-legend svg { width: 14px; height: 14px; }
  .hl-bars { gap: 6px; }
  .hl-bar-row { gap: 7px; font-size: 0.78rem; }
  .hl-bar { height: 7px; }
  .hl-minis { gap: 5px; margin-bottom: 10px; }
  .hl-mini { padding: 4px 9px; font-size: 0.75rem; }
  .hl-streak { gap: 7px; margin-bottom: 10px; padding: 9px 10px; font-size: 0.82rem; line-height: 1.3; }
  .hl-fake-btn { min-height: 40px; padding: 0 14px; font-size: 0.85rem; }
  #hl-pv-review .hl-pc-top, #hl-pv-review .hl-pc-meta, #hl-pv-review .hl-minis, #hl-pv-review .hl-streak { display: none; }
  .hl-review-time { display: block; margin: 0 0 7px; color: var(--hl-heading); font-size: 0.9rem; font-weight: 800; }
  .hl-review-visual { display: block; margin: 4px 0 8px; border-radius: 14px; overflow: hidden; background: linear-gradient(145deg, #fff1f2, #eff6ff); }
  [data-theme="dark"] .hl-review-visual { background: linear-gradient(145deg, #3f1723, #172554); }
  .hl-review-visual svg { display: block; width: 100%; height: min(24dvh, 170px); }
  .hl-review-prompt { display: flex; flex-direction: column; gap: 1px; margin: 0 0 8px; }
  .hl-review-prompt strong { color: var(--hl-heading); font-size: 0.95rem; }
  .hl-review-prompt span { color: var(--muted); font-size: 0.76rem; line-height: 1.3; }
  .hl-q { margin: 5px 0 9px; font-size: 1.05rem; }
  .hl-choices { gap: 6px; margin-bottom: 9px; }
  .hl-choice { padding: 8px 10px; font-size: 0.82rem; }
  .hl-report { gap: 3px; padding: 10px; }
  .hl-report-title { margin: 0; }
  .hl-report-row { gap: 5px; font-size: 0.78rem; line-height: 1.25; }
  #hl-pv-games .hl-games { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  #hl-pv-games .hl-game { min-height: 70px; padding: 8px 82px 8px 10px; }
  #hl-pv-games .hl-game-icon { display: none; }
  #hl-pv-games .hl-game-art { right: 7px; width: 72px; height: 72px; }
  #hl-pv-games .hl-game-tags { margin-top: 1px; }
  #hl-pv-games .hl-lvl { padding: 2px 7px; font-size: 0.7rem; }
  #hl-pv-games .hl-game-name { font-size: 0.85rem; }
  #hl-pv-games .hl-game-topic { font-size: 0.75rem; }
  .hl-summary-visual { display: block; margin-bottom: 9px; border-radius: 14px; overflow: hidden; }
  .hl-summary-visual svg { display: block; width: 100%; height: min(19dvh, 132px); }
  .hl-summary { margin: 5px 0 10px; font-size: 0.85rem; line-height: 1.35; }
  .hl-hw { margin-bottom: 9px; padding: 10px; }
}
@media (max-width: 520px) {
  .hl-wrap { padding: 0 16px; }
  .hl-btns .hl-btn, .hl-sec-cta .hl-btn { flex: 1 1 100%; }
  .hl-tiles { grid-template-columns: minmax(0, 1fr); padding: 8px; gap: 6px; }
  .hl-tile { padding: 14px 40px 14px 14px; }
  .hl-onpage-row { padding: 8px 0; }
  .hl-onpage-chip { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
  .hl-facts { gap: 8px; }
  .hl-fact { padding: 14px 12px; }
  .hl-fact-label { font-size: 0.85rem; }
  .hl-pcard { padding: 18px; }
  .hl-games { grid-template-columns: minmax(0, 1fr); }
  .hl-stories { grid-template-columns: minmax(0, 1fr); }
  .hl-bar-row { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 40px; font-size: 0.9rem; }
  .hl-report-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hl-gains { justify-content: flex-start; }
  .hl-tcard-body { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "photo info" "about about"; padding: 16px; column-gap: 14px; }
  .hl-tcard-photo { width: 84px; height: 100px; border-radius: 12px; }
  .hl-tcard-name { font-size: 1.15rem; }
  .hl-tl { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .hl-tl-num { width: 44px; height: 44px; }
  .hl-tl:not(:last-child)::before { left: 21px; top: 44px; }
  .hl-panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-tile, .hl-tcard, .hl-tile-arrow, .hl-onpage, .hl-onpage-chip, .hl-tool { transition: none; }
  .hl-tile:hover, .hl-tcard:hover { transform: none; }
}

/* The home page's main runs edge to edge; the "For you" cards keep their width. */
main.hl-main { width: 100%; padding: 0; }
main.hl-main > .hf { margin-top: 22px; }
