:root {
  --purple: #9146ff;
  --ink: #0a0a0f;
  --ink-soft: #3a3a4a;
  --muted: #8b8b96;
  --canvas: #f7f4f9;
  --white: #ffffff;
  --dark: #061017;
  --dark-ink: #fffaf0;
  --dark-muted: rgba(255, 250, 240, 0.62);
  --radius-md: 14px;
  --shadow-card: 0 1px 2px rgba(10, 10, 15, 0.04), 0 8px 24px rgba(10, 10, 15, 0.05);
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui,
    sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  color: #6f1fe0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(145, 70, 255, 0.92);
  outline-offset: 4px;
}

:target {
  scroll-margin-top: 92px;
}

.container {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 2000;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.96);
  color: var(--ink);
  font-weight: 760;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -140%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

/* —— Side nav —— */
.page-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-nav a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: transparent;
}

.page-nav a::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.18);
  transition: height 0.2s, background 0.2s;
}

.page-nav a.is-active::before {
  height: 22px;
  background: var(--purple);
}

/* —— Hero stack —— */
.hero-stack {
  position: relative;
}

/* —— Screenshot-led product story —— */
.screen-story,
.capture-proof {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 88px 24px 72px;
  color: var(--dark-ink);
  background: var(--dark);
}

.screen-story::before,
.capture-proof::before {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: -2;
  background: var(--panel-image) center / cover no-repeat;
  filter: blur(34px) saturate(1.08);
  transform: scale(1.08);
}

.screen-story::after,
.capture-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 16, 23, 0.72), rgba(6, 16, 23, 0.34)),
    rgba(6, 16, 23, 0.34);
}

.screen-story__inner,
.capture-proof__inner,
.moment-proof__inner {
  width: min(1160px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 48px;
  align-items: center;
}

.screen-story__copy,
.capture-proof__copy,
.moment-proof__copy {
  max-width: 440px;
}

.screen-story h2,
.capture-proof h2,
.moment-proof h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  font-weight: 780;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.screen-story p,
.capture-proof p,
.moment-proof p {
  margin: 18px 0 0;
  max-width: 38ch;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.62;
  color: rgba(255, 250, 240, 0.72);
}

.device-shot-card {
  margin: 0;
  justify-self: center;
  width: min(390px, 86vw);
  background: transparent;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.62s ease,
    transform 0.62s ease;
}

.is-visible .device-shot-card {
  opacity: 1;
  transform: translateY(0);
}

.device-shot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.preframed-phone-shot {
  display: block;
  width: 100%;
  height: auto;
}

.device-shot-card .preframed-phone-shot {
  object-fit: contain;
  filter: drop-shadow(0 32px 70px rgba(10, 10, 15, 0.28));
}

.device-shot-card--peek {
  width: min(470px, 88vw);
}

.phone-shell {
  position: relative;
  width: 100%;
  padding: 8px;
  border-radius: 56px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 22%),
    #131118;
  box-shadow:
    0 42px 92px rgba(0, 0, 0, 0.46),
    0 18px 34px rgba(10, 10, 15, 0.22),
    inset 0 0 0 1px rgba(255,255,255,0.12);
}

.phone-screen-crop {
  position: relative;
  overflow: hidden;
  aspect-ratio: 393 / 852;
  border-radius: 48px;
  background: #f7f4f9;
}

.phone-screen-crop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 116px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #131118;
}

.device-shot-card--peek .phone-screen-crop {
  aspect-ratio: 393 / 852;
}

.device-shot-card--small {
  width: min(262px, 42vw);
}

.device-shot-card--small .phone-shell {
  padding: 6px;
  border-radius: 42px;
}

.device-shot-card--small .phone-screen-crop {
  border-radius: 36px;
}

.device-shot-card--small .phone-screen-crop::before {
  width: 82px;
  height: 23px;
  border-radius: 0 0 14px 14px;
}

.message-panel {
  padding: clamp(86px, 14vw, 150px) 0;
  background: var(--white);
}

.message-panel__inner {
  display: grid;
  gap: 34px;
}

.message-panel__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 5.8rem);
  font-weight: 790;
  line-height: 0.96;
  letter-spacing: -0.07em;
  color: var(--ink);
}

.message-panel__body {
  display: grid;
  gap: 16px;
}

