:root {
  --bg: #111013;
  --surface: #19171d;
  --text: #f0edf2;
  --muted: #aaa4af;
  --accent: #a887d6;
  --line: #2a2730;
  --content: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

.page,
.footer-inner {
  width: min(100% - 2.5rem, var(--content));
  margin-inline: auto;
}

.page {
  padding-top: max(3.5rem, env(safe-area-inset-top));
  padding-bottom: 4rem;
}

.hero {
  padding-bottom: 3.25rem;
}

.app-mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 2.5rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--surface);
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-copy {
  width: min(100%, 38rem);
  margin-inline: auto;
  text-align: center;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.7rem, 11vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 720;
}

.tagline {
  margin-bottom: 2.4rem;
  color: var(--accent);
  font-size: clamp(1.2rem, 5vw, 1.55rem);
  line-height: 1.3;
}

.lead {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 4vw, 1.18rem);
  line-height: 1.6;
}

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

.section h2 {
  margin-bottom: 1.35rem;
  color: var(--accent);
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
}

.section p {
  margin-bottom: 1.15rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.statement,
.closing {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 630;
}

.statement {
  margin-top: 1.8rem;
}

.closing {
  margin-top: 1.4rem;
}

.cta {
  padding-top: 2.8rem;
  border-top: 1px solid var(--line);
}

.store-button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  justify-content: space-between;
  padding-top: 1.45rem;
  padding-bottom: max(1.8rem, env(safe-area-inset-bottom));
}

.footer nav {
  display: flex;
  gap: 1.15rem;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--text);
}

@media (min-width: 48rem) {
  .page {
    padding-top: 6.25rem;
    padding-bottom: 6rem;
  }

  .hero {
    padding-bottom: 4.75rem;
  }

  .section {
    padding-block: 3.25rem;
  }
}
