:root {
  --bg: #f4f7f3;
  --surface: #ffffff;
  --text: #14201a;
  --muted: #56675c;
  --accent: #2a8c68;
  --accent-ink: #ffffff;
  --accent-soft: #e3f3ea;
  --border: #dbe4dd;
  --shadow: 0 1px 2px rgba(16, 32, 27, .05), 0 10px 30px rgba(16, 32, 27, .07);
  --night: #10201b;
  --gradient: linear-gradient(90deg, #8fd694, #4fb3bf);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1310;
    --surface: #131d18;
    --text: #e6efe9;
    --muted: #9db0a4;
    --accent: #6fcf97;
    --accent-ink: #0c1310;
    --accent-soft: #1b2e24;
    --border: #23312a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin: 0 0 20px; }
h3 { font-size: 1.1rem; margin: 0 0 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.brand {
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Top bar and footer, shared by every page. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.3rem; }
.logo img { display: block; }
.topbar nav { display: flex; gap: 22px; overflow-x: auto; }
.topbar nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.topbar nav a:hover { color: var(--text); }
@media (max-width: 640px) {
  .topbar-inner { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .topbar nav { gap: 16px; width: 100%; }
}

.footer {
  margin-top: 72px;
  padding: 36px 0 56px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .88rem;
}
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.footer-top .logo { font-size: 1.1rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--text); }
.footer p { margin: 6px 0; }
.footer .disclaimer { font-size: .78rem; letter-spacing: .02em; }

/* Home page. */
.hero {
  color: #e9f2ec;
  background:
    radial-gradient(60% 90% at 10% 0%, rgba(143, 214, 148, .20), transparent 60%),
    radial-gradient(50% 80% at 95% 10%, rgba(79, 179, 191, .24), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--night);
  padding: 80px 0 88px;
}
.hero-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); margin: 0 0 18px; max-width: 14em; }
.hero .price { color: #b9cdbf; margin: 0 0 28px; }
.hero .price strong { color: #ffffff; }
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 4px 12px;
  border: 1px solid rgba(143, 214, 148, .35);
  border-radius: 999px;
  color: #8fd694;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.address { margin: 0; color: #b9cdbf; font-size: .95rem; }
.hero code { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #ffffff; }
.hero-art { width: 260px; height: auto; filter: drop-shadow(0 24px 60px rgba(79, 179, 191, .35)); }
@media (max-width: 820px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

.section { padding-top: 72px; scroll-margin-top: 72px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.grid p { margin: 0; color: var(--muted); }
.icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.pricing {
  grid-template-columns: minmax(220px, 1fr) 1.6fr;
  gap: 32px;
  padding: 36px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box;
}
.pricing h2 { font-size: 1.4rem; margin: 0 0 8px; }
.pricing .big { font-size: 2.6rem; margin: 0 0 8px; letter-spacing: -0.02em; }
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; padding: 26px; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: .8rem;
  line-height: 22px;
  text-align: center;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--gradient);
  color: var(--night);
  font-weight: 800;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Buttons, cards and forms. */
.button {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 12px 22px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; filter: none; }
.hero .button { background: var(--gradient); border-color: transparent; color: var(--night); }
.button.ghost, .hero .button.ghost { background: transparent; border-color: rgba(255, 255, 255, .3); color: #ffffff; }
.button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

.card {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
label { font-weight: 600; }
input {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
}
input:focus-visible, .button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input.code { font-size: 1.6rem; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.check input { width: auto; margin-top: .35em; }
.status { min-height: 1.5em; margin: 0; color: var(--muted); }
.muted { color: var(--muted); margin: 0; }
.small { font-size: .92rem; color: var(--muted); padding-left: 1.2em; margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 8px; }
.price { margin: 0 0 20px; }
.tag { border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; font-size: .85rem; font-weight: 600; }
.notice { background: var(--surface); border: 1px solid var(--accent); border-radius: 12px; padding: 10px 14px; }
.todo { background: #ffe58a55; }
code {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: .92em;
}
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }

/* Join, account and thanks pages. */
.page { max-width: 1080px; margin: 0 auto; padding: 48px 20px 0; }
.page.narrow { max-width: 560px; }
.page.narrow h1 { font-size: clamp(1.9rem, 5vw, 2.4rem); margin: 0 0 8px; }

/* Terms, privacy and refunds. */
.legal {
  max-width: 780px;
  margin: 48px auto 0;
  padding: 44px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); margin: 0 0 12px; }
.legal .updated {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .85rem;
  font-weight: 600;
}
.legal h3 { margin: 32px 0 8px; font-size: 1.15rem; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 1.2em; }
@media (max-width: 640px) { .legal { margin: 24px 12px 0; padding: 28px 22px; } }
