@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* Design source: Figma "Tiny Notes — Brand", page "Website".
   Near-neutral greys, jade as the one accent. Yuzu means one thing everywhere: the key. */

:root {
  --bg: #f5f6f3;
  --surface: #ffffff;
  --well: #f0f2ee;
  --line: #dde2dc;
  --ink: #14201b;
  --muted: #56635d;
  --jade: #17805e;
  --jade-press: #0e5c43;
  --on-jade: #ffffff;
  --ember: #a93f27;
  --ember-wash: rgba(169, 63, 39, 0.1);
  --yuzu: #dfea6a;
  --on-yuzu: #1d2a05;
  --shadow: rgba(20, 32, 27, 0.14);

  /* The "what our server receives" panel is dark in both themes. */
  --wire: #14201b;
  --wire-ink: #e6ece8;
  --wire-muted: #93a39b;
  --wire-line: #2c3a34;
  --wire-cipher: #7fe0b8;

  --sans: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  /* Fluid scale: sizes grow with the viewport between a phone and a desktop. */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --gap: clamp(1rem, 2.2vw, 1.5rem);
  --pad: clamp(1.1rem, 2.4vw, 1.75rem);
  --section: clamp(4rem, 9vw, 7rem);
  --radius: clamp(1.1rem, 1.8vw, 1.5rem);
  --radius-s: 0.85rem;
  --text-s: clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
  --text-m: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --text-l: clamp(1.0625rem, 0.99rem + 0.4vw, 1.1875rem);
  --text-xl: clamp(1.25rem, 1.12rem + 0.7vw, 1.625rem);
  --text-2xl: clamp(1.875rem, 1.4rem + 2.2vw, 2.75rem);
  --text-hero: clamp(2.5rem, 1.35rem + 4.9vw, 4.75rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1312;
    --surface: #171c1a;
    --well: #111615;
    --line: #29302d;
    --ink: #eef2ef;
    --muted: #9aa6a0;
    --jade: #3fcf9e;
    --jade-press: #34b98c;
    --on-jade: #062a1e;
    --ember: #ff9a80;
    --ember-wash: rgba(255, 154, 128, 0.12);
    --shadow: rgba(0, 0, 0, 0.55);

    --wire: #0a0d0c;
    --wire-muted: #8a9891;
    --wire-line: #29302d;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-m);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
pre {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
}

.mono {
  font-family: var(--mono);
  font-size: var(--text-s);
}

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

.key-mark {
  padding: 0.1em 0.45em;
  border-radius: 0.4em;
  background: var(--yuzu);
  color: var(--on-yuzu);
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Layout */

.wrap {
  width: min(100% - 2 * var(--gutter), 70rem);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-l);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.topnav {
  display: flex;
  gap: clamp(0.9rem, 3vw, 1.75rem);
  font-weight: 500;
}

.topnav a,
.btn-ghost {
  padding-block: 0.35rem;
  text-decoration: underline transparent;
  text-underline-offset: 0.35em;
  transition: text-decoration-color 0.15s;
}

.topnav a:hover,
.btn-ghost:hover {
  text-decoration-color: currentColor;
}

/* Hero: the pitch and the live server view on one side, the note on the other. */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-block: clamp(2.25rem, 6vw, 4.5rem) 0;
}

.intro {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
}

h1 {
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

/* The second line thins out, the way the note does. */
.melt {
  display: block;
  background: linear-gradient(90deg, var(--ink) 15%, color-mix(in srgb, var(--ink) 32%, transparent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 52ch;
  font-size: var(--text-l);
  color: var(--muted);
}

.card {
  container: card / inline-size;
  padding: var(--pad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1.5rem 3rem -1.75rem var(--shadow);
}

.wire {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  border: 1px solid var(--wire-line);
  border-radius: clamp(1rem, 1.6vw, 1.25rem);
  background: var(--wire);
  color: var(--wire-ink);
}

.wire-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wire h2 {
  font-size: var(--text-l);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wire-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-s);
  font-weight: 500;
  color: var(--wire-muted);
}

.wire-live-tag::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--wire-cipher);
}

.wire-cipher {
  min-height: 3.3em;
  max-height: 9.9em;
  overflow: hidden;
  color: var(--wire-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.wire-cipher.wire-live {
  color: var(--wire-cipher);
  font-family: var(--mono);
  font-size: var(--text-s);
}

.wire-key {
  padding-top: 1rem;
  border-top: 1px solid var(--wire-line);
  line-height: 1.7;
}

/* Trays: tabs, expiry choices */

.tabs,
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--well);
}

.card-head {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--pad);
}

.card-head .tabs {
  flex: 1;
}

.expand {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--well);
  color: var(--muted);
  transition:
    color 0.15s,
    border-color 0.15s;
}

.expand:hover {
  border-color: var(--jade);
  color: var(--ink);
}

.expand svg {
  width: 1.15rem;
  height: 1.15rem;
}

.expand .icon-collapse,
.expanded .expand .icon-expand {
  display: none;
}

.expanded .expand .icon-collapse {
  display: block;
}

/* Expanded: the card takes the whole window under the header, which keeps the logo in view. */

.expanded body {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

.expanded .intro,
.expanded .section,
.expanded .footer {
  display: none;
}

.expanded main {
  flex: 1;
  display: flex;
  width: calc(100% - 2 * var(--gutter));
  min-height: 0;
}

.expanded .hero {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 0;
  padding-block: var(--gap);
}

.expanded .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}

/* Cards without a main pane (find a note, link ready, gone) stay a readable width. */
.expanded .card > form:not(.split),
.expanded .card > .result:not(.split) {
  width: min(100%, 40rem);
  margin-inline: auto;
}

/* Cards with one (write, open) lay out as panes: Figma "Expanded / ..." frames. */
.expanded .split {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-height: 0;
}

.expanded .pane-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 14rem;
}

