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

:root {
  --bg: #a89cf0;
  --text: #272046;
  --text-soft: rgba(39, 32, 70, 0.72);
  --btn-face: #f6f1e8;
  --btn-face-warm: #f0dc9c;
  --btn-face-lilac: #e6dff8;
  --btn-face-sage: #c5e4bc;
  --btn-ink: #272046;
  --btn-offset: 4px;
  --logo: 'Lily Script One', cursive;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --page-pad: 20px;
  --nav-pill-top: 16px;
  --nav-height: 72px;
  --hero-top: 64px;
  --hero-width: 44rem;
  --nav-width: 42rem;
  --footer-width: 72rem;
  --max: 400px;
  --footer-bg: #0f0d1a;
  --footer-cta-bg: #4a4085;
  --footer-accent: #a89cf0;
  --story-bg: #f0dc9c;
  --phone-w: min(300px, 84vw);
  --phone-h: calc(var(--phone-w) * 2796 / 1419);
  --bridge-overlap: calc(var(--phone-h) * 0.76);
  --marquee-accent: #e0635a;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--nav-pill-top) + 12px);
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.apple-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Header */

.header {
  position: fixed;
  top: var(--nav-pill-top);
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--logo);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text);
  flex-shrink: 0;
}

.logo__icon {
  display: block;
  width: auto;
  height: 1.05em;
  object-fit: contain;
}

.btn-header,
.btn-store {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--btn-face);
  color: var(--btn-ink);
  font-weight: 700;
  border: 2px solid var(--btn-ink);
  box-shadow: var(--btn-offset) var(--btn-offset) 0 0 var(--btn-ink);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  flex-shrink: 0;
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  gap: 6px;
  background: var(--btn-face-warm);
}

.btn-header .apple-icon,
.btn-store .apple-icon {
  flex-shrink: 0;
}

.btn-header:hover,
.btn-store:hover,
.btn-store-badge:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 0 var(--btn-ink);
}

.btn-header:active,
.btn-store:active,
.btn-store-badge:active {
  transform: translate(var(--btn-offset), var(--btn-offset));
  box-shadow: none;
}

/* Panels */

.panel {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--hero-top)) var(--page-pad) 0;
}

