/* ══════════════════════════════════════════════════════════════════════
 * PonsDex — everything below the hero.
 *
 * The Spotlight frame in spotlight.css is one screen and stays untouched.
 * This sheet is the page that scrolls under it: a hairline rail running
 * the full length, corner ticks where the rules meet, mono micro-labels,
 * and blocks that reveal as they come into view.
 *
 * Same pixel discipline as the composition above — measurements are
 * tokens, breakpoints restate the tokens rather than the rules. The
 * accent is sampled from the clip itself (its brightest greens average
 * #83a552), lifted until it reads on near-black.
 * ══════════════════════════════════════════════════════════════════════ */

:root {
  --psx-surface: #060606;
  --psx-hair: rgba(255, 255, 255, 0.14);
  --psx-hair-soft: rgba(255, 255, 255, 0.07);
  --psx-ink: #fff;
  --psx-ink-2: rgba(255, 255, 255, 0.62);
  --psx-ink-3: rgba(255, 255, 255, 0.46);
  --psx-accent: #9bc162;
  --psx-accent-line: rgba(155, 193, 98, 0.38);
  --psx-accent-soft: rgba(155, 193, 98, 0.1);

  --psx-wrap: 1280px;      /* rail-to-rail, centred                    */
  --psx-gutter: 48px;      /* air inside the rails                     */
  --psx-pad: 96px;         /* section top/bottom                       */
  --psx-pad-tight: 56px;

  --psx-label: 12px;       /* mono micro-label                         */
  --psx-h2: 48px;
  --psx-h3: 22px;
  --psx-lead: 18px;
  --psx-body: 16px;
  --psx-mono: 13px;
  --psx-stat: 64px;
}

/* ══ Page shell ══════════════════════════════════════════════════════ */

.psx {
  position: relative;
  z-index: 1;
  /* The corner ticks deliberately sit outside their rail. On a phone the
   * rail IS the viewport, so that overhang would become a horizontal
   * scrollbar. `clip` cuts it without making a scroll container the way
   * `hidden` would. */
  overflow-x: clip;
  background: var(--psx-surface);
  color: var(--psx-ink);
  font-family: var(--font-onest), system-ui, sans-serif;
}

.psx-section {
  border-top: 1px solid var(--psx-hair);
}

/* The rail: two vertical hairlines that run the whole page, with the
 * section rules crossing them. Everything sits inside. */
.psx-rail {
  position: relative;
  max-width: var(--psx-wrap);
  margin: 0 auto;
  padding: var(--psx-pad) var(--psx-gutter);
  border-left: 1px solid var(--psx-hair);
  border-right: 1px solid var(--psx-hair);
}

.psx-rail.is-tight {
  padding-top: var(--psx-pad-tight);
  padding-bottom: var(--psx-pad-tight);
}

.psx-rail.is-flush {
  padding-left: 0;
  padding-right: 0;
}

/* Corner ticks. One box, inset past the rail's corners so the crosses
 * are not clipped, carrying four copies of the same 9px mark. */
.psx-ticks {
  position: absolute;
  inset: -4.5px;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M4.5 0v9M0 4.5h9' stroke='rgba(255,255,255,0.5)' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M4.5 0v9M0 4.5h9' stroke='rgba(255,255,255,0.5)' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M4.5 0v9M0 4.5h9' stroke='rgba(255,255,255,0.5)' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Cpath d='M4.5 0v9M0 4.5h9' stroke='rgba(255,255,255,0.5)' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left top, right top, left bottom, right bottom;
}

/* ══ Shared type ═════════════════════════════════════════════════════ */

/* The micro-label: the thing that tells you which part of the page you
 * are in. No pill, no fill, no marker — it is the mono face against two
 * sans ones that makes it read as a label, and with nothing framing it
 * the tracking opens up to carry that on its own. */
.psx-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--psx-label);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--psx-accent);
  white-space: nowrap;
}

