:root {
  --bg: #081224;
  --bg-2: #0f1e37;
  --surface: rgba(14, 27, 49, 0.75);
  --text: #e6eefc;
  --muted: #b8c7e6;
  --accent: #4dd5ff;
  --accent-2: #1c8dff;
  --border: rgba(164, 199, 255, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, #193867 0%, var(--bg) 40%),
    linear-gradient(130deg, var(--bg) 0%, var(--bg-2) 100%);
  min-height: 100vh;
}

.background-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(77, 213, 255, 0.16), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(28, 141, 255, 0.12), transparent 35%);
}

.topbar,
main {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.topbar {
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.hero {
  padding: clamp(2.2rem, 5vw, 4.2rem) 0 2rem;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.76rem;
  margin: 0 0 0.7rem;
}

h1,
h2 {
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.lead,
.card p {
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #03203d;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 10px 30px rgba(77, 213, 255, 0.22);
}

.button:hover {
  transform: translateY(-2px);
}

.button-secondary {
  background: rgba(201, 220, 255, 0.08);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}

.card {
  margin-top: 1rem;
  margin-bottom: 1.1rem;
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(6px);
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1fr auto;
}

.legal-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.6rem 0 2.4rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-links a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.reveal {
  animation: fade-up 700ms ease both;
}

#ios-app.reveal {
  animation-delay: 90ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .topbar,
  main {
    width: min(1100px, calc(100% - 1.4rem));
  }

  .card {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
}