.panel--short {
  min-height: auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

.panel--short h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(2.5rem, 9vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
  .panel--short .panel-reveal-line {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 0.55s ease,
      transform 0.55s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .panel--short.is-revealed .panel-reveal-line {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-content:not(.panel-content--hero) {
  width: 100%;
  max-width: var(--max);
}

.panel-content--hero {
  width: 100%;
  max-width: none;
}

.panel-content--hero .panel-desc {
  font-size: 18px;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.panel-content--hero h1 {
  font-weight: 900;
  font-size: clamp(1.85rem, 6.8vw, 4.75rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-headline__line {
  display: block;
  white-space: nowrap;
}

h1,
h2 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 12vw, 5rem);
}

h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.panel-desc {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.btn-store {
  margin-top: 32px;
  padding: 14px 24px;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  background: #ffffff;
}

.btn-store .apple-icon {
  width: 17px;
  height: 17px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: clamp(56px, 7vh, 80px);
  margin-bottom: 0;
}

.store-badge-wrap {
  position: relative;
  display: inline-flex;
}

.store-badge-soon {
  position: absolute;
  top: -7px;
  right: -4px;
  z-index: 2;
  transform: rotate(4deg);
  padding: 0.24em 0.52em;
  border-radius: 999px;
  background: var(--btn-face-warm);
  border: 1.5px solid var(--btn-ink);
  box-shadow: 1.5px 1.5px 0 0 var(--btn-ink);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--btn-ink);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.footer-cta .store-badge-soon {
  background: var(--btn-face-warm);
}

.btn-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 12px 26px 12px 20px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--btn-ink);
  border: 2px solid var(--btn-ink);
  box-shadow: var(--btn-offset) var(--btn-offset) 0 0 var(--btn-ink);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  text-align: left;
}

.btn-store-badge--play {
  background: var(--btn-face-lilac);
}

.btn-store-badge.is-soon {
  cursor: default;
  pointer-events: none;
}

.btn-store-badge.is-soon:hover,
.btn-store-badge.is-soon:active {
  transform: none;
  box-shadow: var(--btn-offset) var(--btn-offset) 0 0 var(--btn-ink);
}

.store-badge__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: currentColor;
}

.store-badge__icon--play {
  fill: none;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.15;
  padding-block: 1px;
}

.store-badge__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.store-badge__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel--hero {
  min-height: auto;
  padding: calc(var(--nav-pill-top) + var(--nav-height) + var(--hero-top)) var(--page-pad) 0;
  overflow: visible;
}

.panel--hero .panel-content--hero {
  position: relative;
  z-index: 2;
}

/* Hero phone — below badges, half overlaps into story scroll */

.hero-device {
  position: relative;
  z-index: 4;
  width: var(--phone-w);
  aspect-ratio: 1419 / 2796;
  margin: clamp(48px, 6vh, 72px) auto calc(-1 * var(--bridge-overlap));
  pointer-events: none;
}

.hero-device .device {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  flex: none;
  display: block;
  transition: filter 0.45s ease, opacity 0.45s ease;
}

.hero-device .device.is-word-blurred {
  filter: blur(6px);
  opacity: 0.26;
}

.hero-device .device.device--floating {
  position: fixed;
  inset: auto;
  display: block;
  width: var(--phone-w);
  aspect-ratio: 1419 / 2796;
  height: auto;
  margin: 0;
  z-index: 6;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}

/* Story scroll — yellow block, poster text, inline chips, phone shrink */

.story-scroll {
  --story-progress: 0;
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: 0;
  padding: 0 0 0;
  min-height: calc(100vh + 600px);
  isolation: isolate;
  flex-shrink: 0;
}

.story-scroll__stage {
  position: sticky;
  top: calc(var(--nav-height) + var(--nav-pill-top) + 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: max(min(100vh, 1040px), calc(60vh + var(--bridge-overlap)));
  padding-top: 0;
  padding-bottom: 0;
  isolation: isolate;
}

.story-scroll__bg {
  z-index: 1;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: calc(100% - 32px * (1 - var(--story-progress)));
  margin-inline: auto;
  padding: 0 24px 0;
  border-radius: calc(28px * (1 - var(--story-progress))) calc(28px * (1 - var(--story-progress))) 0 0;
  overflow: visible;
  min-height: 100%;
  background: var(--story-bg);
}

.panel-content.panel-content--layers {
  position: relative;
  z-index: 1;
  max-width: min(100%, 44rem);
  padding-top: clamp(80px, 14vh, 128px);
}

.panel-content--layers .panel-desc {
  max-width: var(--max);
  margin-inline: auto;
}

.panel-headline__line {
  display: block;
  white-space: nowrap;
}

.layers-heading__line {
  display: block;
  white-space: nowrap;
}

.story-block {
  position: relative;
  z-index: 1;
  width: min(100%, 54rem);
  margin-inline: auto;
  padding: 0 12px clamp(140px, 18vh, 220px);
  opacity: calc(clamp(0, (var(--story-progress) - 0.15) / 0.35, 1));
  pointer-events: none;
  overflow: visible;
}

.story-block__headline {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.35rem, 8.5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
}

.story-block__tagline {
  margin: clamp(48px, 8vh, 88px) auto 0;
  font-family: var(--font);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  transform: rotate(-1deg);
}

.story-block__row {
  display: block;
  line-height: 1.1;
}

.story-block__blur-target,
.story-block__row-rest,
.story-block__tagline {
  transition: filter 0.45s ease, opacity 0.45s ease;
}

.story-block.is-word-reveal .story-block__blur-target,
.story-block.is-word-reveal .story-block__row-rest,
.story-block.is-word-reveal .story-block__tagline {
  filter: blur(6px);
  opacity: 0.26;
}

.story-word-swap {
  display: inline-block;
  position: relative;
  z-index: 3;
  vertical-align: baseline;
  pointer-events: auto;
  cursor: pointer;
  outline: none;
}

.story-word-swap__word {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
  text-decoration-color: rgba(39, 32, 70, 0.22);
  transition: text-decoration-color 0.25s ease;
}

.story-block.is-word-reveal .story-word-swap__word {
  text-decoration-color: rgba(39, 32, 70, 0.55);
}

.story-word-swap__alts {
  position: absolute;
  bottom: calc(100% + 0.45em);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 0.55rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}

.story-block.is-word-reveal .story-word-swap__alts {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.story-burden-pill {
  display: inline-block;
  padding: 0.38em 0.72em;
  border-radius: 999px;
  border: 2px solid var(--btn-ink);
  box-shadow: 3px 3px 0 0 var(--btn-ink);
  font-size: clamp(0.56rem, 1.25vw, 0.7rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--btn-ink);
  transform: translateY(4px) rotate(0deg);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.story-block.is-word-reveal .story-burden-pill {
  opacity: 1;
  transform: translateY(0);
}

.story-block.is-word-reveal .story-burden-pill:nth-child(1) {
  transform: rotate(-4deg);
  transition-delay: 0.04s;
}

.story-block.is-word-reveal .story-burden-pill:nth-child(2) {
  transform: rotate(2.5deg);
  transition-delay: 0.1s;
}

.story-block.is-word-reveal .story-burden-pill:nth-child(3) {
  transform: rotate(-2deg);
  transition-delay: 0.16s;
}

.story-block.is-word-reveal .story-burden-pill:nth-child(4) {
  transform: rotate(3deg);
  transition-delay: 0.22s;
}

.story-burden-pill--warm {
  background: var(--btn-face-warm);
}

.story-burden-pill--sage {
  background: var(--btn-face-sage);
}

.story-burden-pill--lavender {
  background: #d4c8f8;
}

.story-burden-pill--cream {
  background: var(--btn-face);
  padding-inline: 0.58em;
}

@media (max-width: 520px) {
  .story-scroll__bg {
    width: calc(100% - 24px * (1 - var(--story-progress)));
    padding-inline: 16px;
  }

  .story-block {
    padding: 0 6px clamp(24px, 5vh, 36px);
  }

  .story-block__headline {
    font-size: clamp(1.75rem, 7.8vw, 4.5rem);
    letter-spacing: -0.035em;
  }

  .story-block__tagline {
    font-size: 0.92rem;
  }

  .story-word-swap__alts {
    gap: 0.28rem;
    flex-wrap: wrap;
    white-space: normal;
    max-width: min(92vw, 300px);
  }

  .story-burden-pill {
    padding: 0.32em 0.52em;
    font-size: 0.5rem;
    box-shadow: 2px 2px 0 0 var(--btn-ink);
  }

  .topic-marquee {
    padding: 14px 0;
  }

  .topic-marquee__item {
    padding: 0 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-word-swap__alts {
    transition: opacity 0.2s ease;
    transform: translateX(-50%);
  }

  .story-burden-pill {
    transition: opacity 0.2s ease;
    transform: none;
  }

  .story-block.is-word-reveal .story-burden-pill:nth-child(n) {
    transform: none;
    transition-delay: 0s;
  }
}

.story-chip-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0 0.2em;
  padding: 2px;
  height: 0.78em;
  width: calc(0.78em * 1.5);
  background: var(--btn-face);
  border: 2px solid var(--btn-ink);
  border-radius: 8px;
  box-shadow: var(--btn-offset) var(--btn-offset) 0 0 var(--btn-ink);
  box-sizing: border-box;
  overflow: hidden;
}

.story-chip-wrap--a {
  transform: rotate(-2deg);
}

.story-chip-wrap--b {
  transform: rotate(1.5deg);
}

.story-chip-wrap--c {
  transform: rotate(-2.5deg);
}

.story-chip-wrap--d {
  transform: rotate(2deg);
}

.story-chip__img,
.story-chip__slot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.story-chip--dock {
  visibility: hidden;
  width: calc(0.78em * 1419 / 2796);
  margin: 0 0.06em;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* Topic marquee — scrolling focus areas & life topics */

.topic-marquee {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  background: var(--btn-ink);
  color: var(--btn-face-warm);
  padding: 18px 0;
}

.topic-marquee__track {
  display: flex;
  width: max-content;
  animation: topic-marquee-scroll 55s linear infinite;
}

.topic-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topic-marquee__item {
  padding: 0 1.25rem;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topic-marquee__mark {
  flex-shrink: 0;
  color: var(--marquee-accent);
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1;
}

@keyframes topic-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-dove--left,
  .faq-dove--right {
    animation: none;
  }

  .topic-marquee {
    overflow-x: auto;
  }

  .topic-marquee__track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
    padding: 4px 12px;
  }

  .topic-marquee__group[aria-hidden='true'] {
    display: none;
  }
}

@keyframes dove-drift-left {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-14px, -6px);
  }
}

@keyframes dove-drift-right {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14px, -5px);
  }
}

/* Device mockup */

.device {
  width: min(300px, 84vw);
  margin-top: 56px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.panel:not(.panel--hero) .device {
  flex: none;
  margin-top: 56px;
}

.device--small {
  margin-top: 20px;
  width: min(270px, 78vw);
}

.device-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 1419 / 2796;
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.16));
}

