/* Punch Themes — site styles. No framework, no build step. */

@font-face {
  font-family: 'Anton';
  src: url('/assets/fonts/anton-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0c0c0b;
  --ink-2: #171715;
  --paper: #f6f3ee;
  --white: #ffffff;
  --accent: #ff4a1c;
  --accent-ink: #b12b08; /* accent dark enough for text on paper */
  --muted: #62605b;
  --muted-dark: #a9a69f;
  --line: rgba(12, 12, 11, 0.13);
  --line-dark: rgba(255, 255, 255, 0.16);
  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Geist', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --logo: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.logo__word {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--logo);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.logo__dot {
  width: 0.3em;
  height: 0.3em;
  border-radius: 50%;
  background: var(--accent);
}
.logo__sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.nav a:hover,
.nav a[aria-current='page'] {
  background: rgba(255, 255, 255, 0.1);
}
.nav .btn {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    inset: 68px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--pad) 24px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 14px 12px;
    font-size: 1.1rem;
  }
  .nav .btn {
    margin: 10px 0 0;
    justify-content: center;
  }
  .nav-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }
  .nav-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: 600 0.98rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--accent {
  background: var(--accent);
  color: var(--ink);
}
.btn--ghost {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}
.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.pill--dark {
  border-color: var(--line-dark);
}
.pill--plain::before {
  display: none;
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(72px, 10vw, 150px);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}
.section--dark {
  background: var(--ink);
  color: var(--white);
}
.section--white {
  background: var(--white);
}

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .label {
  color: var(--muted-dark);
}
.label b {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--accent-ink);
}
.section--dark .label b {
  color: var(--accent);
}
.label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

.h-xl {
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
}
.h-lg {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}
.h-md {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.dot {
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--accent);
}
.lead {
  max-width: 34em;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
}
.section--dark .lead {
  color: var(--muted-dark);
}

/* Punched edge: a row of holes where a dark block meets the page. */
.punched {
  position: relative;
}
.punched::after {
  content: '';
  position: absolute;
  inset: auto 0 -7px 0;
  height: 14px;
  background: radial-gradient(circle at center, var(--paper) 6px, transparent 6.6px) center / 34px 14px repeat-x;
  pointer-events: none;
}
.punched--white::after {
  background-image: radial-gradient(circle at center, var(--white) 6px, transparent 6.6px);
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(56px, 8vw, 120px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
}
.hero__copy {
  grid-column: 1 / span 7;
  padding-bottom: clamp(48px, 7vw, 110px);
}
.hero__copy .pill {
  margin-bottom: 30px;
}
.hero__copy .lead {
  margin-top: 28px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__visual {
  grid-column: 8 / span 5;
  align-self: end;
  width: 168%;
  transform: translateY(8%);
}

@media (max-width: 900px) {
  .hero__copy,
  .hero__visual {
    grid-column: 1 / -1;
  }
  .hero__copy {
    padding-bottom: 8px;
  }
  .hero__visual {
    width: 118%;
    transform: translateY(6%);
  }
}

/* ---------- Browser mock of the theme ---------- */

.mock {
  --u: clamp(5px, 0.78vw, 11px);
  font-size: var(--u);
  border-radius: 1.6em 1.6em 0 0;
  background: #e9e6df;
  box-shadow: 0 -2em 6em rgba(0, 0, 0, 0.35);
  overflow: hidden;
  color: #111;
}
.mock--card {
  border-radius: 1.6em;
  box-shadow: 0 2em 5em rgba(12, 12, 11, 0.16);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 1em 1.4em;
  background: #dedad2;
}
.mock__bar i {
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #bdb8ad;
}
.mock__bar span {
  flex: 1;
  max-width: 34em;
  margin-left: 1.4em;
  padding: 0.5em 1.2em;
  border-radius: 99em;
  background: #f1eee8;
  font-size: 1.05em;
  color: #77736b;
}
.pz {
  background: #fff;
  font-family: var(--body);
}
.pz__announce {
  padding: 0.7em;
  background: #111;
  color: #fff;
  font-size: 0.85em;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}
.pz__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.5em 2.4em;
  border-bottom: 1px solid #e4e1da;
  font-size: 0.9em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pz__head b {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.9em;
  font-weight: 400;
  letter-spacing: 0.42em;
}
.pz__head span:first-child {
  display: flex;
  gap: 1.6em;
}
.pz__head span:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 1em;
}
.pz__head em {
  width: 1.5em;
  height: 1.5em;
  border: 0.16em solid #111;
  border-radius: 50%;
}
.pz__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 30em;
  padding: 3em 2.4em;
  background: linear-gradient(90deg, rgba(20, 18, 16, 0.6), rgba(20, 18, 16, 0) 60%), linear-gradient(180deg, #aaa69f, #8f8b85);
  color: #fff;
  overflow: hidden;
}
.pz__hero > div {
  position: relative;
  z-index: 1;
}
/* Two abstract figures stand in for the campaign photo. */
.pz__fig {
  position: absolute;
  bottom: 0;
  right: var(--x);
  width: 10.5em;
  height: 21em;
  border-radius: 5.2em 5.2em 0 0;
  background: var(--c);
}
.pz__fig::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -5.4em;
  width: 4.6em;
  height: 4.6em;
  margin-left: -2.3em;
  border-radius: 50%;
  background: #e2d2bf;
}
.pz__hero small {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.5em;
  font-style: italic;
}
.pz__hero strong {
  display: block;
  margin: 0.15em 0 0.35em;
  font-family: var(--body);
  font-size: 5.2em;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-transform: uppercase;
}
.pz__hero u {
  display: inline-block;
  padding: 1em 2em;
  background: #fff;
  color: #111;
  font-size: 0.85em;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}
