/*
 * The public pages in the TJJ 2040 language: the landing pages (/gyms/, /bjj-trainingstagebuch/, /bjj-training-journal/),
 * support, the legal pages (with /legal/legal.css for their tables and forms) and the not-found page. No JavaScript.
 *
 * - Dark first, light when the visitor's system asks for it (prefers-color-scheme). The colors are the app's
 *   (src/styles/tokens.css): plasma orange for actions, ice cyan only for Matwise, hairlines instead of boxes.
 * - The app's own font files (src/styles/fonts.css), never a font CDN: vite.config.ts gives these /src/ addresses the
 *   build's hashed names in assets/, so a visitor who knows the app already has them.
 * - Every text color reaches 4.5:1 on its ground in both themes, field outlines 3:1, tap targets 44 px.
 */

/* --- Type ----------------------------------------------------------------------------------------------------------- */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/manrope-latin-DHIcAJRg.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/manrope-latinext-Ch3YOpNY.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 100 649;
  font-display: swap;
  src: url("/assets/unbounded-600-latin-oRSANpZr.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 100 649;
  font-display: swap;
  src: url("/assets/unbounded-600-latinext-0iZLtTDV.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 650 1000;
  font-display: swap;
  src: url("/assets/unbounded-700-latin-CaoNriVp.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/jetbrains-mono-latin-B9CIFXIH.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallbacks with the web fonts' metrics (as in the app), so the swap does not shift the page. */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto");
  size-adjust: 102.7%;
  ascent-override: 104%;
  descent-override: 29.2%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Unbounded Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto");
  size-adjust: 129.7%;
  ascent-override: 76.3%;
  descent-override: 18.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "JetBrains Mono Fallback";
  src: local("Courier New"), local("CourierNewPSMT"), local("Roboto Mono");
  size-adjust: 100%;
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
}

/* --- Tokens: dark first, light on request --------------------------------------------------------------------------- */

:root {
  color-scheme: dark light;
  --bg: #07080b;
  --surface: #0f1014;
  --surface-strong: #15161b;
  --ink: #eef0f5;
  --ink-soft: #a3a9b7;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.14);
  --field-line: #666c7a;
  --accent: #ff6b2c;
  --accent-text: #ff6b2c;
  --accent-soft: #1f120c;
  --on-accent: #07080b;
  --ice: #7ce8ff;
  --ice-text: #7ce8ff;
  --glow-accent: drop-shadow(0 0 1.5rem rgb(255 107 44 / 0.4));
  --font-display: "Unbounded", "Unbounded Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", "Manrope Fallback", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(1rem, 5vw, 2.5rem);
  --page: 72rem;
  --pill: 999px;
  --tracking: 0.14em;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f6f8;
    --surface: #ffffff;
    --surface-strong: #eef0f3;
    --ink: #0b0c10;
    --ink-soft: #545b68;
    --line: rgb(11 12 16 / 0.09);
    --line-strong: rgb(11 12 16 / 0.16);
    --field-line: #757d8a;
    /* The plasma orange stays the fill; orange text, rings and icons use the darker shade (4.8:1). */
    --accent-text: #b23a0a;
    --accent-soft: #ffeee4;
    --ice: #0e93b5;
    --ice-text: #086a87;
    --glow-accent: drop-shadow(0 0.25rem 0.75rem rgb(255 107 44 / 0.22));
  }
}

/* --- Base ----------------------------------------------------------------------------------------------------------- */

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

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

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  hyphens: auto;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

/* The small caps data label: mono, tracked ("FÜR GYMS · GRÜNDER-GYMS 2027"). */
.eyebrow,
.index {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: var(--tracking);
  line-height: 1.4;
  text-transform: uppercase;
}

