:root {
  --bg: #0A0E18;
  --ink: #ECEFF7;
  --ink-soft: #939CB3;
  --accent: #33D6C2;
  --accent-soft: rgba(51,214,194,0.12);
  --accent-2: #C08A2E;
  --panel-dark: #04060C;
  --panel-light: #151B2C;
  --line: #232C42;
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0A0E18; } }
:root[data-theme="dark"] { --bg: #0A0E18; }

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,24,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; max-width: 1160px; margin: 0 auto; }
.logo { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.94rem; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-cta { background: var(--accent); color: #04120F; padding: 10px 20px; border-radius: 100px; text-decoration: none; font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.nav-cta:hover { background: #58e4d2; }
@media (max-width: 780px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 0; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 18px; font-size: 0.86rem; color: var(--ink-soft);
  margin-bottom: 32px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 auto 26px; font-weight: 600;
  max-width: 16ch;
}
h1 .accent-line { color: var(--accent); }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 52ch; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.btn-primary { background: var(--accent); color: #04120F; padding: 15px 28px; border-radius: 100px; text-decoration: none; font-weight: 600; font-size: 0.98rem; transition: background 0.2s ease; }
.btn-primary:hover { background: #58e4d2; }
.btn-secondary { color: var(--ink); padding: 15px 28px; border-radius: 100px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.btn-secondary:hover { border-color: var(--ink-soft); }

/* ---------- Stat bar ---------- */
.stat-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { text-align: center; padding: 32px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .stat-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--accent); }
.stat .stat-label { font-size: 0.88rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 620px) { .stat-bar { grid-template-columns: 1fr; } .stat { border-left: none; border-top: 1px solid var(--line); } .stat:first-child { border-top: none; } }

/* ---------- Marquee ---------- */
.marquee-section { padding: 20px 0; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--panel-dark); }
.marquee-track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-soft); padding: 0 28px; white-space: nowrap; }
.marquee-track span.hl { color: var(--accent); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 62ch; margin-bottom: 56px; }
.eyebrow { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 14px; }
h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.01em; margin: 0 0 16px; font-weight: 600; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* ---------- Offers ---------- */
.offers { padding: 0; }
.offer-panel { display: grid; grid-template-columns: 1fr 1fr; }
.offer { padding: 72px 56px; }
.offer.enterprise { background: var(--panel-dark); }
.offer.local { background: var(--panel-light); }
.offer h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.offer .tag { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 20px; color: var(--accent); }
.offer p.desc { margin: 0 0 28px; font-size: 1rem; color: var(--ink-soft); }
.offer ul { list-style: none; margin: 0 0 32px; padding: 0; }
.offer li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.98rem; color: var(--ink); }
.offer a.link { text-decoration: none; font-weight: 600; font-size: 0.98rem; border-bottom: 1px solid currentColor; color: var(--ink); }
.offer a.link:hover { color: var(--accent); }
@media (max-width: 780px) { .offer-panel { grid-template-columns: 1fr; } .offer { padding: 56px 32px; } }

/* ---------- Process (4 steps) ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-item { background: var(--bg); padding: 36px 28px; }
.process-num { font-family: var(--font-display); color: var(--accent); font-size: 2.2rem; font-weight: 600; display: block; margin-bottom: 18px; }
.process-item h4 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.process-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .process-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.about p { color: var(--ink-soft); margin: 0 0 18px; max-width: 52ch; }
.about-facts { border-left: 1px solid var(--line); padding-left: 32px; }
.about-facts div { margin-bottom: 24px; }
.about-facts div:last-child { margin-bottom: 0; }
.about-facts .fact-label { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 4px; }
.about-facts .fact-value { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } .about-facts { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; } }

/* ---------- Contact ---------- */
.contact-section { background: var(--panel-dark); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.contact-info p { color: var(--ink-soft); margin: 0 0 24px; max-width: 40ch; }
.contact-info .row { margin-bottom: 18px; }
.contact-info .row .label { font-size: 0.88rem; color: var(--ink-soft); }
.contact-info .row .value { font-weight: 600; font-size: 1.02rem; color: var(--ink); }
form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--panel-light); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 110px; }
.submit-btn { align-self: flex-start; background: var(--accent); color: #04120F; border: none; padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 0.98rem; cursor: pointer; }
.submit-btn:hover { background: #58e4d2; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: -4px; }
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-canvas { border: 1px solid var(--line); border-radius: 6px; background: var(--panel-light); display: block; }
.captcha-refresh {
  background: none; border: 1px solid var(--line); border-radius: 6px;
  color: var(--ink-soft); width: 40px; height: 40px; font-size: 1.05rem;
  cursor: pointer; flex-shrink: 0; line-height: 1;
}
.captcha-refresh:hover { color: var(--accent); border-color: var(--accent); }
.captcha-error { font-size: 0.85rem; color: #FF8A8A; margin: 0; display: none; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line); padding: 40px 0; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
footer .legal { display: flex; gap: 18px; align-items: center; }
footer .legal a { color: var(--ink-soft); text-decoration: none; font-size: 0.85rem; }
footer .legal a:hover { color: var(--accent); }
