/*
 * toodo.dev
 *
 * Tokens first. The accent is the green of the app icon (src/web/pwa/icon.svg: a #059669
 * tile with #064e3b lines); the neutrals are warm, quiet greys so the green carries the
 * page. Everything below the tokens uses the role tokens only.
 */

:root {
  color-scheme: light dark;

  /* Colour roles, light theme */
  --bg: #fafaf7;
  --bg-raised: #f3f3ee;
  --surface: #ffffff;
  --surface-2: #efefe9;
  --ink: #141614;
  --ink-mid: #3b3f3b;
  --ink-soft: #636862;
  --ink-faint: #9a9e97;
  --line: rgb(20 22 20 / 0.09);
  --line-strong: rgb(20 22 20 / 0.17);
  --dot: rgb(20 22 20 / 0.14);
  --accent: #047857;
  --accent-ink: #065f46;
  --accent-wash: rgb(5 150 105 / 0.08);
  --accent-wash-2: rgb(5 150 105 / 0.16);
  --primary: #141614;
  --primary-ink: #fafaf7;
  --term-bg: #ffffff;
  --shadow-frame: 0 1px 2px rgb(20 22 20 / 0.04), 0 30px 60px -32px rgb(20 22 20 / 0.28);
  --selection: rgb(5 150 105 / 0.2);

  /* Status colours: the web app's tones, quieted for a marketing page */
  --st-done: #047857;
  --st-done-bg: rgb(5 150 105 / 0.1);
  --st-review: #7c3aed;
  --st-review-bg: rgb(124 58 237 / 0.1);
  --st-progress: #1d4ed8;
  --st-progress-bg: rgb(29 78 216 / 0.09);
  --st-blocked: #b45309;
  --st-blocked-bg: rgb(217 119 6 / 0.12);
  --st-planned: #636862;
  --st-planned-bg: rgb(20 22 20 / 0.06);

  /* Type */
  --font-sans: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lede: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --text-h2: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  --text-h2-sm: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  --text-display: clamp(2.75rem, 1.3rem + 5.6vw, 5.75rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 3rem;
  --space-9: clamp(4rem, 2.5rem + 5vw, 6.5rem);
  --space-10: clamp(5.5rem, 3rem + 8vw, 10rem);

  /* Layout and shape */
  --page-max: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-xs: 0.375rem;
  --radius: 0.625rem;
  --radius-xl: 0.875rem;
  --radius-pill: 999px;

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-quart: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-ui: 160ms;
  --dur-press: 90ms;
  --dur-enter: 700ms;
  --reveal-shift: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f0e;
    --bg-raised: #141715;
    --surface: #131614;
    --surface-2: #1b1f1c;
    --ink: #edefec;
    --ink-mid: #cfd3cd;
    --ink-soft: #a2a89f;
    --ink-faint: #6c726a;
    --line: rgb(237 239 236 / 0.09);
    --line-strong: rgb(237 239 236 / 0.17);
    --dot: rgb(237 239 236 / 0.13);
    --accent: #34d399;
    --accent-ink: #6ee7b7;
    --accent-wash: rgb(52 211 153 / 0.08);
    --accent-wash-2: rgb(52 211 153 / 0.16);
    --primary: #edefec;
    --primary-ink: #0d0f0e;
    --term-bg: #101311;
    --shadow-frame: 0 1px 2px rgb(0 0 0 / 0.3), 0 30px 70px -30px rgb(0 0 0 / 0.7);
    --selection: rgb(52 211 153 / 0.28);

    --st-done: #34d399;
    --st-done-bg: rgb(52 211 153 / 0.12);
    --st-review: #c4b5fd;
    --st-review-bg: rgb(167 139 250 / 0.14);
    --st-progress: #93c5fd;
    --st-progress-bg: rgb(96 165 250 / 0.13);
    --st-blocked: #fcd34d;
    --st-blocked-bg: rgb(251 191 36 / 0.12);
    --st-planned: #a2a89f;
    --st-planned-bg: rgb(237 239 236 / 0.07);
  }
}

/* Base */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}

::selection { background: var(--selection); }

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

a { color: inherit; }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

p code, li p code, .lede code {
  padding: 0.1em 0.35em;
  border-radius: var(--radius-xs);
  background: var(--surface-2);
}

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

.container {
  width: 100%;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite { display: none; }

.icon {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

use[href="#icon-github"] { fill: currentColor; stroke: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xs);
  background: var(--primary);
  color: var(--primary-ink);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-standard), background-color var(--dur-ui) var(--ease-standard), border-color var(--dur-ui) var(--ease-standard);
}

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

.btn--primary { background: var(--primary); color: var(--primary-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--primary) 86%, var(--accent)); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--surface-2); }

