*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f6f3ee;
  --surface: #fffdf9;
  --text: #1e1b16;
  --muted: #5c554a;
  --accent: #6b4f2e;
  --accent-soft: #c9a227;
  --border: #e5dccf;
  --shadow: 0 12px 40px rgba(46, 36, 22, 0.08);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(1rem, 2.8vw, 1.0625rem);
}

.hero {
  background: linear-gradient(155deg, #2d2419 0%, #4a3828 42%, #6b4f2e 100%);
  color: #faf7f2;
  padding: clamp(2.25rem, 6vw, 3.75rem) clamp(1.25rem, 5vw, 2rem);
  text-align: center;
}

.hero__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.hero__tag {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hero__lead {
  margin: 0;
  font-size: clamp(1rem, 3.2vw, 1.125rem);
  opacity: 0.92;
  line-height: 1.65;
}

.content {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 5vw, 2rem);
}

.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.35rem, 4vw, 1.85rem);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--accent);
}

.feature-list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
}

.feature-list li {
  margin-bottom: 0.55rem;
}

.feature-list li::marker {
  color: var(--accent-soft);
}

.note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--accent-soft);
  padding-left: 0.85rem;
}

.section--contact p {
  margin: 0;
}

.mailto {
  color: var(--accent);
  font-weight: 600;
  word-break: break-all;
}

.mailto:hover,
.mailto:focus-visible {
  text-decoration-thickness: 2px;
}

.footer {
  margin-top: auto;
  padding: clamp(1.75rem, 5vw, 2.5rem) clamp(1.25rem, 5vw, 2rem) 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__stores {
  max-width: 28rem;
  margin: 0 auto 1.25rem;
}

.footer__store-label {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--accent);
}

.footer__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: min(100%, 200px);
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.store-badge--android {
  background: #1a1c1e;
  color: #fff;
}

.store-badge--android:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.store-badge--ios {
  background: #0066cc;
  color: #fff;
}

.store-badge--ios:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.35);
}

.footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .store-badge {
    transition: none;
  }

  .store-badge:hover {
    transform: none;
  }
}
