/* =============================================================
   Yearner website — the only stylesheet.

   1. Tokens          (the only place raw values live — mirrors docs/design-system/tokens.json)
   2. Base            (reset, type, links, focus)
   3. Layout          (page wrapper, sections, grids)
   4. Site chrome     (skip link, header, footer)
   5. Components      (buttons, store badges, cards, item mock, seals, FAQ, callouts)
   6. Legal documents (reading column, contents, tables, placeholders)
   7. Utilities
   ============================================================= */

/* -------------------------------------------------------------
   1. Tokens
   ------------------------------------------------------------- */
:root {
  /* Palette */
  --linen: #fbf4ef;
  --petal: #f6e6e1;
  --blush: #ebc4c6;
  --rose: #d9848f;
  --garnet: #8c2f39;
  --oxblood: #5e1f26;
  --cocoa: #4a2328;
  --dusk: #e4dcea;
  --dusk-ink: #6b5480;
  --terracotta: #a2421b;

  /* Surfaces */
  --surface-app: var(--linen);
  --surface-sunken: var(--petal);
  --surface-card: #fffcf9;
  --surface-brand: var(--garnet);

  /* Text */
  --text-primary: var(--cocoa);
  --text-secondary: #6e5054;
  --text-muted: #7a5c60;
  --text-brand: #8c3a44;
  --text-on-brand: var(--linen);

  /* Roles */
  --action-primary: var(--garnet);
  --action-primary-pressed: var(--oxblood);
  --private-bg: var(--dusk);
  --private-fg: var(--dusk-ink);
  --private-ink: #3e2f4a;
  --taken-border: #d9a5aa;
  --taken-fg: #7a4a50;
  --error-fg: var(--terracotta);
  --error-bg: #f7e3d8;
  --border-subtle: #ead9d3;
  --focus-ring: var(--garnet);
  --decor-chip: var(--blush);

  /* Type families */
  --font-script: "Pinyon Script", cursive;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  /* Type scale (app tokens) */
  --type-display: 34px;
  --type-display-lh: 40px;
  --type-title1: 28px;
  --type-title1-lh: 34px;
  --type-title2: 22px;
  --type-title2-lh: 28px;
  --type-title3: 19px;
  --type-title3-lh: 24px;
  --type-body-large: 17px;
  --type-body-large-lh: 1.6;
  --type-body: 15px;
  --type-body-lh: 22px;
  --type-label: 15px;
  --type-caption: 13px;
  --type-caption-lh: 18px;
  --type-overline: 12px;
  --type-overline-tracking: 0.12em;
  --type-script: 34px;
  --type-script-min: 28px;
  /* Web-only: the hero title grows on wide screens (titles cap at 150% of display). */
  --type-hero: clamp(34px, 3.2vw + 20px, 51px);
  --type-hero-lh: 1.12;
  --type-lede-lh: 1.5;
  --underline-offset: 0.2em;
  --underline-offset-nav: 0.3em;

  /* Spacing (4pt base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadow — tinted oxblood, three levels only */
  --shadow-flat: 0 0 0 1px var(--border-subtle);
  --shadow-card: 0 1px 0 #e8d6cf, 0 8px 24px rgba(94, 31, 38, 0.06);
  --shadow-sheet: 0 -2px 0 #e8d6cf, 0 -12px 32px rgba(94, 31, 38, 0.12);

  /* Sizes */
  --touch-min: 44px;
  --row-min: 56px;
  --icon-inline: 16px;
  --icon-list: 20px;
  --icon-nav: 24px;
  --icon-feature: 32px;
  --icon-empty: 56px;
  --seal-size: 44px;
  --logo-header: 150px; /* inline logo must stay ≥ 140px wide */
  --logo-hero: 260px;
  --mark-footer: 40px;  /* Y mark below 64px */

  /* Lines */
  --line-hairline: 1px;
  --line-outline: 1.5px;  /* taken cards (dashed) */
  --line-strong: 2px;     /* focus ring, table header rule */

  /* Layout. Breakpoints can't be custom properties; the media queries use
     720px (two columns), 900px (hero / side-by-side) and 1000px (three columns). */
  --page-max: 1120px;
  --measure-lede: 34rem;
  --measure-narrow: 30rem;
  --badge-min: 9.5rem;
  --badge-max: 13rem;
  --reading-max: 44rem;
  --gutter: var(--space-5);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --duration-press: 120ms;
  --press-scale: 0.97;
}