.btn--sm { min-height: 2.25rem; padding: 0 0.875rem; font-size: var(--text-sm); }

.btn .arrow { transition: transform var(--dur-ui) var(--ease-standard); }
.btn:hover .arrow { transform: translateX(3px); }

/* Navigation */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--space-3) var(--gutter) 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: var(--page-max);
  margin-inline: auto;
  padding: 0.375rem 0.375rem 0.375rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-inline: auto;
}

.nav-links a {
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--dur-ui) var(--ease-standard), background-color var(--dur-ui) var(--ease-standard);
}

.nav-links a:hover { color: var(--ink); background: var(--surface-2); }

.nav-actions { display: flex; gap: var(--space-2); margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

@media (max-width: 420px) {
  .nav-gh-label { display: none; }
  .btn--icon { width: 2.25rem; padding: 0; }
}

/* Shared type */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s var(--ease-standard) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-wash-2); }
  50% { box-shadow: 0 0 0 5px transparent; opacity: 0.6; }
}

.display {
  max-width: 13ch;
  margin: 0;
  font-size: var(--text-display);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

.h2 {
  max-width: 20ch;
  margin: 0;
  font-size: var(--text-h2);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h2--sm { font-size: var(--text-h2-sm); }

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

.lede {
  max-width: 58ch;
  margin: var(--space-5) 0 0;
  font-size: var(--text-lede);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.caption {
  margin: var(--space-5) 0 0;
  font-size: var(--text-sm);
}

.caption a, .hero-makers a, .closing-license a, .footer-made a {
  color: var(--ink);
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color var(--dur-ui) var(--ease-standard);
}

.caption a:hover, .hero-makers a:hover, .closing-license a:hover, .footer-made a:hover { text-decoration-color: currentColor; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.kicker .num { color: var(--accent); }
.kicker .rule { width: 2.5rem; height: 1px; background: var(--line-strong); }
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: var(--space-9);
}

.hero-bg {
  position: absolute;
  inset: -5rem 0 auto;
  z-index: -1;
  height: 52rem;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000 25%, transparent 100%);
  mask-image: radial-gradient(60% 55% at 50% 30%, #000 25%, transparent 100%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40% 35% at 50% 22%, var(--accent-wash-2), transparent 70%);
  opacity: 0.6;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero .display { margin-inline: auto; }

.hero-sub {
  max-width: 44ch;
  margin: var(--space-6) 0 0;
  font-size: var(--text-lede);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.cmd {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0 0.375rem 0 1rem;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--primary-ink);
}

.cmd code { font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmd-prompt { font-family: var(--font-mono); font-size: 0.875rem; color: color-mix(in srgb, var(--primary-ink) 50%, var(--accent)); }

.copy {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity var(--dur-ui) var(--ease-standard), background-color var(--dur-ui) var(--ease-standard);
}

.copy:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.copy .icon { grid-area: 1 / 1; transition: opacity var(--dur-ui) var(--ease-standard), transform var(--dur-ui) var(--ease-standard); }
.copy .copy-done { opacity: 0; transform: scale(0.6); color: var(--accent); }
.copy[data-state="copied"] .copy-idle { opacity: 0; transform: scale(0.6); }
.copy[data-state="copied"] .copy-done { opacity: 1; transform: none; }
.cmd .copy[data-state="copied"] .copy-done { color: inherit; }

.hero-makers {
  margin: var(--space-5) 0 0;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

/* Window frames */

.win {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--term-bg);
  box-shadow: var(--shadow-frame);
}

.win-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  height: 2.375rem;
  padding: 0 var(--space-4);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.win-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win-live { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: auto; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.625rem; }

.hero-win { margin-top: var(--space-9); }
.win-shot { width: 100%; background: var(--surface); }

/* Index */

.index { margin-top: var(--space-9); }

.index ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.index li { border-bottom: 1px solid var(--line); }

.index a {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: color var(--dur-ui) var(--ease-standard);
}

.index .n { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent); }
.index .d { margin-left: auto; font-size: var(--text-sm); color: var(--ink-soft); text-align: right; }
.index a:hover .d { color: var(--ink); }

@media (max-width: 760px) {
  .index ol { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .index .d { display: none; }
}

/* Sections */

.section { padding-top: var(--space-10); }

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

@media (min-width: 1000px) {
  .aside {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    gap: var(--space-9);
    align-items: start;
  }

  .aside-head { position: sticky; top: 7rem; }
}

.card {
  padding: var(--space-6);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-frame);
}

.card-shot {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

/* Dependencies card */

.g-reject {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--line-strong);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.g-reject code { color: var(--ink); }
.g-reject p { width: 100%; margin: 0; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--st-blocked); }
.g-reject .x { font-weight: 700; }

/* Criteria card */

.crit-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin: var(--space-5) 0 0; font-size: var(--text-sm); color: var(--ink-soft); }

/* Agent terminal */

.term-lines {
  margin: 0;
  padding: var(--space-5) var(--space-5) var(--space-6);
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.term-lines li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.625rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
}

.term-lines li:last-child { border-bottom: 0; }
.term-lines li::before { content: "›"; color: var(--accent); }
.t-call { color: var(--ink); font-weight: 600; }
.t-arg { color: var(--ink-mid); }
.t-kind { padding: 0 0.4rem; border-radius: var(--radius-xs); background: var(--accent-wash-2); color: var(--accent-ink); }
.t-ok { color: var(--st-done); }
.t-note { width: 100%; padding-left: 1.1rem; overflow-wrap: anywhere; color: var(--ink-soft); }

.js .term .term-lines li { opacity: 0; transform: translateX(-6px); transition: opacity 420ms var(--ease-out-quart), transform 420ms var(--ease-out-quart); transition-delay: calc(250ms + var(--i) * 260ms); }
.js .term.in .term-lines li { opacity: 1; transform: none; }

/* Autopilot card */

.auto-foot { margin: var(--space-5) 0 0; font-size: var(--text-sm); color: var(--ink-soft); }


/* Screenshots */

.shot { margin: 0; }
.shot--main { margin-top: var(--space-8); }

.shot img {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-frame);
}

.shot figcaption { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--ink-soft); }

.shot-pair { display: grid; gap: var(--space-6); margin-top: var(--space-7); }

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

/* The rest */

.grid-more {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.grid-more li {
  padding: var(--space-5);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur-ui) var(--ease-standard);
}

.grid-more li:hover { background: var(--bg-raised); }
.grid-more b { display: block; font-weight: 600; }
.grid-more p { margin: var(--space-2) 0 0; font-size: var(--text-sm); line-height: 1.55; color: var(--ink-soft); }

/* Closing */

.closing {
  margin-top: var(--space-10);
  padding-block: var(--space-10);
  border-top: 1px solid var(--line);
  background: radial-gradient(50% 60% at 50% 0%, var(--accent-wash), transparent 70%);
}

.closing-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.closing .lede { margin-inline: auto; max-width: 46ch; }

.install {
  width: min(100%, 40rem);
  margin-top: var(--space-7);
  text-align: left;
}

.install-tabs { display: flex; gap: 2px; margin-bottom: var(--space-2); }

.install-tabs button {
  min-height: 2rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: var(--text-xs);
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease-standard), color var(--dur-ui) var(--ease-standard);
}

