/* getscrolled.app home page. Headlines end in a coral dot, a warm glow sits underneath, and
   notes are handwritten with doodled arrows, as if drawn onto a screenshot. Light (paper) is
   the default; dark (the App Store screenshots' charcoal) is [data-theme="dark"], set by the
   head script when a visitor picks it. --char is the
   page colour in either theme. */

:root {
  --char: #f3eee4;          /* paper */
  --char-hi: #ebe4d7;
  --char-up: #f8f4ec;
  --nav-glass: rgba(243, 238, 228, 0.76);
  --ink: #1d1b17;
  --ink-2: rgba(29, 27, 23, 0.74);
  --ink-3: rgba(29, 27, 23, 0.62);
  --rule: rgba(29, 27, 23, 0.12);
  --coral: #ff6b6b;
  --coral-deep: #e04448;
  --coral-ink: #bf3539;     /* coral for text on paper: readable contrast (4.8:1) */
  --cta-hover: #3d3a34;
  color-scheme: light;
  --glow-a: rgba(255, 128, 90, 0.2);
  --glow-b: rgba(255, 186, 110, 0.16);
  --note-shadow: none;
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 18px 40px -30px rgba(60, 40, 20, 0.35);
  --phone-shadow: 0 50px 90px -34px rgba(60, 40, 20, 0.45), 0 24px 40px -26px rgba(60, 40, 20, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --svh: 1vh;
  --hand: "Nothing You Could Do", "Bradley Hand", cursive;
}

[data-theme="dark"] {
  --char: #141418;
  --char-hi: #1b1b20;
  --char-up: #232329;
  --nav-glass: rgba(20, 20, 24, 0.72);
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.7);
  --ink-3: rgba(255, 255, 255, 0.55);
  --rule: rgba(255, 255, 255, 0.1);
  --coral-ink: #ff7a7a;
  --cta-hover: #ececf0;
  color-scheme: dark;
  --glow-a: rgba(255, 107, 107, 0.26);
  --glow-b: rgba(255, 150, 70, 0.15);
  --note-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  --card-shadow: none;
  --phone-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.75), 0 24px 40px -24px rgba(0, 0, 0, 0.6);
}

@supports (height: 100svh) {
  :root { --svh: 1svh; }
}

* { box-sizing: border-box; }

html {
  background: var(--char);
  transition: background-color 0.3s;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--char);
  color: var(--ink);
  font: 17px/1.5 var(--sf);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
/* theme-paired images: the other theme's copy is hidden (and, being lazy, never loads) */
html:not([data-theme="dark"]) .th-dark,
[data-theme="dark"] .th-light { display: none !important; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }

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

.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  background: var(--ink);
  color: var(--char);
  padding: 10px 14px;
  border-radius: 10px;
}

:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 3px; }

/* the coral full stop every headline ends on */
.dot {
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin-left: 0.05em;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0.35em rgba(255, 107, 107, 0.55);
  vertical-align: baseline;
}

.soft { color: var(--ink-3); }
.nw { white-space: nowrap; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 64px;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: var(--nav-glass);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img { width: 28px; height: 28px; border-radius: 7px; }

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--char);
  background: var(--ink);
  padding: 8px 15px;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s, background 0.2s;
}

