:root {
  --bg: #f6f8f7;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --text: #0f1f18;
  --muted: #56675e;
  --border: #e1e8e4;
  --accent: #16a34a;
  --accent-strong: #15803d;
  --accent-soft: #dcfce7;
  --accent-text: #ffffff;
  --gold: #b45309;
  --gold-soft: #fef3c7;
  --error: #c62828;
  --shadow: 0 1px 2px rgba(15, 31, 24, 0.04), 0 8px 24px rgba(15, 31, 24, 0.06);
  --radius: 16px;
  --hero-from: #ecfdf3;
  --hero-to: #f6f8f7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1511;
    --bg-alt: #0f1c16;
    --card: #13221b;
    --text: #edf5f0;
    --muted: #9db3a7;
    --border: #22352c;
    --accent: #22c55e;
    --accent-strong: #4ade80;
    --accent-soft: #123524;
    --accent-text: #04140b;
    --gold: #fbbf24;
    --gold-soft: #3a2c0b;
    --error: #ff7a7a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    --hero-from: #0f2a1d;
    --hero-to: #0b1511;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: var(--accent-strong); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; }

.lang-switch { display: flex; gap: 6px; }
.lang-switch a {
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.lang-switch a[aria-current="true"] { color: var(--text); border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: var(--accent-text); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 15px 24px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(120% 90% at 50% 0%, var(--hero-from), var(--hero-to) 70%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { padding: 56px 20px 48px; text-align: center; max-width: 820px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero h1 { font-size: clamp(32px, 7vw, 54px); font-weight: 800; margin: 0 0 16px; }
.lede { font-size: clamp(17px, 2.4vw, 19px); color: var(--muted); margin: 0 auto 28px; max-width: 640px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 6px; }
.by { margin: 18px 0 0; font-size: 14px; }
.by a { text-decoration: none; font-weight: 700; }

/* ---------- sections ---------- */
.section { padding: 64px 0; scroll-margin-top: 60px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(26px, 4.5vw, 36px); font-weight: 800; margin: 0 0 10px; text-align: center; }
.section-sub { color: var(--muted); text-align: center; margin: 0 auto 32px; max-width: 620px; }

.grid { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

.steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.step { padding: 24px; }
.step h3 { margin: 12px 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }
.step-n {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.offers { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.offer { display: flex; flex-direction: column; padding: 22px; transition: border-color 0.15s, transform 0.15s; }
.offer:hover { border-color: var(--accent); transform: translateY(-2px); }
.offer-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.rank { background: var(--gold-soft); color: var(--gold); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; }
.platform { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.offer h3 { margin: 0 0 8px; font-size: 20px; }
.offer p { margin: 0 0 20px; color: var(--muted); flex: 1; }

/* ---------- lead magnet ---------- */
.lead { display: grid; gap: 28px; padding: 32px; grid-template-columns: 1.2fr 1fr; align-items: center; border: 2px solid var(--accent); }
.lead h2 { font-size: clamp(24px, 4vw, 32px); font-weight: 800; margin: 0 0 8px; }
.lead-copy > p { color: var(--muted); margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: var(--accent-soft); color: var(--accent-strong); font-size: 13px; font-weight: 800; }
.lead-form { display: grid; gap: 10px; }
.lead-form input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.lead-form input:focus { outline: none; border-color: var(--accent); }
.lead-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.lead-msg { min-height: 1.4em; margin: 0; font-size: 14px; font-weight: 600; color: var(--accent-strong); text-align: center; }
.lead-msg.error { color: var(--error); }
.lead-msg a { color: inherit; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; color: var(--muted); }

.final { padding-bottom: 88px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 32px 0 96px; font-size: 13px; color: var(--muted); text-align: center; }
.disclosure { max-width: 720px; margin: 0 auto 16px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }
.footer-links a { color: var(--muted); font-weight: 600; }
.copy { margin: 0; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: none;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s, transform 0.2s;
}
.sticky-cta.hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }

@media (max-width: 760px) {
  .hero-inner { padding: 40px 20px 36px; }
  .hero-ctas .btn { width: 100%; }
  .section { padding: 48px 0; }
  .lead { grid-template-columns: 1fr; padding: 24px; }
  .sticky-cta { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .offer, .sticky-cta { transition: none; }
}

/* ---------- guide and legal pages ---------- */
.page { padding: 40px 0 72px; }
.page h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 800; margin: 0 0 12px; }
.page h2 { font-size: 22px; margin: 32px 0 8px; }
.page .lede { margin: 0 0 8px; text-align: left; }
.page ul { padding-left: 22px; margin: 0; }
.page li { margin-bottom: 6px; }
.page .offers { margin-top: 16px; }
.back { margin-top: 32px; font-weight: 700; }
