:root {
  --primary: #0a2540;
  --primary-2: #0e305a;
  --primary-3: #1a3a5c;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --gold: #f59e0b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-soft: #eef2f7;
  --danger: #dc2626;
  --success: #16a34a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.25), 0 0 1px rgba(15, 23, 42, 0.1);
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  background: var(--bg-tint);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.88em;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

h1, h2, h3 { color: var(--primary); letter-spacing: -0.02em; }

/* ─── Topbar ─────────────────────────────────────────────── */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--primary);
}
.brand-mark {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 7px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.brand-mark::after {
  content: 'P';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.brand-soft { font-weight: 400; color: var(--muted); margin-left: -3px; }

.topbar nav { display: flex; gap: 8px; align-items: center; }
.topbar nav a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
}
.topbar nav a:hover { color: var(--primary); background: var(--bg-soft); text-decoration: none; }
.topbar nav a[aria-current="page"] { color: var(--primary); }
.topbar nav .nav-cta {
  background: var(--primary);
  color: #fff;
  margin-left: 8px;
}
.topbar nav .nav-cta:hover { background: var(--primary-2); color: #fff; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(800px 400px at 20% -10%, rgba(59,130,246,0.18), transparent 60%),
    radial-gradient(700px 400px at 90% 10%, rgba(96,165,250,0.12), transparent 60%),
    linear-gradient(180deg, #061a36, #0a2540 60%, #0e305a);
  color: #f8fafc;
  padding: 64px 32px 88px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-text { z-index: 2; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-2);
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.08;
  margin: 18px 0 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero .accent {
  background: linear-gradient(120deg, var(--accent-2), #c4b5fd);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 540px;
  margin: 0 0 8px;
}
.hero .lede-ru {
  font-size: 14px;
  color: #94a3b8;
  font-style: italic;
  margin: 0 0 28px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 6px 16px rgba(59,130,246,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(59,130,246,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
  text-decoration: none;
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: #f1f5f9;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); text-decoration: none; }
.hero-note {
  font-size: 13px;
  color: #94a3b8;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--accent-2);
  padding: 10px 14px;
  border-radius: 6px;
  max-width: 540px;
  margin: 0;
}
.hero-note strong { color: #e2e8f0; }

/* ─── Phone mockup ───────────────────────────────────────── */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.phone {
  width: 280px;
  height: 560px;
  background: #0c1426;
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 30px 60px -15px rgba(0,0,0,0.55),
    inset 0 0 0 2px rgba(255,255,255,0.04);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #0c1426;
  border-radius: 20px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #f0f4fa 0%, #ffffff 30%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-header {
  padding: 12px 16px 14px;
  background: #f5f7fa;
  border-bottom: 1px solid #e5e9ef;
}
.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  padding: 0 14px;
  margin-bottom: 12px;
}
.phone-icons { display: flex; gap: 4px; align-items: center; }
.sig, .wifi, .batt {
  display: inline-block;
  width: 14px; height: 10px;
  background: #0f172a;
  border-radius: 2px;
  opacity: 0.85;
}
.batt { width: 20px; border-radius: 3px; }
.phone-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.contact-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  display: flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.contact-name { font-size: 13px; font-weight: 700; color: #0f172a; }
.contact-sub { font-size: 11px; color: #64748b; }

.phone-messages {
  flex: 1;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.bubble {
  background: #e9eef5;
  color: #0f172a;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  font-size: 12.5px;
  line-height: 1.45;
  max-width: 90%;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}
.bubble-time {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* ─── Stats strip ────────────────────────────────────────── */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 32px;
  margin-top: -24px;
  position: relative;
  z-index: 3;
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-suffix { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ─── Generic section ────────────────────────────────────── */
section.benefits, section.how, section.signup, section.trust, section.faq, section.legal-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 32px;
}
section h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 12px;
  text-align: center;
  font-weight: 800;
}
.section-lede {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 16px;
}

/* ─── Benefits ───────────────────────────────────────────── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.benefit:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.icon-circle {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(96,165,250,0.06));
  color: var(--accent);
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.icon-circle svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
.benefit p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.55; }

/* ─── How it works ───────────────────────────────────────── */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 12px;
}
.steps h3 { font-size: 17px; margin: 0 0 6px; }
.steps p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.55; }

/* ─── Signup ─────────────────────────────────────────────── */
.signup { padding-top: 0 !important; }
.signup-inner {
  background: linear-gradient(135deg, #0a2540 0%, #0e305a 100%);
  color: #f8fafc;
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.signup-inner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(59,130,246,0.18), transparent 70%),
    radial-gradient(400px 250px at 0% 100%, rgba(245,158,11,0.08), transparent 70%);
  pointer-events: none;
}
.signup-copy, .signup form { position: relative; z-index: 1; }
.signup-copy h2 {
  text-align: left;
  color: #fff;
  font-size: 28px;
  margin: 0 0 12px;
}
.signup-copy p { color: #cbd5e1; margin: 0 0 20px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #e2e8f0;
  font-size: 14px;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

#opt-in-form {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--text);
}
.field { display: block; margin: 0 0 18px; }
.field-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.field input[type="tel"], .field input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.18); }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 4px; display: block; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-soft);
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.consent input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.consent strong { color: var(--text); }

button[type="submit"] {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
button[type="submit"]:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(59,130,246,0.4); }
button[type="submit"]:disabled { background: var(--muted); cursor: not-allowed; transform: none; }

.status { margin: 12px 0 0; font-size: 14px; min-height: 20px; }
.status.success { color: var(--success); }
.status.error { color: var(--danger); }

/* ─── Trust ──────────────────────────────────────────────── */
.trust { background: var(--bg-soft); max-width: none; padding-left: 32px; padding-right: 32px; }
.trust > h2, .trust > .section-lede { max-width: var(--max); margin-left: auto; margin-right: auto; }
.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 0;
  box-shadow: var(--shadow-sm);
}
.trust-card blockquote {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  position: relative;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  font-style: italic;
}
.trust-card figcaption {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq { max-width: 800px; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq details[open] { border-color: var(--accent); box-shadow: 0 4px 16px rgba(59,130,246,0.08); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
  list-style: none;
  padding-right: 28px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.6; }

/* ─── Legal strip ────────────────────────────────────────── */
.legal-strip {
  padding-top: 0;
}
.legal-strip > h3 {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--primary);
}
.legal-strip > ul {
  margin: 0;
  padding-left: 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px 24px 24px 44px;
}
.legal-strip li { margin-bottom: 10px; font-size: 14px; color: var(--text-soft); }
.legal-strip li:last-child { margin-bottom: 0; }
.legal-strip strong { color: var(--text); }

/* ─── Prose pages (privacy/terms/contact/about) ──────────── */
main.prose, main.center {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
main.center { text-align: center; }
.prose h1 { font-size: 32px; margin: 0 0 12px; }
.prose h2 { font-size: 20px; color: var(--primary); margin: 28px 0 10px; text-align: left; }
.prose p, .prose ul { margin: 0 0 14px; color: var(--text-soft); }
.muted { color: var(--muted); font-size: 14px; }
.contact-card {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 16px 0 28px;
}
.contact-card p { margin: 0 0 16px; }
.contact-card p:last-child { margin-bottom: 0; }

main.center .btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: #061a36;
  color: #94a3b8;
  padding: 56px 32px 28px;
  margin-top: 64px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-inner p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.6; }
.footer-brand { color: #fff; font-weight: 800; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 10px !important; }
.footer-h { color: #cbd5e1; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px !important; }
footer a { color: #cbd5e1; }
footer a:hover { color: #fff; }
footer code { background: rgba(255,255,255,0.08); color: #cbd5e1; }
footer .copy { max-width: var(--max); margin: 24px auto 0; font-size: 12px; color: #64748b; text-align: center; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-phone { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .signup-inner { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .topbar { padding: 12px 16px; flex-direction: column; gap: 8px; }
  .topbar nav { gap: 4px; flex-wrap: wrap; justify-content: center; }
  .topbar nav .nav-cta { margin-left: 0; }
  .hero { padding: 40px 18px 56px; }
  .hero h1 { font-size: 28px; }
  .stats { padding: 16px 18px; }
  .stats-inner { padding: 18px; }
  .stat-num { font-size: 24px; }
  section.benefits, section.how, section.signup, section.trust, section.faq, section.legal-strip {
    padding: 48px 18px;
  }
  .benefit-grid { grid-template-columns: 1fr; }
}
