@font-face { font-family: 'Red Hat Display'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/red-hat-display-800-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Red Hat Display'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/red-hat-display-800-latin.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: 'Red Hat Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/red-hat-text-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/red-hat-text-400-latin.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: 'Red Hat Text'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/red-hat-text-500-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Red Hat Text'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/red-hat-text-500-latin.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; }

/* Colours taken from the subject: office paper, stamp-ink blue, the grey-green board of a paper spis folder. */
:root {
  --bg: #f2f3f1;
  --surface: #e4e7e2;
  --ink: #14171a;
  --muted: #474d53;
  --accent: #1f4fb8;
  --accent-deep: #183f94;
  --accent-ink: #ffffff;
  --field-1: #c9d1c4;
  --field-2: #d6dff2;
  --field-3: #e4e7e2;
  --paper: #ffffff;

  --font-display: "Red Hat Display", system-ui, sans-serif;
  --font-text: "Red Hat Text", system-ui, sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  --step-head: clamp(2.25rem, 1rem + 4.2vw, 4.75rem);
  --step-display: clamp(2.75rem, 13.5vw, 14rem);

  --m: clamp(16px, 2vw, 32px);
  --gap: 24px;
  --section: clamp(96px, 12vw, 200px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.55 var(--font-text);
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
b, strong { font-weight: 500; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.h-head { font-size: var(--step-head); }

/* Buttons: one shape, square corners. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  font: 500 var(--step-body)/1 var(--font-text);
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--accent); color: var(--accent-ink); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-deep); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Top: no bar, wordmark and links in the corners. */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 24px var(--m);
  font-size: var(--step-small);
}
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: var(--step-body); letter-spacing: -0.02em; text-decoration: none; }
.top-nav { display: flex; gap: 28px; }
.top-nav a { text-decoration: none; padding: 6px 0; }
.top-nav a:hover { text-decoration: underline; }
.top-nav-demo { font-weight: 500; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding: 0 var(--m) 28px;
}
.hero-title {
  align-self: start;
  margin-top: max(15svh, 96px);
  font-size: var(--step-display);
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; }
.line-right { text-align: right; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: end; gap: var(--gap);
}
.hero-lead { max-width: 44ch; font-size: var(--step-lead); line-height: 1.3; }

/* Why now: lead line over four columns */
.why { padding: var(--section) var(--m) 96px; }
.why-lead { margin-top: 48px; font-size: var(--step-lead); line-height: 1.3; max-width: 62ch; }
.why-cols {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
  align-items: start;
}
.why-cols p { color: var(--muted); font-size: var(--step-body); line-height: 1.5; }
.why-cols b, .why-cols strong { color: var(--ink); }

/* Check: sentences with switches */
.check { padding: 0 0 0; }
.check-title { padding: 0 var(--m); }
.check-intro { padding: 16px var(--m) 40px; font-size: var(--step-lead); color: var(--muted); }
.check-bands { margin: 0; }
.band {
  display: flex; flex-direction: column; justify-content: center;
  min-height: max(20vh, 132px);
  padding: 24px var(--m);
  transition: background-color 280ms var(--ease-out);
}
.band-label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--gap); cursor: pointer; }
.band-sentence {
  display: block;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  font-size: var(--step-lead);
  color: var(--muted);
  transition: color 200ms;
}
.band-note {
  display: block; max-height: 0; overflow: hidden; opacity: 0;
  font-size: var(--step-body); color: var(--ink);
  transition: max-height 320ms var(--ease-out), opacity 200ms, margin 320ms var(--ease-out);
}
.band.is-on .band-sentence { color: var(--ink); }
.band.is-on .band-note { max-height: 6em; opacity: 1; margin-top: 8px; }
.band.is-on[data-tone="1"] { background: var(--field-1); }
.band.is-on[data-tone="2"] { background: var(--field-2); }
.band.is-on[data-tone="3"] { background: var(--field-3); }
.band-label:hover .band-sentence { color: var(--ink); }

/* The product's own toggle */
.switch {
  appearance: none; -webkit-appearance: none; margin: 0;
  position: relative; flex: none;
  width: 76px; height: 44px; border-radius: 22px;
  background: #b9bdb7; cursor: pointer;
  transition: background-color 200ms;
}
.switch::after {
  content: ""; position: absolute; top: 5px; left: 5px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--paper);
  transition: transform 240ms var(--ease-out);
}
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(32px); }

