:root {
  --bg: #ffffff;
  --ink: #2b2b2b;
  --muted: #6b7280;
  --accent: #2f9e6e;
  --accent-dark: #1f7d55;
  --card: #f6f8f7;
  --line: #e5e9e7;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--ink);
  text-decoration: none;
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 80px 24px 48px;
  background: linear-gradient(160deg, #eef7f2 0%, #ffffff 70%);
}
.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}
.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- App sections ---------- */
.app {
  padding: 72px 24px;
  border-bottom: 1px solid var(--line);
}
.app:nth-child(even) { background: var(--card); }
.app-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: center;
}
.app.reverse .app-inner { flex-direction: row-reverse; }
.app-media {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
}
.app-media img {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18));
}
.app-copy {
  flex: 1 1 380px;
  max-width: 460px;
}
.app-kicker {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 6px;
}
.app-copy h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 18px;
  line-height: 1.2;
}
.app-copy p {
  color: #444;
  margin: 0 0 14px;
}
.quote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 16px;
  margin: 20px 0;
  color: #555;
  font-style: italic;
}
.quote cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.badge { margin-top: 22px; display: inline-block; }
.badge img {
  height: 54px;
  width: auto;
  transition: transform 0.15s ease;
}
.badge:hover img { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer a { color: var(--accent-dark); }
.site-footer .copyright { margin-top: 8px; opacity: 0.8; }

/* ---------- Privacy page ---------- */
.doc {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.doc h1 { font-size: 34px; margin-bottom: 4px; }
.doc h2 {
  font-size: 22px;
  margin-top: 40px;
  color: var(--accent-dark);
}
.doc p, .doc li { color: #3f3f3f; }
.doc ul { padding-left: 22px; }

@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .app-inner, .app.reverse .app-inner { flex-direction: column; text-align: center; }
  .quote { text-align: left; }
  .app-copy { text-align: center; }
}