/* -------------------------------------------------------------
   2. Base
   ------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--type-body-large);
  line-height: var(--type-body-large-lh);
  font-weight: var(--weight-regular);
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

h1 {
  font-size: var(--type-title1);
  line-height: var(--type-title1-lh);
}

h2 {
  font-size: var(--type-title2);
  line-height: var(--type-title2-lh);
}

h3 {
  font-size: var(--type-title3);
  line-height: var(--type-title3-lh);
}

p,
ul,
ol,
dl {
  margin: 0 0 var(--space-4);
}

ul,
ol {
  padding-left: var(--space-6);
}

li + li {
  margin-top: var(--space-2);
}

strong {
  font-weight: var(--weight-semibold);
}

/* Figtree is never set in italics. */
em,
i {
  font-style: normal;
  font-weight: var(--weight-semibold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--action-primary);
  text-decoration: underline;
  text-decoration-thickness: var(--line-hairline);
  text-underline-offset: var(--underline-offset);
}

a:hover {
  color: var(--action-primary-pressed);
  text-decoration-thickness: var(--line-strong);
}

:focus-visible {
  outline: var(--line-strong) solid var(--focus-ring);
  outline-offset: var(--line-strong);
  border-radius: var(--radius-sm);
}

/* -------------------------------------------------------------
   3. Layout
   ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-16);
}

.section--sunken {
  background: var(--surface-sunken);
}

.section__head {
  max-width: var(--reading-max);
  margin-bottom: var(--space-8);
}

.section__head p {
  color: var(--text-secondary);
}

.grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* -------------------------------------------------------------
   4. Site chrome
   ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: calc(-1 * var(--space-24));
  z-index: 10;
  padding: var(--space-3) var(--space-5);
  background: var(--surface-brand);
  color: var(--text-on-brand);
  border-radius: var(--radius-pill);
  font-weight: var(--weight-semibold);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-4);
  color: var(--text-on-brand);
}

/* Header — the inline logo needs half its height of clear space on every side. */
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-6);
}

.site-header__logo {
  display: block;
  width: var(--logo-header);
  flex: none;
  padding: var(--space-2) 0;
}

.site-header__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav li + li {
  margin-top: 0;
}

.site-header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
  padding-inline: var(--space-3);
  border-radius: var(--radius-pill);
  font-size: var(--type-label);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  text-decoration: none;
}

.site-header__nav a:hover {
  background: var(--surface-sunken);
}

.site-header__nav a[aria-current="page"] {
  color: var(--action-primary);
  text-decoration: underline;
  text-underline-offset: var(--underline-offset-nav);
}

/* Footer */
.site-footer {
  background: var(--surface-sunken);
  padding-block: var(--space-12);
  margin-top: var(--space-16);
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
  color: var(--text-secondary);
}

.section--sunken + .site-footer,
.cta + .site-footer {
  margin-top: 0;
  box-shadow: inset 0 var(--line-hairline) 0 var(--border-subtle);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-8);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-footer__mark {
  width: var(--mark-footer);
}

.site-footer__tagline {
  margin: 0;
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

.site-footer__nav h2 {
  font-family: var(--font-sans);
  font-size: var(--type-overline);
  line-height: var(--type-caption-lh);
  letter-spacing: var(--type-overline-tracking);
  text-transform: uppercase;
  color: var(--text-brand);
  margin-bottom: var(--space-2);
}

.site-footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__nav li + li {
  margin-top: 0;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
  color: var(--text-primary);
}

.site-footer__meta p {
  margin-bottom: var(--space-2);
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }

  .site-footer__meta {
    grid-column: 1 / -1;
  }
}

/* -------------------------------------------------------------
   5. Components
   ------------------------------------------------------------- */

/* Overline */
.overline {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--type-overline);
  line-height: var(--type-caption-lh);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--type-overline-tracking);
  text-transform: uppercase;
  color: var(--text-brand);
  margin-bottom: var(--space-2);
}

/* Script — decoration only; the same words always exist in plain text nearby. */
.script {
  font-family: var(--font-script);
  font-size: var(--type-script);
  line-height: var(--type-display-lh);
  font-weight: var(--weight-regular);
  color: var(--text-brand);
  margin: 0;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--touch-min);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--type-label);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: transform var(--duration-press) var(--ease-out), background-color var(--duration-press) var(--ease-out);
}