.check-result {
  background: var(--accent); color: var(--accent-ink);
  padding: 56px var(--m) 64px;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px var(--gap);
}
.check-answer { grid-column: 1 / span 8; font-size: var(--step-lead); line-height: 1.3; font-weight: 500; }
.check-days { grid-column: 9 / span 4; font-size: var(--step-lead); line-height: 1.3; }
.check-days strong { font-weight: 500; }
.check-fine { grid-column: 1 / -1; font-size: var(--step-small); opacity: 0.85; }

/* Photo bands */
.band-photo { margin: var(--section) 0 0; }
.band-photo-frame { overflow: hidden; height: min(78svh, 56vw); }
.band-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.band-photo-short .band-photo-frame { height: min(60svh, 44vw); }
.drift { transform: scale(1.08); will-change: transform; }

/* Features: capabilities at poster scale */
.features { padding: var(--section) var(--m) 0; }
.poster-head { font-size: var(--step-head); color: var(--muted); padding-bottom: 0.1em; }
.poster-item summary {
  list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  font-size: var(--step-head);
  padding: 0.04em 0 0.1em;
  display: flex; align-items: baseline; gap: 0.35em;
  transition: color 160ms, transform 240ms var(--ease-out);
}
.poster-item summary::-webkit-details-marker { display: none; }
.poster-item summary::after {
  content: "+"; font-weight: 800; color: var(--accent);
  transition: transform 240ms var(--ease-out);
}
.poster-item[open] summary::after { transform: rotate(45deg); }
.poster-item summary:hover { color: var(--accent); }
.poster-body {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  padding: 16px 0 48px;
  align-items: start;
}
.poster-body > p { grid-column: 1 / span 5; font-size: var(--step-body); max-width: 52ch; }
.poster-body > .ui, .poster-body > .poster-photo { grid-column: 7 / span 6; }
.poster-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.features-more { margin-top: 56px; font-size: var(--step-lead); line-height: 1.3; max-width: 40ch; margin-left: auto; }