.device-screen-clip {
  position: absolute;
  left: 7.65%;
  top: 3.75%;
  width: 84.7%;
  height: 92.5%;
  border-radius: 15.5% / 7.8%;
  overflow: hidden;
  z-index: 1;
}

.device-screen-clip .device-screen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  max-width: none;
  transform: translate(-50%, -50%);
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
}

video.device-screen {
  display: block;
  border: none;
}

.device-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* FAQ */

.faq-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 20px 120px;
  background: var(--bg);
  overflow: hidden;
}

.faq-doves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.faq-dove {
  position: absolute;
  display: block;
  width: auto;
  height: clamp(52px, 9.5vh, 80px);
  max-width: 96px;
  max-height: clamp(52px, 9.5vh, 80px);
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(30, 40, 60, 0.2));
  will-change: transform;
}

.faq-dove--left {
  top: 8%;
  left: 6%;
  animation: dove-drift-left 5.5s ease-in-out infinite;
}

.faq-dove--right {
  top: 10%;
  right: 6%;
  animation: dove-drift-right 6.2s ease-in-out infinite;
}

.faq-section__inner {
  position: relative;
  z-index: 1;
  width: min(var(--nav-width), calc(100% - 40px));
  max-width: var(--nav-width);
  margin-inline: auto;
}

