:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #131a24;
  --muted: #5a6675;
  --accent: #4aa3d6;
  --accent-ink: #0d3c54;
  --warm: #f0b873;
  --green: #7ec89e;
  --border: #e2e8f0;
  --shadow: 0 10px 40px rgba(15, 30, 50, 0.08);
  --radius: 18px;
  --maxw: 1100px;
  font-synthesis: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1016;
    --surface: #141c26;
    --surface-2: #1b2531;
    --text: #eaf0f7;
    --muted: #93a1b3;
    --accent: #6bbbe8;
    --accent-ink: #bfe4f6;
    --warm: #f0b873;
    --green: #7ec89e;
    --border: #26313f;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-ink));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Language toggle (stays visible on mobile, unlike nav-links) */
.lang-toggle {
  flex: none; margin-left: 16px;
  background: transparent; border: 1px solid var(--border); color: var(--text);
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em;
  padding: 7px 13px; border-radius: 999px; cursor: pointer; min-width: 46px;
  transition: border-color .15s ease, color .15s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #04222f; font-weight: 600;
  padding: 11px 20px; border-radius: 999px; border: none; cursor: pointer;
  font-size: 0.98rem; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn.warm { background: var(--warm); }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }

/* Hero */
.hero { padding: 90px 0 60px; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .glow {
  position: absolute; inset: -20% 0 auto 0; height: 400px; z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
}
.pill {
  display: inline-block; font-size: 0.82rem; color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; font-weight: 600;
}

/* Sections */
section { padding: 64px 0; }
section h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 12px; text-align: center; }
section .sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; }

.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } .nav-links { display: none; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent); font-size: 1.4rem; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; max-width: 720px; margin: 0 auto; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .num {
  counter-increment: step; flex: none;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #04222f; font-weight: 700;
}
.step .num::before { content: counter(step); }
.step h3 { margin: 4px 0 4px; }
.step p { margin: 0; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); position: relative; }
.plan.featured .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--warm); color: #3a2600; font-weight: 700; font-size: 0.78rem; padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 1.2rem; }
.plan .price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; }

/* Evidence / honesty band */
.band { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band .card { background: var(--surface); }

/* Footer */
footer { padding: 50px 0 70px; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); }
footer .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer a { color: var(--muted); display: block; margin: 6px 0; }
footer a:hover { color: var(--text); }
.disclaimer { margin-top: 34px; font-size: 0.82rem; color: var(--muted); border-top: 1px dashed var(--border); padding-top: 20px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0 80px; }
.legal h1 { font-size: 2rem; letter-spacing: -0.02em; }
.legal h2 { font-size: 1.25rem; margin-top: 34px; }
.legal p, .legal li { color: var(--text); }
.legal .muted { color: var(--muted); font-size: 0.9rem; }
