/*
 * gonglogic.com — the front page (HomePageController), rewritten 2026-10-25.
 *
 * A plain file like the library's, studio's and audio site's: the page's look changes
 * without rebuilding the shared theme. Everything is under `.home`, the page's own
 * wrapper, so nothing here can reach another page.
 *
 * ── HOW IT WINS AGAINST THE THEME
 *
 * This file is printed BEFORE main.css (controller requirements come first), so a tie
 * goes to the theme. The theme styles bare elements (h1, p, a, a:hover), so element
 * resets are `.home :where(h1)` (0,1,0, beating the theme's 0,0,1) and every component
 * is `.home .x` (0,2,0, beating `a:hover`'s 0,1,1).
 *
 * ── HOVER CHANGES PAINT ONLY
 *
 * A :hover rule here may change colour, background, border colour and shadow, never
 * size, padding, border width or weight: a control that grows under the pointer moves
 * the thing beside it. `check:read-hover` measures it.
 *
 * ── NO DARK MODE, ON PURPOSE
 *
 * The main site's theme has none (its header and footer are light paper and dark ink
 * whatever the system asks for), so a dark front page would sit between a light header
 * and every light page it links to on gonglogic.com. The Library has a real one.
 */

.home {
  /* The family's tokens (static/family/tokens.css) since phase C; these are the page's own names for them. */
  --page: var(--paper);
  --ink-3: var(--muted);
  --rule: var(--line);
  --rule-2: var(--line-2);
  --gold: var(--brand-gold);     /* the brand amber: fills and marks, never small text. Not --accent:
                                    that is the site's, and the email button reads it (main-hover, 2026-11-16). */
  --accent-ink: var(--brand-gold-ink);
  --accent-ink-2: var(--ink);
  --lit: rgba(236, 184, 58, 0.34);
  --cjk: 'PingFang SC', 'PingFang TC', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN',
    'Apple SD Gothic Neo', 'Noto Sans CJK SC', 'Noto Sans CJK JP', 'Noto Sans KR',
    'Microsoft YaHei', 'Malgun Gothic', system-ui, sans-serif;

  color: var(--ink);
  background: var(--page);
}

/* ── resets against the theme ─────────────────────────────────────────────── */

.home :where(h1, h2, h3, p, ul, ol, figure) {
  margin: 0;
}
.home :where(ul, ol) {
  list-style: none;
  padding: 0;
}
.home :where(h1, h2, h3) {
  color: var(--ink);
  font-family: var(--font-heading, 'Outfit', sans-serif);
}
.home :where(p) {
  font-size: 1rem;
  line-height: 1.6;
}

/* The shared header's width exactly (tokens.css), so the page's left edge lines up with the
   logo above it. */
.home .home-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── links and buttons ─────────────────────────────────────────────────────── */

