:root {
  color-scheme: light;
  --background: #f7f8f5;
  --text: #17201c;
  --muted: #5f6d66;
  --line: #d7ddd6;
  --accent: #1f6f5b;
  --accent-strong: #154e40;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

.document {
  max-width: 760px;
}

.document h1 {
  font-size: clamp(2.1rem, 6vw, 3.8rem);
}

.link-fallback {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.link-fallback h1 {
  font-size: clamp(2.1rem, 8vw, 4.2rem);
}

.link-fallback .lead {
  margin-top: 18px;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  color: var(--accent-strong);
  text-decoration: none;
}

.app-store-icon {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 24px;
  box-shadow: 0 12px 24px rgba(23, 32, 28, 0.16);
}

.fallback-note {
  max-width: 430px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 0.95rem;
}

.updated {
  margin: 12px 0 36px;
  color: var(--muted);
}

section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

p {
  margin: 0 0 12px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 28px, 880px);
    padding: 42px 0;
  }

  .hero {
    min-height: 64vh;
  }
}
