/* Bestie Squad — site styles. Builds on tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
img, svg { max-width: 100%; display: block; }

/* ---- layout ---- */
.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--content); }
section { padding-block: var(--sec-major); }
section + section { padding-top: 0; }
.section-tight + section { padding-top: 0; }

.invert {
  background: var(--ink);
  color: var(--bg);
}
.invert .mute { color: #C9C9C9; }
.invert .eyebrow--pill { background: var(--yellow); color: var(--ink); }

/* Sections that carry their own ground need full padding on both sides —
   the `section + section { padding-top: 0 }` collapse above is only meant
   for consecutive sections sharing the cream ground. */
section.invert,
section.band,
section.section--letter,
section.section--signup { padding-block: var(--sec-major); }

/* ---- checkerboard ---- */
.checker {
  height: 30px;
  background-color: var(--bg);
  background-image:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%),
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}
@media (max-width: 600px) {
  .checker { height: 20px; background-size: 20px 20px; background-position: 0 0, 10px 10px; }
}

/* ---- nav ----
   Structural reference: SPI floats its nav links in a white rounded
   pill on the cream ground, with the CTA sitting outside it. */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; row-gap: var(--s-3);
  gap: var(--s-3); padding-block: var(--s-4);
}
.brand { display: flex; align-items: center; gap: var(--s-2); text-decoration: none; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__word { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }

.nav__pill {
  display: flex; align-items: center; gap: var(--s-4);
  background: var(--surface); border: 1.5px solid var(--hairline);
  border-radius: var(--r-pill); padding: 10px 24px;
}
.nav__pill a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.nav__pill a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .nav__pill { gap: var(--s-3); padding: 8px 18px; }
  .nav__label { display: none; }
}
@media (max-width: 560px) {
  .nav { justify-content: flex-start; }
  .nav__pill { order: 3; width: 100%; justify-content: center; }
}

