:root {
  --bg: #f7faf8;
  --surface: #ffffff;
  --ink: #14261d;
  --ink-soft: #4a5f54;
  --line: #dfe8e2;
  --brand: #1f8a5b;
  --brand-dark: #146b47;
  --brand-soft: #e7f4ed;
  --radius: 14px;
  --wrap: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1512;
    --surface: #151f1a;
    --ink: #eaf2ed;
    --ink-soft: #a8bcb1;
    --line: #24332b;
    --brand: #3fb37c;
    --brand-dark: #2e9a68;
    --brand-soft: #17281f;
  }
}

html[data-theme="light"] {
  --bg: #f7faf8; --surface: #ffffff; --ink: #14261d; --ink-soft: #4a5f54;
  --line: #dfe8e2; --brand: #1f8a5b; --brand-dark: #146b47; --brand-soft: #e7f4ed;
}

html[data-theme="dark"] {
  --bg: #0e1512; --surface: #151f1a; --ink: #eaf2ed; --ink-soft: #a8bcb1;
  --line: #24332b; --brand: #3fb37c; --brand-dark: #65d39c; --brand-soft: #17281f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; }

a { color: var(--brand-dark); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(16, 185, 129, 0.2));
}

.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); color: var(--ink); background: var(--surface);
  cursor: pointer; font-size: 1.05rem;
}
.theme-toggle:hover { border-color: var(--brand); background: var(--brand-soft); }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover { color: var(--ink); background: var(--brand-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

@media (prefers-color-scheme: dark) {
  .btn-primary { color: #0c1712; }
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

/* Hero */
.hero { padding: 72px 0 56px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 52ch;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.phone {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.45);
}

.phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.phone-row:last-child { border-bottom: 0; }
.phone-row b { font-variant-numeric: tabular-nums; }
.phone-title { font-weight: 700; margin: 4px 4px 10px; }

/* Sections */
section { padding: 56px 0; }

.section-head { max-width: 62ch; margin-bottom: 32px; }
.section-head h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--ink-soft); margin: 0; }

.alt { background: var(--surface); border-block: 1px solid var(--line); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.alt .card { background: var(--bg); }

.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.card-icon { font-size: 1.4rem; display: block; margin-bottom: 10px; }

.steps { counter-reset: step; }
.step-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* Split panels */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
}

.panel.accent { background: var(--brand-soft); border-color: transparent; }
.panel h3 { margin: 0 0 10px; font-size: 1.2rem; }
.panel p { color: var(--ink-soft); }

.list { margin: 0 0 20px; padding-left: 20px; color: var(--ink-soft); }
.list li { margin-bottom: 6px; }

/* Articles */
.article-list { display: grid; gap: 14px; }

.article-item {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
}
.article-item:hover { border-color: var(--brand); }
.article-item h3 { margin: 0 0 6px; font-size: 1.08rem; }
.article-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.article-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* Article page */
.article-body { max-width: 70ch; }
.article-body h2 { margin-top: 34px; font-size: 1.3rem; }
.article-body p, .article-body li { color: var(--ink-soft); }
.article-body blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}

.disclaimer {
  margin-top: 40px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-footer a { color: var(--ink-soft); text-decoration: none; margin-right: 14px; }
.site-footer a:hover { color: var(--brand-dark); }

@media (max-width: 820px) {
  .hero { padding: 48px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .logo { margin-right: 0; }
  .nav { width: 100%; }
}