.expanded .pane-main .field {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.expanded textarea.input {
  flex: 1;
  padding: 1.1rem 1.25rem;
  resize: none;
}

.expanded .note-content {
  flex: 1 1 0;
  max-height: none;
  padding: 1.25rem 1.4rem;
}

.note-stage {
  flex: 1;
  align-self: stretch;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  padding: var(--pad);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-s);
  background: var(--well);
  text-align: center;
}

.note-stage h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.note-stage p {
  max-width: 34ch;
  color: var(--muted);
}

/* With room to spare, settings and the main button move into a side panel. */
@container card (min-width: 46rem) {
  .expanded .split {
    display: grid;
    grid-template: 'main top' auto 'main bottom' 1fr / minmax(0, 1fr) clamp(17rem, 30%, 25rem);
    gap: 0 var(--gap);
  }

  .expanded .pane-main {
    grid-area: main;
  }

  .expanded .pane-top,
  .expanded .pane-bottom {
    padding: var(--pad);
    border: 1px solid var(--line);
    background: var(--well);
  }

  .expanded .pane-top {
    grid-area: top;
    padding-bottom: 0;
    border-bottom: 0;
    border-radius: var(--radius-s) var(--radius-s) 0 0;
  }

  .expanded .pane-bottom {
    grid-area: bottom;
    justify-content: flex-end;
    border-top: 0;
    border-radius: 0 0 var(--radius-s) var(--radius-s);
  }

  /* Controls sit on the panel's tint, so they take the lighter surface. */
  .expanded .pane-top :is(.segmented, .stats > div, .stepper button, .stepper input, .input) {
    background: var(--surface);
  }

  .expanded .pane-top .segmented input:checked + span {
    background: var(--well);
  }
}