.psx-h2 {
  margin: 0;
  font-family: var(--font-general), system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--psx-h2);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--psx-ink);
}

/* The second line drops back — the same two-tone the hero's ramp does,
 * one step further down the page. */
.psx-h2 .psx-dim {
  color: var(--psx-ink-3);
}

.psx-lead {
  margin: 0;
  max-width: 46ch;
  font-size: var(--psx-lead);
  line-height: 1.5;
  color: var(--psx-ink-2);
}

.psx-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.psx p {
  font-size: var(--psx-body);
  line-height: 1.55;
  color: var(--psx-ink-2);
}

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

/* ══ Hero seam · the scroll cue ══════════════════════════════════════
 * The composition was a single screen; now it is the first of several,
 * so it has to say so. A hairline and a mono word at the bottom edge,
 * outside the Frame 67/68 geometry, joining the entry cascade as its
 * last step. */
/* ══ The marquee seam ════════════════════════════════════════════════
 * Between the hero and the page proper: what the thing plugs into,
 * moving slowly enough to read. */
.psx-marquee {
  overflow: hidden;
  border-top: 1px solid var(--psx-hair);
  border-bottom: 1px solid var(--psx-hair);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.psx-marquee-track {
  display: flex;
  width: max-content;
  animation: psx-marquee 32s linear infinite;
}

.psx-marquee-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-mono);
  font-size: var(--psx-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--psx-ink-3);
  white-space: nowrap;
}

.psx-marquee-item::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--psx-accent);
  transform: rotate(45deg);
}

@keyframes psx-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ── The payout strip · Callouts ────────────────────────────────────
 * Ported from univault-pink. The mark is a CSS mask, not an <img>: the
 * colour comes from `background`, so six logos drawn in six different
 * palettes land in one ink and pick up the hover together. `--ratio` is
 * each mark's own aspect, which is what lets a single `--cap` set the
 * height and have every width follow from it. */
.psx-logos {
  --cap: 46px;
  border-top: 1px solid var(--psx-hair);
  border-bottom: 1px solid var(--psx-hair);
}

/* The moving part is boxed to the same rail as everything else, and the
 * vertical hairlines carry through the band so the four rules close into
 * one rectangle. The band's own top and bottom rules stay full-bleed,
 * like every other section rule on the page. */
.psx-logos-frame {
  position: relative;
  max-width: var(--psx-wrap);
  margin: 0 auto;
  padding: 34px 0;
  overflow: hidden;
  border-left: 1px solid var(--psx-hair);
  border-right: 1px solid var(--psx-hair);
}

/* Solid fades rather than a mask, because the strip has to dissolve into
 * the page's own surface at both ends. */
.psx-logos-frame::before,
.psx-logos-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(60px, 12vw, 180px);
  pointer-events: none;
}

.psx-logos-frame::before {
  left: 0;
  background: linear-gradient(90deg, var(--psx-surface), transparent);
}

.psx-logos-frame::after {
  right: 0;
  background: linear-gradient(270deg, var(--psx-surface), transparent);
}

.psx-logos-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: psx-marquee 34s linear infinite;
}

.psx-logos-run {
  display: flex;
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
  padding-right: clamp(56px, 8vw, 110px);
}

.psx-logo {
  display: block;
  flex: none;
  height: var(--cap);
  width: calc(var(--cap) * var(--ratio, 1));
  background: var(--psx-ink-3);
  transition: background 250ms ease;
  -webkit-mask-position: 50%;
  mask-position: 50%;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.psx-logos:hover .psx-logo {
  background: var(--psx-ink);
}

/* ══ Stats ═══════════════════════════════════════════════════════════ */

.psx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.psx-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 32px;
  border-left: 1px solid var(--psx-hair-soft);
}

.psx-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.psx-stat-num {
  font-family: var(--font-general), system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--psx-stat);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--psx-ink);
  /* The count-up must not reflow the row as digits are added. */
  font-variant-numeric: tabular-nums;
}

