/* Layout: one centered card on a deep violet field with soft neon glows, matching the zapifylabs.com store */
:root {
  --bg: #0b0814;
  --bg-2: #140d24;
  --card: #150f25;
  --line: #2c2245;
  --fg: #ece8f7;
  --muted: #a49cbc;
  --pink: #ff4fd8;
  --violet: #8b5cf6;
  --chip: #1f1638;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  background:
    radial-gradient(600px 400px at 8% 0%, rgba(139, 92, 246, .22), transparent 70%),
    radial-gradient(500px 380px at 100% 30%, rgba(255, 79, 216, .14), transparent 70%),
    radial-gradient(520px 420px at 20% 100%, rgba(139, 92, 246, .16), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  padding-inline: 16px;
  padding-block: 56px 40px;
}

a { color: var(--pink); text-underline-offset: 3px; }
a:hover { color: #ff86e4; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.wrap {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.wrap.wide { max-width: 720px; }

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { height: 56px; width: auto; display: block; }
.brand .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Card */
.card {
  width: 100%;
  background: linear-gradient(180deg, var(--bg-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 0 0 1px rgba(255, 79, 216, .06), 0 24px 60px rgba(0, 0, 0, .5), 0 0 60px rgba(139, 92, 246, .12);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 8px;
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--pink); }

.lede { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid #3a2a63;
  font-size: 11.5px;
  font-weight: 600;
  color: #d8c9ff;
}
.chip svg { width: 12px; height: 12px; stroke: var(--pink); }

/* Checks */
.checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  font-size: 13.5px;
  color: var(--muted);
  transition: border-color .15s, background .15s;
}
.check:hover { border-color: #4a3878; }
.check:has(input:checked) { border-color: var(--violet); background: rgba(139, 92, 246, .08); }
.check strong { color: var(--fg); font-weight: 600; }
.check input {
  appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid #5b4a86;
  border-radius: 5px;
  background: transparent;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.check input:checked { background: linear-gradient(135deg, var(--violet), var(--pink)); border-color: transparent; }
.check input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* Buttons */
.btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  font: 600 14.5px var(--body);
  color: #fff;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  box-shadow: 0 8px 28px rgba(255, 79, 216, .25);
  cursor: pointer;
  transition: filter .15s, opacity .15s;
}
.btn:hover:not(:disabled) { filter: brightness(1.1); }
.btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.btn svg { width: 16px; height: 16px; }

.hint { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); min-height: 1.2em; }

.fine {
  margin: 18px 0 0;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.55;
  color: #8a82a3;
}

.exit { margin: 0; font-size: 13px; color: var(--muted); }

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }

/* Legal pages */
.legal h1 { font-size: 26px; }
.legal .updated { margin: 0 0 24px; font-size: 13px; color: var(--muted); }
.legal h2 {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--fg);
}
.legal p, .legal li { color: #cfc8e2; max-width: 65ch; }
.legal p { margin: 0 0 10px; }
.legal ul { margin: 0 0 10px; padding-left: 20px; }
.legal li { margin-bottom: 4px; }
.legal .callout {
  margin: 0 0 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 79, 216, .07);
  border: 1px solid rgba(255, 79, 216, .3);
  color: var(--fg);
  font-weight: 500;
}
.back { display: inline-block; margin-top: 28px; font-weight: 600; text-decoration: none; }

@media (max-width: 480px) {
  body { padding-block: 32px 28px; }
  .card { padding: 22px 18px; }
  h1 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