.pz__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4em;
  padding: 2.4em;
}
.pz__card i {
  display: block;
  aspect-ratio: 2 / 3;
  background: var(--c, #cfc8bc);
}
.pz__card p {
  margin-top: 0.8em;
  font-size: 1em;
}
.pz__card p + p {
  margin-top: 0.1em;
  color: #77736b;
}
.pz__card s {
  display: flex;
  gap: 0.4em;
  margin-top: 0.8em;
  text-decoration: none;
}
.pz__card s b {
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: var(--s);
  box-shadow: 0 0 0 0.12em #fff, 0 0 0 0.2em #bbb;
}

/* ---------- Facts ---------- */

.facts {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
}
.fact {
  padding: 30px 26px 30px 0;
  border-bottom: 1px solid var(--line);
}
.fact + .fact {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}
.fact b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.fact span {
  display: block;
  margin-top: 10px;
  max-width: 18em;
  font-size: 0.95rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

/* ---------- Theme cards ---------- */

.theme-card {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(20px, 3vw, 44px);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(12, 12, 11, 0.1);
}
.theme-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.theme-card h3 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}
.theme-card p {
  margin-top: 16px;
  color: var(--muted);
}
.theme-card__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-weight: 600;
}
.theme-card__go svg {
  width: 18px;
  transition: transform 0.2s var(--ease);
}
a.theme-card:hover .theme-card__go svg {
  transform: translateX(5px);
}
.theme-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding: 26px clamp(20px, 3vw, 44px);
  border: 1.5px dashed rgba(12, 12, 11, 0.3);
  border-radius: var(--radius);
  color: var(--muted);
}
.theme-next b {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--ink);
}
@media (max-width: 860px) {
  .theme-card {
    grid-template-columns: 1fr;
  }
  .theme-next {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Split list ---------- */

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
}
.split__aside {
  position: sticky;
  top: 110px;
  align-self: start;
}
.split__aside .lead {
  margin-top: 22px;
}
.rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.rows li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.rows i {
  font: 700 0.95rem var(--display);
  font-style: normal;
  color: var(--accent-ink);
}
.rows h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: -0.03em;
}
.rows p {
  grid-column: 2;
  max-width: 36em;
  color: var(--muted);
}
.section--dark .rows,
.section--dark .rows li {
  border-color: var(--line-dark);
}
.section--dark .rows p {
  color: var(--muted-dark);
}
.section--dark .rows i {
  color: var(--accent);
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split__aside {
    position: static;
  }
  .rows li {
    grid-template-columns: 40px 1fr;
  }
}

/* ---------- Call to action ---------- */

.cta {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 32px;
  align-items: end;
}
.cta__side {
  justify-self: end;
  text-align: right;
}
.cta__side p {
  margin-bottom: 20px;
  color: var(--muted-dark);
}
@media (max-width: 860px) {
  .cta {
    grid-template-columns: 1fr;
  }
  .cta__side {
    justify-self: start;
    text-align: left;
  }
}

