/* «Порог» — миграционная правовая служба, Новосибирск.
   Направление «Порог»: песок, молоко, тушь; кобальт отмечает интерактив, шафран только срочное и всегда как заливка под тёмным текстом.
   Первый экран: четыре двери-языка и арка со сроком стоят на одном пороге. Ситуации: указатель слева, памятка справа. */

:root {
  --sand: #F2E6DA;
  --sand-l: #F8F0E7;
  --sand-d: #E8D8C6;
  --milk: #FCF9F5;
  --ink: #1D1B19;
  --ink-2: #47423C;
  --muted: #6A6258;
  --cobalt: #1B4BD1;
  --cobalt-d: #123596;
  --cobalt-t: #E3EAFB;
  --cobalt-l: #9DB5FF;
  --saffron: #E2A23A;
  --saffron-t: #F7E4BF;
  --line: rgba(29, 27, 25, .14);
  --line-2: rgba(29, 27, 25, .32);
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 28px;
  --gut: clamp(16px, 4vw, 40px);
  --f-display: "Geologica", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Golos Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --focus: var(--cobalt);
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--milk); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--saffron); color: var(--ink); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gut); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.muted-on-ink { color: rgba(252, 249, 245, .66); }

/* ---------- motif: a doorway standing on a baseline ---------- */
.step { position: relative; height: 22px; border-bottom: 2px solid var(--ink); margin-bottom: 18px; max-width: 520px; }
.step::before { content: ""; position: absolute; left: 0; bottom: -2px; width: 46px; height: 22px; border: 2.5px solid var(--cobalt); border-bottom: 0; border-radius: 3px 3px 0 0; }
.step::after { content: ""; position: absolute; left: 18px; bottom: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); }
.band .step, .foot .step { border-color: rgba(255, 255, 255, .5); }

