:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-alt: #f6f8f7;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #15803d;
  --brand-dark: #166534;
  --brand-soft: #dcfce7;
  --card: #ffffff;
  --error: #b91c1c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b14;
    --bg-alt: #0d1422;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --line: #1e293b;
    --brand: #22c55e;
    --brand-dark: #16a34a;
    --brand-soft: #052e16;
    --card: #0f172a;
    --error: #f87171;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6rem; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 18px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background 0.15s, border-color 0.15s;
}
.button.big { min-height: 50px; padding: 0 24px; font-size: 1.05rem; }
.button.primary { background: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-dark); }
.button.secondary { border-color: var(--line); color: var(--text); background: var(--card); }
.button.secondary:hover { border-color: var(--brand); }
.button.ghost { color: var(--text); }
.button.ghost:hover { background: var(--bg-alt); }
.button:disabled { opacity: 0.6; cursor: default; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.top-nav { display: none; gap: 24px; }
.top-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.top-nav a:hover { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 4px; }
@media (min-width: 760px) { .top-nav { display: flex; } }

.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover { background: var(--bg-alt); }
.langs ul { position: absolute; right: 0; top: 100%; margin: 4px 0 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; min-width: 150px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
.langs a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--text); text-decoration: none; }
.langs a:hover, .langs a[aria-current="page"] { background: var(--brand-soft); }

/* Sections */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 400px at 50% -10%, var(--brand-soft), transparent 70%); }
.hero h1 { max-width: 48rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.features li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.features p { margin: 0; color: var(--muted); }
.sports { margin-top: 40px; padding: 24px; border-radius: 14px; border: 1px dashed var(--line); }
.sports p { margin: 0; color: var(--muted); }

.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.plan .price { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.plan li, .trust li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.check { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.switching { margin-top: 20px; color: var(--muted); }
.trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Contact form */
.contact-form { display: grid; gap: 14px; margin-top: 20px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: 0.95rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.contact-form textarea { resize: vertical; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.9rem; color: var(--muted); }
.contact-form .consent input { width: auto; margin-top: 4px; accent-color: var(--brand); }
.contact-form button { justify-self: start; }
/* The honeypot: out of sight and out of the tab order. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 500; }
.form-status.success { color: var(--brand); }
.form-status.error { color: var(--error); }

/* Footer */
.bottom { padding: 28px 0; color: var(--muted); font-size: 0.9rem; }
.bottom-row { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.bottom a { color: var(--muted); text-decoration: none; }
.bottom a:hover { color: var(--text); }