.home .home-link,
.home .home-link:hover {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.home .home-link {
  color: var(--accent-ink);
  text-decoration-color: transparent;
}
.home .home-link:hover,
.home .home-link:focus-visible {
  color: var(--accent-ink-2);
  text-decoration-color: currentColor;
}

.home .home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.home .home-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: 600 1rem/1 var(--font-ui);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.home .home-btn--primary,
.home .home-btn--primary:hover {
  color: var(--paper);
}
.home .home-btn--primary {
  background: var(--ink);
  border-color: var(--ink);
}
.home .home-btn--primary:hover,
.home .home-btn--primary:focus-visible {
  background: #2f2d33;
  border-color: #2f2d33;
}
.home .home-btn--ghost,
.home .home-btn--ghost:hover {
  color: var(--ink);
}
.home .home-btn--ghost {
  background: transparent;
  border-color: var(--rule-2);
}
.home .home-btn--ghost:hover,
.home .home-btn--ghost:focus-visible {
  background: var(--surface);
  border-color: var(--ink);
}

/* ── the hero: one line, so the pictures are in the first screen (2026-11-16) ──── */

.home .home-hero {
  padding: 1.25rem 0 1rem;
}
@media (min-width: 48rem) {
  .home .home-hero {
    padding: 2.25rem 0 1.5rem;
  }
}
.home .home-hero__title {
  font-family: var(--font-text);
  font-size: clamp(1.625rem, 4.2vw, var(--fs-7));
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

/* ── the tiles: a picture of each site, each tile one link ──────────────────────
   A phone: the first tile across, then two columns, so all five are in the first screen. A wider
   screen: three columns, the first tile two wide. The pictures have a fixed height per row and are
   cropped to it (object-fit), so a tile never waits on its image for its size. */

.home .home-tiles {
  padding: 0 0 1.5rem;
}
.home .home-tiles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin: 0 auto;
  list-style: none;
}
.home .home-tiles__item {
  display: flex;
  min-width: 0;
  margin: 0;
}
.home .home-tiles__item:first-child {
  grid-column: span 2;
}
@media (min-width: 48rem) {
  .home .home-tiles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}
.home .home-tile,
.home .home-tile:hover {
  color: var(--ink);
  text-decoration: none;
}
.home .home-tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.home .home-tile:hover {
  border-color: var(--rule-2);
  box-shadow: var(--shadow-2);
}
.home .home-tile:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 2px;
}
.home .home-tile__pic {
  position: relative;
  display: block;
  height: 7.5rem;
  overflow: hidden;
  background: var(--surface-2);
}
.home .home-tiles__item:first-child .home-tile__pic {
  height: 10rem;
}
@media (min-width: 48rem) {
  .home .home-tile__pic,
  .home .home-tiles__item:first-child .home-tile__pic {
    height: clamp(11rem, 16vw, 14.5rem);
  }
}
.home .home-tile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Music: the opening bars on score paper, whole. In dark, the paper turns over with the page. */
.home .home-tile--music .home-tile__pic {
  background: #fbf9f4;
}
.home .home-tile--music .home-tile__img {
  object-fit: contain;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
}
:root[data-scheme="dark"] .home .home-tile--music .home-tile__pic {
  background: var(--surface-2);
}
:root[data-scheme="dark"] .home .home-tile--music .home-tile__img {
  filter: invert(0.92);
}
/* Games: pixel art stays pixels. */
.home .home-tile--games .home-tile__img {
  image-rendering: pixelated;
}
/* Audio: a play button drawn on the cover; the tile is the link. */
.home .home-tile__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #18171c;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.home .home-tile__play svg {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  margin-left: 0.15rem;
  fill: currentColor;
}
/* Shop: two carol sets' first pages, fanned on the desk. */
.home .home-tile--shop .home-tile__pic {
  background: #e8e1d2;
}
:root[data-scheme="dark"] .home .home-tile--shop .home-tile__pic {
  background: #2a2721;
}
.home .home-tile__cover {
  position: absolute;
  top: 10%;
  left: 50%;
  width: auto;
  height: 105%;
  aspect-ratio: 240 / 310;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transform: translateX(-85%) rotate(-6deg);
}
.home .home-tile__cover + .home-tile__cover {
  transform: translateX(-15%) rotate(5deg);
}
.home .home-tile__say {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.75rem 0.7rem;
}
@media (min-width: 48rem) {
  .home .home-tile__say {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    padding: 0.8rem 1rem 0.9rem;
  }
}
.home .home-tile__label {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
@media (min-width: 48rem) {
  .home .home-tile__label {
    font-size: var(--fs-4);
  }
}
.home .home-tile__go {
  font: 600 0.8125rem/1.3 var(--font-ui);
  color: var(--accent-ink);
}
@media (min-width: 48rem) {
  .home .home-tile__go {
    font-size: 0.9375rem;
  }
}
.home .home-tile:hover .home-tile__go {
  color: var(--ink);
}

/* ── today, as compact rows ──────────────────────────────────────────────────── */

.home .home-today {
  padding: 1rem 0 1rem;
}
@media (min-width: 48rem) {
  .home .home-today {
    padding-bottom: 2rem;
  }
}
.home .home-today__title {
  margin-bottom: 0.75rem;
  font-family: var(--font-text);
  font-size: var(--fs-5);
  font-weight: 600;
  line-height: 1.2;
}
.home .home-rows {
  display: grid;
  gap: 0.625rem;
}
@media (min-width: 64rem) {
  .home .home-rows {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-auto-flow: dense;
    gap: 0.75rem 1rem;
  }
  .home .home-rows .home-demo {
    grid-column: 1;
    grid-row: span 3;
  }
  .home .home-rows .home-row--piece,
  .home .home-rows .home-row--pack,
  .home .home-rows .home-row--game {
    grid-column: 2;
  }
}
.home .home-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-width: 0;
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-m);
}
.home .home-row__main,
.home .home-row__main:hover {
  color: var(--ink);
  text-decoration: none;
}
.home .home-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.home .home-row__main:hover .home-row__name {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.home .home-row__label {
  font: 600 0.75rem/1.2 var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.home .home-row__name {
  font-family: var(--font-text);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.home .home-row__sub {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink-2);
}
/* On a phone a row is its name and its link: the line about the game and the pack's tagline are a
   wider screen's (the tiles above already say what each site is). */
@media (max-width: 47.9375rem) {
  .home .home-row--game .home-row__line,
  .home .home-row--pack .home-row__sub {
    display: none;
  }
  .home .home-topic {
    font-size: 0.8125rem;
  }
  .home .home-topics__list {
    gap: 0.3rem;
  }
}
.home .home-row__where {
  font-weight: 600;
  color: var(--accent-ink);
  white-space: nowrap;
}
.home .home-row .home-tags {
  margin: 0;
}
.home .home-pack__name,
.home .home-pack__name:hover {
  color: var(--ink);
  text-decoration: none;
}
.home .home-pack__name:hover {
  text-decoration: underline;
}
/* A link on its own line is a tap target: 24px at least (site-basics). The padding is taken back by
   the margin, so nothing around it moves. */
.home a.home-pack__name {
  display: inline-block;
  padding-block: 3px;
  margin-block: -3px;
}
.home .home-row--pack .home-pack__cover {
  width: 3.5rem;
  height: 3.5rem;
}
.home .home-row--pack .home-player {
  flex: 0 1 auto;
}
.home .home-player:has(.home-player__frame) {
  flex: 1 1 100%;
}
.home .home-player__frame {
  display: block;
  width: 100%;
  height: 166px;
  border: 0;
  border-radius: var(--radius-s);
}
.home .home-player__frame--video {
  height: auto;
  aspect-ratio: 16 / 9;
}
/* The story line in its row: one line, at a size a one-character word can still be tapped at (24px). */
.home .home-rows .home-demo {
  display: block;
  box-shadow: none;
  padding: 0.75rem 0.9rem 0.8rem;
}
.home .home-rows .home-demo__cap {
  margin-bottom: 0.4rem;
}
.home .home-rows .home-demo__source {
  font-size: 1.45rem;
}
.home .home-rows .home-demo__card {
  margin-top: 0.6rem;
  min-height: 0;
  padding: 0.6rem 0.85rem;
}
.home .home-rows .home-demo__try {
  margin-top: 0.5rem;
}

/* ── the word lists, by language ─────────────────────────────────────────────── */

.home .home-topics {
  margin-top: 2.25rem;
}
.home .home-topics__groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1rem 1.5rem;
}
.home .home-topics__lang {
  margin-bottom: 0.5rem;
  font-size: var(--fs-3);
  font-weight: 600;
}
.home .home-topics__lang a,
.home .home-topics__lang a:hover {
  color: var(--ink);
}
.home .home-topics__lang a:hover {
  text-decoration: underline;
}
.home .home-topics__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.home .home-topic,
.home .home-topic:hover {
  color: var(--ink);
  text-decoration: none;
}
.home .home-topic {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  padding: 0 0.75rem;
  background: var(--surface);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
}
.home .home-topic:hover,
.home .home-topic:focus-visible {
  border-color: var(--ink-3);
  background: var(--surface-2);
}
.home .home-topic__n {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.home .email-signup {
  margin: 0;
}

/* ── the demonstration ─────────────────────────────────────────────────────── */

.home .home-demo {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 1.1rem;
  box-shadow: var(--shadow-2);
  padding: 1.1rem 1.1rem 1rem;
  min-width: 0;
}
@media (min-width: 48rem) {
  .home .home-demo {
    padding: 1.5rem 1.6rem 1.25rem;
  }
}
.home .home-demo__cap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-bottom: 0.9rem;
}
.home .home-demo__lang {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.home .home-demo__title {
  color: var(--ink-2);
}
.home .home-demo__lines {
  display: grid;
  gap: 0.9rem;
}
.home .home-demo__source {
  font-family: var(--cjk);
  font-size: 1.4rem;
  line-height: 2.1;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.home .home-demo__source:lang(it),
.home .home-demo__source:lang(fr),
.home .home-demo__source:lang(de),
.home .home-demo__source:lang(es) {
  font-family: Georgia, 'Iowan Old Style', serif;
  line-height: 1.6;
}
@media (min-width: 48rem) {
  .home .home-demo__source {
    font-size: 1.55rem;
  }
}
.home .home-demo__source rt {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 0.42em;
  /* As strong as the word: the tint behind a lit word cost a lighter ink its contrast. */
  color: var(--ink);
  letter-spacing: 0;
}
.home .home-demo__english {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.home .home-word {
  font: inherit;
  color: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0 0.04em;
  border: 0;
  border-bottom: 2px dotted rgba(138, 94, 13, 0.45);
  border-radius: 0.2em 0.2em 0 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}
/* A word is never split across two lines (2026-11-16): Korean breaks between syllables, so on a
   phone 찾더니 ran from the end of one line to the start of the next, and a tap on the middle of its
   box landed between the lines (home-front). */
.home .home-word {
  white-space: nowrap;
}
.home .home-word--plain {
  border-bottom-color: transparent;
  cursor: auto;
}
.home .home-word[role="button"]:hover {
  background: var(--surface-2);
  border-bottom-color: var(--accent-ink);
}
.home .home-word--on,
.home .home-word--on[role="button"]:hover {
  background: var(--lit);
  border-bottom-color: var(--accent-ink);
}

.home .home-demo__card {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  background: var(--ink);
  color: #f4eee2;
  min-height: 4.5rem;
}
.home .home-demo__word {
  display: inline;
  font-family: var(--cjk);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fffdf8;
}
.home .home-demo__reading {
  display: inline;
  margin-left: 0.5rem;
  font-size: 0.9rem;
  color: #d3c8ac;
}
.home .home-demo__def {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #e6dcc6;
}
.home .home-demo__try {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

/* ── sections ──────────────────────────────────────────────────────────────── */

.home .home-section {
  padding: 2rem 0;
}
/* Laid out only as they near the screen: the first layout was most of a slow phone's
   long-task time (site-vitals, 2026-11-14), and on a phone every section is under the hero.
   `auto` keeps each one's real height once drawn; 800px is the guess until then. This sheet
   is the home page's alone, so the footer rule touches no other page. */
.home .home-section,
.footer { content-visibility: auto; contain-intrinsic-size: auto 800px; }
/* 4rem, not more: with a card's own padding above and a heading's below, two of these
   meeting make the widest gap on the page, and check:read-layout holds that under 160px. */
@media (min-width: 48rem) {
  .home .home-section {
    padding: 4rem 0;
  }
}
.home .home-section--band {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.home .home-section--last {
  border-bottom: 0;
}

.home .home-head {
  margin-bottom: 1rem;
}
@media (min-width: 48rem) {
  .home .home-head {
    margin-bottom: 1.75rem;
  }
}
.home .home-head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem 2rem;
}
.home .home-head__title {
  font-size: clamp(var(--fs-5), 3vw, var(--fs-6));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.home .home-head__note {
  margin-top: 0.35rem;
  max-width: 44rem;
  color: var(--ink-2);
}
.home .home-more {
  margin-top: 1.25rem;
}

/* ── tags and the pack row ─────────────────────────────────────────────────────── */

.home .home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.home .home-tag,
.home .home-tag:hover {
  color: var(--ink);
  text-decoration: none;
}

.home .home-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  font-size: 0.85rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.home .home-tag:hover,
.home .home-tag:focus-visible {
  background: var(--surface-2);
  border-color: var(--gold);
}

.home .home-tag__n {
  color: var(--ink-3);
  font-size: 0.8rem;
}

.home .home-pack {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.home .home-pack__cover {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.6rem;
  object-fit: cover;
  background: var(--surface-2);
}

.home .home-pack__say {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.home .home-pack__name {
  font-weight: 700;
}

.home .home-pack__tagline {
  font-size: 0.9rem;
  color: var(--ink-2);
}

.home .home-pack__facts {
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* ── today's words ─────────────────────────────────────────────────────────── */

.home .home-words {
  display: grid;
  /* Two across on a phone (2026-11-16): one card a row made the words a 950px column. */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
  gap: 0.5rem;
}
@media (min-width: 48rem) {
  .home .home-words {
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    gap: 0.75rem;
  }
}
.home .home-wordcard,
.home .home-wordcard:hover {
  color: var(--ink);
  text-decoration: none;
}
.home .home-wordcard {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  height: 100%;
  padding: 0.7rem 0.8rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.home .home-wordcard:hover,
.home .home-wordcard:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow-2);
}
.home .home-wordcard__lang {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.home .home-wordcard__word {
  margin-top: 0.2rem;
  font-family: var(--font-sans, 'Inter', sans-serif), var(--cjk);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.home .home-wordcard__reading {
  font-size: 0.85rem;
  color: var(--ink-3);
  overflow-wrap: anywhere;
}
.home .home-wordcard__meaning {
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ── DARK (the family bar's Light · Dark · Auto, 2026-10-25) ──────────────────────
   Every colour above is a token, so dark is these values; the two hard-coded spots are
   the primary button's hover and the demo's definition card, which stays a dark panel. */
:root[data-scheme="dark"] .home {
  --lit: rgba(214, 166, 70, 0.3);
}
:root[data-scheme="dark"] .home .home-btn--primary:hover,
:root[data-scheme="dark"] .home .home-btn--primary:focus-visible { background: #fff6e2; border-color: #fff6e2; }
:root[data-scheme="dark"] .home .home-demo__card { background: #2c2924; }

/* A thumb needs 24px each way (WCAG 2.2 AA; npm run check:site-basics). The padding is taken back
   by the margin, so a link grows and nothing around it moves. */
.home .home-link {
  display: inline-block;
  padding-block: 4px;
  margin-block: -4px;
}