.eyebrow { margin: 0 0 12px; font: 600 .78rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); }
.lead { font-size: clamp(1.06rem, 1rem + .4vw, 1.24rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
h2 { font-size: clamp(1.8rem, 1.1rem + 2.5vw, 3rem); }
.sech { margin-bottom: clamp(26px, 4vw, 48px); max-width: 780px; }
.sech > .muted { margin: 12px 0 0; }
h2 + .lead, h1 + .lead, .bignum + .lead { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .97rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; text-align: center; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .93rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--cobalt); color: #fff; }
.btn--primary:hover { background: var(--cobalt-d); box-shadow: 0 8px 22px -10px rgba(27, 75, 209, .8); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--milk); }
.btn--saffron { background: var(--saffron); color: var(--ink); }
.btn--saffron:hover { background: #EDB255; }
.btn--onblue { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--onblue:hover { background: #fff; color: var(--cobalt-d); }
.btn .arr { transition: transform .2s; flex: none; }
.btn:hover .arr, .link:hover .arr { transform: translateX(3px); }
.linkbtn { background: none; border: 0; padding: 0 8px; min-height: 44px; color: var(--cobalt); font: 600 .93rem/1.2 var(--f-body); text-decoration: underline; text-underline-offset: 4px; }
.linkbtn:hover { color: var(--cobalt-d); }
.linkbtn--tel { font-size: 1.05rem; white-space: nowrap; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--cobalt); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-block: 2px; min-height: 44px; align-items: center; }
.link:hover { color: var(--cobalt-d); }
.chip { display: inline-block; margin: 0; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .86rem; line-height: 1.35; font-weight: 500; background: var(--milk); }
.chip--urgent { background: var(--saffron); border-color: var(--saffron); color: var(--ink); font-weight: 600; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(252, 249, 245, .93); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.hdr.is-scrolled { box-shadow: 0 10px 30px -22px rgba(29, 27, 25, .6); }
.hdr__in { display: flex; align-items: center; gap: 14px; min-height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; margin-right: auto; }
.brand__mk { width: 40px; height: 40px; flex: none; }
.brand__bg { fill: var(--cobalt); }
.brand__door { stroke: #fff; }
.brand__dot { fill: var(--saffron); animation: dot-in .9s .35s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes dot-in { from { transform: translateY(9px); opacity: 0; } to { transform: none; opacity: 1; } }
.brand__t { display: grid; line-height: 1.15; }
.brand__t b { font: 700 1.3rem/1 var(--f-display); letter-spacing: -.02em; }
.brand__t small { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; white-space: nowrap; font-weight: 500; font-size: .96rem; text-decoration: none; border-radius: 10px; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 6px; height: 2px; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover { color: var(--cobalt); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.langsw { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--milk); }
.langsw__b { min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; font: 600 .82rem/1 var(--f-body); letter-spacing: .04em; transition: background-color .2s, color .2s; }
.langsw__b:hover { background: var(--cobalt-t); }
.langsw__b[aria-pressed="true"] { background: var(--cobalt); color: #fff; }
.burger { display: none; width: 48px; height: 48px; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; }
.burger .b2 { display: none; }
.burger[aria-expanded="true"] .b1 { display: none; }
.burger[aria-expanded="true"] .b2 { display: block; }

/* ---------- address plate (lives under the threshold) ---------- */
.infobar__i { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .92rem; line-height: 1.35; }
.infobar__i .ic { flex: none; color: var(--cobalt); }
.infobar__i i { display: block; font-style: normal; font-size: .78rem; color: var(--muted); }
.infobar__i--h > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.infobar__hh { font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; line-height: 1.4; margin: 0; }
.badge--lg { font-size: .9rem; padding: 6px 14px 6px 12px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9A9288; flex: none; }
.badge.is-open { color: var(--cobalt-d); border-color: rgba(27, 75, 209, .35); }
.badge.is-open .dot { background: var(--cobalt); box-shadow: 0 0 0 4px rgba(27, 75, 209, .16); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(27, 75, 209, 0); } }

/* ---------- hero: four doors and a deadline doorway on one threshold ---------- */
.hero { position: relative; padding-top: clamp(16px, 2vw, 26px); overflow: clip; background: radial-gradient(54% 80% at 82% 100%, rgba(247, 228, 191, .9), rgba(247, 228, 191, 0) 72%), var(--milk); }
.hero__kick { margin: 0 0 clamp(10px, 1.5vw, 18px); font: 600 .8rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__grid { --ring: clamp(6px, 1.1vw, 16px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 34vw, 470px); grid-template-rows: 1fr auto; grid-template-areas: "head card" "doors card"; column-gap: clamp(32px, 6vw, 96px); align-items: end; }
.hero__head { grid-area: head; align-self: start; padding-bottom: clamp(18px, 2vw, 28px); }
.hero__greet { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(10px, 1.4vw, 16px); font: 600 clamp(1.15rem, 1rem + .7vw, 1.6rem)/1.1 var(--f-display); letter-spacing: -.01em; color: var(--cobalt); }
.hero__greet::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--saffron); }
.hero__h { font-size: clamp(2.45rem, 1rem + 4.2vw, 4.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-bottom: clamp(14px, 1.8vw, 22px); }
.hero__lead { max-width: 52ch; margin: 0 0 clamp(16px, 1.8vw, 22px); font-size: clamp(1.02rem, 1rem + .2vw, 1.14rem); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.hero__kick, .hero__greet, .hero__h, .hero__lead, .hero__cta, .doors, .dl { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__greet { animation-delay: .06s; } .hero__h { animation-delay: .12s; } .hero__lead { animation-delay: .2s; } .hero__cta { animation-delay: .26s; } .doors { animation-delay: .3s; } .dl { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__h.is-swap, .hero__greet.is-swap { animation: swap .55s cubic-bezier(.2, .7, .2, 1) both; }

html:not(.js) .doors, html:not(.js) .langsw { display: none; }
/* four doors, one open: the language switch */
.doors { grid-area: doors; align-self: end; min-width: 0; }
.doors__k { margin: 0 0 10px; font: 600 .74rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.doors__r { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: clamp(8px, 1.2vw, 14px); max-width: 540px; }
.door { position: relative; isolation: isolate; display: grid; justify-items: center; align-content: end; gap: 3px; min-height: clamp(118px, 11vw, 150px); padding: 0 4px clamp(12px, 1.4vw, 16px); border: 2px solid var(--ink); border-bottom: 0; border-radius: 999px 999px 0 0; background: var(--milk); color: var(--ink); overflow: hidden; text-align: center; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, #FFF3D8 0%, var(--saffron-t) 100%); opacity: 0; transition: opacity .5s; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sand); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: clip-path .7s cubic-bezier(.2, .7, .2, 1), background-color .4s; }
.door:hover { transform: translateY(-3px); }
.door:hover::after { clip-path: polygon(0 0, 84% 4%, 84% 100%, 0 100%); }
.door[aria-pressed="true"]::before { opacity: 1; }
.door[aria-pressed="true"]::after { background: var(--cobalt); clip-path: polygon(0 0, 22% 10%, 22% 100%, 0 100%); }
.door__c { font: 700 clamp(1.45rem, 1.05rem + 1.2vw, 2.1rem)/1 var(--f-display); letter-spacing: -.02em; }
.door__n { font-size: .76rem; line-height: 1.2; color: var(--ink-2); }
.door__k { position: absolute; top: 58%; left: calc(100% - 22px); width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 2px var(--ink); transition: left .7s cubic-bezier(.2, .7, .2, 1); }
.door[aria-pressed="true"] .door__k { left: calc(22% - 13px); }
.door:focus-visible { outline-offset: 4px; border-radius: 999px 999px 0 0; }

/* the deadline doorway: patent or RVP */
.dl { grid-area: card; position: relative; align-self: end; min-width: 0; }
.dl::before, .dl::after { content: ""; position: absolute; bottom: 0; border: 1.5px solid var(--line-2); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.dl::before { top: calc(var(--ring) * -1); left: calc(var(--ring) * -1); right: calc(var(--ring) * -1); }
.dl::after { top: calc(var(--ring) * -2); left: calc(var(--ring) * -2); right: calc(var(--ring) * -2); border-color: var(--line); }
.dl__arch { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; padding: clamp(52px, 7vw, 70px) clamp(18px, 2.8vw, 32px) clamp(14px, 1.6vw, 20px); background: var(--milk); border: 2px solid var(--ink); border-bottom: 0; border-radius: 999px 999px 0 0; box-shadow: 0 40px 60px -48px rgba(29, 27, 25, .5); }
.dl__arch::before { content: ""; position: absolute; top: -9px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 5px var(--milk); }
.dl__tabs { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--milk); }
.dl__tab { min-width: 96px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 600 .95rem/1 var(--f-body); transition: background-color .2s, color .2s; }
.dl__tab:hover { background: var(--cobalt-t); }
.dl__tab[aria-pressed="true"] { background: var(--cobalt); color: #fff; }
.dl__k { margin: 10px 0 0; font: 600 .74rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dl__n { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 0; }
.dl__n b { font: 700 clamp(4.2rem, 3rem + 3.6vw, 6rem)/1 var(--f-display); letter-spacing: -.05em; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.dl__n span { font: 500 1.3rem var(--f-display); color: var(--muted); }
.dl__t { min-height: 1.4em; margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.dl__track { display: grid; grid-template-columns: repeat(26, minmax(0, 1fr)); gap: 2px; width: 100%; margin: 10px 0 8px; }
.dl__track i { height: 14px; border-radius: 3px; background: var(--sand-d); }
.dl__track i.on { background: var(--cobalt); }
.dl__track.is-soon i.on { background: var(--saffron); }
.dl__track.is-anim i.on { animation: cellin .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 14ms); }
.dl__w { margin: 0 0 8px; font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dl__f { width: 100%; text-align: left; }
.dl__f input { min-height: 50px; font-weight: 600; }
.dl__demo { width: 100%; margin: 6px 0 0; text-align: left; font-size: .84rem; font-weight: 600; color: var(--cobalt-d); }
.dl__tip { width: 100%; margin: 8px 0 6px; text-align: left; font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.dl__stamp { width: 100%; text-align: left; }

/* the sill itself, and the plate under it */
.hero__sill { position: relative; height: 6px; background: var(--ink); }
.hero__sill::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-2); }
.hero__floor { background: var(--sand); }
.plate { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; padding-block: 18px 12px; }
.plate .btn { margin-left: auto; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(56px, 8vw, 112px); }
section[id] { scroll-margin-top: calc(var(--hdr-h) + 8px); }
.sec--sand { background: var(--sand); }
.sec--tool { padding-top: clamp(28px, 4vw, 56px); }
.sec--legal { padding-top: clamp(24px, 3vw, 40px); }

/* router panels */
.panel { scroll-margin-top: calc(var(--hdr-h) + 12px); background: var(--milk); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3.6vw, 48px); }
.panel[hidden] { display: none !important; }
.panel__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -6px 0 6px; color: var(--cobalt); font-weight: 600; font-size: .94rem; text-decoration: none; }
.panel__back:hover { color: var(--cobalt-d); }
.panel__back .arr { transition: transform .2s; }
.panel__back:hover .arr { transform: translateX(-3px); }
.panel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px 32px; flex-wrap: wrap; margin-bottom: 18px; }
.panel__t { flex: 1 1 420px; min-width: 0; }
.panel h2:focus { outline: none; }
.panel h2 { font-size: clamp(1.8rem, 1.1rem + 1.8vw, 2.6rem); }
.panel__head .chip { max-width: 420px; }
.panel__intro { font-size: 1.1rem; max-width: 74ch; color: var(--ink-2); margin-bottom: clamp(22px, 3vw, 34px); }
.panel__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "now stages" "now docs" "fee fee"; gap: clamp(14px, 2vw, 22px); }
.blk--now { grid-area: now; } .blk--stages { grid-area: stages; } .blk--docs { grid-area: docs; } .blk--fee { grid-area: fee; }
.blk--fee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "h h" "list f" "list n"; gap: 0 clamp(20px, 4vw, 56px); align-content: start; }
.blk--fee .blk__h { grid-area: h; } .blk--fee .fee { grid-area: list; margin: 0; } .blk--fee .fee__f { grid-area: f; margin: 0 0 8px; } .blk--fee .fee__n { grid-area: n; }
.blk { min-width: 0; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-m); background: var(--sand-l); border: 1px solid var(--line); }
.blk__h { display: flex; align-items: center; gap: 12px; font-size: 1.22rem; margin-bottom: 18px; }
.blk__no { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ink); color: var(--milk); font: 700 .86rem/1 var(--f-display); }
.blk__act { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; }

.ringrow { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.ringrow__t { margin: 0; font-size: .92rem; color: var(--muted); }
.ringrow__t b { font: 700 1.1rem var(--f-display); color: var(--ink); }
.ring { position: relative; width: 58px; height: 58px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.2; }
.ring__bg { stroke: rgba(29, 27, 25, .12); }
.ring__fg { stroke: var(--cobalt); stroke-linecap: round; transition: stroke-dashoffset .6s cubic-bezier(.2, .7, .2, 1); }
.ring__n { position: absolute; inset: 0; display: grid; place-items: center; font: 700 .84rem/1 var(--f-display); }
.ring.is-full .ring__fg { stroke: var(--ink); }
.ring--lg { width: 76px; height: 76px; }
.ring--lg .ring__n { font-size: 1rem; }

/* custom checkbox */
.chk { position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; cursor: pointer; }
.chk__box { position: relative; flex: none; width: 26px; height: 26px; margin-top: 1px; border: 2px solid var(--ink-2); border-radius: 8px; background: #fff; transition: background-color .15s, border-color .15s; }
.chk__box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .18s; }
.chk input:checked + .chk__box { background: var(--cobalt); border-color: var(--cobalt); }
.chk input:checked + .chk__box::after { transform: rotate(45deg) scale(1); }
.chk input:focus-visible + .chk__box { outline: 3px solid var(--focus); outline-offset: 3px; }
.chk:hover .chk__box { border-color: var(--cobalt); }
.chk__tx { font-size: 1rem; line-height: 1.5; }
.chk-list { list-style: none; }
.chk-list li { border-top: 1px solid var(--line); }
.chk-list li:first-child { border-top: 0; }
.chk-list .chk { padding: 12px 0; min-height: 48px; }
.chk-list input:checked ~ .chk__tx { color: var(--muted); }
.chk--sm .chk__tx { font-size: .92rem; }

/* stages */
.stages { list-style: none; display: grid; gap: 12px; }
.stage { display: grid; gap: 4px; }
.stage__b { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; text-align: left; font-weight: 600; min-height: 44px; }
.stage__n { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 2px solid var(--ink-2); background: var(--milk); font: 700 .95rem/1 var(--f-display); transition: background-color .2s, border-color .2s, color .2s; }
.stage__p { margin: 0 0 0 50px; font-size: .96rem; color: var(--ink-2); }
.stages.is-tabs { display: flex; gap: 0; counter-reset: s; }
.stages.is-tabs .stage { flex: 1 1 0; min-width: 0; position: relative; justify-items: center; text-align: center; }
.stages.is-tabs .stage::before { content: ""; position: absolute; top: 19px; right: 50%; width: 100%; height: 2px; background: var(--line-2); z-index: 0; }
.stages.is-tabs .stage:first-child::before { display: none; }
.stages.is-tabs .stage.is-on::before, .stages.is-tabs .stage.is-past::before { background: var(--cobalt); }
.stages.is-tabs .stage__b { flex-direction: column; gap: 8px; position: relative; z-index: 1; width: 100%; align-items: center; justify-content: flex-start; padding-bottom: 4px; font-size: .84rem; line-height: 1.2; }
.stages.is-tabs .stage__t { overflow-wrap: anywhere; }
.stages.is-tabs .stage__p { display: none; }
.stage__b:hover .stage__n { border-color: var(--cobalt); color: var(--cobalt); }
.stage.is-on .stage__n { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.stage.is-past .stage__n { border-color: var(--cobalt); color: var(--cobalt); }
.stage.is-on .stage__b { color: var(--cobalt-d); }
.stage-detail { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: var(--milk); border: 1px solid var(--line); border-left: 4px solid var(--cobalt); min-height: 116px; }
.stage-detail p { margin: 0; }
.stage-detail__k { margin-bottom: 6px !important; font: 600 .74rem/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--milk); border: 1px solid var(--line-2); font-size: .9rem; line-height: 1.3; }
.fee { list-style: none; margin-bottom: 14px; }
.fee li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.fee li:first-child { border-top: 0; }
.fee b { font: 600 1.12rem var(--f-display); white-space: nowrap; }
.fee__f { font-size: .94rem; margin-bottom: 8px; }
.fee__n { font-size: .84rem; color: var(--muted); margin: 0; }
.panel__stamp { margin-top: 14px; }
.panel__talk { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: clamp(16px, 2vw, 24px); padding: 18px 22px; border-radius: var(--r-m); background: var(--cobalt-t); }
.panel__talkt { margin: 0; font: 600 1.1rem var(--f-display); }
.channels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.channels--stack .btn { flex: 1 1 130px; }
.ruonly { margin: 22px 0 0; font-size: .86rem; color: var(--muted); max-width: 70ch; }

/* ---------- situations: a ledger index beside the open memo ---------- */
.board { background: var(--sand-l); border-block: 1px solid var(--line); padding-block: clamp(44px, 6vw, 88px); }
.board__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 14px clamp(28px, 6vw, 96px); margin-bottom: clamp(24px, 3.6vw, 44px); }
.board__head h2 { font-size: clamp(2.3rem, 1.1rem + 3.8vw, 4.2rem); letter-spacing: -.03em; }
.board__head .eyebrow { margin-bottom: 14px; }
.board__l { margin: 0; }
.board__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
.ledger { display: grid; gap: 2px; min-width: 0; }
.lgroup__h { display: flex; align-items: center; gap: 10px; margin: 20px 0 8px; font: 600 .74rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lgroup:first-child .lgroup__h { margin-top: 0; }
.lgroup__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-2); }
.lgroup--deadline .lgroup__dot { background: var(--saffron); border-color: var(--saffron); }
.lgroup__l { list-style: none; border-top: 1px solid var(--line-2); }
.lgroup--other { margin-top: 18px; }
.lrow { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 22px; align-items: center; gap: 12px; min-height: 78px; padding: 12px 8px 12px 4px; border-bottom: 1px solid var(--line-2); text-decoration: none; transition: background-color .2s, box-shadow .3s; }
/* each situation is a small doorway standing on the row's baseline; the open memo's door is filled */
.lrow__n { position: relative; align-self: end; margin-bottom: -12px; display: grid; place-items: end center; width: 36px; height: 46px; padding-bottom: 8px; border: 2px solid var(--ink-2); border-bottom: 0; border-radius: 999px 999px 0 0; font: 600 .88rem/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--ink-2); transition: background-color .25s, border-color .25s, color .25s; }
.lrow__n::after { content: ""; position: absolute; right: 7px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 1.5px var(--ink-2); transition: box-shadow .25s; }
.lrow__tx { display: grid; gap: 3px; min-width: 0; padding-block: 2px; }
.lrow__t { font: 600 1.06rem/1.25 var(--f-display); letter-spacing: -.01em; }
.lrow__s { font-size: .86rem; line-height: 1.4; color: var(--ink-2); }
.lrow .arr { justify-self: end; color: var(--cobalt); transition: transform .2s; }
.lrow:hover { background: rgba(252, 249, 245, .7); }
.lrow:hover .lrow__n { background: var(--cobalt-t); border-color: var(--cobalt); color: var(--cobalt-d); }
.lrow:hover .lrow__n::after { box-shadow: 0 0 0 1.5px var(--cobalt); }
.lrow:hover .arr { transform: translateX(3px); }
.lrow.is-on { background: var(--milk); box-shadow: inset 0 -3px 0 var(--ink); }
.lrow.is-on .lrow__n { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.lrow.is-on .lrow__n::after { box-shadow: 0 0 0 1.5px var(--cobalt); }
.lrow.is-on .lrow__t { color: var(--cobalt-d); }
.lrow--other { border-top: 0; }
.lrow--other .lrow__n { align-self: center; margin-bottom: 0; width: 36px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 0; color: var(--cobalt); background: none !important; }
.lrow--other .lrow__n::after { display: none; }
.lgroup--other .lgroup__l { border-top: 1.5px dashed var(--line-2); }
@media (min-width: 1100px) {
  .board__grid { grid-template-columns: clamp(300px, 28%, 360px) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); }
  .ledger { position: sticky; top: calc(var(--hdr-h) + 20px); max-height: calc(100vh - var(--hdr-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
  .panel { padding: clamp(24px, 2.6vw, 40px); }
  .panel__grid { grid-template-areas: "now now" "stages stages" "docs fee"; }
  .blk--now .chk-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .blk--now .chk-list li:nth-child(2) { border-top: 0; }
  .blk--fee { display: block; }
  .panel__back { display: none; }
}

/* quick calculator */
.quick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld__l { font-size: .84rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-s); background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.fld select { text-overflow: ellipsis; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--ink-2); }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--cobalt-t); }
.fld input:disabled { background: var(--sand-l); color: var(--muted); }
.fld--big { max-width: 340px; margin: 26px 0 12px; }
.quick__demo { margin: 0 0 14px; font-size: .88rem; font-weight: 600; color: var(--cobalt-d); }
.fld--big input { min-height: 58px; font-size: 1.2rem; font-weight: 600; }
.quick__out { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); background: var(--ink); color: var(--milk); }
.quick__k { margin: 0 0 8px; font-size: .9rem; color: rgba(252, 249, 245, .72); }
.quick__big { margin: 0 0 22px; font: 700 clamp(2.4rem, 1.2rem + 4.4vw, 4.2rem)/1 var(--f-display); letter-spacing: -.03em; }
.bar90 { display: grid; grid-template-columns: repeat(90, 1fr); gap: 1.5px; margin-bottom: 14px; }
.bar90 i { height: 34px; border-radius: 2px; background: rgba(255, 255, 255, .17); transition: background-color .3s; }
.bar90 i.is-on { background: var(--cobalt-l); }
.bar90 i.is-now { background: var(--saffron); }
.bar90.is-end i.is-on { background: var(--saffron); }
.quick__p { margin: 0 0 18px; font-weight: 600; min-height: 1.6em; }
.stamp { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.quick__out .stamp { color: rgba(252, 249, 245, .66); }
.stamp--c { margin-top: 28px; }

/* cobalt band with greetings */
.band { background: var(--cobalt); color: #fff; padding-block: clamp(52px, 7vw, 96px); --focus: var(--saffron); }
.band--slim { padding-block: clamp(34px, 5vw, 56px); }
.band__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(26px, 5vw, 72px); align-items: center; }
.band__in--row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 40px; }
.band h2 { color: #fff; margin-bottom: 16px; }
.band--slim h2 { margin: 0; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); }
.band__t p { font-size: 1.08rem; color: rgba(255, 255, 255, .88); max-width: 46ch; margin-bottom: 24px; }
.band__ph { margin: 0; display: none; }
.band__ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 28% 50%; border: 3px solid rgba(255, 255, 255, .92); border-radius: 50% 50% 16px 16px / 38% 38% 16px 16px; }
.wall { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid rgba(255, 255, 255, .34); }
.wall__b { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 96px; align-items: center; gap: 4px 20px; min-height: 84px; padding: 14px 18px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .34); background: transparent; color: #fff; text-align: left; transition: background-color .25s, color .25s, padding-left .25s; }
.wall__b b { font: 600 clamp(1.3rem, 1rem + 1vw, 1.75rem)/1.1 var(--f-display); letter-spacing: -.02em; overflow-wrap: break-word; }
.wall__b span { font-size: .92rem; color: rgba(255, 255, 255, .88); }
.wall__b small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .86); }
.wall__b:hover { background: rgba(255, 255, 255, .1); padding-left: 26px; }
.wall__b[aria-pressed="true"] { background: var(--milk); color: var(--cobalt-d); }
.wall__b[aria-pressed="true"] span { color: var(--ink-2); }
.wall__b[aria-pressed="true"] small { color: var(--muted); }

/* fees table */
.ft__wrap { overflow-x: auto; }
.ft { width: 100%; border-collapse: collapse; background: var(--milk); border-radius: var(--r-m); overflow: hidden; }
.ft th, .ft td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ft thead th { background: var(--ink); color: var(--milk); font: 600 .74rem/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.ft tbody th { font-weight: 600; width: 34%; }
.ft__p b { font: 600 1.2rem var(--f-display); white-space: nowrap; }
.ft__f { color: var(--ink-2); font-size: .94rem; }
.ft tbody tr:last-child th, .ft tbody tr:last-child td { border-bottom: 0; }
.ft tbody tr { transition: background-color .2s; }
.ft tbody tr:hover { background: var(--cobalt-t); }
.ft__notes { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); margin-top: 26px; font-size: .96rem; }
.ft__state { padding: 18px 22px; border-radius: var(--r-m); border: 1.5px dashed var(--line-2); }
.ft__state ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 10px; }
.ft__st { margin-bottom: 8px; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 5vw, 72px); align-items: center; }
.about__ph { margin: 0; }
.about__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.facts { margin: 24px 0 0; }
.facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; }
.proc { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.proc__i { position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.proc__n { position: absolute; top: -22px; left: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cobalt); color: #fff; font: 700 1.05rem/1 var(--f-display); }
@media (min-width: 901px) {
  .proc { align-items: start; }
  .proc__i:nth-child(1) { margin-top: 72px; }
  .proc__i:nth-child(2) { margin-top: 48px; }
  .proc__i:nth-child(3) { margin-top: 24px; }
}
.proc__i b { display: block; margin-top: 14px; font: 600 1.18rem var(--f-display); }
.proc__i p { margin: 8px 0 0; font-size: .96rem; color: var(--ink-2); }

/* faq */
.faqw { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(26px, 5vw, 72px); align-items: start; }
.faqw .sech { margin: 0; position: sticky; top: calc(var(--hdr-h) + 20px); }
.qa { border-top: 1px solid var(--line-2); }
.qa:last-child { border-bottom: 1px solid var(--line-2); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font: 500 1.14rem/1.3 var(--f-display); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); transition: background-color .2s, transform .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--ink); transition: transform .3s, background-color .2s; }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--cobalt); border-color: var(--cobalt); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa[open] summary i::after { transform: rotate(0); }
.qa summary:hover { color: var(--cobalt); }
.qa > p, .qa .static__b { padding: 0 44px 22px 0; color: var(--ink-2); margin: 0; }

