/* Quit Vaping Buddy — landing styles. Mirrors the app's locked palette
   (space-noir, malachite primary). Do not drift from these values. */
:root {
  --bg: #0e0e10;
  --surface: #1a1f26;
  --surface-elev: #21262e;
  --border: #2d333d;
  --border-soft: #232932;
  --text: #f5e6d3;
  --text-mid: #a8a8b0;
  --text-dim: #6b6b72;
  --malachite: #2dc4b6;
  --malachite-bright: #5dd8cc;
  --malachite-deep: #1a8a82;
  --malachite-soft: rgba(45, 196, 182, 0.13);
  --malachite-border: rgba(45, 196, 182, 0.28);
  --gold: #f08a3e;
  --pink: #e89bc4;
  --radius: 22px;
  --radius-compact: 16px;
  --ease: cubic-bezier(0.32, 0.72, 0.24, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.3px;
}
.brand .dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--malachite-bright), var(--malachite-deep));
  display: grid;
  place-items: center;
  color: #06251a;
  font-weight: 800;
  font-size: 14px;
}

.hero { margin-top: auto; padding-top: 56px; }

.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--malachite);
  margin-bottom: 16px;
}

h1 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 800;
  margin-bottom: 14px;
}
h1 .accent { color: var(--malachite); }

.sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 440px;
}

/* Invite: the code card */
.code-card {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--malachite-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.code-card .who {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.code-card .who b { color: var(--text); font-weight: 700; }
.code {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 6px;
  font-variant-numeric: tabular-nums;
  color: var(--malachite);
  background: var(--malachite-soft);
  border-radius: var(--radius-compact);
  padding: 16px 12px 16px 18px;
  user-select: all;
}
.code-hint {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 12px;
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border-radius: 100px;
  padding: 15px 22px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), opacity 0.15s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--malachite-bright), var(--malachite-deep));
  color: #06251a;
  box-shadow: 0 4px 22px rgba(45, 196, 182, 0.28);
}
.btn-ghost {
  background: var(--surface-elev);
  border-color: var(--border);
  color: var(--text);
}

.points {
  margin-top: 40px;
  display: grid;
  gap: 14px;
}
.point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-compact);
  padding: 16px;
}
.point .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: var(--malachite-soft);
  border: 1px solid var(--malachite-border);
}
.point h3 { font-size: 15px; font-weight: 600; }
.point p { font-size: 13px; color: var(--text-mid); margin-top: 2px; }

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
footer a { color: var(--text-mid); text-decoration: none; }
footer a:hover { color: var(--text); }
.built {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 22px;
}
.built b { color: var(--text-mid); font-weight: 600; }

/* Legal pages */
.legal h1 { font-size: 28px; margin-bottom: 8px; }
.legal .updated { font-size: 12.5px; color: var(--text-dim); margin-bottom: 8px; }
.legal .disclaimer {
  background: var(--malachite-soft);
  border: 1px solid var(--malachite-border);
  border-radius: var(--radius-compact);
  padding: 16px;
  font-size: 13.5px;
  color: var(--text);
  margin: 20px 0 8px;
}
.legal section { margin-top: 26px; }
.legal h2 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.legal p { font-size: 14px; color: var(--text-mid); }
.legal .back { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--malachite); text-decoration: none; }

@media (max-width: 420px) {
  h1 { font-size: 29px; }
  .code { font-size: 32px; letter-spacing: 4px; }
}