.nav-right { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.theme-toggle:hover { border-color: var(--ink-3); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun,
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }

.nav-cta.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-cta:hover, .nav-cta:focus-visible { background: var(--cta-hover); }

/* ── Type ────────────────────────────────────────────────────────────── */
.display {
  font-size: clamp(54px, 9.4vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-title,
.h2,
.close-title {
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 700;
}

.kicker {
  color: var(--ink-3);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.lede {
  color: var(--ink-2);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 30em;
  margin-top: 24px;
}

.note {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--ink);
  text-shadow: var(--note-shadow);
  position: absolute;
  z-index: 3; /* drawn on top of the screenshot */
  white-space: nowrap;
  pointer-events: none;
}

/* doodled arrows, drawn with the same pen as the notes */
.arrow {
  position: absolute;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
  color: var(--ink);
}

.arrow path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ── Phone frame (the captures carry their own status bar; the island is drawn) ── */
.phone {
  position: relative;
  width: var(--pw, 300px);
  padding: calc(var(--pw, 300px) * 0.034);
  border-radius: calc(var(--pw, 300px) * 0.175);
  background: linear-gradient(160deg, #3a3a42 0%, #1a1a1f 38%, #0d0d10 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    inset 0 0 0 4px rgba(0, 0, 0, 0.55),
    var(--phone-shadow);
}

.screen {
  position: relative;
  aspect-ratio: 1320 / 2868;
  border-radius: calc(var(--pw, 300px) * 0.142);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.island {
  position: absolute;
  top: calc(var(--pw, 300px) * 0.07);
  left: 50%;
  width: 31%;
  height: calc(var(--pw, 300px) * 0.09);
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
  z-index: 3;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100 * var(--svh));
  padding: 120px var(--gutter) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
}

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

.hero .display .dot { animation: dot-in 0.9s 0.55s var(--ease) both; }

.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > .get { animation: fade 0.9s 0.3s var(--ease) both; } /* the badge fades, never moves */

.get { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; } /* keeps Apple's clear space round the badge */
.badge { display: inline-block; border-radius: 9px; padding: 0; }
.badge img { height: 52px; width: auto; }
.micro { color: var(--ink-3); font-size: 14px; }

.hero-stage {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: min(78vh, 760px);
  animation: rise 1.1s 0.15s var(--ease) both;
  /* the phone sits left of centre to leave the note room on its right */
  --pw: clamp(220px, min(23vw, calc(31 * var(--svh))), 330px);
  --pad: clamp(90px, 10vw, 170px);
  padding-right: var(--pad);
}

.phone-hero {
  transform: rotate(4deg);
  z-index: 2;
}



/* the note sits just right of the phone, level with the ring; the arrow drops onto the ring */
.note-hero { left: calc(50% - var(--pad) / 2 + var(--pw) * 0.6); top: calc(50% - var(--pw) * 0.64); }
@media (min-width: 961px) and (max-width: 1199px) {
  .note-hero { white-space: normal; width: 5.8em; margin-top: -1.15em; }
}
.arrow-hero { left: calc(50% - var(--pad) / 2 + var(--pw) * 0.31); top: calc(50% - var(--pw) * 0.52); width: 92px; height: 70px; }

.glow {
  position: absolute;
  inset: auto 0 -10vh;
  height: 70vh;
  background:
    radial-gradient(46% 52% at 62% 74%, var(--glow-a) 0%, transparent 72%),
    radial-gradient(56% 58% at 30% 82%, var(--glow-b) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

/* ── Feed cards: a paused short-video frame, 16em x 28.44em, sized by font-size ── */
.fcard {
  position: relative;
  flex: none;
  width: 16em;
  height: 28.44em;
  border-radius: 1.6em;
  overflow: hidden;
  background: #111;
  color: #fff;
  font-family: var(--sf);
  letter-spacing: 0;
  text-align: left;
  box-shadow: 0 2.2em 4em rgba(0, 0, 0, 0.45), 0 0.6em 1.2em rgba(0, 0, 0, 0.25), inset 0 0 0 0.08em rgba(255, 255, 255, 0.1);
}

.fcard p { margin: 0; }
.fcard .art { position: absolute; inset: 0; overflow: hidden; }
.fcard .photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.fcard .vig {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.68) 100%),
    radial-gradient(120% 80% at 50% 45%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.32) 100%);
}

.fcard .rail { position: absolute; right: 0.6em; bottom: 4.9em; display: flex; flex-direction: column; align-items: center; gap: 0.85em; }
.fcard .rail .av { position: relative; width: 2.1em; height: 2.1em; margin-bottom: 0.45em; border-radius: 50%; border: 0.12em solid #fff; background: linear-gradient(135deg, #ffbd7a, #ff5f8f); }
.fcard .rail .av::after {
  content: "+";
  position: absolute;
  left: 50%;
  bottom: -0.62em;
  width: 1.1em;
  height: 1.1em;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #ff3b5c;
  color: #fff;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.1em;
  text-align: center;
}
.fcard .act { display: flex; flex-direction: column; align-items: center; gap: 0.18em; }
.fcard .act svg { width: 1.8em; height: 1.8em; filter: drop-shadow(0 0.06em 0.2em rgba(0, 0, 0, 0.45)); }
.fcard .act svg *, .fcard .sound svg * { fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fcard .act b { font-size: 0.66em; font-weight: 600; text-shadow: 0 0.05em 0.15em rgba(0, 0, 0, 0.55); }

.fcard .who { position: absolute; left: 0.9em; right: 3.8em; bottom: 1.5em; }
.fcard .handle { display: flex; align-items: center; gap: 0.5em; font-weight: 700; font-size: 0.82em; }
.fcard .follow { border: 0.08em solid rgba(255, 255, 255, 0.85); border-radius: 0.4em; padding: 0.04em 0.45em; font-size: 0.86em; font-weight: 600; }
.fcard .desc { margin-top: 0.35em; font-size: 0.72em; opacity: 0.92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard .sound { display: flex; align-items: center; gap: 0.35em; margin-top: 0.4em; font-size: 0.66em; opacity: 0.9; white-space: nowrap; overflow: hidden; }
.fcard .sound svg { flex: none; width: 1.15em; height: 1.15em; }
.fcard .prog { position: absolute; left: 0; right: 0; bottom: 0.5em; height: 0.16em; background: rgba(255, 255, 255, 0.26); }
.fcard .prog i { display: block; height: 100%; background: rgba(255, 255, 255, 0.92); }

/* ── The feed that ends (pinned) ────────────────────────────────────── */
.ends {
  position: relative;
  height: calc(520 * var(--svh));
  margin-top: 12vh;
}

.ends-sticky {
  position: sticky;
  top: 0;
  height: calc(100 * var(--svh));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 64px var(--gutter) 0;
  max-width: 1360px;
  margin: 0 auto;
  overflow: hidden;
}

.ends-steps { position: relative; min-height: 15em; }

.ends-step {
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  transform: translateY(24px);
  /* the outgoing line leaves fast; the incoming one waits for it, so they never overlap */
  transition: opacity 0.22s ease-in, transform 0.22s ease-in;
}

.ends-step.is-on {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s 0.2s var(--ease), transform 0.6s 0.2s var(--ease);
}
.ends-step.is-past { transform: translateY(-24px); }

.sub {
  color: var(--ink-2);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.45;
  max-width: 26em;
  margin-top: 20px;
}

.ends-stage { position: relative; display: flex; justify-content: center; --pw: min(clamp(240px, 22vw, 320px), calc((100 * var(--svh) - 150px) / 2.1)); }

.feedscreen { background: #000; color: #fff; }

.feed-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  padding: calc(var(--pw) * 0.2) calc(var(--pw) * 0.09) 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

.feed-bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.feed-bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 3px;
  background: var(--coral);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.feed-track {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.feed-track > * {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
}

.feed-track .fcard {
  font-size: calc(var(--pw) * 0.058);
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.feed-end {
  background: #0b0b0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 0 14%;
}

.feed-end .line {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(52, 199, 89, 0.55);
  margin-bottom: 10px;
}

.feed-end .check {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #34c759;
  background: #0b0b0d;
  transform: translate(-50%, -50%) scale(var(--pop, 0.6));
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
}

.feed-end .check svg { width: 16px; height: 16px; }
.feed-end .check path { fill: none; stroke: #34c759; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.feed-end strong { font-size: calc(var(--pw) * 0.062); margin-top: 18px; }
.feed-end span { color: rgba(255, 255, 255, 0.58); font-size: calc(var(--pw) * 0.042); line-height: 1.35; }

.note-left { left: calc(50% + var(--pw) * 0.6); top: 13%; color: var(--coral-ink); }
.note .num { font-family: "Caveat", var(--hand); font-weight: 500; font-size: 1.22em; line-height: 0.8; }
.arrow-left { left: calc(50% + var(--pw) * 0.42); top: calc(13% + 30px); width: 82px; height: 62px; color: var(--coral-ink); }

/* ── The tour (pinned phone, steps scroll past) ─────────────────────── */
.tour {
  position: relative;
  padding: 18vh var(--gutter) 6vh;
  max-width: 1240px;
  margin: 0 auto;
}

.tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 6vh;
}

.tour-phone {
  --pw: min(clamp(250px, 23vw, 320px), calc(80 * var(--svh) / 2.1));
  position: sticky;
  top: calc(50 * var(--svh) - var(--pw) * 1.05);
  height: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  order: 2;
}


.tour-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}

.tour-shot.is-on { opacity: 1; transform: none; }

.tour-dots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tour-dots li {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule);
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: background 0.3s, transform 0.3s var(--ease);
}

.tour-dots li.is-done { background: rgba(255, 107, 107, 0.55); }
.tour-dots li.is-on { background: var(--coral); transform: scale(1.5); }

.tour-steps { order: 1; }

.tour-step {
  min-height: calc(92 * var(--svh));
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.28;
  transition: opacity 0.5s var(--ease);
}

.tour-step.is-on { opacity: 1; }

.step-n {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--coral-ink);
  margin-bottom: 16px;
}

.tour-step h3 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.tour-step p:not(.step-n) {
  color: var(--ink-2);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.5;
  max-width: 25em;
  margin-top: 20px;
}

.step-shot { display: none; }

/* ── Why not just… ───────────────────────────────────────────────────── */
.whynot {
  padding: 14vh var(--gutter) 2vh;
  max-width: 1240px;
  margin: 0 auto;
}

.whynot-list { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--rule); }

.whynot-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 8px 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.whynot-list .opt { font-weight: 700; color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--rule); }
.whynot-list .why { color: var(--ink-3); }
.whynot-list .is-us .opt { color: var(--ink); text-decoration: none; }
.whynot-list .is-us .why { color: var(--ink); }

/* ── Made to hold ───────────────────────────────────────────────────── */
.hold {
  padding: 14vh var(--gutter) 4vh;
  max-width: 1240px;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
}

.card {
  background: linear-gradient(180deg, var(--char-up), var(--char-hi));
  border: 1px solid var(--rule);
  box-shadow: var(--card-shadow);
  border-radius: 24px;
  padding: 28px 24px 30px;
  min-height: 230px;
}

.card h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 16px; line-height: 1.5; }

.more-title { margin: 72px 0 0; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
.more { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--rule); }
.more li { padding: 20px 0 22px; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.more strong { color: var(--ink); font-weight: 650; }

/* ── Private ────────────────────────────────────────────────────────── */
.private {
  padding: 16vh var(--gutter) 6vh;
  max-width: 1240px;
  margin: 0 auto;
}

.private-copy {
  color: var(--ink-2);
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.45;
  max-width: 30em;
  margin: 32px 0 24px;
}

.text-link {
  color: var(--coral-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 107, 0.4);
}

.text-link:hover { border-color: var(--coral); }

/* ── Questions ──────────────────────────────────────────────────────── */
.faq {
  padding: 12vh var(--gutter) 2vh;
  max-width: 1240px;
  margin: 0 auto;
}

.faq-list { margin-top: 44px; border-top: 1px solid var(--rule); max-width: 880px; }

.faq details { border-bottom: 1px solid var(--rule); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink-2), var(--ink-2)) center / 2px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); line-height: 1.55; padding: 0 40px 24px 0; max-width: 44em; }

/* ── Close ──────────────────────────────────────────────────────────── */
.close {
  position: relative;
  text-align: center;
  padding: 22vh var(--gutter) 20vh;
  overflow: hidden;
}

.close-title { position: relative; z-index: 1; font-size: clamp(54px, 9vw, 128px); line-height: 0.98; letter-spacing: -0.045em; }
.close-sub { position: relative; z-index: 1; color: var(--ink-2); font-size: clamp(18px, 1.6vw, 22px); margin-top: 24px; }

.close-get {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
}

.close .get { align-items: center; margin-top: 0; }

.qr { display: none; margin: 0; text-align: left; align-items: center; gap: 16px; padding-left: 40px; border-left: 1px solid var(--rule); }
.qr img { width: 96px; height: 96px; background: #fff; padding: 8px; border-radius: 12px; }
.qr figcaption { color: var(--ink-3); font-size: 14px; line-height: 1.35; max-width: 9em; }

@media (min-width: 1024px) {
  .qr { display: flex; }
}
.glow-close { inset: auto 0 -20vh; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--rule);
  padding: 28px var(--gutter) calc(36px + env(safe-area-inset-bottom));
  max-width: 1360px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--ink-3);
}

