/* Hallmark · job: enquire · shape: Marquee Hero, opened by a live ASCII car · genre: editorial · theme: AREX (custom, the brand's own black and red)
 * hero: Stage, the headline across the container, one sentence and two actions under it, the car crossing the foot of the screen · nav: edge-aligned, the mark and wordmark at the left, one action at the right · footer: a mast, the mark over the legal line · imagery: the ASCII car built live in the hero, no photographs · signature: the car drawn in characters, wheels turning, road running under it
 * axes: dark/condensed-caps/red · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V5 · weakest: S, the offer is one of many importers, so the ASCII car and the four-port caption carry the specificity the copy cannot */
/* Hallmark · hero-review: in-thread · fix · 3 findings · 2 resolved, 1 partial (the scene is decorative on a phone; the caption carries the route) · finish-review: in-thread · ship · 2 findings · 2 resolved · gap: none */

:root {
  color-scheme: light dark;

  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 104px;
  --space-4xl: 148px;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.3125rem;
  --text-title: clamp(1.25rem, 0.6vw + 1rem, 1.625rem);
  --text-section: clamp(2rem, 2.6vw + 1rem, 3.4rem);
  --text-display: clamp(2.5rem, 6vw + 0.5rem, 5.9rem);

  --color-paper: oklch(96% 0.008 82);
  --color-paper-2: oklch(92% 0.011 82);
  --color-ink: oklch(19% 0.013 50);
  --color-ink-2: oklch(33% 0.014 48);
  --color-muted: oklch(47% 0.012 50);
  --color-rule: oklch(83% 0.013 82);
  --color-rule-2: oklch(74% 0.015 80);

  --color-dark: oklch(14% 0.014 40);
  --color-dark-2: oklch(18.5% 0.016 40);
  --color-dark-3: oklch(23% 0.016 38);
  --color-on-dark: oklch(95% 0.008 80);
  --color-on-dark-muted: oklch(72% 0.012 70);
  --color-rule-dark: oklch(31% 0.014 42);
  --color-rule-quiet: oklch(52% 0.012 45);

  --color-accent: oklch(55% 0.208 27);
  --color-accent-2: oklch(48% 0.19 27);
  --color-accent-ink: oklch(98% 0.004 80);
  --color-focus: oklch(62% 0.19 27);

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1400px;
  --gutter: clamp(20px, 4vw, 60px);
  --gap: var(--space-xl);

  --rule-hair: 1px;
  --radius: 2px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 180ms;

  --z-nav: 300;
  --z-skip: 400;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-color: var(--color-rule-dark) var(--color-dark);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-dark);
  color: var(--color-on-dark);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}

p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }

::selection { background: var(--color-accent); color: var(--color-accent-ink); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-skip);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-paper);
  color: var(--color-ink);
}
.skip:focus { left: var(--space-xs); top: var(--space-xs); }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: var(--rule-hair) solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out),
              border-color var(--dur-short) var(--ease-out);
}
.btn--solid { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--solid:hover { background: var(--color-accent-2); }
.btn--solid:active { background: var(--color-accent-2); }
.btn--sm { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-xs); }
.btn--quiet { border-color: var(--color-rule-quiet); color: var(--color-on-dark); }
.btn--quiet:hover { border-color: var(--color-on-dark); }
.btn--quiet:active { background: var(--color-dark-2); }
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--color-accent-2);
}
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.textlink {
  padding: 0 0 var(--space-2xs);
  border-bottom: var(--rule-hair) solid currentColor;
  color: var(--color-accent-2);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
}
.textlink:hover { color: var(--color-accent); }
.textlink:active { color: var(--color-accent-2); }

/* top */

.top {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-sm) var(--gutter);
  background: color-mix(in oklch, var(--color-dark) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: var(--rule-hair) solid var(--color-rule-dark);
}

