/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --green:       #3db861;
  --green-light: #e8f8ee;
  --green-dark:  #2a9048;
  --bg:          #f5f5f7;
  --surface:     #ffffff;
  --border:      #e5e5ea;
  --text:        #1d1d1f;
  --text-2:      #3a3a3c;
  --text-3:      #6e6e73;
  --radius:      16px;
  --radius-sm:   10px;
  --max:         760px;
}

/* ─── Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

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

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

/* ─── Nav ────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}

.nav-logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #3db861, #2a9048);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color .15s;
}

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

/* ─── Legal layout ───────────────────────────────────────── */
.legal-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px 40px;
  text-align: center;
}

.legal-hero h1 {
  font-size: 28px;
  font-weight: 700;
}

.legal-hero p {
  color: var(--text-3);
  font-size: 14px;
  margin-top: 6px;
}

.legal-body {
  max-width: var(--max);
  margin: 40px auto 80px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── Card ───────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.card h2 {
  font-size: 17px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f2f2f7;
}

.card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 18px 0 6px;
}

.card h3:first-of-type { margin-top: 0; }

.card p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 10px;
}

.card p:last-child { margin-bottom: 0; }

.card ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.card ul li {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 5px;
}

/* ─── Notice box ─────────────────────────────────────────── */
.notice {
  background: var(--green-light);
  border: 1px solid #b7eeca;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #166534;
}

/* ─── Table ──────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-3);
  padding: 8px 10px;
  background: #f2f2f7;
}
td { padding: 11px 10px; border-bottom: 1px solid #f2f2f7; color: var(--text-2); vertical-align: top; }
tr:last-child td { border-bottom: none; }
td a { font-size: 13px; }

/* ─── Contact block ──────────────────────────────────────── */
.contact-box {
  background: #f2f2f7;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-2);
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-copy { font-size: 13px; color: var(--text-3); }

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a { font-size: 13px; color: var(--text-3); }
.footer-links a:hover { color: var(--green); text-decoration: none; }

/* ─── Home hero ──────────────────────────────────────────── */
.home-hero {
  background: linear-gradient(160deg, #e8f8ee 0%, #f0fbf4 50%, #f5f5f7 100%);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px 72px;
  text-align: center;
}

.app-icon {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, #3db861, #2a9048);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(61,184,97,.25);
}

.home-hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.15;
}

.home-hero .subtitle {
  font-size: 19px;
  color: var(--text-2);
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 16px rgba(61,184,97,.3);
}

.btn-primary:hover { background: var(--green-dark); text-decoration: none; transform: translateY(-1px); }

/* ─── Features ───────────────────────────────────────────── */
.features {
  max-width: 1000px;
  margin: 64px auto;
  padding: 0 24px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 10px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -.3px;
}

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

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

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

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

.feature-card p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
}

/* ─── Stats strip ────────────────────────────────────────── */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}

.stats-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
}

.stat-label {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .home-hero h1 { font-size: 30px; }
  .home-hero .subtitle { font-size: 16px; }
  .card { padding: 22px 20px; }
  .nav-links { gap: 16px; }
}