.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.fine { margin-top: 14px; line-height: 1.5; max-width: 60em; }

/* ── Reveal on scroll ───────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in,
.js .reveal:focus-within { opacity: 1; transform: none; }
.js .fade { opacity: 0; transition: opacity 0.9s var(--ease); }
.js .fade.in { opacity: 1; }

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes dot-in {
  0% { transform: scale(0); }
  60% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ── Tablet and phone ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 108px;
    gap: 8px;
  }

  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .get { align-items: center; }
  .hero-stage { height: auto; padding: 32px 0 24px; }
  .hero-stage { --pw: min(60vw, 270px); --pad: 0px; padding-right: 0; }
  .phone-hero { transform: rotate(3deg); }
  .note-hero { left: auto; right: 4%; top: 1%; font-size: 21px; z-index: 3; }
  /* longer and steeper on phones, so it lands on the clips ring */
  .arrow-hero { left: auto; right: 14%; top: calc(1% + 30px); width: 120px; height: 92px; z-index: 3; transform: rotate(-26deg); transform-origin: 100% 0; }

  .ends { height: calc(470 * var(--svh)); margin-top: 6vh; }

  .ends-sticky {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    padding-top: 84px;
    gap: 10px;
    text-align: center;
  }

  .ends-steps { min-height: 9.6em; }
  .ends-step .h2 { font-size: clamp(34px, 9vw, 52px); }
  .ends-step .sub { margin: 12px auto 0; font-size: 16px; max-width: 22em; }
  .ends-stage { align-self: center; }
  .ends-stage { --pw: min(64vw, calc((100 * var(--svh) - 330px) / 2.1), 300px); }
  .note-left { font-size: 20px; left: auto; right: 3%; top: 2%; z-index: 3; }
  .arrow-left { display: none; }

  .tour { padding-top: 12vh; }
  .tour-grid { grid-template-columns: 1fr; gap: 0; }

  /* phones: the phone pins near the top and the steps scroll up underneath it */
  .tour-phone {
    order: 0;
    top: 72px;
    z-index: 2;
    padding: 8px 0 28px;
    background: linear-gradient(180deg, var(--char) 0%, var(--char) 82%, transparent 100%);
  }

  .tour-phone { --pw: min(46vw, calc((100 * var(--svh) - 380px) / 2.1), 230px); }
  .tour-dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }

  .tour-step {
    min-height: calc(62 * var(--svh));
    justify-content: flex-start;
    padding-top: 6vh;
    text-align: center;
    align-items: center;
  }

  .tour-step h3 { font-size: clamp(30px, 8vw, 44px); }
  .tour-step p:not(.step-n) { font-size: 16px; margin-top: 14px; }

  .cards { grid-template-columns: 1fr 1fr; }
  .more { grid-template-columns: 1fr 1fr; }
  .whynot-list li { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .display { font-size: clamp(50px, 15.5vw, 72px); }
  .section-title,
  .close-title { font-size: clamp(38px, 11vw, 56px); }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .more { grid-template-columns: 1fr; }
  .badge img { height: 54px; }
}

