
/* Layout: Apple-style column of quiet full-width bands; one bold moment (globe + AI matcher); visa-sticker cards; country sheets open over the page */
/* Palette from the Kazakh flag: sky turquoise + sun gold, on cinematic night bands and bright neutral daylight bands */
:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --band: #eef2f5;
  --ink: #0b0e14;
  --muted: #5d6673;
  --line: #dde3ea;
  --accent: #00809a;
  --on-accent: #ffffff;
  --accent-soft: rgba(0, 150, 180, 0.10);
  --stamp: #9a6b00;
  --btn-bg: #0b0e14;
  --btn-fg: #ffffff;
  --good: #1a7f4e;
  --warn: #a8650c;
  --crit: #b3322b;
  --dot: #c4cad6;
  --scrim: rgba(5, 8, 14, 0.55);
  --night: #04060b;
  --glow-a: #3fd6ee;
  --glow-b: #f6c544;
  --font-display: "Onest", -apple-system, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-body: "Onest", -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 22px;
}
/* Light theme only (dark mode switched off at the owner's request; tokens kept in hv-before-light.html) */
:root { color-scheme: light; }
/* Night bands: deliberately dark in both themes (hero, pricing, final call, footer, header) */
.night {
  --bg: #04060b; --surface: #0b1017; --band: #070a10; --ink: #f4f6fa; --muted: #98a2b2;
  --line: #1a2230; --accent: #3fd2ea; --on-accent: #03141a; --accent-soft: rgba(63, 210, 234, 0.12); --stamp: #f4c43a;
  --btn-bg: #ffffff; --btn-fg: #04060b; --good: #4fc28a; --warn: #e5a54a; --crit: #ff7a70;
  background: var(--bg); color: var(--ink); color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg); color: var(--ink); font-family: var(--font-body);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--night);
}
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(64px, 9vw, 120px); }
.band.alt { background: var(--band); }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--stamp); margin-bottom: 14px;
}
.h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; line-height: 1.06; }
.lead { color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); max-width: 60ch; margin-top: 16px; }
.demo { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--stamp); border: 1px solid currentColor; border-radius: 6px; padding: 1px 6px; vertical-align: middle; white-space: nowrap; }
.demo-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo b { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.logo span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--stamp); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; border-radius: 999px; padding: 4px 10px;
  font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 12px 22px; transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-glow { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 0 0 1px rgba(63,210,234,.35), 0 10px 40px -8px rgba(63,210,234,.55); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost { background: transparent; color: var(--accent); padding-inline: 6px; }
.btn-small { padding: 8px 14px; font-size: 13.5px; }
@media (max-width: 860px) { .nav { display: none; } .top .wrap { justify-content: space-between; } }
@media (max-width: 420px) { .top-actions .btn-small { display: none; } }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, var(--glow-b) 0%, #ffe9a8 30%, var(--glow-a) 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(63,210,234,.16), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -30% -15%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(246,197,68,.08), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.board { margin-top: 26px; display: grid; gap: 6px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; max-width: 440px; }
.board-row { display: grid; grid-template-columns: 44px 18px 1fr auto; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.035); border: 1px solid var(--line); color: var(--muted); }
.board-row b { color: var(--ink); font-weight: 500; }
.board-row .city { color: var(--ink); }
.board-row .st { color: var(--glow-a); }
.hero .lead { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.globe-box { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: center; touch-action: pan-y; cursor: grab; }
.globe-box:active { cursor: grabbing; }
.globe-box canvas { width: 100%; height: 100%; display: block; }
.globe-tag {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--muted); white-space: nowrap;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .globe-box { max-width: 420px; order: -1; margin-inline: auto; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; margin-top: clamp(40px, 6vw, 72px); }
.stat b { background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 55%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 18px; } }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 44px; }
.dest {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: transform .2s ease, border-color .2s ease; cursor: pointer; text-align: left;
}
.dest:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--accent) 60%, transparent); }
.dest .code { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--stamp); }
.dest h3 { font-size: 24px; font-weight: 700; }
.types { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--font-mono); font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.dest p { color: var(--muted); font-size: 14.5px; }
.dest .go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--accent); }

