* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #FAFAF9;
  --text: #1C1917;
  --text-muted: #78716C;
  --green: #10B981;
  --violet: #8B5CF6;
  --border: #E7E5E4;
  --max-width: 720px;
}

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

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

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 0;
  position: relative;
}

.header-logo {
  display: block;
  height: 32px;
}

header nav {
  display: flex;
  align-items: center;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.burger svg {
  width: 24px;
  height: 24px;
  stroke: var(--text);
}

.burger .icon-menu,
.burger .icon-close {
  display: block;
}

.burger[aria-expanded="true"] .icon-menu,
.burger:not([aria-expanded="true"]) .icon-close {
  display: none;
}

header nav a {
  color: #44403C;
  font-size: 15px;
  font-weight: 500;
  margin-left: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

header nav a:hover {
  color: var(--text);
  background-color: rgba(16, 185, 129, 0.08);
  text-decoration: none;
}

header nav a.active {
  color: var(--text);
  background-color: rgba(16, 185, 129, 0.08);
  font-weight: 700;
}

/* Hero */
.hero {
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px 60px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--green);
}

.hero .subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  text-wrap: balance;
}

.app-store-badge {
  height: 54px;
  transition: opacity 0.2s;
}

.app-store-badge:hover {
  opacity: 0.8;
}

/* Features */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

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

/* Page content (privacy, terms, contact) */
.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}

.page h2 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.page p, .page ul {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.page li {
  margin-bottom: 8px;
}

.page a {
  color: var(--green);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 600px) {
  .burger {
    display: block;
  }

  header nav {
    position: absolute;
    top: 100%;
    right: 24px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  header nav.open {
    opacity: 1;
    transform: translateY(8px) scale(1);
    pointer-events: auto;
  }

  header nav a {
    margin-left: 0;
    font-size: 15px;
  }

  .hero {
    padding: 48px 24px 40px;
  }

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

  .hero .subtitle {
    font-size: 16px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 24px;
  }

}
