:root {
  --blue: #007AFF;
  --blue-deep: #0047b3;
  --orange: #FF9500;
  --navy: #0b1530;
  --navy-2: #13204a;
  --bg: #ffffff;
  --bg-soft: #f2f7ff;
  --card: #ffffff;
  --text: #121a2c;
  --muted: #56617a;
  --border: #dde6f2;
  --green: #22c55e;
  --red: #ef4444;
  --shadow: 0 10px 30px rgba(11, 21, 48, 0.08);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.35);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1220;
    --bg-soft: #121a2c;
    --card: #172036;
    --text: #eef2f8;
    --muted: #a9b4c8;
    --border: #26314a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: var(--blue); }
a:hover { color: var(--orange); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--blue); font-weight: 800; }
nav.main { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
nav.main a { color: var(--muted); text-decoration: none; }
nav.main a:hover { color: var(--text); }
nav.main a.cta { color: #fff; background: var(--blue); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
nav.main a.cta:hover { background: var(--orange); }
@media (max-width: 760px) { nav.main a:not(.cta) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 600;
  border: 0; cursor: pointer; font-size: 16px; font-family: inherit;
}
.btn:hover { background: var(--orange); color: #fff; }
.btn.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn.ghost:hover { color: var(--orange); }
.btn.light { background: #fff; color: var(--blue-deep); }
.btn.light:hover { background: var(--orange); color: #fff; }

/* Sections */
section { padding: 96px 0; }
.alt { background: var(--bg-soft); }
.dark { background: var(--navy); color: #fff; }
.dark p { color: #c4cee3; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; font-weight: 700; color: var(--orange); margin: 0 0 14px; }
h2.title { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 16px; max-width: 820px; }
p.sub { color: var(--muted); font-size: 1.125rem; max-width: 700px; margin: 0 0 48px; }
.center { text-align: center; }
.center h2.title, .center p.sub { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }

/* Hero (home) */
.hero-home {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(0, 122, 255, 0.45), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(255, 149, 0, 0.18), transparent 60%),
    var(--navy);
  color: #fff; padding: 88px 0 0; overflow: hidden;
}
.hero-home .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: end; }
.hero-home .copy { padding-bottom: 96px; }
.hero-home h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 22px; }
.hero-home h1 span { color: var(--orange); }
.hero-home p.lead { color: #c4cee3; margin: 0 0 32px; }
.hero-home .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pill { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; margin-bottom: 22px; color: #dce5f5; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.hero-proof { margin-top: 28px; font-size: 14px; color: #9fb0cf; }
.phones { position: relative; height: 560px; }
@media (max-width: 900px) {
  .hero-home .wrap { grid-template-columns: 1fr; }
  .hero-home .copy { padding-bottom: 0; }
  .phones { height: 480px; }
}

/* Phone mockups */
.phone {
  position: absolute; width: 260px; height: 530px; border-radius: 40px;
  background: #05070d; padding: 10px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12);
}
.phone .screen { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: #f4f7fc; color: #121a2c; font-size: 12px; position: relative; }
.phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 12px; background: #05070d; z-index: 2; }
.phone.back { left: 0; top: 70px; transform: rotate(-6deg); }
.phone.front { right: 10px; top: 20px; transform: rotate(3deg); }
@media (max-width: 900px) {
  .phone.back { left: calc(50% - 250px); }
  .phone.front { right: auto; left: calc(50% - 20px); }
}
@media (max-width: 520px) {
  .phones { height: 440px; }
  .phone.back { left: -30px; top: 50px; transform: rotate(-6deg) scale(0.78); transform-origin: top left; }
  .phone.front { left: auto; right: -30px; top: 10px; transform: rotate(3deg) scale(0.78); transform-origin: top right; }
}
.app-top { background: var(--blue); color: #fff; padding: 36px 14px 12px; }
.app-top small { opacity: 0.8; display: block; font-size: 10px; }
.app-top strong { font-size: 15px; }
.app-body { padding: 10px; display: grid; gap: 8px; }
.tile { background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 2px 6px rgba(11,21,48,0.06); }
.tile .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.tile .k { font-size: 10px; color: #6b7690; }
.tile b { font-size: 12.5px; }
.tag { font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #e8f4ff; color: var(--blue); white-space: nowrap; }
.tag.o { background: #fff3e0; color: #c96f00; }
.tag.g { background: #e7f8ee; color: #138a43; }
.video { height: 128px; border-radius: 10px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #2a5bd7 0%, #1b3c96 55%, #c88a4a 55%, #b5773a 100%); }
.video::before { content: ""; position: absolute; left: 10%; right: 10%; top: 55%; height: 2px; background: rgba(255,255,255,0.8); }
.video::after { content: ""; position: absolute; left: 50%; top: 24%; width: 2px; height: 31%; background: rgba(255,255,255,0.9); }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video .play span { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; color: var(--blue); font-size: 13px; }
.video .badge { position: absolute; left: 8px; top: 8px; background: var(--orange); color: #fff; font-weight: 700; font-size: 9.5px; border-radius: 6px; padding: 2px 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.stats div { background: #f4f7fc; border-radius: 8px; padding: 6px 2px; }
.stats b { display: block; font-size: 15px; color: var(--blue); }
.stats span { font-size: 9px; color: #6b7690; }
.bar { height: 6px; border-radius: 999px; background: #e3e9f3; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--green); }
.navbar { position: absolute; bottom: 0; left: 0; right: 0; height: 46px; background: #fff; border-top: 1px solid #e3e9f3; display: flex; justify-content: space-around; align-items: center; }
.navbar i { width: 18px; height: 4px; border-radius: 4px; background: #c9d3e3; }
.navbar i.on { background: var(--orange); }

/* Replaces section */
.stack-compare { display: grid; grid-template-columns: 1.3fr auto 1fr; gap: 28px; align-items: center; }
@media (max-width: 860px) { .stack-compare { grid-template-columns: 1fr; } .stack-compare .arrow { transform: rotate(90deg); justify-self: center; } }
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 480px) { .tools { grid-template-columns: 1fr; } }
.tool { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.tool .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--bg-soft); }
.tool b { display: block; font-size: 15px; }
.tool span { font-size: 13px; color: var(--muted); }
.tool s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.arrow { font-size: 40px; color: var(--orange); font-weight: 800; }
.one { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.one img { width: 52px; height: 52px; margin-bottom: 14px; }
.one h3 { font-size: 1.6rem; margin: 0 0 8px; letter-spacing: -0.02em; }
.one p { margin: 0 0 18px; color: #dbe8ff; }
.one ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-weight: 500; }
.one li::before { content: "✓"; color: var(--orange); font-weight: 800; margin-right: 10px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature.flip .visual { order: -1; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip .visual { order: 0; } }
.feature h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 14px; }
.feature p { color: var(--muted); margin: 0 0 18px; font-size: 1.05rem; }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { padding-left: 28px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 4px #cfe5ff; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.visual { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
.panel { background: #fff; color: #121a2c; border-radius: 14px; box-shadow: var(--shadow); padding: 18px; font-size: 14px; }
.panel + .panel { margin-top: 14px; }
.panel h4 { margin: 0 0 12px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.line { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid #eef2f8; gap: 10px; }
.line:first-of-type { border-top: 0; }
.line .k { color: #6b7690; font-size: 12.5px; }
.chat { display: grid; gap: 8px; }
.bubble { max-width: 80%; padding: 8px 12px; border-radius: 14px; background: #eef2f8; font-size: 13px; }
.bubble.me { justify-self: end; background: var(--blue); color: #fff; }
.mini-site { border-radius: 12px; overflow: hidden; border: 1px solid #e3e9f3; background: #fff; color: #121a2c; }
.mini-site .bar-top { height: 26px; background: #eef2f8; display: flex; gap: 6px; align-items: center; padding: 0 10px; }
.mini-site .bar-top i { width: 8px; height: 8px; border-radius: 50%; background: #c9d3e3; }
.mini-site .banner { background: linear-gradient(120deg, #7c1d1d, #c2410c); color: #fff; padding: 22px 18px; }
.mini-site .banner b { font-size: 18px; display: block; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.products div { border-radius: 10px; background: #f4f7fc; padding: 10px; font-size: 11.5px; }
.products div::before { content: ""; display: block; height: 52px; border-radius: 8px; margin-bottom: 8px; background: linear-gradient(135deg, #7c1d1d, #c2410c); }
.products div:nth-child(2)::before { background: linear-gradient(135deg, #1e293b, #475569); }
.products div:nth-child(3)::before { background: linear-gradient(135deg, #e2e8f0, #94a3b8); }

/* Audience cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); font-size: 22px; margin-bottom: 16px; }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); }
table.compare th:first-child, table.compare td:first-child { text-align: left; }
table.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
table.compare thead th.us { color: #fff; background: var(--blue); }
table.compare td.us { background: color-mix(in srgb, var(--blue) 8%, transparent); font-weight: 700; }
table.compare tr:last-child td { border-bottom: 0; }
.y { color: var(--green); font-weight: 800; }
.n { color: #b4bccb; }
.p { color: var(--orange); font-weight: 700; font-size: 13px; }

/* Sports */
.sports { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sport { padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); font-weight: 600; color: #dce5f5; }
.sport.live { background: var(--orange); border-color: var(--orange); color: #fff; }
.sport small { font-weight: 500; opacity: 0.8; margin-left: 6px; }

/* Steps */
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
ol.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
ol.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 12px; }
ol.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
ol.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* Contact */
.split { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.cta-band p { color: #dbe8ff; }
.cta-band a:not(.btn) { color: #fff; }
form.contact { display: grid; gap: 14px; color: var(--text); }
form.contact label { font-weight: 600; font-size: 14px; display: grid; gap: 6px; }
form.contact input, form.contact textarea, form.contact select {
  font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--card); color: var(--text);
}
form.contact textarea { min-height: 110px; resize: vertical; }

/* Simple pages */
.hero { background: var(--bg-soft); padding: 88px 0 72px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 16px; }
.prose { max-width: 760px; }
.prose h1 { font-size: 2.2rem; margin: 0 0 8px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 8px; }
.prose .meta { color: var(--muted); margin-bottom: 32px; }

/* Footer */
footer.site { background: var(--navy); color: #9fb0cf; padding: 40px 0; font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: #c4cee3; text-decoration: none; }
footer.site a:hover { color: var(--orange); }

/* Dark section overrides */
.dark p.sub { color: #b9c5dc; }
.dark p.eyebrow { color: var(--orange); }
.dark ol.steps li { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.dark ol.steps h3 { color: #fff; }
.dark ol.steps p { color: #c4cee3; }
.cta-band p.eyebrow { color: #ffd08a; }

nav.main a.cta { white-space: nowrap; }
@media (max-width: 400px) { .brand { font-size: 17px; } nav.main a.cta { padding: 7px 12px; font-size: 14px; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--card); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pillar .pv { background: linear-gradient(160deg, #e8f2ff 0%, #d6e8ff 100%); padding: 22px; min-height: 210px; display: flex; flex-direction: column; justify-content: center; }
.pillar .pv .panel { font-size: 13px; padding: 14px; }
.pillar .pv .stats div { background: #fff; }
.pillar .pv .stats b { font-size: 18px; }
.pillar .pc { padding: 24px 24px 28px; }
.pillar h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 10px; }
.pillar p { margin: 0; color: var(--muted); }
.tag.soon { background: #f1e8ff; color: #6d28d9; }
p.more { margin: 36px 0 0; font-weight: 600; }
p.more a { text-decoration: none; }

/* Trust points */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }
.trust div { padding-left: 34px; position: relative; }
.trust div::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.trust b { display: block; color: #fff; }
.trust span { color: #b9c5dc; font-size: 15px; }

/* Features page */
.page-hero { background: var(--navy); color: #fff; padding: 80px 0 64px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 16px; }
.page-hero p { color: #c4cee3; font-size: 1.15rem; max-width: 680px; margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { color: #dce5f5; text-decoration: none; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; }
.jump a:hover { border-color: var(--orange); color: var(--orange); }
.flist { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.flist div { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.flist b { display: block; margin-bottom: 4px; }
.flist span { color: var(--muted); font-size: 15px; }
.alt .flist div { box-shadow: var(--shadow); }
.soon-box { border: 2px dashed #c4b5fd; border-radius: 22px; padding: 32px; background: color-mix(in srgb, #8b5cf6 6%, var(--card)); }