/* Matcher */
.matcher { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 44px; align-items: start; }
@media (max-width: 900px) { .matcher { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); min-width: 0; }
.q { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.q legend { max-width: 100%; white-space: normal; font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt label {
  display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; user-select: none;
}
.opt input:checked + label { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.opt input:focus-visible + label { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.matcher-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.fine { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* Visa sticker */
.sticker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; }
.sticker-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 22px clamp(20px, 3vw, 28px) 18px; border-bottom: 1px dashed var(--line);
  background: repeating-linear-gradient(135deg, transparent 0 14px, var(--accent-soft) 14px 15px);
}
.sticker-head .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.sticker-head h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; margin-top: 6px; }
.vcode { font-family: var(--font-mono); font-weight: 500; font-size: 15px; color: var(--stamp); border: 1.5px solid var(--stamp); border-radius: 10px; padding: 6px 10px; white-space: nowrap; transform: rotate(-4deg); }
.sticker-body { padding: 20px clamp(20px, 3vw, 28px) 22px; display: grid; gap: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.high { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.pill.medium { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.pill.prep { color: var(--crit); background: color-mix(in srgb, var(--crit) 11%, transparent); }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.summary { font-size: 16px; }
.sub-h { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.mrz { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.22em; color: var(--muted); padding: 12px clamp(20px, 3vw, 28px); border-top: 1px dashed var(--line); white-space: nowrap; overflow: hidden; background: var(--band); }
.result-tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--stamp); letter-spacing: 0.1em; }
.handoff { border-top: 1px solid var(--line); padding: 18px clamp(20px, 3vw, 28px) 22px; display: grid; gap: 12px; }
.msg { font-size: 14.5px; background: var(--band); border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); word-break: break-word; }
.loading { display: grid; gap: 12px; padding: 28px; }
.sk { height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--band), var(--line), var(--band)); background-size: 200% 100%; animation: sh 1.3s linear infinite; }
@keyframes sh { to { background-position: -200% 0; } }

/* Packages */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.plan.featured { border: 1px solid rgba(63,210,234,.55); box-shadow: 0 0 0 1px rgba(63,210,234,.25), 0 30px 80px -30px rgba(63,210,234,.45); }
.plan .badge { position: absolute; top: 26px; right: 24px; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; }
.plan h3 { font-size: 24px; font-weight: 700; }
.plan .price { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: "✓"; color: var(--good); font-weight: 700; }
.plan .btn { margin-top: auto; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Status */
.status-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; margin-top: 44px; align-items: start; }
@media (max-width: 860px) { .status-wrap { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.input {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px;
  background: var(--bg); font-family: var(--font-mono); font-size: 16px; letter-spacing: 0.06em;
}
.status-form { display: grid; gap: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-bottom: 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .mark { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 13px; background: var(--surface); position: relative; z-index: 1; }
.timeline li.done .mark { background: var(--good); border-color: var(--good); color: var(--surface); }
.timeline li.done::after { background: var(--good); }
.timeline li.now .mark { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline li.now .mark::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline h4 { font-size: 16px; font-weight: 600; }
.timeline p { font-size: 14px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
.step { padding-top: 20px; border-top: 2px solid var(--ink); min-width: 0; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-mono); font-size: 13px; color: var(--stamp); }
.step h3 { font-size: 20px; font-weight: 700; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Why */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 44px; }
.why > div { background: var(--surface); padding: clamp(22px, 3vw, 34px); min-width: 0; }
.why h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .why { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.5; }
.review .who { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.review .who b { font-size: 15px; }
.review .who span { font-size: 13px; color: var(--muted); }
.stars { color: var(--stamp); letter-spacing: 2px; font-size: 15px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* Offices */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.office { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.office h3 { font-size: 22px; font-weight: 700; }
.office p { color: var(--muted); font-size: 14.5px; }
.office .city-code { font-family: var(--font-mono); font-size: 12.5px; color: var(--stamp); letter-spacing: 0.1em; }
@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 68ch; }

.final { text-align: center; }
.final .lead { margin-inline: auto; }
.final .hero-cta { justify-content: center; }
footer { border-top: 1px solid var(--line); padding-block: 32px 96px; }
footer .wrap { display: grid; gap: 10px; }
footer p { font-size: 13px; color: var(--muted); max-width: 80ch; }

/* Country sheet */
.sheet-scrim { position: fixed; inset: 0; z-index: 50; background: var(--scrim); display: flex; justify-content: center; align-items: flex-end; }
.sheet {
  background: var(--bg); width: 100%; max-width: 860px; max-height: calc(100% - 40px - env(safe-area-inset-top, 0px));
  border-radius: 28px 28px 0 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 0 max(18px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
  animation: up .32s cubic-bezier(.2, .8, .2, 1);
}
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (min-width: 900px) { .sheet-scrim { align-items: center; } .sheet { border-radius: 28px; max-height: 88vh; } }
.sheet-bar { position: sticky; top: 0; z-index: 2; background: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 12px; border-bottom: 1px solid var(--line); }
.sheet-bar .code { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; color: var(--stamp); }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--band); cursor: pointer; display: grid; place-items: center; font-size: 18px; color: var(--ink); flex: none; }
.sheet h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-top: 22px; }
.seg { display: inline-flex; background: var(--band); border-radius: 12px; padding: 4px; margin-top: 18px; }
.seg button { border: 0; background: transparent; border-radius: 9px; padding: 8px 18px; font-weight: 600; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.sheet-lead { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 24px; }
.facts > div { background: var(--surface); padding: 16px 18px; min-width: 0; }
.facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-weight: 600; font-size: 15.5px; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.sheet-sec { margin-top: 28px; }
.sheet-sec h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.olist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: o; }
.olist li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15.5px; }
.olist li::before { counter-increment: o; content: counter(o); width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.callout { margin-top: 28px; border-radius: 18px; padding: 20px; background: var(--accent-soft); display: grid; gap: 14px; }
.callout p { font-size: 15.5px; }
.sheet-src { margin-top: 20px; font-size: 12.5px; color: var(--muted); }

/* Chat */
.chat-fab {
  position: fixed; z-index: 30;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--bg); border-radius: 999px; padding: 12px 18px 12px 14px;
  font-weight: 600; font-size: 14.5px; box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.chat-fab .dot { width: 10px; height: 10px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.25); }
.chat {
  position: fixed; z-index: 45;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100% - 36px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  height: min(620px, calc(100% - 100px - env(safe-area-inset-top, 0px)));
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22); display: flex; flex-direction: column; overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head .av { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-family: var(--font-display); flex: none; }
.chat-head b { display: block; font-size: 15px; }
.chat-head span { font-size: 12.5px; color: var(--muted); }
.chat-head .icon-btn { margin-left: auto; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.bubble.bot { background: var(--band); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.me { background: var(--accent); color: var(--on-accent); align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble.typing { color: var(--muted); }
.chat-sugg { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.chat-sugg button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 11px; font-size: 13px; cursor: pointer; }
.chat-handoff { padding: 0 16px 10px; }
.chat-handoff button { width: 100%; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: var(--bg); font-size: 15px; }
.chat-form button { flex: none; }
@media (max-width: 520px) {
  .chat { right: 0; bottom: 0; width: 100%; height: calc(100% - env(safe-area-inset-top, 0px)); border-radius: 22px 22px 0 0; padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
}

.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 60; max-width: calc(100% - 32px); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Socials, links-as-cards, visa pages */
a.dest { color: inherit; text-decoration: none; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: color .15s, border-color .15s, transform .15s; }
.soc svg { width: 21px; height: 21px; }
.soc:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.soc-whatsapp:hover { color: #25d366; border-color: #25d366; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.final .socials { justify-content: center; margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; list-style: none; padding: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: .6; }
.vhero { padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.vhero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(63,210,234,.14), transparent 70%); pointer-events: none; }
.vhero .wrap { position: relative; z-index: 1; }
.vhero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; max-width: 18ch; }
.vhero .lead { margin-top: 18px; }
.seg-links { display: inline-flex; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-top: 26px; }
.seg-links a { padding: 8px 18px; border-radius: 9px; font-weight: 600; font-size: 14.5px; color: var(--muted); text-decoration: none; }
.seg-links a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.vgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .vgrid { grid-template-columns: minmax(0, 1fr); } }
.vmain { display: grid; gap: 44px; min-width: 0; }
.vmain h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 16px; }
.aside-card { position: sticky; top: calc(80px + env(safe-area-inset-top, 0px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; }
.aside-card h3 { font-size: 21px; font-weight: 700; }
.aside-card .price { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.aside-card .btn { width: 100%; }
.updated { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.related a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); background: var(--surface); transition: border-color .15s; }
.related a:hover { border-color: var(--accent); }
.related .code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--stamp); }
.related b { font-size: 16px; }
.related span:last-child { font-size: 13px; color: var(--muted); }

/* v5: plan alignment */
.brand { display: grid; gap: 1px; min-width: 0; }
.logo-note { font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; white-space: nowrap; }
.btn-wa { background: #1fae5b; color: #fff; }
.btn-wa svg { width: 18px; height: 18px; }
.picker { margin-top: 30px; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: grid; gap: 12px; max-width: 560px; }
.picker-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.pick-field { flex: 1 1 200px; display: grid; gap: 4px; background: rgba(255,255,255,.06); border-radius: 14px; padding: 8px 14px; border: 1px solid var(--line); min-width: 0; }
.pick-field label { font-size: 11.5px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pick-field select { border: 0; background: transparent; font-weight: 600; font-size: 16px; color: var(--ink); padding: 0; outline-offset: 4px; }
.pick-field select option { color: #0b0e14; }
.pick-seg { display: inline-flex; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.pick-seg button { border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 14.5px; border-radius: 10px; padding: 0 16px; cursor: pointer; min-height: 44px; }
.pick-seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.picker .btn { width: 100%; }
.hero-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.fork { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 44px; }
.fork-card { border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; align-content: start; min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.fork-card.study { background: radial-gradient(120% 120% at 100% 0%, rgba(63,210,234,.22), transparent 55%), radial-gradient(90% 90% at 0% 100%, rgba(246,197,68,.14), transparent 60%), #070b12; color: #f4f6fa; border-color: rgba(63,210,234,.35); }
.fork-card.study .muted, .fork-card.study p { color: #a3adbd; }
.fork-card h3 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.fork-card .tag { justify-self: start; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--stamp); }
.fork-card.study .tag { color: #f6c544; }
.fork-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fork-links a { display: flex; justify-content: space-between; gap: 8px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); color: inherit; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.fork-card.study .fork-links a { border-color: rgba(255,255,255,.12); }
.fork-links a span { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--stamp); }
.fork-card.study .fork-links a span { color: #3fd6ee; }
.fork-links a:hover { border-color: var(--accent); }
@media (max-width: 820px) { .fork { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .fork-links { grid-template-columns: minmax(0, 1fr); } }
.offices-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
@media (max-width: 900px) { .offices-wrap { grid-template-columns: minmax(0, 1fr); } }
.kzmap { background: #060a11; border: 1px solid rgba(63,210,234,.25); border-radius: 24px; padding: 14px; color: #f4f6fa; min-width: 0; }
.kzmap svg { width: 100%; height: auto; display: block; }
.kz-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: #a3adbd; padding: 4px 6px 2px; }
.kz-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.offices-wrap .offices { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.office .meta-row { margin-top: 6px; }
.rating { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rating span { font-size: 13.5px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--surface); }
.rating b { color: var(--stamp); }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.fabs { position: fixed; z-index: 30; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fabs .chat-fab { position: static; }
.fab-wa { width: 58px; height: 58px; border-radius: 50%; background: #1fae5b; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31,174,91,.45); text-decoration: none; }
.fab-wa svg { width: 30px; height: 30px; }
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 29; left: 0; right: 0; bottom: 0;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, #04060b 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,.08); }
  .mbar .btn { width: 100%; padding: 12px 10px; }
  .fabs { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .fabs .fab-wa { display: none; }
  footer { padding-bottom: 150px; }
  .toast { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}
.foot-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; margin: 10px 0 14px; }
.foot-links h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.foot-links a { display: block; color: var(--ink); text-decoration: none; font-size: 14px; padding: 3px 0; opacity: .85; }
.foot-links a:hover { opacity: 1; color: var(--accent); }

/* v6 */
.btn svg { width: 18px; height: 18px; flex: none; }
.soc { width: 46px; height: 46px; border: 0; color: #fff; box-shadow: 0 6px 18px -8px rgba(0,0,0,.5); }
.soc svg { width: 23px; height: 23px; }
.soc:hover { color: #fff; transform: translateY(-2px) scale(1.04); }
.soc-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.soc-youtube { background: #ff0033; }
.soc-youtube svg { width: 26px; height: 26px; }
.soc-telegram { background: #229ed9; }
.soc-tiktok { background: #010101; box-shadow: -2px -2px 0 0 #25f4ee inset, 2px 2px 0 0 #fe2c55 inset; }
.soc-facebook { background: #1877f2; }
.soc-whatsapp { background: #25d366; }
.soc-whatsapp:hover { color: #fff; }
.btn-tg { background: #229ed9; color: #fff; }
.btn-tg svg { width: 18px; height: 18px; }
.rv-head { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rv-src { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-size: 14px; }
.rv-src b { font-size: 15px; }
.rv-logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; flex: none; }
.rv-logo.gis { background: #19aa1e; }
.rv-logo.gmaps { background: #4285f4; }
.rv-src .muted { color: var(--muted); }
.rv-card { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rv-placeholder { color: var(--muted); font-style: italic; font-size: 15.5px; }
.rv-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.rv-policy { margin-top: 18px; font-size: 13.5px; color: var(--muted); max-width: 72ch; }

/* v7 */
body.menu-open .fabs, body.menu-open .mbar { display: none; }
.mnav-lang { display: none; gap: 8px; margin-top: 18px; }
.mnav-lang button { flex: 1; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 12px; padding: 12px; font-weight: 600; cursor: pointer; }
@media (max-width: 420px) { .top-actions .lang { display: none; } .mnav-lang { display: flex; } }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, top .2s ease; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
@media (max-width: 860px) { .burger { display: inline-block; } }
.mnav { position: fixed; z-index: 19; left: 0; right: 0; top: calc(60px + env(safe-area-inset-top, 0px)); bottom: 0; overflow-y: auto; padding-block: 12px 32px; border-top: 1px solid var(--line); }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav li a { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.mnav-cta .btn { width: 100%; }
.dest-seg { margin-top: 28px; }
.dest-seg button { padding: 10px 20px; }
.dest .flag { display: block; height: 6px; border-radius: 6px; margin: -6px 0 2px; box-shadow: 0 0 0 1px var(--line); max-width: 72px; }
.dest .code { margin-top: 2px; }
@media (max-width: 560px) {
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .dest { padding: 16px; gap: 8px; border-radius: 18px; }
  .dest h3 { font-size: 18px; }
  .dest p { font-size: 13px; }
  .dest .go { font-size: 13px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 12px; line-height: 1.35; display: block; }
}
@media (max-width: 860px) {
  .plans { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -4px; padding-inline: 4px; }
  .plan { scroll-snap-align: start; }
  .plans-hint { display: block; }
}
.plans-hint { display: none; margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { transform: translateY(18px); opacity: .55; } to { transform: none; opacity: 1; } }
}

/* v8 */
.rv-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
@media (max-width: 640px) { .rv-head { grid-template-columns: minmax(0, 1fr); } }
.rv-src { padding: 20px 22px; border-radius: 22px; gap: 16px; transition: border-color .15s, transform .15s; }
.rv-src:hover { border-color: var(--accent); transform: translateY(-2px); }
.rv-src .rv-logo { width: 46px; height: 46px; border-radius: 14px; font-size: 17px; }
.rv-src .rv-t { display: grid; gap: 2px; min-width: 0; }
.rv-src .rv-t b { font-size: 18px; }
.rv-src .rv-t span { font-size: 13.5px; color: var(--muted); }
.rv-src .rv-go { margin-left: auto; font-weight: 600; font-size: 14px; color: var(--accent); white-space: nowrap; }
.brandlock { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.bl-mark { height: 30px; width: auto; display: block; }
.bl-text { display: grid; gap: 4px; min-width: 0; }
.bl-word { height: 10.5px; width: auto; display: block; }
.brandlock .logo-note { font-size: 10px; }
@media (max-width: 380px) { .bl-mark { height: 26px; } .bl-word { height: 9px; } .brandlock .logo-note { font-size: 9px; } }
.soc-telegram { display: none; }
footer .fgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: 40px; padding-top: 12px; }
@media (max-width: 900px) { footer .fgrid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.fbrand { display: grid; gap: 16px; align-content: start; }
.f-logo { width: 150px; height: auto; display: block; }
.fbrand p { font-size: 14px; color: var(--muted); max-width: 34ch; }
.f-wa { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 10px 16px 10px 12px; border-radius: 16px; background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.35); color: var(--ink); text-decoration: none; }
.f-wa svg { width: 26px; height: 26px; color: #25d366; flex: none; }
.f-wa b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.f-wa small { display: block; font-size: 12px; color: var(--muted); }
footer h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 12px; }
.fdir ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (max-width: 520px) { .fdir ul { grid-template-columns: minmax(0, 1fr); } }
.fdir li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.fflag { width: 22px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.fdir b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fpills { display: inline-flex; gap: 6px; }
.fpills a { font-size: 12px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.fpills a:hover { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.fcol { display: grid; align-content: start; }
.fcol a { color: var(--ink); text-decoration: none; font-size: 14.5px; padding: 6px 0; opacity: .85; }
.fcol a:hover { opacity: 1; color: var(--accent); }
.fbottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.fbottom p { font-size: 12.5px; color: var(--muted); max-width: 90ch; }
.frow { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.frow a { color: var(--muted); }

/* v10 */
footer .wrap { grid-template-columns: minmax(0, 1fr); }
.frow .demo { white-space: normal; }
.f-addr { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); text-decoration: none; font-size: 14.5px; justify-self: start; }
.f-addr span { color: var(--glow-b); font-size: 16px; }
.f-addr:hover { color: var(--accent); }

/* clients carousel */
#clients .cl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
#clients .cl-head > div:first-child { flex: 1 1 0; min-width: 0; }
.cl-nav { display: flex; gap: 8px; flex: none; }
.cl-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 18px; cursor: pointer; transition: border-color .15s, transform .15s; }
.cl-arrow:hover { border-color: var(--accent); transform: translateY(-1px); }
@media (max-width: 640px) { .cl-nav { display: none; } }
.cl-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 26%, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin: 32px -4px 0; scrollbar-width: thin; overscroll-behavior-x: contain; }
@media (max-width: 640px) { .cl-track { grid-auto-columns: 72%; gap: 12px; } }
.cl-card { margin: 0; scroll-snap-align: start; display: grid; gap: 12px; min-width: 0; }
.cl-open { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; display: block; width: 100%; }
.cl-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.cl-open:hover img { transform: scale(1.03); }
.cl-card figcaption { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center; }
.cl-card figcaption b { font-size: 15.5px; }
.cl-card figcaption span:last-child { grid-column: 2; font-size: 13px; color: var(--muted); }
.cl-flag { width: 22px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); grid-row: span 2; align-self: start; margin-top: 3px; }
.cl-ph { aspect-ratio: 3 / 4; border-radius: 22px; border: 1px dashed var(--line); background: radial-gradient(120% 90% at 50% 0%, var(--accent-soft), transparent 60%), var(--surface); display: grid; place-content: center; justify-items: center; gap: 14px; padding: 20px; text-align: center; color: var(--muted); position: relative; overflow: hidden; }
.cl-ph svg { width: 54px; height: 54px; color: var(--accent); opacity: .8; }
.cl-ph p { font-size: 13.5px; line-height: 1.45; }
.cl-ph-flag { position: absolute; top: 0; left: 0; right: 0; height: 5px; opacity: .9; }
.cl-slot figcaption b { color: var(--muted); font-weight: 600; }
.cl-note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.cl-more { margin-top: 18px; }
.btn-ig { color: #fff; background: radial-gradient(circle at 20% 120%, #fdf497 0%, #fd5949 40%, #d6249f 62%, #285aeb 100%); box-shadow: 0 10px 30px -12px rgba(214,36,159,.55); }
.btn-ig:hover { filter: saturate(1.1) brightness(1.05); }
.lb { position: fixed; inset: 0; z-index: 70; background: rgba(4,6,11,.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.lb img { max-width: min(92vw, 720px); max-height: 80vh; border-radius: 18px; object-fit: contain; }
.lb p { color: #e8ecf2; text-align: center; margin-top: 12px; font-size: 15px; }
.lb button { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer; }

/* v11 */
@view-transition { navigation: auto; }
header.top { view-transition-name: hv-top; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.nav a[aria-current] { color: var(--ink); position: relative; }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--accent); }
.mnav li a[aria-current] { color: var(--accent); }
footer a[aria-current="page"] { color: var(--ink); font-weight: 600; pointer-events: none; cursor: default; }
footer a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }

/* v12 expert */
.xp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(22px, 4vw, 56px); align-items: center; }
.xp-photo { position: relative; max-width: 440px; width: 100%; }
.xp-photo::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 32px; background: radial-gradient(80% 70% at 30% 20%, var(--accent-soft), transparent 70%); z-index: 0; }
.xp-photo img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 28px; display: block; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.xp-body { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.xp-body .eyebrow { margin: 0; }
.xp-name { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.xp-lead { font-size: 17px; color: var(--muted); max-width: 46ch; }
.xp-facts { list-style: none; padding: 0; margin: 6px 0 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.xp-facts li { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--surface); display: grid; gap: 3px; }
.xp-facts b { font-size: 16px; font-weight: 700; }
.xp-facts span { font-size: 13.5px; color: var(--muted); }
.xp-fine { font-size: 13px; color: var(--muted); margin-top: -2px; }
.xp-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 760px) {
  .xp { grid-template-columns: minmax(0, 1fr); }
  .xp-photo { max-width: 300px; }
}
@media (max-width: 420px) { .xp-facts { grid-template-columns: minmax(0, 1fr); } }
.vmain .xp { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; border: 1px solid var(--line); border-radius: 24px; padding: 20px; background: var(--surface); margin-top: 18px; }
.vmain .xp-name { font-size: clamp(24px, 3vw, 30px); }
.vmain .xp-facts { grid-template-columns: minmax(0, 1fr); }
.vmain .xp-facts li { background: var(--bg); padding: 10px 14px; }
@media (max-width: 560px) { .vmain .xp { grid-template-columns: minmax(0, 1fr); } .vmain .xp-photo { max-width: 260px; } }
.xp-mini { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.xp-mini img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.xp-mini span { display: grid; gap: 2px; min-width: 0; }
.xp-mini b { font-size: 15px; }
.xp-mini-name { color: var(--ink); text-decoration: none; }
.xp-mini-name:hover { color: var(--accent); }
.updated a { color: inherit; }
.xp-mini small { font-size: 12.5px; color: var(--muted); }
.updated b { color: var(--ink); font-weight: 600; }

.team-sub { font-size: 20px; font-weight: 700; margin: 26px 0 0; }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 14px; }
.member { margin: 0; display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: 16px; background: var(--surface); min-width: 0; }
.member img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line); }
.member figcaption { display: grid; gap: 3px; min-width: 0; }
.member b { font-size: 16.5px; }
.member span { font-size: 12.5px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stamp); }
.member small { font-size: 13px; color: var(--muted); }
/* v13 pricing */
.plans-note { margin-top: 18px; font-size: 14px; color: var(--muted); border-left: 3px solid var(--accent); padding: 4px 0 4px 12px; max-width: 80ch; }
.plans-out { margin-top: 18px; font-size: 14px; color: var(--muted); }
.plans-out b { color: var(--ink); font-weight: 600; }
.plan .btn[data-wa] { justify-content: center; }
.vmain .plans { margin-top: 14px; gap: 12px; }
.vmain .plan { padding: 20px; gap: 12px; }
.vmain .plan h3 { font-size: 20px; }
.vmain .plan .price { font-size: 26px; }
.vmain .plan ul { font-size: 14px; gap: 8px; }
.vmain .plan .btn { white-space: nowrap; font-size: 14px; padding-inline: 12px; }
.mini-plans .p.ask { font-size: 17px; color: var(--muted); }
.vmain .plan .badge { position: static; justify-self: start; align-self: flex-start; }
@media (min-width: 861px) and (max-width: 1100px) { .vmain .plans { grid-template-columns: minmax(0, 1fr); } }
/* v14 price switcher */
.pricebox { margin-top: 30px; }
.pt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pt-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.pt-tabs button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 14.5px; padding: 9px 18px; border-radius: 10px; cursor: pointer; }
.pt-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.pt-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pt-purp { margin-top: 10px; }
.pt-soon { font-size: 13px; color: var(--muted); }
.pricebox .plans { margin-top: 26px; }
@media (max-width: 480px) { .pt-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; } .pt-tabs::-webkit-scrollbar { display: none; } .pt-tabs button { padding: 8px 9px; font-size: 13.5px; white-space: nowrap; flex: none; } }
.plans.compact .plan { padding: 24px; gap: 10px; }
.plans.compact .plan h3 { font-size: 21px; }
.plans.compact .plan .price { font-size: 32px; }
.plans.compact .plan-sum { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.plans.compact .plan .btn { margin-top: auto; justify-content: center; }
/* v15 price page */
.ptable-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.ptable { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.ptable caption { text-align: left; padding: 16px 20px 0; font-size: 13px; color: var(--muted); }
.ptable th, .ptable td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ptable thead th { font-size: 13px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ptable tbody th { font-weight: 600; }
.ptable tbody th a { color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line); }
.ptable tbody th a:hover { color: var(--accent); }
.ptable td { font-family: var(--font-display); font-weight: 700; font-size: 17px; white-space: nowrap; }
.ptable .on { background: var(--accent-soft); }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }
.ptable tr.ask td { font-family: var(--font-body); font-weight: 400; font-size: 14.5px; color: var(--muted); white-space: normal; background: none; }
.pr-all { margin-top: 22px; }
@media (max-width: 640px) {
  .ptable-wrap { overflow: visible; }
  .ptable { min-width: 0; }
  .ptable caption { display: block; width: auto; padding: 14px 16px 0; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ptable tr:last-child { border-bottom: 0; }
  .ptable th, .ptable td { border: 0; padding: 4px 0; }
  .ptable tbody th { font-size: 16.5px; margin-bottom: 6px; }
  .ptable td { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; background: none; }
  .ptable td::before { content: attr(data-l); font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); }
  .ptable td.on { background: none; color: var(--accent); }
  .ptable tr.ask td::before { content: none; }
}

/* v16 programs */
.reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.reward { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: var(--surface); display: grid; gap: 6px; }
.reward b { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; }
.reward p { color: var(--muted); font-size: 15px; }
.ref-examples { display: grid; gap: 8px; margin-top: 12px; max-width: 620px; }
.ref-examples div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 15.5px; }
.ref-examples b { font-family: var(--font-display); white-space: nowrap; }
.ref-strip { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--accent-soft); }
.ref-strip p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); max-width: 60ch; }
.ref-strip b { font-weight: 700; }
.lang[hidden], .mnav-lang[hidden] { display: none !important; }
@media (max-width: 640px) { .reward-grid { grid-template-columns: minmax(0, 1fr); } }

.leader { margin: 18px 0 0; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 24px; padding: 20px; background: var(--surface); }
.leader img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line); }
.leader figcaption { display: grid; gap: 6px; min-width: 0; }
.leader h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.leader p { color: var(--muted); font-size: 15px; }
.leader .leader-role { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--stamp); }
@media (max-width: 520px) { .leader { grid-template-columns: 1fr; justify-items: start; } .leader img { width: 112px; height: 112px; } }

/* v5: inner pages */
.keystats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.keystats div { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: rgba(255,255,255,.04); min-width: 0; }
.keystats dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.keystats dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; }
.test { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); display: grid; gap: 18px; }
.test .q { margin: 0; }
.test-result { border-radius: 18px; padding: 18px; background: var(--band); display: grid; gap: 10px; }
.test-result p { font-size: 15px; }
.mini-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini-plans div { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--surface); display: grid; gap: 6px; }
.ask-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.ask-price p { margin: 0; max-width: 56ch; }
.mini-plans div.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft); }
.mini-plans b { font-size: 16px; }
.mini-plans .p { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.mini-plans span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .mini-plans { grid-template-columns: minmax(0, 1fr); } }
.story { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--surface); display: grid; gap: 12px; }
.story blockquote { margin: 0; font-size: 17px; }
.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; }
.lead-form .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 560px) { .lead-form .row2 { grid-template-columns: minmax(0, 1fr); } }
.lead-form .input { font-family: var(--font-body); letter-spacing: 0; }
.lead-form select.input { appearance: auto; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 13px; color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; }
.err { color: var(--crit); font-size: 13px; }
.ok-box { border-radius: 16px; padding: 18px; background: color-mix(in srgb, var(--good) 10%, transparent); border: 1px solid color-mix(in srgb, var(--good) 35%, transparent); display: grid; gap: 10px; }
.doc-list { columns: 2; column-gap: 28px; }
.doc-list li { break-inside: avoid; margin-bottom: 6px; }
@media (max-width: 560px) { .doc-list { columns: 1; } }
.prose { max-width: 70ch; display: grid; gap: 14px; font-size: 16.5px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-top: 18px; }
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--surface); display: grid; gap: 8px; align-content: start; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14.5px; }
.soon { justify-self: start; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--stamp); border: 1px solid currentColor; border-radius: 6px; padding: 1px 6px; }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; }
.city-list span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; background: var(--surface); }
