:root {
  --blue: #2b4beb;
  --purple: #7b2bcb;
  --magenta: #a812b0;
  --gradient: linear-gradient(120deg, var(--blue), var(--purple) 55%, var(--magenta));

  --bg: #ffffff;
  --bg-soft: #f5f4fb;
  --text: #16131f;
  --text-muted: #5d5970;
  --border: #e4e1ef;
  --card: #ffffff;

  --radius: 18px;
  --max: 1080px;
  --prose: 720px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0d16;
    --bg-soft: #17141f;
    --text: #f2f0f8;
    --text-muted: #a7a2b8;
    --border: #2a2637;
    --card: #1a1724;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--purple); }
@media (prefers-color-scheme: dark) { a { color: #b99cf2; } }

img { max-width: 100%; display: block; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.prose { width: min(100% - 40px, var(--prose)); margin-inline: auto; }

/* Header & footer */

.site-header { border-bottom: 1px solid var(--border); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 20px; }
.site-nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--text); }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px; padding: 28px 0;
  color: var(--text-muted); font-size: 14px;
}
.site-footer .container {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; align-items: center;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--text-muted); }

/* Hero */

.hero { padding: 88px 0 72px; text-align: center; }
.hero-icon {
  width: 112px; height: 112px; margin: 0 auto 28px;
  border-radius: 26px; background: #fff;
  box-shadow: 0 12px 40px rgba(91, 43, 203, 0.25);
}
.eyebrow {
  display: inline-block; margin-bottom: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 {
  margin: 0 auto 18px; max-width: 14ch;
  font-size: clamp(40px, 7vw, 64px); line-height: 1.05; letter-spacing: -0.02em;
}
.hero p.lede {
  margin: 0 auto 36px; max-width: 34em;
  font-size: clamp(18px, 2.2vw, 21px); color: var(--text-muted);
}

/* Signup form */

.signup { max-width: 460px; margin: 0 auto; }
.signup-row { display: flex; gap: 10px; }
.signup input[type="email"] {
  flex: 1; min-width: 0;
  padding: 14px 16px; font: inherit;
  color: var(--text); background: var(--card);
  border: 1px solid var(--border); border-radius: 12px;
}
.signup input[type="email"]:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.button {
  padding: 14px 20px; font: inherit; font-weight: 600;
  color: #fff; background: var(--gradient);
  border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap;
}
.button:disabled { opacity: 0.6; cursor: default; }
.signup .cf-turnstile { margin-top: 14px; display: flex; justify-content: center; }
.signup .fine-print { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); }
.signup .status { margin: 14px 0 0; font-weight: 600; min-height: 1.6em; }
.signup .status.error { color: #d0314b; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 520px) {
  .signup-row { flex-direction: column; }
}

/* Features */

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section h2 {
  margin: 0 0 12px; text-align: center;
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.01em; line-height: 1.15;
}
.section .section-lede {
  margin: 0 auto 44px; max-width: 36em; text-align: center; color: var(--text-muted);
}

.features {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.feature {
  padding: 26px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.feature::before {
  content: ""; display: block; width: 36px; height: 4px; margin-bottom: 18px;
  border-radius: 2px; background: var(--gradient);
}
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--text-muted); font-size: 16px; }

.plus {
  display: grid; gap: 32px; align-items: center;
  grid-template-columns: 1fr;
  padding: 40px; border-radius: 24px;
  color: #fff; background: var(--gradient);
}
.plus h2 { text-align: left; color: #fff; }
.plus p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.88); }
.plus ul { margin: 0; padding-left: 20px; color: rgba(255, 255, 255, 0.92); }
.plus li + li { margin-top: 6px; }
@media (min-width: 820px) { .plus { grid-template-columns: 1.1fr 1fr; padding: 56px; } }

.cta { text-align: center; }

/* Legal & support pages */

.page { padding: 56px 0 0; }
.page h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.01em; }
.page .updated { color: var(--text-muted); margin: 0 0 36px; }
.page h2 { font-size: 24px; margin: 44px 0 10px; line-height: 1.25; }
.page h3 { font-size: 19px; margin: 28px 0 6px; }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 22px; }
.page li + li { margin-top: 6px; }
.page .summary {
  padding: 20px 24px; margin: 0 0 8px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px;
}
.page .summary ul { margin: 8px 0 0; }
.contact-card {
  padding: 24px; margin: 8px 0 12px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px;
}
.contact-card p { margin: 0; }
.contact-card a { font-weight: 600; font-size: 19px; }