/* ---- typography ---- */
h1, h2, h3 { margin: 0 0 0.35em; }
h1 { font-family: var(--display); font-size: var(--fs-h1); line-height: var(--lh-display); letter-spacing: var(--ls-display); text-transform: uppercase; text-wrap: balance; }
h2 { font-family: var(--display); font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
h3 { font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--mute); max-width: 34ch; }
.invert .lede { color: #D8D8D8; }
a { color: inherit; }
.mute { color: var(--mute); }

/* ---- eyebrow ---- */
.eyebrow { font-family: var(--body); font-weight: 700; font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.eyebrow--pill { display: inline-block; background: var(--yellow); color: var(--ink); padding: 5px 14px; border-radius: var(--r-pill); margin-bottom: var(--s-4); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 0.875rem; letter-spacing: 0.06em;
  padding: 16px 32px; border-radius: var(--r-pill); border: var(--border);
  background: var(--yellow); color: var(--ink); text-decoration: none; cursor: pointer;
}
.btn--ghost { background: transparent; }
.invert .btn--ghost { border-color: var(--bg); color: var(--bg); }
/* Smaller button for inside cards. Still clears the 44px touch floor
   (14px font + 14px padding top/bottom + 2.5px borders ≈ 48px). */
.btn--sm { padding: 14px 24px; font-size: 0.8rem; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.invert .btn:focus-visible { outline-color: var(--bg); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---- card ----
   Reference: SPI keeps its cards on a thin, quiet border with no shadow.
   The heavy border + hard offset shadow is reserved for exactly one
   surface on this site: the pricing card (.price-card, below) — the
   single place that treatment is meant to grab the eye. */
.card {
  background: var(--surface); border: 1.5px solid var(--hairline);
  border-radius: var(--r-card); padding: var(--s-4);
  /* Explicitly cancels the offset shadow tokens.css puts on .card — that
     treatment belongs to .price-card only. Without this line every card on
     the site inherits it, which is the "over-decorated" look SPI avoids. */
  box-shadow: none;
}
.card--flat { box-shadow: none; }

/* ---- hero ----
   Reference: SPI's hero is left-aligned and asymmetric — headline and
   one CTA on the left, a visual occupying its own column on the right.
   Base .hero below is the shared, left-aligned foundation every page's
   hero uses; .hero--split (homepage only) adds the two-column grid. */
.hero { padding-top: var(--s-6); }
.hero h1 { max-width: 18ch; }
.hero .lede { max-width: 46ch; }
.hero .btn-row { margin-top: var(--s-5); }

.hero--split .hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s-6); align-items: center;
}
.hero--split .hero__copy h1 { max-width: 14ch; }
/* Reversed split (apply page): photo first in the grid, given less
   width, copy second and given more. Placed before the 860px collapse
   below so mobile still gets the single-column layout. */
.hero--split .hero__grid--reverse { grid-template-columns: 0.85fr 1.15fr; }
@media (max-width: 860px) {
  .hero--split .hero__grid { grid-template-columns: 1fr; }
  .hero--split .hero__visual { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
}
/* Hero photograph. The soft coral ground shows through if the image is
   missing, so the slot reads as intentional rather than broken. */
.hero__photo {
  margin: 0; overflow: hidden;
  /* 2:3 matches the source photo's native ratio (1023×1537), so nothing
     is cropped and the photo column lands close to the copy column's
     height. A differently-shaped replacement will crop from the bottom
     via object-position below rather than distort. */
  aspect-ratio: 2 / 3;
  background: var(--coral-soft);
  border: 1.5px solid var(--hairline);
  border-radius: var(--r-card);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---- connection types / pathway cards ----
   Reference: SPI's "Get Started" grid — each tile is its own path and
   carries its own CTA, rather than the whole card being one link. */
.types-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .types-grid { grid-template-columns: 1fr; } }
.type-card {
  display: flex; flex-direction: column; align-items: center;
  color: var(--ink); text-align: center;
  padding: var(--s-4); border-radius: var(--r-card);
}
.type-card__icon { width: 56px; height: 56px; margin: 0 auto var(--s-2); }
.type-card__name { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; margin-bottom: 4px; }
.type-card__body { font-size: 0.9rem; color: var(--mute); flex: 1; margin-bottom: var(--s-4); }
.type-card--spark  { background: var(--coral-soft); }
.type-card--beam   { background: var(--yellow-soft); }
.type-card--glow   { background: var(--violet-soft); }
.type-card--flame  { background: var(--coral-soft); }

/* ---- testimonial ---- */
.testimonial { display: grid; grid-template-columns: 220px 1fr; gap: var(--s-5); align-items: center; }
@media (max-width: 640px) { .testimonial { grid-template-columns: 1fr; } }
.testimonial__avatar { width: 100%; aspect-ratio: 1; border-radius: var(--r-card); border: 1.5px solid var(--hairline); background: var(--yellow-soft); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 2.5rem; overflow: hidden; }
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__stars { color: var(--yellow); letter-spacing: 2px; margin-bottom: var(--s-1); }
.testimonial blockquote { margin: 0 0 var(--s-2); font-weight: 700; font-size: 1.15rem; line-height: 1.4; }
.testimonial cite { font-style: normal; color: var(--mute); font-size: 0.9rem; }

/* ---- two/three col ---- */
.grid-2 { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---- footer ---- */
footer { padding-block: var(--s-5); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); align-items: center; }
.footer__links { display: flex; gap: var(--s-4); list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer__links a { text-decoration: none; font-size: 0.9rem; color: var(--mute); }
.footer__fine { font-size: 0.8rem; color: var(--mute-light); margin-top: var(--s-4); }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--hairline); padding-block: var(--s-4); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-item summary { font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s-3); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--display); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: var(--s-3); color: var(--mute); }

/* ---- pricing ---- */
.price-card { background: var(--surface); color: var(--ink); border-radius: var(--r-card); border: var(--border); padding: var(--s-5); text-align: center; box-shadow: var(--shadow); max-width: 380px; margin-inline: auto; }
.price-card__amount { font-family: var(--display); font-size: 3rem; margin-bottom: 0; }
.price-card__period { color: var(--mute); font-size: 0.95rem; margin-bottom: var(--s-4); }
.price-card ul { text-align: left; padding-left: 1.1em; margin: 0 0 var(--s-4); }
.price-card li { margin-bottom: 0.5em; }

/* ---- article (roadmap) ---- */
.article h2 { font-size: var(--fs-h2); margin-top: var(--s-6); }
.article h2.cta-interrupt { font-size: var(--fs-h1); }
.article p { font-size: var(--fs-lead); line-height: var(--lh-body); }
.toc { background: var(--yellow-soft); border: 1.5px solid var(--hairline); border-radius: var(--r-card); padding: var(--s-4); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 0.4em; }

/* ---- letter ---- */
.letter { font-size: var(--fs-lead); line-height: 1.6; }
.letter .signoff { font-style: italic; margin-top: var(--s-4); }

.kill-quote { font-family: var(--display); font-size: var(--fs-h3); text-transform: uppercase; text-align: center; max-width: 20ch; margin-inline: auto; }

/* ---- testimonial stack ----
   Reference: SPI stacks two proof cards immediately after its agitation
   band, before any pitch. */
.testimonial-stack { display: grid; gap: var(--s-4); }

/* ---- accent band ----
   Reference: SPI's coral community block — copy left, visual right, one
   CTA. Accent grounds take BLACK text only (see CLAUDE.md). */
.band { background: var(--coral-soft); border-block: 1.5px solid var(--hairline); }
.band--coral { background: var(--coral-soft); }
.band .lede, .band .mute { color: var(--ink); }
.band__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-6); align-items: center; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }
.band__caption { font-size: 0.85rem; color: var(--mute); margin-top: var(--s-3); text-align: center; }

