:root {
  --ground: #F4F6FA;
  --surface: #FFFFFF;
  --ink: #14161C;
  --muted: #6A6F7B;
  --line: #E2E6EE;
  --accent: #2743F0;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(39, 67, 240, .10);
  --success: #1B9E68;
  --shadow: 0 1px 2px rgba(20, 22, 28, .04), 0 12px 34px -12px rgba(20, 22, 28, .18);
  --texture: 20, 22, 28;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0C0E13; --surface: #14171F; --ink: #EDEFF4; --muted: #9AA0AD;
    --line: #232732; --accent: #5A70FF; --accent-ink: #0B0D12;
    --accent-soft: rgba(90, 112, 255, .14); --success: #34C98A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -14px rgba(0, 0, 0, .6);
    --texture: 180, 190, 214;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--ground); line-height: 1.55;
  -webkit-font-smoothing: antialiased; min-height: 100vh;
  position: relative; overflow-x: hidden;
}
.mono { font-family: ui-monospace, "SF Mono", "Cascadia Code", "Menlo", "Consolas", monospace; }
a { color: var(--accent); }

#texture {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
}
#texture.on { opacity: 1; }

.wrap {
  position: relative; z-index: 1;
  max-width: 560px; margin: 0 auto;
  padding: clamp(28px, 7vw, 72px) 22px 64px;
}

header { text-align: center; }
.eyebrow {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
h1 {
  font-size: clamp(38px, 9vw, 58px);
  letter-spacing: -.035em; font-weight: 800; line-height: 1.02;
  margin: 14px 0 0; text-wrap: balance;
}
.lede {
  color: var(--muted); font-size: clamp(15px, 3.6vw, 17px);
  margin: 16px auto 0; max-width: 42ch; line-height: 1.45;
}
.lede .last { display: block; margin-top: 6px; opacity: .85; }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow);
  margin-top: clamp(28px, 6vw, 40px); padding: 22px;
}

.notice {
  margin: 0 0 16px; padding: 11px 13px; border-radius: 10px;
  font-size: 13px; background: var(--accent-soft); color: var(--ink);
}

/* how-it-works flow */
.flow {
  border: 1px dashed var(--line); border-radius: 14px;
  background: var(--accent-soft);
  padding: 22px 16px;
  display: flex; align-items: flex-start; justify-content: center; gap: 6px;
}
.step { flex: 1; max-width: 130px; text-align: center; }
.chip {
  width: 52px; height: 52px; margin: 0 auto 10px;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: var(--accent);
  box-shadow: 0 4px 12px -6px rgba(20, 22, 28, .25);
}
.chip svg { width: 24px; height: 24px; }
.step-t { font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.step-c { font-size: 11px; color: var(--muted); margin-top: 2px; }
.arrow { color: var(--muted); opacity: .55; align-self: center; padding-top: 14px; flex: 0 0 auto; }
.arrow svg { width: 18px; height: 18px; display: block; }

/* the code tile (success page) */
.tile {
  background: #FFFFFF; border-radius: 12px; padding: 18px;
  aspect-ratio: 1 / 1; display: grid; place-items: center;
  border: 1px solid rgba(20, 22, 28, .06);
}
.tile img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }

.ready {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 11px 13px; border-radius: 10px;
  background: color-mix(in srgb, var(--success) 12%, transparent);
  color: var(--success); font-size: 13px; font-weight: 550;
}
.ready .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); flex: 0 0 auto; }

label.field { display: block; margin-top: 22px; }
.field-label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 8px;
}
input[type="text"] {
  width: 100%; font-size: 16px; font-family: inherit;
  padding: 13px 15px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--ground); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="text"]:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.buy {
  width: 100%; margin-top: 18px; border: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  padding: 15px 18px; border-radius: 12px;
  font-family: inherit; font-size: 16px; font-weight: 650;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .08s ease, filter .15s ease, opacity .15s ease;
}
.buy:hover { filter: brightness(1.06); }
.buy:active { transform: translateY(1px) scale(.995); }
.buy:disabled { opacity: .45; cursor: not-allowed; }
.buy .price {
  font-family: ui-monospace, "SF Mono", monospace; font-weight: 700;
  padding: 2px 8px; border-radius: 6px;
  background: color-mix(in srgb, var(--accent-ink) 18%, transparent);
}

.downloads { display: flex; gap: 10px; margin-top: 16px; }
.downloads a {
  flex: 1; cursor: pointer; text-decoration: none; text-align: center;
  font-family: inherit; font-weight: 600; font-size: 14px;
  padding: 13px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: border-color .15s ease, filter .15s ease;
}
.downloads a svg { width: 16px; height: 16px; }
.downloads a.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; flex: 2; }
.downloads a:hover { border-color: var(--accent); }
.downloads a.primary:hover { filter: brightness(1.06); }

.keepit {
  margin-top: 16px; padding: 13px 15px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--ground);
  font-size: 12.5px; color: var(--muted);
}
.keepit b { color: var(--ink); font-weight: 650; }

.sim, .fineprint {
  text-align: center; font-size: 11.5px; color: var(--muted);
  margin-top: 14px; letter-spacing: .02em;
}

.honesty {
  margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.honesty div { background: var(--ground); padding: 15px 10px; text-align: center; }
.honesty .k { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.honesty .v { font-size: 10.5px; color: var(--muted); margin-top: 3px; }

.faq { margin-top: 40px; }
.faq-title {
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  color: var(--muted); text-transform: uppercase; letter-spacing: .12em;
  margin: 0 0 14px 4px;
}
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 8px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 18px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--accent);
  line-height: 1; flex: 0 0 auto; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 0; padding: 0 18px 17px; font-size: 14px; line-height: 1.6;
  color: var(--muted);
}
.faq details p strong { color: var(--ink); font-weight: 650; }
.faq details p em { font-style: italic; }

footer { text-align: center; margin-top: 30px; color: var(--muted); font-size: 12px; }
footer .tag { color: var(--accent); }
footer a { color: var(--muted); }

@media (max-width: 440px) {
  .flow { flex-direction: column; align-items: center; gap: 4px; }
  .step { max-width: 220px; }
  .arrow { transform: rotate(90deg); padding: 2px 0; }
}
@media (max-width: 380px) { .honesty { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  #texture { transition: none; }
  .buy, input, .downloads a { transition: none; }
}
