:root {
  --bg: #0B1220;
  --bg-2: #111A2E;
  --line: #22304D;
  --dot: #2A3550;
  --text: #EEF1F7;
  --muted: #A5AFC4;
  --accent: #FFB547;
  --accent-ink: #1A1205;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, .brand { font-family: "Space Grotesk", system-ui, sans-serif; line-height: 1.15; }

a { color: var(--accent); }
a:hover { color: #FFCB80; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; font-size: 16px;
}
.btn:hover { background: #FFC266; color: var(--accent-ink); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 16px; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); margin: 0 0 20px; }
.hero p.lede { color: var(--muted); font-size: 19px; margin: 0 0 28px; max-width: 34em; }
.hero .small { color: var(--muted); font-size: 14px; margin-top: 14px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(340px, 80vw); height: auto; border-radius: 28%; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; }
section .intro { color: var(--muted); margin: 0 0 32px; max-width: 40em; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 20px; margin: 12px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card svg { width: 28px; height: 28px; color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: "Space Grotesk", sans-serif; color: var(--accent); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; }
.steps h3 { font-size: 20px; margin: 10px 0 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 16px; }

.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.spec li { border-bottom: 1px solid var(--line); padding: 12px 0; display: flex; justify-content: space-between; gap: 16px; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { text-align: right; font-weight: 500; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; min-height: 28px; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.cta { text-align: center; }
.cta p { color: var(--muted); margin: 0 auto 24px; max-width: 32em; }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; }
.legal .meta { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #D3D9E6; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 820px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-art { order: -1; }
  .hero-art img { width: min(200px, 55vw); }
  .grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .spec { grid-template-columns: minmax(0, 1fr); }
}