.stars { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-4); }
.stars span[aria-hidden] { color: var(--yellow); letter-spacing: 2px; -webkit-text-stroke: 0.5px var(--ink); }
.stars__label { font-size: 0.9rem; font-weight: 700; }

/* The recurring-slot motif: the repetition IS the point. */
.squad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.squad-grid__cell {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--ink); border-radius: var(--r-card);
  background: var(--surface); font-family: var(--display);
  font-size: 0.8rem; line-height: 1.2; text-align: center; text-transform: uppercase;
}
.squad-grid__cell--on { background: var(--yellow); }

/* ---- roadmap steps (the method diagram) ----
   Reference: SPI gives its named framework an actual visual. Built in
   HTML/CSS rather than one wide SVG so it reflows on small screens. */
.roadmap-steps {
  position: relative; list-style: none; padding: 0;
  margin: var(--s-5) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
/* Three-step variant (the apply-page funnel). Placed before the media
   queries below so the 820px/520px collapse still applies to it. */
.roadmap-steps--3 { grid-template-columns: repeat(3, 1fr); }
.roadmap-steps::before {
  content: ""; position: absolute; top: 26px; left: 0; right: 0;
  height: 2.5px; background: var(--ink); opacity: 0.14;
}
@media (max-width: 820px) {
  .roadmap-steps { grid-template-columns: repeat(2, 1fr); }
  .roadmap-steps::before { display: none; }
}
@media (max-width: 520px) { .roadmap-steps { grid-template-columns: 1fr; } }
.roadmap-step__num {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--yellow); border: var(--border);
  font-family: var(--display); font-size: 1.25rem;
  margin-bottom: var(--s-3);
}
.roadmap-step h3 { margin-bottom: 0.35em; }
.roadmap-step p { font-size: 0.95rem; }

/* ---- what changes (contrast grid) ----
   Reference: SPI's dark "here's what changes" 3×2 block. */
.change-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, 1fr); margin-top: var(--s-5); }
@media (max-width: 860px) { .change-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .change-grid { grid-template-columns: 1fr; } }
.change-card {
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-card); padding: var(--s-4);
}
/* One plain statement per card. The earlier `__from` / `__to` pair built a
   "Stop X / Start Y" antithesis, which the voice guide bans, so the pair
   was collapsed into a single line. */
