@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #fafaf8;
  --text: #111113;
  --muted: #6b6c73;
  --line: #e3e3df;
  --card: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0e;
    --text: #ededf0;
    --muted: #8e8e97;
    --line: #24242b;
    --card: #131317;
  }
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px 24px;
}

main img {
  border-radius: 13px;
}

h1 {
  margin: 0;
  font: 700 clamp(32px, 6vw, 44px) / 1.1 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.03em;
}

footer {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

footer p {
  margin: 0;
}

a {
  color: inherit;
}

.lede {
  margin: -8px 0 4px;
  color: var(--muted);
  font-size: 16px;
}

.app {
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  text-decoration: none;
  transition: border-color 150ms ease;
}

.app:hover {
  border-color: var(--muted);
}

.app:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

main .app img {
  flex: none;
  border-radius: 14px;
}

.app-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-name {
  font: 700 17px/1.3 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

.app-tagline {
  color: var(--muted);
  line-height: 1.45;
}

.app-store {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  margin: 0;
}

.contact a {
  color: var(--muted);
  text-decoration: none;
}

.contact a:hover {
  color: var(--text);
  text-decoration: underline;
}
