/* Handle Social — single-page site. No build step; Cloudflare Pages serves this folder as-is. */
:root {
  --navy: #0f2a5c;
  --navy-2: #1b3f86;
  --accent: #2f6bff;
  --accent-2: #19c3a6;
  --ink: #0d1424;
  --muted: #55607a;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(13, 20, 36, .06), 0 12px 32px -12px rgba(15, 42, 92, .18);
  --radius: 16px;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #9fb8ff;
    --navy-2: #c7d5ff;
    --accent: #6b95ff;
    --accent-2: #3fdcbf;
    --ink: #eef2fb;
    --muted: #a3adc4;
    --line: #23304b;
    --bg: #0a1020;
    --bg-alt: #0e1629;
    --card: #111a30;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.1rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
/* The real logo (logo.png, transparent) used as a MASK → painted in the theme's navy, so it turns light in dark mode. */
.mark, .hero-mark {
  display: inline-block; flex: none; background: var(--navy);
  -webkit-mask: url(/logo.png) center / contain no-repeat;
          mask: url(/logo.png) center / contain no-repeat;
}
.mark { width: 36px; height: 36px; }
.brand.small .mark { width: 28px; height: 28px; }
nav { margin-left: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  background: linear-gradient(135deg, var(--navy-2), var(--accent));
  color: #fff; border: 1px solid transparent; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .92rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-block { display: flex; width: 100%; margin: 6px 0 14px; }
@media (prefers-color-scheme: dark) { .btn { color: #0a1020; } .btn-ghost { color: var(--ink); } }

/* ---------- hero ---------- */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(700px 380px at 0% 100%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-art { position: relative; min-height: 360px; }
.hero-mark { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 64%; aspect-ratio: 1; opacity: .09; }
.card-float {
  position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; display: grid; gap: 2px; min-width: 190px;
}
.card-float .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.card-float .v { font-weight: 800; color: var(--ink); }
.c1 { top: 4%; left: 0; }
.c2 { top: 38%; right: 0; }
.c3 { bottom: 2%; left: 12%; }
.spark { width: 120px; height: 36px; margin-top: 8px; }
.spark polyline { fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 8px; }
.bars i { width: 12px; height: var(--h); border-radius: 4px; background: linear-gradient(var(--accent), var(--navy-2)); }

/* ---------- facts ---------- */
.facts { border-block: 1px solid var(--line); background: var(--bg-alt); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 26px 20px; display: grid; gap: 2px; }
.facts-grid div + div { border-left: 1px solid var(--line); }
.facts-grid strong { font-size: 1.1rem; color: var(--navy); }
.facts-grid span { color: var(--muted); font-size: .92rem; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .2s ease;
}
.card:hover { transform: translateY(-3px); }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { border-top: 3px solid var(--accent); padding-top: 18px; }
.steps .n { font-weight: 800; color: var(--accent); font-size: .9rem; letter-spacing: .1em; }
.steps h3 { margin-top: 6px; }
.steps p { color: var(--muted); font-size: .97rem; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.split p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent-2) 22%, transparent);
  box-shadow: inset 0 0 0 2px var(--accent-2);
}
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel p { color: var(--muted); }
.link { font-weight: 600; font-size: .95rem; }
.sig { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-top: 1.4em; }
.sig em { font-style: normal; color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 6px; justify-items: start; color: var(--muted); font-size: .93rem; }
.foot p { margin: 0; }
.copy { margin-top: 10px !important; font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; max-width: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 72px 0; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div:nth-child(3) { border-left: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards, .steps { grid-template-columns: 1fr; }
  .card-float { min-width: 0; }
  .c2 { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