.tabs a,
.segmented span {
  display: block;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.tabs a,
.segmented label {
  flex: 1 1 auto;
}

.segmented span {
  padding: 0.5rem 0.5rem;
  font-size: var(--text-s);
}

.tabs a:hover,
.segmented span:hover {
  color: var(--ink);
}

.tabs a[aria-current],
.segmented input:checked + span {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.segmented label,
.who-tabs label {
  margin: 0;
  cursor: pointer;
}

.segmented input,
.who-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented input:focus-visible + span,
.who-tabs input:focus-visible + span {
  outline: 2px solid var(--jade);
  outline-offset: 2px;
}

/* Forms */

.field {
  margin-bottom: 1.25rem;
}

label,
.label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.counter {
  font-size: var(--text-s);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.counter-over,
.field-error {
  color: var(--ember);
}

.field-error {
  margin-top: 0.5rem;
  font-size: var(--text-s);
}

.input {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--well);
  transition: border-color 0.15s;
}

.input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.input:hover {
  border-color: color-mix(in srgb, var(--jade) 50%, var(--line));
}

.input:focus-visible {
  outline-offset: 0;
  border-color: var(--jade);
}

textarea.input {
  min-height: 9.25em;
  resize: vertical;
  line-height: 1.6;
}

/* Size meter under the textarea */
progress {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 3px;
  background: var(--line);
  appearance: none;
  -webkit-appearance: none;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background: var(--line);
}

progress::-webkit-progress-value {
  background: var(--jade);
  transition: width 0.15s;
}

progress::-moz-progress-bar {
  background: var(--jade);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}

.stepper button,
.stepper input {
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--well);
  color: var(--ink);
}

.stepper button {
  width: 2.75rem;
  font-size: 1.25rem;
  line-height: 1;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.stepper button:hover {
  background: var(--surface);
  border-color: var(--jade);
}

.stepper button:active {
  translate: 0 1px;
}

.stepper input {
  width: 3.4rem;
  text-align: center;
  font-weight: 600;
  appearance: textfield;
  -moz-appearance: textfield;
}

.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.stepper span {
  margin-left: 0.4rem;
}

.custom-expiry {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.segmented:has(input[value='custom']:checked) + .custom-expiry {
  display: grid;
}

.hint {
  font-size: var(--text-s);
  color: var(--muted);
}

#expiry-readout {
  margin-bottom: 1rem;
}

.btn + .hint {
  margin: 0.9rem 0 0;
}

.alert {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-s);
  background: var(--ember-wash);
  color: var(--ember);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-s);
  font-weight: 600;
  white-space: nowrap;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--jade);
  color: var(--on-jade);
  transition:
    background 0.15s,
    translate 0.08s;
}

.btn-primary:hover:not(:disabled) {
  background: var(--jade-press);
}

.btn-primary:active:not(:disabled) {
  translate: 0 1px;
}

.btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-quiet {
  border: 1px solid var(--line);
  transition: border-color 0.15s;
}

.btn-quiet:hover {
  border-color: var(--jade);
}

.btn-ghost {
  padding-inline: 0.25rem;
  font-weight: 500;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--ink);
}

/* Result states */

.result,
.result > [class^='pane-'],
.pane-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.result > [class^='pane-'],
.pane-bottom > * {
  align-self: stretch;
}

.pane-bottom > .alert {
  margin: 0;
}

/* The locked-note placeholder only has a place in the expanded layout. */
.stage-only {
  display: none !important;
}

.expanded .stage-only {
  display: flex !important;
}

.result h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.result .btn-block,
.result .btn-ghost,
.result .alert,
.stats,
.link,
.note-content {
  align-self: stretch;
}

.result > .alert {
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--well);
  font-size: var(--text-s);
  font-weight: 500;
}

.badge::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--yuzu);
}

.badge-success::before {
  background: var(--jade);
}

.badge-muted::before {
  background: var(--muted);
}

.link,
.note-content {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--well);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.link .key-mark {
  font-weight: 400;
}

.note-content {
  max-height: 20rem;
  overflow: auto;
  font-family: var(--mono);
  font-size: var(--text-s);
  white-space: pre-wrap;
  animation: unlock 0.3s ease-out;
}

