/* Fix.bg public site. Tokens mirror the app (app.fix.bg) so the site and the product feel like one thing. */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/onest-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: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/onest-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;
}

:root {
  --primary: #4b44f4;
  --primary-hover: #5d57f5;
  --primary-soft: #edecfe;
  --navy: #1c273c;
  --navy-900: #0b1c35;
  --heading: #252f3e;
  --ink: #384f61;
  --muted: #6b8194;
  --border: #dce3ef;
  --border-strong: #ced7e4;
  --surface: #f0f3f8;
  --paper: #fafafe;
  --white: #fff;
  --ok: #059669;
  --ok-soft: #e6f3f0;
  --soon: #8a5a00;
  --soon-soft: #f7efdc;
  --late: #b3261e;
  --late-soft: #f9e8e6;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-shot: 0 1px 2px rgba(11, 28, 53, .06), 0 24px 60px -20px rgba(11, 28, 53, .28);
  --gutter: 20px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--heading); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: 104px 0; }
.section--tint { background: var(--surface); }
.section--tight { padding: 72px 0; }
.section--dark { background: var(--navy-900); color: #b8c4d6; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary);
  border-radius: 999px; padding: 6px 14px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.4;
  margin-bottom: 20px;
}
.section--dark .eyebrow { background: rgba(255, 255, 255, .08); color: #c9c6ff; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.section--dark .lead { color: #b8c4d6; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1.5px solid transparent;
  font: 500 17px/1 var(--font); letter-spacing: -0.02em;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--primary-soft); color: var(--navy-900); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 18px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

.icon { width: 24px; height: 24px; flex: none; }
.icon-box {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px; background: var(--primary-soft); color: var(--primary);
}
.icon-box .icon { width: 24px; height: 24px; }
.section--dark .icon-box { background: rgba(255, 255, 255, .08); color: #c9c6ff; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 254, .85);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.logo:hover { color: var(--heading); }
.logo img { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--heading); font-weight: 500; font-size: 16px; padding: 8px 12px; border-radius: 10px; letter-spacing: -0.01em; }
.nav a:hover { background: var(--surface); color: var(--heading); }
.nav a[aria-current="page"] { color: var(--primary); }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header__login { color: var(--heading); font-weight: 500; font-size: 16px; padding: 8px 6px; }
.header__login:hover { color: var(--primary); }
.lang {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
}
.lang a {
  padding: 5px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; line-height: 1.3;
  color: var(--muted);
}
.lang a:hover { color: var(--heading); }
.lang a[aria-current="true"] { background: var(--primary-soft); color: var(--primary); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--heading); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1040px) {
  .nav, .header__login, .header__actions .btn { display: none; }
  .menu-toggle { display: inline-grid; }
  .header.is-open .menu-toggle .icon-open { display: none; }
  .header.is-open .menu-toggle .icon-close { display: block; }
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--paper); padding: 16px var(--gutter) 32px;
    flex-direction: column; gap: 4px; overflow-y: auto;
  }
  .header.is-open .mobile-menu { display: flex; }
  .mobile-menu a:not(.btn) { color: var(--heading); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .mobile-menu .btn { margin-top: 16px; width: 100%; }
}

/* Hero */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero h1 { max-width: 15ch; margin: 0 auto; }
.hero .lead { max-width: 640px; margin: 24px auto 0; }
.hero .btn-row { justify-content: center; margin-top: 36px; }
.hero__note { margin-top: 18px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.hero__note span { display: inline-flex; align-items: center; gap: 6px; }
.hero__note svg { width: 16px; height: 16px; color: var(--ok); }
.hero__visual { position: relative; max-width: 1080px; margin: 64px auto 0; padding: 0 0 72px; }
.hero__visual::before {
  content: ""; position: absolute; inset: 12% -12% 0; z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, rgba(75, 68, 244, .18), transparent 70%);
}
.hero__phone { position: absolute; right: -8px; bottom: 24px; width: 25%; max-width: 240px; }
.hero__toast { position: absolute; left: -28px; bottom: 26px; }

.page-hero { padding: 80px 0 56px; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 700px; margin-top: 22px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero--center .btn-row { justify-content: center; }

/* Product frames */
.browser {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-shot); overflow: hidden;
}
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--surface); border-bottom: 1px solid var(--border); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.browser__url { margin: 0 auto; font-size: 12px; color: var(--muted); background: #fff; border-radius: 6px; padding: 1px 14px; transform: translateX(-15px); }
.browser img { width: 100%; }
.phone {
  background: #fff; border: 7px solid var(--navy-900); border-radius: 34px;
  box-shadow: var(--shadow-shot); overflow: hidden;
}
.phone img { width: 100%; }
.mail-shot { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-shot); overflow: hidden; }
.shot-crop { max-height: 560px; overflow: hidden; }
.shot-crop--short { max-height: 440px; }