.wrap {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* --- Header and footer ---------------------------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.brand {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img {
  flex: none;
  border-radius: 22%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1rem;
}

.site-nav a:not(.button) {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:not(.button):hover {
  color: var(--ink);
}

/* On a phone the header keeps the brand and the action; the other pages are in the footer. On the narrowest phones the
   name stays the link's name for screen readers, and the icon stands for it on screen. */
@media (max-width: 40rem) {
  .site-nav a.wide {
    display: none;
  }
}

@media (max-width: 30rem) {
  .brand {
    font-size: 0.8125rem;
  }

  .site-nav .button.small {
    padding-inline: 1rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 22.5rem) {
  .brand-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.site-footer {
  margin-top: clamp(4rem, 10vw, 7rem);
  border-top: 1px solid var(--line);
  padding-block: 2rem 3rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.site-footer nav a {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--ink);
}

.site-footer .eyebrow {
  margin-top: 1rem;
}

/* --- Buttons: the plasma pill is the action, the hairline pill the way around it ------------------------------------ */

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  padding: 0.5rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.button.primary:hover {
  background: #ff8148;
}

.button.ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--ink-soft);
}

.button.small {
  min-height: 2.75rem;
  padding-inline: 1.125rem;
  font-size: 0.875rem;
}

.button:active {
  transform: scale(0.98);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --- Landing pages: one hero with one focal element, then hairline sections ----------------------------------------- */

.hero {
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-block: clamp(3rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
}

/* Breaks only where the page allows it (a soft hyphen in a long German word), never inside "BJJ". */
.hero h1 {
  max-width: 15ch;
  font-size: clamp(1.75rem, 4.6vw + 0.75rem, 3.5rem);
  line-height: 1.08;
  hyphens: manual;
}

.lead {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.55;
}

.hero .actions {
  margin-top: 0.5rem;
}

.hero-note {
  color: var(--ink-soft);
  font-size: 0.875rem;
}

/* One offer next to the lead, in Matwise's ice: a short hairline in front, as the reasons in the price section. */
.perk {
  position: relative;
  max-width: 34rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.perk::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 0.5rem;
  height: 1px;
  background: var(--ice-text);
  content: "";
}

.perk strong {
  color: var(--ice-text);
  font-weight: 700;
}

/* The focal element: a ring of light with its number, as the app's week ring. */
.focal {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  min-width: 0;
}

.ring {
  position: relative;
  display: grid;
  width: min(100%, 17rem);
  aspect-ratio: 1;
  place-items: center;
}

.ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: var(--glow-accent);
  transform: rotate(-90deg);
}

.ring .track {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 6;
}

.ring .arc {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-width: 6;
}

.ring-center {
  display: grid;
  justify-items: center;
  gap: 0.375rem;
  text-align: center;
}

.ring-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ring-number span {
  color: var(--ink-soft);
}

/* Numbers in a row under the ring, mono, with hairlines between them. */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 24rem);
  margin: 0;
  border-block: 1px solid var(--line);
}

.stat-row div {
  display: flex;
  min-width: 0;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.125rem;
  padding: 0.75rem 0.25rem;
  text-align: center;
}

.stat-row div + div {
  border-left: 1px solid var(--line);
}

.stat-row dt {
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.3;
}

.stat-row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1.2;
}

.stat-row .accent {
  color: var(--accent-text);
}

.stat-row .ice {
  color: var(--ice-text);
}

.badge {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  border: 1px solid rgb(255 107 44 / 0.42);
  border-radius: 0.5rem;
  padding: 0.25rem 0.625rem;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}

/* Sections: a mono index, an Unbounded title, then rows on hairlines. */
.section {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem) 0;
}

.section > header {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.section h2 {
  max-width: 22ch;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.section > header p:not(.eyebrow) {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.rows {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rows > li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-content: start;
  gap: 0.25rem 1rem;
  border-bottom: 1px solid var(--line);
  padding-block: 1.25rem;
}

.rows > li > .index {
  padding-top: 0.25rem;
}

.rows h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
}

.rows p {
  grid-column: 2;
  color: var(--ink-soft);
}

@media (min-width: 48rem) {
  .rows.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
}

/* Steps: three numbers side by side on a large screen. */
.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps > li {
  display: grid;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line);
  padding-block: 1.5rem;
}

.steps .number {
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: var(--tracking);
}

.steps h3 {
  font-size: 1.125rem;
}

.steps p {
  color: var(--ink-soft);
}

@media (min-width: 56rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
  }

  .steps > li {
    border-bottom: 0;
    padding: 1.75rem 2rem 1.75rem 0;
  }

  .steps > li + li {
    border-left: 1px solid var(--line);
    padding-left: 2rem;
  }
}

