/* Landing page only (/ and /en/). Shared tokens, header, buttons and footer
   live in app.css. */

:root {
  --night-2: #1c2a48;
  --resolved: #3b6d11;
  --resolved-bg: #e7efdc;
}

::selection { background: color-mix(in srgb, var(--gold-2) 40%, transparent); }

.section { padding-block: var(--gap-section); }

/* phone-shaped frame around a real capture */
.phone {
  margin: 0;
  aspect-ratio: 921 / 2000;
  border-radius: 13% / 6%;
  padding: 2.6%;
  background: linear-gradient(150deg, #d9bd7c, #9d7526 46%, #c9a85e 70%, #7d5c1c);
  box-shadow: var(--e2);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11% / 5.2%;
  background: var(--card);
}

/* ── hero ───────────────────────────────────────────── */

.seq { position: relative; height: 340svh; }
.seq__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
}
.seq__paper {
  position: absolute;
  inset: -12vh 0;
  background-image: var(--lines);
  will-change: transform;
}
.seq__frame { position: relative; height: 100%; }

.seq__viz { position: relative; z-index: 1; }
.seq__canvas { position: relative; display: block; width: 100%; height: 100%; z-index: 1; }
.seq__floor {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 32, 58, 0.3), rgba(20, 32, 58, 0));
  pointer-events: none;
}

/* foreground plane: a real reminder the app sends, over the phone's edge */
.seq__note {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 280px;
  pointer-events: none;
  will-change: transform;
}
.seq__note-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.7rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  border: 1px solid rgba(20, 32, 58, 0.08);
  box-shadow: var(--e2), var(--edge);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translate3d(0, -14px, 0) scale(0.96);
  transition: opacity 360ms var(--ease), transform 520ms var(--ease);
}
.seq__note[data-show="true"] .seq__note-card { opacity: 1; transform: none; }
.seq__note img { grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; }
.seq__note-app { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.74rem; color: var(--ink-3); line-height: 1.3; }
.seq__note-app b { color: var(--ink); font-weight: 600; }
.seq__note-msg { font-size: 0.84rem; line-height: 1.4; color: var(--ink); }

.seq__head h1 { margin-top: 0.55rem; text-wrap: balance; }
.seq__head .eyebrow { transition: opacity 300ms var(--ease); }
.seq__stage[data-phase="tour"] .seq__head .eyebrow { opacity: 0; }

.seq__caption { position: relative; }
.seq__lead {
  font-size: var(--text-lead);
  color: var(--ink-2);
  max-width: 34ch;
  text-wrap: pretty;
  transition: opacity 320ms var(--ease), transform 420ms var(--ease);
}
.seq__stage[data-phase="tour"] .seq__lead { opacity: 0; transform: translate3d(0, -16px, 0); }

.seq__tour { position: absolute; inset-inline: 0; top: 0; list-style: none; margin: 0; padding: 0; display: grid; }
.seq__tour > li { grid-area: 1 / 1; pointer-events: none; }
.seq__tour > li > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 300ms var(--ease), transform 480ms var(--ease);
}
.seq__tour > li[data-state="past"] > * { transform: translate3d(0, -22px, 0); }
.seq__tour > li[data-state="now"] { pointer-events: auto; }
.seq__tour > li[data-state="now"] > * { opacity: 1; transform: none; }
.seq__tour > li[data-state="now"] > .seq__title { transition-delay: 60ms; }
.seq__tour > li[data-state="now"] > .seq__text { transition-delay: 120ms; }
.seq__tour .seq__shot { display: none; }

.seq__kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-text);
}
.seq__kicker::before { content: ""; width: 1.6rem; height: 1px; background: var(--gold); }
:root[dir="rtl"] .seq__kicker { letter-spacing: 0.04em; }
.seq__title {
  margin-top: 0.7rem;
  font-size: min(clamp(1.9rem, 1rem + 2.4vw, 3.15rem), 5.6vh);
  line-height: 1.08;
  text-wrap: balance;
  max-width: 17ch;
}
.seq__text { margin-top: 0.9rem; color: var(--ink-2); font-size: 1.06rem; max-width: 38ch; text-wrap: pretty; }

