:root{
  --primary:#25D366;
  --primary-hi:#4cf08a;
  --primary-edge:#12904a;
  --on-primary:#04210f;
  --violet:#7c5cff;
  --violet-hi:#b9a8ff;
  --violet-deep:#2a1a6e;
  --gold:#ffd84d;
  --bg-dark:#0f0b24;
  --bg-card:rgba(255,255,255,.06);
  --line:rgba(185,168,255,.2);
  --text-main:#fff;
  --text-muted:#c4bfe0;
  --radius-lg:18px;
  --radius-md:16px;
  --wrap:480px;
  --cta-h:60px;
  --sticky-h:84px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
img,svg{display:block;max-width:100%}
a{color:inherit}
ul,ol{list-style:none}
button{font:inherit;border:0;background:none;color:inherit;cursor:pointer}

body{
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg-dark);
  color:var(--text-main);
  line-height:1.45;
  font-size:16px;
  min-height:100dvh;
  /* reserve room for the sticky CTA so showing it never shifts the layout */
  padding-bottom:calc(var(--sticky-h) + env(safe-area-inset-bottom));
}

.sprite{position:absolute;width:0;height:0}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px;position:relative}
section{padding:24px 0}

/* ---------- Hero: bold gradient poster ---------- */
.hero{
  position:relative;overflow:hidden;text-align:center;
  padding:26px 0 30px;
  background:
    radial-gradient(120% 70% at 85% -10%,rgba(124,92,255,.95) 0%,rgba(124,92,255,0) 60%),
    radial-gradient(90% 60% at 0% 100%,rgba(37,211,102,.28) 0%,rgba(37,211,102,0) 65%),
    linear-gradient(170deg,#3a1fa8 0%,#1d1250 55%,#0f0b24 100%);
  border-radius:0 0 32px 32px;
  box-shadow:0 20px 50px rgba(76,48,200,.35);
}
.hero::before,.hero::after{
  content:"";position:absolute;border-radius:50%;pointer-events:none;
}
.hero::before{width:220px;height:220px;right:-90px;top:-70px;border:2px solid rgba(255,255,255,.14)}
.hero::after{width:140px;height:140px;left:-60px;bottom:40px;background:rgba(255,216,77,.12)}
.brand{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-size:12px;font-weight:800;letter-spacing:.16em;
  text-transform:uppercase;color:#fff;margin-bottom:16px;
  padding:6px 14px 6px 6px;border-radius:999px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);
}
.brand img{width:36px;height:36px;border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.hero h1{
  font-size:36px;font-weight:900;line-height:1.04;letter-spacing:-.035em;margin-bottom:12px;
  text-wrap:balance;text-shadow:0 4px 24px rgba(0,0,0,.35);
}
.hero .sub{font-size:16px;color:#e4dfff;line-height:1.45;margin:0 auto 20px;max-width:34ch}

/* ---------- Buttons: chunky, tactile ---------- */
.btn-cta{
  display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;min-height:var(--cta-h);padding:0 22px;
  border-radius:var(--radius-lg);
  font-weight:900;font-size:18px;line-height:1.15;text-decoration:none;text-wrap:balance;
  color:var(--on-primary);
  background:linear-gradient(180deg,var(--primary-hi) 0%,var(--primary) 100%);
  box-shadow:0 5px 0 var(--primary-edge),0 16px 32px rgba(37,211,102,.35);
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  transition:transform .1s ease,box-shadow .1s ease;
}
.btn-cta svg{width:26px;height:26px;flex:none}
.btn-cta:active{transform:translateY(4px);box-shadow:0 1px 0 var(--primary-edge),0 6px 14px rgba(37,211,102,.3)}
.btn-cta:focus-visible,.legal a:focus-visible,.legal button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hero .btn-cta{max-width:350px;margin:0 auto}

/* ---------- Headings / fact lists ---------- */
h2{
  display:flex;align-items:center;gap:10px;
  font-size:22px;font-weight:900;letter-spacing:-.02em;margin-bottom:12px;
}
h2::before{
  content:"";flex:none;width:6px;height:24px;border-radius:3px;
  background:linear-gradient(180deg,var(--violet-hi),var(--violet));
}

.facts{
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.facts div{padding:13px 16px;border-top:1px solid var(--line)}
.facts div:first-child{border-top:0}
.facts dt{font-size:11px;font-weight:800;color:var(--violet-hi);text-transform:uppercase;letter-spacing:.1em;margin-bottom:3px}
.facts dd{font-size:15px;line-height:1.45;overflow-wrap:anywhere}
/* Pay section: make the rate the loudest thing in the list */
main section:first-child .facts div:first-child{background:rgba(255,216,77,.1)}
main section:first-child .facts div:first-child dd{font-size:22px;font-weight:900;color:var(--gold);line-height:1.2}

/* ---------- Steps (static, always visible) ---------- */
.steps{display:grid;gap:12px}
.steps li{
  display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:start;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
  border:1px solid var(--line);
  border-radius:var(--radius-md);padding:14px 16px;
}
.steps .n{
  grid-row:1 / span 2;
  width:44px;height:44px;border-radius:14px;
  background:linear-gradient(135deg,var(--violet-hi),var(--violet));color:#fff;
  font-weight:900;font-size:22px;
  display:grid;place-items:center;
  box-shadow:0 6px 16px rgba(124,92,255,.45);
}
.steps b{font-size:16px;font-weight:800;line-height:1.3;margin-bottom:2px}
.steps p{font-size:14px;color:var(--text-muted);line-height:1.45}

/* ---------- Footer / legal ---------- */
footer{text-align:center;padding:16px 20px 8px;font-size:13px;color:var(--text-muted)}
footer .name{font-weight:800;color:var(--text-main);margin-bottom:4px;font-size:14px}
.legal{margin:8px 0}
.legal a,.legal button{display:inline-block;min-height:44px;line-height:24px;padding:10px 8px;color:var(--violet-hi);text-decoration:underline;font-size:13px}
.ns{background:#ffe066;color:#1a1a2e;padding:12px 16px;font-size:14px;text-align:center}
.ns a{font-weight:700}

/* ---------- Sticky CTA: appears only after the hero CTA scrolls out of view ---------- */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(15,11,36,.96);
  border-top:2px solid var(--violet);
  box-shadow:0 -12px 32px rgba(76,48,200,.35);
  transform:translateY(110%);visibility:hidden;
  transition:transform .2s ease,visibility 0s linear .2s;
}
.sticky-cta.show{transform:none;visibility:visible;transition:transform .2s ease}
.sticky-cta .btn-cta{max-width:var(--wrap);margin:0 auto}

/* ---------- Legal documents (privacy.html / terms.html) ---------- */
.doc{padding:24px 0 48px}
.doc h1{font-size:28px;font-weight:900;margin-bottom:8px;letter-spacing:-.02em}
.doc h2{font-size:18px;margin:24px 0 8px;text-align:left}
.doc p,.doc li{font-size:15px;color:#e6e2f7;margin-bottom:10px}
.doc a{color:var(--violet-hi)}
.doc ul{list-style:disc;padding-left:20px}
.doc .tablewrap{overflow-x:auto;margin:10px 0}
.doc table{border-collapse:collapse;width:100%;min-width:520px;font-size:13px}
.doc th,.doc td{border:1px solid var(--line);padding:8px;text-align:left;vertical-align:top}
.doc th{background:rgba(124,92,255,.2)}
.doc .back{display:inline-block;padding:12px 0;font-size:14px;font-weight:700}
.doc button.link{text-decoration:underline;font-size:15px;padding:8px 0;color:var(--violet-hi)}

@media (prefers-reduced-motion:reduce){
  .btn-cta,.sticky-cta,.sticky-cta.show{transition:none}
}