.change-card__line { font-weight: 700; font-size: 1.05rem; line-height: 1.35; margin: 0; }
.change-card__line::before { content: "→ "; color: var(--yellow); }

/* ---- letter + signup grounds ---- */
.section--letter { background: var(--surface); border-block: 1px solid var(--hairline); }
.section--signup { background: var(--yellow-soft); border-block: 1.5px solid var(--hairline); }

/* ---- signup form ----
   NOTE: no backend is wired up. See CLAUDE.md open items. */
.signup { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: flex-end; margin-top: var(--s-5); }
.signup__field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.signup__label { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.signup input {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; min-height: 50px; width: 100%;
  background: var(--surface); border: 1.5px solid var(--ink);
  border-radius: var(--r-card);
}
.signup input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.signup__fine { font-size: 0.85rem; color: var(--mute); margin-top: var(--s-3); }

/* ---- fat footer ----
   Reference: SPI's multi-column footer. */
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-5); }
@media (max-width: 640px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__blurb { font-size: 0.9rem; color: var(--mute); max-width: 34ch; margin-top: var(--s-3); }
.footer__coltitle { font-family: var(--body); font-weight: 700; font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; margin-bottom: var(--s-3); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.footer__col a { text-decoration: none; font-size: 0.9rem; color: var(--mute); }
.footer__col a:hover { color: var(--ink); text-decoration: underline; }

/* ---- inline headline highlight ----
   Word-level accent behind a headline term. Accent grounds take BLACK
   text only (see CLAUDE.md) — never pair this with white type. */
.hl { padding: 0 6px; border-radius: 4px; }
.hl--yellow { background: var(--yellow); }
.hl--coral { background: var(--coral); }

/* ---- check list ----
   A short list of relatable pain points, each with a circled check —
   used on the apply page's agitation band. */
.check-list { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-4); }
.check-list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.check-list__mark {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); border: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 0.9rem;
}

/* ---- worth tag ----
   Small pill used on a value-stack card to show what it's "worth". */
.worth-tag { display: inline-block; background: var(--yellow-soft); border: 1.5px solid var(--hairline); border-radius: var(--r-pill); padding: 4px 14px; font-size: 0.8rem; font-weight: 700; margin-top: var(--s-2); }

/* ---- icon-check ----
   Small circled checkmark badge, used atop value-stack cards. */
.icon-check {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-3); border: 1.5px solid var(--hairline);
  font-family: var(--display); font-size: 1.1rem;
}
.icon-check--coral  { background: var(--coral-soft); }
.icon-check--yellow { background: var(--yellow-soft); }
.icon-check--violet { background: var(--violet-soft); }

/* ---- generic photo frame ----
   Same fallback pattern as .hero__photo (the accent ground shows through
   if the image is missing, so an empty slot reads as intentional rather
   than broken) but for slots that aren't the hero's fixed 2:3 shape. */
.photo-frame {
  margin: 0; overflow: hidden; border: 1.5px solid var(--hairline);
  border-radius: var(--r-card); background: var(--coral-soft);
  aspect-ratio: 4 / 3;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo-frame--square { aspect-ratio: 1; max-width: 340px; }
.photo-frame--portrait { aspect-ratio: 3 / 4; }
/* Stretches to match a taller sibling in a two-column .band__grid row
   (grid rows size to their tallest item; align-items:stretch, set on the
   grid itself, makes the shorter item fill that height). Below 860px the
   grid collapses to one column, so there's no row height to match —
   falls back to a plain aspect-ratio there instead. */
.photo-frame--fill { height: 100%; aspect-ratio: auto; }
@media (max-width: 860px) {
  .photo-frame--fill { height: auto; aspect-ratio: 1; }
}

/* ---- how we show up (in person + online) ----
   Three photo-led cards for the in-person formats, then a panel for the
   online space. The online half is deliberately NOT photographed:
   screenshotting real members' posts would undercut the safety the copy
   is describing. */
.showup-grid {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--s-5);
}
@media (max-width: 860px) { .showup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .showup-grid { grid-template-columns: 1fr; } }
.showup-card h3 { margin-top: var(--s-3); margin-bottom: 0.35em; }
.showup-card p { font-size: 0.95rem; color: var(--mute); margin: 0; }

