:root {
  color-scheme: dark;
  --bg: #09090c;
  --panel: #151419;
  --panel-2: #1c1b21;
  --text: #faf8fc;
  --muted: #c6becb;
  --line: rgba(255, 255, 255, 0.14);
  --purple: #8f5cff;
  --green: #78dfb5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
p { color: var(--muted); line-height: 1.65; }
code { color: #ddd0ff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 66px;
  padding: 12px max(20px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 12, 0.94);
  backdrop-filter: blur(12px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: var(--purple); font-weight: 900; }
nav { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 0.92rem; }
nav a, .site-footer a, .text-link { text-decoration: none; }
nav a:hover, .site-footer a:hover, .text-link:hover { color: white; }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(100vh - 66px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center top; }
.hero-shade { background: rgba(5, 5, 8, 0.76); }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 18px; width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 92px 0 64px; }
.eyebrow { color: #dacbff; font-size: 0.77rem; font-weight: 900; text-transform: uppercase; }
h1 { font-size: clamp(4rem, 10vw, 8.2rem); line-height: 0.88; }
h2 { max-width: 820px; font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.04; }
h3 { font-size: 1.15rem; }
.hero-lead { max-width: 780px; color: #eee9f2; font-size: 1.14rem; }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: rgba(12,12,16,.72); color: white; font-weight: 850; text-decoration: none; }
.button.primary { border-color: var(--purple); background: var(--purple); }
.button:hover { border-color: white; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hero-facts span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(8,8,11,.68); color: #e4ddea; font-size: .83rem; }

.stat-band, .content-band, .flow-band, .partner-band, .site-footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.stat-band div { display: grid; gap: 5px; padding: 24px 18px; border-right: 1px solid var(--line); }
.stat-band div:last-child { border-right: 0; }
.stat-band span { color: var(--muted); font-size: .86rem; line-height: 1.5; }

.content-band, .flow-band { padding: 84px 0; }
.section-heading { display: grid; gap: 12px; max-width: 900px; margin-bottom: 30px; }
.section-heading > p:last-child { max-width: 760px; font-size: 1.03rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { display: grid; align-content: start; gap: 10px; min-height: 210px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article > span { color: var(--green); font-size: .78rem; font-weight: 900; }

.flow-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.flow-list li { display: grid; gap: 7px; padding: 20px; border-left: 1px solid var(--line); }
.flow-list li:last-child { border-right: 1px solid var(--line); }
.flow-list span { color: var(--muted); font-size: .88rem; line-height: 1.5; }

.trust-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 54px; align-items: start; }
.trust-copy { display: grid; gap: 14px; position: sticky; top: 96px; }
.trust-list { display: grid; border-top: 1px solid var(--line); }
.trust-list div { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.trust-list span { color: var(--muted); line-height: 1.55; }

.partner-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 34px; border: 1px solid rgba(120,223,181,.32); border-radius: 8px; background: #111815; }
.partner-band > div { display: grid; gap: 10px; }
.partner-band h2 { font-size: clamp(2rem, 4vw, 3.3rem); }

.download-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.download-panel > div:first-child { display: grid; gap: 10px; }
.text-link { color: #dacbff; font-weight: 750; }

.faq-band { border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 0; font-weight: 800; }
details p { max-width: 850px; padding: 0 0 20px; }

.site-footer { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 34px 0 44px; border-top: 1px solid var(--line); }
.site-footer > div:last-child { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .9rem; }

.not-found { display: grid; place-items: center; min-height: 100vh; padding: 24px; text-align: center; }
.not-found > div { display: grid; gap: 16px; max-width: 620px; }

@media (max-width: 900px) {
  .stat-band, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li, .flow-list li:last-child { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .trust-band { grid-template-columns: 1fr; gap: 28px; }
  .trust-copy { position: static; }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 12px 16px; }
  nav { width: 100%; gap: 14px; overflow-x: auto; flex-wrap: nowrap; }
  .hero { min-height: 650px; }
  .hero-copy, .stat-band, .content-band, .flow-band, .partner-band, .site-footer { width: min(100% - 24px, 1240px); }
  .hero-copy { padding-bottom: 34px; }
  .hero-image { object-position: 38% top; }
  .stat-band, .feature-grid, .partner-band, .download-panel { grid-template-columns: 1fr; }
  .stat-band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .content-band, .flow-band { padding: 58px 0; }
  .partner-band, .download-panel { padding: 22px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