.install-tabs button:hover { color: var(--ink); }
.install-tabs [aria-selected="true"] { background: var(--surface-2); color: var(--ink); }

.install-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--term-bg);
  box-shadow: var(--shadow-frame);
}

.install-panel pre {
  margin: 0;
  padding: 1.125rem 3.5rem 1.125rem 1.25rem;
  overflow-x: auto;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.install-panel code { font-size: inherit; }
.install-panel .p { color: var(--accent); user-select: none; -webkit-user-select: none; }
.install-panel .copy { position: absolute; top: 0.625rem; right: 0.625rem; color: var(--ink-soft); }

.install-meta { margin: var(--space-3) 0 0; font-size: var(--text-xs); line-height: 1.6; color: var(--ink-soft); }

.closing-cta { margin-top: var(--space-7); }

.closing-license { max-width: 52ch; margin: var(--space-6) 0 0; font-size: var(--text-sm); color: var(--ink-soft); }
.closing-license code { font-size: 0.9em; }

/* Footer */

.footer { border-top: 1px solid var(--line); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-7);
  padding-block: var(--space-7);
  font-size: var(--text-sm);
}

.footer nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.footer nav a { color: var(--ink-soft); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.footer-made { margin: 0 0 0 auto; color: var(--ink-soft); }

@media (max-width: 640px) {
  .footer-made { margin-left: 0; width: 100%; }
}

/* Reveal on scroll; without JavaScript everything is simply shown */

.js .rise {
  opacity: 0;
  transform: translateY(var(--reveal-shift));
  transition: opacity var(--dur-enter) var(--ease-out-quart), transform var(--dur-enter) var(--ease-out-quart);
  transition-delay: var(--delay, 0s);
}

.js .rise.in { opacity: 1; transform: none; }

/* 404 */

.notfound { padding-block: var(--space-10); text-align: center; }
.notfound .display { margin-inline: auto; }
.notfound .lede { margin-inline: auto; max-width: 40ch; }
.notfound .hero-cta { margin-top: var(--space-7); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}