.faq-section__header {
  margin-bottom: 56px;
}

.faq-headline__line {
  display: block;
}

.faq-section__header h2 {
  font-size: clamp(2.5rem, 9vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.faq-section__desc {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.faq-list {
  width: 100%;
  border: 2px solid var(--btn-ink);
  border-radius: 16px;
  background: var(--btn-face-sage);
  box-shadow: 4px 4px 0 0 var(--btn-ink);
  overflow: hidden;
  text-align: left;
}

.faq-item {
  border-bottom: 2px solid var(--btn-ink);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-item summary::marker {
  content: '';
}

.faq-item summary:focus {
  outline: none;
}

.faq-item summary:focus-visible {
  outline: 2px solid rgba(105, 82, 213, 0.45);
  outline-offset: -2px;
}

.faq-item__question {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.faq-item__toggle {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-item__toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--marquee-accent);
  border-bottom: 2px solid var(--marquee-accent);
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__toggle::before {
  transform: translate(-50%, -35%) rotate(-135deg);
}

.faq-item__answer {
  display: none;
}

.faq-item[open] .faq-item__answer {
  display: block;
}

.faq-item__answer-inner p {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

/* Footer */

.site-footer {
  padding: 0;
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.site-footer__ribbon {
  position: relative;
  z-index: 1;
  color: var(--footer-bg);
  line-height: 0;
  margin-top: calc(-1 * clamp(16px, 2.5vw, 26px));
}

.site-footer__ribbon-shape {
  display: block;
  width: 100%;
  height: clamp(32px, 5vw, 52px);
  transform: scaleY(-1);
}

.footer-cta {
  position: relative;
  overflow: hidden;
  background: var(--footer-cta-bg);
}

.footer-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-inline: auto;
  padding: clamp(48px, 8vh, 72px) var(--page-pad) clamp(64px, 10vh, 96px);
  text-align: center;
}

.footer-cta__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}

.footer-cta__line {
  display: block;
}

.footer-cta__tagline {
  margin: clamp(12px, 2vh, 20px) auto 0;
  font-family: var(--font);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  text-transform: none;
  transform: rotate(-1deg);
}

.footer-cta__badges {
  justify-content: center;
  margin-top: clamp(28px, 4vh, 40px);
  margin-bottom: 0;
}

.site-footer__inner {
  width: 100%;
  margin-inline: auto;
  padding: 48px var(--page-pad) 40px;
}

.site-footer__main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 22rem;
}

.site-footer__logo {
  font-family: var(--logo);
  font-size: clamp(3rem, 10vw, 5rem);
  line-height: 0.95;
  color: var(--footer-accent);
  letter-spacing: -0.02em;
}

.site-footer__tagline {
  font-size: clamp(0.85rem, 2.4vw, 0.95rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  max-width: 20rem;
}

.site-footer__nav {
  display: flex;
  flex-direction: row;
  flex: 0 0 auto;
  gap: clamp(24px, 6vw, 48px);
  margin-left: auto;
  width: auto;
}

.site-footer__col {
  text-align: left;
}

.site-footer__col-title {
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--footer-accent);
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__links a {
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.15s ease;
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__copy {
  margin: 40px 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__art {
  position: relative;
  width: 100%;
  max-width: 100%;
  line-height: 0;
  background: var(--footer-bg);
}

.site-footer__art img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: unset;
  object-position: center bottom;
}

/* Legal pages */

.legal-page {
  padding: calc(var(--nav-height) + var(--hero-top)) var(--page-pad) 80px;
}

.legal-page__inner {
  width: min(var(--nav-width), calc(100% - 40px));
  max-width: var(--nav-width);
  margin: 0 auto;
  text-align: left;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-page__updated {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-soft);
}

.legal-page__content {
  margin-top: 32px;
}

.legal-page__content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.legal-page__content h2 {
  margin: 28px 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.legal-page__content a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__content a:hover {
  color: var(--text-soft);
}

.contact-form {
  margin-top: 32px;
  text-align: left;
}

.contact-form__field {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form__input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--btn-ink);
  border-radius: 12px;
  background: var(--btn-face);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  box-shadow: 3px 3px 0 0 var(--btn-ink);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.contact-form__input:focus {
  outline: none;
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 0 var(--btn-ink);
}

.contact-form__input::placeholder {
  color: var(--text-soft);
  opacity: 1;
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__status {
  margin-bottom: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-form__status--error {
  color: #8b2e2e;
}

.contact-form__status--success {
  color: #2d5a3d;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--btn-ink);
  border-radius: 999px;
  background: var(--btn-face-warm);
  color: var(--btn-ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--btn-offset) var(--btn-offset) 0 0 var(--btn-ink);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.btn-contact:hover:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 0 var(--btn-ink);
}

.btn-contact:active:not(:disabled) {
  transform: translate(var(--btn-offset), var(--btn-offset));
  box-shadow: none;
}

.btn-contact:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.header .logo {
  text-decoration: none;
}

@media (max-width: 767px) {
  :root {
    --page-pad: 16px;
    --phone-w: min(280px, 88vw);
    --bridge-overlap: calc(var(--phone-h) * 0.52);
  }

  .story-scroll {
    min-height: calc(70vh + 420px);
  }

  .story-scroll__stage {
    min-height: auto;
    height: auto;
    justify-content: flex-start;
  }

  .story-scroll__bg {
    position: relative;
    inset: auto;
    min-height: clamp(460px, 58svh, 620px);
    justify-content: flex-end;
    padding-top: clamp(56px, 11vw, 96px);
  }

  .story-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 12px clamp(28px, 5vh, 40px);
  }

  .story-block__tagline {
    margin-top: clamp(20px, 4vh, 32px);
  }

  .header {
    padding-inline: var(--page-pad);
  }

  .logo {
    font-size: 1.5rem;
  }

  .btn-header {
    padding: 9px 16px;
    font-size: 0.72rem;
  }

  .panel--hero {
    padding-top: calc(var(--nav-pill-top) + var(--nav-height) + 48px);
  }

  .panel--short {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .panel--short h2,
  .faq-section__header h2 {
    font-size: clamp(2rem, 8.5vw, 4rem);
  }

  .panel-content--hero .panel-desc {
    font-size: 1rem;
  }

  .panel-content.panel-content--layers {
    padding-top: clamp(48px, 10vh, 128px);
  }

  .store-badges {
    margin-top: clamp(40px, 6vh, 72px);
    gap: 12px;
  }

  .btn-store-badge {
    width: min(100%, 320px);
    padding: 11px 20px 11px 16px;
    gap: 12px;
  }

  .panel:not(.panel--hero) .device {
    margin-top: 40px;
  }

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

  .faq-section {
    padding: 56px var(--page-pad) 96px;
  }

  .faq-section__inner {
    width: min(var(--nav-width), 100%);
  }

  .faq-section__header {
    margin-bottom: 40px;
  }

  .faq-dove {
    height: 44px;
    max-height: 44px;
    max-width: 68px;
  }

  .faq-dove--left {
    top: 5%;
    left: 2%;
  }

  .faq-dove--right {
    top: 5%;
    right: 2%;
  }

  .footer-cta__inner {
    padding: 40px var(--page-pad) 56px;
  }

  .footer-cta__badges {
    justify-content: center;
  }

  .site-footer__inner {
    padding: 40px var(--page-pad) 36px;
  }

  .site-footer__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .site-footer__brand {
    max-width: none;
    width: 100%;
  }

  .site-footer__logo {
    font-size: clamp(2.75rem, 14vw, 3.75rem);
  }

  .site-footer__tagline {
    max-width: 22rem;
    font-size: 0.9rem;
  }

  .site-footer__nav {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    gap: clamp(32px, 10vw, 56px);
  }

  .site-footer__col {
    flex: 1 1 0;
    min-width: 0;
  }

  .site-footer__copy {
    margin-top: 32px;
  }
}

@media (max-width: 379px) {
  :root {
    --hero-width: 100%;
    --nav-width: 100%;
    --phone-w: min(260px, 92vw);
  }

  .panel-content--hero h1 {
    font-size: clamp(1.5rem, 6vw, 3.5rem);
    line-height: 0.96;
  }

  .panel--short h2,
  .faq-section__header h2 {
    font-size: clamp(1.75rem, 8vw, 4rem);
    letter-spacing: -0.04em;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }

  .btn-store-badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .store-badge__name {
    font-size: 0.98rem;
  }

  .story-block__headline {
    font-size: clamp(1.55rem, 7.2vw, 4.5rem);
    letter-spacing: -0.035em;
  }

  .story-block__tagline {
    font-size: 0.88rem;
    white-space: normal;
    line-height: 1.15;
    max-width: 16rem;
  }

  .faq-dove {
    height: 36px;
    max-height: 36px;
    max-width: 56px;
    opacity: 0.75;
  }

  .faq-item__question {
    font-size: 0.9rem;
  }

  .site-footer__nav {
    flex-direction: column;
    gap: 28px;
  }

  .site-footer__col {
    flex: none;
    width: 100%;
  }
}

@media (min-width: 768px) {
  :root {
    --page-pad: 24px;
    --nav-pill-top: 20px;
    --nav-height: 76px;
    --hero-top: 88px;
  }

  .header {
    padding-inline: 32px;
  }

  .header-inner {
    padding: 10px 0;
  }

  .story-scroll {
    min-height: calc(100vh + 600px);
  }

  .story-scroll__bg {
    border-radius: calc(32px * (1 - var(--story-progress))) calc(32px * (1 - var(--story-progress))) 0 0;
    padding-inline: 28px;
  }

  .faq-section {
    padding: 88px 32px 140px;
  }

  .faq-section__header {
    margin-bottom: 72px;
  }

  .faq-item summary {
    padding: 20px 22px;
  }

  .faq-item__answer-inner p {
    padding: 0 22px 20px;
  }

  .footer-cta__inner {
    padding: 64px 32px 88px;
  }

  .site-footer__inner {
    padding: 56px 32px 48px;
  }

  .site-footer__main {
    gap: 56px;
  }

  .site-footer__brand {
    flex: 0 1 28rem;
  }

  .site-footer__nav {
    gap: 48px;
  }

  .site-footer__copy {
    margin-top: 48px;
  }

  .device {
    width: min(320px, 34vw);
    margin-top: 28px;
  }
}
