*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --night: #0A0E1A;
  --night-2: #0F1525;
  --card: #141B2E;
  --card-2: #1A2238;
  --line: rgba(255,255,255,0.09);
  --line-2: rgba(247,193,79,0.22);
  --white: #F4F7FF;
  --slate: #A6B0CC;
  --muted: #646E8C;
  --bolt: #F7C14F;
  --bolt-deep: #E0A020;
  --amber: #FF9E2C;
  --sky: #38BDF8;
  --green: #34D399;
  --grad: linear-gradient(120deg, #F7C14F, #FF9E2C);
  --grad-sky: linear-gradient(120deg, #F7C14F, #FF9E2C, #38BDF8);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --fd: 'Space Grotesk', system-ui, sans-serif;
  --fb: 'Inter', system-ui, sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fb); background: var(--night); color: var(--white); line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--bolt); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 200; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10,14,26,0.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--fd); font-weight: 700; font-size: 21px; letter-spacing: 0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 0 18px rgba(247,193,79,.4); }
.brand-mark svg { width: 18px; height: 18px; }
.brand .tld { color: var(--bolt); }
.nav { display: none; }
.nav ul { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--slate); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--white); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fd); font-weight: 600; font-size: 14.5px; padding: 11px 22px; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: var(--night); }
.btn-grad:hover { box-shadow: 0 12px 30px rgba(247,193,79,.35); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--bolt); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }
@media (min-width: 940px) { .nav { display: block; } .nav-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav ul { flex-direction: column; padding: 10px 0; }
.mobile-nav a { display: block; padding: 12px 22px; color: var(--slate); font-weight: 500; }
@media (min-width: 940px) { .mobile-nav { display: none !important; } }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 96px 84px; }
.hero::before { content: ""; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 1000px; height: 680px; background: radial-gradient(ellipse, rgba(247,193,79,.18), rgba(255,158,44,.05) 40%, transparent 64%); pointer-events: none; }
/* faint star field */
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 15% 25%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 70% 15%, rgba(255,255,255,.4), transparent), radial-gradient(1.5px 1.5px at 85% 60%, rgba(255,255,255,.4), transparent), radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,.35), transparent); opacity: .5; pointer-events: none; }
.hero-inner { position: relative; max-width: 780px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 16px; font-size: 13px; color: var(--slate); margin-bottom: 28px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bolt); box-shadow: 0 0 10px var(--bolt); }
.hero h1 { font-family: var(--fd); font-size: clamp(40px, 8vw, 84px); font-weight: 700; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: clamp(16px, 2.4vw, 20px); color: var(--slate); max-width: 58ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 52px; }
.hstat .n { font-family: var(--fd); font-size: 34px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.hstat .l { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Section */
.section { padding-block: 84px; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--fm); font-size: 13px; color: var(--bolt); margin-bottom: 12px; }
.section-title { font-family: var(--fd); font-size: clamp(28px, 4.5vw, 44px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.section-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 17px; }

/* Mission split */
.bg-2 { background: var(--night-2); }
.split { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } }
.split-visual { aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 0 60px rgba(247,193,79,.12); }
.split-visual svg { width: 100%; height: 100%; }
.split-text p { font-size: 16.5px; color: var(--slate); margin-bottom: 16px; }
.split-text strong { color: var(--white); }

/* Solutions */
.sol-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .sol-grid { grid-template-columns: repeat(3, 1fr); } }
.sol { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s, border-color .2s, background .2s; position: relative; overflow: hidden; }
.sol::after { content: ""; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; border-radius: 50%; background: var(--grad); opacity: .08; filter: blur(8px); }
.sol:hover { transform: translateY(-5px); border-color: var(--line-2); background: var(--card-2); }
.sol-ic { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, rgba(247,193,79,.18), rgba(255,158,44,.14)); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; position: relative; }
.sol h3 { font-family: var(--fd); font-size: 21px; font-weight: 600; margin-bottom: 9px; position: relative; }
.sol p { font-size: 14.5px; color: var(--slate); line-height: 1.6; position: relative; margin-bottom: 16px; }
.sol ul { display: flex; flex-direction: column; gap: 8px; position: relative; }
.sol li { font-size: 13.5px; color: var(--slate); padding-left: 22px; position: relative; }
.sol li::before { content: "⚡"; position: absolute; left: 0; font-size: 12px; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-n { font-family: var(--fm); font-size: 13px; color: var(--bolt); margin-bottom: 14px; }
.step h4 { font-family: var(--fd); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--slate); line-height: 1.55; }

/* Impact band */
.impact { background: linear-gradient(135deg, var(--card), var(--night-2)); border: 1px solid var(--line-2); border-radius: 24px; padding: 56px 40px; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; text-align: center; }
@media (min-width: 760px) { .impact-grid { grid-template-columns: repeat(4, 1fr); } }
.impact .n { font-family: var(--fd); font-size: clamp(32px, 5vw, 46px); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.impact .l { font-size: 13.5px; color: var(--slate); margin-top: 8px; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-ic { font-size: 26px; flex-shrink: 0; }
.why h4 { font-family: var(--fd); font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.why p { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* CTA */
.cta-card { position: relative; overflow: hidden; border-radius: 24px; padding: 76px 32px; text-align: center; background: var(--card); border: 1px solid var(--line-2); }
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(247,193,79,.28), transparent 60%); pointer-events: none; }
.cta-card h2 { position: relative; font-family: var(--fd); font-size: clamp(28px,5vw,48px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-card p { position: relative; color: var(--slate); font-size: 18px; max-width: 48ch; margin: 0 auto 30px; }
.cta-card .hero-actions { position: relative; justify-content: center; }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 24px; font-family: var(--fd); font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bolt); font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 20px; color: var(--slate); font-size: 14.5px; line-height: 1.7; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--night-2); padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--slate); max-width: 34ch; }
.footer-col h4 { font-family: var(--fd); font-size: 13px; font-weight: 700; margin-bottom: 14px; color: #fff; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--slate); font-size: 14px; }
.footer-col a:hover { color: var(--bolt); }
.footer-bottom { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
