:root {
  --bg: #071022;
  --bg-soft: #0e1d37;
  --surface: #101f3a;
  --ink: #eef4ff;
  --muted: #afbdd6;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #68d0ff;
  --accent-2: #7ef3b9;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Sora", "Avenir Next", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 680px at 82% 10%, rgba(104, 208, 255, 0.24), transparent 55%),
    radial-gradient(900px 520px at 18% 22%, rgba(126, 243, 185, 0.18), transparent 58%),
    linear-gradient(180deg, #050a17 0%, var(--bg) 36%, #050a17 100%);
  min-height: 100svh;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero {
  min-height: 100svh;
  padding: clamp(1.25rem, 2vw, 2rem);
  display: grid;
  align-items: stretch;
}

.hero-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}

.hero-copy {
  animation: rise-in 700ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

/* App name — prominent brand mark */
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.brand-icon {
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
  border-radius: 22%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.brand-mark .app-name {
  margin: 0;
}

.app-name {
  margin: 0 0 1rem;
  font-family: "Newsreader", "Georgia", serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-2);
  line-height: 1;
}

h1 {
  margin: 0;
  font-family: "Newsreader", "Georgia", serif;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
}

.store-note {
  margin: 1rem 0 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

.notify-form {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  width: min(510px, 100%);
}

.platform-label {
  grid-column: 1 / -1;
  margin: 0 0 -0.15rem 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(238, 244, 255, 0.6);
}

.platform-select {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.4rem;
  margin: 0;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.platform-select label {
  flex: 1;
  display: block;
  cursor: pointer;
}

.platform-select input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.platform-select span {
  display: block;
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(238, 244, 255, 0.75);
  transition: background 160ms ease, color 160ms ease;
}

.platform-select label:hover span {
  color: var(--ink);
}

.platform-select input:checked + span {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #00142b;
}

.platform-select input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.notify-form input[type="email"],
.notify-form input:not([type]) {
  width: 100%;
  height: 3.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  padding: 0 1rem;
  font: inherit;
}

.notify-form input::placeholder {
  color: rgba(238, 244, 255, 0.65);
}

.notify-form button {
  height: 3.1rem;
  border: 0;
  border-radius: 999px;
  padding: 0 1.25rem;
  font: inherit;
  font-weight: 700;
  color: #00142b;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.notify-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(104, 208, 255, 0.28);
}

.no-spam {
  font-size: 0.78rem;
  color: rgba(238, 244, 255, 0.5);
  margin-top: 0.5rem;
  text-align: center;
}

.form-status {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status.is-confirmed {
  color: var(--accent-2);
  font-weight: 600;
}

/* Hero visual — two screenshots side by side, static, askew */
.hero-visual {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.shot {
  width: clamp(150px, 20vw, 240px);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(2, 8, 20, 0.72);
  flex-shrink: 0;
}

.shot-live {
  transform: rotate(-4deg) translateY(12px);
  z-index: 1;
}

.shot-share {
  transform: rotate(4deg) translateY(-12px);
  z-index: 2;
}

main {
  width: min(1150px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 7.5vw, 6rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section h2 {
  margin: 0;
  font-family: "Newsreader", "Georgia", serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.02;
}

.section-copy {
  margin: 0.9rem 0 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.4rem;
}

.feature-list li {
  padding: 0 0 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.feature-list h3 {
  margin: 0;
  font-size: 1.02rem;
}

.feature-list p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.screen-grid {
  margin-top: 1.55rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.screen-grid figure {
  margin: 0;
  transition: transform 180ms ease;
}

.screen-grid figure:hover {
  transform: translateY(-6px);
}

.screen-grid figure.featured {
  transform: translateY(-4px);
}

.screen-grid img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.screen-grid figure.featured img {
  outline: 2px solid rgba(104, 208, 255, 0.45);
  outline-offset: 3px;
}

.screen-grid figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.share-card-grid {
  margin-top: 1.55rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
  overflow-x: auto;
  padding: 0.25rem 0 0.65rem;
  -webkit-overflow-scrolling: touch;
}

.share-card-grid figure {
  margin: 0;
  min-width: 180px;
  transition: transform 180ms ease;
}

.share-card-grid figure:hover {
  transform: translateY(-6px);
}

.share-card-grid img,
.share-card-grid video {
  width: 100%;
  aspect-ratio: 5 / 7;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 24px 72px rgba(2, 8, 20, 0.58);
  clip-path: inset(1px 0 0 round 10px);
}

.share-card-grid figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.final p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.jump-link {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}

.jump-link:hover {
  text-decoration: underline;
}

.footer {
  width: min(1150px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0 2.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cromulent-band {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cromulent-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
}

.cromulent-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cromulent-name {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.cromulent-blurb {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(238, 244, 255, 0.55);
  line-height: 1.4;
}

.footer-copy {
  margin: 0;
  color: rgba(238, 244, 255, 0.38);
  font-size: 0.82rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 18, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(420px, 88vw);
  max-height: 88svh;
  object-fit: contain;
  border-radius: 32px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.lightbox.is-open img {
  transform: scale(1);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 1.3rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: center;
    padding: 1.5rem 0;
  }

  .shot {
    width: clamp(140px, 35vw, 220px);
  }
}

@media (max-width: 640px) {
  .notify-form {
    grid-template-columns: 1fr;
  }

  .notify-form button {
    width: 100%;
  }

  .shot {
    width: clamp(130px, 38vw, 200px);
  }

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