.message-panel__body p {
  margin: 0;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.capture-proof::after {
  background:
    linear-gradient(180deg, rgba(6, 16, 23, 0.48), rgba(6, 16, 23, 0.84)),
    rgba(6, 16, 23, 0.32);
}

.shot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
}

.device-shot-card--voice {
  transform: translateY(54px);
}

.is-visible .device-shot-card--voice {
  transform: translateY(30px);
}

.device-shot-card figcaption {
  margin-top: 12px;
  padding: 0 8px;
  color: rgba(255, 250, 240, 0.68);
  font-size: 0.82rem;
  font-weight: 560;
  line-height: 1.35;
  text-align: center;
}

.moment-proof {
  padding: clamp(82px, 11vw, 132px) 24px;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(244, 194, 232, 0.32), transparent 38%),
    radial-gradient(ellipse at 88% 12%, rgba(184, 228, 244, 0.34), transparent 36%),
    var(--canvas);
  overflow: hidden;
}

.moment-proof h2,
.moment-proof p {
  color: var(--ink);
}

.moment-proof p {
  color: var(--ink-soft);
}

.moment-proof__little-line {
  display: block;
  max-width: none;
  font-size: 0.46em;
  line-height: 1.02;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.device-shot-card--detail {
  width: min(500px, 90vw);
}

/* —— Timeline proof —— */
.timeline-proof {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 12vw, 150px) 24px;
  background:
    radial-gradient(ellipse at 84% 12%, rgba(145, 70, 255, 0.14), transparent 34%),
    radial-gradient(ellipse at 12% 92%, rgba(184, 228, 244, 0.26), transparent 32%),
    var(--canvas);
}

.timeline-proof__inner {
  width: min(1160px, 100%);
  margin-inline: auto;
  display: grid;
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
}

.timeline-proof__copy {
  max-width: 520px;
}

.timeline-proof h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  font-weight: 790;
  line-height: 0.94;
  letter-spacing: -0.068em;
  color: var(--ink);
}

.timeline-proof p {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.timeline-proof strong {
  color: var(--ink);
  font-weight: 760;
}

.device-shot-card--timeline {
  width: min(460px, 88vw);
  opacity: 1;
  transform: none;
}

@media (min-width: 840px) {
  .screen-story__inner,
  .moment-proof__inner {
    grid-template-columns: 0.88fr 1.12fr;
  }

  .screen-story__copy {
    order: 2;
  }

  .capture-proof__inner {
    grid-template-columns: 0.78fr 1.22fr;
  }

  .message-panel__inner {
    grid-template-columns: 1fr 0.8fr;
    align-items: start;
  }

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

/* —— How it works —— */
.how-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(92px, 13vw, 164px) 0;
  background: var(--dark);
  color: var(--dark-ink);
}

.how-section::before {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: -2;
  background: url("assets/hero-bg.jpg") center center / cover no-repeat;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.04);
}

.how-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 16, 23, 0.74), rgba(6, 16, 23, 0.22) 58%, rgba(6, 16, 23, 0.56)),
    linear-gradient(180deg, rgba(6, 16, 23, 0.18), rgba(6, 16, 23, 0.78));
}

.how-section .container {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.17), rgba(255, 250, 240, 0.08)),
    rgba(255, 250, 240, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 240, 0.24),
    0 36px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
}

.how-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 32px;
}

.how-list li {
  max-width: 58ch;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 250, 240, 0.18);
}

.how-list li:first-child {
  padding-top: 0;
  border-top: none;
}

.how-list__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--dark-ink);
}

.how-list li p:last-child {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.6;
}

/* —— FAQ —— */
.faq-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 0 96px;
  background: var(--dark);
  color: var(--dark-ink);
}

.faq-section::before,
.site-end::before {
  content: "";
  position: absolute;
  inset: -36px;
  z-index: -2;
  background: url("assets/pexels/hero-secluded.jpg") center bottom / cover no-repeat;
  filter: blur(22px) saturate(1.08);
  transform: scale(1.08);
}

.faq-section::after,
.site-end::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 13, 18, 0.58), rgba(5, 13, 18, 0.74)),
    rgba(5, 13, 18, 0.32);
}

.faq-layout {
  display: grid;
  gap: 28px;
  max-width: 760px;
}

