/* ═══════════════════════════════════════════════════════════════════
   DentaLab — marketing site design system
   Editorial premium: bone paper · ink navy · cobalt · a touch of gold
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --paper: #f5f3ee;
  --paper-2: #edeae2;
  --card: #ffffff;
  --ink: #10161f;
  --ink-2: #3c4453;
  --muted: #6b7280;
  --line: #e2ded3;
  --line-2: #d5d0c2;
  --accent: #1f4fd8;
  --accent-ink: #16389b;
  --accent-soft: #e8edfb;
  --gold: #b3924e;
  --gold-soft: #f3ead6;
  --good: #177a4c;
  --good-soft: #e3f2ea;
  --bad: #b3383e;
  --bad-soft: #f7e7e7;
  --dark-panel: #0d1524;
  --dark-panel-2: #111c31;
  --dark-line: #223052;
  --dark-text: #e9edf5;
  --dark-muted: #94a0b8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 22, 31, .05), 0 12px 32px -12px rgba(16, 22, 31, .14);
  --shadow-lg: 0 2px 6px rgba(16, 22, 31, .06), 0 32px 64px -24px rgba(16, 22, 31, .22);
  --font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

[data-theme="dark"] {
  --paper: #0c111c;
  --paper-2: #101726;
  --card: #141c2e;
  --ink: #edf0f6;
  --ink-2: #c3cad8;
  --muted: #8d97ab;
  --line: #222c42;
  --line-2: #2c3852;
  --accent: #6f92ff;
  --accent-ink: #a8bcff;
  --accent-soft: #1a2540;
  --gold: #d4b56e;
  --gold-soft: #2a2415;
  --good: #4cc38a;
  --good-soft: #12291d;
  --bad: #e5717a;
  --bad-soft: #321a1c;
  --dark-panel: #0a0f1a;
  --dark-panel-2: #0e1626;
  --dark-line: #223052;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 32px 64px -24px rgba(0, 0, 0, .6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: 1320px; }

/* ── Typography ─────────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.01em;
}
.h-hero { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
.h-sec { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.h-sub { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.display em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(1.02rem, 1.6vw, 1.19rem); color: var(--ink-2); line-height: 1.75; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.mono { font-family: var(--font-mono); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 800; font-size: 15.5px;
  padding: 15px 28px; border-radius: 14px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s, border-color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 79, 216, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(31, 79, 216, .6); }
.btn-ink { background: var(--ink); color: var(--paper); }
[data-theme="dark"] .btn-ink { background: #edf0f6; color: #0c111c; }
.btn-ink:hover { transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: #10161f; }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 16.5px; }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 11px; }
.btn-full { width: 100%; }

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand-mark { font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand-mark b { color: var(--accent); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 15px; border-radius: 10px; text-decoration: none;
  font-weight: 700; font-size: 15px; color: var(--ink-2);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--ink); background: var(--paper-2); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; background: var(--paper-2); border-radius: 999px; padding: 3px; }
.lang-link {
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
  text-decoration: none; color: var(--muted);
}
.lang-link.active { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.09); }
.theme-toggle, .nav-burger {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .theme-toggle .moon { display: none; }
:root:not([data-theme="dark"]) .theme-toggle .sun { display: none; }
.nav-burger { display: none; }
.nav-cta { margin-left: 8px; }

.mobile-sheet {
  display: none; position: fixed; inset: 74px 0 auto 0; z-index: 89;
  background: var(--card); border-bottom: 1px solid var(--line);
  padding: 18px 24px 26px; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-lg);
}
.mobile-sheet.open { display: flex; }
.mobile-sheet > a {
  padding: 14px 10px; text-decoration: none; font-weight: 700; font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.sheet-langs { display: flex; gap: 8px; justify-content: center; padding-top: 16px; }
.sheet-langs .lang-link { background: var(--paper-2); padding: 9px 18px; font-size: 13.5px; }
.sheet-langs .lang-link.active { background: var(--ink); color: var(--paper); }

/* ── Sections rhythm ────────────────────────────────────────── */
.sec { padding: clamp(64px, 9vw, 118px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .display { margin: 16px 0 18px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-alt { background: var(--paper-2); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(31,79,216,.16), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(179,146,78,.12), transparent 55%),
    var(--dark-panel);
  color: var(--dark-text);
  padding: clamp(70px, 9vw, 120px) 0 0;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 60% 0%, #000 30%, transparent 75%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 12px var(--good); }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { color: #ffd88a; font-style: italic; }
.hero .lede { color: var(--dark-muted); max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-hint { font-family: var(--font-mono); font-size: 13px; color: var(--dark-muted); }
.hero-hint code { color: #ffd88a; }
.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--dark-line);
  margin-top: clamp(44px, 6vw, 72px);
}
.hero-stat { padding: 26px 26px 30px; border-left: 1px solid var(--dark-line); }
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600; color: #fff; }
.hero-stat .lbl { font-size: 13.5px; color: var(--dark-muted); margin-top: 6px; line-height: 1.45; }

.hero-visual { position: relative; z-index: 1; }
.shot-frame {
  background: #1a2438; border: 1px solid var(--dark-line); border-radius: 16px;
  overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
}
.shot-frame .bar {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px;
  background: #141d30; border-bottom: 1px solid var(--dark-line);
}
.shot-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3a58; }
.shot-frame .bar .url {
  flex: 1; text-align: center; font-family: var(--font-mono); font-size: 11.5px;
  color: var(--dark-muted);
}
.shot-frame img { width: 100%; }
.hero-visual .phone {
  position: absolute; right: -18px; bottom: -44px; width: clamp(130px, 12vw, 170px);
  border-radius: 26px; border: 5px solid #1a2438; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.75);
  background: #1a2438;
}
.hero-visual .phone img { width: 100%; }

/* ── Trust strip ────────────────────────────────────────────── */
.trust { padding: 34px 0; border-bottom: 1px solid var(--line); }
.trust-row { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.trust-label { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust-logos { display: flex; align-items: center; gap: clamp(18px, 3.5vw, 44px); flex-wrap: wrap; }
.trust-logo { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink-2); opacity: .85; white-space: nowrap; text-decoration: none; }
.trust-logo:hover { opacity: 1; color: var(--accent); }

/* ── Compare (problem) ──────────────────────────────────────── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow); }
.compare-col.bad { border-top: 4px solid var(--bad); }
.compare-col.good { border-top: 4px solid var(--good); }
.compare-col h3 { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.compare-col.bad h3 { color: var(--bad); }
.compare-col.good h3 { color: var(--good); }
.compare-col ul { list-style: none; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.compare-col li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 7px; margin-top: 1px;
  background-position: center; background-repeat: no-repeat; background-size: 12px;
}
.compare-col.bad li::before { background-color: var(--bad-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b3383e' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.compare-col.good li::before { background-color: var(--good-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23177a4c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ── Steps ──────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-style: italic; font-size: 42px; font-weight: 600;
  color: var(--gold); display: block; margin-bottom: 14px; line-height: 1;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ── Feature grid ───────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feat-card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 9px; letter-spacing: -.01em; }
.feat-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.feat-more { text-align: center; margin-top: 40px; }

/* ── Custom / adaptation ────────────────────────────────────── */
.custom-sec { background: var(--dark-panel); color: var(--dark-text); }
.custom-sec .sec-head .display { color: #fff; }
.custom-sec .lede { color: var(--dark-muted); }
.custom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }
.custom-point { background: var(--dark-panel-2); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 26px 24px; }
.custom-point h3 { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.custom-point p { font-size: 14px; color: var(--dark-muted); line-height: 1.65; }
.custom-point .pi {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(255, 216, 138, .1); color: #ffd88a;
  display: flex; align-items: center; justify-content: center;
}
.cases-title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 600; color: #fff; margin-bottom: 26px; }
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--dark-panel-2); border: 1px solid var(--dark-line);
  border-radius: var(--radius); padding: 24px;
}
.case .tag {
  flex-shrink: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  padding: 7px 12px; border-radius: 8px; background: rgba(111, 146, 255, .12);
  color: #a8bcff; border: 1px solid rgba(111, 146, 255, .25); white-space: nowrap;
}
.case p { font-size: 14.5px; color: var(--dark-muted); line-height: 1.65; }

/* ── Client sites gallery ───────────────────────────────────── */
.sites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.site-card {
  display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.site-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.site-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: #0d1524; }
.site-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.site-card:hover .thumb img { transform: scale(1.03); }
.site-card .meta { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.site-card .dom { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--ink); }
.site-card .go { font-size: 13px; font-weight: 800; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.sites-note { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--ink-2); background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); padding: 12px 20px; border-radius: 12px; }

/* ── Platforms ──────────────────────────────────────────────── */
.apps-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.app-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow); position: relative;
}
.app-card .badge {
  position: absolute; top: 22px; right: 22px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.badge.live { background: var(--good-soft); color: var(--good); }
.badge.soon { background: var(--gold-soft); color: var(--gold); }
.app-card h3 { font-size: 19px; font-weight: 800; margin: 16px 0 10px; letter-spacing: -.01em; padding-right: 110px; }
.app-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.app-card .ai {
  width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
}

/* ── Telegram section ───────────────────────────────────────── */
.tg-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.tg-list { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.tg-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.tg-list li b { color: var(--ink); }
.tg-list .n {
  flex: 0 0 30px; height: 30px; border-radius: 10px; background: var(--accent-soft);
  color: var(--accent); font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.tg-chat {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow-lg); display: grid; gap: 12px;
}
.tg-msg { max-width: 88%; border-radius: 16px; padding: 13px 16px; font-size: 13.8px; line-height: 1.55; }
.tg-msg.bot { background: var(--paper-2); border: 1px solid var(--line); border-top-left-radius: 6px; }
.tg-msg.bot .who { font-weight: 800; color: var(--accent); font-size: 12.5px; margin-bottom: 4px; }
.tg-msg .mono-line { font-family: var(--font-mono); font-size: 12.2px; }
.tg-msg.act { margin-left: auto; background: var(--accent); color: #fff; border-top-right-radius: 6px; font-weight: 700; text-align: center; }
.tg-btns { display: flex; gap: 8px; }
.tg-btns span {
  flex: 1; text-align: center; font-size: 12.8px; font-weight: 800; color: var(--accent);
  border: 1.5px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 10px; padding: 9px 6px; background: var(--accent-soft);
}

/* ── Demo panel ─────────────────────────────────────────────── */
.demo-panel {
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(31,79,216,.25), transparent 60%),
    var(--dark-panel);
  border-radius: 26px; color: var(--dark-text);
  padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center;
}
.demo-panel h2 { color: #fff; margin: 14px 0 16px; }
.demo-panel .lede { color: var(--dark-muted); margin-bottom: 30px; }
.demo-cred {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 14px; color: #ffd88a;
  background: rgba(255, 216, 138, .08); border: 1px dashed rgba(255, 216, 138, .35);
  padding: 12px 18px; border-radius: 12px; margin-bottom: 12px;
}
.demo-note { font-size: 13px; color: var(--dark-muted); margin-bottom: 28px; }
.demo-shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--dark-line); box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); }

