@font-face { font-family: "Manrope"; src: url(vendor/manrope-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(vendor/manrope-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: "Unbounded"; src: url(vendor/unbounded-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url(vendor/unbounded-latin-wght-normal.woff2) format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }

:root {
  --bg: #0d1110;
  --bg-2: #141a18;
  --bg-3: #1c2421;
  --line: #2a3430;
  --text: #edf2ee;
  --muted: #94a39b;
  --accent: #c6f24e;
  --accent-ink: #18210a;
  --accent-soft: rgba(198, 242, 78, .12);
  --warn: #ffb74d;
  --warn-soft: rgba(255, 183, 77, .13);
  --bad: #ff7a70;
  --bad-soft: rgba(255, 122, 112, .13);
  --radius: 18px;
  --radius-s: 12px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f6f1;
  --bg-2: #ffffff;
  --bg-3: #e9eee4;
  --line: #d8dfd2;
  --text: #141a16;
  --muted: #5e6b63;
  --accent: #3f7d0c;
  --accent-ink: #ffffff;
  --accent-soft: rgba(63, 125, 12, .1);
  --warn: #b36b00;
  --warn-soft: rgba(179, 107, 0, .1);
  --bad: #c7362b;
  --bad-soft: rgba(199, 54, 43, .09);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--muted); }
.small { font-size: 14px; }
.boot { display: grid; place-items: center; min-height: 100vh; }
.boot span { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.noscript { padding: 24px; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform .12s ease, opacity .12s ease, background .12s ease; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-soft { background: var(--bg-3); color: var(--text); }
.btn-wide { width: 100%; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Landing */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 17px var(--display); text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav .btn { min-height: 40px; padding: 0 16px; border-radius: 11px; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 88px 0 72px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); margin-top: 22px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.route { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.route-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.route-state { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; }
.route-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.route-big { font: 600 34px var(--display); margin: 18px 0 20px; }
.route-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.route-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--bg-3); border-radius: var(--radius-s); font-size: 15px; }
.route-list span:last-child { color: var(--muted); text-align: right; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.fact { padding: 26px 20px 26px 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact b { display: block; font: 600 clamp(17px, 2vw, 22px) var(--display); }
.fact span { color: var(--muted); font-size: 15px; }

.section { padding: 80px 0 0; }
.section h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-lead { color: var(--muted); margin-top: 12px; max-width: 42em; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.plan-card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plan-card h3 { font-size: 16px; font-weight: 700; }
.plan-price { font: 600 30px var(--display); margin: 14px 0 2px; }
.plan-note { color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; counter-reset: step; }
.step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 24px; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 9px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
.tab[aria-selected="true"] { background: var(--bg-3); color: var(--text); }
.app-links { display: grid; gap: 8px; margin-top: 12px; }
.app-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); text-decoration: none; font-weight: 600; }
.app-link small { color: var(--muted); font-weight: 500; font-size: 14px; }
.app-link:hover { border-color: var(--muted); }

.faq { margin-top: 24px; display: grid; gap: 8px; max-width: 800px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding-bottom: 16px; }

.foot { margin-top: 88px; border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot a { color: inherit; }
.foot-in span:first-child { margin-right: auto; }

/* Cabinet */
.cab { max-width: 560px; margin: 0 auto; padding: 18px 16px calc(92px + var(--safe-bottom)); }
.cab-head { display: flex; align-items: center; justify-content: space-between; min-height: 40px; margin-bottom: 14px; }
.cab-head .logo { font-size: 15px; }
.cab-user { color: var(--muted); font-size: 14px; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card, .card + .sect, .sect + .card { margin-top: 12px; }
.sect { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 22px 4px 10px; }
.page-title { font: 600 22px var(--display); margin: 2px 4px 14px; }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--bg-3); color: var(--muted); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--accent-soft); color: var(--accent); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }

.days { font: 600 54px/1 var(--display); margin: 16px 0 4px; letter-spacing: -.03em; }
.days small { font: 600 17px var(--body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.kv { display: grid; gap: 10px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.kv-flat { margin-top: 0; padding-top: 0; border-top: 0; }
.sr-copy { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.stack { display: grid; gap: 10px; margin-top: 16px; }

.linkbox { display: flex; gap: 8px; align-items: stretch; margin-top: 12px; }
.linkbox code { flex: 1; min-width: 0; padding: 12px; background: var(--bg-3); border-radius: var(--radius-s); font-size: 13px; overflow-wrap: anywhere; }
.iconbtn { flex: none; min-width: 72px; padding: 0 12px; border-radius: var(--radius-s); background: var(--bg-3); font-weight: 700; font-size: 14px; }
.qr { display: grid; place-items: center; margin-top: 14px; padding: 14px; background: #fff; border-radius: var(--radius-s); }
.qr svg { width: min(100%, 240px); height: auto; display: block; }

.notice { padding: 14px 16px; border-radius: var(--radius-s); font-size: 15px; background: var(--warn-soft); color: var(--text); }
.notice.bad { background: var(--bad-soft); }
.notice.ok { background: var(--accent-soft); }
.notice + * { margin-top: 12px; }

.choice { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 14px; }
.opt[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); }
.opt-main { flex: 1; font-weight: 700; }
.opt-main small { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }
.opt-price { font-weight: 800; white-space: nowrap; }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--text); }

.order { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; font-size: 15px; }
.order + .order { border-top: 1px solid var(--line); }
.order small { display: block; color: var(--muted); font-size: 13px; }
.order-amount { font-weight: 800; white-space: nowrap; text-align: right; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 16px; }
.stat b { display: block; font: 600 22px var(--display); }
.stat span { font-size: 14px; color: var(--muted); }

.menu { display: grid; }
.menu a, .menu button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 14px 0; text-align: left; text-decoration: none; font-weight: 600; }
.menu > * + * { border-top: 1px solid var(--line); }
.menu .chev { color: var(--muted); }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 8px max(10px, calc(50% - 280px)) calc(8px + var(--safe-bottom)); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: 12px; font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none; }
.tabbar a[aria-current="page"] { color: var(--accent); }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Login, documents, simple pages */
.narrow { max-width: 480px; margin: 0 auto; padding: 32px 20px 60px; }
.narrow h1 { font-size: 28px; }
.field { display: block; margin-top: 18px; }
.field span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field input { width: 100%; min-height: 50px; padding: 0 14px; background: var(--bg-2); border: 1.5px solid var(--line); border-radius: var(--radius-s); }
.field input:focus { outline: none; border-color: var(--accent); }
.err { color: var(--bad); font-size: 14px; margin-top: 10px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
.hint { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.hint b { color: var(--text); }
.hint p + p { margin-top: 10px; }
.doc { max-width: 760px; margin: 0 auto; padding: 32px 20px 60px; }
.doc h1 { font-size: 28px; margin-bottom: 22px; }
.doc p { margin-bottom: 12px; color: var(--muted); }
.doc p.h { color: var(--text); font-weight: 700; margin-top: 22px; }

.result { text-align: center; padding: 30px 20px; }
.result h2 { font-size: 22px; margin: 14px 0 8px; }
.result-mark { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font-size: 26px; font-weight: 800; background: var(--accent-soft); color: var(--accent); }
.result-mark.wait { background: var(--bg-3); }
.result-mark.wait::before { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.result-mark.bad { background: var(--bad-soft); color: var(--bad); }

#toast { position: fixed; left: 50%; bottom: calc(88px + var(--safe-bottom)); transform: translate(-50%, 16px); max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 12px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 30; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

.bridge { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.bridge-card { max-width: 380px; text-align: center; display: grid; gap: 14px; }
.bridge-card h1 { font-size: 24px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 44px; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 18px 12px 18px 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .section { padding-top: 60px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .plans { grid-template-columns: 1fr; }
  .plan-card { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
  .plan-price { margin: 0; font-size: 24px; }
  .plan-note { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .btn-row { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .cab { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
