:root {
  --bg: #07110c;
  --bg-2: #0b1912;
  --surface: #0f2018;
  --surface-2: #142a20;
  --line: rgb(255 255 255 / .08);
  --line-strong: rgb(255 255 255 / .14);
  --text: #eaf3ee;
  --muted: #9db3a7;
  --faint: #6e867a;
  --green: #22c55e;
  --green-2: #4ade80;
  --green-ink: #052e16;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 18px;
  --wrap: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: inherit; font-weight: 700; font-size: .98rem; white-space: nowrap;
  color: var(--green-ink); background: var(--green);
  border: 0; border-radius: 12px; padding: .85rem 1.3rem;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 24px -8px rgb(34 197 94 / .55);
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn:hover { background: var(--green-2); box-shadow: 0 10px 30px -8px rgb(74 222 128 / .6); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: progress; }
.btn-small { padding: .55rem .95rem; font-size: .88rem; border-radius: 10px; box-shadow: none; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgb(7 17 12 / .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.logo em { font-style: normal; font-weight: 500; color: var(--muted); }
.logo-mark { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .94rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: .75rem; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-right { margin-left: auto; }
}
@media (max-width: 480px) {
  .nav-right .btn-small { display: none; }
}

.lang {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: .2rem .35rem .2rem .6rem; background: rgb(255 255 255 / .03);
}
.lang:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.lang svg { width: 16px; height: 16px; color: var(--muted); }
.lang select {
  font: inherit; font-size: .86rem; font-weight: 600; color: var(--text);
  background: transparent; border: 0; padding: .2rem .15rem; cursor: pointer; outline: none;
}
.lang option { background: var(--surface); color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.glow {
  position: absolute; inset: -30% -10% auto 30%; height: 760px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgb(34 197 94 / .28), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgb(16 185 129 / .16), transparent 70%);
  filter: blur(20px);
}
.hero::after {
  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;
  mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
  opacity: .5;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-block; margin-bottom: 1.2rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-2); background: rgb(34 197 94 / .1); border: 1px solid rgb(34 197 94 / .25);
  padding: .3rem .75rem; border-radius: 999px;
}
.hero h1 { max-width: 13ch; }
.lead { margin-top: 1.3rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 36rem; }

/* ---------- Waitlist form ---------- */
.waitlist { margin-top: 2rem; max-width: 520px; }
.waitlist.center { margin-inline: auto; }
.field {
  display: flex; gap: .5rem; padding: .4rem;
  background: rgb(255 255 255 / .05); border: 1px solid var(--line-strong); border-radius: 16px;
}
.field:focus-within { border-color: rgb(74 222 128 / .6); box-shadow: 0 0 0 4px rgb(34 197 94 / .15); }
.field input[type="email"] {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; color: var(--text);
  background: transparent; border: 0; padding: .6rem .7rem; outline: none;
}
.field input::placeholder { color: var(--faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 520px) {
  .field { flex-direction: column; }
  .field .btn { width: 100%; }
}
.form-msg { min-height: 1.5em; margin-top: .65rem; font-size: .95rem; font-weight: 600; }
.form-msg.ok { color: var(--green-2); }
.form-msg.err { color: var(--red); }
.form-note { font-size: .84rem; color: var(--faint); }
.form-note a { color: var(--muted); }
.waitlist.done .field { display: none; }

/* ---------- Hero visual ---------- */
.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
@media (max-width: 920px) { .hero-visual { min-height: 420px; } }
.phone {
  position: relative; width: 280px; height: 440px;
  border-radius: 40px; padding: 14px;
  background: linear-gradient(160deg, #1b2e25, #0c1712);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8), inset 0 0 0 6px #050b08;
}
.phone-notch { width: 96px; height: 24px; margin: 6px auto 0; border-radius: 99px; background: #050b08; }
.notif {
  margin-top: 54px; padding: 14px 15px 15px; border-radius: 20px;
  background: rgb(255 255 255 / .92); color: #0c1a13;
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / .5);
  animation: drop 0.9s cubic-bezier(.2, .9, .3, 1.2) .4s both;
}
.notif-head { display: flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 700; color: #3b5246; margin-bottom: .35rem; }
.notif-icon { width: 18px; height: 18px; }
.notif-time { margin-left: auto; font-weight: 500; }
.notif strong { display: block; font-size: .98rem; line-height: 1.3; }
.notif p { font-size: .85rem; color: #3b5246; margin-top: .2rem; line-height: 1.4; }
.notif-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .8rem; }
.pill-btn { text-align: center; font-size: .85rem; font-weight: 700; padding: .5rem; border-radius: 10px; background: #e6ece9; color: #b42318; }
.pill-btn.primary { background: #16a34a; color: #fff; }
.mini-card {
  position: absolute; z-index: 2; display: grid; gap: .2rem;
  padding: .85rem 1rem; border-radius: 14px; min-width: 210px;
  background: rgb(15 32 24 / .9); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / .8);
  font-size: .9rem;
}
.mini-label { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mini-card.spend { top: 6%; left: max(0px, 50% - 280px); animation: float 7s ease-in-out infinite; }
.mini-card.blocked { bottom: 8%; right: max(0px, 50% - 290px); animation: float 7s ease-in-out -3.5s infinite; }
.mini-bar { display: block; height: 6px; border-radius: 99px; background: rgb(255 255 255 / .08); margin-top: .35rem; overflow: hidden; }
.mini-bar span { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--amber)); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgb(248 113 113 / .2); }
@media (max-width: 520px) {
  .mini-card { min-width: 0; font-size: .82rem; }
  .mini-card.spend { left: 0; }
  .mini-card.blocked { right: 0; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }
.problem { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

.risks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .risks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .risks { grid-template-columns: 1fr; } }
.risk { padding: 22px; border-radius: var(--radius); background: rgb(248 113 113 / .04); border: 1px solid rgb(248 113 113 / .14); }
.risk svg { width: 28px; height: 28px; color: var(--red); margin-bottom: .9rem; }
.risk p { margin-top: .45rem; color: var(--muted); font-size: .96rem; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: rgb(74 222 128 / .35); transform: translateY(-2px); }
.feature.highlight { background: linear-gradient(160deg, rgb(34 197 94 / .16), var(--bg-2) 70%); border-color: rgb(34 197 94 / .3); }
.icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1.1rem;
  border-radius: 13px; color: var(--green-2);
  background: rgb(34 197 94 / .1); border: 1px solid rgb(34 197 94 / .22);
}
.icon svg { width: 24px; height: 24px; }
.feature p { margin-top: .5rem; color: var(--muted); font-size: .98rem; }

.how { background: var(--bg-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.num {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 1rem;
  border-radius: 50%; font-weight: 800; color: var(--green-ink); background: var(--green);
}
.step p { margin-top: .45rem; color: var(--muted); }
.works { margin-top: 48px; text-align: center; }
.works p { color: var(--faint); font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.works ul { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.works li { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; background: rgb(255 255 255 / .03); }
.works li.more { color: var(--muted); font-weight: 500; border-style: dashed; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 650; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--green-2); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--muted); max-width: 62ch; }

.cta {
  padding: clamp(72px, 10vw, 120px) 0; text-align: center; border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, rgb(34 197 94 / .18), transparent 60%), var(--bg);
}
.cta-mark { display: block; width: 84px; height: auto; margin: 0 auto 1.4rem; }
.cta p { margin-top: .9rem; color: var(--muted); font-size: 1.1rem; }
.cta .form-note { font-size: .84rem; color: var(--faint); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 28px; color: var(--faint); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.footer .logo { font-size: 1rem; }
.footer .logo-mark { height: 24px; }
.rights { flex: 1; min-width: 220px; }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a { color: var(--muted); text-decoration: none; cursor: pointer; }
.footer-links a:hover { color: var(--text); }
.privacy { margin-top: 1.2rem; }
.privacy summary { cursor: pointer; color: var(--muted); width: fit-content; }
.privacy p { margin-top: .6rem; max-width: 70ch; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .notif, .mini-card { animation: none !important; }
}