/* ── Pricing ────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 3.4vw, 40px); box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column;
}
.price-card.hot { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.price-tag {
  position: absolute; top: -14px; left: 32px; font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
  background: var(--accent); color: #fff;
}
.price-card.y2 .price-tag { background: var(--gold); }
.price-name { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin: 8px 0 22px; }
.price-nums { display: flex; gap: 26px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 8px; }
.price-num .v { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 4.5vw, 3.4rem); line-height: 1; }
.price-num .v::before { content: "$"; font-size: .55em; vertical-align: super; margin-right: 2px; color: var(--muted); }
.price-num .u { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.price-or { font-family: var(--font-display); font-style: italic; color: var(--muted); font-size: 20px; padding-bottom: 10px; }
.price-save { font-size: 13.5px; font-weight: 700; color: var(--good); margin-bottom: 24px; }
.price-inc-t { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.price-list { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; }
.price-list li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.price-list li::before {
  content: ""; flex: 0 0 20px; height: 20px; border-radius: 6px; margin-top: 2px;
  background: var(--good-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23177a4c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat;
}
.price-card .btn { margin-top: auto; }
.price-custom {
  margin-top: 22px; background: var(--dark-panel); color: var(--dark-text);
  border-radius: 22px; padding: clamp(28px, 3.4vw, 40px);
  display: grid; grid-template-columns: 1.3fr 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center;
}
.price-custom h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.price-custom p { font-size: 14.5px; color: var(--dark-muted); line-height: 1.7; }
.price-custom ul { list-style: none; display: grid; gap: 9px; }
.price-custom ul li { display: flex; gap: 10px; font-size: 14px; color: var(--dark-muted); }
.price-custom ul li::before { content: "—"; color: var(--gold); font-weight: 700; }
.som-note {
  margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.trial-band {
  margin-top: clamp(40px, 6vw, 60px); border-radius: 22px;
  background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  padding: clamp(26px, 4vw, 40px); display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  justify-content: space-between;
}
.trial-band h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 600; margin-bottom: 6px; }
.trial-band p { color: var(--ink-2); font-size: 15px; max-width: 560px; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 24px; box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; padding: 20px 0; font-weight: 800; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 22px; color: var(--gold);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }

/* ── CTA band ───────────────────────────────────────────────── */
.cta-band {
  background:
    radial-gradient(900px 400px at 50% 120%, rgba(31,79,216,.3), transparent 65%),
    var(--dark-panel);
  border-radius: 26px; text-align: center; color: var(--dark-text);
  padding: clamp(52px, 8vw, 90px) clamp(24px, 5vw, 60px);
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band .lede { color: var(--dark-muted); max-width: 560px; margin: 0 auto 36px; }
.cta-band .hero-ctas { justify-content: center; }

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(26px, 3.6vw, 42px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 800; color: var(--ink-2); }
.form-group label .req { color: var(--bad); }
.input, .textarea, .select {
  font-family: var(--font-ui); font-size: 15.5px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 13px 16px; width: 100%; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.textarea { min-height: 120px; resize: vertical; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.form-agree { font-size: 12.5px; color: var(--muted); }
.form-agree a { color: var(--accent); }
.alert { border-radius: 12px; padding: 14px 18px; font-weight: 700; font-size: 14.5px; margin-bottom: 20px; }
.alert.ok { background: var(--good-soft); color: var(--good); }
.alert.err { background: var(--bad-soft); color: var(--bad); }
.direct-card { background: var(--dark-panel); color: var(--dark-text); border-radius: 22px; padding: clamp(26px, 3.6vw, 38px); display: grid; gap: 22px; }
.direct-card h3 { font-family: var(--font-display); color: #fff; font-size: 21px; font-weight: 600; }
.direct-item { display: flex; gap: 14px; align-items: flex-start; }
.direct-item .di {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(111,146,255,.12); color: #a8bcff;
  display: flex; align-items: center; justify-content: center;
}
.direct-item .lbl { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--dark-muted); }
.direct-item .val { font-weight: 700; font-size: 16px; color: #fff; text-decoration: none; }
.direct-item .val:hover { color: #ffd88a; }

/* ── About ──────────────────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.story-text p { color: var(--ink-2); line-height: 1.85; margin-bottom: 20px; font-size: 16.5px; }
.story-text p:first-child { font-size: 19px; color: var(--ink); }
.labs-list { display: grid; gap: 14px; }
.lab-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 24px; box-shadow: var(--shadow); text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.lab-row:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.lab-row .nm { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.lab-row .ds { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.lab-row .arrow { color: var(--accent); flex-shrink: 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; }
.value-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ── Legal ──────────────────────────────────────────────────── */
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-wrap .updated { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin: 10px 0 26px; }
.legal-wrap .intro { color: var(--ink-2); margin-bottom: 36px; font-size: 16.5px; }
.legal-sec { margin-bottom: 30px; }
.legal-sec h2 { font-size: 19px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; }
.legal-sec p, .legal-sec div { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
.legal-sec a { color: var(--accent); }

/* ── Page head (subpages) ───────────────────────────────────── */
.page-head { padding: clamp(52px, 7vw, 84px) 0 clamp(24px, 4vw, 42px); }
.page-head .display { margin: 14px 0 14px; }
.page-head .lede { max-width: 640px; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--dark-panel); color: var(--dark-muted); margin-top: clamp(60px, 8vw, 100px); }
.footer-inner { padding: clamp(48px, 6vw, 72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.footer .brand-mark { color: #fff; }
.footer-tagline { margin-top: 16px; font-size: 14.5px; line-height: 1.7; max-width: 300px; }
.footer h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--dark-muted); text-decoration: none; font-size: 14.5px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--dark-line); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px;
}

/* ── Reveal (JS progressive enhancement; visible by default) ── */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sites-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-custom { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .hero-visual .phone { right: 6px; bottom: -30px; }
  .tg-wrap { grid-template-columns: 1fr; }
  .demo-panel { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .feat-grid, .custom-grid, .apps-grid, .steps, .sites-grid, .cases, .values-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-left: none; border-top: 1px solid var(--dark-line); padding-left: 0; }
  .hero-stat:first-child { border-top: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-row { flex-direction: column; align-items: flex-start; }
  .nav-tools .lang-switch { display: none; }
  .btn { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .nav-cta { display: none; }
}
