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

:root {
  --bg: #0e0e0e;
  --surface: #1c1c1c;
  --border: #2e2e2e;
  --text-heading: #e8e8e8;
  --text-primary: #c8c8c8;
  --text-secondary: #8a8a8a;
  --text-tertiary: #606060;
  --green-500: #4f8f49;
  --green-400: #5fa358;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero {
  text-align: center;
  max-width: 480px;
}

.app-icon {
  margin-bottom: 1.5rem;
  border-radius: 20px;
}

.app-name {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-heading);
  line-height: 1;
}

.tagline {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.download {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: var(--text-heading);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.download-button:hover {
  background-color: #ffffff;
}

.download-button:active {
  transform: scale(0.98);
}

.apple-logo {
  flex-shrink: 0;
}

.version {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}

.note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
  .app-name {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1rem;
  }
}