/* contacts */
.contacts { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; }
.card { background: var(--milk); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(18px, 3vw, 34px); }
.card__h { font-size: 1.4rem; margin-bottom: 16px; }
.contacts__mh { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 18px; }
.contacts__mh h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-bottom: 6px; }
.contacts__mh p { margin: 0; }
.map { border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
.map__svg { width: 100%; height: auto; }
.m-bg { fill: var(--sand); }
.m-river { fill: #CBD8F5; }
.m-blocks rect { fill: var(--sand-l); }
.m-streets path { fill: none; stroke: var(--milk); stroke-width: 9; stroke-linecap: round; }
.m-streets .m-main { stroke-width: 14; stroke: #fff; }
.m-t { font: 600 11px/1 var(--f-body); fill: var(--ink-2); }
.m-t--river { font-style: italic; fill: #2F4FA8; font-size: 12px; }
.m-t--main { font-size: 12px; letter-spacing: .06em; fill: var(--ink); }
.m-metro circle { fill: var(--ink); }
.m-metro text { fill: #fff; font: 700 12px var(--f-display); }
.m-pin path:first-of-type { fill: var(--saffron); stroke: var(--ink); stroke-width: 2.5; }
.m-pin__d { stroke: var(--ink); }
.m-pulse { fill: rgba(226, 162, 58, .3); animation: mpulse 2.6s ease-out infinite; transform-origin: center; }
@keyframes mpulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.m-label rect { fill: var(--ink); }
.m-label__a { font: 700 14px var(--f-display); fill: #fff; }
.m-label__b { font: 500 11.5px var(--f-body); fill: rgba(255, 255, 255, .86); }
.m-compass circle { fill: var(--milk); stroke: var(--ink-2); stroke-width: 1.2; }
.m-compass path { fill: var(--ink); }
.m-compass text { font: 700 10px var(--f-body); fill: var(--ink); }
.contacts__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 18px; margin: 18px 0 8px; }
.contacts__h { margin: 0; font-weight: 600; }
.contacts__tel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 14px 0 20px; }
.form { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.form__warn { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--saffron-t); font-size: .92rem; font-weight: 600; line-height: 1.4; }
.form__warn svg { flex: none; margin-top: 1px; }
.chk--consent { padding: 4px 0; min-height: 48px; align-items: center; }
.chk--consent .chk__tx { font-size: .9rem; color: var(--ink-2); }
.chk--consent a { display: inline-block; padding-block: 13px; margin-block: -13px; color: var(--cobalt); }

/* footer */
.foot { background: var(--ink); color: rgba(252, 249, 245, .86); padding-top: clamp(44px, 6vw, 72px); --focus: var(--saffron); font-size: .94rem; }
.foot a { text-underline-offset: 3px; }
.foot__grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr 1.3fr; gap: clamp(20px, 3.4vw, 44px); padding-bottom: 36px; }
.foot__logo { margin: 0 0 12px; display: grid; gap: 2px; }
.foot__logo b { font: 700 1.7rem/1 var(--f-display); color: #fff; }
.foot__logo span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(252, 249, 245, .6); }
.foot__nav { display: grid; align-content: start; gap: 2px; }
.foot__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot__nav a:hover { color: var(--saffron); }
.foot p { margin: 0 0 12px; }
.foot__legal p:first-child { color: #fff; }
.foot__bar { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 20px 28px; font-size: .84rem; color: rgba(252, 249, 245, .66); }
.foot__bar::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.foot__bar p { margin: 0; }
.foot__bar a, .foot__contacts a { display: inline-block; padding-block: 11px; }

/* mobile contact bar */
.mbar { display: none; }

/* ---------- inner pages ---------- */
.phead { padding-block: clamp(30px, 5vw, 64px) clamp(24px, 3vw, 40px); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 26vw, 340px); gap: clamp(24px, 5vw, 72px); align-items: center; }
.phead__ph { margin: 0; }
.phead__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l); box-shadow: 0 30px 50px -34px rgba(29, 27, 25, .6); }
.phead__ph:not(.phead__ph--wide) img { border-radius: 50% 50% var(--r-l) var(--r-l) / 30% 30% var(--r-l) var(--r-l); }
.phead__ph--wide { }
.phead__ph--wide img { aspect-ratio: 4 / 3; }
.phead__h1 { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.8rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 18px; }
.phead--legal { padding-bottom: 8px; }
.bignum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .12em; margin: 4px 0 18px; font: 700 clamp(4.4rem, 2rem + 12vw, 10.5rem)/.9 var(--f-display); letter-spacing: -.05em; }
.bignum__a { color: var(--cobalt); }
.bignum i { font: 400 .28em/1 var(--f-display); letter-spacing: 0; color: var(--muted); }
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.calc__form { display: grid; gap: 22px; }
.trips { border: 0; margin: 0; padding: 0; min-width: 0; }
.trips legend { padding: 0; margin-bottom: 12px; font: 600 1.15rem var(--f-display); }
.trip { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px 12px; align-items: end; padding: 14px 0; border-top: 1px solid var(--line); }
.trip .chk { grid-column: 2 / 4; }
.trip__x { grid-column: 4; grid-row: 1; }
.trip:first-child { border-top: 0; padding-top: 0; }
.trip__n { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--ink); color: var(--milk); font: 700 .84rem/1 var(--f-display); }
.trip .chk { align-self: center; padding: 2px 0 0; min-height: 44px; align-items: center; }
.trip__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.trip__x:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.trip__x:disabled { opacity: .35; cursor: default; }
.calc__demo { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--cobalt-t); font-size: .88rem; font-weight: 600; color: var(--cobalt-d); }
.trip__err { grid-column: 2 / -1; margin: 0; min-height: 0; font-size: .86rem; font-weight: 600; color: var(--ink); }
.trip__err:not(:empty) { padding: 6px 12px; border-radius: 8px; background: var(--saffron-t); }
.calc__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.calc__dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 14px; }
.calc__res { position: sticky; top: calc(var(--hdr-h) + 16px); }
.res__h { font-size: 1.15rem; margin-bottom: 14px; }
.res__top { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.res__big { display: flex; align-items: baseline; gap: 10px; }
.res__big b { font: 700 clamp(3.8rem, 2.4rem + 5vw, 6rem)/.9 var(--f-display); letter-spacing: -.04em; color: var(--cobalt); }
.res__big span { font: 500 1.4rem var(--f-display); color: var(--muted); }
.res__lab p { margin: 0; font-weight: 600; }
.res__chips { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; }
.rchip { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--sand-l); border: 1px solid var(--line); font-size: .94rem; }
.rchip b { font: 700 1.15rem var(--f-display); white-space: nowrap; }
.rchip--warn { background: var(--saffron); border-color: var(--saffron); color: var(--ink); font-weight: 600; }
.tape { display: grid; gap: 5px; margin-bottom: 12px; }
.tape__row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; align-items: center; }
.tape__d { font: 600 .68rem/1 var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.tape__cells { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; }
.tape i { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--sand-d); }
.tape i.in { background: var(--cobalt); }
.tape.is-anim i.in { animation: cellin .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 5ms); }
@keyframes cellin { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.tape i.now { box-shadow: 0 0 0 2px var(--milk), 0 0 0 4px var(--ink); position: relative; z-index: 1; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px; font-size: .84rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend .c { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: var(--sand-d); }
.legend .c.in { background: var(--cobalt); }
.legend .c.now { background: var(--milk); box-shadow: 0 0 0 2px var(--ink); }
.res__plan { padding: 12px 16px; border-radius: 14px; background: var(--cobalt-t); font-weight: 600; font-size: .96rem; }
.res__opt { font-size: .96rem; color: var(--ink-2); }
.res__note, .res__empty { padding: 16px 18px; border-radius: 14px; background: var(--saffron-t); font-weight: 600; }
.res__empty { background: var(--sand-l); font-weight: 500; color: var(--ink-2); }
.res__act { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 16px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); }
.trio__i { padding-top: 18px; border-top: 2px solid var(--ink); }
.trio__i h3 { font-size: 1.28rem; margin-bottom: 12px; }
.trio__i p { color: var(--ink-2); font-size: 1rem; }

.docsgen { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.docsgen__ctl { display: grid; gap: 14px; position: sticky; top: calc(var(--hdr-h) + 16px); }
.docsgen__ctl .blk__h { margin: 6px 0 2px; font-size: 1.1rem; }
.docsgen__ctl p { margin: 0; }
.stat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stat__o { position: relative; display: block; }
.stat__o input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.stat__c { display: flex; align-items: center; min-height: 58px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; line-height: 1.25; transition: background-color .2s, border-color .2s, color .2s; }
.stat__o:hover .stat__c { border-color: var(--cobalt); }
.stat__o input:checked + .stat__c { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.stat__o input:focus-visible + .stat__c { outline: 3px solid var(--focus); outline-offset: 3px; }
.out__h { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 8px; }
.out__h h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.out__h .eyebrow { max-width: 56ch; letter-spacing: .06em; line-height: 1.45; }
.ringcol { display: grid; justify-items: center; gap: 4px; flex: none; }
.ringcol__t { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.grp { margin-top: 22px; }
.grp h3 { margin-bottom: 4px; font: 600 .78rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); }
.dlist { list-style: none; }
.dlist li { border-top: 1px solid var(--line); }
.dlist li:first-child { border-top: 0; }
.chk--doc { padding: 13px 0; min-height: 56px; }
.dlist__t { display: grid; gap: 2px; min-width: 0; }
.dlist__t b { font-weight: 600; line-height: 1.35; }
.dlist__t small { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.dlist__ru { font-style: normal; font-size: .84rem; color: var(--cobalt-d); }
.dlist__ru::before { content: "RU · "; font-weight: 700; letter-spacing: .04em; }
.chk--doc input:checked ~ .dlist__t b { color: var(--muted); }
.feeline { display: flex; justify-content: space-between; gap: 16px; margin: 20px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--sand-l); border: 1px dashed var(--line-2); }
.feeline b { font: 600 1.15rem var(--f-display); white-space: nowrap; }
.docs-static { display: none; }
html:not(.js) .docs-static { display: block; margin-top: 40px; }
.static__h { font-size: 1.5rem; margin-bottom: 10px; }
.static__h + .stamp { margin-bottom: 18px; }
.static__b h4 { margin: 14px 0 6px; font-size: 1rem; }
.static__b ul { padding-left: 20px; }

/* legal pages */
.legal > * { max-width: 800px; }
.clauses { list-style: none; counter-reset: c; }
.clauses > li { counter-increment: c; position: relative; padding: 26px 0 8px 64px; border-top: 1px solid var(--line-2); }
.clauses > li::before { content: counter(c); position: absolute; left: 0; top: 24px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sand); color: var(--ink); font: 700 1rem var(--f-display); }
.clauses h2 { font-size: 1.4rem; margin-bottom: 12px; }
.dash { list-style: none; margin-bottom: 14px; }
.dash li { position: relative; padding-left: 20px; margin-bottom: 4px; }
.dash li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--cobalt); }
.legal a { color: var(--cobalt); }
.legal__back { margin-top: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 18px; background: var(--milk); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(29, 27, 25, .55); display: none; }
  .nav.is-open { display: flex; }
  .nav a { min-height: 52px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .burger { display: grid; }
  .hdr__cta { display: none; }
}
@media (min-width: 1061px) {
  .band__in { grid-template-columns: minmax(0, .8fr) clamp(170px, 14vw, 200px) minmax(0, 1.7fr); gap: clamp(26px, 3.4vw, 48px); }
  .band__ph { display: block; }
}
@media (max-width: 1060px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .band__in { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 38vw); column-gap: clamp(24px, 4vw, 48px); }
  .contacts { grid-template-columns: 1fr; }
  .calc, .docsgen { grid-template-columns: 1fr; }
  .calc__res, .docsgen__ctl { position: static; }
  .faqw { grid-template-columns: 1fr; }
  .faqw .sech { position: static; margin-bottom: 20px; }
  .quick { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "doors" "card"; row-gap: 0; }
  .hero__head { padding-bottom: 22px; }
  .doors__r { max-width: none; border-bottom: 6px solid var(--ink); }
  .dl { margin-top: 44px; max-width: 520px; width: 100%; justify-self: center; }
  .hero__sill::after { display: none; }
  .board__head { grid-template-columns: 1fr; }
  .panel__grid { grid-template-columns: 1fr; grid-template-areas: none; }
  .blk--now, .blk--stages, .blk--docs, .blk--fee { grid-area: auto; }
  .blk--fee { grid-template-columns: 1fr; grid-template-areas: none; }
  .blk--fee .blk__h, .blk--fee .fee, .blk--fee .fee__f, .blk--fee .fee__n { grid-area: auto; }
  .blk--fee .fee { margin-bottom: 14px; }
  .about { grid-template-columns: 1fr; }
  .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .trio { grid-template-columns: 1fr; }
  .ft__notes { grid-template-columns: 1fr; }
  .phead__grid { grid-template-columns: 1fr; }
  .phead__ph { max-width: 420px; }
  .phead__ph img { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 64px; }
  body { padding-bottom: 84px; }
  .hdr { position: relative; }
  .hdr__in { flex-wrap: wrap; row-gap: 8px; padding-block: 10px; min-height: 0; }
  .brand__t small { display: none; }
  .pg-index .hdr .langsw { display: none; }
  .langsw { order: 3; width: 100%; justify-content: stretch; }
  .langsw__b { flex: 1 1 0; min-height: 44px; }
  .hdr .nav { top: auto; }
  .nav { position: static; display: none; width: 100%; order: 4; padding: 0 0 8px; box-shadow: none; border: 0; background: transparent; }
  .plate .btn { margin-left: 0; }
  .plate { gap: 10px 20px; }
  .ft thead { display: none; }
  .ft, .ft tbody, .ft tr, .ft th, .ft td { display: block; width: 100% !important; }
  .ft tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .ft th, .ft td { padding: 0; border: 0; }
  .ft__p { margin: 4px 0 6px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(252, 249, 245, .97); border-top: 1px solid var(--line-2); box-shadow: 0 -14px 30px -22px rgba(29, 27, 25, .6); }
  .mbar__b { min-height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font: 600 .96rem var(--f-body); }
  .mbar__b--call { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
  .mbar__h { display: grid; margin: 0; padding: 0 4px; line-height: 1.2; font-size: .8rem; font-weight: 600; text-align: right; }
  .mbar__k { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
  .trip { grid-template-columns: 30px minmax(0, 1fr) 44px; }
  .trip .fld, .trip .chk { grid-column: 2; }
  .trip__x { grid-column: 3; grid-row: 1; }
  .trip__n { grid-row: 1; align-self: end; }
  .calc__dates { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .stages.is-tabs .stage__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stages.is-tabs .stage::before { top: 19px; }
  .res__top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .clauses > li { padding-left: 0; padding-top: 74px; }
  .clauses > li::before { top: 22px; }
  .qa > p, .qa .static__b { padding-right: 0; }
}
@media (max-width: 600px) {
  .door__n { display: none; }
  .door { min-height: 112px; }
  .wall__b { grid-template-columns: minmax(0, 1fr) auto; min-height: 0; padding: 14px 14px; }
  .wall__b span { grid-column: 1 / -1; grid-row: 2; }
  .proc { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr 1fr; }
  .panel__talk { padding: 16px; }
  .channels .btn { flex: 1 1 calc(50% - 10px); }
  .fee li { flex-wrap: wrap; gap: 2px 12px; }
  .out__h { flex-direction: column-reverse; align-items: flex-start; }
  .ringcol { grid-auto-flow: column; align-items: center; gap: 12px; }
}
@media (max-width: 420px) {
  .hero__h { font-size: 2.45rem; }
  .brand__t b { font-size: 1.2rem; }
  .tape__row { grid-template-columns: 34px minmax(0, 1fr); }
}
@media (pointer: coarse) {
  .langsw__b { min-height: 44px; }
}

/* ---------- print: wallet card / checklists / document list ---------- */
.print-sheet { display: none; }
@media print {
  @page { size: A4; margin: 14mm; }
  body.is-printing { background: #fff; color: #000; padding: 0; font-size: 11pt; }
  body.is-printing > *:not(.print-sheet) { display: none !important; }
  body.is-printing .print-sheet { display: block; }
  .psheet { font-family: var(--f-body); }
  .psheet__k { font-size: 9pt; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6mm; color: #333; }
  .psheet h1 { font-size: 20pt; margin-bottom: 3mm; letter-spacing: 0; }
  .psheet__l, .psheet__n { font-size: 9pt; color: #333; }
  .psheet__n { margin-top: 8mm; border-top: 1px solid #000; padding-top: 3mm; }
  .plist { list-style: none; margin-top: 6mm; }
  .plist li { display: flex; gap: 4mm; align-items: flex-start; padding: 2.4mm 0; border-bottom: .3mm solid #999; break-inside: avoid; }
  .pbox { flex: none; display: inline-grid; place-items: center; width: 5.5mm; height: 5.5mm; border: .5mm solid #000; border-radius: 1mm; font-size: 10pt; font-weight: 700; margin-top: .6mm; }
  .plist small { color: #444; }
  .pcard { width: 92mm; padding: 5mm; border: .5mm solid #000; border-radius: 4mm; font-size: 9pt; line-height: 1.35; break-inside: avoid; }
  .pcard__h { font-size: 12pt; font-weight: 700; margin: 0 0 3mm; }
  .pcard dl { margin: 0; }
  .pcard dt { font-size: 7.5pt; text-transform: uppercase; letter-spacing: .06em; margin-top: 2mm; color: #333; }
  .pcard dd { margin: 0; font-size: 10pt; }
  .pcard__n { margin: 3mm 0 1mm; font-size: 7.5pt; color: #333; }
  .pcard__c { margin: 0; font-size: 7.5pt; font-weight: 700; }
  .pcard__cut { margin-top: 3mm; font-size: 8pt; color: #555; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__kick, .hero__greet, .hero__h, .hero__lead, .hero__cta, .doors, .dl, .hero__h.is-swap, .hero__greet.is-swap { animation: none; }
}