/* ── Static layout: nothing pins, nothing moves; every step is a plain block.
      Used with reduced motion, without JS, and on short landscape phones (.static is set in <head>). ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.static .reveal,
html:not(.js) .reveal { opacity: 1; transform: none; }
.static .ends,
html:not(.js) .ends { height: auto; }
.static .ends-sticky,
html:not(.js) .ends-sticky { position: relative; height: auto; padding-bottom: 8vh; overflow: visible; }
.static .ends-steps,
html:not(.js) .ends-steps { min-height: 0; }
.static .ends-step,
html:not(.js) .ends-step { position: relative; opacity: 1; transform: none; margin-bottom: 28px; }
html:not(.js) .ends-stage { display: none; }
.static .tour-phone,
html:not(.js) .tour-phone { display: none; }
.static .tour-grid,
html:not(.js) .tour-grid { grid-template-columns: 1fr; }
.static .tour-step,
html:not(.js) .tour-step { opacity: 1; min-height: 0; padding: 6vh 0; align-items: flex-start; text-align: left; }
.static .step-shot,
html:not(.js) .step-shot { display: block; width: min(260px, 70vw); margin-top: 28px; border-radius: 28px; border: 1px solid var(--rule); }

/* ── The eye-catcher: "Endless", edited ──────────────────────────────────
   A giant "Endless" whose letters are windows onto real reels, each letter its own feed.
   A coral pen strikes "less" and sets a full stop after "End"; End's feeds stop on a face,
   "less" keeps scrolling until it sinks out through the line, and "End." is what's left.
   Every letter is a die-cut window: a canvas-drawn mask of the glyph (fill), with a baked
   inner shadow and a thin rim. No blend modes; only transform and opacity animate. ── */