.seq__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; transition: opacity 300ms var(--ease); }
.seq__stage[data-phase="intro"] .seq__rail { opacity: 0; pointer-events: none; }
.seq__stage[data-phase="intro"] .seq__rail:focus-within { opacity: 1; pointer-events: auto; }
.seq__stop {
  font: inherit;
  background: none;
  border: 0;
  padding: 0.7rem 0 0.4rem;
  text-align: start;
  color: var(--ink-3-text);
  cursor: pointer;
  transition: color 160ms var(--ease);
}
.seq__stop:hover, .seq__stop[aria-current="step"] { color: var(--ink); }
.seq__stop:active { transform: translateY(1px); }
.seq__stop-bar { display: block; height: 2px; background: var(--rule); overflow: hidden; }
.seq__stop-bar i { display: block; height: 100%; background: var(--gold-text); transform-origin: 0 0; transform: scaleX(var(--f, 0)); }
:root[dir="rtl"] .seq__stop-bar i { transform-origin: 100% 0; }
.seq__stop-label { display: block; margin-top: 0.55rem; font-size: 0.8rem; font-weight: 600; line-height: 1.3; }

.seq__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.seq__cta[data-hidden="true"] { opacity: 0; transform: translate3d(0, 12px, 0); pointer-events: none; }
.seq__cta[data-hidden="true"]:focus-within { opacity: 1; transform: none; pointer-events: auto; }

.seq__loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  z-index: 4;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  pointer-events: none;
  transition: opacity 400ms var(--ease);
}
.seq__loader[hidden] { display: grid; opacity: 0; }

/* desktop: copy holds the start half, the phone the end half */
@media (min-width: 900px) {
  .seq__viz { position: absolute; inset-block: var(--head-h) 0; inset-inline: 48% 0; }
  .seq__copy {
    position: absolute;
    inset-block: calc(var(--head-h) + 3.5vh) 4.5vh;
    inset-inline: var(--pad-x) 54%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .seq__head { transform-origin: 0 0; will-change: transform; }
  :root[dir="rtl"] .seq__head { transform-origin: 100% 0; }
  .seq__caption { margin-top: 1.4rem; will-change: transform; }
  .seq__foot { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: 1.2rem; }
}

/* phone: head on top, phone in the middle, caption right under the phone */
@media (max-width: 899px) {
  .seq { height: 320svh; }
  .seq__frame {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    padding-top: calc(var(--head-h) + 0.9rem);
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    text-align: center;
  }
  .seq__copy, .seq__foot { display: contents; }
  .seq__head { grid-row: 1; }
  .seq__head h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.3rem); margin-top: 0.35rem; }
  .seq__stage[data-phase="tour"] .seq__head .eyebrow { opacity: 0; }
  .seq__viz { grid-row: 2; min-height: 0; }
  .seq__rail { grid-row: 3; gap: 0.35rem; width: min(100%, 22rem); margin: 0.5rem auto 0; }
  .seq__stop { min-height: 44px; display: grid; align-content: center; padding-block: 0; }
  .seq__stop-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .seq__caption { grid-row: 4; min-height: 10.4rem; margin-top: 0.4rem; }
  .seq__lead { margin-inline: auto; padding-top: 0.6rem; }
  .seq__kicker { justify-content: center; }
  .seq__kicker::before { display: none; }
  .seq__title { font-size: 1.5rem; margin: 0.45rem auto 0; max-width: 22ch; }
  .seq__text { font-size: 0.95rem; line-height: 1.6; margin: 0.5rem auto 0; }
  .seq__cta { display: none; }
  .seq__note { width: 252px; }
  .seq__note-card { padding: 0.6rem 0.75rem; }
  .seq__note-msg { font-size: 0.78rem; }
}

/* ── discussions (the peak) ─────────────────────────── */

.disc { background: var(--night); color: var(--on-night); scroll-margin-top: calc(-1 * (var(--head-h) + 1rem)); }
.disc__track { position: relative; height: 380svh; }
.disc__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: var(--head-h);
}
.disc .eyebrow { color: var(--gold-2); }
.disc__copy h2 {
  margin-top: 0.7rem;
  font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.6rem);
  line-height: 1.04;
  text-wrap: balance;
  color: var(--on-night);
}
.disc__copy p { margin-top: 1.2rem; color: var(--on-night-2); max-width: 40ch; text-wrap: pretty; }

