:root {
  --ink: #dde6f2;
  --muted: #8b98a9;
  --paper: #0b1018;
  --card: #121a26;
  --line: rgba(221, 230, 242, 0.09);
  --accent: #9db8ff;
}

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

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.site-header {
  padding: 1.5rem 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.hero .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero .subline {
  font-size: 1.25rem;
  color: var(--muted);
}

.app-card {
  position: relative;
  margin-top: 6.5rem;
  padding: 1.75rem 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 46px 10px rgba(157, 184, 255, 0.18);
  opacity: 0;
  animation: app-glow 4.5s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: opacity;
}

@keyframes app-glow {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-card::before {
    animation: none;
    opacity: 0.7;
  }
}

.app-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.app-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.app-heading h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.app-desc {
  color: var(--muted);
  margin-top: 0.75rem;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.store-link {
  line-height: 0;
  border-radius: 0.4rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.store-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.store-badge {
  height: 2.5rem;
  width: auto;
}

.store-badge-apple {
  filter: invert(1);
}

.coming-soon {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .site-header {
    padding: 1.25rem 1.5rem;
  }
  main {
    padding: 2rem 1.5rem 3rem;
  }
  .app-card {
    margin-top: 4rem;
    padding: 1.5rem;
  }
  .app-icon {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }
}