:root {
  --blue: #0069ff;
  --blue-dark: #0052cc;
  --purple: #7c3aed;
  --navy: #021431;
  --navy-2: #0a2450;

  --bg: #ffffff;
  --bg-alt: #f5f8fd;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #55637a;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 20px rgba(15, 23, 42, .05);
  --shadow-lg: 0 24px 60px -20px rgba(2, 20, 49, .28);

  --tint-1: #eff5ff; --tint-1-ink: #1d4ed8;
  --tint-2: #f5f0ff; --tint-2-ink: #6d28d9;
  --tint-3: #ecfbf7; --tint-3-ink: #0f766e;
  --tint-4: #fff7ec; --tint-4-ink: #b45309;
  --tint-5: #eef0ff; --tint-5-ink: #4338ca;
  --tint-6: #fff0f3; --tint-6-ink: #be123c;

  --maxw: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 20px; }

.eyebrow {
  color: var(--blue);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 105, 255, .8); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: #c7d2e3; }
.btn-light { background: #fff; color: var(--blue-dark); }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: grid; place-items: center;
  color: #fff;
  flex: none;
}
.nav-links { display: none; gap: 1.6rem; font-size: .93rem; font-weight: 500; color: var(--text-muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 12% 0%, rgba(0, 105, 255, .13), transparent 70%),
    radial-gradient(50% 50% at 95% 30%, rgba(124, 58, 237, .12), transparent 70%),
    var(--bg);
  padding-block: 64px 72px;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

.hero h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); margin-top: 14px; }
.gradient-text {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { margin-top: 20px; font-size: 1.1rem; color: var(--text-muted); max-width: 34rem; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.ticks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.ticks li { display: inline-flex; align-items: center; gap: .5rem; }
.ticks svg { color: var(--blue); flex: none; }

/* ---------- Hero product mockup ---------- */
.mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } }
@media (prefers-reduced-motion: reduce) {
  .mock, .dot-live { animation: none; }
  html { scroll-behavior: auto; }
}

.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.mock-head .label { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); }
.mock-head .title { font-weight: 700; font-size: .98rem; }
.pill-live {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #e11d48; color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  padding: .3rem .6rem; border-radius: 999px; flex: none;
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 2s ease-in-out infinite; }

.mock-body { padding: 18px; background: var(--bg-alt); display: grid; gap: 14px; }
@media (min-width: 520px) { .mock-body { grid-template-columns: 1.3fr .7fr; } }

