:root {
  --bg: #060d1c;
  --bg-soft: #0b1631;
  --bg-card: rgba(16, 27, 55, 0.78);
  --line: rgba(132, 176, 242, 0.24);
  --line-strong: rgba(160, 201, 255, 0.38);
  --text: #ecf4ff;
  --text-soft: #b8c5dc;
  --text-muted: #8d9ab4;
  --blue: #72bbff;
  --blue-deep: #4d9eff;
  --gold: #f3cb84;
  --lavender: #afa9ff;
  --mint: #88e0d0;
  --shadow-lg: 0 20px 70px rgba(5, 10, 24, 0.65);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 14%, rgba(95, 174, 255, 0.2), transparent 38%),
    radial-gradient(circle at 88% 20%, rgba(174, 169, 255, 0.14), transparent 42%),
    radial-gradient(circle at 70% 82%, rgba(136, 224, 208, 0.13), transparent 42%),
    linear-gradient(180deg, #060d1c 0%, #081228 45%, #060d1c 100%);
  z-index: -3;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -2;
  opacity: 0.4;
}

.orb-a {
  width: 240px;
  height: 240px;
  background: rgba(114, 187, 255, 0.4);
  top: 14vh;
  left: -80px;
}

.orb-b {
  width: 300px;
  height: 300px;
  background: rgba(175, 169, 255, 0.3);
  right: -120px;
  top: 58vh;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 5.2rem 0;
}

.section-slim {
  padding: 2.2rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 13, 28, 0.68);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(140, 176, 229, 0.15);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  height: 34px;
  width: 34px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(114, 187, 255, 0.36));
}

.brand-name {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text);
}

.site-nav {
  display: none;
  gap: 1rem;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease,
    background-color 220ms ease;
}

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

.btn-primary {
  background: linear-gradient(140deg, var(--blue), var(--blue-deep));
  color: #041020;
  box-shadow: 0 8px 24px rgba(77, 158, 255, 0.35);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(132, 176, 242, 0.08);
}

.header-cta {
  padding-inline: 0.9rem;
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.16;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.35rem, 7.8vw, 4.6rem);
  max-width: 10.6ch;
}

h2 {
  font-size: clamp(1.7rem, 4.9vw, 3rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.18rem;
}

.hero {
  padding-top: 4.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.hero-copy p {
  color: var(--text-soft);
  max-width: 54ch;
  margin-top: 1rem;
  margin-bottom: 0;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 34, 67, 0.7), rgba(11, 21, 41, 0.84));
  padding: 1.1rem;
  box-shadow: var(--shadow-lg);
}

.app-preview {
  padding-top: 1.4rem;
}

.mockup-row {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.phone-mockup {
  position: relative;
  border-radius: 32px;
  padding: 10px;
  border: 1px solid rgba(176, 210, 255, 0.28);
  background: linear-gradient(170deg, rgba(17, 30, 58, 0.8), rgba(8, 16, 34, 0.95));
  box-shadow: var(--shadow-lg);
}

.phone-notch {
  width: 42%;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: rgba(6, 12, 24, 0.94);
  margin: 0 auto;
}

.phone-screen {
  margin-top: 8px;
  border-radius: 24px;
  min-height: 300px;
  border: 1px solid rgba(170, 206, 255, 0.2);
  padding: 1rem;
  overflow: hidden;
}

.scene-letter {
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.94), rgba(233, 243, 255, 0.94)),
    repeating-linear-gradient(
      to bottom,
      rgba(80, 130, 210, 0.14) 0px,
      rgba(80, 130, 210, 0.14) 1px,
      transparent 1px,
      transparent 30px
    );
  color: #14233e;
}

.scene-memory {
  background: radial-gradient(circle at 20% 20%, rgba(119, 196, 255, 0.28), transparent 40%),
    linear-gradient(180deg, #0e1b36, #0b1630);
  color: #eaf4ff;
}

.scene-legacy {
  background:
    radial-gradient(circle at 70% 0%, rgba(174, 169, 255, 0.26), transparent 42%),
    linear-gradient(180deg, #151e38, #0d1529);
  color: #ecf3ff;
}

.scene-tag {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}

.phone-screen h3 {
  margin-bottom: 0.55rem;
}

.phone-screen p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.scene-bars {
  display: flex;
  gap: 0.28rem;
  align-items: flex-end;
  margin: 0.8rem 0;
  height: 34px;
}

.scene-bars span {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(142, 214, 255, 0.92), rgba(72, 160, 255, 0.75));
  animation: pulseBars 2.2s ease-in-out infinite;
}

.scene-bars span:nth-child(2) {
  animation-delay: 0.15s;
}

.scene-bars span:nth-child(3) {
  animation-delay: 0.3s;
}

.scene-bars span:nth-child(4) {
  animation-delay: 0.45s;
}

.scene-bars span:nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes pulseBars {
  0%,
  100% {
    height: 8px;
  }
  40% {
    height: 100%;
  }
}

.capsule-frame {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(171, 205, 255, 0.26);
  background:
    radial-gradient(circle at 70% 20%, rgba(114, 187, 255, 0.2), transparent 45%),
    linear-gradient(160deg, rgba(10, 22, 45, 0.95), rgba(7, 16, 34, 0.96));
  min-height: 290px;
  overflow: hidden;
}

.capsule-light {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(114, 187, 255, 0.25);
  filter: blur(34px);
  right: -26px;
  top: -40px;
}

.capsule-content {
  position: relative;
  z-index: 2;
  padding: 1.4rem 1.2rem;
}

.capsule-label {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.capsule-content p {
  margin: 0.7rem 0 0;
  color: var(--text-soft);
}

.media-tags {
  display: flex;
  gap: 0.48rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.media-tags span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
  border: 1px solid rgba(173, 210, 255, 0.26);
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: rgba(124, 176, 244, 0.11);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.testimonial-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20, 31, 60, 0.72), rgba(12, 22, 43, 0.82));
  padding: 1rem;
}