.brand { display: inline-flex; align-items: center; gap: var(--space-sm); }
.brand__mark { width: 30px; height: auto; color: var(--color-on-dark); flex: none; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.top__nav { display: flex; gap: var(--space-lg); }
.top__nav a {
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  transition: color var(--dur-short) var(--ease-out);
}
.top__nav a:hover { color: var(--color-on-dark); }
.top__nav a:active { color: var(--color-accent); }

.top__act { display: flex; align-items: center; gap: var(--space-md); }
.top__phone { font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.top__phone:hover { color: var(--color-accent); }

/* hero */

.hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  background: var(--color-dark);
  color: var(--color-on-dark);
  border-bottom: var(--rule-hair) solid var(--color-rule-dark);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1 {
  max-width: 20ch;
  font-size: var(--text-display);
  font-weight: 500;
  line-height: 1;
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.hero__lede {
  max-width: 40ch;
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--color-on-dark-muted);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* the foot */

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-sm) var(--gutter) var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-on-dark-muted);
  border-top: var(--rule-hair) solid var(--color-rule-dark);
}

/* sections */

.routes,
.process,
.request { background: var(--color-paper); color: var(--color-ink); }

.calc,
.faq { background: var(--color-dark); color: var(--color-on-dark); }

.routes,
.calc,
.process,
.faq,
.request { padding-block: var(--space-3xl); }

.head {
  display: grid;
  gap: var(--space-md);
  max-width: 900px;
  margin-bottom: var(--space-xl);
}
h2 { font-size: var(--text-section); line-height: 1; }
.head__lede {
  max-width: 52ch;
  font-size: var(--text-md);
  color: var(--color-muted);
}
.calc .head__lede,
.faq .head__lede { color: var(--color-on-dark-muted); }
.head__lede a { border-bottom: var(--rule-hair) solid currentColor; }
.head__lede a:hover { color: var(--color-accent); }

/* board */

.board { border-top: var(--rule-hair) solid var(--color-rule); }
.board__item { border-bottom: var(--rule-hair) solid var(--color-rule); }

.board__title { font-size: inherit; }

.board__toggle {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.35fr) 148px 24px;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-xl) 0;
  text-align: left;
  transition: background-color var(--dur-short) var(--ease-out);
}
.board__toggle:hover { background: var(--color-paper-2); }
.board__toggle:active { background: var(--color-rule); }

.board__code {
  font-size: var(--text-sm);
  color: var(--color-accent-2);
  font-variant-numeric: tabular-nums;
}
.board__name {
  font-family: var(--font-display);
  white-space: nowrap;
  font-size: clamp(1.4rem, 2vw, 2rem);
  text-transform: uppercase;
  line-height: 1;
}
.board__focus { font-size: var(--text-sm); color: var(--color-ink-2); }
.board__time { font-size: var(--text-sm); color: var(--color-muted); text-align: right; white-space: nowrap; }

.board__plus {
  position: relative;
  width: 16px;
  height: 16px;
  justify-self: end;
}
.board__plus::before,
.board__plus::after {
  content: "";
  position: absolute;
  background: var(--color-accent);
  transition: transform var(--dur-short) var(--ease-out);
}
.board__plus::before { left: 0; top: 7px; width: 16px; height: 2px; }
.board__plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.board__toggle[aria-expanded="true"] .board__plus::after { transform: scaleY(0); }

.board__body { padding: var(--space-2xs) 0 var(--space-xl); }
.board__summary {
  max-width: 62ch;
  margin-bottom: var(--space-lg);
  font-size: var(--text-md);
  color: var(--color-ink-2);
}

.board__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.board__cols h4 {
  margin-bottom: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-muted);
}
.board__cols p,
.board__cols li { font-size: var(--text-sm); color: var(--color-ink-2); }
.board__cols li { position: relative; padding-left: var(--space-md); margin-bottom: var(--space-xs); }
.board__cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 1px;
  background: var(--color-rule-2);
}

/* calculator */

.calc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--gap);
  align-items: start;
}

.field { display: block; margin-bottom: var(--space-lg); }
.field:last-of-type { margin-bottom: 0; }

.field legend,
.field > label,
.field > span:first-child {
  display: block;
  margin-bottom: var(--space-xs);
  padding: 0;
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}

.seg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: var(--rule-hair) solid var(--color-rule-dark);
}
.seg__btn {
  min-height: 48px;
  padding: 0 var(--space-xs);
  border-right: var(--rule-hair) solid var(--color-rule-dark);
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  transition: background-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out);
}
.seg__btn:last-child { border-right: 0; }
.seg__btn:hover { color: var(--color-on-dark); }
.seg__btn:active { background: var(--color-dark-3); }
.seg__btn.is-active {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 600;
}
.seg__btn.is-active:hover { color: var(--color-accent-ink); }

