/* ─────────────────────────────────────────────────────
   ETKontur — Landing styles
   Type:  Unbounded (display) + Golos Text (body)
   Brand: warm cream bg, deep ink blue, terracotta accent
   Mos ID button: red #E51740 / white / Golos
   ───────────────────────────────────────────────────── */

:root {
  /* Palette — defaults; overridable via tweaks */
  --bg:           #F4F2EC;
  --bg-soft:      #ECE8DE;
  --surface:      #FFFFFF;
  --surface-2:    #FAF8F2;
  --ink:          #15171A;
  --ink-2:        #5B5E66;
  --ink-3:        #8A8D93;
  --border:       #E1DDD2;
  --border-2:     #CFC9BA;
  --brand:        #1F3B6E;
  --brand-2:      #D4683A;
  --brand-tint:   #E9EEF7;
  --brand2-tint:  #FBE9DC;

  --ok:   #1F8A5B;
  --wait: #B8821F;
  --err:  #C13B2B;

  /* Mos ID (per official guideline) */
  --mosid-bg:        #E51740;
  --mosid-bg-hover:  #CC0029;
  --mosid-bg-active: #A10020;
  --mosid-fg:        #FFFFFF;

  /* Type */
  --f-display: "Unbounded", "Golos Text", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body:    "Golos Text", "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii / spacing */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --gap:  24px;

  --max-w: 1280px;
}

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

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px;
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }
}

/* ─────────── Typography helpers ─────────── */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(36px, 4.4vw, 64px);
  margin: 0;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  color: var(--brand);
  font-weight: 500;
}
.display--m {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 500;
  letter-spacing: -0.018em;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
  margin: 18px 0 0;
}
.lead--dark { color: rgba(255,255,255,.74); }
.lead--on-dark { color: rgba(255,255,255,.78); }

.mono { font-family: var(--f-mono); font-size: .9em; }
.muted { color: var(--ink-3); }

/* ─────────── Eyebrow ─────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
}
.eyebrow--dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.82); }
.eyebrow--on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.86); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand-2) 28%, transparent); }
.dot.dot--ok { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ok) 28%, transparent); }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .14s ease, color .14s ease, border-color .14s ease, transform .14s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--ink);
  color: #fff;
}
.btn--primary:hover { background: color-mix(in oklab, var(--ink) 86%, var(--brand) 14%); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-2);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--lg { font-size: 16px; padding: 15px 22px; }
.btn--small { font-size: 13px; padding: 8px 14px; }
.btn--full { width: 100%; }

/* ─────────── Mos ID button (per official guideline) ─────────── */
.mosid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mosid-bg);
  color: var(--mosid-fg);
  border: 0;
  border-radius: 999px;
  font-family: "Golos Text", var(--f-body);
  font-weight: 400;
  cursor: pointer;
  transition: background .14s ease, transform .14s ease;
  white-space: nowrap;
}
.mosid-btn:hover  { background: var(--mosid-bg-hover); }
.mosid-btn:active { background: var(--mosid-bg-active); transform: translateY(1px); }
.mosid-btn .mosid-text { display: inline-block; }
.mosid-btn .mosid-logo { display: inline-flex; }

/* Size M (40-60px) — text 14px, logo 16px, gap 4, min pad 15 */
.mosid-btn--m {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  gap: 4px;
}
.mosid-btn--m .mosid-logo svg { width: 16px; height: 16px; }

/* Size L (60+) — text 18px, logo 22px, gap 6, min pad 21 */
.mosid-btn--l {
  height: 60px;
  padding: 0 22px;
  font-size: 18px;
  gap: 6px;
}
.mosid-btn--l .mosid-logo svg { width: 22px; height: 22px; }

