/* ═══════════════════════════════════════════════════════════
   Arc: AI Cleaner — a five-scene film, not a landing page.
   Scene 1  night   · the "Storage Almost Full" moment
   Scene 2  night   · the truth: it's the copies (photo wall)
   Scene 3  paper   · the fear, named
   Scene 4  night   · the promise + feel-it demo
   Scene 5  dawn    · the relief, then the ask
   Editorial serif, one accent, no cards, no grids of features.
   ═══════════════════════════════════════════════════════════ */

:root {
  color-scheme: dark;
  --night: #0c0a12;
  --night-2: #141416;
  --cream: #f6f1e7;
  --cream-dim: rgba(246, 241, 231, 0.68);
  --cream-faint: rgba(246, 241, 231, 0.42);
  --ink: #1b1526;
  --ink-dim: rgba(27, 21, 38, 0.7);
  --paper: #f0ecf3;
  --violet: #9f92ec;
  --violet-soft: #c4b8fe;
  --gold: #f5d974;
  --gold-soft: #fae8a4;
  --teal: #2dd4bf;
  --ios-blue: #0a84ff;
  --serif: ui-serif, "Iowan Old Style", "Palatino", "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --header-main-height: 88px;
  --header-nav-height: 50px;
  --header-border-height: 1px;
  --site-header-height: calc(
    var(--header-main-height) + var(--header-nav-height) + var(--header-border-height)
  );
  --content-top-gap: clamp(40px, 6vh, 56px);
  --hero-top-gap: 56px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height) + 20px);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }

p { text-wrap: pretty; }

::selection {
  background: rgba(159, 146, 236, 0.58);
  color: #fff;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

html {
  scrollbar-color: rgba(159, 146, 236, 0.42) transparent;
  scrollbar-width: thin;
}

/* film grain over everything — the page is shot on film */
body::after {
  content: "";
  position: fixed;
  inset: -80px;
  z-index: 80;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: soft-light;
  animation: grainShift 0.9s infinite;
  animation-timing-function: step-end;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-34px, 22px); }
  40% { transform: translate(26px, -30px); }
  60% { transform: translate(-20px, -36px); }
  80% { transform: translate(36px, 18px); }
  100% { transform: translate(0, 0); }
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 550;
  letter-spacing: -0.018em;
  text-wrap: balance;
  font-variant-ligatures: common-ligatures;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 90;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--night);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

/* ── shared voice ─────────────────────────────────────────── */

.whisper {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--cream-faint);
  letter-spacing: 0.01em;
}

.scene-sub {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--cream-dim);
}

.scene-sub-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* word-by-word reveal (progressive enhancement) */
[data-words] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(6px);
}

/* the animation only attaches once the line is on screen — starting
   it paused and unpausing later proved unreliable */
[data-words].is-visible .w {
  animation: wordRise 700ms cubic-bezier(0.2, 0.65, 0.25, 1) forwards;
  animation-delay: calc(var(--i) * 70ms);
}

/* belt and braces: once the run is over, the words are simply visible */
[data-words].w-settled .w {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

@keyframes wordRise {
  to { opacity: 1; transform: none; filter: blur(0); }
}

[data-reveal]:not([data-words]) {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

[data-reveal]:not([data-words]).is-visible {
  opacity: 1;
  transform: none;
}

/* ── header / footer: bare, cinematic ─────────────────────── */

.film-header,
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(7, 7, 8, 0.56);
  border-bottom: 1px solid rgba(246, 241, 231, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 300ms ease, border-color 300ms ease;
}

.header-masthead {
  height: var(--header-main-height);
}

.header-main {
  width: min(calc(100% - 40px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.film-header.is-scrolled {
  background: color-mix(in srgb, var(--night) 90%, transparent);
  border-bottom-color: rgba(246, 241, 231, 0.16);
}

.wordmark {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.wordmark img {
  border-radius: 22%;
  box-shadow:
    0 0 0 1px rgba(255, 214, 135, 0.22),
    0 0 16px rgba(255, 190, 90, 0.5),
    0 0 40px rgba(255, 170, 60, 0.32),
    0 8px 28px rgba(0, 0, 0, 0.35);
}

.wordmark-sub {
  font-weight: inherit;
  font-size: inherit;
}

.header-cta {
  display: flex;
  min-width: 0;
  margin-left: auto;
  align-items: center;
  gap: 18px;
}

.header-cta .header-get { display: none; }

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 48px);
  height: var(--header-nav-height);
  margin: 0;
  padding: 0 20px;
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--cream-dim);
  transition: color 180ms ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.header-nav a:hover { color: var(--cream); }
.header-nav a[aria-current="page"] { color: var(--violet-soft); }
.header-nav a:hover::after,
.header-nav a[aria-current="page"]::after { transform: scaleX(1); }

body.on-paper .header-nav a { color: var(--ink-dim); }
body.on-paper .header-nav a:hover { color: var(--ink); }
body.on-paper .header-nav a[aria-current="page"] {
  color: color-mix(in srgb, var(--violet) 78%, var(--ink));
}

body.on-paper .header-nav { border-top-color: rgba(27, 21, 38, 0.12); }

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

.language-picker {
  position: relative;
  flex: none;
}

html:not([data-localized="ready"]) .language-picker {
  display: none;
}

.language-picker select {
  min-height: 38px;
  max-width: 126px;
  padding: 0 30px 0 12px;
  border: 1px solid rgba(246, 241, 231, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 17px) 52% / 5px 5px no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) calc(100% - 12px) 52% / 5px 5px no-repeat,
    rgba(246, 241, 231, 0.08);
  color: var(--cream);
  font: 650 13px/1 var(--sans);
  appearance: none;
}

.language-picker select:hover {
  border-color: rgba(196, 184, 254, 0.55);
}

.language-picker select:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
}

body.on-paper .language-picker select {
  border-color: rgba(27, 21, 38, 0.22);
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) calc(100% - 17px) 52% / 5px 5px no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) calc(100% - 12px) 52% / 5px 5px no-repeat,
    rgba(27, 21, 38, 0.06);
  color: var(--ink);
}

/* ── the store badges, in their native dress ── */

.store-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 8px 20px 8px 15px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 16px 36px rgba(8, 5, 16, 0.4);
  font-family: var(--sans);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 22px 44px rgba(8, 5, 16, 0.5);
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.16;
  text-align: left;
}

.store-badge small {
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0.82;
  letter-spacing: 0.02em;
}

.store-badge strong {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.005em;
}

.store-badge-sm {
  min-height: 38px;
  gap: 8px;
  padding: 4px 13px 4px 10px;
  border-radius: 9px;
  box-shadow: none;
}

.store-badge-sm svg { width: 17px; height: 17px; }
.store-badge-sm small { font-size: 8px; }
.store-badge-sm strong { font-size: 13.5px; }

.store-badge-lg {
  min-height: 64px;
  padding: 9px 24px 9px 18px;
  border-radius: 14px;
}

.store-badge-lg svg { width: 30px; height: 30px; }
.store-badge-lg strong { font-size: 21px; }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.header-get {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--cream-dim);
  border-bottom: 1px solid var(--cream-faint);
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}

.header-get:hover {
  color: var(--cream);
  border-color: var(--cream);
}

/* scenes on light backgrounds recolor the fixed header via body class */
body.on-paper .film-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
}

body.on-paper .film-header { color: var(--ink); }
body.on-paper .header-get { color: var(--ink-dim); border-color: rgba(27, 21, 38, 0.35); }
body.on-paper .header-get:hover { color: var(--ink); border-color: var(--ink); }

/* ── stars (sparse, quiet) ─────────────────────────────────── */

.night-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.night-stars .star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  animation: twinkle var(--tw, 5s) ease-in-out var(--twd, 0s) infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.08; }
  to { opacity: 0.6; }
}

/* ═══════════════ SCENE 1 · THE MOMENT ═══════════════ */

/* ── the sky system: one night, dusk to dawn ── */

