/* Zamin site — "Zamin Glass": fog gradients, glass cards, rounded pills, green accent.
   Used by the homepage (body.home) and support/privacy/terms (body.doc-page).
   Light + dark follow the system; [data-theme] (set by theme.js / site.js) overrides it. */
:root {
  --bg1: #f2f3f7;
  --bg2: #ffffff;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.93);
  --surface-hover: rgba(255, 255, 255, 0.95);
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.15);
  --text: #0b1220;
  --muted: #555c6b;
  --green: #16a34a;
  --green-ink: #15803d;
  --green-soft: rgba(22, 163, 74, 0.11);
  --grad-a: #15803d;
  --grad-b: #0f766e;
  --btn-bg: #15803d;
  --btn-bg-hover: #166534;
  --btn-text: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
  --header-bg: rgba(246, 247, 250, 0.72);
  --glow1: rgba(22, 163, 74, 0.2);
  --glow2: rgba(14, 165, 233, 0.13);
  --toast-bg: #0b1220;
  --panel-bg: #ffffff;
  --toast-text: #ffffff;
  /* phone mockups */
  --scr-bg: #f7f8fa;
  --scr-wall: linear-gradient(180deg, #eef3ef 0%, #f6f7f9 100%);
  --scr-head: rgba(255, 255, 255, 0.92);
  --scr-line: rgba(15, 23, 42, 0.07);
  --scr-text: #0b1220;
  --scr-muted: #6b7280;
  --b-in: #ffffff;
  --b-out: #d9f7e3;
  --c1: #db2777;
  --c2: #2563eb;
  --c3: #ea580c;
  --mp-bg: #edf0ea;
  --mp-park: #d3ebd5;
  --mp-water: #cde2f4;
  --mp-road: #ffffff;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --pw: 296px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg1: #232428;
    --bg2: #0b0b0d;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-strong: rgba(26, 27, 31, 0.92);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.2);
    --text: #f4f5f7;
    --muted: #a7acb6;
    --green: #4ade80;
    --green-ink: #4ade80;
    --green-soft: rgba(74, 222, 128, 0.13);
    --grad-a: #4ade80;
    --grad-b: #5eead4;
    --btn-bg: #4ade80;
    --btn-bg-hover: #86efac;
    --btn-text: #052e16;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.3);
    --header-bg: rgba(18, 19, 22, 0.7);
    --glow1: rgba(74, 222, 128, 0.15);
    --glow2: rgba(56, 189, 248, 0.08);
    --toast-bg: #f4f5f7;
  --panel-bg: #1a1b1f;
    --toast-text: #0b1220;
    --scr-bg: #0f1013;
    --scr-wall: linear-gradient(180deg, #111714 0%, #0f1013 100%);
    --scr-head: rgba(24, 25, 29, 0.94);
    --scr-line: rgba(255, 255, 255, 0.08);
    --scr-text: #f4f5f7;
    --scr-muted: #9ca3af;
    --b-in: #1e2025;
    --b-out: #14532d;
    --c1: #f472b6;
    --c2: #60a5fa;
    --c3: #fb923c;
    --mp-bg: #191c1e;
    --mp-park: #1c3024;
    --mp-water: #1a2a39;
    --mp-road: #2c3036;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg1: #232428;
  --bg2: #0b0b0d;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(26, 27, 31, 0.92);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f5f7;
  --muted: #a7acb6;
  --green: #4ade80;
  --green-ink: #4ade80;
  --green-soft: rgba(74, 222, 128, 0.13);
  --grad-a: #4ade80;
  --grad-b: #5eead4;
  --btn-bg: #4ade80;
  --btn-bg-hover: #86efac;
  --btn-text: #052e16;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.3);
  --header-bg: rgba(18, 19, 22, 0.7);
  --glow1: rgba(74, 222, 128, 0.15);
  --glow2: rgba(56, 189, 248, 0.08);
  --toast-bg: #f4f5f7;
  --panel-bg: #1a1b1f;
  --toast-text: #0b1220;
  --scr-bg: #0f1013;
  --scr-wall: linear-gradient(180deg, #111714 0%, #0f1013 100%);
  --scr-head: rgba(24, 25, 29, 0.94);
  --scr-line: rgba(255, 255, 255, 0.08);
  --scr-text: #f4f5f7;
  --scr-muted: #9ca3af;
  --b-in: #1e2025;
  --b-out: #14532d;
  --c1: #f472b6;
  --c2: #60a5fa;
  --c3: #fb923c;
  --mp-bg: #191c1e;
  --mp-park: #1c3024;
  --mp-water: #1a2a39;
  --mp-road: #2c3036;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg2);
  background-image: linear-gradient(180deg, var(--bg1) 0, var(--bg2) 900px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }
:focus-visible { outline: 2.5px solid var(--green); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-text); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05); }
.bar { position: relative; display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; flex: none; }
.brand img { border-radius: 10px; box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25); }
.nav-panel { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.main-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.main-nav a {
  padding: 8px 13px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.main-nav a:hover { color: var(--text); background: var(--surface); }
.langs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); flex: none; }
.langs button {
  border: 0; background: none; cursor: pointer;
  min-width: 38px; height: 30px; padding: 0 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--muted);
}
.langs button:hover { color: var(--text); }
.langs button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-text); }
.bar-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; color: var(--text);
}
.icon-btn:hover { background: var(--surface-hover); }
.theme-btn svg { display: none; }
:root[data-theme-pref="auto"] .theme-btn .i-auto,
:root[data-theme-pref="light"] .theme-btn .i-light,
:root[data-theme-pref="dark"] .theme-btn .i-dark { display: block; }
.menu-btn { display: none; }
.menu-btn path { transition: transform 0.2s, opacity 0.2s; transform-origin: 12px 12px; }
.nav-open .menu-btn .m-top { transform: translateY(5px) rotate(45deg); }
.nav-open .menu-btn .m-mid { opacity: 0; }
.nav-open .menu-btn .m-bot { transform: translateY(-5px) rotate(-45deg); }
:root:not(.js) .theme-btn, :root:not(.js) .langs, :root:not(.js) .menu-btn { display: none; }

