:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #007aff;
  --accent-soft: rgba(0, 122, 255, 0.12);
  --border: rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --max: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(245, 245, 247, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px 0 48px;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.hero-card img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  display: block;
  margin: 0 auto 16px;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.app-store-button:hover {
  transform: translateY(-1px);
}

.app-store-button[disabled],
.app-store-button.is-disabled {
  pointer-events: none;
  opacity: 0.55;
  background: #3a3a3c;
}

.app-store-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

section {
  margin-bottom: 48px;
}

section h2 {
  font-size: 1.75rem;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

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

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature .tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 8px;
  border-radius: 999px;
}

.legal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.legal h3 {
  margin-top: 24px;
}

.legal h3:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--text-secondary);
}

.legal ul {
  padding-left: 1.2rem;
}

.legal .updated {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-copy {
  margin: 0;
}