.money {
  display: flex;
  align-items: baseline;
  gap: var(--space-2xs);
  padding-bottom: var(--space-sm);
  border-bottom: var(--rule-hair) solid var(--color-rule-dark);
}
.money__sign { color: var(--color-accent); font-size: 1.3rem; }
.money input {
  width: 100%;
  border: 0;
  background: none;
  color: var(--color-on-dark);
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.money input:focus { outline: none; }
.money:focus-within { border-bottom-color: var(--color-accent); }

.range {
  width: 100%;
  height: 28px;
  margin: var(--space-2xs) 0 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.range::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0 var(--fill, 10%), var(--color-dark-3) var(--fill, 10%) 100%);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: calc(var(--space-xs) * -1);
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-dark);
}
.range::-moz-range-track { height: 2px; background: var(--color-dark-3); }
.range::-moz-range-progress { height: 2px; background: var(--color-accent); }
.range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid var(--color-dark);
  border-radius: 50%;
  background: var(--color-accent);
}

.range__scale {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-on-dark-muted);
  font-variant-numeric: tabular-nums;
}

.presets { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.preset {
  min-height: 36px;
  padding: 0 var(--space-sm);
  border: var(--rule-hair) solid var(--color-rule-dark);
  border-radius: var(--radius);
  font-size: var(--text-xs);
  color: var(--color-on-dark-muted);
  font-variant-numeric: tabular-nums;
  transition: border-color var(--dur-short) var(--ease-out),
              color var(--dur-short) var(--ease-out);
}
.preset:hover { color: var(--color-on-dark); border-color: var(--color-on-dark-muted); }
.preset:active { background: var(--color-dark-3); }
.preset.is-active {
  border-color: var(--color-accent);
  background: color-mix(in oklch, var(--color-accent) 16%, transparent);
  color: var(--color-on-dark);
}

.check {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--color-accent);
}

.calc__hint {
  max-width: 46ch;
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--color-on-dark-muted);
}

/* the invoice */

.invoice {
  position: relative;
  padding: var(--space-xl);
  background: var(--color-dark-2);
  border: var(--rule-hair) solid var(--color-rule-dark);
}
.invoice::before,
.invoice::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background-image: radial-gradient(circle at 4px 4px, var(--color-dark) 3.5px, transparent 4px);
  background-size: 16px 8px;
  background-repeat: repeat-x;
}
.invoice::before { top: -1px; }
.invoice::after { bottom: -1px; transform: rotate(180deg); }

.invoice__top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: var(--rule-hair) solid var(--color-rule-dark);
  font-size: var(--text-xs);
  color: var(--color-on-dark-muted);
}
.invoice__sum {
  margin: var(--space-lg) 0 var(--space-2xs);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.invoice__approx { color: var(--color-on-dark-muted); }

.invoice__lines { margin-top: var(--space-md); }
.invoice__lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: var(--rule-hair) solid var(--color-rule-dark);
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}
.invoice__lines li span:last-child {
  color: var(--color-on-dark);
  font-variant-numeric: tabular-nums;
}

.invoice__note {
  max-width: 42ch;
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-on-dark-muted);
}

.invoice__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-rule-dark);
}
.invoice__foot > span { font-size: var(--text-sm); color: var(--color-accent-2); }
.invoice__foot .btn { min-height: 48px; padding: 0 var(--space-md); font-size: var(--text-sm); }

/* process */

.steps { border-top: var(--rule-hair) solid var(--color-rule); }
.steps__row {
  display: grid;
  grid-template-columns: 84px minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: var(--gap);
  align-items: baseline;
  padding: var(--space-lg) 0;
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.steps__n {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-accent-2);
  font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: var(--text-title); line-height: 1.1; }
.steps p { font-size: var(--text-sm); color: var(--color-ink-2); }

/* faq */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--gap);
  align-items: start;
}
.faq__head { position: sticky; top: 100px; }
.faq .head__lede { margin-top: var(--space-sm); }

.faq__list { border-top: var(--rule-hair) solid var(--color-rule-dark); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule-dark); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-accent); }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  max-width: 60ch;
  padding: 0 var(--space-xl) var(--space-lg) 0;
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}

/* request */

.request__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--gap);
  align-items: start;
}