.faq-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 780;
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: var(--dark-ink);
}

.faq-plain {
  margin: 0;
  display: grid;
  gap: 24px;
}

.faq-plain dt {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--dark-ink);
}

.faq-plain dd {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.6;
  max-width: 52ch;
}

.faq-plain dd a {
  color: #d8c4ff;
  font-weight: 600;
}

/* —— Closing —— */
.site-end {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0 48px;
  background: var(--dark);
  color: var(--dark-muted);
}

.site-end::before {
  background-position: center 72%;
}

.site-end::after {
  background:
    linear-gradient(180deg, rgba(5, 13, 18, 0.74), rgba(5, 13, 18, 0.82)),
    rgba(5, 13, 18, 0.32);
}

.site-end__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-end__brand {
  display: grid;
  gap: 4px;
}

.site-end__line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dark-ink);
  font-weight: 600;
}

.site-end__copyright {
  margin: 0;
  color: var(--dark-muted);
  font-size: 0.9rem;
}

.site-end__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.site-end__links a {
  color: var(--dark-ink);
  font-weight: 600;
  text-decoration: none;
}

.site-end__links a:hover {
  color: var(--white);
}

.site-end__socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-end__icon-link {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.08);
  color: var(--dark-ink);
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.16);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.site-end__icon-link:hover {
  background: rgba(255, 250, 240, 0.14);
  border-color: rgba(255, 250, 240, 0.3);
  transform: translateY(-1px);
}

.site-end__icon-link svg {
  width: 19px;
  height: 19px;
}

/* —— Sharing feature —— */
.sharing-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(84px, 12vw, 150px) 24px;
  background:
    radial-gradient(ellipse at 86% 18%, rgba(145, 70, 255, 0.16), transparent 34%),
    radial-gradient(ellipse at 12% 92%, rgba(184, 228, 244, 0.24), transparent 32%),
    var(--white);
}

.sharing-feature__inner {
  width: min(1100px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(40px, 7vw, 82px);
  align-items: center;
}

.sharing-feature__copy {
  max-width: 620px;
}

.sharing-feature h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 7vw, 5.45rem);
  font-weight: 790;
  line-height: 0.94;
  letter-spacing: 0;
  color: var(--ink);
}

.sharing-feature__copy > p {
  margin: 20px 0 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.68;
}

.sharing-feature__copy > p + p {
  margin-top: 10px;
}

.sharing-feature__visual {
  position: relative;
  margin: 0;
  min-height: 480px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow:
    0 26px 70px rgba(10, 10, 15, 0.16),
    0 1px 2px rgba(10, 10, 15, 0.08);
}

.sharing-feature__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 44%, rgba(6, 16, 23, 0.68)),
    radial-gradient(ellipse at 18% 78%, rgba(145, 70, 255, 0.24), transparent 34%);
  pointer-events: none;
}

.sharing-feature__visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.sharing-feature__visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.sharing-feature__visual figcaption span {
  display: grid;
  gap: 2px;
  width: min(290px, 100%);
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.18), rgba(255, 250, 240, 0.08)),
    rgba(6, 16, 23, 0.36);
  color: var(--dark-ink);
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.18);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.sharing-feature__visual figcaption strong,
.sharing-feature__visual figcaption small {
  display: block;
}

.sharing-feature__visual figcaption strong {
  font-size: 0.95rem;
  line-height: 1.18;
}

.sharing-feature__visual figcaption small {
  color: rgba(255, 250, 240, 0.74);
  font-size: 0.82rem;
  line-height: 1.28;
}

@media (max-width: 820px) {
  .sharing-feature__inner {
    grid-template-columns: 1fr;
  }

  .sharing-feature__visual,
  .sharing-feature__visual img {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .page-nav {
    display: none;
  }

  .screen-story,
  .capture-proof {
    padding-top: 72px;
  }

  .message-panel,
  .how-section,
  .timeline-proof,
  .sharing-feature,
  .faq-section {
    padding-block: 64px;
  }

  .shot-pair {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .device-shot-card--small {
    width: min(300px, 82vw);
  }

  .device-shot-card--voice,
  .is-visible .device-shot-card--voice {
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .device-shot-card--peek {
    width: min(360px, 92vw);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .device-shot-card {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .scroll-hint {
    animation: none;
  }
}
