:root {
  --bg: #0D0D10;
  --surface: #17171C;
  --border: #26262D;
  --text: #F4F4F0;
  --muted: #A1A1AA;
  --soft: #C9C9CF;
  --accent: #D4FF3A;
  --accent-hover: #E6FF85;
  --gold: #FFB547;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img, svg { max-width: 100%; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.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); font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .06em; }
.brand:hover { color: var(--text); text-decoration: none; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.nav a { color: var(--soft); }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 16px; font-weight: 800; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); text-decoration: none; }
.btn-ghost { border: 1.5px solid #3A3A44; color: var(--text); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero h1 { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(32px, 6vw, 58px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; max-width: 16ch; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--soft); max-width: 46ch; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 8px; background: var(--gold); color: var(--bg); margin-bottom: 18px; }

/* Sections */
section { padding: 48px 0; }
h2 { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(24px, 3.5vw, 34px); line-height: 1.15; margin: 0 0 24px; }
h3 { font-size: 19px; margin: 0 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--soft); font-size: 16px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--accent); display: block; margin-bottom: 8px; }
.kicker.gold { color: var(--gold); }
.bar { height: 10px; border-radius: 5px; background: #2B2B33; overflow: hidden; margin: 8px 0 4px; }
.bar > span { display: block; height: 100%; background: var(--gold); border-radius: 5px; }
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px 18px 64px; position: relative; color: var(--soft); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: var(--bg); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps li strong { color: var(--text); }

/* Legal pages */
.legal { padding: 48px 0 72px; max-width: 760px; }
.legal h1 { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(28px, 4.5vw, 40px); line-height: 1.15; margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--soft); }
.legal .meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.note { background: #2A1E14; border: 1px solid #5A3F1F; border-radius: 14px; padding: 14px 16px; color: #E8D9C8; font-size: 15px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-box { overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--soft); }
th { color: var(--text); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 48px; 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(--soft); }

@media (max-width: 600px) {
  .hero { padding: 48px 0 36px; }
  section { padding: 32px 0; }
  .btn { width: 100%; }
}

/* App screenshots */
.screens { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.screen { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.screen img { display: block; width: 100%; height: auto; border-radius: 28px; border: 5px solid #26262D; background: var(--surface); }
.screen figcaption { font-size: 15px; color: var(--soft); line-height: 1.45; }
.screen figcaption strong { display: block; color: var(--text); font-size: 16px; }
@media (max-width: 1000px) {
  .screens { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .screen { scroll-snap-align: start; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .screens { grid-auto-columns: 34%; }
}