.contacts { margin-top: var(--space-xl); }
.contacts li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: var(--space-sm);
  align-items: baseline;
  padding: var(--space-sm) 0;
  border-top: var(--rule-hair) solid var(--color-rule);
  font-size: var(--text-sm);
}
.contacts span:first-child { color: var(--color-muted); }
.contacts a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-rule-2);
}
.contacts a:hover { color: var(--color-accent-2); text-decoration-color: currentColor; }
.contacts li:first-child a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}

.request__form { padding-top: var(--space-xs); }

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.request__form .field > span:first-child { color: var(--color-muted); }

.request__form input[type="text"],
.request__form input[type="email"],
.request__form input[type="tel"],
.request__form select,
.request__form textarea {
  width: 100%;
  min-height: 44px;
  padding: var(--space-sm) 0;
  border: 0;
  border-bottom: var(--rule-hair) solid var(--color-rule-2);
  border-radius: 0;
  background: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-md);
  transition: border-color var(--dur-short) var(--ease-out);
}
.request__form textarea {
  min-height: 112px;
  padding: var(--space-sm) var(--space-sm);
  background: var(--color-paper-2);
  resize: vertical;
}
.request__form input:focus,
.request__form select:focus,
.request__form textarea:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
}
.request__form ::placeholder { color: var(--color-muted); }
.request__form input:disabled,
.request__form select:disabled,
.request__form textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.request__form .errorlist {
  margin: var(--space-2xs) 0 0;
  font-size: var(--text-xs);
  color: var(--color-accent-2);
}

.request__foot {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xs);
}
.request__foot p { max-width: 46ch; font-size: var(--text-xs); color: var(--color-muted); }

.formnote {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border: var(--rule-hair) solid var(--color-accent-2);
  color: var(--color-accent-2);
  font-size: var(--text-sm);
}

/* footer */

.foot {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
  background: var(--color-dark);
  border-top: var(--rule-hair) solid var(--color-rule-dark);
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
}
.foot__brand { display: flex; align-items: center; gap: var(--space-md); }
.foot__mark { width: 38px; height: auto; color: var(--color-on-dark); }
.foot__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.foot__tag { font-size: var(--text-xs); color: var(--color-on-dark-muted); }

.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.foot__links a { font-size: var(--text-sm); color: var(--color-on-dark-muted); }
.foot__links a:hover { color: var(--color-on-dark); }

.foot__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-on-dark-muted);
}
.foot__contact a:hover { color: var(--color-accent); }

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-rule-dark);
  font-size: var(--text-xs);
  color: var(--color-on-dark-muted);
}
.foot__legal span:last-child { max-width: 70ch; }

/* responsive */

@media (max-width: 1100px) {
  .calc__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .request__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .top__nav { display: none; }
  .top__phone { display: none; }
  .board__toggle { grid-template-columns: 40px minmax(0, 1fr) auto 24px; }
  .board__focus { display: none; }
  .board__cols { grid-template-columns: 1fr; }
  .steps__row { grid-template-columns: 48px minmax(0, 1fr); }
  .steps__row p { grid-column: 2; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__contact { align-items: flex-start; }
}

@media (max-width: 700px) {
  :root { --space-3xl: 72px; }
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero__row { align-items: flex-start; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero { gap: var(--space-xl); }
  .pair { grid-template-columns: 1fr; gap: 0; }
  .request__foot { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .request__foot .btn { width: 100%; }
  .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg__btn:nth-child(2) { border-right: 0; }
  .seg__btn:nth-child(-n + 2) { border-bottom: var(--rule-hair) solid var(--color-rule-dark); }
  .board__toggle {
    grid-template-columns: minmax(0, 1fr) auto 20px;
    gap: var(--space-2xs) var(--space-sm);
    padding: var(--space-md) 0;
  }
  .board__code { grid-column: 1; grid-row: 1; }
  .board__name { grid-column: 1; grid-row: 2; }
  .board__time { grid-column: 2; grid-row: 1; font-size: var(--text-xs); }
  .board__plus { grid-column: 3; grid-row: 1 / span 2; }
  .invoice__foot { flex-direction: column; align-items: stretch; }
  .invoice__foot .btn { width: 100%; }
  .contacts li { grid-template-columns: 88px minmax(0, 1fr); }
  .contacts li:first-child a { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .top, .hero__canvas, .skip { display: none !important; }
  body { background: var(--color-paper); color: var(--color-ink); }
}