/* Alternative white style (available via JS toggle if needed) */
.mosid-btn--alt {
  background: #FFFFFF;
  color: var(--mosid-bg);
  border: 1px solid var(--mosid-bg);
}
.mosid-btn--alt:hover  { background: #FFF0F2; }
.mosid-btn--alt:active { background: #FFE3E7; }

/* ─────────── NAV ─────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
}
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand__mark { color: var(--brand); }
.brand__name { display: inline-block; }
.nav__links {
  display: flex;
  gap: 6px;
  justify-self: center;
}
.nav__links a {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .14s, background .14s;
}
.nav__links a:hover { color: var(--ink); background: var(--surface); }
.nav__cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
}
@media (max-width: 560px) {
  .nav__cta .mosid-btn { display: none; }
}

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0 -10% auto auto;
  width: 60%;
  height: 100%;
  background: radial-gradient(60% 60% at 70% 30%, color-mix(in oklab, var(--brand-2) 18%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.hero__copy { padding-block: 8px 0; }
.hero__copy .display { margin-top: 22px; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 38px;
  color: var(--ink-2);
  font-size: 14px;
}
.hero__meta b { color: var(--ink); font-weight: 600; font-feature-settings: "tnum" 1; }
.meta-item { white-space: nowrap; }
.meta-divider {
  display: inline-block;
  width: 1px; height: 18px;
  background: var(--border-2);
}

.hero__mockup {
  position: relative;
  min-height: 480px;
}

/* Mockup */
.mockup {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 0 #fff inset,
    0 24px 60px -20px rgba(15, 23, 42, 0.18),
    0 8px 20px -10px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}
.mockup__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.mockup__dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup__addr {
  margin-left: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.mockup__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 480px;
}

.mock-side {
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock-side__brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  padding: 4px 6px;
}
.mock-side__mark {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--brand);
  position: relative;
}
.mock-side__mark::after {
  content: ""; position: absolute; inset: 4px;
  background: var(--surface-2);
  clip-path: polygon(0 100%, 0 0, 50% 50%, 100% 0, 100% 100%);
}
.mock-side__nav {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.mock-side__nav li {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: space-between;
  cursor: default;
}
.mock-side__nav li.is-active {
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 500;
}
.mock-side__nav .badge {
  font-family: var(--f-mono);
  font-size: 11px;
  background: var(--brand);
  color: #fff;
  padding: 1px 6px;
  border-radius: 6px;
}
.mock-side__user {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.3;
}
.mock-side__user small { color: var(--ink-3); font-size: 11px; }
.mock-side__ava {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  flex: none;
}

.mock-main {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.mock-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.mock-toolbar h3 {
  font-family: var(--f-display);
  font-weight: 500;
  margin: 0;
  font-size: 18px;
}
.mock-toolbar__right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
  letter-spacing: 0;
}
.chip--ok  { color: var(--ok);   border-color: color-mix(in oklab, var(--ok) 30%, var(--border)); }
.chip--wait{ color: var(--wait); border-color: color-mix(in oklab, var(--wait) 30%, var(--border)); }
.chip--err { color: var(--err);  border-color: color-mix(in oklab, var(--err) 30%, var(--border)); }

.mock-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  font-size: 12.5px;
}
.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
.mock-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-row .st { white-space: nowrap; }
.mock-row:last-child { border-bottom: 0; }
.mock-row--head {
  background: var(--surface-2);
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  padding-block: 8px;
}
.mock-row b { font-weight: 600; }
.mock-row small { color: var(--ink-3); }
.zone {
  font-family: var(--f-mono);
  font-size: 11px;
  background: var(--bg-soft);
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-block;
  width: max-content;
  margin-top: 4px;
  font-style: normal;
  color: var(--ink-2);
}
.st { display: inline-flex; align-items: center; gap: 6px; }
.st--ok   { color: var(--ok); }
.st--wait { color: var(--wait); }
.st--err  { color: var(--err); }
.st--fill { color: var(--brand); }
.fill-bar {
  display: inline-block;
  width: 60px; height: 5px;
  border-radius: 4px;
  background: var(--brand-tint);
  overflow: hidden;
  flex: none;
}
.fill-bar__inner {
  display: block; width: 65%; height: 100%;
  background: var(--brand);
  animation: fill 2.4s ease-in-out infinite alternate;
}
@keyframes fill {
  from { width: 25%; }
  to   { width: 88%; }
}
.mock-row--filling { background: color-mix(in oklab, var(--brand-tint) 60%, transparent); }

.mock-callout {
  display: flex; gap: 12px;
  padding: 12px 14px;
  background: color-mix(in oklab, var(--brand2-tint) 70%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand-2) 22%, var(--border));
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-2);
}
.mock-callout p { margin: 2px 0 0; }
.mock-callout b { color: var(--ink); }
.mock-callout__icon {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--brand-2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}

/* Float cards over mockup */
.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, 0.22);
  padding: 12px 14px;
  width: 240px;
  font-size: 12.5px;
}
.float-card__hd {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.float-card__body b { display: block; margin-top: 4px; font-size: 13px; }
.float-card__body .muted { font-size: 12px; }
.float-card--status { top: -18px; right: -18px; }
.float-card--ecp { bottom: -22px; left: -28px; }

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__mockup { min-height: unset; }
  .float-card--status { top: -16px; right: 12px; }
  .float-card--ecp { bottom: -16px; left: 12px; }
}

