:root {
  --bg: #ffffff;
  --bg-alt: #f3f7f9;
  --text: #1b2a33;
  --muted: #5a6b75;
  --brand: #0b3d5c;
  --brand-2: #1b7f79;
  --accent: #7fd6c2;
  --card: #ffffff;
  --border: #dbe5ea;
  --radius: 12px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1b22;
    --bg-alt: #13252e;
    --text: #e6eef2;
    --muted: #9fb3bd;
    --brand: #7fd6c2;
    --brand-2: #4fb3a6;
    --accent: #0b3d5c;
    --card: #172b35;
    --border: #26404c;
  }
}

:root[data-theme="dark"] {
  --bg: #0f1b22;
  --bg-alt: #13252e;
  --text: #e6eef2;
  --muted: #9fb3bd;
  --brand: #7fd6c2;
  --brand-2: #4fb3a6;
  --accent: #0b3d5c;
  --card: #172b35;
  --border: #26404c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img, svg { max-width: 100%; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-2); }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: 0.9rem; color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 12px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none;
}
.logo { width: 32px; height: 32px; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; padding: 4px 0; }
nav a:hover { color: var(--brand-2); text-decoration: underline; }
nav a.lang-switch {
  font-weight: 700; font-size: 0.85rem; padding: 2px 8px;
  border: 1px solid var(--border); border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--brand-2); color: #fff; font-weight: 600;
  text-decoration: none; border: 2px solid var(--brand-2);
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-small { padding: 6px 14px; font-size: 0.9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 85% 20%, rgba(127, 214, 194, 0.25), transparent 45%),
    var(--bg);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem;
  font-weight: 700; color: var(--brand-2); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.hero-points {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 12px;
}
.hero-points li {
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px; font-size: 0.9rem;
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-cta { background: var(--brand); color: #fff; }
.section-cta h2, .section-cta p { color: #fff; }
.section-cta .btn { background: #fff; color: var(--brand); border-color: #fff; }
.section-cta .small { color: rgba(255,255,255,0.8); }
.section-cta a { color: #fff; }
.section-intro { color: var(--muted); max-width: 720px; }

/* Cards and grids */
.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 24px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card ul { padding-left: 18px; margin: 0; color: var(--muted); }
.card li { margin-bottom: 4px; }
.card p { color: var(--muted); }

.split {
  display: grid; gap: 32px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.note { font-size: 0.9rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--border); }
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  border: 2px solid var(--brand-2);
}

/* Process */
.steps {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  counter-reset: step;
}
.steps li {
  counter-increment: step; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
}
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-2); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 20px; margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-inner p { margin: 0; }

/* Phone layout */
@media (max-width: 600px) {
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .nav nav { gap: 8px 12px; }
  nav a:not(.btn) { font-size: 0.9rem; }
  .btn { width: 100%; text-align: center; }
  .cta-row .btn { width: 100%; }
  .card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