.testimonial-card p {
  margin: 0;
  color: var(--text-soft);
}

.testimonial-card h4 {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--gold);
}

.trust-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 0.95rem;
}

.trust-grid h4 {
  font-size: 1rem;
}

.trust-grid p {
  margin: 0.4rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.section-heading p {
  margin-top: 0;
}

.section-heading h2 {
  margin-top: 0.25rem;
}

.feature-grid,
.moments-grid,
.steps-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.feature-card,
.moment-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-card);
  padding: 1rem;
  list-style: none;
}

.feature-card p,
.moment-card p,
.step-card p {
  margin: 0.5rem 0 0;
  color: var(--text-soft);
}

.step-card span {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.story-wrap {
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 26, 52, 0.85), rgba(10, 18, 36, 0.85));
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
}

.story-wrap p {
  color: var(--text-soft);
  margin: 0.85rem 0 0;
  max-width: 72ch;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.story-text {
  min-width: 0;
}

.story-photo-wrap {
  margin: 0.4rem 0 0.4rem;
  align-self: start;
}

.story-photo {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(175, 209, 255, 0.28);
  box-shadow: var(--shadow-lg);
}

.story-photo-wrap figcaption {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.story-photo-fallback {
  display: none;
  margin: 0;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px dashed rgba(175, 209, 255, 0.35);
  background: rgba(10, 20, 39, 0.82);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.story-photo-wrap.is-missing .story-photo-fallback {
  display: block;
}

.story-photo-wrap.is-missing figcaption {
  margin-top: 0.6rem;
}

.faq-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.62rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 0.1rem 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 0.1rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
}

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

.contact-copy p {
  color: var(--text-soft);
  margin: 0.75rem 0 0;
}

.contact-email {
  color: var(--gold) !important;
  font-weight: 700;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.hidden {
  display: none;
}

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

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(146, 184, 240, 0.27);
  background: rgba(10, 19, 39, 0.8);
  color: var(--text);
  padding: 0.73rem 0.8rem;
  font: inherit;
  resize: vertical;
}

.final-cta-wrap {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 1.35rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(114, 187, 255, 0.2), transparent 44%),
    linear-gradient(160deg, rgba(17, 30, 60, 0.86), rgba(9, 17, 34, 0.86));
  text-align: center;
}

.final-cta-wrap p {
  color: var(--text-soft);
  margin: 0.66rem 0 1rem;
}

.press-kit-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 25, 50, 0.82), rgba(8, 16, 32, 0.86));
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.press-kit-wrap p {
  margin: 0.7rem 0 0;
  color: var(--text-soft);
}

.press-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.waitlist-form-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  width: min(640px, 100%);
  margin: 0 auto;
}

.waitlist-form-v2 input {
  border-radius: 12px;
  border: 1px solid rgba(146, 184, 240, 0.32);
  background: rgba(8, 18, 36, 0.88);
  color: var(--text);
  padding: 0.78rem 0.85rem;
  font: inherit;
}

.waitlist-form-v2 input::placeholder {
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid rgba(140, 176, 229, 0.22);
  margin-top: 1rem;
}

.footer-grid {
  padding: 2rem 0 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0;
}

.footer-grid p,
.footer-grid a {
  color: var(--text-muted);
  margin: 0.42rem 0 0;
  text-decoration: none;
  display: block;
}

.footer-bottom {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0 0 1.6rem;
}

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

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

@media (min-width: 760px) {
  .site-nav {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.2rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid,
  .moments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .mockup-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.2rem;
  }

  .waitlist-form-v2 {
    flex-direction: row;
    align-items: center;
  }

  .waitlist-form-v2 input {
    flex: 1 1 280px;
  }

  .press-kit-wrap {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .press-actions {
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .feature-grid,
  .moments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