.disc__scene { position: relative; height: min(78vh, 46rem); }
.disc__phone { position: absolute; width: clamp(190px, 17vw, 260px); transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg)); will-change: transform; }
.disc__phone--near { inset-inline-end: 2%; top: 4%; --rot: 4deg; z-index: 1; box-shadow: var(--e3); }
.disc__phone--far { inset-inline-end: 30%; top: -2%; width: clamp(150px, 13vw, 200px); --rot: -5deg; filter: brightness(0.62) saturate(0.85); }
:root[dir="rtl"] .disc__phone--near { --rot: -4deg; }
:root[dir="rtl"] .disc__phone--far { --rot: 5deg; }

.disc__threads { position: absolute; inset-inline-start: 0; bottom: 6%; width: min(31rem, 88%); z-index: 2; list-style: none; margin: 0; padding: 0; display: grid; }
.thread {
  grid-area: 1 / 1;
  align-self: end;
  opacity: calc(var(--in, 0) * (1 - var(--out, 0)));
  transform: translate3d(0, calc((1 - var(--in, 0)) * 70px - var(--out, 0) * 110px), 0);
  will-change: transform, opacity;
}
.thread__card, .thread__a {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--e3), var(--edge);
}
.thread__card { position: relative; z-index: 1; padding: 1.2rem 1.4rem 1.25rem; }
.thread__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; font-size: 0.76rem; color: var(--ink-3-text); }
.thread__chip { padding: 0.12rem 0.6rem; border: 1px solid var(--gold-line); border-radius: 999px; color: var(--gold-text); font-weight: 600; }
.thread__q { margin-top: 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); line-height: 1.25; text-wrap: balance; }

/* the reply sits a step in, like a real answer under a question */
.thread__reply { position: relative; margin-top: 0.65rem; margin-inline-start: clamp(1rem, 3vw, 2.2rem); }
.thread__typing {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--e2);
  opacity: var(--typ, 0);
  transform: translate3d(0, calc((1 - var(--typ, 0)) * 8px), 0);
}
.thread__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typing 1.1s var(--ease) infinite; }
.thread__typing i:nth-child(2) { animation-delay: 0.15s; }
.thread__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(-4px); opacity: 1; } }

.thread__a {
  padding: 1rem 1.3rem 1.1rem;
  background: #fdfcf8;
  opacity: var(--ans, 0);
  transform: translate3d(0, calc((1 - var(--ans, 0)) * -18px), 0) scale(calc(0.97 + var(--ans, 0) * 0.03));
  transform-origin: 50% 0;
}
.thread__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.76rem; font-weight: 600; }
.thread__pin { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--gold-text); }
.thread__pin svg, .thread__resolved svg { width: 14px; height: 14px; flex: none; }
.thread__resolved {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  background: var(--resolved-bg);
  color: var(--resolved);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 240ms var(--ease), transform 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.thread[data-resolved="true"] .thread__resolved { opacity: 1; transform: none; }
.thread__body {
  margin-top: 0.6rem;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-height: 9.8em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 64%, transparent);
  mask-image: linear-gradient(to bottom, #000 64%, transparent);
}
.thread__body p + p { margin-top: 0.3rem; }

.disc__src { position: absolute; inset-inline-start: 0; bottom: 0; font-size: 0.78rem; color: var(--on-night-2); }

.disc__after { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--gap-section); }
.disc__after h3 { font-family: var(--font-display); font-size: var(--text-h3); color: var(--on-night); }
.topics { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.topics li {
  padding: 0.38rem 0.95rem;
  border: 1px solid rgba(245, 241, 232, 0.2);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--on-night);
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .topics li:hover { border-color: var(--gold-2); background: rgba(193, 154, 76, 0.1); }
}
.disc__after p { margin-top: 1.3rem; color: var(--on-night-2); max-width: 60ch; }
.disc__after p.disc__join { margin-top: 0.6rem; color: var(--on-night); }
.disc__after a { color: var(--gold-2); text-underline-offset: 4px; }
.disc__after a:hover { color: var(--on-night); }
.disc :focus-visible { outline-color: var(--gold-2); }

@media (max-width: 899px) {
  .disc__track { height: 330svh; }
  .disc__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    padding-top: calc(var(--head-h) + 1rem);
    padding-bottom: 1rem;
  }
  .disc__copy h2 { font-size: clamp(1.9rem, 1.3rem + 3vw, 2.6rem); margin-top: 0.4rem; }
  .disc__copy p { margin-top: 0.7rem; font-size: 0.95rem; line-height: 1.6; }
  .disc__scene { height: 100%; min-height: 0; }
  .disc__phone { transform: translate3d(0, calc(var(--py, 0px) * 0.3), 0) rotate(var(--rot, 0deg)); }
  .disc__phone--near { width: 34vw; max-width: 170px; top: 1.6rem; inset-inline-end: 0; }
  .disc__phone--far { display: none; }
  .disc__threads { width: 100%; bottom: 3.6rem; }
  .thread__card { padding: 0.95rem 1.05rem 1rem; }
  .thread__a { padding: 0.85rem 1rem 0.95rem; }
  .thread__q { font-size: 1.12rem; }
  .thread__body { font-size: 0.86rem; max-height: 7.4em; }
}