.hillband {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 110 C120 68 260 132 400 100 C540 68 660 126 800 94 C940 62 1080 122 1220 92 C1320 70 1400 96 1440 84 L1440 160 L0 160 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 110 C120 68 260 132 400 100 C540 68 660 126 800 94 C940 62 1080 122 1220 92 C1320 70 1400 96 1440 84 L1440 160 L0 160 Z'%3E%3C/path%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.hillband-far {
  height: 180px;
  /* dawn rim light catches the ridge tops, then falls to silhouette */
  background: linear-gradient(180deg,
    #4c2836 0%,
    #2c1720 22%,
    #170f14 52%,
    #0c090b 100%);
  transform: scaleX(-1);
  opacity: 0.9;
}

.hillband-near {
  height: 120px;
  background: linear-gradient(180deg,
    #231219 0%,
    #100a0d 38%,
    #060506 100%);
}

.hillband-dawn-far {
  background: linear-gradient(180deg,
    #dfcadb 0%,
    #c9a7bd 45%,
    #9b6c89 100%);
  opacity: 0.9;
}

.hillband-dawn-near {
  background: linear-gradient(180deg,
    #9a667f 0%,
    #684056 45%,
    #281a2b 100%);
  opacity: 0.85;
}

/* a hazy moon over the dusk */
.moon {
  position: absolute;
  top: calc(var(--site-header-height) + 24px);
  right: 42%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  /* sphere shading + soft maria, lit from the upper left */
  background:
    radial-gradient(26% 26% at 63% 46%, rgba(126, 104, 86, 0.16), transparent 100%),
    radial-gradient(17% 17% at 44% 63%, rgba(126, 104, 86, 0.12), transparent 100%),
    radial-gradient(13% 13% at 58% 28%, rgba(126, 104, 86, 0.09), transparent 100%),
    radial-gradient(circle at 36% 32%,
      #fffef8 0%,
      #fbf3e0 34%,
      #f0e2c4 62%,
      #ddc8a2 86%,
      #d2bb92 100%);
  box-shadow:
    inset -14px -11px 26px rgba(96, 66, 44, 0.32),
    inset 3px 3px 10px rgba(255, 255, 250, 0.55),
    0 0 26px 6px rgba(255, 238, 205, 0.22),
    0 0 90px 30px rgba(250, 205, 140, 0.12);
  opacity: 0.96;
  pointer-events: none;
}

/* a wide, faint lunar corona */
.moon::after {
  content: "";
  position: absolute;
  inset: -85%;
  border-radius: 50%;
  background: radial-gradient(circle,
    transparent 34%,
    rgba(255, 234, 190, 0.05) 46%,
    rgba(255, 224, 170, 0.02) 58%,
    transparent 70%);
}

/* warm fireflies drifting near the horizon */
.bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 122, 0.55), transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  animation: bokehFloat 8s ease-in-out infinite alternate;
}

.bokeh-1 { width: 14px; height: 14px; left: 12%; bottom: 17%; }
.bokeh-2 { width: 9px; height: 9px; left: 34%; bottom: 12%; animation-delay: 2.4s; }
.bokeh-3 { width: 18px; height: 18px; right: 18%; bottom: 15%; animation-delay: 4.2s; animation-duration: 11s; }

@keyframes bokehFloat {
  from { transform: translate(0, 0); opacity: 0.5; }
  to { transform: translate(14px, -26px); opacity: 1; }
}

.scene-moment {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--site-header-height) + var(--hero-top-gap)) clamp(20px, 5vw, 56px) 80px;
  background:
    /* the afterglow pools low on the horizon, off-centre like a set sun */
    radial-gradient(52% 24% at 44% 92%, rgba(255, 128, 138, 0.20), transparent 74%),
    radial-gradient(90% 34% at 50% 100%, rgba(206, 84, 112, 0.17), transparent 78%),
    linear-gradient(180deg,
      #060607 0%,
      #09090a 34%,
      #0e0d0f 54%,
      #191016 68%,
      #2f1724 78%,
      #55253c 86%,
      #8c3f57 93%,
      #bd6069 98%,
      #d47a72 100%);
  overflow: hidden;
}

/* a slow aurora drifts behind the night */
.scene-moment::before {
  content: "";
  position: absolute;
  inset: -22% -12%;
  background:
    radial-gradient(36% 28% at 70% 30%, rgba(159, 146, 236, 0.16), transparent 70%),
    radial-gradient(28% 24% at 24% 72%, rgba(63, 214, 192, 0.07), transparent 70%),
    radial-gradient(24% 20% at 84% 80%, rgba(244, 114, 182, 0.07), transparent 70%);
  filter: blur(44px);
  pointer-events: none;
  animation: auroraDrift 24s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) ; }
  to { transform: translate3d(2.5%, -2%, 0) rotate(1deg); }
}

/* once in a while, a star falls */
.meteor {
  position: absolute;
  top: calc(var(--site-header-height) + 32px);
  right: -6%;
  width: 150px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(246, 241, 231, 0.9));
  transform: rotate(-32deg);
  opacity: 0;
  pointer-events: none;
  animation: meteorFall 12s ease-in 4s infinite;
}

.meteor-b {
  top: calc(var(--site-header-height) + 96px);
  right: auto;
  left: 30%;
  width: 110px;
  animation-delay: 8.5s;
  animation-duration: 15s;
}

@keyframes meteorFall {
  0% { opacity: 0; transform: rotate(-32deg) translateX(0); }
  2.5% { opacity: 0.9; }
  7% { opacity: 0; transform: rotate(-32deg) translateX(-44vw); }
  100% { opacity: 0; transform: rotate(-32deg) translateX(-44vw); }
}

.moment-layout {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.scene-moment h1 {
  margin: 0;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.03;
}

.scene-moment h1 em,
.scene-fear h2 em,
.scene-arc h2 em,
.scene-after h2 em {
  display: block;
  font-style: italic;
  font-weight: 480;
  color: var(--cream-dim);
}

/* the italic turn glows gold, like the icon's lettering */
.scene-moment h1 em,
.scene-arc h2 em {
  color: var(--violet-soft);
  text-shadow: 0 0 26px rgba(159, 146, 236, 0.32);
}

.app-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.app-row img {
  border-radius: 24%;
  box-shadow: 0 10px 28px rgba(255, 200, 87, 0.4);
}

.app-row p { margin: 0; line-height: 1.35; }

.app-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.005em;
}

.app-row span {
  color: var(--cream-faint);
  font-size: 13.5px;
}

.cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--violet-soft);
}

.cue svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cueNudge 2.2s ease-in-out infinite;
}

@keyframes cueNudge {
  0%, 100% { transform: translateY(0); }
  55% { transform: translateY(6px); }
}

/* the phone, mid-golden-hour */

.moment-phone {
  display: grid;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  border: 1px solid rgba(246, 241, 231, 0.18);
  background: #000;
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(159, 146, 236, 0.14);
  overflow: hidden;
}

.phone-frame.is-shaken {
  animation: phoneShake 480ms ease;
}

@keyframes phoneShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px) rotate(-0.4deg); }
  45% { transform: translateX(4px) rotate(0.35deg); }
  70% { transform: translateX(-2px); }
}

.vf-scene {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    #241543 0%,
    #5c2c60 30%,
    #b6535a 52%,
    #e8874f 68%,
    #f6bd7c 80%,
    #f9daa4 100%);
}

.vf-sun {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 74px;
  height: 74px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff3d0 0%, #ffd489 45%, rgba(255, 190, 110, 0) 72%);
  filter: blur(1px);
}

.vf-hill {
  position: absolute;
  bottom: 11%;
  width: 110%;
  height: 12%;
  background: #1d1028;
  border-radius: 100% 100% 0 0 / 320% 260% 0 0;
  opacity: 0.92;
}

