:root {
  --background: #F3F7F6;
  --surface: #FFFFFF;
  --text: #18222B;
  --text-muted: #667A86;
  --accent: #2F7F73;
  --accent-muted: #D9EAE7;
  --border: #DCE6E4;
  --success: #2E7D4F;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--accent); }

img { max-width: 100%; display: block; }

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

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }

@media (max-width: 480px) {
  .brand { font-size: 15px; }
  .brand img { width: 26px; height: 26px; }
}

/* Hero */
.hero {
  padding: 80px 0 56px;
  text-align: center;
}

.hero .icon-large {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: 0 12px 32px rgba(24, 34, 43, 0.18);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-badge:hover { transform: translateY(-2px); }
.store-badge.disabled { opacity: 0.5; cursor: default; pointer-events: none; }
.store-badge svg { width: 20px; height: 20px; }

.badge-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

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

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
}

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

.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card .icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 700;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

.step { text-align: center; padding: 0 12px; }

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step h3 { font-size: 16px; margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* CTA band */
.cta {
  background: var(--text);
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 24px;
}

.cta h2 { font-size: 28px; margin: 0 0 12px; }
.cta p { color: #B9C6CC; margin: 0 0 28px; }

/* Footer */
footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

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

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

footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

footer a:hover { color: var(--accent); }

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

/* Legal pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal h1 {
  font-size: 34px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.legal .effective-date {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 19px;
  margin: 36px 0 12px;
}

.legal p, .legal li {
  font-size: 15px;
  color: var(--text);
}

.legal ul { padding-left: 20px; }

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}