/* Trust strip */
.trust {
  margin-top: 56px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--ink-3);
  font-size: 13px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.trust__label {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  margin-right: 6px;
}
.trust__item { font-weight: 500; color: var(--ink-2); }
.trust__sep { color: var(--border-2); }

/* ─────────── SECTIONS ─────────── */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
.section:first-of-type { border-top: 0; }

.sect-hd {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.sect-hd--left { text-align: left; margin-inline: 0; }
.sect-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.sect-sub {
  font-size: 17px;
  color: var(--ink-2);
  margin: 16px 0 0;
  text-wrap: pretty;
}

/* ─────────── PROBLEM / COMPARE ─────────── */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.compare__col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
}
.compare__col--good {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border-color: var(--ink);
  box-shadow: 0 1px 0 #fff inset, 0 24px 60px -28px rgba(15, 23, 42, 0.22);
}
.compare__tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
  margin-bottom: 18px;
}
.compare__tag--good { background: var(--ink); color: #fff; }
.compare__col h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.compare__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 16px;
}
.compare__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--ink-2);
  line-height: 1.5;
  font-size: 15px;
}
.compare__list b { color: var(--ink); display: block; margin-bottom: 2px; }
.compare__list .x, .compare__list .ok {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 13px; font-weight: 600;
  margin-top: 1px;
}
.compare__list .x  { background: color-mix(in oklab, var(--err) 12%, var(--bg-soft)); color: var(--err); }
.compare__list .ok { background: color-mix(in oklab, var(--ok) 14%, var(--bg-soft));  color: var(--ok); }

@media (max-width: 880px) {
  .compare { grid-template-columns: 1fr; }
}

/* ─────────── HOW IT WORKS ─────────── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 22px 22px;
  position: relative;
}
.step__num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--brand);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.step__chip {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-2);
  font-size: 12.5px;
  color: var(--ink-3);
}
.step__chip .mono { font-size: 12.5px; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }

/* ─────────── FEATURES ─────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feat {
  background: var(--surface);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.feat__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.feat h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.01em;
}
.feat p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 880px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* ─────────── SERVICES MATRIX ─────────── */
.matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.matrix__col {
  padding: 24px;
  border-right: 1px solid var(--border);
}
.matrix__col:last-child { border-right: 0; }
.matrix__hd {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.tag-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.tag-list li {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.tag-list small {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
@media (max-width: 960px) { .matrix { grid-template-columns: repeat(2, 1fr); } .matrix__col:nth-child(2) { border-right: 0; } .matrix__col { border-bottom: 1px solid var(--border); } }
@media (max-width: 520px) { .matrix { grid-template-columns: 1fr; } .matrix__col { border-right: 0; } }

.route {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}
.route__hd h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.route__hd p { margin: 0; color: var(--ink-2); font-size: 14px; }
.route__line {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.route__line::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 8%; right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-2) 0 6px, transparent 6px 12px);
}
.route__line li {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  font-size: 13px;
  position: relative;
}
.route__pt {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--brand);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.route__line b { font-weight: 600; }
.route__line small { color: var(--ink-3); font-size: 11.5px; margin-top: 2px; }
@media (max-width: 880px) { .route { grid-template-columns: 1fr; } }

/* ─────────── INTEGRATIONS ─────────── */
.integrations { background: var(--ink); color: #fff; border-top-color: var(--ink); }
.integrations .display em { color: var(--brand-2); }
.integ-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.integ-left h2 { color: #fff; }
.integ-list {
  list-style: none; margin: 28px 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 15.5px;
}
.integ-list .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--brand-2);
  margin-right: 10px;
  font-size: 12px; font-weight: 700;
}
.integ-cta {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  margin-top: 8px;
}
.integ-cta .muted { color: rgba(255,255,255,.45); font-size: 13px; max-width: 280px; }

/* Right side: file → ovga flow */
.integ-right {
  display: grid;
  grid-template-rows: auto auto auto;
  justify-items: center;
  gap: 16px;
}
.file-card, .ovga-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.4);
}
.file-card__hd, .ovga-card__hd {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.file-card__ext {
  margin-left: auto;
  background: var(--bg-soft);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--ink-2);
}
.file-card__body { padding: 8px 6px; }
.file-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 12px;
  font-size: 13.5px;
  border-radius: 8px;
}
.file-row:hover { background: var(--surface-2); }
.file-row span { color: var(--ink-3); font-family: var(--f-mono); font-size: 12.5px; }
.file-row i { font-style: normal; font-weight: 500; }

