:root {
  --bg: #05050c;
  --bg-soft: #090812;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.2);
  --text: #fff5fa;
  --muted: #cfc4d9;
  --faint: #a99ab7;
  --accent: #f07dff;
  --accent-2: #8b6dff;
  --accent-3: #f5a5d7;
  --ink: #17101c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand,
.nav-links,
.nav-cta {
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.48);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(183, 96, 255, 0.62);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 245, 250, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px);
}

.hero {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 28%, rgba(125, 79, 232, 0.34), transparent 31%),
    radial-gradient(circle at 25% 76%, rgba(242, 160, 213, 0.2), transparent 28%),
    #05050c;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -12% 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    repeating-linear-gradient(102deg, transparent 0 38px, rgba(255, 245, 252, 0.2) 39px 40px, transparent 42px 92px),
    repeating-linear-gradient(102deg, transparent 0 118px, rgba(191, 169, 255, 0.16) 120px 121px, transparent 124px 210px);
  background-size: 220px 280px, 340px 360px;
  transform: translate3d(0, 0, 0);
  animation: rain-sheet 1.8s linear infinite;
}

.rain-canvas,
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.rain-canvas {
  z-index: 2;
  opacity: 0.62;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-bg {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 12, 0.96) 0%, rgba(6, 6, 17, 0.9) 38%, rgba(7, 6, 17, 0.8) 72%, rgba(5, 5, 12, 0.9) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 92px),
    radial-gradient(circle at 21% 12%, rgba(255, 220, 245, 0.14), transparent 12%),
    radial-gradient(circle at 36% 72%, rgba(242, 160, 213, 0.14), transparent 24%),
    radial-gradient(circle at 70% 32%, rgba(139, 109, 255, 0.2), transparent 27%),
    #05050c;
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 72px;
  width: min(1280px, calc(100% - 48px));
  min-height: 980px;
  margin: 0 auto;
  padding-top: 80px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent-3);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6.1vw, 78px);
  line-height: 1.02;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.store-button {
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.store-button.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-3) 48%, var(--accent-2));
  color: #fff;
  box-shadow: 0 14px 36px rgba(240, 125, 255, 0.26);
}

.store-button.secondary {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  backdrop-filter: blur(16px);
}

.store-button.small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.store-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  fill: currentColor;
}

.care-note {
  max-width: 620px;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.45;
}

.hero-phone-wrap {
  justify-self: center;
  position: relative;
  z-index: 6;
}

.hero-phone-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -18% 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 96, 255, 0.34), transparent 62%);
  filter: blur(28px);
}

.phone-shot {
  position: relative;
  display: block;
  width: min(390px, 100%);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.58), 0 0 70px rgba(183, 96, 255, 0.22);
}

.hero-phone {
  width: 375px;
}

.memory-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, calc(100% - 48px));
  margin: 42px auto 72px;
  position: relative;
  z-index: 5;
}

.section,
.site-footer {
  scroll-margin-top: 24px;
}

.memory-strip p {
  margin: 0;
  min-height: 82px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  color: var(--text);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.18;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.section {
  padding: 108px 24px;
}

.section-dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 79, 232, 0.18), transparent 32%),
    var(--bg);
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading h2,
.story-copy h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.06;
}

.section-heading p:not(.eyebrow),
.story-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.feature-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.feature-card,
.trust-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 10px;
  border: 1px solid rgba(245, 165, 215, 0.46);
  color: var(--accent-3);
  background: rgba(255, 255, 255, 0.1);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.trust-card h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}

.feature-card p,
.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(300px, 470px) minmax(0, 620px);
  align-items: center;
  justify-content: center;
  gap: 104px;
  background:
    radial-gradient(circle at 20% 30%, rgba(125, 79, 232, 0.18), transparent 30%),
    radial-gradient(circle at 78% 60%, rgba(240, 125, 255, 0.11), transparent 28%),
    #05050c;
}

.story-media {
  justify-self: center;
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 750 / 1624;
  display: grid;
  place-items: center;
}

.story-media .phone-shot {
  z-index: 2;
  width: 100%;
  height: auto;
}

.story-phone {
  background: #070612;
}

.story-copy {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  color: var(--text);
  font-weight: 800;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.trust-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 79, 232, 0.22), transparent 36%),
    #060611;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px max(24px, calc((100vw - 1200px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #05050c;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 28px;
}

.site-footer a:not(.store-button) {
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 74px;
  height: 74px;
  display: block;
  flex: 0 0 74px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 34px rgba(183, 96, 255, 0.32);
}

.footer-actions {
  display: flex;
  gap: 12px;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 24px);
  min-width: 160px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(20, 17, 30, 0.86);
  color: #fff5fa;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42), 0 0 30px rgba(240, 125, 255, 0.18);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes rain-sheet {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 34px 220px, 48px 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero::before {
    animation: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 32px, 720px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 0 92px;
    text-align: center;
  }

  .hero-copy,
  .hero-subtitle,
  .care-note {
    max-width: none;
  }

  .download-row {
    justify-content: center;
  }

  .hero-phone {
    width: min(340px, 86vw);
  }

  .memory-strip,
  .feature-grid,
  .trust-grid,
  .story-section {
    grid-template-columns: 1fr;
  }

  .memory-strip {
    margin-top: 0;
  }

  .story-section {
    gap: 48px;
  }

  .story-media {
    justify-self: center;
    min-height: auto;
  }

  .story-media {
    width: min(360px, 92vw);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px 0;
  }

  .brand {
    font-size: 22px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero-inner {
    width: min(100% - 28px, 420px);
    gap: 42px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-subtitle,
  .section-heading p:not(.eyebrow),
  .story-copy p {
    font-size: 16px;
  }

  .store-button {
    width: 100%;
  }

  .memory-strip {
    width: min(100% - 28px, 420px);
  }

  .section {
    padding: 82px 14px;
  }

  .story-media .phone-shot {
    width: min(360px, 92vw);
  }

  .site-footer {
    display: grid;
  }

  .footer-logo {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border-radius: 16px;
  }

  .footer-actions {
    display: grid;
  }
}
