/* Keviio — keviio.com
   One stylesheet for every page. No build step. */

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ tokens */
:root {
  --paper: #f6f5fa;
  --paper-2: #efedf7;
  --card: #ffffff;
  --ink: #15162b;
  --ink-2: #3f4160;
  --ink-3: #5e6080;
  --line: rgba(21, 22, 43, 0.09);
  --line-2: rgba(21, 22, 43, 0.16);
  --indigo: #4b3fe0;
  --indigo-2: #3b2ecd;
  --indigo-deep: #2b1cb0;
  --coral: #ff7a59;
  --coral-ink: #b8401f;

  --lilac: #ddd8ff;
  --peach: #ffdccc;
  --mint: #cdeee2;
  --sky: #d3e5ff;
  --butter: #fff0c2;
  --rose: #ffd6e2;

  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text: "Manrope", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 28px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --shadow-soft: 0 1px 1px rgba(21, 22, 43, 0.04), 0 8px 24px -8px rgba(40, 30, 120, 0.12), 0 30px 60px -30px rgba(40, 30, 120, 0.22);
  --shadow-lift: 0 2px 4px rgba(21, 22, 43, 0.05), 0 18px 40px -12px rgba(40, 30, 120, 0.22), 0 50px 90px -40px rgba(40, 30, 120, 0.35);

  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 18px; } }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--indigo); color: #fff; }

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------------ aurora */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--paper);
}
.aurora span {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: 0.6;
  will-change: transform;
  animation: drift 38s var(--ease-in-out) infinite alternate;
}
.aurora span:nth-child(1) { left: -22vmax; top: -30vmax; background: radial-gradient(closest-side, #d9d3ff, rgba(217, 211, 255, 0) 70%); }
.aurora span:nth-child(2) { right: -28vmax; top: -12vmax; background: radial-gradient(closest-side, #ffd9c8, rgba(255, 217, 200, 0) 70%); animation-duration: 46s; animation-delay: -12s; }
.aurora span:nth-child(3) { left: 10vmax; bottom: -42vmax; background: radial-gradient(closest-side, #c9eee0, rgba(201, 238, 224, 0) 70%); animation-duration: 52s; animation-delay: -20s; }
.aurora span:nth-child(4) { right: -10vmax; bottom: -36vmax; background: radial-gradient(closest-side, #cfe1ff, rgba(207, 225, 255, 0) 70%); animation-duration: 42s; animation-delay: -6s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); }
  100% { transform: translate3d(-4vmax, 7vmax, 0) scale(0.96); }
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.08 0 0 0 0 0.17 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 12px;
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
  padding: 0 10px 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.is-scrolled .site-header__bar {
  background: rgba(250, 249, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px -18px rgba(40, 30, 120, 0.35), inset 0 0 0 0.5px rgba(21, 22, 43, 0.06);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 4px 12px -4px rgba(43, 28, 176, 0.5); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}
.site-nav a:hover { color: var(--ink); background: rgba(21, 22, 43, 0.05); }
.site-nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 859px) {
  .site-nav { display: none; }
  .site-header__bar > .btn { margin-left: auto; }
}

/* ------------------------------------------------------------------ buttons */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  font-family: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.35s var(--ease), background-color 0.2s, box-shadow 0.3s var(--ease);
}
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(21, 22, 43, 0.6); }
.btn--ink:hover { background: #24264a; }
.btn--indigo { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -10px rgba(75, 63, 224, 0.75); }
.btn--indigo:hover { background: var(--indigo-2); }
.btn--ghost { background: rgba(255, 255, 255, 0.6); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: #fff; }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* App Store badge: never transformed, never animated. Clear space >= 1/4 height. */
.badge {
  display: inline-block;
  padding: 12px;
  margin: -12px;
  line-height: 0;
  border-radius: 12px;
}
.badge img { height: 52px; width: auto; }
.badge--sm img { height: 44px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease);
}
.text-link:hover { background-size: 100% 1.5px; }
.lede .text-link, .doc__meta .text-link { display: inline; }
.text-link--indigo { color: var(--indigo); }

/* ------------------------------------------------------------------ type helpers */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.kicker b {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.h2 { font-size: clamp(2.4rem, 5.6vw, 4.75rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.12; }
.lede {
  max-width: 40ch;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.muted { color: var(--ink-3); }
.accent { color: var(--indigo); }
.plus-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px 3px;
  border-radius: 6px;
  background: rgba(75, 63, 224, 0.1);
  color: var(--indigo-deep);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  vertical-align: 2px;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ sections */
.section { position: relative; padding-block: clamp(96px, 14vw, 200px) 0; }
.section__head { max-width: 860px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lede { margin-inline: auto; }

/* ------------------------------------------------------------------ phone */
.phone {
  --w: 300px;
  position: relative;
  width: var(--w);
  aspect-ratio: 1320 / 2868;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.175);
  background: linear-gradient(145deg, #3a3b4c, #15161f 40%, #262735 80%, #4a4b5d);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 calc(var(--w) * 0.012) #0b0b12,
    0 2px 2px rgba(21, 22, 43, 0.08),
    0 40px 60px -30px rgba(30, 20, 100, 0.45),
    0 80px 120px -60px rgba(30, 20, 100, 0.5);
  box-sizing: content-box;
}
.phone::before, .phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2b2c3a;
}
.phone::before { left: -2px; top: 22%; height: 7%; box-shadow: 0 calc(var(--w) * 0.2) 0 #2b2c3a; }
.phone::after  { right: -2px; top: 28%; height: 11%; }
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.145);
  background: linear-gradient(180deg, #eeeaff, #f7f4ff 40%, #fff3ee);
  isolation: isolate;
}
.phone__screen img, .phone__screen picture { width: 100%; height: 100%; object-fit: cover; }
.phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 32%);
}
.img-missing { visibility: hidden; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-top: clamp(32px, 4vw, 56px); }
.hero__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; min-height: min(780px, calc(100vh - 120px)); }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
}
.hero__eyebrow img { width: 26px; height: 26px; border-radius: 7px; }
.hero__title {
  font-size: clamp(3.1rem, 6.3vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--indigo); }
.hero__title .dot { color: var(--coral); }
.hero__lede {
  max-width: 34ch;
  margin: 30px 0 0;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 36px;
  margin-top: 40px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 36px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* Load-in for hero copy */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 1s var(--ease) both; }
  .hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
  .hero__copy > *:nth-child(4) { animation-delay: 0.24s; }
  .hero__copy > *:nth-child(5) { animation-delay: 0.32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Hero stage: phone with saved things around it */
.stage {
  --pw: clamp(230px, 52vw, 320px);
  position: relative;
  display: grid;
  place-items: center;
  height: calc(var(--pw) * 2.32);
  max-height: 820px;
}
@media (min-width: 980px) { .stage { --pw: clamp(240px, 20vw, 300px); } }
.stage__phone {
  position: relative;
  z-index: 2;
  will-change: transform;
}
.stage__phone .phone { --w: var(--pw); }
.stage__halo {
  position: absolute;
  z-index: 0;
  width: calc(var(--pw) * 1.9);
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(75, 63, 224, 0.2), rgba(255, 122, 89, 0.08) 60%, transparent);
}
.stage__counter {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 9%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(21, 22, 43, 0.86);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -12px rgba(21, 22, 43, 0.6);
  opacity: 0;
}
.stage__counter i {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--coral);
  font-style: normal;
}
.stage__counter svg { width: 10px; height: 10px; }

.fly {
  --x: 0px; --y: 0px; --r: 0deg; --s: 1;
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: var(--cw, 150px);
  margin-left: calc(var(--cw, 150px) / -2);
  margin-top: -60px;
  translate: var(--x) var(--y);
  rotate: var(--r);
  will-change: translate, scale, opacity;
}
.fly__inner {
  position: relative;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .fly__inner {
    animation: pop 0.9s var(--ease) both, bob 9s ease-in-out infinite;
    animation-delay: var(--d, 0.3s), var(--d2, 0s);
  }
}
@keyframes pop { from { opacity: 0; scale: 0.85; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.fly__media { aspect-ratio: 4 / 3.4; overflow: hidden; }
.fly__media img { width: 100%; height: 100%; object-fit: cover; }
.fly__meta { padding: 9px 12px 11px; }
.fly__src {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fly__src::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--indigo)); }
.fly__title {
  margin-top: 3px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.fly__play {
  position: absolute;
  top: 10px; left: 10px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}
.fly__play svg { width: 11px; height: 11px; margin-left: 2px; }
.fly__price {
  position: absolute;
  right: 8px; bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
}
.fly__price s { opacity: 0.55; margin-right: 4px; }
.fly--pass .fly__inner { background: linear-gradient(160deg, #23307a, #1a2259); color: #fff; padding: 12px 13px 13px; }
.pass__route { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.pass__route span { font-size: 12px; opacity: 0.7; font-weight: 500; }
.pass__row { display: flex; justify-content: space-between; margin-top: 8px; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.pass__row b { display: block; font-size: 13px; letter-spacing: 0; opacity: 1; }
.pass__bar { height: 22px; margin-top: 10px; border-radius: 4px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px); opacity: 0.9; }
.fly--note .fly__inner { background: rgba(205, 238, 226, 0.92); padding: 12px 14px 14px; }
.note-mini__title { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.02em; margin-bottom: 8px; }
.note-mini li { list-style: none; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.9; }
.note-mini li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(21, 22, 43, 0.35); }
.note-mini li.done { color: rgba(21, 22, 43, 0.45); text-decoration: line-through; }
.note-mini li.done::before { background: var(--indigo); box-shadow: none; }

/* Positions (relative to the phone's center). Desktop. */
.fly--1 { --cw: 160px; --x: calc(var(--pw) * -0.86); --y: calc(var(--pw) * -0.74); --r: -5deg; --d: 0.35s; --d2: -1s; }
.fly--2 { --cw: 140px; --x: calc(var(--pw) * 0.82);  --y: calc(var(--pw) * -0.88); --r: 4deg;  --d: 0.45s; --d2: -4s; --c: #ff3b5c; }
.fly--3 { --cw: 164px; --x: calc(var(--pw) * -0.92); --y: calc(var(--pw) * 0.22);  --r: 3deg;  --d: 0.55s; --d2: -2s; --c: #e60023; }
.fly--4 { --cw: 150px; --x: calc(var(--pw) * 0.86);  --y: calc(var(--pw) * 0.02);  --r: -3deg; --d: 0.65s; --d2: -6s; }
.fly--5 { --cw: 156px; --x: calc(var(--pw) * 0.8);   --y: calc(var(--pw) * 0.9);  --r: 5deg;  --d: 0.75s; --d2: -3s; }
.fly--6 { --cw: 150px; --x: calc(var(--pw) * -0.78); --y: calc(var(--pw) * 1.02); --r: -4deg; --d: 0.85s; --d2: -5s; }
/* Narrow desktop: --pw bottoms out at its clamp minimum while the stage column
   keeps shrinking, so the outer cards would reach past the viewport edge. */
@media (min-width: 980px) and (max-width: 1140px) {
  .fly { --cw: 126px !important; }
  .fly__title { font-size: 12px; }
  .fly--1 { --x: calc(var(--pw) * -0.58); --y: calc(var(--pw) * -0.74); }
  .fly--2 { --x: calc(var(--pw) * 0.54);  --y: calc(var(--pw) * -0.88); }
  .fly--3 { --x: calc(var(--pw) * -0.62); --y: calc(var(--pw) * 0.22); }
  .fly--4 { --x: calc(var(--pw) * 0.58);  --y: calc(var(--pw) * 0.02); }
  .fly--5 { --x: calc(var(--pw) * 0.54);  --y: calc(var(--pw) * 0.9); }
  .fly--6 { --x: calc(var(--pw) * -0.56); --y: calc(var(--pw) * 1.02); }
}
@media (max-width: 979px) {
  .fly { --cw: 118px !important; }
  .fly__title { font-size: 12px; }
  .fly--1 { --x: calc(var(--pw) * -0.6);  --y: calc(var(--pw) * -0.86); }
  .fly--2 { --x: calc(var(--pw) * 0.58);  --y: calc(var(--pw) * -0.62); }
  .fly--3 { --x: calc(var(--pw) * -0.62); --y: calc(var(--pw) * 0.36); }
  .fly--4 { --x: calc(var(--pw) * 0.6);   --y: calc(var(--pw) * 0.42); }
  .fly--5, .fly--6 { display: none; }
  .pass__route { font-size: 18px; }
}
@media (max-width: 520px) {
  .stage { --pw: 58vw; }
  .fly { --cw: 98px !important; }
  .fly__meta { padding: 6px 8px 8px; }
  .fly__title { font-size: 11px; }
  .fly__src { font-size: 9px; }
  .fly--1 { --x: -32vw; --y: -56vw; }
  .fly--2 { --x: 32vw;  --y: -30vw; }
  .fly--3 { --x: -32vw; --y: 34vw; }
  .fly--4 { --x: 32vw;  --y: 58vw; }
  .fly--pass .fly__inner { padding: 9px 10px 10px; }
  .pass__row { font-size: 7px; }
  .pass__row b { font-size: 10px; }
  .pass__route { font-size: 15px; }
}

/* Scroll: saved things fly into the phone. Native scroll-driven where supported. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .fly {
      animation: fly-in linear both;
      animation-timeline: scroll(root);
      animation-range: 0 75vh;
    }
    .stage__phone { animation: phone-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .stage__counter { animation: counter-in linear both; animation-timeline: scroll(root); animation-range: 45vh 75vh; }
  }
  /* JS fallback drives --p from 0 to 1. */
  .no-sda .fly {
    translate: calc(var(--x) * (1 - var(--p, 0) * 0.92)) calc(var(--y) * (1 - var(--p, 0) * 0.92));
    scale: calc(1 - var(--p, 0) * 0.7);
    opacity: calc(1 - var(--p, 0) * 1.2);
  }
  .no-sda .stage__phone { translate: 0 calc(var(--p2, 0) * 60px); }
  .no-sda .stage__counter { opacity: clamp(0, (var(--p, 0) - 0.6) * 3, 1); }
}
@keyframes fly-in {
  0%   { translate: var(--x) var(--y); scale: 1; opacity: 1; }
  85%  { opacity: 0.9; }
  100% { translate: calc(var(--x) * 0.06) calc(var(--y) * 0.06 + 40px); scale: 0.28; rotate: 0deg; opacity: 0; }
}
@keyframes phone-drift { to { translate: 0 60px; } }
@keyframes counter-in { from { opacity: 0; translate: -50% 10px; } to { opacity: 1; translate: -50% 0; } }

/* ------------------------------------------------------------------ reveal */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    .reveal-stagger > * {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
  }
  .io .reveal, .io .reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
    transition-delay: var(--delay, 0s);
  }
  .io .reveal.is-in, .io .reveal-stagger.is-in > * { opacity: 1; transform: none; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ 01 save */
.marquee {
  --gap: clamp(28px, 4vw, 64px);
  position: relative;
  margin-top: clamp(56px, 8vw, 96px);
  overflow: hidden;
  padding-block: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__row { display: flex; width: max-content; }
.marquee__row + .marquee__row { margin-top: 6px; }
.marquee__list {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  letter-spacing: -0.045em;
  line-height: 1.1;
  white-space: nowrap;
}
.marquee__list li { display: flex; align-items: center; gap: var(--gap); }
.marquee__list li::after {
  content: "";
  width: 0.16em; height: 0.16em;
  border-radius: 50%;
  background: var(--coral);
}
.marquee__row--outline .marquee__list { color: rgba(21, 22, 43, 0.16); font-weight: 500; }
.marquee__row--outline .marquee__list li::after { background: var(--indigo); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__row { animation: marquee 48s linear infinite; }
  .marquee__row--outline { animation-direction: reverse; animation-duration: 56s; }
  .marquee:hover .marquee__row { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

.ways {
  display: grid;
  gap: 56px;
  align-items: center;
  margin-top: clamp(64px, 9vw, 120px);
}
@media (min-width: 980px) { .ways { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 80px; } }
.ways__list {
  display: grid;
  gap: 0;
  list-style: none;
  counter-reset: way;
}
@media (min-width: 640px) { .ways__list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.ways__list li {
  counter-increment: way;
  padding: 22px 0 24px;
  border-top: 1px solid var(--line-2);
}
.ways__list h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.ways__list h3::before {
  content: counter(way, decimal-leading-zero);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--indigo);
}
.ways__list p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.ways__list q { font-weight: 700; color: var(--ink); quotes: "\201C" "\201D"; }
.ways__phone { display: grid; place-items: center; min-width: 0; }
.ways__phone .phone { --w: clamp(240px, 60vw, 320px); rotate: 3deg; }

/* ------------------------------------------------------------------ 02 find */
.find {
  display: grid;
  gap: 56px;
  align-items: center;
  margin-top: clamp(56px, 8vw, 96px);
}
@media (min-width: 980px) { .find { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; } }
.find__phone { display: grid; place-items: center; }
.find__phone .phone { --w: clamp(240px, 60vw, 320px); rotate: -3deg; }
.search-demo {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}
.search-demo__field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 6px 20px -12px rgba(40, 30, 120, 0.3);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.search-demo__field svg { flex: none; width: 22px; height: 22px; color: var(--indigo); }
.search-demo__query { white-space: pre; }
.search-demo__placeholder { color: var(--ink-3); font-weight: 400; }
.caret {
  width: 2px;
  height: 1.2em;
  margin-left: -10px;
  background: var(--indigo);
  border-radius: 1px;
}
@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1.05s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }
.search-demo__meta {
  margin: 18px 4px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.results { display: grid; gap: 12px; list-style: none; }
@media (min-width: 640px) { .results { grid-template-columns: 1fr 1fr; } }
.result {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.result__thumb {
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  padding: 8px;
  font-size: 7px;
  line-height: 1.3;
  font-weight: 700;
}
.result__thumb--pass { background: linear-gradient(160deg, #23307a, #1a2259); color: #fff; }
.result__thumb--pass b { display: block; font-family: var(--display); font-size: 13px; letter-spacing: -0.01em; }
.result__thumb--ticket { background: #fbfaf7; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.result__thumb--ticket b { display: block; font-family: var(--display); font-size: 9px; margin-bottom: 6px; }
.result__thumb .cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 6px; }
.result__thumb .cells span { display: block; padding: 3px 0; border-radius: 3px; text-align: center; background: rgba(21, 22, 43, 0.06); }
.result__thumb--pass .cells span { background: rgba(255, 255, 255, 0.12); }
.result__title { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; line-height: 1.2; }
.result__text { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.result__tag { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
mark {
  padding: 0;
  border-radius: 3px;
  background: rgba(255, 122, 89, 0.3);
  color: inherit;
  box-shadow: 0 0 0 2px rgba(255, 122, 89, 0.3);
}
.js .search-demo[data-state="idle"] .result { opacity: 0; transform: translateY(14px) scale(0.98); }
.search-demo[data-state="done"] .result:nth-child(2) { transition-delay: 0.12s; }

.finders {
  display: grid;
  gap: 28px 40px;
  margin-top: 40px;
  list-style: none;
}
@media (min-width: 640px) { .finders { grid-template-columns: 1fr 1fr; } }
.finders h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.finders p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.chip i { width: 10px; height: 10px; border-radius: 50%; background: #e5484d; }

/* ------------------------------------------------------------------ 03 piles */
.piles {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: clamp(56px, 8vw, 100px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}
.piles__phone { grid-column: 1 / -1; order: -1; display: grid; place-items: center; margin-bottom: 24px; }
.piles__phone .phone { --w: clamp(240px, 62vw, 310px); }
@media (min-width: 980px) {
  .piles { grid-template-columns: 1fr 1fr minmax(300px, 1.15fr) 1fr 1fr; gap: 26px; }
  .piles__phone { grid-column: 3; grid-row: 1 / span 2; order: 0; margin: 0; }
}
.pile {
  position: relative;
  aspect-ratio: 4 / 4.4;
  max-width: 200px;
  width: 100%;
  justify-self: center;
}
.pile__sheet {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--tint, #fff);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transition: transform 0.9s var(--ease);
}
.pile__sheet:nth-child(1) { transform: rotate(-7deg) translate(-6px, 6px); filter: brightness(0.97); }
.pile__sheet:nth-child(2) { transform: rotate(5deg) translate(6px, 2px); filter: brightness(0.985); }
.pile__sheet:nth-child(3) {
  display: flex;
  flex-direction: column;
  padding: 16px;
}
.pile:hover .pile__sheet:nth-child(1) { transform: rotate(-12deg) translate(-16px, 8px); }
.pile:hover .pile__sheet:nth-child(2) { transform: rotate(10deg) translate(16px, 0); }
.pile__lines { flex: 1; display: grid; align-content: start; gap: 7px; margin-top: 4px; }
.pile__lines span { display: block; height: 7px; border-radius: 4px; background: rgba(21, 22, 43, 0.1); }
.pile__lines span:nth-child(1) { width: 78%; }
.pile__lines span:nth-child(2) { width: 56%; }
.pile__lines span:nth-child(3) { width: 88%; }
.pile__lines span:nth-child(4) { width: 40%; }
.pile__peek {
  margin: 0 0 auto;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-2);
}
.pile__peek b { display: block; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.pile__name { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.1; }
.pile__hint { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.pile--receipts { --tint: #fff7e6; }
.pile--tickets { --tint: #dfe6ff; }
.pile--reservations { --tint: #f1ecff; }
.pile--recipes { --tint: #ffe3d6; }
.pile--chats { --tint: #dff3ea; }
.pile--places { --tint: #e2f0ff; }
.pile--shopping { --tint: #ffe1ea; }
.pile--codes { --tint: #eef0f4; }
.pile__code { width: 54px; height: 54px; margin-top: auto; border-radius: 6px; background:
  conic-gradient(from 90deg at 30% 30%, var(--ink) 25%, transparent 0) 0 0 / 12px 12px,
  conic-gradient(from 0deg at 60% 60%, var(--ink) 25%, transparent 0) 3px 5px / 9px 9px; opacity: 0.8; }
.piles__note { margin-top: clamp(40px, 6vw, 72px); text-align: center; color: var(--ink-2); }

/* ------------------------------------------------------------------ 04 lists */
.lists {
  display: grid;
  gap: 56px;
  align-items: start;
  margin-top: clamp(56px, 8vw, 96px);
}
@media (min-width: 980px) { .lists { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.8fr); gap: 48px; align-items: center; } }
.aisle {
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  background: rgba(205, 238, 226, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.aisle__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.aisle__title { font-family: var(--display); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.03em; }
.aisle__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}
.aisle__btn:hover { background: #2a2c50; }
.aisle__btn svg { width: 14px; height: 14px; }
.aisle__list { position: relative; list-style: none; }
.aisle__item, .aisle__group {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.5s var(--ease);
}
.aisle__item { min-height: 40px; font-weight: 600; font-size: 16px; }
.aisle__item::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.75px rgba(21, 22, 43, 0.35);
}
.aisle__item.done { color: rgba(21, 22, 43, 0.45); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.aisle__item.done::before { box-shadow: none; background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.aisle__thumb { width: 34px; height: 34px; margin-left: auto; border-radius: 8px; overflow: hidden; }
.aisle__thumb img { width: 100%; height: 100%; object-fit: cover; }
.aisle__group {
  min-height: 30px;
  padding-top: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(21, 22, 43, 0.55);
}
.aisle:not(.is-sorted) .aisle__group { display: none; }
.aisle__foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(21, 22, 43, 0.08); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ring { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--indigo) 0 28%, rgba(21, 22, 43, 0.12) 0); -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px); mask: radial-gradient(circle, transparent 4.5px, #000 5px); }
.lists__phone { display: grid; place-items: center; }
.lists__phone .phone { --w: clamp(240px, 60vw, 300px); }
.features { display: grid; gap: 0; list-style: none; }
.features li { padding: 16px 0; border-top: 1px solid var(--line-2); }
.features li:last-child { border-bottom: 1px solid var(--line-2); }
.features h3 { font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1.25; }
.features p { margin: 4px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }

/* ------------------------------------------------------------------ 05 read */
.read {
  display: grid;
  gap: 56px;
  align-items: center;
  margin-top: clamp(56px, 8vw, 96px);
}
@media (min-width: 980px) { .read { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.duo { position: relative; display: flex; justify-content: center; min-width: 0; padding-bottom: 40px; }
.duo .phone { --w: clamp(150px, 42vw, 290px); min-width: 0; flex: 0 0 auto; }
.duo .phone:first-child { rotate: -4deg; z-index: 1; }
.duo .phone:last-child { margin-left: calc(var(--w) * -0.32); margin-top: 60px; rotate: 4deg; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .duo .phone:last-child { animation: slide-up linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
  }
}
@keyframes slide-up { from { translate: 0 80px; } to { translate: 0 0; } }
.points { list-style: none; display: grid; gap: 0; margin-top: 36px; }
.points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
  font-size: 17px;
  color: var(--ink-2);
}
.points li strong { color: var(--ink); font-weight: 700; }
.points svg { width: 22px; height: 22px; margin-top: 2px; color: var(--indigo); }
.video-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--line);
}
.video-note__thumb { position: relative; flex: none; width: 78px; height: 56px; border-radius: 12px; overflow: hidden; }
.video-note__thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-note__thumb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4)); }
.video-note p { margin: 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }
.video-note strong { color: var(--ink); }

/* ------------------------------------------------------------------ 06 price */
.price {
  display: grid;
  gap: 48px;
  align-items: center;
  margin-top: clamp(40px, 6vw, 72px);
}
@media (min-width: 980px) { .price { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 64px; } }
.price__figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15em 0.3em;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.6rem, 9vw, 8.25rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.price__old { position: relative; color: rgba(21, 22, 43, 0.28); }
.price__old::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%; top: 52%;
  height: 0.06em;
  border-radius: 1em;
  background: var(--coral);
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .price__old::after { transform: scaleX(var(--strike, 1)); transition: transform 0.9s var(--ease) 0.2s; }
  .io .price:not(.is-in) .price__old::after { --strike: 0; }
  @supports (animation-timeline: view()) {
    .price__old::after { animation: strike linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
  }
}
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.price__arrow { font-weight: 400; font-size: 0.5em; color: var(--ink-3); align-self: center; }
.price__new { color: var(--indigo); }
.price__save {
  display: inline-flex;
  align-self: center;
  padding: 0.3em 0.6em;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.12em;
  letter-spacing: 0;
  line-height: 1;
}
.price__copy { max-width: 46ch; margin-top: 28px; }
.price__phone { display: grid; place-items: center; }
.price__phone .phone { --w: clamp(240px, 60vw, 300px); rotate: 3deg; }

/* ------------------------------------------------------------------ 07 together */
.together {
  display: grid;
  gap: 18px;
  margin-top: clamp(56px, 8vw, 96px);
}
@media (min-width: 980px) {
  .together { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 22px; }
  .panel--collections { grid-column: 1 / span 2; grid-row: 1 / span 2; }
}
.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--tint, #fff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), var(--shadow-soft);
}
.panel h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; line-height: 1.08; }
.panel p { margin: 12px 0 0; color: var(--ink-2); font-size: 16px; max-width: 42ch; }
.panel--collections { --tint: rgba(221, 216, 255, 0.7); display: grid; gap: 32px; align-items: end; }
@media (min-width: 700px) { .panel--collections { grid-template-columns: 1fr auto; } }
.panel--collections .phone { --w: clamp(220px, 22vw, 270px); justify-self: center; margin-bottom: calc(var(--w) * -0.9); }
.panel--reminders { --tint: rgba(255, 220, 204, 0.8); }
.panel--private { --tint: rgba(21, 22, 43, 0.94); color: #fff; }
.panel--private p { color: rgba(255, 255, 255, 0.72); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 16px -10px rgba(40, 30, 120, 0.4);
}
.pill svg { width: 15px; height: 15px; color: var(--coral-ink); }
.panel--private .pill { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.panel--private .pill svg { color: var(--coral); }
.panel--private .plus-tag, .dark .plus-tag, .plan--plus .plus-tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
.share-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }

/* ------------------------------------------------------------------ 08 privacy (dark) */
.dark {
  position: relative;
  margin-top: clamp(96px, 14vw, 200px);
  padding-block: clamp(88px, 12vw, 168px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30% -10% auto auto;
  width: 80vmax;
  height: 80vmax;
  background: radial-gradient(closest-side, rgba(75, 63, 224, 0.55), rgba(75, 63, 224, 0) 70%);
}
.dark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -20vmax;
  bottom: -40vmax;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(closest-side, rgba(255, 122, 89, 0.22), rgba(255, 122, 89, 0) 70%);
}
.dark .kicker { color: rgba(255, 255, 255, 0.7); }
.dark .kicker b { background: #fff; color: var(--ink); }
.dark .lede { color: rgba(255, 255, 255, 0.72); }
.dark :focus-visible { outline-color: #fff; }
.vows {
  display: grid;
  gap: 0;
  margin-top: clamp(56px, 7vw, 88px);
  list-style: none;
}
@media (min-width: 760px) { .vows { grid-template-columns: repeat(2, 1fr); column-gap: 56px; } }
@media (min-width: 1100px) { .vows { grid-template-columns: repeat(4, 1fr); column-gap: 40px; } }
.vows li { padding: 26px 0 8px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.vows h3 { font-size: 1.45rem; letter-spacing: -0.025em; line-height: 1.12; }
.vows p { margin: 10px 0 0; font-size: 16px; color: rgba(255, 255, 255, 0.7); }
.dark .text-link { color: #fff; margin-top: 40px; }

/* ------------------------------------------------------------------ iPad band */
.devices {
  display: grid;
  gap: 24px;
  align-items: end;
  padding-block: clamp(80px, 10vw, 140px) 0;
}
@media (min-width: 900px) { .devices { grid-template-columns: 1.3fr 0.7fr; } }
.devices__big {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.devices__big span { color: var(--coral); font-weight: 400; }
.devices p { margin: 0; color: var(--ink-2); max-width: 36ch; }

/* ------------------------------------------------------------------ pricing */
.plans {
  display: grid;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 72px);
  align-items: stretch;
}
@media (min-width: 900px) { .plans { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 24px; } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}
.plan__name { font-size: 1.6rem; letter-spacing: -0.03em; }
.plan__desc { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; }
.plan__price {
  margin: 28px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 5vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}
.plan__price small { font-size: 0.32em; letter-spacing: -0.01em; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.plan__list { display: grid; gap: 10px; margin-top: 28px; list-style: none; font-size: 16px; }
.plan__list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; line-height: 1.45; }
.plan__list svg { width: 18px; height: 18px; margin-top: 2px; color: var(--indigo); }
.plan__cta { margin-top: auto; padding-top: 32px; }
.plan--plus {
  background: linear-gradient(160deg, #3b2ecd 0%, #2b1cb0 70%, #24189a 100%);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(43, 28, 176, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  isolation: isolate;
}
.plan--plus::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px; top: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 122, 89, 0.55), transparent);
}
.plan--plus .plan__desc { color: rgba(255, 255, 255, 0.76); }
.plan--plus .plan__list svg { color: var(--coral); }
.plan--plus :focus-visible { outline-color: #fff; }
@media (min-width: 640px) { .plan--plus .plan__list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.billing { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) { .billing { grid-template-columns: 1.25fr 1fr; } }
.billing__opt {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.billing__opt--best { background: #fff; color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); }
.billing__label { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.billing__amount { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 2.2rem; letter-spacing: -0.04em; line-height: 1; }
.billing__amount small { font-size: 0.42em; font-weight: 500; letter-spacing: 0; opacity: 0.7; }
.billing__fine { margin: 8px 0 0; font-size: 14px; opacity: 0.8; line-height: 1.4; }
.billing__flag {
  position: absolute;
  top: -11px; right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.plans__note { margin: 32px auto 0; max-width: 720px; text-align: center; font-size: 15px; color: var(--ink-2); }
.plans__note strong { color: var(--ink); }
.fine-print { margin: 16px auto 0; max-width: 760px; text-align: center; font-size: 13px; line-height: 1.55; color: var(--ink-3); }

/* ------------------------------------------------------------------ FAQ */
.faq {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 980px) { .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; } .faq .section__head { position: sticky; top: 120px; } }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  position: relative;
  display: block;
  padding: 24px 56px 24px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 32px; height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    rgba(21, 22, 43, 0.06);
  transition: transform 0.4s var(--ease), background-color 0.2s;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover::after { background-color: rgba(21, 22, 43, 0.1); }
.faq__answer { padding: 0 48px 26px 0; color: var(--ink-2); }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer a { color: var(--indigo); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__answer { animation: rise 0.5s var(--ease) both; }
}

/* ------------------------------------------------------------------ final CTA */
.final {
  position: relative;
  padding-block: clamp(110px, 16vw, 220px);
  text-align: center;
}
.final__icon {
  width: clamp(96px, 12vw, 136px);
  height: auto;
  margin: 0 auto 40px;
  border-radius: 24%;
  box-shadow: 0 30px 60px -24px rgba(43, 28, 176, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
@media (prefers-reduced-motion: no-preference) {
  .final__icon { animation: float 7s ease-in-out infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.final h2 { font-size: clamp(2.8rem, 7.5vw, 6.5rem); letter-spacing: -0.05em; line-height: 0.95; }
.final .lede { margin-inline: auto; }
.final__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 32px; margin-top: 44px; }

/* ------------------------------------------------------------------ footer */
.site-footer {
  position: relative;
  padding: 64px 0 40px;
  border-top: 1px solid var(--line-2);
  font-size: 15px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.4);
}
.site-footer__grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--text); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__tag { margin: 14px 0 0; max-width: 32ch; }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
}
.site-footer__legal p { margin: 0; max-width: 80ch; }

/* ------------------------------------------------------------------ document pages */
.doc { padding-block: clamp(48px, 8vw, 110px) clamp(80px, 10vw, 140px); }
.doc__head { max-width: 880px; }
.doc__head h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); letter-spacing: -0.05em; line-height: 0.96; }
.doc__head .lede { max-width: 52ch; }
.doc__meta { margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.doc__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 1000px) { .doc__layout { grid-template-columns: 240px minmax(0, 1fr); gap: 80px; } }
.toc { font-size: 14px; }
@media (min-width: 1000px) { .toc { position: sticky; top: 110px; align-self: start; } }
.toc h2 { font-family: var(--text); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 4px; }
.toc a { display: block; padding: 4px 0; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.toc a:hover { color: var(--indigo); }
.prose { max-width: 720px; min-width: 0; font-size: 17px; color: var(--ink-2); }
.prose h2 { margin: 64px 0 16px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--indigo); }
.prose a { color: var(--indigo); font-weight: 700; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .callout {
  margin: 0 0 40px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), var(--shadow-soft);
}
.prose .callout p:last-child, .prose .callout ul:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line-2); }
.prose th { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 15px; }
.prose thead th { font-family: var(--text); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.table-scroll { max-width: 100%; }
@media (min-width: 700px) {
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .table-scroll table { min-width: 460px; }
}
/* Below 700px a three-column table cannot be read side by side, so each row
   becomes its own card with the column name printed above every value. */
@media (max-width: 699px) {
  .prose table, .prose tbody, .prose tr, .prose td, .prose tbody th { display: block; width: 100%; }
  .prose thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .prose tr {
    margin: 0 0 14px;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), var(--shadow-soft);
  }
  .prose td, .prose tbody th { padding: 0; border: 0; }
  .prose td + td, .prose tbody th + td { margin-top: 14px; }
  .prose td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-family: var(--text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
  }
  .prose tr > :first-child { font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
}

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; } }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), var(--shadow-soft);
  scroll-margin-top: 110px;
}
.contact-card__label {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-card__value {
  font-family: var(--display);
  font-size: clamp(1.25rem, 5.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-card__note { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.contact-card--mail {
  background: linear-gradient(140deg, rgba(221, 216, 255, 0.85), rgba(255, 255, 255, 0.78) 62%);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.contact-card--mail .contact-card__value { color: var(--indigo-deep); }
.contact-card--mail:hover, .contact-card--mail:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), var(--shadow-lift); }
.contact-card__cta { margin-top: auto; padding-top: 4px; font-family: var(--display); font-weight: 600; color: var(--indigo); }
.contact-card__links { list-style: none; display: grid; gap: 8px; margin: 4px 0 0; padding: 0; }
.contact-card__links a { color: var(--indigo); font-weight: 700; text-underline-offset: 3px; }

.help-grid { display: grid; gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 760px) { .help-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.help-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), var(--shadow-soft);
  scroll-margin-top: 110px;
}
.help-card h2 { font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.15; }
.help-card ol, .help-card ul { margin: 14px 0 0; padding-left: 1.25em; color: var(--ink-2); font-size: 16px; }
.help-card li { margin: 0.45em 0; }
.help-card li::marker { color: var(--indigo); font-weight: 700; }
.help-card p { margin: 12px 0 0; color: var(--ink-2); font-size: 16px; }
.help-card strong { color: var(--ink); }
.help-card a { color: var(--indigo); font-weight: 700; }
.contact {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 40px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background: var(--ink);
  color: #fff;
}
@media (min-width: 760px) { .contact { grid-template-columns: 1fr auto; } }
.contact h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.04em; }
.contact p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.72); }
.contact .btn { background: #fff; color: var(--ink); }
.contact :focus-visible { outline-color: #fff; }

.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.lost .lost__code { margin: 0; max-width: none; font-family: var(--display); font-weight: 600; font-size: clamp(7rem, 26vw, 18rem); line-height: 0.85; letter-spacing: -0.07em; color: rgba(75, 63, 224, 0.16); }
.lost h1 { margin-top: 24px; font-size: clamp(2rem, 4vw, 3rem); }
.lost p { margin: 16px auto 0; max-width: 40ch; color: var(--ink-2); }
.lost .final__actions { margin-top: 36px; }

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .aurora span { animation: none; }
}

@media (max-width: 979px) {
  .read .duo { order: 2; }
}

/* 980-1160px: the side column is narrower than a full-size phone plus the width
   its rotation adds, so every side phone is scaled to the column here. */
@media (min-width: 980px) and (max-width: 1160px) {
  .ways__phone .phone,
  .find__phone .phone,
  .piles__phone .phone,
  .lists__phone .phone,
  .price__phone .phone { --w: clamp(215px, 24vw, 320px); }
}