/* ── communities ────────────────────────────────────── */

.comm { background: var(--paper-2); background-image: var(--lines); }
.comm__in { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.comm h2 { margin-top: 0.5rem; font-size: var(--text-h2); text-wrap: balance; }
.comm__copy > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); max-width: 46ch; }
.comm__copy > p.comm__note { margin-top: 1.6rem; font-weight: 600; color: var(--ink); }
.comm__copy > p.comm__more { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-3-text); }
.comm__copy a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.comm__copy a:hover { color: var(--gold-text); }
.comm__kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
.comm__kinds li { border-top: 2px solid var(--gold-line); padding-top: 1.1rem; }
.comm__kinds h3 { font-family: var(--font-display); font-size: var(--text-h3); }
.comm__kinds p { margin-top: 0.55rem; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 899px) { .comm__in { grid-template-columns: 1fr; } }

/* ── features ───────────────────────────────────────── */

.feat { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: start; }
.feat__head h2 { font-size: var(--text-h2); text-wrap: balance; }
.feat__head p { margin-top: 1rem; color: var(--ink-2); max-width: 44ch; }

.sos {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-top: 3px solid #b3261e;
  box-shadow: var(--e1);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.4rem;
  align-items: start;
}
.sos .sos__num { grid-row: span 3; font-family: var(--font-display); font-size: clamp(3.4rem, 2.4rem + 3vw, 5.2rem); line-height: 0.9; color: #b3261e; font-variant-numeric: tabular-nums; }
.sos h3 { font-size: var(--text-h3); }
.sos p { color: var(--ink-2); font-size: 0.97rem; }
.sos .sos__note { font-size: 0.82rem; color: var(--ink-3); }

.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ledger li {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 0.4rem 1.6rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--rule);
  transition: background 160ms var(--ease);
}
.ledger h3 { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.25; }
.ledger p { color: var(--ink-2); font-size: 0.98rem; }
.ledger__soon {
  display: inline-block;
  margin-inline-start: 0.45rem;
  padding: 0.05rem 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  vertical-align: middle;
  color: var(--gold-text);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
}
@media (max-width: 899px) {
  .feat { grid-template-columns: 1fr; }
  .ledger li { grid-template-columns: 1fr; }
}

/* ── numbers: real counts, dated ───────────────────── */

.numbers { padding-block: clamp(2.6rem, 5vw, 4rem); border-top: 1px solid var(--gold-line); }
.numbers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.numbers li { display: grid; align-content: start; gap: 0.45rem; padding-inline-start: 1.2rem; border-inline-start: 1px solid var(--rule); }
.numbers b { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.numbers span { font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); max-width: 22ch; }
.numbers__note { margin-top: 1.4rem; font-size: 0.8rem; color: var(--ink-3-text); }
@media (max-width: 899px) { .numbers ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.8rem; } }

/* ── official sources ───────────────────────────────── */

.trust { background: var(--paper-2); background-image: var(--lines); overflow: clip; }
.trust__in { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.trust h2 { font-size: var(--text-h2); text-wrap: balance; }
.trust__copy > p { margin-top: 1rem; color: var(--ink-2); max-width: 46ch; }
.trust__copy a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.trust__copy a:hover { color: var(--gold-text); }
.trust__list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.6rem; }
.trust__list li { display: grid; align-content: start; gap: 0.1rem; padding-block: 0.7rem; border-top: 1px solid var(--rule); }
.trust__list b { font-weight: 600; font-size: 0.95rem; line-height: 1.4; }
.trust__list span { direction: ltr; unicode-bidi: isolate; justify-self: start; font-size: 0.82rem; color: var(--ink-3-text); font-variant-numeric: tabular-nums; }
.trust p.trust__more { margin-top: 1.4rem; font-weight: 600; }
.trust p.trust__note { margin-top: 0.5rem; font-size: 0.85rem; color: var(--ink-3-text); }