.button:active {
  transform: scale(var(--press-scale));
}

.button--primary {
  background: var(--action-primary);
  color: var(--text-on-brand);
}

.button--primary:hover,
.button--primary:active {
  background: var(--action-primary-pressed);
  color: var(--text-on-brand);
}

/* Store badges — placeholders until the apps are live. Not links, not official artwork. */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 var(--space-2);
}

.store-badges li + li {
  margin-top: 0;
}

.store-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 var(--badge-min);
  max-width: var(--badge-max);
  min-height: var(--row-min);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-flat);
}

.store-badge__small {
  font-size: var(--type-caption);
  line-height: var(--type-caption-lh);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
}

.store-badge__store {
  font-size: var(--type-body-large);
  line-height: var(--type-title3-lh);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.store-note {
  font-size: var(--type-body);
  color: var(--text-secondary);
}

/* Hero */
.hero {
  padding-block: var(--space-8) var(--space-16);
}

.hero__inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

.hero__title {
  font-size: var(--type-hero);
  line-height: var(--type-hero-lh);
  margin-bottom: var(--space-5);
}

.hero__lede {
  font-size: var(--type-title3);
  line-height: var(--type-lede-lh);
  color: var(--text-secondary);
  max-width: var(--measure-lede);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

/* A stack of example cards, drawn in HTML so they stay crisp and accessible. */
.showcase {
  position: relative;
  margin: 0;
  display: grid;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--surface-sunken);
}

.showcase__script {
  text-align: center;
}

/* Cards */
.card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-5);
}

.card > :last-child {
  margin-bottom: 0;
}

.card__title {
  font-size: var(--type-title3);
  line-height: var(--type-title3-lh);
}

.card__icon {
  width: var(--icon-feature);
  height: var(--icon-feature);
  margin-bottom: var(--space-3);
}

.card--private {
  background: var(--private-bg);
  color: var(--private-ink);
  box-shadow: none;
}

.card--private .card__title {
  color: var(--private-ink);
}

/* Example item card (mirrors the app's ItemCard) */
.item {
  position: relative;
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5);
  padding-right: calc(var(--seal-size) + var(--space-6));
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.item__title {
  font-family: var(--font-serif);
  font-weight: var(--weight-semibold);
  font-size: var(--type-title3);
  line-height: var(--type-title3-lh);
  margin: 0;
}

.item__meta {
  font-size: var(--type-caption);
  line-height: var(--type-caption-lh);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  margin: 0;
}

.item__seal {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: var(--seal-size);
  height: var(--seal-size);
}

.item--taken {
  background: var(--surface-sunken);
  box-shadow: none;
  border: var(--line-outline) dashed var(--taken-border);
}

.item--taken .item__meta {
  color: var(--taken-fg);
}

.item--private {
  background: var(--private-bg);
  box-shadow: none;
}

.item--private .item__title {
  color: var(--private-ink);
}

.item--private .item__meta {
  color: var(--private-fg);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.item--plain {
  padding-right: var(--space-5);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding: 0;
  list-style: none;
}

.chip-row li + li {
  margin-top: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--decor-chip);
  color: var(--text-primary);
  font-size: var(--type-caption);
  line-height: var(--type-caption-lh);
  font-weight: var(--weight-medium);
}

.inline-icon {
  display: inline-block;
  width: var(--icon-inline);
  height: var(--icon-inline);
  flex: none;
}

/* Two modes */
.mode__stack {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* The surprise is sacred — side-by-side views */
.views {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .views {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.view {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  background: var(--surface-app);
  box-shadow: var(--shadow-flat);
}

.view__caption {
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
  color: var(--text-secondary);
  margin: 0;
}

.seal-legend {
  display: grid;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
}

.seal-legend li + li {
  margin-top: 0;
}

.seal-legend li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
}

.seal-legend img {
  width: var(--icon-feature);
  height: var(--icon-feature);
  flex: none;
}

@media (min-width: 720px) {
  .seal-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Closing call-out */
.cta {
  padding-block: var(--space-16);
  text-align: center;
}

.cta .store-badges {
  justify-content: center;
}

.cta__script {
  margin-bottom: var(--space-2);
}

/* FAQ */
.faq {
  display: grid;
  gap: var(--space-3);
}

.faq details {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-flat);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--row-min);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-serif);
  font-weight: var(--weight-semibold);
  font-size: var(--type-title3);
  line-height: var(--type-title3-lh);
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-lg);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  content: "+" / ""; /* decorative: details/summary already announces open or closed */
  flex: none;
  font-family: var(--font-sans);
  font-size: var(--type-title2);
  color: var(--action-primary);
}