/* Prices: the amount in Unbounded, its terms in a short list. */
.price {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.price > article {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  border-bottom: 1px solid var(--line);
  padding-block: 1.75rem;
}

.amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.amount small {
  display: block;
  margin-top: 0.625rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.price ul,
.reasons {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price li,
.reasons li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.price li::before,
.reasons li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.5rem;
  height: 1px;
  background: var(--accent-text);
  content: "";
}

.reasons strong {
  color: var(--ink);
}

@media (min-width: 48rem) {
  .price {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
}

.note {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* Kevin's promise, in his words: a plasma hairline at its side. */
.promise {
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
  margin: 2.5rem 0 0;
  border-left: 2px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.5rem;
}

.promise p {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}

.promise .goal {
  color: var(--ink-soft);
  font-size: 1rem;
}

.promise footer {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
}

.promise-tagline {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Questions: hairline rows that open; the + turns into a ×. */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  min-height: 3.5rem;
  align-items: center;
  gap: 1rem;
  padding-block: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  justify-self: end;
  color: var(--ink-soft);
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 200ms ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 44rem;
  padding-bottom: 1.25rem;
  color: var(--ink-soft);
}

.faq details p + p {
  margin-top: -0.5rem;
}

.faq a,
.note a {
  color: var(--ink);
}

/* The last word: one action, centred. */
.cta {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-top: clamp(4rem, 9vw, 6rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 7vw, 5rem);
  text-align: center;
}

.cta h2 {
  max-width: 20ch;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
}

.cta p {
  max-width: 34rem;
  color: var(--ink-soft);
}

.cta .actions {
  justify-content: center;
  margin-top: 0.5rem;
}

/* --- Documents: support, legal pages, not found --------------------------------------------------------------------- */

body:not(.landing) > main {
  width: min(100%, 48rem);
  margin: 0 auto;
  padding: 0 var(--gutter) 4rem;
}

body:not(.landing) > main > header {
  display: flex;
  flex-wrap: wrap;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 calc(-1 * var(--gutter)) clamp(2rem, 6vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  padding-inline: var(--gutter);
}

body:not(.landing) > main > header > a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

body:not(.landing) > main > header img {
  width: 24px;
  height: 24px;
  border-radius: 22%;
}

body:not(.landing) > main > h1 {
  max-width: 18ch;
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
}

body:not(.landing) > main h2 {
  margin: 2.5rem 0 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  line-height: 1.3;
}

body:not(.landing) > main h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

body:not(.landing) > main :is(p, ul, ol) {
  margin: 0 0 1rem;
}

body:not(.landing) > main :is(ul, ol) {
  padding-left: 1.25rem;
}

body:not(.landing) > main li + li {
  margin-top: 0.375rem;
}

body:not(.landing) > main a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent-text);
  text-decoration-thickness: 1px;
}

body:not(.landing) > main .updated {
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.6;
}

body:not(.landing) > main > footer {
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 2.2;
}

body:not(.landing) > main > footer a {
  color: var(--ink-soft);
  white-space: nowrap;
  text-decoration-color: var(--line-strong);
}

body:not(.landing) > main > footer a:hover {
  color: var(--ink);
}

/* Not found: the code as the one big number, in plasma light. */
.not-found__code {
  margin: 0 0 1rem;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 22vw, 9rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

body:not(.landing) > main.not-found > p:not(.not-found__code) {
  color: var(--ink-soft);
}

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

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

@media print {
  body {
    background: #ffffff;
    color: #000000;
  }
}