.psx-stat-label {
  font-family: var(--font-mono);
  font-size: var(--psx-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--psx-ink-3);
}

/* What the win rate actually measures. Small, but it is the difference
 * between a claim and a number. */
.psx-stats-note {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--psx-hair-soft);
  max-width: 64ch;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--psx-ink-3);
}

/* ══ Step cards ══════════════════════════════════════════════════════ */

.psx-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.psx-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 32px;
  border-left: 1px solid var(--psx-hair-soft);
}

.psx-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.psx-card-idx {
  font-family: var(--font-mono);
  font-size: var(--psx-label);
  letter-spacing: 0.12em;
  color: var(--psx-accent);
}

.psx-card h3 {
  margin: 0;
  font-family: var(--font-general), system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--psx-h3);
  line-height: 1.2;
  color: var(--psx-ink);
}

.psx-card-rule {
  height: 1px;
  background: var(--psx-hair);
}

/* ══ The split · mock call card beside the copy ══════════════════════ */

.psx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* The Pons mark, centred in the half of the rail the heading leaves
 * empty. It is art, not a diagram — it gets a ceiling in px so it never
 * outgrows the type it sits beside. */
.psx-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
}

.psx-emblem img {
  width: min(260px, 100%);
  height: auto;
}

.psx-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}


.psx-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.psx-list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--psx-body);
  line-height: 1.5;
  color: var(--psx-ink-2);
}

.psx-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--psx-accent);
  transform: rotate(45deg);
}

/* The card is a mock of what a call actually looks like in the app —
 * the one place on the page where the product shows itself. */
.psx-mock {
  border: 1px solid var(--psx-hair);
  background: rgba(255, 255, 255, 0.02);
}

.psx-mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--psx-hair);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--psx-ink-3);
}

.psx-mock-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--psx-accent);
}

.psx-mock-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--psx-accent);
  box-shadow: 0 0 0 3px var(--psx-accent-soft);
}

.psx-mock-body {
  padding: 22px 16px 16px;
}

.psx-mock-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.psx-mock-ticker {
  font-family: var(--font-general), system-ui, sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  color: var(--psx-ink);
}

.psx-mock-sub {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--psx-ink-3);
}

.psx-spark {
  display: block;
  width: 100%;
  height: 56px;
  margin: 20px 0 4px;
  overflow: visible;
}

/* ── X scanner panel ────────────────────────────────────────────── */

/* Mention velocity in five-minute buckets. The tail is painted solid to
 * mark the part the scanner is actually reacting to. */
.psx-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
  margin: 20px 0 4px;
}

.psx-bars i {
  flex: 1;
  min-height: 2px;
  background: rgba(155, 193, 98, 0.22);
}

.psx-bars i.is-hot {
  background: var(--psx-accent);
}

.psx-xrows {
  margin-top: 18px;
}

.psx-xrow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--psx-hair-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--psx-ink-3);
  white-space: nowrap;
}

.psx-xhandle {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--psx-ink);
}

.psx-mock-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.psx-mock-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid var(--psx-hair-soft);
}

.psx-mock-row:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--psx-hair-soft);
}

.psx-mock-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--psx-ink-3);
}

.psx-mock-row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--psx-mono);
  color: var(--psx-ink);
}

.psx-ok { color: var(--psx-accent); }

/* ── The payout receipt · Callouts ──────────────────────────────────
 * The panel borrows `.psx-mock`'s frame and bar; only the inside is new.
 * It reads top to bottom as one settled payout: who, how far, what went
 * back — the arrow is the whole argument of the section in one glyph. */
.psx-receipt-rows {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.psx-receipt-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--psx-hair-soft);
  font-family: var(--font-mono);
  font-size: var(--psx-mono);
}

.psx-receipt-rows > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.psx-receipt-rows dt {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--psx-ink-3);
}