.faq details[open] summary::after {
  content: "–";
  content: "–" / "";
}

.faq__answer {
  padding: 0 var(--space-5) var(--space-5);
}

.faq__answer > :last-child {
  margin-bottom: 0;
}

/* Callouts */
.callout {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  margin-bottom: var(--space-6);
}

.callout > :last-child {
  margin-bottom: 0;
}

.callout > :first-child,
.card > :first-child {
  margin-top: 0;
}

.contact-card {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
}

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: calc(var(--space-8) + var(--space-3));
  min-height: var(--space-8);
}

.steps li + li {
  margin-top: var(--space-4);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: var(--space-8);
  height: var(--space-8);
  border-radius: var(--radius-pill);
  background: var(--surface-brand);
  color: var(--text-on-brand);
  font-size: var(--type-body);
  font-weight: var(--weight-semibold);
}

/* 404 */
.not-found {
  padding-block: var(--space-12) var(--space-16);
  text-align: center;
}

.not-found__icon {
  width: var(--icon-empty);
  height: var(--icon-empty);
  margin: 0 auto var(--space-6);
}

.not-found p {
  max-width: var(--measure-narrow);
  margin-inline: auto;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  list-style: none;
  padding: 0;
}

.link-list li + li {
  margin-top: 0;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
}

/* -------------------------------------------------------------
   6. Legal documents
   ------------------------------------------------------------- */
.doc {
  max-width: var(--reading-max);
  margin-inline: auto;
  padding-block: var(--space-8) 0;
}

.doc__header {
  margin-bottom: var(--space-8);
}

.doc__meta {
  font-size: var(--type-body);
  color: var(--text-secondary);
}

.doc h2 {
  margin-top: var(--space-12);
  scroll-margin-top: var(--space-6);
}

.doc h3 {
  margin-top: var(--space-8);
  scroll-margin-top: var(--space-6);
}

.doc li::marker {
  color: var(--text-brand);
}

.toc {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface-sunken);
  margin-bottom: var(--space-8);
}

.toc h2 {
  margin-top: 0;
  font-family: var(--font-sans);
  font-size: var(--type-overline);
  line-height: var(--type-caption-lh);
  letter-spacing: var(--type-overline-tracking);
  text-transform: uppercase;
  color: var(--text-brand);
}

.toc ol {
  margin: 0;
  padding-left: var(--space-6);
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
}

.toc li + li {
  margin-top: var(--space-1);
}

.toc a {
  line-height: calc(var(--type-body-lh) + var(--space-2));
}

/* Unfilled legal details. Remove the markup when the real value goes in. */
.placeholder {
  background: var(--decor-chip);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 0 var(--space-1);
  font-weight: var(--weight-semibold);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Tables become stacked cards on narrow screens so the page never scrolls sideways. */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
  font-size: var(--type-body);
  line-height: var(--type-body-lh);
}

.table caption {
  text-align: left;
  font-weight: var(--weight-semibold);
  padding-bottom: var(--space-2);
}

.table th,
.table td {
  text-align: left;
  vertical-align: top;
  padding: var(--space-3);
  border-bottom: var(--line-hairline) solid var(--border-subtle);
}

.table thead th {
  font-size: var(--type-overline);
  letter-spacing: var(--type-overline-tracking);
  text-transform: uppercase;
  color: var(--text-brand);
  border-bottom-width: var(--line-strong);
}

.table tbody th {
  font-weight: var(--weight-semibold);
}

@media (max-width: 719px) {
  .table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    background: var(--surface-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-flat);
    margin-bottom: var(--space-3);
    padding: var(--space-2) 0;
  }

  .table th,
  .table td {
    border-bottom: 0;
    padding: var(--space-1) var(--space-4);
  }

  .table td::before {
    content: attr(data-label);
    display: block;
    font-size: var(--type-overline);
    letter-spacing: var(--type-overline-tracking);
    text-transform: uppercase;
    font-weight: var(--weight-semibold);
    color: var(--text-brand);
  }
}

/* -------------------------------------------------------------
   7. Utilities
   ------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .button:active {
    transform: none;
  }
}
