:root {
  --green: #10B981;
  --green-dark: #059669;
  --purple: #7C3AED;
  --blue: #2563EB;
  --ink: #0F172A;
  --ink-soft: #475569;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

nav.main-nav {
  display: flex;
  gap: 24px;
}

nav.main-nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--green-dark);
  text-decoration: none;
}

.nav-toggle { display: none; }

@media (max-width: 640px) {
  nav.main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 20px;
    gap: 14px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 18px;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 55%, #10B981 120%);
  color: #fff;
  padding: 64px 0 72px;
}

.hero .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-copy { flex: 1; min-width: 260px; }

.hero-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.hero h1 {
  font-size: 34px;
  margin: 0 0 12px;
  font-weight: 800;
}

.hero p.tagline {
  font-size: 17px;
  opacity: 0.95;
  margin: 0 0 24px;
  max-width: 46ch;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 640px) {
  .hero .wrap { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 27px; }
  .badge-row { justify-content: center; }
}

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

section.page.soft { background: var(--bg-soft); }

h2.section-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
}

p.section-lead {
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 60ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 780px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ECFDF5;
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 10px;
}

/* Policy pages */
.policy-block {
  margin-bottom: 28px;
}

.policy-block h3 {
  color: var(--green-dark);
  font-size: 16px;
  margin: 0 0 8px;
}

.policy-block p {
  margin: 0;
  color: var(--ink);
  white-space: pre-line;
}

.callout {
  display: flex;
  gap: 12px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
}

.updated-note {
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin-top: 8px;
}

/* Support */
.support-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.support-cta a.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
}
.support-cta a.btn:hover { background: var(--green-dark); text-decoration: none; }

details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

details.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--green-dark);
  font-weight: 900;
}
details.faq[open] summary::before { content: "–"; }

details.faq .formula {
  margin-top: 10px;
  background: #ECFDF5;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: pre-line;
}

details.faq .example {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg-soft);
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

footer.site .foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

footer.site .foot-links a { color: var(--ink-soft); font-size: 13.5px; font-weight: 600; }
footer.site .foot-links a:hover { color: var(--green-dark); }

footer.site .copyright {
  font-size: 12.5px;
  color: #94A3B8;
}