.eye {
  --eye-win: #2a2722;                  /* what a letter shows before its reels decode */
  --eye-rim: rgba(29, 27, 23, 0.2);    /* hairline inside each letter, so bright frames still read as type */
  --eye-grout: #1d1b17;                /* the seam between two clips in a letter's feed */
  position: relative;
  height: calc(280 * var(--svh));
}
[data-theme="dark"] .eye {
  --eye-win: #2c2c33;
  --eye-rim: rgba(255, 255, 255, 0.26);
  --eye-grout: #3a3a42;
}
.eye-stage {
  position: sticky; top: 0;
  height: calc(100 * var(--svh));
  overflow: hidden;
}

.eye-head { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.eye-kicker {
  margin: 0; padding: 0 var(--gutter);
  font-size: clamp(20px, 2.3vw, 34px); font-weight: 600; line-height: 1.2;
  letter-spacing: -0.022em; text-align: center; color: var(--ink-3);
}
.eye-kicker b { color: var(--ink); font-weight: 700; }
.eye-two .eye-kicker { font-size: clamp(18px, 5vw, 22px); }
.eye-two .eye-kicker b { display: block; margin-top: 2px; font-size: 1.6em; letter-spacing: -0.03em; line-height: 1.05; }

.eye-word { position: relative; width: 100%; font-family: var(--sf); transform-origin: 50% 45%; }
.eye-endg, .eye-lessg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; will-change: transform; }
.eye-endg { z-index: 1; }   /* End. grows over the strip that swallows less */