/* The one moment that moves on its own: the note arriving once it is unlocked. */
@keyframes unlock {
  from {
    opacity: 0;
    translate: 0 0.25rem;
  }
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: 0.6rem;
}

.stats > div {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--well);
}

.stats dt {
  font-size: var(--text-s);
  color: var(--muted);
}

.stats dd {
  font-size: var(--text-l);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Sections */

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

.section-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-lede {
  max-width: 56ch;
  margin-top: 0.75rem;
  font-size: var(--text-l);
  color: var(--muted);
}

/* How it works: the locked note's route, and the key's separate lane beneath it. */

.diagram {
  container-type: inline-size;
  display: grid;
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
}

.lane {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
}

.stop {
  flex: 1 1 0;
  padding: var(--pad);
  border: 1px solid var(--line);
  border-radius: clamp(1rem, 1.5vw, 1.15rem);
  background: var(--surface);
}

.stop-where {
  margin-bottom: 0.5rem;
  font-size: var(--text-s);
  font-weight: 500;
  color: var(--jade);
}

.stop h3 {
  margin-bottom: 0.5rem;
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.stop p:last-child,
.facts p {
  color: var(--muted);
}

.hop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: var(--text-s);
  color: var(--muted);
  white-space: nowrap;
}

.hop::after {
  content: '→';
  font-size: 1.35rem;
  line-height: 1.1;
}

.key-lane {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding: 0.85rem 1.1rem;
  border: 1.5px dashed var(--yuzu);
  border-radius: clamp(1rem, 1.5vw, 1.15rem);
}

.key-lane .key-mark {
  flex: none;
}

.key-lane > :nth-child(2) {
  flex: 1;
}

/* When the row gets tight, the route runs top to bottom instead. */
@container (max-width: 46rem) {
  .lane {
    flex-direction: column;
  }

  .hop {
    flex-direction: row;
    gap: 0.5rem;
  }

  .hop::after {
    content: '↓';
  }

  .key-lane {
    flex-wrap: wrap;
  }

  .key-lane > :nth-child(2) {
    flex-basis: 100%;
  }

  .key-end {
    display: none;
  }
}

/* Who can read your note: people on one side, the answer on the other. */

.who {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.who-tabs {
  flex: 1 1 15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.who-tabs span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-weight: 500;
  color: var(--muted);
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.who-tabs span::after {
  content: '';
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ember);
}

.who-tabs .reads span::after {
  background: var(--jade);
}

.who-tabs span:hover {
  color: var(--ink);
}

.who-tabs input:checked + span {
  border-color: var(--line);
  background: var(--well);
  color: var(--ink);
}

.who-panel {
  flex: 3 1 22rem;
  display: none;
  flex-wrap: wrap;
  align-content: start;
  gap: 1.1rem clamp(1.25rem, 3vw, 2.5rem);
  padding: var(--pad);
  border-radius: var(--radius-s);
  background: var(--well);
}

.who:has(input[value='recipient']:checked) [data-who='recipient'],
.who:has(input[value='server']:checked) [data-who='server'],
.who:has(input[value='database']:checked) [data-who='database'],
.who:has(input[value='network']:checked) [data-who='network'] {
  display: flex;
}

.who-panel > div {
  flex: 1 1 11rem;
}

.who-panel > div:last-child {
  flex: 2.5 1 17rem;
}

.verdict {
  flex-basis: 100%;
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.verdict-yes {
  color: var(--jade);
}

.verdict-no {
  color: var(--ember);
}

.who-panel h3 {
  margin-bottom: 0.4rem;
  font-size: var(--text-s);
  font-weight: 400;
  color: var(--muted);
}

.who-panel li + li {
  margin-top: 0.25rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0 clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
}

.facts li {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.facts h3 {
  margin-bottom: 0.35rem;
  font-size: var(--text-l);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: var(--section);
  padding-block: 1.75rem 2.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-s);
  color: var(--muted);
}

.footer .brand {
  color: var(--ink);
}

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

  * {
    animation: none !important;
    transition: none !important;
  }
}