/* Accent ground, so black text only (see the accessibility rule in
   CLAUDE.md). Verified: ink on --violet-soft is 15.9:1. */
.online-panel {
  margin-top: var(--s-6);
  background: var(--violet-soft);
  border: 1.5px solid var(--hairline);
  border-radius: var(--r-card);
  padding: var(--s-5);
  max-width: 760px;
}
.online-panel h3 {
  font-family: var(--display); font-size: var(--fs-h3);
  text-transform: uppercase; letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}
.online-panel p { color: var(--ink); margin: 0; max-width: 58ch; }
/* On a coral band, the coral-soft fallback is invisible against its own
   background — swap to white so an empty slot still reads as a card. */
.band--coral .photo-frame { background: var(--surface); }

/* ---- price grid ----
   Two .price-card siblings side by side (monthly / annual). Each card
   keeps the heavy border + shadow treatment — both are equally
   CTA-adjacent here, so the "one surface only" rule still holds; there's
   just one page section where the surface repeats twice. */
.price-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; align-items: start; }
.price-grid .price-card { max-width: none; }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }

/* ---- testimonial grid (3-up) ----
   Compact variant of .testimonial for a row of short quotes, reusing the
   same initials-avatar convention. */
.testimonial-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card { text-align: center; }
.testimonial-card .testimonial__avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto var(--s-3); font-size: 1.3rem; }
.testimonial-card .testimonial__stars { display: flex; justify-content: center; }
/* `margin: 0` is load-bearing. The UA stylesheet gives blockquote
   `margin: 1em 40px`, which ate 80px of a ~145px card and rendered the
   quote one word per line. `.testimonial blockquote` above resets it for
   the other testimonial layout; this one needs its own reset. */
.testimonial-card blockquote { margin: 0; font-weight: 500; font-size: 0.95rem; line-height: 1.5; }
.testimonial-card cite { display: block; margin-top: var(--s-2); font-weight: 700; font-style: normal; color: var(--ink); }

/* ---- mock panel ----
   Abstract placeholder for a product/dashboard preview where no real
   screenshot exists yet. Illustrative only — never dress this up to
   look like an actual screenshot. */
.mock-panel { background: var(--surface); border: 1.5px solid var(--hairline); border-radius: var(--r-card); padding: var(--s-4); }
.mock-panel__bar { display: flex; gap: 6px; margin-bottom: var(--s-4); }
.mock-panel__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline); }
.mock-panel__line { height: 12px; border-radius: 6px; background: var(--hairline); margin-bottom: var(--s-3); }
.mock-panel__line--60 { width: 60%; }
.mock-panel__line--40 { width: 40%; }
.mock-panel__block { height: 70px; border-radius: var(--r-card); background: var(--yellow-soft); margin-bottom: 0; }
.mock-panel__caption { font-size: 0.85rem; color: var(--mute); text-align: center; margin-top: var(--s-3); }

/* ---- touch targets ----
   Accessibility floor from the spec: every interactive element clears
   44px. `.btn` already does (~50px), but the nav pill links, footer
   links and inline text links are only 18–34px tall on their own.
   Scoped to coarse pointers so mouse-driven desktop layout is untouched;
   the footer list's grid gap keeps the expanded rows from overlapping. */
@media (pointer: coarse) {
  .nav__pill a,
  .footer__col a,
  .footer__links a,
  .brand { min-height: 44px; display: flex; align-items: center; }
  .text-link { min-height: 44px; display: inline-flex; align-items: center; }
  .faq-item summary { min-height: 44px; align-items: center; }
  /* TOC rows: drop the list gap first, or the expanded rows overlap. */
  .toc li { margin-bottom: 0; }
  .toc a { min-height: 44px; display: flex; align-items: center; }
}
