:root {
  --bg: #06112a;
  --bg-2: #081a3d;
  --surface: rgba(9, 26, 58, 0.75);
  --surface-strong: rgba(8, 21, 48, 0.92);
  --line: rgba(180, 214, 255, 0.14);
  --text: #e9f2ff;
  --muted: #b7c8e4;
  --accent: #63c6ff;
  --accent-2: #5cf1c7;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(71, 144, 255, 0.28), transparent 45%),
    radial-gradient(circle at 80% 12%, rgba(40, 198, 255, 0.16), transparent 50%),
    linear-gradient(180deg, #040c1f 0%, var(--bg) 45%, #050d1d 100%);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  filter: blur(20px);
  opacity: 0.35;
}

.ambient-a {
  width: 28rem;
  height: 28rem;
  top: 8rem;
  left: -6rem;
  background: radial-gradient(circle, rgba(102, 188, 255, 0.65), rgba(102, 188, 255, 0));
  animation: drift 12s ease-in-out infinite;
}

.ambient-b {
  width: 22rem;
  height: 22rem;
  bottom: 6rem;
  right: -4rem;
  background: radial-gradient(circle, rgba(80, 255, 216, 0.32), rgba(80, 255, 216, 0));
  animation: drift 15s ease-in-out infinite reverse;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand img {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.header-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.header-link:hover {
  color: var(--text);
}

main {
  padding: 1.5rem 0 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
}

.hero-copy {
  padding: 1rem 0.25rem 1rem 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  margin: 1rem 0 1.2rem;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 56ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.2rem 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  color: #031021;
  background: linear-gradient(135deg, #7ed8ff 0%, #89ffd5 100%);
  box-shadow: 0 10px 32px rgba(126, 216, 255, 0.22);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-ghost {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  cursor: default;
}

.bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bullets li {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    rgba(4, 13, 34, 0.62);
  border: 1px solid rgba(154, 198, 255, 0.12);
  border-radius: 30px;
  padding: 0.95rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.phone-shell {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 10% 0%, rgba(92, 175, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(9, 27, 63, 0.95), rgba(4, 13, 30, 0.95));
  padding: 0.9rem;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.phone-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.phone-brand p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.phone-brand small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(99, 198, 255, 0.12);
  border: 1px solid rgba(99, 198, 255, 0.22);
  color: #aee8ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.feed-card {
  border-radius: 16px;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.feed-card-featured {
  margin-bottom: 0.75rem;
  background:
    linear-gradient(135deg, rgba(111, 197, 255, 0.08), rgba(92, 241, 199, 0.08)),
    rgba(255, 255, 255, 0.02);
}

.feed-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #9fdcff;
}

.feed-card h2,
.feed-card h3 {
  margin: 0;
  line-height: 1.22;
}

.feed-card h2 {
  font-size: 1.04rem;
}

.feed-card h3 {
  font-size: 0.92rem;
}

.feed-meta {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.features,
.closing {
  margin-top: 1.35rem;
}

.features {
  padding: 1rem 0 0;
}

.section-head h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.5rem, 2.1vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.feature-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.closing-card {
  padding: 1.1rem;
  border-radius: 24px;
  border: 1px solid rgba(138, 193, 255, 0.18);
  background:
    radial-gradient(circle at 10% 10%, rgba(99, 198, 255, 0.13), transparent 55%),
    rgba(7, 18, 42, 0.82);
  box-shadow: var(--shadow);
}

.closing-card h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
}

.closing-card p {
  margin: 0.8rem 0 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 62ch;
}

.site-footer {
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: fade-up 700ms ease forwards;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 220ms;
}

.delay-3 {
  animation-delay: 320ms;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 12px, 0) scale(1.04);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-panel {
    max-width: 640px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 0.85rem;
  }

  main {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    line-height: 0.98;
  }

  .feed-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .phone-shell,
  .hero-panel {
    padding: 0.75rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