.mock-stream {
  min-height: 230px;
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(150deg, var(--navy), #1d4ed8);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.tag-stream {
  align-self: start;
  background: #e11d48; color: #fff;
  font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  padding: .25rem .55rem; border-radius: 6px;
}
.mock-stream .src { font-size: .8rem; color: #bfdbfe; }
.mock-stream h3 { font-size: 1.25rem; margin-top: 6px; }

.mock-vote { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.mock-vote .q { font-weight: 700; margin-top: 8px; font-size: .98rem; }
.bar-row { display: flex; justify-content: space-between; font-size: .85rem; margin-top: 18px; }
.bar { height: 7px; border-radius: 999px; background: var(--border); margin-top: 7px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.bar.muted > span { background: #94a3b8; }
.mock-vote .count { margin-top: 18px; font-size: .75rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
section { padding-block: 72px; }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-top: 12px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; color: var(--text-muted); }

.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--tint);
  border-radius: 20px;
  padding: 28px;
  transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .8);
  color: var(--ink);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .97rem; }

/* ---------- Dark band ---------- */
.band { background: var(--navy); color: #fff; }
.band .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .band .wrap { grid-template-columns: 1fr 1fr; gap: 60px; } }
.band h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-top: 12px; }
.band .eyebrow { color: #93c5fd; }
.band p { color: #c7d7f0; margin-top: 20px; font-size: 1.05rem; }
.panel {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 20px;
  padding: 28px;
}
.panel h3 { font-size: 1.15rem; }
.panel ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.panel li { display: flex; gap: .7rem; color: #e0ecfb; font-size: .97rem; }
.panel li::before { content: "✓"; color: #7dd3fc; font-weight: 700; }

/* ---------- Steps ---------- */
.steps-section { background: var(--bg-alt); }
.steps { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.step-num {
  width: 62px; height: 62px;
  border-radius: 17px;
  background: linear-gradient(135deg, #60a5fa, var(--purple));
  padding: 3px;
  margin-bottom: 18px;
}
.step-num span {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 14px;
  background: var(--surface);
  color: var(--blue);
  font-weight: 700;
}
.step h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; } }
.faq-list { display: grid; gap: 12px; }
details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 4px 20px;
}
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 16px 28px 16px 0;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}
details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
details p { color: var(--text-muted); padding-bottom: 18px; }

/* ---------- CTA ---------- */
.cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(100deg, var(--blue), var(--purple));
  color: #fff;
  text-align: center;
  padding: 56px 24px;
  box-shadow: var(--shadow-lg);
}
.cta-inner::before {
  content: "";
  position: absolute;
  top: -90px; left: -70px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
}
.cta-inner > * { position: relative; }
.cta-inner h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
.cta-inner p { margin: 18px auto 0; max-width: 36rem; color: #e8efff; font-size: 1.05rem; }
.cta-inner .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #a9bdd9; font-size: .9rem; }
.foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding-block: 36px;
}
.foot-top .brand { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: .85rem;
}

/* ---------- Dark mode ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070d1a;
    --bg-alt: #0b1426;
    --surface: #0e1728;
    --text: #eef3fb;
    --text-muted: #9fb0c9;
    --border: #1f2d45;

    --tint-1: #10203c; --tint-1-ink: #93c5fd;
    --tint-2: #1b1533; --tint-2-ink: #c4b5fd;
    --tint-3: #0b2b28; --tint-3-ink: #5eead4;
    --tint-4: #2a1e0c; --tint-4-ink: #fcd34d;
    --tint-5: #141a3c; --tint-5-ink: #a5b4fc;
    --tint-6: #2b1119; --tint-6-ink: #fda4af;
  }
  :root:not([data-theme="light"]) .card .icon { background: rgba(255, 255, 255, .08); }
  :root:not([data-theme="light"]) .btn-ghost:hover { border-color: #33455f; }
}

/* ---------- Header menus ---------- */
.nav-links { align-items: center; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-menu { position: relative; border: 0; padding: 0; background: none; border-radius: 0; }
.nav-menu summary { padding: 0 18px 0 0; font-weight: 500; color: var(--text-muted); }
.nav-menu summary:hover { color: var(--text); }
.nav-menu summary::after { width: 6px; height: 6px; right: 2px; }
.nav-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  min-width: 240px;
  display: grid;
  gap: 2px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  z-index: 60;
}
.nav-panel a { padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .93rem; }
.nav-panel a:hover { background: var(--bg-alt); }
.nav-panel-right { left: auto; right: 0; }
.nav-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); padding: 6px 10px 2px; }
.nav-mobile summary {
  padding: .6rem .9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}
.nav-mobile summary::after { display: none; }
@media (min-width: 900px) { .nav-mobile { display: none; } }
@media (max-width: 899px) { .nav-links { display: none; } }
@media (max-width: 420px) {
  .nav { gap: .5rem; }
  .nav-cta { padding: .6rem .8rem; font-size: .85rem; }
  .nav-mobile summary { padding: .55rem .7rem; font-size: .85rem; }
  .brand { font-size: 1rem; }
}

/* ---------- Footer columns ---------- */
.foot-cols { display: grid; gap: 28px; padding-bottom: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot-cols ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: #fff; }
.foot-head { color: #fff; font-weight: 600; }

/* ---------- Inner pages ---------- */
.sector-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector-card { display: block; text-decoration: none; border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; background: var(--surface); transition: border-color .15s ease, transform .15s ease; }
.sector-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.sector-card h3 { font-size: 1.05rem; }
.sector-card p { color: var(--text-muted); font-size: .93rem; margin-top: 6px; }
.sector-card .more { color: var(--blue); font-weight: 600; font-size: .9rem; margin-top: 12px; display: inline-block; }
.page-hero { padding-block: 56px 40px; background: radial-gradient(60% 55% at 12% 0%, rgba(0,105,255,.10), transparent 70%), var(--bg); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 12px; max-width: 46rem; }
.page-hero .hero-sub { max-width: 42rem; }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .93rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); }
.callout { border-left: 4px solid var(--blue); background: var(--tint-1); border-radius: 12px; padding: 18px 20px; margin: 1.6rem 0; }
.callout p:last-child { margin-bottom: 0; }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.calendly-frame { width: 100%; min-height: 680px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.crumbs { font-size: .85rem; color: var(--text-muted); }
.crumbs a { text-decoration: none; }
.meta-line { font-size: .88rem; color: var(--text-muted); margin-top: 14px; }

.brand, .nav-cta { white-space: nowrap; }
@media (max-width: 379px) {
  .cta-long { display: none; }
  .nav-cta { padding: .55rem .7rem; }
  .brand { gap: .45rem; }
}

/* ---------- Guide and comparison pages ---------- */
.article-hero { border-bottom: 1px solid var(--border); padding-bottom: 36px; }
.article-body { padding-top: 48px; }
.article-body .prose > p:first-child { font-size: 1.15rem; line-height: 1.65; color: var(--text); }
