/* ==========================================================================
   AGASTYA Global Transport — site styles
   Fonts: Archivo (display), Instrument Sans (body), JetBrains Mono (data)
   ========================================================================== */

/* ---- Fonts (self-hosted) ---- */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("../assets/fonts/archivo-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("../assets/fonts/archivo-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("../assets/fonts/archivo-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: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/instrument-sans-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/instrument-sans-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: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-cyrillic-ext.woff2") format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-cyrillic.woff2") format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-greek.woff2") format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../assets/fonts/jetbrains-mono-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; }

/* Cyrillic (RU version): Archivo & Instrument Sans have no Cyrillic, so RU uses
   Roboto Flex (has a width axis, matches Archivo's expanded display) + Golos Text. */
@font-face { font-family: 'Roboto Flex'; font-style: normal; font-weight: 600 800; font-stretch: 100% 118%; font-display: swap; src: url("../assets/fonts/roboto-flex-cyrillic.woff2") format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Roboto Flex'; font-style: normal; font-weight: 600 800; font-stretch: 100% 118%; font-display: swap; src: url("../assets/fonts/roboto-flex-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: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/golos-text-cyrillic.woff2") format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/golos-text-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; }

/* ---- Tokens: navy & orange palette (from the round logo) ---- */
:root {
  --color-ink: #0E2A5E;
  --color-ink-2: #173A7A;
  --color-ink-3: #2B4C8C;
  --color-amber: #F26A1B;
  --color-amber-deep: #D4560E;
  --color-amber-tint: #FDE3D2;
  --color-paper: #F4F6FA;
  --color-white: #FFFFFF;
  --color-mist: #E9EDF4;
  --color-fog: #D5DBE6;
  --color-stone: #9AA3B5;
  --color-steel: #56627A;
  --color-steel-light: #A6B3CC;
  --color-success: #2E7D5B;
  --color-danger: #B4432F;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-brand: "Archivo", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --pad-x: clamp(16px, 4vw, 40px);
  --pad-y: clamp(56px, 8vw, 96px);
  --header-h: 72px;
}
html[lang="ru"] {
  --font-display: "Roboto Flex", "Archivo", system-ui, sans-serif;
  --font-body: "Golos Text", "Instrument Sans", system-ui, sans-serif;
}
html[lang="ru"] .hero h1 { max-width: 17ch; font-size: clamp(30px, 6vw, 76px); }
/* LV: "komercpārvadājumi" is one long word (~11.5em wide) — keep it inside the screen */
html[lang="lv"] .hero h1 { max-width: 16ch; }
@media (max-width: 600px) {
  html[lang="lv"] .hero h1 { font-size: min(36px, calc((100vw - 40px) / 11.6)); }
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
a { color: var(--color-ink); text-decoration: none; transition: color 160ms var(--ease); }
a:hover { color: var(--color-amber-deep); }
input, textarea, select, button { font: inherit; }
input::placeholder, textarea::placeholder { color: var(--color-stone); }
:focus-visible { outline: 3px solid var(--color-amber); outline-offset: 2px; }
img, svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: var(--pad-y) var(--pad-x); }
.section--card { background: var(--color-white); }
.section--page { background: var(--color-paper); }
.section--dark { background: var(--color-ink); color: var(--color-paper); }
.border-b { border-bottom: 1px solid var(--color-fog); }
.border-t { border-top: 1px solid var(--color-fog); }

/* ---- Type helpers ---- */
.label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--color-steel);
}
.label--amber { color: var(--color-amber); }
.h2 {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; max-width: 24ch; text-wrap: balance;
}
.h2--display { font-stretch: 118%; font-weight: 800; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.01em; max-width: none; }
.muted { color: var(--color-steel); }
.muted-dark { color: var(--color-steel-light); }
.mono { font-family: var(--font-mono); }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-steel); max-width: 60ch; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

/* ---- Buttons (the "lane cut") ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.btn--primary {
  background: var(--color-amber); color: var(--color-ink);
  height: 44px; padding: 0 30px 0 20px; font-size: 15px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn--primary:hover { background: var(--color-amber-deep); color: var(--color-ink); }
.btn--md { height: 48px; padding: 0 32px 0 22px; clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%); }
.btn--lg { height: 52px; padding: 0 36px 0 24px; font-size: 17px; clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%); }
.btn--ghost-light {
  height: 52px; padding: 0 22px; font-size: 17px;
  border: 2px solid var(--color-paper); color: var(--color-paper); background: transparent;
}
.btn--ghost-light:hover { background: var(--color-paper); color: var(--color-ink); }
.btn--outline {
  height: 44px; padding: 0 20px; font-size: 15px;
  border: 2px solid var(--color-ink); color: var(--color-ink); background: transparent;
}
.btn--outline:hover { background: var(--color-ink); color: var(--color-paper); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---- Icons (inline SVG, Lucide) ---- */
.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- Header ---- */
.site-header {
  background: var(--color-white); border-bottom: 1px solid var(--color-fog);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x);
  min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.brand__logo { display: block; border-radius: 50%; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: .28em; text-transform: uppercase; line-height: 1; color: var(--color-amber); }
