:root {
  --bg: #ffffff;
  --soft: #f6f7fb;
  --ink: #0e1020;
  --ink-2: #474b5e;
  --muted: #6e7387;
  --line: #e8e9f0;
  --dark: #0d0f1c;
  --dark-2: #171a2c;
  --accent: #5b5bf6;
  --accent-2: #8b7bff;
  --accent-soft: #eeeeff;
  --radius: 20px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav-wrap.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -.02em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: -.02em;
}
.brand .dot-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.nav-cta { display: flex; gap: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent;
  font: 600 14px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(91,91,246,.3); }
.btn-accent:hover { background: #4b4bea; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; text-align: center; }
.hero::before {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -40%; height: 70%;
  background: radial-gradient(ellipse at 15% 60%, rgba(139,123,255,.16), transparent 55%),
              radial-gradient(ellipse at 85% 60%, rgba(91,180,246,.14), transparent 55%);
  pointer-events: none;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 8px; box-shadow: 0 2px 10px rgba(14,16,32,.05);
}
.badge i {
  width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-style: normal; font-size: 10px;
}
.hero h1 {
  font-size: clamp(38px, 6.2vw, 72px); line-height: 1.04; font-weight: 700;
  letter-spacing: -.045em; margin: 22px auto 0; max-width: 900px;
}
.grad {
  background: linear-gradient(90deg, var(--accent), #a26bff 55%, #4aa8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Orb */
.orb-wrap { position: relative; height: 330px; display: grid; place-items: center; margin: 0 0 4px; }
.orb {
  width: 170px; height: 170px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.95), transparent 32%),
    radial-gradient(circle at 70% 75%, rgba(91,91,246,.85), transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(74,168,255,.8), transparent 55%),
    radial-gradient(circle at 75% 25%, rgba(196,170,255,.9), transparent 50%),
    #c9ccff;
  filter: blur(.5px);
  box-shadow: 0 30px 80px rgba(91,91,246,.35), inset 0 -12px 40px rgba(91,91,246,.35);
  animation: float 7s ease-in-out infinite, hue 12s linear infinite;
}
.orb-ring {
  position: absolute; width: 290px; height: 290px; border-radius: 50%;
  border: 1px dashed rgba(91,91,246,.22); animation: spin 40s linear infinite;
}
.orb-ring span {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(14,16,32,.08); display: grid; place-items: center; color: var(--accent);
}
.orb-ring span:nth-child(2) { top: auto; bottom: -15px; }
.orb-ring span:nth-child(3) { top: 50%; left: -15px; transform: translateY(-50%); }
.orb-ring span:nth-child(4) { top: 50%; left: auto; right: -15px; transform: translateY(-50%); }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.04); } }
@keyframes hue { to { filter: blur(.5px) hue-rotate(40deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.lead { font-size: 19px; color: var(--ink-2); max-width: 640px; margin: 0 auto 28px; }
.audit-bar {
  display: flex; gap: 8px; max-width: 520px; margin: 0 auto; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(14,16,32,.08);
}
.audit-bar input { flex: 1; border: 0; outline: 0; font: 15px var(--font); padding: 0 12px; min-width: 0; background: transparent; }
.sub-link { display: inline-flex; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.sub-link:hover { color: var(--accent); }

.proof-row {
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-top: 40px; font-size: 14px; color: var(--muted);
}
.proof-row b { color: var(--ink); }
.proof-row .sep { width: 1px; height: 18px; background: var(--line); }
.g-badge { display: inline-flex; align-items: center; gap: 8px; }
.g-badge svg { width: 18px; height: 18px; }

/* Channel marquee */
.channels { border-block: 1px solid var(--line); background: var(--soft); padding: 18px 0; overflow: hidden; }
.marquee { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; margin: 0 0 14px; }
.sub { color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 0; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 30px 24px; background: #fff; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 42px; letter-spacing: -.04em; font-weight: 700; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #d6d7ff; box-shadow: 0 16px 40px rgba(91,91,246,.08); }
.card h3 { margin: 18px 0 6px; font-size: 19px; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.i-blue { background: #e9f2ff; color: #1d6fd8; }
.i-green { background: #e6f7ef; color: #13845b; }
.i-orange { background: #fff1e6; color: #c2410c; }
.i-purple { background: var(--accent-soft); color: var(--accent); }
.i-red { background: #feeceb; color: #c3281e; }
.i-yellow { background: #fef4d6; color: #a15c07; }
.tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }

/* Dark verticals */
.dark-sec { background: var(--dark); color: #fff; border-radius: 36px; margin: 0 16px; position: relative; overflow: hidden; }
.dark-sec::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(91,91,246,.35), transparent); pointer-events: none;
}
.dark-sec .sub { color: rgba(255,255,255,.65); }
.dark-sec .eyebrow { background: rgba(139,123,255,.16); color: #b9b1ff; }
.dark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; position: relative; }
.dcard {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; min-height: 300px;
}
.dcard .kpi { font-size: 13px; font-weight: 600; color: #b9b1ff; text-transform: uppercase; letter-spacing: .06em; }
.dcard h3 { font-size: 21px; margin: 12px 0 10px; letter-spacing: -.02em; }
.dcard p { color: rgba(255,255,255,.65); font-size: 15px; margin: 0 0 18px; }
.dcard ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; }
.dcard li { font-size: 14px; color: rgba(255,255,255,.85); display: flex; gap: 8px; align-items: center; }
.dcard li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); flex: none; }

/* Steps with mock UI */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.step { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.step .txt { padding: 28px 28px 22px; }
.step-n { font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; display: inline-block; }
.step h3 { margin-top: 16px; }
.mock {
  margin: auto 20px 0; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0;
  background: #fff; padding: 16px; font-size: 13px; min-height: 190px;
  box-shadow: 0 -10px 30px rgba(14,16,32,.04);
}
.step { background: linear-gradient(180deg, #fff 45%, #f1f1ff); }
.mock-title { font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; }
.mock-title small { font-weight: 500; color: var(--muted); }
.mrow { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.mrow b { color: var(--ink); font-weight: 600; }
.pill-s { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.p-red { background: #feeceb; color: #c3281e; }
.p-green { background: #e6f7ef; color: #13845b; }
.p-amber { background: #fef4d6; color: #a15c07; }
.p-purple { background: var(--accent-soft); color: var(--accent); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 8px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); opacity: .9; }
.bars i:nth-child(odd) { opacity: .55; }
.legend { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-top: 6px; }

/* Letter / why */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li b { color: var(--ink); display: block; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--accent) 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.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.compare { background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 10px; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 16px; overflow: hidden; font-size: 14px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 13px; color: var(--muted); font-weight: 600; background: #fafbfd; }
.compare th.us { color: var(--accent); }
.compare td.us { font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-2); }

/* FAQ */
.faq { margin-top: 36px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--ink-2); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; text-align: center; border-radius: 32px;
  padding: clamp(44px, 7vw, 84px) 24px; color: #fff;
  background: radial-gradient(ellipse at 50% 120%, rgba(139,123,255,.55), transparent 60%), var(--dark);
}
.cta-band p { color: rgba(255,255,255,.72); font-size: 18px; margin: 0 auto 28px; max-width: 560px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 80px 0 56px; text-align: center; background: linear-gradient(180deg, #f3f3ff, #fff); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.04em; margin: 16px 0 10px; }
.page-hero p { color: var(--ink-2); margin: 0; font-size: 17px; }

/* ---------- Legal ---------- */
.legal { padding: 24px 0 90px; }
.letter { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.legal .letter h2 { font-size: 22px; letter-spacing: -.015em; margin: 36px 0 8px; }
.legal .letter h2:first-of-type { margin-top: 0; }
.legal .letter h3 { font-size: 17px; margin: 22px 0 6px; }
.legal .letter p, .legal .letter li { font-size: 16px; color: var(--ink-2); }
.legal .letter ul { padding-left: 20px; }
.legal .letter li { margin: 6px 0; }
.legal a { color: var(--accent); }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 36px; }
.toc b { display: block; margin-bottom: 8px; font-size: 14px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 14px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; }
.info-card + .info-card { margin-top: 18px; }
.info-card a { color: var(--accent); text-decoration: none; font-weight: 600; word-break: break-all; }
form label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.field { margin-bottom: 16px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea {
  width: 100%; font: 15px var(--font); color: var(--ink); background: #fff;
  border: 1px solid #dfe1ea; border-radius: 10px; padding: 11px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.audit-bar input { border: 0; box-shadow: none; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91,91,246,.14); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: auto; margin-top: 4px; }
.consent a { color: var(--accent); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-ok { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: #e6f7ef; color: #13845b; font-size: 14px; }

/* ---------- Footer ---------- */
footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; background: var(--soft); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 12px; font-size: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.foot a:hover { color: var(--accent); }
.foot p { color: var(--muted); font-size: 14px; margin: 12px 0 0; max-width: 340px; }
.foot address { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.6; }
.foot address b { color: var(--ink); font-weight: 600; display: block; font-size: 13px; margin-bottom: 2px; }
.foot address + address { margin-top: 14px; }
.copy { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .dark-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .steps, .dark-grid, .row-2 { grid-template-columns: 1fr; }
  .nav-cta .btn-outline { display: none; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .toc ol { columns: 1; }
  section { padding: 70px 0; }
  .dark-sec { margin: 0 8px; border-radius: 24px; }
  .audit-bar { flex-direction: column; }
  .audit-bar input { height: 44px; }
  .orb-wrap { height: 280px; } .orb-ring { width: 240px; height: 240px; } .orb { width: 140px; height: 140px; }
  .proof-row .sep { display: none; }
  .compare th, .compare td { padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) { .orb, .orb-ring, .marquee { animation: none; } }