.vf-hill-a { left: -46%; }
.vf-hill-b { right: -52%; bottom: 10%; height: 15%; background: #241536; border-radius: 100% 100% 0 0 / 240% 340% 0 0; }

.vf-water {
  position: absolute;
  inset: auto 0 0;
  height: 13%;
  background: linear-gradient(180deg, #b65e4f, #7c3a51);
  opacity: 0.85;
}

.vf-ui {
  position: absolute;
  inset: 0;
  font-family: var(--sans);
}

.vf-top {
  position: absolute;
  inset: 14px 18px auto;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

.vf-mode {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vf-mode strong { color: #ffd60a; font-weight: 700; }

.vf-bottom {
  position: absolute;
  inset: auto 26px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vf-shutter {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(255, 255, 255, 0.9);
}

.vf-roll,
.vf-flip {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.vf-flip { border-radius: 50%; }

/* the alert everyone dreads */

.vf-dim {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 14, 0.52);
  opacity: 0;
  transition: opacity 500ms ease;
}

.ios-alert {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  transform: translate(-50%, -46%) scale(0.86);
  opacity: 0;
  border-radius: 16px;
  background: rgba(247, 247, 249, 0.98);
  color: #111;
  text-align: center;
  font-family: var(--sans);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.2, 0.9, 0.3, 1.25);
}

.phone-frame.is-alerted .vf-dim { opacity: 1; }

.phone-frame.is-alerted .ios-alert {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ios-alert strong {
  display: block;
  padding: 18px 18px 4px;
  font-size: 15.5px;
  font-weight: 700;
}

.ios-alert p {
  margin: 0;
  padding: 0 18px 15px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(17, 17, 17, 0.72);
}

.ios-alert-actions {
  display: flex;
  border-top: 0.5px solid rgba(60, 60, 67, 0.29);
}

.ios-alert-actions span {
  flex: 1;
  padding: 11px 0;
  color: var(--ios-blue);
  font-size: 15.5px;
}

.ios-alert-actions span:first-child {
  border-right: 0.5px solid rgba(60, 60, 67, 0.29);
  font-weight: 600;
}

/* Arc answers the alert — the solution beat, still above the fold */

.arc-toast {
  position: absolute;
  top: 12px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(17, 17, 19, 0.94);
  border: 1px solid rgba(196, 184, 254, 0.46);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55), 0 0 24px rgba(159, 146, 236, 0.24);
  opacity: 0;
  transform: translateY(-18px) scale(0.95);
  transition: opacity 460ms ease, transform 460ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.arc-toast img { border-radius: 9px; }

.arc-toast strong {
  display: block;
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}

.arc-toast span {
  display: block;
  color: var(--cream-dim);
  font-size: 11px;
  line-height: 1.3;
}

.phone-frame.is-answered .arc-toast {
  opacity: 1;
  transform: none;
}

/* once Arc answers, the scary alert recedes */
.phone-frame.is-answered .ios-alert {
  opacity: 0.42;
  transform: translate(-50%, -47%) scale(0.94);
}

/* ═══════════════ SCENE 2 · THE TRUTH ═══════════════ */

.scene-truth {
  position: relative;
  padding: clamp(110px, 16vh, 170px) clamp(20px, 5vw, 56px);
  background: linear-gradient(180deg, #101011 0%, #0c0c0d 55%, #08080a 100%);
  text-align: center;
  overflow: hidden;
}

/* the last of the ember light, fading at the horizon */
.scene-truth::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: radial-gradient(58% 140% at 50% 108%, rgba(199, 117, 69, 0.13), transparent 70%);
  pointer-events: none;
}

.scene-truth h2 {
  margin: 0 auto;
  font-size: clamp(48px, 7.5vw, 108px);
  line-height: 1;
}

.scene-truth .scene-sub { max-width: 560px; }

.wall {
  width: min(100%, 880px);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
}

.wall-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 9px;
  overflow: hidden;
  transition:
    opacity 900ms ease,
    filter 900ms ease,
    transform 900ms cubic-bezier(0.3, 0.6, 0.3, 1),
    box-shadow 900ms ease;
}

/* clutter species */
.t-dup-a { background: linear-gradient(160deg, #472a5e 0%, #a4536b 55%, #e8925c 100%); }
.t-dup-b { background: linear-gradient(160deg, #44285a 0%, #9d5069 55%, #e08c58 100%); }
.t-dup-c { background: linear-gradient(165deg, #4a2c60 0%, #a8556d 55%, #ec975f 100%); }
.t-blur {
  background: linear-gradient(150deg, #2e4a42 0%, #5f8a6b 60%, #a8c294 100%);
  filter: blur(4px) saturate(1.1);
  transform: scale(1.04);
}
.t-shot {
  background:
    repeating-linear-gradient(180deg, transparent 0 10px, rgba(27, 21, 38, 0.14) 10px 11px),
    linear-gradient(180deg, #efe9dc, #ddd3c0);
}
.t-shot::after {
  content: "";
  position: absolute;
  inset: 12% 18% auto;
  height: 14%;
  border-radius: 3px;
  background: rgba(27, 21, 38, 0.24);
}
.t-rec { background: linear-gradient(170deg, #19191b, #2a2a2d); }
.t-rec::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-left: 12px solid rgba(246, 241, 231, 0.7);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* the keepers */
.t-keep-a { background: linear-gradient(155deg, #f6bd7c 0%, #d96f4e 55%, #7a3a63 100%); }
.t-keep-b { background: linear-gradient(160deg, #ffd9a0 0%, #e08a5b 60%, #5c2c60 100%); }
.t-keep-c { background: linear-gradient(150deg, #9fd0c4 0%, #4d8f95 60%, #23445c 100%); }
.t-keep-d { background: linear-gradient(165deg, #f4e0b6 0%, #c98a62 55%, #6b3c58 100%); }

.wall.is-sifted .wall-tile.is-clutter {
  opacity: 0.07;
  filter: grayscale(1) blur(1px);
  transform: scale(0.86);
}

.wall .wall-tile.is-keeper::after {
  content: attr(data-caption);
  position: absolute;
  inset: auto 0 0;
  padding: 6px 4px 5px;
  background: linear-gradient(180deg, transparent, rgba(12, 10, 18, 0.78));
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: 11.5px;
  opacity: 0;
  transition: opacity 700ms ease 400ms;
}

.wall.is-sifted .wall-tile.is-keeper {
  box-shadow: 0 0 0 2px rgba(246, 241, 231, 0.75), 0 14px 44px rgba(159, 146, 236, 0.34);
  transform: scale(1.06);
  z-index: 1;
}

.wall.is-sifted .wall-tile.is-keeper::after { opacity: 1; }

.wall-line {
  margin: 42px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--cream-faint);
  opacity: 0;
  transition: opacity 900ms ease 900ms;
}

.wall-line.is-on { opacity: 1; }

/* ═══════════════ SCENE 3 · THE FEAR (paper) ═══════════════ */

.scene-fear {
  padding: clamp(120px, 18vh, 190px) clamp(20px, 5vw, 56px);
  background:
    radial-gradient(72% 52% at 50% 0%, #fcfaff 0%, transparent 62%),
    radial-gradient(130% 100% at 50% 55%, transparent 55%, rgba(27, 21, 38, 0.08) 100%),
    linear-gradient(180deg, #f2eef5, #e5e0e9);
  color: var(--ink);
}

.scene-fear .whisper { color: rgba(27, 21, 38, 0.45); }

.scene-fear h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 5.8vw, 78px);
  line-height: 1.06;
}

.scene-fear h2 em { color: var(--ink-dim); }

.scene-fear > * {
  width: min(100%, 880px);
  margin-left: auto;
  margin-right: auto;
}

.fear-body {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}

.fear-body p {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--ink-dim);
}

.delete-word {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 14px 4px;
  border-radius: 10px;
  background: #ff3b30;
  color: #fff;
  font-weight: 700;
  font-size: 0.92em;
  transform: rotate(-1.5deg);
}

.fear-kicker {
  margin-top: clamp(48px, 7vh, 72px) !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  color: rgba(27, 21, 38, 0.55);
  text-align: center;
}

/* ═══════════════ SCENE 4 · THE INTELLIGENCE ═══════════════ */

.scene-smart {
  position: relative;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 5vw, 56px);
  background:
    radial-gradient(70% 45% at 78% 0%, rgba(159, 146, 236, 0.09) 0%, transparent 55%),
    var(--night);
  overflow: hidden;
}

/* deepest night: nebula ribbons drift across the magic */
.scene-smart::before,
.scene-smart::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  pointer-events: none;
  filter: blur(46px);
}

.scene-smart::before {
  top: 6%;
  height: 34%;
  background: linear-gradient(92deg,
    transparent 6%,
    rgba(159, 146, 236, 0.14) 30%,
    rgba(63, 214, 192, 0.08) 55%,
    rgba(244, 114, 182, 0.07) 76%,
    transparent 94%);
  transform: rotate(-7deg);
  animation: ribbonDriftA 32s ease-in-out infinite alternate;
}

.scene-smart::after {
  bottom: 8%;
  height: 28%;
  background: linear-gradient(88deg,
    transparent 8%,
    rgba(244, 114, 182, 0.07) 30%,
    rgba(159, 146, 236, 0.11) 58%,
    rgba(63, 214, 192, 0.06) 80%,
    transparent 94%);
  transform: rotate(6deg);
  animation: ribbonDriftB 38s ease-in-out infinite alternate;
}

@keyframes ribbonDriftA {
  to { transform: rotate(-7deg) translateX(3.5%); }
}

@keyframes ribbonDriftB {
  to { transform: rotate(6deg) translateX(-3%); }
}

.smart-head {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  margin: 0 auto clamp(70px, 9vh, 100px);
  text-align: center;
}

.scene-smart h2 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.07;
}

.scene-smart h2 em {
  display: block;
  font-style: italic;
  font-weight: 480;
  color: var(--violet-soft);
}

.smart-row {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto clamp(64px, 9vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}

.smart-row-rev .smart-copy { order: 2; }
.smart-row-rev .keeper-strip { order: 1; }

.smart-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.18;
}

.smart-copy p {
  margin: 0;
  max-width: 440px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--cream-dim);
}

.smart-copy p em {
  font-family: var(--serif);
  color: var(--violet-soft);
}

/* screenshots being read */

.read-strip {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.read-tile {
  position: relative;
  width: clamp(88px, 9vw, 122px);
  aspect-ratio: 9 / 17;
  border-radius: 14px;
  border: 1px solid rgba(246, 241, 231, 0.14);
  background:
    repeating-linear-gradient(180deg, transparent 0 16px, rgba(27, 21, 38, 0.12) 16px 17px),
    linear-gradient(180deg, #efe8da, #dcd2be);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.read-tile:nth-child(2) { transform: translateY(18px); }
.read-tile:nth-child(3) { transform: translateY(-8px); }

.read-tile::before {
  content: "";
  position: absolute;
  inset: 10% 16% auto;
  height: 10%;
  border-radius: 4px;
  background: rgba(27, 21, 38, 0.24);
}

.read-tile .chip {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translate(-50%, 6px);
  white-space: nowrap;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.92);
  border: 1px solid rgba(196, 184, 254, 0.46);
  color: var(--cream);
  font-size: 11.5px;
  font-weight: 650;
  opacity: 0;
  transition: opacity 500ms ease, transform 500ms ease;
  transition-delay: calc(var(--i) * 260ms + 400ms);
}

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

.read-tile .chip-protect {
  background: rgba(10, 30, 26, 0.94);
  border-color: rgba(63, 214, 192, 0.55);
  color: #b8f4ea;
}

/* the keeper among the burst */

.keeper-strip {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.kt {
  margin: 0;
  width: clamp(52px, 5.6vw, 76px);
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  position: relative;
  transition: transform 700ms ease 500ms;
}

/* tile color lives on ::before so dimming it never dims the caption */
.kt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--kt-bg);
  transition: opacity 700ms ease 500ms, filter 700ms ease 500ms;
}

.kt figcaption {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--cream-faint);
}

.kt-1 { --kt-bg: linear-gradient(165deg, #4a2a66 0%, #a85578 55%, #eb9a60 100%); }
.kt-1::before { filter: blur(0.5px); }
.kt-2 { --kt-bg: linear-gradient(160deg, #452963 0%, #9d4f70 55%, #e18f5a 100%); }
.kt-4 { --kt-bg: linear-gradient(170deg, #2c1a42 0%, #6b3853 60%, #9c5c44 100%); }
.kt-5 { --kt-bg: linear-gradient(158deg, #4d2c68 0%, #ab5776 55%, #f0a066 100%); }

.kt-keeper {
  --kt-bg: linear-gradient(162deg, #55306f 0%, #c06180 50%, #ffb072 100%);
  width: clamp(66px, 7vw, 96px);
  z-index: 1;
}

.kt-keeper figcaption {
  color: var(--cream);
  font-weight: 600;
}

.smart-row.is-visible .kt:not(.kt-keeper) {
  transform: translateY(4px) scale(0.96);
}

.smart-row.is-visible .kt:not(.kt-keeper)::before {
  opacity: 0.45;
  filter: saturate(0.55) brightness(0.8);
}

.smart-row.is-visible .kt-keeper {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    0 0 0 2px rgba(246, 241, 231, 0.85),
    0 18px 50px rgba(159, 146, 236, 0.4);
}

/* ── the reel — one problem at a time ─────────────────────── */

.reel {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  margin: clamp(80px, 11vh, 120px) auto 0;
  border-top: 1px solid rgba(246, 241, 231, 0.14);
  padding-top: 48px;
}

.reel-lead {
  margin: 0 0 clamp(40px, 6vh, 70px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
  color: var(--cream-dim);
  text-align: center;
}

.reel-lead em {
  font-style: italic;
  color: var(--cream-faint);
  font-size: 0.82em;
}

.reel-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* each story owns its visual — art on one side, words on the other,
   sides alternating down the page */
.reel-step {
  min-height: 52vh;
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: clamp(40px, 6vw, 90px);
  padding: 5vh 0;
  opacity: 0.3;
  transition: opacity 500ms ease;
}

.reel-step.is-focus { opacity: 1; }

.reel-step .step-visual {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: center;
  width: min(300px, 100%);
  height: 380px;
  transform: rotate(-1.6deg);
}

.reel-step h4 {
  grid-column: 2;
  align-self: end;
  margin: 0 0 16px;
  max-width: 520px;
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.014em;
  color: var(--cream);
}

.reel-step h4 em {
  display: block;
  margin-top: 4px;
  font-style: italic;
  font-weight: 480;
  color: var(--violet-soft);
}

.reel-step > p {
  grid-column: 2;
  align-self: start;
  margin: 0;
  max-width: 440px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cream-dim);
}

/* every other story mirrors: words left, art right */
.reel-step:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.reel-step:nth-child(even) .step-visual {
  grid-column: 2;
  transform: rotate(1.6deg);
}

.reel-step:nth-child(even) h4,
.reel-step:nth-child(even) > p {
  grid-column: 1;
}

/* ── the vignettes ── */

.vg {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(246, 241, 231, 0.16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.vg-pill {
  position: absolute;
  top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 6, 12, 0.66);
  border: 1px solid rgba(246, 241, 231, 0.22);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
}

.vg-pill-tl { left: 14px; }
.vg-pill-tr { right: 14px; color: var(--cream-dim); font-weight: 650; }

.vg-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 6, 12, 0.85));
}

.vg-meta strong { display: block; color: var(--cream); font-size: 15.5px; }
.vg-meta span { color: var(--cream-dim); font-size: 12.5px; }
.vg-meta-center { text-align: center; }

/* exact duplicates */
.vg-dup { background: linear-gradient(170deg, #1a1a1c, #111113); }

.vgd-card {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 132px;
  height: 168px;
  border-radius: 16px;
  background: linear-gradient(165deg, #3b1d5e 0%, #a34a7e 42%, #f6975c 78%, #ffd79a 100%);
  border: 1px solid rgba(246, 241, 231, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.vgd-front { transform: translate(-42%, -46%) rotate(4deg); }

.vgd-back {
  transform: translate(-58%, -54%) rotate(-6deg);
  filter: brightness(0.85);
  animation: vgDupDrift 4.8s ease-in-out infinite;
}

@keyframes vgDupDrift {
  0%, 18% { transform: translate(-58%, -54%) rotate(-6deg); opacity: 1; }
  52%, 74% { transform: translate(-88%, -60%) rotate(-14deg); opacity: 0.25; }
  100% { transform: translate(-58%, -54%) rotate(-6deg); opacity: 1; }
}

.vgd-keep {
  position: absolute;
  right: 20px;
  top: 56%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 30, 22, 0.9);
  border: 1px solid rgba(123, 224, 163, 0.55);
  color: #7be0a3;
  font-size: 12px;
  font-weight: 750;
}

/* recording */
.vg-rec { background: linear-gradient(175deg, #0e0b2a 0%, #232064 60%, #5b4bc9 100%); }

.vg-play { animation: vgPulse 2.6s ease-out infinite; }

@keyframes vgPulse {
  0% { box-shadow: 0 0 0 0 rgba(246, 241, 231, 0.28); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(246, 241, 231, 0); }
}

.vg-scrub::after { animation: vgScrub 4.2s ease-in-out infinite alternate; }

@keyframes vgScrub {
  from { width: 12%; }
  to { width: 68%; }
}

.vg-play {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(246, 241, 231, 0.85);
  background: rgba(8, 6, 12, 0.35);
}

.vg-play::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 18px solid rgba(246, 241, 231, 0.9);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.vg-scrub {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 74px;
  height: 3px;
  border-radius: 2px;
  background: rgba(246, 241, 231, 0.25);
}

.vg-scrub::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 22%;
  border-radius: 2px;
  background: var(--violet-soft);
}

/* live photo */
.vg-live { background: linear-gradient(165deg, #3b1d5e 0%, #a34a7e 42%, #f6975c 78%, #ffd79a 100%); }

.vg-live-badge { color: #ffd60a; }

.vg-rings {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(246, 241, 231, 0.75);
  animation: vgSpinC 16s linear infinite;
}

@keyframes vgSpinC {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.vg-rings::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 2px solid rgba(246, 241, 231, 0.9);
  animation: vgInnerPulse 2.8s ease-in-out infinite;
}

@keyframes vgInnerPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.75; }
}

/* blurry — a focus pull that never quite lands */
.vg-blur::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: linear-gradient(170deg, #10333a 0%, #1f6d5a 55%, #7fce9b 100%);
  filter: blur(7px) saturate(1.15);
  animation: vgFocusPull 5.2s ease-in-out infinite;
}

@keyframes vgFocusPull {
  0%, 100% { filter: blur(7px) saturate(1.15); }
  42%, 56% { filter: blur(1.5px) saturate(1.2); }
}

/* compression — watch 12.4 MB become 2.7 MB */
.vg-zip {
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, #12202a, #0d1622);
}

.vgz-stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding-top: 30px;
}

.vgz-card {
  position: relative;
  width: 132px;
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(160deg, #38205f 0%, #9c4a86 45%, #f08a58 80%, #ffce8f 100%);
  border: 1px solid rgba(246, 241, 231, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  animation: vgShrink 5.4s ease-in-out infinite;
}

@keyframes vgShrink {
  0%, 16% { transform: scale(1); }
  52%, 78% { transform: scale(0.62); }
  100% { transform: scale(1); }
}

.vgz-size {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 6, 12, 0.72);
  border: 1px solid rgba(246, 241, 231, 0.25);
  color: var(--cream);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.vgz-big { animation: vgFadeBig 5.4s ease-in-out infinite; }

.vgz-small {
  color: #7be0a3;
  border-color: rgba(123, 224, 163, 0.5);
  animation: vgFadeSmall 5.4s ease-in-out infinite;
}

@keyframes vgFadeBig {
  0%, 34% { opacity: 1; }
  52%, 82% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes vgFadeSmall {
  0%, 34% { opacity: 0; }
  52%, 82% { opacity: 1; }
  100% { opacity: 0; }
}

.vgz-bar {
  margin: 10px 22px 84px;
  height: 5px;
  border-radius: 3px;
  background: rgba(246, 241, 231, 0.14);
  overflow: hidden;
}

.vgz-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #3fd6c0, #7be0a3);
  animation: vgBarFill 5.4s ease-in-out infinite;
}

@keyframes vgBarFill {
  0%, 16% { width: 6%; }
  52%, 82% { width: 78%; }
  100% { width: 6%; }
}

/* contacts */
.vg-contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 20px 18px;
  background: linear-gradient(170deg, #1a1a1c, #111113);
}

.vgc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1px solid rgba(246, 241, 231, 0.12);
  background: rgba(246, 241, 231, 0.04);
}

.vgc-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(150deg, #ffe0a3, #f6b845);
  color: #3a2708;
  font-weight: 800;
  font-size: 14px;
}

.vgc-name {
  color: var(--cream);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
}

.vgc-name small {
  display: block;
  color: var(--cream-dim);
  font-size: 11px;
  font-weight: 500;
}

.vgc-arrow {
  text-align: center;
  color: var(--violet-soft);
  font-size: 18px;
  line-height: 0.7;
}

.vgc-merged {
  border-color: rgba(123, 224, 163, 0.5);
  background: rgba(123, 224, 163, 0.07);
  animation: vgMergedGlow 7s ease-in-out infinite;
}

.vgc-check {
  margin-left: auto;
  color: #7be0a3;
  font-weight: 800;
}

/* the three Moms drift down into one */
.vg-contacts .vgc-row:nth-child(1) { --ty: 148px; animation: vgMergeRow 7s ease-in-out infinite; }
.vg-contacts .vgc-row:nth-child(2) { --ty: 98px; animation: vgMergeRow 7s ease-in-out 0.12s infinite; }
.vg-contacts .vgc-row:nth-child(3) { --ty: 48px; animation: vgMergeRow 7s ease-in-out 0.24s infinite; }

@keyframes vgMergeRow {
  0%, 22% { transform: none; opacity: 1; }
  46%, 72% { transform: translateY(var(--ty)) scale(0.9); opacity: 0; }
  88%, 100% { transform: none; opacity: 1; }
}

@keyframes vgMergedGlow {
  0%, 30% { box-shadow: none; }
  50%, 70% { box-shadow: 0 0 26px rgba(123, 224, 163, 0.3); transform: scale(1.03); }
  88%, 100% { box-shadow: none; transform: none; }
}

/* calendar + downloads */
.vg-cal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background:
    repeating-linear-gradient(180deg, transparent 0 30px, rgba(27, 21, 38, 0.08) 30px 31px),
    linear-gradient(180deg, #f2ecdf, #e2d8c4);
}

.vgl-head {
  padding: 10px 14px;
  border-radius: 12px;
  background: #232326;
  color: #f6f1e7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.vgl-event {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(27, 21, 38, 0.16);
  background: rgba(255, 255, 255, 0.6);
}

.vgl-event s {
  display: inline-block;
  color: rgba(27, 21, 38, 0.75);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  background: linear-gradient(#c0392b, #c0392b) no-repeat 0 58% / 0% 2px;
  animation: vgStrike 5.6s ease-in-out infinite;
}

@keyframes vgStrike {
  0%, 18% { background-size: 0% 2px; }
  38%, 80% { background-size: 100% 2px; }
  95%, 100% { background-size: 0% 2px; }
}

.vgl-event span { display: block; color: rgba(27, 21, 38, 0.5); font-size: 11.5px; }

.vgl-file-icon { animation: vgFileNudge 2.8s ease-in-out infinite; }

@keyframes vgFileNudge {
  0%, 60%, 100% { transform: none; }
  72%, 84% { transform: translateY(3px); }
}

.vgl-file {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(27, 21, 38, 0.16);
  background: rgba(255, 255, 255, 0.6);
}

.vgl-file-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(245, 217, 116, 0.16);
  color: #d8bd55;
  font-size: 16px;
  font-weight: 800;
}

.vgl-file-name { color: var(--ink); font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.vgl-file-name small { display: block; color: rgba(27, 21, 38, 0.5); font-size: 11.5px; font-weight: 500; }

/* trash & cache */
.vg-trash {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  background: linear-gradient(175deg, #121214, #0e1b16);
}

.vg-trash-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  fill: none;
  stroke: #7be0a3;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(123, 224, 163, 0.4));
}

.vg-crumb {
  height: 5px;
  border-radius: 3px;
  background: rgba(123, 224, 163, 0.4);
}

/* crumbs get vacuumed up into the bin, one by one */
.vg-crumb-1 { width: 110px; animation: vgCrumb 3.6s ease-in infinite; }
.vg-crumb-2 { width: 76px; opacity: 0.7; animation: vgCrumb 3.6s ease-in 0.45s infinite; }
.vg-crumb-3 { width: 44px; opacity: 0.45; animation: vgCrumb 3.6s ease-in 0.9s infinite; }

@keyframes vgCrumb {
  0%, 20% { transform: none; }
  52% { transform: translateY(-26px) scaleX(0.3); opacity: 0; }
  62%, 100% { transform: none; }
}

/* the plan — three passes light up in order */
.vg-plan {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 22px 18px;
  background:
    radial-gradient(120% 100% at 80% -10%, rgba(159, 146, 236, 0.17), transparent 55%),
    linear-gradient(170deg, #1a1a1c, #111113);
}

.vgp-title {
  margin-bottom: 4px;
  color: var(--violet-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vgp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid rgba(246, 241, 231, 0.12);
  background: rgba(246, 241, 231, 0.04);
  animation: vgPlanRow 5.4s ease-in-out calc(var(--d) * 1.1s) infinite;
}

@keyframes vgPlanRow {
  0%, 100% { border-color: rgba(246, 241, 231, 0.12); background: rgba(246, 241, 231, 0.04); transform: none; }
  10%, 24% { border-color: rgba(196, 184, 254, 0.56); background: rgba(159, 146, 236, 0.15); transform: translateX(4px); }
  34% { border-color: rgba(246, 241, 231, 0.12); background: rgba(246, 241, 231, 0.04); transform: none; }
}

.vgp-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 700;
  color: #14100d;
}

.vgp-num-1 { background: linear-gradient(150deg, #ddd6ff, var(--violet)); }
.vgp-num-2 { background: linear-gradient(150deg, #a8f2e6, var(--teal)); }
.vgp-num-3 { background: linear-gradient(150deg, #ffc6bf, #f28b82); }

.vgp-copy strong { display: block; color: var(--cream); font-size: 14px; }
.vgp-copy span { color: var(--cream-dim); font-size: 12px; }

/* the habit — the ring fills, the line finally trends down */
.vg-habit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-bottom: 64px;
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(159, 146, 236, 0.12), transparent 60%),
    linear-gradient(170deg, #1a1428, #120d1f);
}

.vgh-widget {
  position: relative;
  display: grid;
  place-items: center;
}

.vgh-ring {
  width: 108px;
  height: 108px;
  transform: rotate(-90deg);
}

.vgh-track,
.vgh-fill {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}

.vgh-track { stroke: rgba(246, 241, 231, 0.12); }

.vgh-fill {
  stroke: var(--violet);
  stroke-dasharray: 100;
  animation: vgRing 5s ease-in-out infinite;
}

@keyframes vgRing {
  0%, 12% { stroke-dashoffset: 82; }
  55%, 85% { stroke-dashoffset: 38; }
  100% { stroke-dashoffset: 82; }
}

.vgh-ring-label {
  position: absolute;
  text-align: center;
}

.vgh-ring-label strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream);
}

.vgh-ring-label span { color: var(--cream-dim); font-size: 11px; }

.vgh-trend {
  width: 170px;
  height: 46px;
  overflow: visible;
}

.vgh-trend path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  filter: drop-shadow(0 0 8px rgba(63, 214, 192, 0.4));
  animation: vgTrend 5s ease-in-out infinite;
}

@keyframes vgTrend {
  0%, 10% { stroke-dashoffset: 82; }
  60%, 90% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 82; }
}

/* vault */
.vg-vault {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(90% 70% at 50% 30%, rgba(63, 214, 192, 0.14), transparent 65%),
    linear-gradient(175deg, #0a1116, #08131a);
}

.vg-lock-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(63, 214, 192, 0.22), inset 0 0 20px rgba(63, 214, 192, 0.1);
}

/* the dashed dial turns; the lock stays put */
.vg-lock-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(63, 214, 192, 0.5);
  animation: vgSpin 18s linear infinite;
}

@keyframes vgSpin {
  to { transform: rotate(360deg); }
}

.vg-lock-ring svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vg-pin { display: flex; gap: 10px; }

.vg-pin i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(63, 214, 192, 0.5);
}

.vg-pin i.is-empty {
  background: transparent;
  border: 1.5px solid rgba(63, 214, 192, 0.55);
  box-shadow: none;
  animation: vgPinFill 4.2s ease-in-out infinite;
}

@keyframes vgPinFill {
  0%, 35% { background: transparent; box-shadow: none; }
  55%, 82% { background: var(--teal); box-shadow: 0 0 10px rgba(63, 214, 192, 0.5); }
  100% { background: transparent; }
}

.smart-kicker {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  margin: clamp(60px, 8vh, 88px) auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: var(--violet-soft);
  text-align: center;
}

.smart-kicker-plain {
  margin-top: 18px;
  font-style: normal;
  font-size: 16px;
}

.smart-kicker-link {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: rgba(63, 214, 192, 0.35);
  text-underline-offset: 3px;
}

/* ═══════════════ SCENE 4 · THE TURN ═══════════════ */

.scene-arc {
  position: relative;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 5vw, 56px);
  background:
    radial-gradient(80% 55% at 50% -5%, rgba(159, 146, 236, 0.1) 0%, transparent 60%),
    #08080a;
  overflow: hidden;
}

/* midnight zenith — a moon-halo ring behind the promise */
.arc-halo {
  position: absolute;
  left: 50%;
  top: clamp(40px, 8vh, 110px);
  width: min(620px, 92vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(196, 184, 254, 0.17);
  background: radial-gradient(circle, rgba(159, 146, 236, 0.11), transparent 62%);
  pointer-events: none;
}

.arc-halo::after {
  content: "";
  position: absolute;
  inset: -13%;
  border-radius: 50%;
  border: 1px solid rgba(196, 184, 254, 0.08);
}

/* ── the icon's rainbow dot-matrix halo, drawn live ── */

.dot-arc {
  position: absolute;
  aspect-ratio: 1;
  pointer-events: none;
  animation: dotArcSpin 150s linear infinite;
}

.dot-arc i {
  position: absolute;
  border-radius: 50%;
}

@keyframes dotArcSpin {
  to { transform: rotate(360deg); }
}

/* around the promise-scene icon */
.dot-arc-promise {
  left: 50%;
  top: clamp(40px, 8vh, 110px);
  width: min(620px, 92vw);
  margin-left: max(-310px, -46vw);
  filter: blur(0.4px);
  opacity: 0.75;
}

.dot-arc-promise { animation-name: dotArcSpinCentered; }

@keyframes dotArcSpinCentered {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.arc-intro {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  margin: 0 auto;
  text-align: center;
}

.arc-icon {
  margin: 0 auto 30px;
  border-radius: 22%;
  box-shadow: 0 18px 50px rgba(255, 200, 87, 0.4);
}

.scene-arc h2 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.06;
}

.arc-truths {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  margin: 64px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 30px;
}

.arc-truths li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
}

.arc-truths li span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(196, 184, 254, 0.42);
  color: var(--violet-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}

.arc-truths li p {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.55;
  color: var(--cream-dim);
}

/* the feel-it demo */

/* blue hour — the night starts giving way */
.scene-try {
  position: relative;
  padding: clamp(100px, 14vh, 160px) clamp(20px, 5vw, 56px);
  background: linear-gradient(180deg, #08080a 0%, #0d0d0f 55%, #141416 100%);
  overflow: hidden;
}

.scene-try::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: radial-gradient(60% 150% at 50% 110%, rgba(159, 146, 236, 0.13), transparent 70%);
  pointer-events: none;
}

.try {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.try-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.try-copy > p {
  max-width: 440px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--cream-dim);
}

.try-status {
  margin-top: 26px;
  font-size: 16px;
  color: var(--cream-faint);
}

.try-status strong {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream);
}

.try-stage {
  display: grid;
  justify-items: center;
}

.swipe-deck {
  position: relative;
  width: min(100%, 300px);
  height: 400px;
  touch-action: pan-y;
}

.demo-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(246, 241, 231, 0.16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-select: none;
  transition: transform 380ms cubic-bezier(0.2, 0.7, 0.3, 1), opacity 320ms ease;
  will-change: transform;
}

.demo-card.is-dragging { transition: none; cursor: grabbing; }

.demo-card.is-behind {
  transform: scale(0.94) translateY(14px);
  opacity: 0.5;
  pointer-events: none;
}

.demo-card.is-deep {
  transform: scale(0.88) translateY(28px);
  opacity: 0.2;
  pointer-events: none;
}

.demo-card.is-gone-left {
  transform: translateX(-130%) rotate(-13deg);
  opacity: 0;
  pointer-events: none;
}

.demo-card.is-gone-right {
  transform: translateX(130%) rotate(13deg);
  opacity: 0;
  pointer-events: none;
}

.demo-card-art { position: absolute; inset: 0; }

.demo-card-art.is-blurry {
  filter: blur(7px) saturate(1.15);
  transform: scale(1.06);
}

.demo-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 6, 12, 0.8));
}

.art-sunset { background: linear-gradient(165deg, #3b1d5e 0%, #a34a7e 42%, #f6975c 78%, #ffd79a 100%); }
.art-sunset-2 { background: linear-gradient(160deg, #38205f 0%, #9c4a86 45%, #f08a58 80%, #ffce8f 100%); }
.art-forest { background: linear-gradient(170deg, #10333a 0%, #1f6d5a 55%, #7fce9b 100%); }
.art-night { background: linear-gradient(175deg, #0e0b2a 0%, #232064 60%, #5b4bc9 100%); }
.art-paper {
  background:
    repeating-linear-gradient(180deg, transparent 0 32px, rgba(27, 21, 38, 0.12) 32px 33px),
    linear-gradient(180deg, #f2ecdf, #e2d8c4);
}

.demo-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 6, 12, 0.66);
  border: 1px solid rgba(246, 241, 231, 0.2);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 700;
}

.demo-card-size {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(8, 6, 12, 0.66);
  border: 1px solid rgba(246, 241, 231, 0.2);
  color: var(--cream-dim);
  font-size: 12.5px;
  font-weight: 650;
}

.demo-card-meta {
  position: relative;
  padding: 16px;
}

.demo-card-meta strong { display: block; font-size: 15.5px; }
.demo-card-meta span { color: var(--cream-dim); font-size: 13px; }

.demo-card .verdict {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  padding: 8px 18px;
  border-radius: 10px;
  border: 2.5px solid;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  opacity: 0;
  transition: opacity 120ms ease;
}

.demo-card .verdict.keep { color: #7be0a3; border-color: #7be0a3; }
.demo-card .verdict.remove { color: #ff8d7e; border-color: #ff8d7e; }

.try-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

.try-btn {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 231, 0.24);
  background: rgba(246, 241, 231, 0.04);
  color: var(--cream-dim);
  transition: transform 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.try-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.try-keep:hover { color: #7be0a3; border-color: rgba(123, 224, 163, 0.6); box-shadow: 0 10px 28px rgba(123, 224, 163, 0.18); }
.try-remove:hover { color: #ff8d7e; border-color: rgba(255, 141, 126, 0.6); box-shadow: 0 10px 28px rgba(255, 141, 126, 0.18); }
.try-undo:hover { color: var(--violet-soft); border-color: rgba(196, 184, 254, 0.62); }

.try-btn:disabled {
  opacity: 0.3;
  transform: none;
  box-shadow: none;
  cursor: default;
}

.try-hint {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--cream-faint);
}

.swipe-done[hidden] { display: none; }

.swipe-done {
  position: absolute;
  width: min(100%, 300px);
  height: 400px;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 26px;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed rgba(196, 184, 254, 0.46);
}

.swipe-done strong {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--cream);
}

.swipe-done p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream-dim);
}

.swipe-done button {
  margin: 12px auto 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--violet-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  border-bottom: 1px solid rgba(196, 184, 254, 0.52);
}

/* ═══════════════ SCENE 5 · THE RELIEF (dawn) ═══════════════ */

/* sunrise — a cool blush answering the rose dusk */
.scene-after {
  position: relative;
  padding: clamp(130px, 18vh, 200px) clamp(20px, 5vw, 56px) 130px;
  background: linear-gradient(180deg,
    #f0ecf5 0%,
    #f0e7ef 24%,
    #efd9df 52%,
    #eccbd1 78%,
    #e7c0c8 100%);
  color: var(--ink);
  text-align: center;
}

.sunrise {
  position: absolute;
  left: 80%;
  top: clamp(110px, 14vh, 190px);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  /* a hot core melting into a layered corona */
  background: radial-gradient(circle at 50% 45%,
    #fffefa 0%,
    #f8f2ff 20%,
    #e9defe 36%,
    rgba(196, 184, 254, 0.58) 50%,
    rgba(242, 139, 130, 0.22) 64%,
    transparent 78%);
  box-shadow:
    0 0 50px 20px rgba(196, 184, 254, 0.25),
    0 0 130px 55px rgba(242, 139, 130, 0.14);
  filter: blur(0.6px);
  pointer-events: none;
}

.scene-after {
  position: relative;
  overflow: hidden;
}

/* the dawn breathes */
.scene-after::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14%;
  width: 110vw;
  height: 68vh;
  transform: translateX(-50%);
  background: radial-gradient(44% 56% at 50% 32%, rgba(196, 184, 254, 0.34), transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  animation: sunBreath 9s ease-in-out infinite alternate;
}

@keyframes sunBreath {
  from { opacity: 0.5; transform: translateX(-50%) scale(1); }
  to { opacity: 0.95; transform: translateX(-50%) scale(1.07); }
}

.after-inner,
.scene-after .peek,
.scene-after .quiet-answers {
  position: relative;
}

.scene-after .whisper { color: rgba(27, 21, 38, 0.45); }

.scene-after h2 {
  margin: 0 auto;
  max-width: 800px;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.03;
}

.scene-after h2 em { color: rgba(27, 21, 38, 0.6); }

.scene-after .scene-sub {
  max-width: 520px;
  color: var(--ink-dim);
}

.get-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}

.get-note {
  margin: 20px 0 0;
  font-size: 13.5px;
  color: rgba(27, 21, 38, 0.5);
}

/* a look inside */

.peek { margin-top: clamp(80px, 10vh, 120px); }

.peek-line {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(27, 21, 38, 0.55);
}

.peek-strip {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(27, 21, 38, 0.3) transparent;
}

.peek-strip img {
  flex: 0 0 min(230px, 62vw);
  width: min(230px, 62vw);
  min-width: 0;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(27, 21, 38, 0.14);
  box-shadow: 0 24px 50px rgba(27, 21, 38, 0.22);
  scroll-snap-align: center;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

/* stills from the film, laid slightly askew */
.peek-strip img:nth-child(odd) { transform: rotate(-1.4deg); }
.peek-strip img:nth-child(even) { transform: rotate(1.1deg) translateY(4px); }

.peek-strip img:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: 0 32px 60px rgba(27, 21, 38, 0.3);
}

/* small honest answers */

.quiet-answers {
  width: min(100%, 940px);
  margin: clamp(70px, 9vh, 100px) auto 0;
  text-align: left;
  border-top: 1px solid rgba(27, 21, 38, 0.16);
  padding-top: 38px;
  columns: 2;
  column-gap: clamp(36px, 5vw, 72px);
}

.quiet-answers p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(27, 21, 38, 0.62);
  break-inside: avoid;
}

.quiet-answers strong {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  margin-bottom: 2px;
}

.quiet-answers > p:last-child {
  break-inside: avoid;
  font-family: var(--serif);
  font-style: italic;
  color: color-mix(in srgb, var(--violet) 82%, black);
}

.quiet-answers > p:last-child a {
  text-decoration: underline;
  text-decoration-color: rgba(159, 146, 236, 0.38);
}

/* ── the journal teaser (night returns after the dawn) ─────── */

.journal-teaser {
  padding: clamp(110px, 15vh, 170px) clamp(20px, 5vw, 56px) clamp(130px, 16vh, 190px);
  background:
    radial-gradient(75% 55% at 20% 0%, rgba(159, 146, 236, 0.13), transparent 64%),
    linear-gradient(180deg, #18121d 0%, #0e0d12 46%, var(--night) 100%);
  color: var(--cream);
}

.journal-teaser .hub-hero { margin-bottom: 8px; }
.journal-teaser .hub-hero .eyebrow { color: var(--violet-soft); }
.journal-teaser .hub-hero h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 46px);
  color: var(--cream);
}

.journal-teaser .hub-hero p,
.journal-teaser .article-card p,
.journal-teaser .article-card .card-meta { color: var(--cream-dim); }

.journal-teaser .article-card {
  background: rgba(246, 241, 231, 0.045);
  border-color: rgba(246, 241, 231, 0.11);
  box-shadow: none;
}

.journal-teaser .article-card:hover {
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.journal-teaser .article-card h3 { color: var(--cream); }

.journal-teaser .pill {
  color: color-mix(in srgb, var(--accent, var(--violet-soft)) 72%, white);
  background: color-mix(in srgb, var(--accent, var(--violet-soft)) 12%, transparent);
}

.journal-teaser-grid {
  width: min(100%, var(--max));
  margin: 44px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.journal-teaser-more {
  margin: 8px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--cream-dim);
}

.journal-teaser-more a {
  color: var(--violet-soft);
  text-decoration: underline;
  text-decoration-color: rgba(196, 184, 254, 0.38);
  font-weight: 650;
}

@media (max-width: 900px) {
  .journal-teaser-grid { grid-template-columns: 1fr; }
}

/* ── footer ────────────────────────────────────────────────── */

.film-footer {
  display: grid;
  justify-items: center;
  width: 100%;
  min-width: 0;
  gap: 10px;
  padding: 48px 20px 56px;
  background: linear-gradient(180deg, #0a0a0b, #040405);
  color: var(--cream);
  text-align: center;
}

.film-footer > * {
  min-width: 0;
  max-width: 100%;
}

.film-footer p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream-faint);
  font-size: 16px;
}

.film-footer .footer-copyright {
  font-family: var(--sans);
  font-style: normal;
  color: rgba(245, 239, 224, 0.58);
  font-size: 12.5px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 0 8px;
  font-size: 13.5px;
  color: var(--cream-faint);
}

.footer-links a:hover { color: var(--cream); }

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 980px) {
  .moment-layout {
    grid-template-columns: 1fr;
    gap: 64px;
    text-align: center;
  }

  .moment-copy .scene-sub { margin-left: auto; margin-right: auto; }

  .app-row {
    justify-content: center;
    text-align: left;
  }

  .store-badges { justify-content: center; }

  .smart-row {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .smart-row-rev .smart-copy { order: 1; }
  .smart-row-rev .keeper-strip { order: 2; }

  .smart-copy p { margin-left: auto; margin-right: auto; }

  .keeper-strip { padding-bottom: 26px; }

  .reel-step,
  .reel-step:nth-child(even) {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 44px 0;
    justify-items: center;
    text-align: center;
    opacity: 1;
  }

  .reel-step .step-visual,
  .reel-step:nth-child(even) .step-visual {
    grid-column: 1;
    grid-row: 1;
    width: min(260px, 80vw);
    height: 330px;
    margin-bottom: 28px;
    transform: none;
  }

  .reel-step h4,
  .reel-step:nth-child(even) h4 {
    grid-column: 1;
    grid-row: 2;
    align-self: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .reel-step > p,
  .reel-step:nth-child(even) > p {
    grid-column: 1;
    grid-row: 3;
    align-self: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .quiet-answers { columns: 1; }

  .try {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .try-copy > p { margin-left: auto; margin-right: auto; }
  .try-stage { justify-self: center; }

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

  .fear-body { grid-template-columns: 1fr; }
}

@media (max-width: 1120px) {
  .header-cta .store-badge { display: none; }
  .header-cta .header-get { display: inline-block; }
}

@media (max-width: 760px) {
  :root {
    --header-main-height: 72px;
    --header-nav-height: 44px;
    --content-top-gap: 40px;
    --hero-top-gap: 44px;
  }

  .header-main {
    width: calc(100% - 32px);
    gap: 12px;
  }

  .header-cta {
    gap: 12px;
  }

  .header-nav {
    justify-content: space-around;
    gap: 0;
    padding: 0 8px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .header-nav,
  .site-nav-links {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .language-picker select {
    max-width: 112px;
  }

  .header-nav::-webkit-scrollbar,
  .site-nav-links::-webkit-scrollbar {
    display: none;
  }

  .moon {
    top: calc(var(--site-header-height) + 18px);
    right: 8%;
    width: 48px;
    height: 48px;
  }

  .sunrise { display: none; }

  .hillband-far { height: 130px; }
  .hillband-near { height: 90px; }
}

@media (max-width: 620px) {
  .film-header .wordmark-sub,
  .site-nav .wordmark-sub { display: none; }

  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }

  .read-tile .chip {
    font-size: 10px;
    padding: 5px 8px;
  }

  .phone-frame { width: min(260px, 74vw); }

  .arc-truths li { grid-template-columns: 36px 1fr; gap: 14px; }
  .arc-truths li span { width: 34px; height: 34px; font-size: 16px; }

  .try-controls { gap: 14px; }

  .peek-strip img { flex-basis: min(200px, 66vw); }
}

@media (max-width: 480px) {
  .header-get { display: none !important; }

  .language-picker select {
    max-width: 104px;
    min-height: 36px;
  }

  .wordmark {
    gap: 9px;
    font-size: 21px;
  }

  .wordmark img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 350px) {
  :root {
    --header-nav-height: 84px;
    --content-top-gap: 32px;
    --hero-top-gap: 36px;
  }

  .header-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    padding: 2px 8px;
    overflow: visible;
    white-space: normal;
  }

  .header-nav a {
    justify-content: center;
    min-width: 0;
    padding: 0 5px;
    text-align: center;
    line-height: 1.15;
  }

  .header-nav a::after {
    right: 22%;
    bottom: 3px;
    left: 22%;
  }
}

/* ═══════════════ HOW ARC THINKS (mechanics page) ═══════════════ */

body.thinks-page { background: var(--night); }

.thinks-hero {
  position: relative;
  padding: calc(var(--site-header-height) + var(--hero-top-gap)) clamp(20px, 5vw, 56px) clamp(70px, 9vh, 100px);
  background: radial-gradient(70% 60% at 50% -10%, rgba(159, 146, 236, 0.09) 0%, transparent 65%), var(--night);
  overflow: hidden;
  text-align: center;
}

.dot-arc-thinks {
  left: 50%;
  top: calc(var(--site-header-height) + clamp(12px, 3vh, 32px));
  width: min(720px, 96vw);
  margin-left: max(-360px, -48vw);
  opacity: 0.4;
  filter: blur(0.6px);
}

.thinks-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  margin: 0 auto;
}

.thinks-hero h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.1;
}

.thinks-hero h1 em {
  font-style: italic;
  color: var(--violet-soft);
}

.thinks-hero .scene-sub { margin-left: auto; margin-right: auto; }

.thinks-list {
  position: relative;
  padding: clamp(70px, 10vh, 110px) clamp(20px, 5vw, 56px) clamp(90px, 12vh, 130px);
  background: linear-gradient(180deg, var(--night) 0%, #0b0b0d 100%);
}

.thinks-intro {
  width: min(100%, 680px);
  margin: 0 auto clamp(56px, 8vh, 84px);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 23px);
  color: var(--violet-soft);
}

.thinks-items {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(48px, 7vh, 72px);
}

.thinks-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
}

.thinks-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(196, 184, 254, 0.34);
  color: var(--violet-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
}

.thinks-item h2 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.25;
  color: var(--cream);
}

.thinks-item p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--cream-dim);
}

.thinks-item .thinks-why {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--teal);
}

.thinks-close {
  position: relative;
  padding: clamp(90px, 13vh, 140px) clamp(20px, 5vw, 56px) clamp(110px, 14vh, 160px);
  background: #0a0a0a;
  text-align: center;
  overflow: hidden;
}

.thinks-close-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  margin: 0 auto;
}

.thinks-close h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.thinks-close p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream-dim);
  margin: 0 0 36px;
}

.thinks-close .store-badges { justify-content: center; margin-top: 0; }

.thinks-close .thinks-more { margin-top: 28px; }
.thinks-close .thinks-more a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .thinks-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .thinks-num { width: 40px; height: 40px; font-size: 16px; }
}

/* ═══════════════ MOTION SAFETY ═══════════════ */

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

  [data-reveal]:not([data-words]) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-words] .w {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  .night-stars .star,
  .cue svg,
  .phone-frame.is-shaken { animation: none; }

  .demo-card,
  .wall-tile,
  .ios-alert,
  .vf-dim,
  .arc-toast,
  .read-tile .chip,
  .kt,
  .kt::before { transition: none; }

  .smart-row .chip {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .reel-visual,
  .reel-step { transition: none; }

  .reel-step { opacity: 1; }

  .vg,
  .vg *,
  .vg *::before,
  .vg *::after,
  .vg::before,
  .vg::after { animation: none !important; }

  body::after,
  .scene-moment::before,
  .scene-after::before,
  .scene-smart::before,
  .scene-smart::after,
  .bokeh,
  .meteor { animation: none; }

  .meteor { display: none; }

  .dot-arc { animation: none; }

  .film-header,
  .peek-strip img,
  .store-badge { transition: none; }
}
