:root {
  --brand-green: #2e9e5b;
  --brand-orange: #f2902c;
  --ink: #1c2024;
  --muted: #5b6470;
  --bg: #ffffff;
  --bg-soft: #f5f7f5;
  --card: #ffffff;
  --border: #e6e9e6;
  --max: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f4f3;
    --muted: #a4adb6;
    --bg: #0f1311;
    --bg-soft: #161b18;
    --card: #161b18;
    --border: #283029;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

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

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  display: grid; place-items: center; color: #fff; font-size: 16px;
}
.nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(46,158,91,0.10), rgba(242,144,44,0.10));
  border-bottom: 1px solid var(--border);
  padding: 72px 0 64px;
  text-align: center;
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 540px; margin: 0 auto 28px; }

.cta {
  display: inline-block; padding: 14px 26px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  color: #fff; font-weight: 700; text-decoration: none; font-size: 16px;
  box-shadow: 0 8px 24px rgba(46,158,91,0.25);
}
.cta:hover { opacity: 0.94; }

/* Features */
.features { padding: 64px 0; }
.features h2 { text-align: center; font-size: 28px; margin: 0 0 8px; }
.features .sub { text-align: center; color: var(--muted); margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px;
}
.feature .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,158,91,0.16), rgba(242,144,44,0.16));
  font-size: 20px; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Legal / content pages */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; letter-spacing: -0.02em; }
.doc .eff { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink); font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.callout {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-left: 4px solid var(--brand-orange);
  border-radius: 12px; padding: 16px 18px; margin: 22px 0;
}
.callout p { margin: 0; }
.toc {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
  padding: 8px 18px; margin: 0 0 28px; font-size: 15px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 36px 0; margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.site-footer .links a { color: var(--muted); text-decoration: none; margin-right: 18px; font-size: 15px; }
.site-footer .links a:hover { color: var(--ink); }
.site-footer .copy { color: var(--muted); font-size: 14px; }