.brand:hover { color: var(--color-ink); }
.wordmark { font-family: var(--font-brand); font-stretch: 118%; font-weight: 800; font-size: 22px; letter-spacing: .06em; line-height: 1; }
.nav { display: flex; gap: clamp(14px, 2.5vw, 28px); font-family: var(--font-display); font-weight: 700; font-size: 15px; white-space: nowrap; }
.btn--primary, .lang-switch { flex: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid var(--color-fog); }
.lang-switch button {
  border: 0; cursor: pointer; padding: 0 10px; height: 34px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  background: transparent; color: var(--color-steel);
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.lang-switch button:hover { color: var(--color-ink); }
.lang-switch button[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }

@media (max-width: 1080px) {
  .site-header__inner { flex-wrap: wrap; row-gap: 0; }
  .nav {
    order: 3; width: 100%; overflow-x: auto; scrollbar-width: none;
    border-top: 1px solid var(--color-mist); padding: 12px 0; white-space: nowrap;
  }
  .nav::-webkit-scrollbar { display: none; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 520px) {
  .header-actions .btn--primary { display: none; }
  .wordmark { font-size: 19px; }
  .nav { font-size: 14px; gap: 16px; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; }
.hero__mark {
  position: absolute; right: -8vw; top: 50%; transform: translateY(-50%);
  width: clamp(260px, 42vw, 560px); height: auto; opacity: .1; pointer-events: none; overflow: visible;
}
.hero__mark path { transform-box: fill-box; animation: agLane 1100ms var(--ease) both; }
.hero__mark path:nth-child(1) { animation-delay: 100ms; }
.hero__mark path:nth-child(2) { animation-delay: 320ms; }
.hero__mark path:nth-child(3) { animation-delay: 220ms; }
.hero .container { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); display: flex; flex-direction: column; gap: 28px; position: relative; }
.hero__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--color-amber); }
.hero h1 {
  margin: 0; font-family: var(--font-display); font-stretch: 118%; font-weight: 800;
  font-size: clamp(36px, 6vw, 76px); line-height: .98; letter-spacing: -.01em; max-width: 14ch; text-wrap: balance;
}
.hero__sub { margin: 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; max-width: 60ch; color: var(--color-steel-light); text-wrap: pretty; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; padding: 0; list-style: none; }
.chips li {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid var(--color-ink-3); color: var(--color-paper);
}
.rise { animation: agRise 800ms var(--ease) both; }
.rise-1 { animation-delay: 80ms; } .rise-2 { animation-delay: 180ms; } .rise-3 { animation-delay: 300ms; }
.rise-4 { animation-delay: 420ms; } .rise-5 { animation-delay: 540ms; }

@keyframes agLane { from { transform: translateX(-28%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes agRise { from { transform: translateX(-22px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- Cards grids ---- */
.grid { display: grid; gap: 20px; }
.grid--280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.card {
  border: 1px solid var(--color-fog); padding: 28px; display: flex; flex-direction: column;
  transition: border-color 160ms var(--ease);
}
.card:hover { border-color: var(--color-ink); }
.service { gap: 18px; min-height: 240px; }
.service .icon { width: 36px; height: 36px; color: var(--color-ink); stroke-width: 1.75; }
.service__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-steel); }
.service__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.service__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-steel); text-wrap: pretty; }
.next-note { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--color-steel); margin: 0; }
.next-note::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--color-amber); }

/* ---- Fleet ---- */
.vehicle { background: var(--color-white); gap: 22px; }
.vehicle--planned { background: transparent; }
.vehicle__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vehicle__top .icon { width: 44px; height: 44px; color: var(--color-ink); stroke-width: 1.75; }
.tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px 6px 10px; background: var(--color-ink); color: var(--color-paper);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.vehicle--planned .tag { background: var(--color-mist); color: var(--color-steel); }
.vehicle__title { margin: 0; font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 28px; line-height: 1.05; }
.vehicle__model { margin-top: -12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--color-steel); }
.specs { margin: 0; display: flex; flex-direction: column; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--color-fog); font-size: 14px; }
.specs dt { color: var(--color-steel); }
.specs dd { margin: 0; font-family: var(--font-mono); font-size: 13px; text-align: right; }
body.hide-planned .vehicle--planned { display: none; }

/* ---- How we work ---- */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  border-top: 2px solid var(--color-ink); margin: 0; padding: 0; list-style: none;
}
.step { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--color-fog); }
.step__n { font-family: var(--font-mono); font-size: 13px; color: var(--color-amber-deep); }
.step__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; text-wrap: balance; }
.step__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--color-steel); text-wrap: pretty; }
@media (max-width: 540px) {
  .step { border-right: 0; border-bottom: 1px solid var(--color-fog); padding-left: 0; padding-right: 0; }
}

