:root {
  --ink: #0b1324;
  --text: #3b475c;
  --muted: #667085;
  --line: #e4e8ef;
  --bg: #ffffff;
  --soft: #f5f7fb;
  --brand: #1f5eff;
  --brand-700: #1442c4;
  --brand-50: #eef3ff;
  --green: #0f9d58;
  --green-50: #e8f7ef;
  --navy: #0a1430;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 12px 32px -12px rgba(16, 24, 40, .16);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.logo img { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  white-space: nowrap;
  color: var(--text); font-weight: 500; font-size: 15px;
  padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.nav .nav-cta { background: var(--ink); color: #fff; margin-left: 10px; font-weight: 600; }
.nav .nav-cta:hover { background: #1d2740; color: #fff; }
.menu-toggle {
  display: none; background: none; border: 0; color: var(--ink); cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .1), 0 6px 16px -6px rgba(31, 94, 255, .6); }
.btn-primary:hover { background: var(--brand-700); }
.btn-outline { background: #fff; color: var(--ink); border-color: #d0d5dd; box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: #98a2b3; }
.btn-play { background: var(--ink); color: #fff; padding: 9px 18px 9px 14px; border-radius: 10px; }
.btn-play:hover { background: #1d2740; }
.btn-play svg { width: 22px; height: 22px; }
.btn-play span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-play small { font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.btn-play strong { font-size: 16px; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--brand); }
.text-link:hover { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  padding: 6px 12px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.pill svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(31, 94, 255, .10), transparent 65%),
    linear-gradient(180deg, #f7f9ff, #fff 75%);
  padding: 104px 0 112px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%);
}
.hero .container { position: relative; }
.hero-text { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; text-wrap: balance; }
.hero h1 span { color: var(--brand); }
.hero .lead { font-size: 20px; color: var(--text); max-width: 680px; margin: 0 auto 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 640px) {
  .hero .lead { font-size: 18px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding-top: 24px; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.about h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.about p { font-size: 17px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value:nth-child(2), .value:nth-child(4) { transform: translateY(24px); }
.ic {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--brand-50); color: var(--brand);
}
.ic svg { width: 22px; height: 22px; }
.value h3 { font-size: 17px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 980px) { .about { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .value:nth-child(2), .value:nth-child(4) { transform: none; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm); }
.service-art {
  height: 140px; border-radius: 14px; margin-bottom: 24px; display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.service-art::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}
.service-art svg {
  position: relative; width: 64px; height: 64px; padding: 16px; border-radius: 18px;
  background: #fff; box-shadow: 0 12px 24px -10px rgba(16, 24, 40, .35);
}
.art-blue { background: linear-gradient(135deg, #dfe8ff, #b9ccff); }
.art-blue svg { color: var(--brand); }
.art-green { background: linear-gradient(135deg, #dcf5e7, #aee6c6); }
.art-green svg { color: var(--green); }
.art-amber { background: linear-gradient(135deg, #fff1d6, #ffd89a); }
.art-amber svg { color: #c27803; }
.service h3 { font-size: 20px; }
.service p { color: var(--muted); font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.ticks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5eff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-width: 980px) { .services { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--brand); }
.steps span { display: block; font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.steps h3 { font-size: 18px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Impact ---------- */
.impact { background: var(--navy); color: rgba(255, 255, 255, .72); }
.impact .section-head h2 { color: #fff; }
.impact .section-head p { color: rgba(255, 255, 255, .6); }
.impact .eyebrow { color: #8fb0ff; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote {
  margin: 0; padding: 40px; border-radius: 20px;
  background: radial-gradient(420px 260px at 0% 0%, rgba(47, 107, 255, .5), transparent 70%), #13204a;
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.quote svg { width: 40px; height: 40px; color: #8fb0ff; }
.quote blockquote { margin: 0; color: #fff; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.quote figcaption img { width: 36px; height: 36px; }
.impact-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.impact-stats div {
  padding: 28px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.impact-stats b { display: block; color: #fff; font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 8px; }
.impact-stats span { font-size: 15px; }
@media (max-width: 900px) { .impact-grid { grid-template-columns: 1fr; } .quote { padding: 28px; } }
@media (max-width: 420px) { .impact-stats div { padding: 20px; } }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 48px; border-radius: 20px; color: #fff;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(47, 107, 255, .45), transparent 70%),
    var(--navy);
}
.contact h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.contact p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 17px; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .15s;
}
a.contact-item:hover { background: rgba(255, 255, 255, .1); }
.contact-item svg { width: 22px; height: 22px; flex: none; color: #8fb0ff; }
.contact-item small { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); }
.contact-item b { color: #fff; font-weight: 600; word-break: break-all; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .62); padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-grid .logo { color: #fff; margin-bottom: 14px; }
.footer-grid p { max-width: 320px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal links ---------- */
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.policy-card {
  display: flex; align-items: center; gap: 18px; padding: 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.policy-card:hover { border-color: #c7d6ff; box-shadow: var(--shadow); transform: translateY(-2px); }
.policy-card .ic { margin: 0; flex: none; }
.policy-text { display: flex; flex-direction: column; min-width: 0; }
.policy-text b { color: var(--ink); font-size: 17px; font-weight: 700; }
.policy-text small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.policy-card .arrow { width: 20px; height: 20px; flex: none; margin-left: auto; color: var(--brand); }
@media (max-width: 720px) { .policy-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound .code { font-size: 112px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--brand); }
.notfound p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