/* two planes: the screen behind, its verified banner magnified in front */
.trust__visual { position: relative; margin: 0; height: clamp(26rem, 44vw, 36rem); }
.trust__phone {
  position: absolute;
  top: 50%;
  inset-inline-end: 10%;
  width: clamp(170px, 17vw, 240px);
  --rot: 4deg;
  transform: translate3d(0, calc(-50% + (0.5 - var(--lp, 0.5)) * 40px), 0) rotate(var(--rot));
  will-change: transform;
}
:root[dir="rtl"] .trust__phone { --rot: -4deg; }
.trust__loupe {
  position: absolute;
  top: 24%;
  inset-inline-start: 0;
  width: min(100%, 34rem);
  padding: 0.45rem;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--gold-line);
  box-shadow: var(--e3), var(--edge);
  z-index: 1;
  transform: translate3d(0, calc((0.5 - var(--lp, 0.5)) * 120px), 0);
  will-change: transform;
}
.trust__loupe img { width: 100%; height: auto; border-radius: 12px; }
.trust__visual figcaption {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  font-size: 0.8rem;
  color: var(--ink-3-text);
}
@media (max-width: 899px) {
  .trust__in { grid-template-columns: 1fr; }
  .trust__list { grid-template-columns: 1fr; }
  .trust__visual { height: 24rem; }
  .trust__phone { width: 40vw; max-width: 200px; inset-inline-end: 4%; }
  .trust__loupe { top: 16%; width: 94%; }
  .trust__list li { padding-block: 0.55rem; }
}

/* ── about ──────────────────────────────────────────── */

.about { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-top: clamp(2rem, 4vw, 3rem); }
.about h2 { margin-top: 0.5rem; text-wrap: balance; }
.about p { color: var(--ink-2); margin-top: 1.1rem; }
.about__facts { display: grid; gap: 0; align-content: start; margin: 0; }
.about__fact { display: flex; gap: 1rem; padding-block: 0.95rem; border-top: 1px solid var(--rule-soft); }
.about__fact:last-child { border-bottom: 1px solid var(--rule-soft); }
.about__fact dt { color: var(--ink-3); font-size: 0.9rem; min-width: 9.5ch; margin: 0; }
.about__fact dd { margin: 0; font-weight: 600; }