.psx-receipt-rows dd {
  margin: 0;
  color: var(--psx-ink);
}

/* The multiple is the number the whole section is about, so it takes the
 * accent — and it has to out-specify the `dd` rule above to get it. */
.psx-receipt-rows dd.psx-ok {
  color: var(--psx-accent);
}

.psx-receipt-arrow {
  padding: 12px 0 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  color: var(--psx-accent);
}

.psx-receipt-out {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--psx-hair);
}

/* `--cap` lives on the marquee band; standing outside it, the mark has to
 * carry its own — and it takes the accent, because this one is the thing
 * that arrived rather than one of the options. */
.psx-receipt-out .psx-logo {
  --cap: 26px;
  background: var(--psx-accent);
}

.psx-receipt-amt b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--psx-ink);
}

.psx-receipt-amt span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--psx-ink-3);
}

/* ══ The calls table ═════════════════════════════════════════════════ */

.psx-table-wrap {
  overflow-x: auto;
}

.psx-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: var(--psx-mono);
  white-space: nowrap;
}

.psx-table th {
  padding: 0 16px 12px 0;
  text-align: left;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--psx-ink-3);
  border-bottom: 1px solid var(--psx-hair);
}

.psx-table td {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--psx-hair-soft);
  color: var(--psx-ink-2);
}

.psx-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.psx-table td:first-child,
.psx-table th:first-child {
  color: var(--psx-ink-3);
}

.psx-table .psx-tk {
  color: var(--psx-ink);
}

.psx-table .psx-peak {
  color: var(--psx-accent);
}

/* ══ FAQ ═════════════════════════════════════════════════════════════ */

/* ══ The closer ══════════════════════════════════════════════════════
 * The asset comes back for the last word — the still, not a second
 * decode, under a scrim heavy enough to read white over. */
.psx-closer {
  position: relative;
  border-top: 1px solid var(--psx-hair);
  background:
    linear-gradient(rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.74)),
    url("../img/hero-blinds-poster.jpg") center / cover no-repeat;
}

.psx-closer .psx-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.psx-closer .psx-h2 {
  font-size: calc(var(--psx-h2) * 1.15);
}

.psx-closer .psx-lead {
  max-width: 40ch;
}

/* The pill pair, borrowed from the hero at a size that suits a band. */
.psx-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.psx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: var(--font-onest), system-ui, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

/* Two classes deep on purpose: the blanket `.psx a { color: inherit }`
 * above is (0,1,1) and would otherwise win here, painting the solid
 * pill's label white on white. */
.psx .psx-btn-solid {
  background: #fff;
  color: #000;
}

.psx .psx-btn-solid:hover { background: rgba(255, 255, 255, 0.88); }

.psx .psx-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.psx .psx-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.psx-btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ══ Footer ══════════════════════════════════════════════════════════ */

.psx-footer {
  border-top: 1px solid var(--psx-hair);
  background: var(--psx-surface);
}

.psx-footer .psx-rail {
  padding-top: 56px;
  padding-bottom: 40px;
}

.psx-foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.psx-foot-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 34ch;
}

.psx-foot-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-general), system-ui, sans-serif;
  font-size: 22px;
  color: var(--psx-ink);
}

.psx-foot-mark svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.psx-foot-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.psx-foot-col h4 {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--psx-ink-3);
}

.psx-foot-col a,
.psx-foot-col button {
  font-size: 15px;
  color: var(--psx-ink-2);
  text-align: left;
}

.psx-foot-col a:hover,
.psx-foot-col button:hover:not(:disabled) {
  color: var(--psx-ink);
}

.psx-foot-col button {
  cursor: pointer;
}

.psx-foot-col button:disabled {
  cursor: default;
  opacity: .65;
}

.psx-foot-col .has-site-pin {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.45;
}

.psx-foot-col .has-site-pin [data-site-pin-label] {
  overflow-wrap: anywhere;
}