@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .bar { justify-content: space-between; }
  .nav-panel {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px; border-radius: 22px;
    /* Opaque: a backdrop-filter nested in the (already blurred) sticky header has no effect in WebKit. */
    background: var(--panel-bg); border: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-open .nav-panel { display: flex; animation: drop 0.18s ease-out; }
  .main-nav { flex-direction: column; align-items: stretch; margin: 0; }
  .main-nav a { padding: 12px 14px; font-size: 16px; border-radius: 14px; color: var(--text); }
  .langs { align-self: flex-start; }
  /* Without JS there is no menu button: show the links inline under the bar. */
  :root:not(.js) .bar { flex-wrap: wrap; }
  :root:not(.js) .nav-panel { position: static; display: flex; padding: 0 0 10px; background: none; border: 0; box-shadow: none; }
  :root:not(.js) .main-nav { flex-direction: row; flex-wrap: wrap; }
  :root:not(.js) .main-nav a { padding: 6px 10px; font-size: 14px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 10px 28px rgba(22, 163, 74, 0.28); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.stores.center { justify-content: center; }
.store {
  position: relative; flex: 1 1 140px; max-width: 220px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 18px 0 14px; border-radius: 14px;
  background: #000; color: #fff; border: 1px solid #a6a6a6;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
.store-ic { flex: none; }
.store-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-txt small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.9; }
.store-txt b { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.store.is-soon { background: #101113; border-color: rgba(255, 255, 255, 0.28); }
.store.is-soon .s-live, .store:not(.is-soon) .s-soon { display: none; }
.s-soon { display: inline-flex; align-items: center; gap: 5px; color: #4ade80; font-weight: 700; opacity: 1; }
.s-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); } 70%, 100% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 72px; }
.glow { position: absolute; inset: -64px 0 0; overflow: hidden; pointer-events: none; z-index: -1; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); }
.glow::before { width: 620px; height: 620px; right: -120px; top: -40px; background: radial-gradient(circle, var(--glow1), transparent 65%); }
.glow::after { width: 520px; height: 520px; left: -180px; top: 180px; background: radial-gradient(circle, var(--glow2), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; max-width: 100%;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.eyebrow .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
h1 {
  margin-top: 22px;
  font-size: clamp(40px, 6.4vw, 70px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em;
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 20px; max-width: 540px; font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.6; color: var(--muted); }
.dev-link {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--text);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: border-color 0.15s, background-color 0.15s;
}
.dev-link svg { color: var(--green-ink); flex: none; }
.dev-link .arr { transition: transform 0.15s; }
.dev-link:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.dev-link:hover .arr { transform: translateX(3px); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; }
.trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--muted); }
.trust svg { color: var(--green-ink); }

.hero-visual, .davra-visual { position: relative; display: grid; place-items: center; min-height: 640px; }

/* ---------- phone mockup ---------- */
.phone {
  position: relative; width: var(--pw); aspect-ratio: 296 / 608;
  padding: 10px; border-radius: calc(var(--pw) * 0.165);
  background: linear-gradient(155deg, #34363c 0%, #121316 45%, #050506 100%);
  box-shadow: 0 50px 90px -30px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.5), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}
.screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: calc(var(--pw) * 0.132);
  background: var(--scr-bg); color: var(--scr-text);
  display: flex; flex-direction: column;
  font-size: 12.5px; line-height: 1.35;
}
.ph-status { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 4px 26px 0; font-size: 13px; font-weight: 700; flex: none; }
.island { position: absolute; left: 50%; top: 11px; width: 86px; height: 25px; margin-left: -43px; border-radius: 20px; background: #000; }
.ph-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.ph-sig i { width: 3px; border-radius: 1px; background: currentColor; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 10px; }
.ph-sig b { width: 20px; height: 10px; margin-left: 4px; border-radius: 3px; border: 1.5px solid currentColor; position: relative; }
.ph-sig b::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; border-radius: 1px; background: currentColor; }
.av {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  color: #fff; font-weight: 800; font-size: 14px;
  background: linear-gradient(135deg, #34d399, #059669);
}
.av-a { background: linear-gradient(135deg, #4ade80, #0d9488); }
.av-b { background: linear-gradient(135deg, #f472b6, #e11d48); }
.av-c { background: linear-gradient(135deg, #fb923c, #ea580c); }
.av-d { background: linear-gradient(135deg, #60a5fa, #4f46e5); }

/* chat screen */
.ch-head { display: flex; align-items: center; gap: 8px; padding: 4px 14px 10px 10px; background: var(--scr-head); border-bottom: 1px solid var(--scr-line); flex: none; }
.ch-back { color: var(--green-ink); flex: none; }
.ch-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ch-title b { font-size: 14px; }
.ch-title small { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--scr-muted); white-space: nowrap; overflow: hidden; }
.ch-title small span { overflow: hidden; text-overflow: ellipsis; }
.ch-title small svg { color: var(--green-ink); flex: none; }
.ch-ic { color: var(--green-ink); flex: none; margin-left: 4px; }
.ch-body { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 12px 11px; background: var(--scr-wall); overflow: hidden; }
.e2e-note {
  align-self: center; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 2px;
  padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 600;
  background: var(--green-soft); color: var(--green-ink); text-align: center;
}
.msg { position: relative; max-width: 80%; padding: 6px 10px 5px; border-radius: 16px; box-shadow: 0 1px 1.5px rgba(15, 23, 42, 0.08); }
.msg.in { align-self: flex-start; background: var(--b-in); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--b-out); border-bottom-right-radius: 5px; }
.msg time { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 9.5px; color: var(--scr-muted); margin-top: 1px; }
.msg.out time svg { color: var(--green-ink); }
.who { display: block; font-size: 10.5px; font-weight: 700; margin-bottom: 1px; }
.c1 { color: var(--c1); } .c2 { color: var(--c2); } .c3 { color: var(--c3); }
.vrow { display: flex; align-items: center; gap: 7px; padding: 2px 0; }
.vplay { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); position: relative; }
.vplay::after { content: ""; position: absolute; left: 11px; top: 8px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent #fff; }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.wave i { width: 3px; border-radius: 2px; background: var(--scr-muted); opacity: 0.55; }
.wave i:nth-child(-n + 7) { background: var(--green); opacity: 1; }
.wave i:nth-child(6n + 1) { height: 8px; } .wave i:nth-child(6n + 2) { height: 15px; } .wave i:nth-child(6n + 3) { height: 20px; }
.wave i:nth-child(6n + 4) { height: 11px; } .wave i:nth-child(6n + 5) { height: 17px; } .wave i:nth-child(6n) { height: 6px; }
.vlen { font-size: 10px; color: var(--scr-muted); }
.msg.loc { width: 74%; }
.mini-map { display: block; height: 66px; margin: 3px 0 5px; border-radius: 11px; overflow: hidden; }
.mini-map svg { width: 100%; height: 100%; }
.mm-bg { fill: var(--mp-bg); }
.mm-park { fill: var(--mp-park); }
.mm-road { fill: none; stroke: var(--mp-road); stroke-width: 7; stroke-linecap: round; }
.mm-route { fill: none; stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 7; }
.mm-dot { fill: var(--green); stroke: #fff; stroke-width: 3; }
.typing { align-self: flex-start; display: inline-flex; align-items: center; gap: 3px; padding: 6px 11px; border-radius: 14px; background: var(--b-in); box-shadow: 0 1px 1.5px rgba(15, 23, 42, 0.08); }
.typing .who { display: inline; margin: 0 4px 0 0; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--scr-muted); animation: blink 1.4s infinite both; }
.typing i:nth-of-type(2) { animation-delay: 0.2s; } .typing i:nth-of-type(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }
.ch-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 20px; background: var(--scr-head); border-top: 1px solid var(--scr-line); flex: none; }
.ci-plus { display: grid; place-items: center; width: 28px; height: 28px; font-size: 22px; font-weight: 300; color: var(--scr-muted); }
.ci-field { flex: 1; height: 32px; line-height: 30px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--scr-line); background: var(--b-in); color: var(--scr-muted); font-size: 12px; }
.ci-mic { width: 32px; height: 32px; border-radius: 50%; background: var(--green); position: relative; }
.ci-mic::before { content: ""; position: absolute; left: 12.5px; top: 8px; width: 7px; height: 11px; border-radius: 4px; background: #fff; }
.ci-mic::after { content: ""; position: absolute; left: 15px; top: 19px; width: 2px; height: 5px; background: #fff; }

/* floating glass chips */
.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  max-width: 230px; padding: 9px 14px 9px 9px; border-radius: 18px;
  background: var(--surface-strong); border: 1px solid var(--border); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.float b { display: block; font-size: 13px; line-height: 1.25; }
.float small { display: block; font-size: 11.5px; color: var(--muted); }
.f-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--green-soft); color: var(--green-ink); }
.f1 { bottom: 170px; left: 0; }
.f2 { bottom: 110px; right: 0; }
.f3 { top: 46%; right: -6px; }
.f4 { top: 46%; right: 0; }

/* ---------- sections ---------- */
.section { padding: 84px 0; scroll-margin-top: 64px; }
.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.kicker {
  display: inline-block; margin-bottom: 16px; padding: 6px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--green-ink); background: var(--green-soft);
}
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.sub { margin-top: 16px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  position: relative; padding: 28px; border-radius: 26px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.f-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 16px; background: var(--green-soft); color: var(--green-ink); }
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.feature p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* security */
.sec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.points { display: grid; gap: 22px; margin-top: 34px; }
.points li { display: flex; gap: 16px; }
.p-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--green-soft); color: var(--green-ink); }
.points h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.points p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 30px; font-weight: 700; color: var(--green-ink); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sec-visual { display: grid; gap: 16px; }
.flow { display: flex; flex-direction: column; align-items: center; padding: 28px 24px; border-radius: 28px; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; width: 100%; }
.flow-who { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bub { max-width: 280px; padding: 10px 15px; border-radius: 18px; font-size: 15px; font-weight: 500; }
.bub.out { background: var(--b-out); color: var(--scr-text); border-bottom-right-radius: 6px; }
.bub.in { background: var(--surface-strong); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.flow-line { position: relative; width: 2px; height: 40px; margin: 6px 0; background: repeating-linear-gradient(180deg, var(--border-strong) 0 4px, transparent 4px 8px); }
.flow-line i { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: packet 2.4s ease-in-out infinite; }
.flow-line + .flow-node + .flow-line i { animation-delay: 1.2s; }
@keyframes packet { 0% { top: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 36px; opacity: 0; } }
.server { padding: 16px; border-radius: 20px; border: 1.5px dashed var(--border-strong); background: var(--surface); }
.srv-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); flex: none; }
.srv-ic.sm { width: 34px; height: 34px; border-radius: 11px; }
.cipher { font-family: var(--mono); font-size: 13px; letter-spacing: 0.03em; color: var(--text); overflow-wrap: anywhere; }
.server small { font-size: 13px; color: var(--muted); }
.safety { padding: 20px 22px; border-radius: 24px; }
.safety-head { display: flex; align-items: center; gap: 10px; }
.safety-head b { flex: 1; font-size: 15px; }
.ok { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--green-ink); background: var(--green-soft); }
.digits { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px 12px; margin-top: 16px; font-family: var(--mono); font-size: 15px; letter-spacing: 0.04em; }

/* davra */
.davra-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ticks { display: grid; gap: 18px; margin-top: 30px; }
.ticks li { display: flex; gap: 14px; }
.t-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--green-soft); color: var(--green-ink); }
.ticks b { display: block; font-size: 16.5px; }
.ticks span:not(.t-ic) { display: block; margin-top: 2px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.map-screen { background: var(--mp-bg); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-bg { fill: var(--mp-bg); }
.mp-park { fill: var(--mp-park); }
.mp-water { fill: none; stroke: var(--mp-water); stroke-width: 22; stroke-linecap: round; }
.mp-road { fill: none; stroke: var(--mp-road); stroke-width: 8; stroke-linecap: round; }
.mp-road.big { stroke-width: 13; }
.mp-route { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 10; }
.mp-fence { fill: var(--green-soft); stroke: var(--green); stroke-width: 2; stroke-dasharray: 5 5; }
.mp-label { font-family: var(--sans); font-size: 13px; font-weight: 700; fill: var(--green-ink); }
.on-map { color: var(--scr-text); }
.pin { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.pin .av { width: 40px; height: 40px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3); position: relative; }
.pin::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: var(--green); opacity: 0.35; animation: pulse 2.6s ease-out infinite; }
.p1 { left: 71.3%; top: 21.6%; }
.p2 { left: 52%; top: 33%; }
.p2::before { animation-delay: 0.8s; }
.p3 { left: 23.3%; top: 54.7%; }
.p3::before { animation-delay: 1.6s; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.45; } 100% { transform: scale(2.3); opacity: 0; } }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 8px 16px 20px; border-radius: 24px 24px 0 0;
  background: var(--scr-head); border-top: 1px solid var(--scr-line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.12);
}
.grab { display: block; width: 36px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: var(--scr-line); }
.sheet-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.sheet-title b { font-size: 15px; }
.sos { padding: 3px 9px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; }
.mrow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--scr-line); }
.mrow:first-of-type { border-top: 0; }
.mrow .av { width: 32px; height: 32px; font-size: 13px; }
.mrow b { display: block; font-size: 13px; }
.mrow small { display: block; font-size: 11px; color: var(--scr-muted); }