.eye-L { position: absolute; will-change: transform; }
.eye-slot { position: absolute; background: var(--char); pointer-events: none; }
.eye:not(.eye-ready) .eye-L, .eye:not(.eye-ready) .eye-dot, .eye:not(.eye-ready) .eye-strikewrap { visibility: hidden; }
.eye-win {
  position: absolute; inset: 0; overflow: hidden;
  background: var(--eye-win);
  -webkit-mask-image: var(--fill); mask-image: var(--fill);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
/* the paper's cut edge throws a little shadow onto the reels behind it */
.eye-win::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--shade) 0 0 / 100% 100% no-repeat;
}
.eye-L::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--eye-rim);
  -webkit-mask-image: var(--rim); mask-image: var(--rim);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.eye-col { position: absolute; top: 0; display: flex; flex-direction: column; background: var(--eye-grout); will-change: transform; }
.eye-col img { display: block; max-width: none; object-fit: cover; }
/* each cover is a reel card, with the same chrome as the pinned feed's clips */
.eye-col .eye-tile { flex: none; border-radius: 0.9em; box-shadow: none; }
[data-theme="dark"] .eye-col img { filter: contrast(0.9) brightness(1.07); }

/* the coral full stop, the same dot every headline on the site ends on */
.eye-dot {
  position: absolute; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 calc(var(--F) * 0.05) rgba(255, 107, 107, 0.32);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

/* the editor's delete mark through "less": a marker stroke ending in a pigtail */
.eye-strikewrap { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.eye-strikeclip { position: absolute; overflow: hidden; will-change: transform; }
.eye-strike { position: absolute; left: 0; top: 0; overflow: visible; will-change: transform; }
.eye-strike path { fill: none; stroke: var(--coral); stroke-linecap: round; stroke-linejoin: round; }


/* copy, and the App Store privacy label (the same card the privacy section uses) */
.eye-copy {
  position: absolute; left: 0; top: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(36px, 5vw, 84px);
  padding: 0 var(--gutter);
  will-change: transform;
}
.eye-say { max-width: 25rem; will-change: transform; }
.eye-line, .eye-sub, .eye-works, .eye-pv { opacity: 0; }
.eye-line { margin: 0; font-size: clamp(27px, 2.6vw, 38px); font-weight: 700; line-height: 1.08; letter-spacing: -0.032em; text-wrap: balance; }
.eye-line em { font-style: normal; color: var(--coral-ink); }
.eye-sub { margin: 12px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; }
.eye-works { margin: 22px 0 0; color: var(--ink-3); font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-wrap: balance; }

.eye-pv { position: relative; margin: 0; width: 330px; flex: none; will-change: transform, opacity; }
.eye-pv-kicker { margin: 0 0 10px 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); }
.eye-pv-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 24px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--char-up), var(--char-hi));
  border: 1px solid var(--rule);
  box-shadow: var(--card-shadow);
}
.eye-pv-icon { width: 40px; height: 40px; margin-bottom: 12px; flex: none; }
.eye-pv-icon path { fill: none; stroke: #0a84ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.eye-pv-title { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.eye-pv-body { margin: 5px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.42; text-wrap: balance; }

/* phones (and narrow portrait windows): "End" over "less", copy stacked under */
.eye-two .eye-copy { flex-direction: column; gap: 20px; text-align: center; }
.eye-two .eye-say { max-width: 21rem; }
.eye-two .eye-line { font-size: clamp(25px, 7vw, 30px); }
.eye-two .eye-sub { margin-top: 8px; font-size: 17px; }
.eye-two .eye-works { margin-top: 16px; font-size: 13px; }
.eye-two .eye-pv { width: min(360px, 100%); margin-top: 22px; }
.eye-two .eye-pv-kicker { margin: 0 0 8px; text-align: center; }
.eye-two .eye-pv-card { flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 15px 18px 16px 16px; border-radius: 20px; }
.eye-two .eye-pv-icon { width: 36px; height: 36px; margin: 0; }
.eye-two .eye-pv-title { font-size: 17px; }
.eye-two .eye-pv-body { margin-top: 2px; font-size: 13.5px; line-height: 1.38; text-wrap: pretty; }
.eye-two .eye-works-wide { display: none; }
.eye-works-narrow { display: none; }
.eye-two .eye-works-narrow { display: block; margin-top: 0; }

/* no JavaScript, or no CSS masks: the edit, set in plain type */
.eye-fallback { display: none; }
html:not(.js) .eye-fallback,
.eye-nomask .eye-fallback {
  display: block; margin: 0.12em 0 0; text-align: center; white-space: nowrap;
  font-size: clamp(84px, 21vw, 300px); font-weight: 900; line-height: 0.9; letter-spacing: -0.045em; color: var(--ink);
}
.eye-fallback s { color: var(--ink-3); text-decoration-color: var(--coral); text-decoration-thickness: 0.07em; }
.eye-fallback i { display: inline-block; width: 0.17em; height: 0.17em; margin: 0 0.12em 0 0.04em; border-radius: 50%; background: var(--coral); }

/* ── Still (reduced motion, html.static, no JS): nothing pins or moves; one frame tells the whole edit ── */
.static .eye, .eye.eye-still, html:not(.js) .eye { height: auto; }
.static .eye-stage, .eye-still .eye-stage, html:not(.js) .eye-stage { position: relative; height: auto; overflow: visible; overflow-x: clip; padding: 13vh 0 12vh; }
.static .eye-head, .static .eye-copy, .eye-still .eye-head, .eye-still .eye-copy,
html:not(.js) .eye-head, html:not(.js) .eye-copy { position: relative; transform: none !important; }
.static .eye-copy, .eye-still .eye-copy, html:not(.js) .eye-copy { margin-top: 36px; }
.static .eye-line, .static .eye-sub, .static .eye-works, .static .eye-pv,
.eye-still .eye-line, .eye-still .eye-sub, .eye-still .eye-works, .eye-still .eye-pv,
html:not(.js) .eye-line, html:not(.js) .eye-sub, html:not(.js) .eye-works, html:not(.js) .eye-pv { opacity: 1; }
.static .eye-slot, .eye-still .eye-slot { display: none; }
/* without the drawn word, the copy simply stacks under the plain-type edit */
.eye-nomask .eye-word, html:not(.js) .eye-word { height: auto !important; }
.eye-nomask .eye-copy, html:not(.js) .eye-copy { flex-direction: column; gap: 22px; text-align: center; }
.eye-nomask .eye-works-narrow, html:not(.js) .eye-works-narrow { display: none; }

/* forced colours (Windows High Contrast): the dots are backgrounds, so give them the system text colour */
@media (forced-colors: active) {
  .dot, .eye-dot, .eye-fallback i { background-color: CanvasText; }
}