/* ---- Large orders ---- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: start; }
.split--form { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px; }
.large__intro { display: flex; flex-direction: column; gap: 20px; }
.large__intro p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--color-steel-light); max-width: 56ch; text-wrap: pretty; }
.points { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-ink-3); }
.point { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--color-ink-3); }
.point .icon { width: 26px; height: 26px; color: var(--color-amber); }
.point__body { display: flex; flex-direction: column; gap: 6px; }
.point__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.point__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--color-steel-light); }

/* ---- Request form ---- */
.request__intro { display: flex; flex-direction: column; gap: 16px; }
.request__intro p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-steel); max-width: 48ch; }
.contact-lines { font-family: var(--font-mono); font-size: 13px; line-height: 1.9; color: var(--color-steel); }
.contact-lines a { color: inherit; }
.contact-lines a:hover { color: var(--color-amber-deep); }

.form-card { background: var(--color-white); border: 1px solid var(--color-fog); }
.form { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; gap: 20px; }
.form__row--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.form__row--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--color-steel); transition: color 160ms var(--ease);
}
.field input, .field textarea {
  border: 0; border-bottom: 2px solid var(--color-ink); background: transparent;
  padding: 10px 0; font-size: 15px; outline: none; width: 100%; border-radius: 0; color: inherit;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--color-amber); box-shadow: 0 2px 0 0 var(--color-amber-tint); }
.field textarea { resize: vertical; font-family: inherit; }
.field.is-invalid .field__label { color: var(--color-danger); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--color-danger); }
.form__error { font-size: 13px; color: var(--color-danger); margin: 0; }
.form__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 6px; border-top: 1px solid var(--color-fog);
}
.form__note { font-size: 13px; color: var(--color-steel); padding-top: 14px; }
.form__footer .btn { margin-top: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sent { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; min-height: 320px; justify-content: center; }
.sent .icon { width: 36px; height: 36px; color: var(--color-success); }
.sent__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; }
.sent__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-steel); }
[hidden] { display: none !important; }

.form__privacy { margin: 0; font-size: 13px; line-height: 1.5; color: var(--color-steel); }
.form__privacy a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 2px; }
.form__privacy a:hover { color: var(--color-amber-deep); }

/* ---- Legal page ---- */
.back-link { font-family: var(--font-display); font-weight: 700; font-size: 15px; white-space: nowrap; }
.legal { max-width: 820px; }
.legal h1 { margin: 12px 0 8px; font-family: var(--font-display); font-weight: 800; font-stretch: 118%; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.legal__meta { margin: 0 0 32px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--color-steel); }
.legal h2 { margin: 44px 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--color-ink); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--color-amber-deep); }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal__table { width: 100%; border-collapse: collapse; margin: 4px 0 18px; font-size: 15px; line-height: 1.5; }
.legal__table th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--color-steel); padding: 0 16px 10px 0; border-bottom: 2px solid var(--color-ink); }
.legal__table td { vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--color-fog); }
.legal__table td:first-child { width: 42%; font-weight: 600; }
@media (max-width: 600px) {
  .legal__table thead { display: none; }
  .legal__table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--color-fog); }
  .legal__table td { display: block; width: auto !important; padding: 2px 0; border: 0; }
  .back-link { display: none; }
}

/* ---- Footer ---- */
.site-footer { background: var(--color-ink); color: var(--color-paper); margin-top: auto; }
.site-footer .container { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; align-items: start; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; }
.footer-col--brand { gap: 18px; }
.footer-col .label { color: var(--color-amber); margin-bottom: 6px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand__text { gap: 5px; }
.footer-brand .wordmark { font-size: 24px; }
.footer-brand .brand__sub { font-size: 10px; letter-spacing: .32em; }
.tagline { font-size: 14px; line-height: 1.5; color: var(--color-steel-light); max-width: 36ch; margin: 0; }
.kv { display: flex; gap: 10px; align-items: baseline; }
.kv__k { color: var(--color-steel-light); }
.kv__v { font-family: var(--font-mono); font-size: 13px; }
.site-footer address { font-style: normal; }
.site-footer a { color: var(--color-paper); }
.site-footer a:hover { color: var(--color-amber); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--color-ink-3); }
.footer-bottom__inner a { color: var(--color-steel-light); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom__inner {
  max-width: var(--container); margin: 0 auto; padding: 18px var(--pad-x);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--color-steel-light);
}

/* ---- Scroll reveal (enabled by JS only) ---- */
.js-reveal [data-reveal] {
  opacity: 0; transform: translateX(-22px);
  transition: opacity 650ms var(--ease) var(--reveal-delay, 0ms), transform 650ms var(--ease) var(--reveal-delay, 0ms), border-color 160ms var(--ease);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}