/* developers */
.dev-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.tags li { padding: 6px 12px; border-radius: 999px; font-family: var(--mono); font-size: 13px; background: var(--surface); border: 1px solid var(--border); }
.code-win {
  min-width: 0; border-radius: 22px; overflow: hidden;
  background: #0e1013; border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.5);
}
.code-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; background: #16181c; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-bar i:nth-child(2) { background: #febc2e; } .code-bar i:nth-child(3) { background: #28c840; }
.code-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12.5px; color: #9aa4b2; }
.code { margin: 0; padding: 20px 22px 24px; overflow-x: auto; font-family: var(--mono); font-size: 13.2px; line-height: 1.7; color: #e6edf3; tab-size: 4; }
.code:focus-visible { outline-offset: -3px; }
.t-kw { color: #ff7b72; } .t-str { color: #a5d6ff; } .t-num { color: #79c0ff; } .t-com { color: #8b949e; font-style: italic; } .t-bi { color: #ffa657; }

/* download cta */
.cta { position: relative; overflow: hidden; padding: 64px 32px; border-radius: 36px; text-align: center; }
.cta::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(ellipse at center, var(--glow1), transparent 60%); pointer-events: none; z-index: -1; }
.cta-logo { margin: 0 auto 22px; border-radius: 20px; box-shadow: 0 16px 36px rgba(22, 163, 74, 0.3); }
.cta h2 { max-width: 760px; margin: 0 auto; }
.cta .sub { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.site-footer { margin-top: 24px; padding: 56px 0 max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin-top: 14px; max-width: 300px; color: var(--muted); }
.foot-col { display: flex; flex-direction: column; gap: 2px; }
.foot-col h2 { margin-bottom: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot-col a { padding: 4px 0; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; position: relative; margin-top: 40px; padding-top: 22px; font-size: 14px; color: var(--muted); }
.foot-bottom::before { content: ""; position: absolute; top: 0; left: max(20px, env(safe-area-inset-left)); right: max(20px, env(safe-area-inset-left)); height: 1px; background: var(--border); }
.foot-bottom a { color: inherit; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90;
  width: max-content; max-width: min(440px, calc(100vw - 32px)); padding: 12px 20px; border-radius: 16px;
  background: var(--toast-bg); color: var(--toast-text); font-size: 14.5px; font-weight: 600; text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  opacity: 0; visibility: hidden; transform: translate(-50%, 16px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .features .reveal:nth-child(3n + 2) { transition-delay: 0.08s; }
  .features .reveal:nth-child(3n) { transition-delay: 0.16s; }
  .float { animation: bob 7s ease-in-out infinite; }
  .f2 { animation-delay: -2.3s; } .f3 { animation-delay: -4.6s; } .f4 { animation-delay: -1.2s; }
  .hero-visual .phone { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { padding-top: 36px; }
  .hero-grid, .sec-grid, .davra-grid, .dev-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual, .davra-visual { min-height: 0; padding: 12px 0; }
  .davra-copy { order: -1; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  :root { --pw: 264px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 22px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 34px; }
  .float { max-width: 190px; padding: 7px 11px 7px 7px; gap: 8px; }
  .float b { font-size: 12px; } .float small { font-size: 10.5px; }
  .f-ic { width: 30px; height: 30px; border-radius: 10px; }
  .f1 { bottom: 150px; } .f2 { bottom: 60px; } .f3 { display: none; } .f4 { top: 44%; }
  .store { max-width: none; padding: 0 14px 0 12px; }
  .store-txt b { font-size: 17px; }
  .cta { padding: 44px 18px; border-radius: 28px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-bottom::before { left: 16px; right: 16px; }
  .flow { padding: 22px 16px; }
  .digits { font-size: 13.5px; gap: 8px; }
  .code { font-size: 12px; padding: 16px; }
}
@media (max-width: 380px) {
  .langs button { min-width: 34px; padding: 0 7px; }
}

/* ---------- support / privacy / terms (body.doc-page) ---------- */
.page-hero { padding: 52px 0 28px; }
.page-hero .wrap, .doc-main { max-width: 860px; }
.page-hero h1 { margin-top: 0; font-size: clamp(32px, 5.4vw, 50px); }
.page-hero p { margin-top: 12px; font-size: 17px; color: var(--muted); }
.page-hero .lang { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.page-hero .lang a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; background: var(--surface); border: 1px solid var(--border); }
.page-hero .lang a:hover { border-color: var(--border-strong); }
.doc-main { margin: 0 auto; padding: 0 16px 64px; }
.doc-page .card {
  margin-bottom: 16px; padding: clamp(20px, 4vw, 34px); border-radius: 26px; scroll-margin-top: 80px;
  background: var(--surface-strong); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.doc-page main a { color: var(--green-ink); text-underline-offset: 2px; }
.doc-page main a.btn { color: var(--btn-text); background: var(--btn-bg); text-decoration: none; }
.doc-page main a.btn:hover { background: var(--btn-bg-hover); }
.doc-page .card h2 { margin: 0 0 14px; font-size: 22px; letter-spacing: -0.02em; }
.doc-page .card h3 { margin: 20px 0 6px; font-size: 17px; }
.doc-page .card p, .doc-page .card li { color: var(--muted); }
.doc-page .card p + p { margin-top: 10px; }
.doc-page .card ul, .doc-page .card ol { margin: 8px 0; padding-left: 22px; }
.doc-page .card li { margin: 4px 0; }
.doc-page .card strong { color: var(--text); }
.doc-page .card article h2 { margin: 28px 0 8px; font-size: 20px; }
.doc-page .card article h2:first-child, .doc-page .card article .meta + h2 { margin-top: 0; }
.doc-page .meta { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.doc-page .updated { margin-top: 8px; font-size: 14px; color: var(--muted); }
.doc-page .section-en { margin-top: 28px; }
.doc-page .table-wrap, .doc-page table { max-width: 100%; }
.doc-page table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.doc-page th, .doc-page td { text-align: left; padding: 9px 8px; border-top: 1px solid var(--border); vertical-align: top; }
.doc-page th { color: var(--muted); font-weight: 700; font-size: 13px; }
.doc-page td { color: var(--muted); }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.contact h2 { margin-bottom: 4px !important; }
.contact p { margin: 0; }
.doc-page details { border-top: 1px solid var(--border); padding: 15px 0; }
.doc-page details:first-of-type { border-top: 0; }
.doc-page summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; border-radius: 8px; }
.doc-page summary::-webkit-details-marker { display: none; }
.doc-page summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); font-size: 18px; line-height: 1; }
.doc-page details[open] summary::after { content: "\2013"; }
.doc-page details p, .doc-page details ol { margin: 10px 0 0; }