.arrow {
  color: var(--brand-2);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.arrow__lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.6);
}

.ovga-card__hd {
  align-items: center;
}
.ovga-card__crest {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.ovga-card__hd b { display: block; line-height: 1.15; }
.ovga-card__hd small { color: var(--ink-3); font-size: 12px; }
.ovga-card__hd .st { margin-left: auto; font-size: 12px; }
.ovga-card__body { padding: 8px 6px; }
.ovga-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 12px;
  font-size: 13.5px;
  border-radius: 8px;
}
.ovga-row span { color: var(--ink-3); font-family: var(--f-mono); font-size: 12.5px; }
.ovga-row i { font-style: normal; font-weight: 500; }
.ovga-row--filled {
  background: color-mix(in oklab, var(--brand-tint) 50%, transparent);
}

@media (max-width: 980px) {
  .integ-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ─────────── PRICING ─────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.plan--featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.28);
}
.plan--featured .plan__list li::before { background: var(--brand-2); }
.plan--featured .btn--primary { background: var(--brand-2); color: var(--ink); }
.plan--featured .btn--primary:hover { background: color-mix(in oklab, var(--brand-2) 92%, #fff); }
.plan__hd { display: flex; align-items: center; gap: 10px; }
.plan__tag {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-2);
}
.plan__tag--featured { background: var(--brand-2); color: var(--ink); }
.plan--featured .plan__tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.86); }
.plan--featured .plan__tag--featured { background: var(--brand-2); color: var(--ink); }
.plan h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__price-num {
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.plan__price-sub {
  font-size: 13px;
  color: var(--ink-3);
}
.plan--featured .plan__price-sub { color: rgba(255,255,255,.6); }
.plan__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink-2);
  flex: 1;
}
.plan--featured .plan__list { color: rgba(255,255,255,.85); }
.plan__list li {
  display: flex; gap: 10px; align-items: baseline;
}
.plan__list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
  transform: translateY(7px);
}
.plan--featured .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.plan--featured .btn--ghost:hover { background: rgba(255,255,255,.06); border-color: #fff; }

@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
}

/* ─────────── FAQ ─────────── */
.faq-list {
  max-width: 880px;
  margin-inline: auto;
  display: flex; flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .14s;
}
.faq-item[open] { border-color: var(--ink); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  transition: transform .2s ease, background .14s;
}
.faq-item[open] summary::after { content: "−"; background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-item__body {
  padding: 0 24px 22px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 70ch;
}

/* ─────────── DEMO CTA ─────────── */
.cta {
  background: var(--ink);
  color: #fff;
  border-top-color: var(--ink);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: center;
}
.cta__copy h2 { color: #fff; margin-top: 16px; }
.cta-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.cta-form__fields {
  display: flex; flex-direction: column; gap: 14px;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field select {
  font-family: var(--f-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  transition: border-color .14s, box-shadow .14s;
}
.field input:focus, .field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ink) 12%, transparent);
}
.cta-form__legal { font-size: 12px; color: var(--ink-3); margin: 6px 0 0; }

.cta-form__done {
  text-align: center;
  padding: 16px 8px 8px;
}
.cta-form__ok {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ok) 14%, #fff);
  color: var(--ok);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 600;
  margin: 0 auto 14px;
}
.cta-form__done h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
}
.cta-form__done p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.cta-form__done a { color: var(--brand); text-decoration: underline; }

@media (max-width: 960px) {
  .cta__inner { grid-template-columns: 1fr; }
}

/* ─────────── FOOTER ─────────── */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  color: var(--ink-2);
  padding: 56px 0 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  align-items: start;
}
.brand--footer .brand__mark { color: var(--brand); }
.footer__tag { margin: 14px 0 0; max-width: 32ch; font-size: 14px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  font-size: 14px;
}
.footer__cols h5 {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.footer__cols div { display: flex; flex-direction: column; gap: 8px; }
.footer__cols a:hover { color: var(--ink); }
.footer__legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12.5px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.footer__legal .muted { max-width: 56ch; }

@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ─────────── Tweak-driven helpers ─────────── */
.section--compact { padding: 64px 0; }
.section--airy { padding: 128px 0; }