/* ---------- Bento (theme features) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
}
.tile--wide {
  grid-column: span 4;
}
.tile--half {
  grid-column: span 3;
}
.tile--dark {
  background: var(--ink);
  color: var(--white);
}
.tile--accent {
  background: var(--accent);
}
.tile h3 {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.tile p {
  margin-top: 10px;
  max-width: 30em;
  font-size: 0.98rem;
  color: var(--muted);
}
.tile--dark p {
  color: var(--muted-dark);
}
.tile--accent p {
  color: rgba(12, 12, 11, 0.78);
}
.tile__art {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}
.tile--dark .chip {
  border-color: var(--line-dark);
}
.chip--on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.swatches {
  display: flex;
  gap: 10px;
}
.swatches i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.swatches i:first-child {
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink);
}
.meter {
  width: 100%;
}
.meter span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.meter i {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent) 72%, rgba(255, 255, 255, 0.18) 72%);
}
@media (max-width: 900px) {
  .tile,
  .tile--wide,
  .tile--half {
    grid-column: span 6;
    min-height: 0;
  }
}

/* ---------- Spec table ---------- */

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.specs th,
.specs td {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.specs th {
  width: 32%;
  padding-right: 20px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.specs td {
  color: var(--muted);
}

/* ---------- Page head (inner pages) ---------- */

.page-head {
  padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px);
}
.page-head .pill {
  margin-bottom: 24px;
}
.page-head .lead {
  margin-top: 22px;
}
.status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

/* ---------- Docs ---------- */

.docs {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  padding-bottom: 120px;
}
.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-right: 8px;
  font-size: 0.93rem;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: flex;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font: 600 0.78rem var(--display);
  line-height: 1.9;
  color: var(--accent-ink);
}
.toc a:hover,
.toc a.is-active {
  background: var(--white);
  color: var(--ink);
}
.prose {
  max-width: 760px;
}
.prose section {
  padding-top: 20px;
  margin-bottom: 72px;
}
.prose h2 {
  margin-bottom: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.prose h3 {
  margin: 38px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 16px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin-bottom: 6px;
}
.prose li::marker {
  color: var(--accent-ink);
}
.prose strong {
  font-weight: 600;
}
.prose code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(12, 12, 11, 0.07);
  font-size: 0.9em;
}
.prose table {
  width: 100%;
  margin: 8px 0 22px;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.prose th,
.prose td {
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose thead th {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.prose tbody th {
  width: 34%;
  font-weight: 600;
}
.table-wrap {
  overflow-x: auto;
}
.note {
  margin: 22px 0;
  padding: 18px 20px 18px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--white);
  font-size: 0.98rem;
}
.note b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
}
.path {
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .docs {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    max-height: none;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--white);
  }
  .toc ol {
    columns: 2;
  }
}
@media (max-width: 520px) {
  .toc ol {
    columns: 1;
  }
}

/* ---------- Support ---------- */

.support {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  padding-bottom: 120px;
}
.checklist {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(22px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--white);
}
.field {
  display: grid;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.9rem;
  font-weight: 600;
}
.field small {
  font-size: 0.84rem;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(12, 12, 11, 0.28);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.field textarea {
  min-height: 170px;
  resize: vertical;
}
.field input[type='file'] {
  padding: 11px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--ink);
}
.hp {
  position: absolute;
  left: -9999px;
}
.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.form__foot p {
  max-width: 26em;
  font-size: 0.86rem;
  color: var(--muted);
}
.alert {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #ffe6de;
  color: #7a1d04;
  font-weight: 500;
}
.alert[hidden] {
  display: none;
}
@media (max-width: 860px) {
  .support {
    grid-template-columns: 1fr;
  }
  .form {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-block: 64px 36px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer p {
  max-width: 26em;
  margin-top: 18px;
  color: var(--muted-dark);
  font-size: 0.95rem;
}
.site-footer h4 {
  margin-bottom: 14px;
  font: 600 0.78rem var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer li a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
}
.site-footer li a:hover {
  text-decoration: underline;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.84rem;
  color: var(--muted-dark);
}
@media (max-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .theme-card {
    transition: none;
  }
}

/* ---------- Adjustments ---------- */

.section--white .tile:not(.tile--dark):not(.tile--accent) {
  background: var(--paper);
}
.cta .h-xl {
  font-size: clamp(2.6rem, 6.6vw, 5.8rem);
}
.prose {
  min-width: 0;
}
@media (max-width: 900px) {
  .docs {
    grid-template-columns: minmax(0, 1fr);
  }
  .path {
    white-space: normal;
  }
  .support > *,
  .split > *,
  .cta > * {
    min-width: 0;
  }
}
.prose code,
.site-footer li a {
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