/* Interface fragments, drawn after the product's own screens */
.ui {
  background: var(--paper); color: var(--ink);
  font: 400 var(--step-small)/1.4 var(--font-text);
  border: 1px solid #d5d9d3; /* taste-skill-ignore: data-ui fragment, form field or hidden honeypot */
  border-radius: 6px;
  overflow: hidden;
}
.ui-bar {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: #f6f7f5; border-bottom: 1px solid #e1e4df; /* taste-skill-ignore: data-ui fragment, form field or hidden honeypot */
  font-weight: 500;
}
.ui-bar span + span { color: var(--muted); font-weight: 400; }
.ui-row, .ui-tree {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-bottom: 1px solid #eceee9; /* taste-skill-ignore: data-ui fragment, form field or hidden honeypot */
}
.ui-row:last-child, .ui-tree:last-child { border-bottom: 0; }
.ui .is-selected { background: #eaf0fb; box-shadow: inset 3px 0 0 var(--accent); } /* taste-skill-ignore: data-ui fragment, form field or hidden honeypot */
.ui-src { width: 9.5em; flex: none; color: var(--muted); }
.ui-time { width: 3.5em; flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.ui-what { flex: 1; min-width: 0; }
.ui-tag { flex: none; padding: 3px 9px; border-radius: 4px; background: #eef0ec; }
.ui-tag.ok { background: #dcefe0; color: #1d5a2c; }
.ui-tree { justify-content: space-between; }
.ui-tree span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.ui-indent { padding-left: 36px; }
.ui-file dl { margin: 0; padding: 4px 16px 10px; }
.ui-file dl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eceee9; } /* taste-skill-ignore: data-ui fragment, form field or hidden honeypot */
.ui-file dl div:last-child { border-bottom: 0; }
.ui-file dt { color: var(--muted); }
.ui-file dd { margin: 0; }

/* Deploy: itinerary on a slip */
.deploy {
  margin-top: var(--section);
  padding: var(--section) var(--m);
  background: var(--field-1);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  align-items: start;
}
.deploy-text { grid-column: 1 / span 5; }
.deploy-text > p:not(.caption) { margin-top: 28px; max-width: 34ch; font-size: var(--step-body); }
.deploy-photo { margin-top: 48px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slip {
  grid-column: 7 / span 5;
  background: var(--paper);
  padding: 32px 32px 56px;
  font-size: var(--step-body); font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 76% calc(100% - 14px), 72% 100%, 68% calc(100% - 14px), 64% 100%, 60% calc(100% - 14px), 56% 100%, 52% calc(100% - 14px), 48% 100%, 44% calc(100% - 14px), 40% 100%, 36% calc(100% - 14px), 32% 100%, 28% calc(100% - 14px), 24% 100%, 20% calc(100% - 14px), 16% 100%, 12% calc(100% - 14px), 8% 100%, 4% calc(100% - 14px), 0 100%);
}
.slip-group + .slip-group { margin-top: 28px; }
.slip-when { font-weight: 500; margin-bottom: 6px; }
.slip-row { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.slip-row::after { content: ""; order: 1; flex: 1 1 24px; min-width: 24px; border-bottom: 4px dotted #9aa096; transform: translateY(-0.3em); }
.slip-row span:last-child { order: 2; flex: none; color: var(--muted); }
.slip-total {
  display: flex; justify-content: space-between; align-items: center;
  margin: 32px -32px 0; padding: 0 32px; min-height: 44px;
  background: var(--ink); color: var(--paper); font-weight: 500;
}
.deploy-partners { grid-column: 7 / span 5; margin-top: 32px; font-size: var(--step-body); }

/* FAQ: wide heading, indented questions */
.faq { padding: var(--section) var(--m); }
.faq-title { font-size: var(--step-head); }
.faq-list {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap);
}
.faq-list details { grid-column: 5 / span 8; margin-bottom: 12px; padding: 12px 24px; margin-left: -24px; margin-right: -24px; transition: background-color 200ms; }
.faq-list details[open] { background: var(--surface); padding-bottom: 24px; }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: var(--step-lead); line-height: 1.25;
  padding: 12px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-4px);
  transition: transform 240ms var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { max-width: 52ch; font-size: var(--step-body); margin-top: 4px; }

/* Demo form */
.demo {
  padding: var(--section) var(--m);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  align-items: start;
}
.demo-side { grid-column: 1 / span 5; }
.demo-prompt { margin-top: 28px; font-size: var(--step-lead); line-height: 1.3; font-weight: 500; max-width: 26ch; }
.demo-prompt span { color: var(--muted); }
.demo-photo { margin-top: 48px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.demo-form {
  grid-column: 7 / span 6;
  background: var(--paper);
  padding: clamp(24px, 3vw, 48px);
}
.field { margin-bottom: 20px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field label { display: block; font-weight: 500; margin-bottom: 8px; font-size: var(--step-body); }
.opt { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 var(--step-body)/1.4 var(--font-text); color: var(--ink);
  background: var(--bg); border: 1px solid #c3c8c1; border-radius: 0;
  transition: border-color 160ms, box-shadow 160ms;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8d938b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); } /* taste-skill-ignore: data-ui fragment, form field or hidden honeypot */
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: var(--step-small); margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.form-note { font-size: var(--step-small); color: var(--muted); margin: 4px 0 16px; max-width: 60ch; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: data-ui fragment, form field or hidden honeypot */
.demo-form .btn { width: 100%; margin-top: 8px; }
.form-status { margin-top: 16px; font-size: var(--step-body); }
.form-status.is-ok { background: #dcefe0; color: #1d5a2c; padding: 16px; font-weight: 500; }
.form-status.is-error { background: #fbe4e2; color: #8c1d18; padding: 16px; }

/* Footer: contact as the headline */
.foot {
  background: var(--accent); color: var(--accent-ink);
  min-height: 90svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 40px var(--m) 28px;
  font-size: var(--step-small);
}
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.foot-top p:nth-child(1) { grid-column: 1 / span 3; }
.foot-top p:nth-child(2) { grid-column: 4 / span 5; }
.foot-up { grid-column: 12; justify-self: end; align-self: start; }
.foot-mail {
  align-self: end;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95;
  font-size: var(--step-display);
  text-decoration: none;
  margin: 64px 0 40px;
  transition: opacity 160ms;
}
.foot-mail span { display: block; }
.foot-mail:hover { text-decoration: underline; text-decoration-thickness: 0.05em; }
.foot-meta { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: var(--gap); align-items: start; }
.foot-meta p:last-child { text-align: right; }
.foot-credits { opacity: 0.9; }

/* Entrances (only when the script runs; content stays visible without it) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-title .line > span { transform: translateY(105%); transition: transform 900ms var(--ease-out); }
.js .hero-title .line + .line > span { transition-delay: 110ms; }
.js .hero-foot { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out) 500ms, transform 600ms var(--ease-out) 500ms; }
.js .is-loaded .hero-title .line > span, .js.is-loaded .hero-title .line > span { transform: none; }
.js.is-loaded .hero-foot { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; transition-delay: 0ms !important; animation: none !important; }
  .js .reveal, .js .hero-foot, .js .hero-title .line > span { opacity: 1; transform: none; }
  .drift { transform: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .why-cols { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .poster-body > p { grid-column: 1 / -1; }
  .poster-body > .ui, .poster-body > .poster-photo { grid-column: 1 / -1; max-width: 640px; }
  .deploy-text, .slip, .deploy-partners { grid-column: 1 / -1; }
  .slip { max-width: 520px; }
  .faq-list details { grid-column: 1 / -1; margin-left: calc(-1 * var(--m)); margin-right: calc(-1 * var(--m)); padding-left: var(--m); padding-right: var(--m); }
  .demo-side, .demo-form { grid-column: 1 / -1; }
  .demo-photo { display: none; }
}

/* Phone: its own composition */
@media (max-width: 640px) {
  :root { --gap: 20px; }
  .top { padding: 20px 16px; }
  .top-nav a:not(.top-nav-demo) { display: none; }
  .hero { padding: 0 16px 20px; }
  .hero-title { margin-top: 22svh; font-size: 14vw; line-height: 0.95; }
  .line-right { text-align: left; }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 20px; }
  .hero-lead { font-size: var(--step-body); }
  .btn { width: 100%; }
  .why { padding-top: 96px; }
  .why-lead { margin-top: 28px; }
  .why-cols { grid-template-columns: 1fr; margin-top: 40px; row-gap: 28px; }
  .band { min-height: 132px; padding: 20px 16px; }
  .check-result { grid-template-columns: 1fr; padding: 40px 16px 48px; }
  .check-answer, .check-days, .check-fine { grid-column: 1; }
  .band-photo-frame { height: 62svh; }
  .band-photo-short .band-photo-frame { height: 44svh; }
  .ui-src { width: auto; display: none; }
  .ui-file dl div { grid-template-columns: 8em 1fr; }
  .features-more { margin-left: 0; }
  .slip { padding: 24px 20px 48px; }
  .slip-total { margin: 28px -20px 0; padding: 0 20px; }
  .faq-list { margin-top: 40px; }
  .faq-list details { margin-left: -16px; margin-right: -16px; padding: 8px 16px; }
  .field-pair { grid-template-columns: 1fr; }
  .demo-form { margin: 0 -16px; padding: 24px 16px; }
  .foot-top { grid-template-columns: 1fr; row-gap: 16px; }
  .foot-top p:nth-child(1), .foot-top p:nth-child(2), .foot-up { grid-column: 1; justify-self: start; }
  .foot-mail { font-size: 14vw; }
  .foot-meta { grid-template-columns: 1fr; }
  .foot-meta p:last-child { text-align: left; }
}

/* Privacy and 404 pages */
.top-static { position: static; }
.legal { padding: 64px var(--m) var(--section); max-width: calc(68ch + 2 * var(--m)); }
.legal-lead { margin-top: 28px; font-size: var(--step-lead); line-height: 1.3; }
.legal h2 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; margin: 48px 0 12px; }
.legal h2 ~ p + p:not(.legal-date) { margin-top: 12px; }
.legal-date { margin-top: 48px; color: var(--muted); font-size: var(--step-small); }
.foot-short { min-height: 0; grid-template-rows: auto auto; }
.foot-short .foot-mail { margin-bottom: 0; }
@media (max-width: 640px) { .foot-short .foot-mail { font-size: 14vw; } }