.toast {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 12px 16px 12px 12px; box-shadow: 0 18px 40px -16px rgba(11, 28, 53, .35);
  font-size: 14px; line-height: 1.35; color: var(--muted);
}
.toast strong { display: block; color: var(--heading); font-weight: 600; font-size: 15px; }
.toast__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); flex: none; }
.toast__icon svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .hero { padding-top: 48px; }
  .hero__visual { margin-top: 44px; padding-bottom: 40px; }
  .hero__phone { width: 34%; right: -4px; bottom: 8px; border-width: 5px; border-radius: 22px; }
  .hero__toast { display: none; }
  .browser__bar { height: 24px; } .browser__bar i { width: 7px; height: 7px; } .browser__url { display: none; }
}

/* Proof strip */
.proof { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat__value { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--heading); letter-spacing: -0.04em; line-height: 1.05; }
.stat__value span { color: var(--primary); }
.stat__label { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.45; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.step__num { font-size: 15px; font-weight: 600; color: var(--primary); letter-spacing: 0.02em; }
.step h3 { margin: 14px 0 10px; }
.step p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature--flip { grid-template-columns: 7fr 5fr; }
.feature--flip .feature__text { order: 2; }
.feature__text h2, .feature__text h3.h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.035em; }
.feature__text .lead { margin-top: 18px; font-size: 1.15rem; }
.feature__text .link-arrow { margin-top: 24px; }
.feature__media { position: relative; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--primary); margin-top: 2px; }
.section--dark .checks svg { color: #a5a1ff; }
.duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.duo .phone { margin-top: 48px; }
@media (max-width: 900px) {
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 40px; }
  .feature--flip .feature__text { order: 0; }
  .feature + .feature { margin-top: 88px; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.card h3 { margin: 20px 0 10px; }
.card p { color: var(--muted); }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .card p { color: #9fb0c6; }
.section--tint .card { border-color: transparent; }
@media (max-width: 1000px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .cards, .cards--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards--4 { grid-template-columns: 1fr; } }

.industry { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.industry img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.industry__body { padding: 28px 28px 32px; }
.industry__body h3 { margin-bottom: 10px; }
.industry__body p { color: var(--muted); }

/* Speed band */
.speed { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.speed__list { display: grid; gap: 28px; }
.speed__item { display: flex; gap: 18px; }
.speed__item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.speed__item p { color: #9fb0c6; }
@media (max-width: 900px) { .speed { grid-template-columns: 1fr; gap: 48px; } }

/* GPS split */
.split-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 28px; overflow: hidden;
}
.split-card__text { padding: 56px; }
.split-card__visual { background: linear-gradient(160deg, var(--primary-soft), #f6f5ff 60%, var(--surface)); display: grid; place-items: center; padding: 40px; }
@media (max-width: 900px) { .split-card { grid-template-columns: 1fr; } .split-card__text { padding: 36px 28px; } }

.sync { width: 100%; max-width: 420px; display: grid; gap: 12px; }
.sync__row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.sync__plate { font-weight: 600; color: var(--heading); font-size: 15px; }
.sync__model { font-size: 13px; color: var(--muted); }
.sync__km { margin-left: auto; text-align: right; font-weight: 600; color: var(--heading); font-size: 15px; font-variant-numeric: tabular-nums; }
.sync__km small { display: block; font-weight: 500; font-size: 12px; color: var(--ok); }
.sync__dot { width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.sync__dot svg { width: 20px; height: 20px; }

/* Pricing */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1.5px solid var(--primary); border-radius: 28px; padding: 44px; position: relative; }
.price-card__badge { position: absolute; top: -14px; left: 44px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 500; border-radius: 999px; padding: 4px 14px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; flex-wrap: wrap; }
.price__amount { font-size: clamp(3.4rem, 7vw, 4.8rem); font-weight: 600; letter-spacing: -0.05em; color: var(--heading); line-height: 1; }
.price__unit { color: var(--muted); font-size: 18px; line-height: 1.3; }
.price-card .checks { margin-top: 28px; }
.price-card .btn { margin-top: 32px; width: 100%; }
.calc { background: var(--navy-900); color: #b8c4d6; border-radius: 28px; padding: 44px; display: flex; flex-direction: column; }
.calc h3 { color: #fff; }
.calc label { display: block; margin-top: 28px; font-weight: 500; color: #fff; }
.calc__input { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.calc input[type="range"] { flex: 1; accent-color: #8c87ff; height: 28px; }
.calc input[type="number"] {
  width: 96px; height: 48px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06); color: #fff; font: 600 18px var(--font); text-align: center;
}
.calc__examples { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; font-size: 15px; }
.calc__examples li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.calc__examples strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__out { margin-top: auto; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calc__out > div { margin-top: 28px; }
.calc__value { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; color: #fff; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc__label { font-size: 15px; color: #9fb0c6; }
.calc__note { margin-top: 18px; font-size: 14px; color: #8a9bb3; }
@media (max-width: 900px) { .price-wrap { grid-template-columns: 1fr; } .price-card, .calc { padding: 36px 24px; } .price-card__badge { left: 24px; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 1.15rem; font-weight: 500; color: var(--heading); letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--muted); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--primary); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink); }

/* CTA band */
.cta { padding: 0 0 104px; }
.cta__box {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #b8c4d6; border-radius: 32px;
  padding: 88px 40px; text-align: center;
}
.cta__box::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(75, 68, 244, .55), transparent 70%);
  pointer-events: none;
}
.cta__box > * { position: relative; }
.cta__box h2 { color: #fff; max-width: 18ch; margin: 0 auto; }
.cta__box .lead { color: #c3cde0; max-width: 620px; margin: 20px auto 0; }
.cta__box .btn-row { justify-content: center; margin-top: 36px; }
@media (max-width: 600px) { .cta__box { padding: 64px 22px; border-radius: 24px; } }

/* Timeline (how it works) */
.timeline { display: grid; gap: 112px; }
.tl { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.tl__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 600; margin-bottom: 20px; }
.tl h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.tl .lead { margin-top: 16px; font-size: 1.12rem; }
.tl--flip .tl__text { order: 2; }
.tip { margin-top: 24px; display: flex; gap: 12px; background: var(--soon-soft); color: #5c4200; border-radius: 14px; padding: 16px 18px; font-size: 15px; line-height: 1.55; }
.tip svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--soon); }
@media (max-width: 900px) { .tl, .tl--flip { grid-template-columns: 1fr; gap: 36px; } .tl--flip .tl__text { order: 0; } .timeline { gap: 88px; } }

.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 500; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--soon { background: var(--soon-soft); color: var(--soon); }
.badge--late { background: var(--late-soft); color: var(--late); }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* Roles table */
.roles { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 16px; }
.roles th, .roles td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.roles th { color: var(--heading); font-weight: 600; padding-right: 20px; white-space: nowrap; }
.roles td { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.contact__aside .checks { margin-top: 32px; }
.contact__aside .card { margin-top: 40px; padding: 28px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 44px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; color: var(--heading); font-size: 16px; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 12px; background: #fff;
  font: 400 17px/1.4 var(--font); color: var(--heading); padding: 12px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b8194' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-foot p { font-size: 14px; color: var(--muted); flex: 1; min-width: 220px; }
.form-status { margin-top: 20px; border-radius: 14px; padding: 16px 18px; font-size: 16px; display: none; }
.form-status.is-error { display: block; background: var(--late-soft); color: var(--late); }
.form-done { display: none; text-align: center; padding: 40px 0; }
.form-done .icon-box { width: 64px; height: 64px; border-radius: 18px; background: var(--ok-soft); color: var(--ok); }
.form-done .icon-box .icon { width: 32px; height: 32px; }
.form-done h2 { margin-top: 24px; font-size: 2rem; }
.form-done p { margin-top: 12px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-done { display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 48px; } .form-card { padding: 28px 20px; } .form-grid { grid-template-columns: 1fr; } }

/* Guide article */
.article-hero { padding: 64px 0 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.article-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.article-hero .lead { margin-top: 24px; }
.article-meta { margin-top: 24px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.toc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 16px; }
.toc h2 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 14px; }
.toc ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.toc a { color: var(--heading); }
.toc a:hover { color: var(--primary); }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 72px 0 0; }
.prose h3 { margin: 36px 0 0; }
.prose p, .prose ul, .prose ol, .prose .table-wrap, .prose figure { margin: 20px 0 0; }
.prose ul, .prose ol { padding-left: 24px; display: grid; gap: 10px; }
.prose li::marker { color: var(--primary); }
.prose strong { color: var(--heading); font-weight: 600; }
.prose .checks { padding-left: 0; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose .toc h2 { margin: 0 0 14px; }
.prose .toc ol { margin: 0; gap: 8px; }
.prose figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); text-align: center; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; min-width: 620px; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.guide-table thead th { background: var(--surface); color: var(--heading); font-weight: 600; font-size: 15px; }
.guide-table tbody th { color: var(--heading); font-weight: 600; width: 30%; }
.guide-table tr:last-child > * { border-bottom: 0; }
.note { margin-top: 20px; font-size: 15px; color: var(--muted); }
.callout { margin-top: 28px; background: var(--primary-soft); border-radius: var(--radius-lg); padding: 32px; }
.callout h3 { margin: 0; }
.callout .btn-row { margin-top: 24px; }
@media (max-width: 600px) { .prose { font-size: 17px; } .toc, .callout { padding: 24px 20px; } .prose h2 { margin-top: 56px; } }

/* Footer */
.footer { background: var(--navy-900); color: #8a9bb3; padding: 72px 0 40px; font-size: 15px; }
.footer a { color: #c3cde0; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer__tag { margin-top: 18px; max-width: 320px; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

.caption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.center { text-align: center; }
.mt-48 { margin-top: 48px; }

/* Reveal on scroll: only when JS is running, and never for people who prefer less motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 600px) {
  :root { --gutter: 16px; --header-h: 64px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .step, .card { padding: 26px 22px; }
  .btn-row .btn { flex: 1 1 auto; }
  .lang a { padding: 5px 8px; }
  .faq details p { padding-right: 0; }
}
