:root {
  --forest: #2D4A3E;
  --sage: #7FA896;
  --sage-light: #C8DDD6;
  --bg: #F7F8F5;
  --surface: #FFFFFF;
  --text: #1C2520;
  --muted: #7A8580;
  --border: #E4E8E6;
  --radius: 16px;
  --radius-pill: 100px;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand .logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.brand .name { font-size: 22px; font-weight: 600; letter-spacing: -0.3px; }
.site-header nav a { margin-left: 20px; text-decoration: none; color: var(--muted); font-size: 15px; }
.site-header nav a:hover { color: var(--forest); }

/* Hero */
.hero { text-align: center; padding: 64px 24px 40px; max-width: 760px; margin: 0 auto; }
.hero .logo-lg { width: 96px; height: 96px; border-radius: 26px; margin-bottom: 24px; object-fit: cover; }
.hero h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 16px; letter-spacing: -1px; font-weight: 600; }
.hero p { font-size: clamp(17px, 2.5vw, 21px); color: var(--muted); margin: 0 auto 28px; max-width: 560px; }

.cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 14px;
  transition: opacity 0.15s ease;
}
.appstore-badge:hover { opacity: 0.85; }
.appstore-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.ab-text { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.ab-text small { font-size: 11px; font-weight: 500; letter-spacing: 0.2px; }
.ab-text strong { font-size: 19px; font-weight: 600; letter-spacing: -0.3px; }
.cta-direct { font-size: 14px; color: var(--muted); text-decoration: none; }
.cta-direct:hover { color: var(--forest); }

/* Sections */
section { padding: 40px 0; }
.section-title { text-align: center; font-size: 28px; font-weight: 600; margin: 0 0 32px; letter-spacing: -0.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage-light); color: var(--forest);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  font-size: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Privacy strip */
.strip {
  background: var(--forest); color: #fff; border-radius: var(--radius);
  padding: 32px; text-align: center; margin: 24px 0;
}
.strip h2 { margin: 0 0 10px; font-size: 22px; font-weight: 600; }
.strip p { margin: 0 auto; max-width: 620px; color: rgba(255,255,255,0.85); font-size: 16px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 24px 64px; }
.legal h1 { font-size: 34px; letter-spacing: -0.6px; margin: 0 0 4px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 16px; color: #33403a; }
.legal a { word-break: break-word; }
.legal .note {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--sage); border-radius: 8px;
  padding: 14px 18px; color: var(--muted); font-size: 14px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; }
.site-footer .wrap { padding: 28px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-footer .links a { color: var(--muted); text-decoration: none; margin-right: 18px; font-size: 14px; }
.site-footer .links a:hover { color: var(--forest); }
.site-footer .fine { color: var(--muted); font-size: 13px; }

@media (max-width: 700px) {
  .features { grid-template-columns: 1fr; }
  .site-header nav a { margin-left: 14px; font-size: 14px; }
}