.psx-foot-col .has-site-pin.is-copied {
  color: #c7ff2e;
}

.psx-foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--psx-hair);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--psx-ink-3);
}

/* The one line on the page that has to be unmissable and unhedged. */
.psx-disclaimer {
  max-width: 62ch;
  /* Everything else in this row is a muted label. This one is a legal
   * line, so it gets the readable ink. */
  color: var(--psx-ink-2);
}

/* ══ Reveals ═════════════════════════════════════════════════════════
 * The scroll-into-view layer: opacity, and for `slide` a 40px lift,
 * over 900ms on outQuart, once. Hidden only when the script is there to
 * show it again — `.lk-js` is set by the hero's cascade. */
html.lk-js [data-reveal] {
  opacity: 0;
  transition:
    opacity 900ms cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 900ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

html.lk-js [data-reveal="slide"] { transform: translate3d(0, 40px, 0); }
html.lk-js [data-reveal="grow"] { transform: scale3d(0.94, 0.94, 1); }

html.lk-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ══ RESPONSIVE ══════════════════════════════════════════════════════
 * Same rule as the composition above: the breakpoints restate tokens,
 * and only touch a rule where the layout genuinely has to change. */

@media (max-width: 1280px) {
  :root {
    --psx-gutter: 36px;
    --psx-pad: 76px;
    --psx-pad-tight: 44px;
    --psx-h2: 40px;
    --psx-h3: 20px;
    --psx-lead: 17px;
    --psx-stat: 52px;
  }

  .psx-split { gap: 44px; }
}

@media (max-width: 1024px) {
  :root {
    --psx-gutter: 28px;
    --psx-pad: 64px;
    --psx-h2: 34px;
    --psx-lead: 16px;
    --psx-body: 15px;
    --psx-stat: 42px;
  }

  .psx-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Stacked under the heading now, so it stops being a column-filler and
   * has to earn its height. */
  .psx-emblem img { width: 180px; }

  /* Four across stops fitting here; 2×2 keeps the rule between columns
   * and gives the numbers their measure back. */
  .psx-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

  .psx-stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .psx-foot-top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .psx-foot-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 760px) {
  :root {
    --psx-gutter: 20px;
    --psx-pad: 48px;
    --psx-pad-tight: 34px;
    --psx-h2: 28px;
    --psx-h3: 19px;
    --psx-stat: 34px;
    --psx-label: 11px;
  }

  /* Three across stops working long before the type does — the stats
   * and the steps stack, keeping their hairline as a rule between
   * rows instead of columns. */
  .psx-stats,
  .psx-cards {
    grid-template-columns: 1fr;
  }

  .psx-stat,
  .psx-card {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--psx-hair-soft);
  }

  .psx-stat:first-child,
  .psx-card:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .psx-card:last-child { padding-bottom: 0; }

  /* Rail edge = screen edge down here, so the marks tuck inside the
   * corner instead of straddling it. */
  .psx-ticks { inset: 0; }

  .psx-logos { --cap: 34px; }

  .psx-logos-frame { padding: 26px 0; }

  .psx-emblem img { width: 140px; }

  .psx-closer .psx-rail {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .psx-foot-top { grid-template-columns: 1fr 1fr; }

  .psx-foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* The table keeps the columns a phone can act on and drops the rest;
   * what is left still scrolls sideways if it has to. */
  .psx-table .psx-drop { display: none; }

}

@media (max-width: 520px) {
  :root {
    --psx-pad: 40px;
    --psx-h2: 25px;
    --psx-stat: 30px;
  }

  .psx-mock-ticker { font-size: 30px; }
  .psx-mock-rows { grid-template-columns: 1fr; }

  .psx-mock-row:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .psx-btn {
    height: 50px;
    padding: 0 24px;
    font-size: 16px;
  }

  .psx-foot-col .has-site-pin [data-site-pin-label] {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.lk-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .psx-marquee-track,
  .psx-logos-track { animation: none; }

}