.creed { display: grid; gap: clamp(1.4rem, 3vw, 2.6rem); margin-top: clamp(2.2rem, 5vw, 3.4rem);
         grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.creed__item { border-top: 2px solid var(--gold-line); padding-top: 1.1rem; }
.creed h3 { font-family: var(--font-display); font-size: var(--text-h3); margin: 0; }
.creed p { color: var(--ink-2); margin-top: 0.8rem; }

/* ── close ──────────────────────────────────────────── */

.close { text-align: center; padding-block: clamp(5rem, 4rem + 6vw, 10rem); border-top: 1px solid var(--gold-line); }
.close__icon { width: 92px; height: 92px; margin: 0 auto; border-radius: 22px; border: 1px solid var(--gold-line); box-shadow: var(--e2); }
.close h2 { margin-top: 1.6rem; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem); text-wrap: balance; }
.close p { color: var(--ink-2); max-width: 46ch; margin: 1rem auto 0; }
.close__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2.2rem; margin-top: 2.2rem; }
.close__row .stores { justify-content: center; }
.close__qr {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: 14px;
  box-shadow: var(--e1), var(--edge);
  text-align: start;
}
:root[dir="rtl"] .close__qr { padding: 0.6rem 0.6rem 0.6rem 1rem; }
.close__qr img { width: 104px; height: 104px; padding: 6px; background: #fff; border-radius: 8px; }
.close__qr figcaption { max-width: 14ch; font-size: 0.84rem; line-height: 1.45; color: var(--ink-3-text); }
/* a phone is already the device to install on */
@media (max-width: 899px), (hover: none) { .close__qr { display: none; } }

/* ── reduced motion and no-JS: no pinning, everything readable ── */

:root.reduce .seq, :root:not(.js) .seq { height: auto; }
:root.reduce .seq__stage, :root:not(.js) .seq__stage { position: static; height: auto; overflow: visible; padding-block: calc(var(--head-h) * 0.5) var(--gap-section); }
:root.reduce .seq__frame, :root:not(.js) .seq__frame { display: flex; flex-direction: column; padding-top: 2rem; text-align: start; }
:root.reduce .seq__copy, :root:not(.js) .seq__copy,
:root.reduce .seq__foot, :root:not(.js) .seq__foot { display: contents; }
:root.reduce .seq__head, :root:not(.js) .seq__head { order: 1; }
:root.reduce .seq__viz { order: 2; position: relative; inset: auto; height: 62svh; margin-top: 2rem; }
:root.reduce .seq__caption, :root:not(.js) .seq__caption { order: 3; }
:root.reduce .seq__cta, :root:not(.js) .seq__cta { order: 4; }
:root:not(.js) .seq__viz, :root:not(.js) .seq__loader { display: none; }
:root.reduce .seq__head, :root:not(.js) .seq__head { transform: none !important; }
:root.reduce .seq__caption, :root:not(.js) .seq__caption { transform: none !important; min-height: 0; margin-top: 1rem; }
:root.reduce .seq__lead, :root:not(.js) .seq__lead { opacity: 1; transform: none; margin-inline: 0; }
:root.reduce .seq__tour, :root:not(.js) .seq__tour {
  position: static;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 2rem 1.6rem;
  margin-top: 2.4rem;
}
:root.reduce .seq__tour > li, :root:not(.js) .seq__tour > li { grid-area: auto; pointer-events: auto; }
:root.reduce .seq__tour > li > *, :root:not(.js) .seq__tour > li > * { opacity: 1; transform: none; }
:root.reduce .seq__tour .seq__shot, :root:not(.js) .seq__tour .seq__shot { display: block; width: min(100%, 13rem); margin-bottom: 1rem; }
:root.reduce .seq__kicker, :root:not(.js) .seq__kicker { justify-content: flex-start; }
:root.reduce .seq__title, :root:not(.js) .seq__title { font-size: 1.5rem; margin-inline: 0; }
:root.reduce .seq__text, :root:not(.js) .seq__text { margin-inline: 0; }
:root.reduce .seq__rail, :root:not(.js) .seq__rail, :root.reduce .seq__note, :root:not(.js) .seq__note { display: none; }
:root.reduce .seq__cta, :root:not(.js) .seq__cta { display: flex; position: static; margin-top: 2.4rem; opacity: 1; transform: none; pointer-events: auto; }

:root.reduce .disc__track, :root:not(.js) .disc__track { height: auto; }
:root.reduce .disc__stage, :root:not(.js) .disc__stage { position: static; height: auto; overflow: visible; padding-block: var(--gap-section) 2rem; }
:root.reduce .disc__scene, :root:not(.js) .disc__scene { height: auto; display: grid; gap: 1.2rem; }
:root.reduce .disc__phone, :root:not(.js) .disc__phone { display: none; }
:root.reduce .disc__threads, :root:not(.js) .disc__threads { position: static; width: 100%; gap: 1.2rem; }
:root.reduce .thread, :root:not(.js) .thread { grid-area: auto; opacity: 1; transform: none; }
:root.reduce .thread__typing, :root:not(.js) .thread__typing { display: none; }
:root.reduce .thread__a, :root:not(.js) .thread__a { opacity: 1; transform: none; }
:root.reduce .thread__body, :root:not(.js) .thread__body { max-height: none; -webkit-mask-image: none; mask-image: none; }
:root.reduce .thread__resolved, :root:not(.js) .thread__resolved { opacity: 1; transform: none; }
:root.reduce .disc__src, :root:not(.js) .disc__src { position: static; }
:root.reduce .trust { --lp: 0.5; }
.seq__shot.phone { object-fit: cover; height: auto; }

/* compact phones: the pinned discussion stage must hold copy and card at once */
@media (max-width: 899px) and (max-height: 720px) {
  .disc .eyebrow { display: none; }
  .disc__copy h2 { font-size: 1.6rem; margin-top: 0; }
  .disc__copy p { font-size: 0.84rem; line-height: 1.5; margin-top: 0.45rem; }
  .disc__stage { gap: 0.6rem; padding-top: calc(var(--head-h) + 0.6rem); }
  .disc__threads { bottom: 2.9rem; }
  .thread__q { font-size: 1rem; margin-top: 0.45rem; }
  .thread__body { max-height: 5.6em; }
  .disc__src { font-size: 0.7rem; }
  .disc__phone--near { max-width: 130px; }
}
:root.reduce .seq__head .eyebrow, :root:not(.js) .seq__head .eyebrow { opacity: 1; }

/* app.js never arrived: the static layout is applied by the head script, without a canvas */
:root.reduce:not(.booted) .seq__viz { display: none; }
