/* Strix — home page, laid out after clearstreet.io/studio.
   Fresh tokens; classes are prefixed s- so nothing here fights styles.css.
   Order on the page: hero → features (dark) → band (light) → claim (light) →
   tabs (light) → numbers (light) → options-first (dark) → pricing (light) →
   capabilities (dark) → parallax + cards (dark) → close (dark) → footer card. */

:root {
  --s-black: #050509;
  --s-ink: #0b0b14;
  --s-ink-2: #6b7186;
  --s-paper: #fff;
  --s-paper-2: #f3f4f8;
  --s-line: #e4e6ee;
  --s-line-d: rgba(255, 255, 255, 0.09);
  --s-mute: #8f95b2;
  --s-blue: #2b5cff;
  --s-wrap: 1280px;
}
.s-wrap {
  width: min(var(--s-wrap), calc(100% - 48px));
  margin-inline: auto;
}
.s-wrap--narrow {
  width: min(880px, calc(100% - 48px));
}
.s-center {
  text-align: center;
}
.s-h2 {
  font-size: clamp(30px, 3.9vw, 54px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-align: left;
  max-width: 22ch;
}
.s-h2--dark {
  color: #fff;
}
.s-h2--light {
  color: var(--s-ink);
}
.s-lede {
  color: var(--s-ink-2);
  font-size: 16px;
  max-width: 52ch;
  margin: 14px auto 0;
}
/* headline reveal colours for this stylesheet's sections */
.s-claim [data-reveal] .w {
  color: rgba(11, 11, 20, 0.22);
}
.s-claim [data-reveal] .w.lit {
  color: inherit;
}

/* ---------- light band with the blue abstract ---------- */
.s-band {
  position: relative;
  height: clamp(340px, 46vw, 600px);
  background: #06060f;
  overflow: hidden;
}
.s-band::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6, 6, 15, 0.55), transparent 22%, transparent 78%, rgba(6, 6, 15, 0.55)),
    radial-gradient(60% 80% at 50% 50%, transparent 40%, rgba(6, 6, 15, 0.7));
}
.s-band__tag {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.s-band .gl {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
}

/* ---------- claim ---------- */
.s-claim {
  background: var(--s-paper);
  color: var(--s-ink);
  padding: 60px 0 140px;
}
.s-claim .s-h2 {
  max-width: 24ch;
}
.s-avail {
  margin-top: 40px;
  color: var(--s-ink-2);
  font-size: 15px;
}
.s-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--s-ink);
}
.s-chip svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* ---------- tabs: who / what ---------- */
.s-tabs {
  background: var(--s-paper);
  color: var(--s-ink);
  padding: 40px 0 140px;
}
.s-tabs__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: start;
}
.s-tabs__side {
  position: sticky;
  top: 140px;
}
.s-tabs__art {
  position: relative;
  aspect-ratio: 1;
  max-width: 220px;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(80% 80% at 30% 20%, #4a3aff, #120a4a 70%);
  margin-bottom: 40px;
}
.s-tabs__art .gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.s-tabs__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.s-tabs__nav button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font: 500 clamp(28px, 3vw, 40px) / 1.15 var(--font);
  letter-spacing: -0.03em;
  color: rgba(11, 11, 20, 0.28);
  cursor: pointer;
  transition: color 0.3s ease;
}
.s-tabs__nav button.on,
.s-tabs__nav button:hover {
  color: var(--s-ink);
}
.s-tabs__pane {
  display: none;
}
.s-tabs__pane.on {
  display: block;
}
.s-tabs__pane small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--s-ink-2);
  margin-bottom: 14px;
}
.s-tiles {
  display: grid;
  gap: 12px;
}
.s-tile {
  position: relative;
  min-height: 132px;
  border-radius: 20px;
  background: var(--s-paper-2);
  border: 1px solid var(--s-line);
  padding: 20px 22px;
  display: flex;
  align-items: flex-end;
  transition: background 0.25s ease;
}
.s-tile:hover {
  background: #eceef6;
}
.s-tile b {
  font-size: 16px;
  font-weight: 500;
}
.s-tile__ico {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 64px;
  height: 64px;
  color: #3a3aff;
}
.s-tile__ico svg {
  width: 100%;
  height: 100%;
}

/* ---------- numbers ---------- */
.s-numbers {
  background: var(--s-paper);
  color: var(--s-ink);
  padding: 40px 0 140px;
}
.s-numbers .s-h2 {
  margin-inline: auto;
  max-width: none;
  text-align: center;
}
.s-numbers__art {
  position: relative;
  height: clamp(260px, 36vw, 480px);
  margin: 40px auto 20px;
  max-width: 1100px;
}
.s-numbers__art .gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.s-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.s-numbers__grid b {
  display: block;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.s-numbers__grid span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--s-ink-2);
}

/* ---------- options-first (dark, left copy + timeline line) ---------- */
.s-first {
  background: var(--s-black);
  color: #fff;
  padding: 160px 0;
}
.s-first__grid {
  display: grid;
  grid-template-columns: 2px 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.s-first__line {
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, #3a3aff 30%, #3a3aff 70%, transparent);
}
.s-first__copy h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.s-first__copy p {
  margin: 22px 0 32px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--s-mute);
  max-width: 44ch;
}
.s-first__art .chain {
  transform: rotateY(-6deg) rotateX(3deg);
  transform-origin: 100% 50%;
}

/* ---------- close ---------- */
.s-close {
  background: var(--s-black);
  color: #fff;
  padding: 160px 0 120px;
}
/* 25 Oct (Alfi): the mark is now the growth-chart tile image (assets/img/strix-funded-icon.webp). The image
   carries its own dark tile and blue rim, so there is no box, radius or gradient behind it any more; the
   glow is a drop-shadow that follows the tile's transparent corners. fx.css and mono.css restate the old
   background/box-shadow for .s-close__mark, so they are cleared here with a heavier selector. Entrance:
   fx.js adds .fx-mark (start state) and .is-in when the section scrolls in; opacity 0 → 1 and a 10px rise
   over 650ms ease-out, once. Hover: 3px lift and a slightly stronger glow over 250ms. Nothing moves after. */
img.s-close__mark {
  display: block;
  width: 72px; /* 25 Oct, second pass: 56 → 72px (64px on phones), two-layer glow: a tight bright rim and a wide soft halo */
  height: auto;
  aspect-ratio: 494 / 486;
  margin: 0 auto 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  filter: drop-shadow(0 0 8px rgba(47, 105, 255, 0.55)) drop-shadow(0 0 22px rgba(47, 105, 255, 0.3));
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
img.s-close__mark.fx-mark {
  opacity: 0;
  transform: translateY(10px);
  transition: none; /* the start state snaps; only .is-in below transitions */
}
img.s-close__mark.fx-mark.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease-out, transform 650ms ease-out, filter 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
img.s-close__mark.fx-mark.is-in.is-settled {
  transition: transform 250ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 250ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
  img.s-close__mark:hover,
  img.s-close__mark.fx-mark.is-in:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 0 10px rgba(47, 105, 255, 0.7)) drop-shadow(0 0 28px rgba(47, 105, 255, 0.42));
  }
}
@media (max-width: 768px) {
  img.s-close__mark {
    width: 64px;
    filter: drop-shadow(0 0 7px rgba(47, 105, 255, 0.5)) drop-shadow(0 0 18px rgba(47, 105, 255, 0.26));
  }
}
@media (prefers-reduced-motion: reduce) {
  img.s-close__mark,
  img.s-close__mark.fx-mark,
  img.s-close__mark.fx-mark.is-in,
  img.s-close__mark:hover {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.s-close h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.s-close h2 sup {
  font-size: 0.35em;
  vertical-align: top;
  position: relative;
  top: 0.5em;
}
.s-close p {
  margin: 18px auto 30px;
  color: var(--s-mute);
  max-width: 48ch;
}
.s-close__cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.s-close__social {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 56px;
}
.s-close__social a {
  color: var(--s-mute);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.s-close__social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- light pricing on paper, tightened ---------- */
.pricing {
  padding: 140px 0;
}
.pricing h2 {
  font-size: clamp(30px, 3.9vw, 54px);
  letter-spacing: -0.035em;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .s-tabs__grid,
  .s-first__grid {
    grid-template-columns: 1fr;
  }
  .s-first__line {
    display: none;
  }
  .s-tabs__side {
    position: static;
  }
  .s-numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .s-first,
  .s-close {
    padding: 96px 0;
  }
}
@media (max-width: 600px) {
  .s-wrap {
    width: calc(100% - 32px);
  }
}

/* ---------- the three benefits as a Studio feature row ---------- */
.sol {
  background: var(--s-black);
}
.sol__claim {
  padding: 40px 0 72px;
}
.sol__claim .s-h2 {
  max-width: 24ch;
}
.s-features__grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0 auto;
  padding-bottom: 160px;
}
.s-feat__screen--viz {
  background: #07071a;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center;
  perspective: none;
}
.s-feat__screen--viz .payoff {
  padding: 14px 14px 36px;
}
.s-feat__screen--viz .split {
  padding-bottom: 36px;
}
.s-feat__screen--viz .payoff__tabs button {
  padding: 6px 9px;
  font-size: 10.5px;
}
.s-feat__screen--viz .split {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 16px 18px;
  align-content: center;
}
.s-feat__screen--viz .split__ring {
  max-width: 128px;
}
.s-feat__screen--viz .split__num b {
  font-size: 26px;
}
.s-feat__screen--viz .split__row {
  padding: 6px 0;
  font-size: 12px;
}
.s-feat__screen--viz .split__ladder {
  display: none;
}
.s-feat__screen--price .rcpt,
.s-feat__screen--price .rcpt--ghost {
  font-size: 11px;
}
.s-feat__screen--price .rcpt {
  left: 9%;
  right: 9%;
  top: 10%;
  width: auto;
  transform: rotate(-2deg);
  z-index: 1;
}
.s-feat__screen--price .rcpt div {
  padding: 6px 0;
}
.s-feat__screen--price .rcpt--ghost {
  left: 12%;
  right: 12%;
  top: 64%;
  width: auto;
  transform: rotate(1.5deg);
  z-index: 0;
  padding: 8px 14px;
}
.s-feat__screen--price .rcpt--ghost2 {
  top: 78%;
  left: 15%;
  right: 15%;
  transform: rotate(-2deg);
  opacity: 0.5;
}
@media (max-width: 1100px) {
  .s-features__grid--three {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

/* ---------- teaser (Studio's video block) ---------- */
.s-teaser {
  padding: 160px 0 120px;
  color: #fff;
}
.s-teaser__head {
  margin-bottom: 56px;
}
.s-teaser__head .s-h2 {
  max-width: 28ch;
}
.s-teaser__head .s-h2 sup {
  font-size: 0.35em;
  vertical-align: top;
  position: relative;
  top: 0.5em;
}
.s-teaser__sub {
  margin-top: 22px;
  color: var(--s-mute);
  font-size: 16px;
}
.s-teaser__frame {
  --s: 0.92;
  position: relative;
  width: 100%;
  aspect-ratio: 1140 / 560;
  border-radius: 20px;
  overflow: hidden;
  background: #0b1236;
  border: 1px solid rgba(120, 140, 255, 0.18);
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.65);
  transform: scale(var(--s));
  transform-origin: 50% 40%;
  will-change: transform;
}
.s-teaser__screen {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  transform: scale(var(--k, 1));
  width: 1140px;
  height: 560px;
}
.s-teaser__screen .dash {
  transition:
    opacity 0.6s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.s-teaser__bar {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(5, 5, 9, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}
.s-teaser__play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #050509;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.s-teaser__play svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.s-teaser__play .i-play,
.is-paused .s-teaser__play .i-pause {
  display: none;
}
.is-paused .s-teaser__play .i-play {
  display: block;
}
.s-teaser__dots {
  display: flex;
  gap: 6px;
}
.s-teaser__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.s-teaser__dots button.on {
  background: #fff;
  transform: scale(1.25);
}
.s-teaser__label {
  font-size: 12px;
  color: #d9dcf2;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .s-teaser {
    padding: 96px 0 80px;
  }
  .s-teaser__frame {
    border-radius: 12px;
  }
  .s-teaser__label {
    display: none;
  }
}

/* ---------- tabs v2: gradient art tile + big line-art cards ---------- */
.s-tabs__art {
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 24px;
  background:
    radial-gradient(60% 50% at 80% 70%, rgba(255, 60, 170, 0.75), transparent 70%),
    radial-gradient(70% 60% at 20% 20%, rgba(90, 60, 255, 0.85), transparent 70%),
    linear-gradient(160deg, #1a0f3f, #0b0620 60%, #1d0b3a);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.s-tabs__art::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.08;
  mix-blend-mode: overlay;
}
.s-tabs__mini {
  position: relative;
  width: 66%;
  aspect-ratio: 260 / 150;
  border-radius: 12px;
  background: #0b0b24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  padding: 8px;
}
.s-tabs__mini svg {
  width: 100%;
  height: 100%;
  display: block;
}
.s-tile {
  min-height: 250px;
  padding: 26px 28px;
  border-radius: 22px;
  background: #f5f6fb;
  border: 1px solid #e7e9f2;
}
.s-tile__ico {
  right: 28px;
  top: 24px;
  width: 168px;
  height: 168px;
  color: inherit;
}
.s-tile__txt {
  position: relative;
  z-index: 1;
  max-width: 55%;
}
.s-tile__txt b {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.s-tile__txt span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--s-ink-2);
}
.s-tabs__pane small {
  font-size: 11px;
  color: #8a8f9c;
}
@media (max-width: 700px) {
  .s-tile {
    min-height: 200px;
  }
  .s-tile__ico {
    width: 110px;
    height: 110px;
  }
  .s-tile__txt {
    max-width: 62%;
  }
}

/* ---------- tabs v3: sticky art that changes per card ---------- */
.s-tabs__grid {
  align-items: start;
}
.s-tabs__side {
  position: sticky;
  top: 120px;
}
.s-art {
  position: relative;
  max-width: 300px;
  background: #0b0620;
}
.s-art__layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.55s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  background:
    radial-gradient(60% 50% at 82% 72%, hsl(var(--h2) 90% 55% / 0.85), transparent 70%),
    radial-gradient(70% 60% at 18% 18%, hsl(var(--h1) 85% 58% / 0.9), transparent 70%),
    linear-gradient(160deg, hsl(var(--h1) 60% 14%), #0b0620 60%, hsl(var(--h2) 60% 14%));
}
.s-art__layer.is-on {
  opacity: 1;
  transform: none;
}
.s-art__layer svg {
  width: 58%;
  height: 58%;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}
.s-tiles--flow {
  gap: 12px;
}
.s-tabs__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8f9c;
  margin: 28px 0 2px;
}
.s-tabs__label:first-child {
  margin-top: 0;
}
.s-tile {
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}
.s-tile.is-on {
  background: #eef0fb;
  border-color: #d9dcf0;
}
@media (max-width: 900px) {
  .s-tabs__side {
    position: sticky;
    top: calc(var(--nav-h) + 12px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--s-paper);
    padding: 10px 0;
  }
  .s-art {
    width: 96px;
    aspect-ratio: 1;
    margin: 0;
    border-radius: 14px;
  }
  .s-tabs__nav button {
    font-size: 20px;
  }
}
/* art tiles: mini product screens instead of icons */
.s-art__card {
  width: 72%;
  aspect-ratio: 260 / 150;
  border-radius: 12px;
  background: #0b0b24;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.s-art__card svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: none;
}

/* ---------- schematic (Studio's API-first block) ---------- */
.s-schema {
  padding: 0 0 60px;
  overflow: hidden;
}
.s-schema__stage {
  position: relative;
  height: clamp(760px, 118vw, 1180px);
  max-height: 1400px;
}
.s-schema__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.s-schema__lines .ln {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.s-schema__lines .ln:nth-child(1) { pathLength: 1; transition-delay: 0s; }
.s-schema__lines .ln:nth-child(2) { transition-delay: 0.25s; }
.s-schema__lines .ln:nth-child(3),
.s-schema__lines .ln:nth-child(4) { transition-delay: 0.7s; }
.s-schema__lines .ln:nth-child(5),
.s-schema__lines .ln:nth-child(6) { transition-delay: 1.2s; }
.s-schema.in-view .s-schema__lines .ln {
  stroke-dashoffset: 0;
}
.s-schema__tip {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #5b5bff;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s 0.2s;
}
.s-schema__arrow {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--s-black);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition:
    opacity 0.5s 0.9s,
    transform 0.6s 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.s-schema.in-view .s-schema__tip,
.s-schema.in-view .s-schema__arrow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.s-schema__box {
  position: absolute;
  width: 18%;
  min-width: 170px;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #0b0b16;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.3s;
}
.s-schema.in-view .s-schema__box {
  opacity: 1;
  transform: none;
}
.s-schema__box--top {
  left: 50%;
  top: 15%;
  transform: translate(-50%, 14px);
  border-color: #5b5bff;
  box-shadow: 0 0 0 1px rgba(91, 91, 255, 0.35), 0 30px 80px rgba(43, 43, 245, 0.18);
}
.s-schema.in-view .s-schema__box--top {
  transform: translate(-50%, 0);
}
.s-schema__box--l {
  left: 9%;
  top: 64%;
  transform: translate(-50%, 14px);
  transition-delay: 0.9s;
}
.s-schema__box--r {
  left: 91%;
  top: 64%;
  transform: translate(-50%, 14px);
  transition-delay: 0.9s;
}
.s-schema.in-view .s-schema__box--l,
.s-schema.in-view .s-schema__box--r {
  transform: translate(-50%, 0);
}
.s-schema__box--b {
  left: 50%;
  top: 92%;
  transform: translate(-50%, calc(-50% + 14px));
  transition-delay: 1.4s;
}
.s-schema.in-view .s-schema__box--b {
  transform: translate(-50%, -50%);
}
.s-schema__copy {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translateX(-50%);
  width: min(560px, 80%);
  text-align: left;
}
.s-schema__copy h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.s-schema__copy h2 sup {
  font-size: 0.35em;
  vertical-align: top;
  position: relative;
  top: 0.5em;
}
.s-schema__copy p {
  margin: 26px 0 30px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--s-mute);
}
@media (max-width: 900px) {
  .s-schema__stage {
    height: auto;
    padding: 80px 0 0;
  }
  .s-schema__lines,
  .s-schema__tip,
  .s-schema__arrow,
  .s-schema__box {
    display: none;
  }
  .s-schema__copy {
    position: static;
    transform: none;
    width: auto;
    padding: 0 0 24px;
  }
  .s-schema__mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-bottom: 96px;
  }
}

/* numbers: still image (Studio's 3D fan) instead of the WebGL petal */
.s-numbers__art {
  height: auto;
  aspect-ratio: 1280 / 540;
  max-width: 1100px;
}
.s-numbers__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---------- capabilities v3: widget cards, 5 short lines, tighter pin ---------- */
.cap {
  height: calc(100vh + 5 * 62vh);
}
.cap__pin {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
}
.cap__stack {
  width: min(100%, 300px);
  aspect-ratio: 300 / 210;
  margin-left: 0;
  margin-right: auto;
  align-self: center;
}
.cap__w {
  border-radius: 18px;
  background: #fff;
  border: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  color: #0b0b14;
}
.cap__w-top {
  background: var(--c);
  color: #fff;
  padding: 22px 26px 20px;
  border-radius: 18px;
  flex: 1;
}
.cap__w-top small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
}
.cap__w-top b {
  display: block;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cap__w-top span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.85;
}
.cap__w-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 26px;
  margin: 0 12px;
  font-size: 17px;
  font-weight: 500;
  color: #d4384f;
  background: #fff;
}
.cap__w-foot i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.cap__w-foot svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
/* tint per card so the five look distinct but calm */
.cap__w[style*='#3dd6c4'] .cap__w-top { background: #1fbfae; }
.cap__w[style*='#ffd36a'] .cap__w-top { background: #e2a800; }
.cap__w[style*='#7c5cff'] .cap__w-top { background: #4f4fff; }
.cap__w[style*='#ff5a8a'] .cap__w-top { background: #ff4f7d; }
.cap__w[style*='#f0862e'] .cap__w-top { background: #f0862e; }
.cap__line button {
  font: 500 clamp(30px, 4.8vw, 68px) / 1.15 var(--font);
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.28);
}
.cap__list {
  padding-top: 16px;
}
.cap__kicker {
  top: calc(var(--nav-h) + 52px);
}

/* ---------- nav: Studio proportions ---------- */
:root {
  --nav-h: 60px;
}
.navwrap {
  padding-top: 24px;
}
/* DT-06 fix: the promo toast (styles.css, fixed bottom-right, 230px) covered the right third of the
   hero laptop dashboard at every desktop width (panel right edge 1200px at 1280, 1280px at 1440).
   On desktop it now docks top-right, 24px under the floating nav, where the centred hero copy
   leaves the corner empty; it still fades and goes with the scroll-driven --p exactly as before,
   and the dismiss button and copy are untouched. Phones/tablets keep styles.css (hidden ≤768). */
@media (min-width: 961px) {
  .promo {
    top: calc(var(--staging-bar-h, 0px) + var(--nav-h, 60px) + 24px + 24px);
    bottom: auto;
  }
}
.nav {
  width: min(1180px, 100%);
  padding: 0 10px 0 26px;
  gap: 8px;
}
.nav .brand {
  margin-right: 34px;
}
.nav .brand__img {
  height: 34px;
  filter: none;
  content: url('../img/strix-logo.png');
  transition: opacity 0.2s;
}
.nav .brand__img,
.nav.nav--dark .brand__img,
.nav.nav--light .brand__img {
  /* brand stays blue on every background, on every page */
  content: url('../img/strix-logo.png');
  filter: none !important;
}
/* light pill (default / over light sections) */
.nav,
.nav.nav--light {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink, #0c0f2c);
  border: 1px solid rgba(12, 15, 44, 0.08);
  box-shadow: 0 10px 40px rgba(12, 15, 44, 0.1);
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.nav .nav__links > a,
.nav .nav__links > .dd > a,
.nav .nav__search {
  color: #2a2f55;
}
.nav .nav__links > a:hover,
.nav .nav__links > .dd > a:hover {
  color: var(--s-blue, #2b5cff);
}
.nav .btn--ghost {
  color: var(--ink, #0c0f2c);
  border-color: rgba(12, 15, 44, 0.16);
  background: transparent;
}
.nav .btn--blue {
  background: var(--s-blue, #2b5cff);
  color: #fff;
}
/* dark pill (over the hero and other dark sections) */
.nav.nav--dark {
  background: rgba(14, 14, 24, 0.72);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.nav.nav--dark .nav__links > a,
.nav.nav--dark .nav__links > .dd > a,
.nav.nav--dark .nav__search {
  color: #d9dcf2;
}
.nav.nav--dark .nav__links > a:hover,
.nav.nav--dark .nav__links > .dd > a:hover {
  color: #fff;
}
.nav.nav--dark .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.nav.nav--dark .btn--blue {
  background: #fff;
  color: var(--ink, #0c0f2c);
}
.nav .nav__links > a,
.nav .nav__links > .dd > a {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
}
.nav .btn--blue,
.nav .btn--ghost {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .nav .brand__img {
    height: 24px;
  }
}
.cap__stack {
  width: min(100%, 320px);
  aspect-ratio: 320 / 224;
}
/* hero: second CTA + scroll cue back on */
.hero__cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__cta .btn--ghostw {
  height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero__cue {
  display: grid;
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  transform: translateX(-50%);
  z-index: 4;
  opacity: calc(1 - var(--p) * 2);
  transition: opacity 0.2s;
}
.hero.is-past .hero__cue {
  opacity: 0;
  pointer-events: none;
}
.dash__pnl .up {
  color: #3dd6c4;
}
.dash__pnl .dn {
  color: #ff6a6a;
}

/* ===== checkout + legal pages ===== */
.co { max-width: 1040px; }
.co__main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px 56px; align-items: start; }
.co__main > .section-eyebrow, .co__main > h1, .co__main > .lede { grid-column: 1; }
/* DT-06 fix: as a grid item the eyebrow pill stretched to the full 604px column (its text is 76px);
   every other sub-page pill hugs its text. */
.co__main > .section-eyebrow { justify-self: start; }
/* DT-06 fix (desktop two-column layout only): the 40px row gap also sat between eyebrow, heading and
   lede, so the checkout header was ~80px taller than the same header on Contact/Affiliates/Rules.
   Drop the row gap there and let the elements' own margins set the rhythm (eyebrow 10px, lede 14px,
   as elsewhere); the form keeps a 40px gap under the lede like the other pages' first block. */
@media (min-width: 821px) {
  .co__main { row-gap: 0; }
  .co__form { margin-top: 40px; }
}
.co__plan { grid-column: 2; grid-row: 1 / span 4; background: #fff; border: 1px solid var(--line-d); border-radius: 18px; padding: 22px; position: sticky; top: 100px; }
.co__plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-d); }
.co__plan-head span { color: var(--blue); font-weight: 600; font-size: 15px; white-space: nowrap; }
.co__plan dl { margin: 6px 0 0; }
.co__plan dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-d); font-size: 14px; }
.co__plan dt { color: var(--ink-2); }
.co__plan dd { margin: 0; font-weight: 600; }
.co__change { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--blue); }
.co__form { grid-column: 1; max-width: 520px; }
.co__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co__form .btn { justify-self: start; margin-top: 6px; }
.co__check a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.legal { max-width: 820px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.legal__toc a { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-d); background: #fff; color: var(--ink); }
.legal__toc a:hover { border-color: var(--blue); color: var(--blue); }
.legal__sec { scroll-margin-top: 100px; }
.legal__sec h2 { margin-top: 48px; }
@media (max-width: 820px) {
  .co__main { grid-template-columns: 1fr; }
  .co__plan, .co__main > *, .co__form { grid-column: 1; grid-row: auto; position: static; }
  .co__two { grid-template-columns: 1fr; }
}

/* ===== cursors: arrow everywhere, hand on anything clickable, I-beam only in fields ===== */
html, body {
  cursor: default;
}
*, *::before, *::after {
  cursor: inherit;
}
a[href], button, [role='button'], [role='tab'], summary, select, input[type='checkbox'], input[type='radio'],
.dd > a, .tabs button, .js-copy, .s-teaser__dots button, .s-teaser__play,
.cap__line button, .s-tile[data-tile], .plan .btn, .dc, .brand, label.chk, .co__check, .legal__toc a, .acc summary,
.s-feat__plus, [data-tile] {
  cursor: pointer;
}
input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']),
textarea {
  cursor: text;
}
button:disabled, a[aria-disabled='true'] {
  cursor: not-allowed;
}
.is-dragging, .is-dragging * {
  cursor: grabbing;
}

/* ===== sign-in page, Studio rhythm ===== */
.signin {
  background: var(--s-paper-2, #f3f4f8);
  color: var(--s-ink, #0b0b14);
  padding-top: calc(var(--nav-h, 60px) + 48px);
  gap: 0;
}
.signin__form {
  padding: 40px 48px 64px;
}
.signin__box {
  max-width: 420px;
  gap: 20px;
}
.signin h1 {
  font-weight: 500;
  letter-spacing: -0.035em;
  font-size: clamp(36px, 4vw, 50px);
  color: #0b0b14;
}
.signin .muted {
  font-size: 15px;
  line-height: 1.55;
  color: #5b5f76;
}
.signin label.f {
  color: #2a2d3f;
  font-weight: 500;
  font-size: 13px;
}
.signin .glass {
  border-radius: 12px;
  border: 1px solid rgba(12, 15, 44, 0.12);
  background: #fff;
  backdrop-filter: none;
}
.signin .glass:focus-within {
  border-color: var(--s-blue, #2b5cff);
  box-shadow: 0 0 0 3px rgba(43, 92, 255, 0.15);
  background: #fff;
}
.signin .glass input {
  font-size: 15px;
  padding: 14px 16px;
}
.signin .primary {
  border-radius: 999px;
  background: var(--s-blue, #2b5cff);
  color: #fff;
  font-weight: 600;
  height: 48px;
  letter-spacing: 0;
}
.signin .primary:hover {
  background: #1f49e0;
}
.signin .google {
  border-radius: 999px;
  border: 1px solid rgba(12, 15, 44, 0.14);
  background: #fff;
  font-weight: 500;
  height: 48px;
}
.signin .row label,
.signin .or span:last-child,
.signin .muted a,
.signin .row a {
  font-size: 13px;
}
.signin__hero {
  padding: 0 24px 24px 0;
}
.si-panel {
  position: absolute;
  inset: 0 24px 24px 0;
  border-radius: 24px;
  overflow: hidden;
  background: #06060f;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 44px 36px;
  isolation: isolate;
}
.si-panel__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 40% at 78% 18%, rgba(43, 92, 255, 0.55), transparent 70%),
    radial-gradient(36% 36% at 20% 90%, rgba(120, 80, 255, 0.35), transparent 70%);
  z-index: -2;
}
.si-panel__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 100%);
}
.eyebrow--light {
  color: rgba(255, 255, 255, 0.6);
}
.si-cap {
  margin-top: 16px;
  max-width: 18ch;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}
.si-stats {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.si-stats li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.si-stats b {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.si-stats span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 767px) {
  .signin {
    padding-top: calc(var(--nav-h, 60px) + 32px);
  }
  .signin__form {
    padding: 16px 20px 48px;
  }
}
.signin .or span:last-child {
  background: var(--s-paper-2, #f3f4f8);
  padding: 0 12px;
  color: #6b6f86;
}
/* payouts page: it sits on the light paper like every other sub-page now, but its
   table and cards stay dark — give them light ink (styles.css was inheriting dark ink). */
.sub--dark {
  color: var(--s-ink, #0b0b14);
}
.sub--dark h1 {
  color: var(--blue-ink, #0b0b14);
}
.sub--dark .lede {
  color: #5b5f76;
}
.sub--dark .tbl {
  background: #12122a;
  border-color: rgba(255, 255, 255, 0.08);
}
.sub--dark .tbl td,
.sub--dark .tbl td:first-child {
  color: #eef0ff;
  border-color: rgba(255, 255, 255, 0.08);
}
.sub--dark .pcard,
.sub--dark .pcard h3 {
  color: #fff;
}
.sub--dark .pcard p {
  color: #b9c0e8;
}
/* nav link hover/open pill — follows the nav's own theme, never the page's */
.nav .nav__links > a,
.nav .nav__links > .dd > a {
  border-radius: 999px;
  transition:
    background 0.18s,
    color 0.18s;
}
.nav.nav--light .nav__links > a:hover,
.nav.nav--light .nav__links > .dd:hover > a,
.nav.nav--light .nav__links > .dd.open > a,
.nav.nav--light .nav__links > .dd:focus-within > a,
.nav.nav--light .nav__links > a.on {
  background: rgba(12, 15, 44, 0.06);
  color: #0b0b14;
}
.nav.nav--dark .nav__links > a:hover,
.nav.nav--dark .nav__links > .dd:hover > a,
.nav.nav--dark .nav__links > .dd.open > a,
.nav.nav--dark .nav__links > .dd:focus-within > a,
.nav.nav--dark .nav__links > a.on {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
/* before the first sample (no theme class yet) fall back to the dark pill */
.nav:not(.nav--light):not(.nav--dark) .nav__links > a:hover,
.nav:not(.nav--light):not(.nav--dark) .nav__links > .dd:hover > a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
/* the dropdown itself is always a white card with dark ink, regardless of nav theme */
.nav .dd__menu,
.nav .dd__menu a,
.nav .dd__menu h5,
.nav .dd__menu p {
  color: #0b0b14;
}
.nav .dd__menu .dd__sub {
  color: #5b5f76;
}
.nav .dd__menu a:hover {
  color: var(--s-blue, #2b5cff);
}
/* footer legal block: aligned with the card above, readable on the dark footer */
.disc {
  background: transparent;
  margin: 0;
  padding: 32px 40px 8px;
  border-radius: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 48px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}
.disc > div:first-child {
  display: grid;
  gap: 10px;
}
.disc p {
  max-width: 120ch;
  margin: 0;
}
.disc p b {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.disc i {
  color: rgba(255, 255, 255, 0.7);
}
.disc .made {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  font-size: 12px;
  padding-top: 2px;
}
@media (max-width: 768px) {
  .disc {
    padding: 24px 20px 0;
    grid-template-columns: 1fr;
  }
}
/* ===== backend-driven bits (api.js) ===== */
/* B-03: one inline feedback line per form. Two regions live in the markup
   (role=alert for errors, role=status for progress/success); only the active
   one carries .api-note, the other stays [hidden] so it takes no grid slot. */
.form__msg[hidden] {
  display: none;
}
.form__msg:focus {
  outline: none;
}
.form__msg:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 6px;
}
.api-note {
  margin-top: 10px;
  font-size: 14px; /* M-11 floor: nothing under 14px on phones */
  line-height: 1.45;
  color: #5b5f76;
}
.form .api-note {
  margin-top: 0; /* the form grid gap already spaces it */
}
.api-note a:not(.btn) {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}
.api-note .api-note__btn {
  display: flex; /* its own line under the sentence */
  width: max-content;
  max-width: 100%;
  margin-top: 10px;
  min-height: 44px;
  color: var(--ink, #12122a);
  white-space: normal;
  text-align: center;
}
.api-note--ok {
  color: #087a5e; /* 5:1 on white */
}
/* DT-05 (desktop, ≥769px): contact + affiliate pages. Phones already lift every .note and the
   consent labels to 14–15px (the mobile.css floor); on desktop the same copy still rendered at
   12.5px / 13px grey on white: the "Fields marked * are required" hint, the card notes, the
   calculator readouts, the table footnote and disclaimer, the Office address, and the two
   checkbox labels. Same 14px floor here. Nothing about the layout changes. */
@media (min-width: 769px) {
  #page-contact .note,
  #page-affiliates .note,
  #page-affiliates .form .chk {
    font-size: 14px;
  }
}
.api-note--warn {
  color: #b26a00;
}
.api-note--error {
  color: #c62828;
}
.pw__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.pw__stats > div {
  background: #12122a;
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
}
.pw__stats b {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.pw__stats span {
  font-size: 12.5px;
  color: #9aa3d6;
}
.pw {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.pw__card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(12, 15, 44, 0.1);
  border-radius: 16px;
  padding: 12px;
  color: var(--s-ink, #0b0b14);
  transition: border-color 0.2s, transform 0.2s;
}
.pw__card:hover {
  border-color: var(--s-blue, #2b5cff);
  transform: translateY(-2px);
}
.pw__img {
  width: 84px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  background: #12122a;
}
.pw__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.pw__body b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pw__body span {
  font-size: 14px;
}
.pw__body small {
  font-size: 12px;
  color: #5b5f76;
}
@media (max-width: 760px) {
  .pw__stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================================================
   v7 — feedback round: bigger type, no scroll-locked sections, accounts
   moved up, proof + strategies + reviews + RixTrade + comparison blocks
   ===================================================================== */
:root {
  --s-text: 17px;
}
/* ---- type scale up everywhere on the home page ---- */
#page-home p,
#page-home li,
#page-home dd,
#page-home dt {
  font-size: var(--s-text);
  line-height: 1.55;
}
.btn {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
}
.btn--lg {
  height: 56px;
  padding: 0 30px;
  font-size: 17px;
}
.nav .btn--blue,
.nav .btn--ghost {
  height: 42px;
  padding: 0 20px;
  font-size: 15px;
}
.s-head {
  max-width: 820px;
  margin-bottom: 40px;
}
.s-head h2,
.cmp h2,
.reviews h2,
.strat h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
.s-head p {
  margin-top: 14px;
  color: #5b5f76;
  max-width: 64ch;
}
.s-head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---- hero: static, big, readable ---- */
.hero {
  --pin: 0px;
}
.hero__pin {
  min-height: 0;
  padding: calc(var(--nav-h, 60px) + 84px) 0 0;
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
}
.hero__sub {
  font-size: clamp(18px, 1.6vw, 23px);
  max-width: 820px;
  margin-top: 24px;
  color: #c7cbe6;
}
.hero__cta {
  margin-top: 34px;
  gap: 14px;
}
.hero__cta .btn--ghostw {
  height: 56px;
  padding: 0 30px;
  font-size: 17px;
}
/* 23 Oct: worked pricing example under the buttons. Plain grey text, smaller than the sub, with the
   two figures in ink, so it reads as a footnote and never as a third button. (#page-home scoped to
   beat the `#page-home p` type scale above and the `.hero p` colour/margin rules in styles.css.) */
#page-home .hero__example {
  margin: 18px auto 0;
  max-width: 640px;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--m-ink-2, #5a5c66);
}
#page-home .hero__example b {
  font-weight: 600;
  color: var(--m-ink, #0a0a0c);
}
.hero__stage {
  transform: none !important;
  margin-top: 56px;
}
.hero__cue {
  display: none !important;
}
@media (max-width: 768px) {
  .hero__pin {
    padding-top: calc(var(--nav-h, 60px) + 48px);
  }
  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }
  .hero__sub {
    font-size: 18px;
  }
  .hero__cta .btn,
  .hero__cta .btn--ghostw {
    width: 100%;
    height: 54px;
  }
  #page-home .hero__example {
    margin-top: 16px;
    font-size: 14px;
  }
}

/* ---- proof strip ---- */
.proof {
  background: #050509;
  color: #fff;
  padding: 10px 0 64px;
}
.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 36px;
}
.proof__grid > div {
  display: grid;
  gap: 6px;
}
.proof__grid b {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.proof__grid span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}
.proof__tp {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
@media (max-width: 820px) {
  .proof__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- every strategy ---- */
.strat {
  background: var(--s-paper-2, #f3f4f8);
  color: var(--s-ink, #0b0b14);
  padding: 96px 0;
}
.strat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.strat__card {
  background: #fff;
  border: 1px solid rgba(12, 15, 44, 0.08);
  border-radius: 20px;
  padding: 26px 26px 28px;
  display: grid;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.strat__card:hover {
  border-color: var(--s-blue, #2b5cff);
  transform: translateY(-2px);
}
.strat__ico {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}
.strat__ico svg {
  width: 100%;
  height: 100%;
}
.strat__card b {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.strat__card > span:last-child {
  font-size: 16px;
  line-height: 1.5;
  color: #5b5f76;
}
@media (max-width: 900px) {
  .strat__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .strat__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- pricing: bigger, scannable ---- */
.pricing {
  padding: 96px 0 72px;
}
.pricing h2 {
  font-size: clamp(34px, 4.4vw, 56px);
}
.pricing .lede {
  font-size: 18px;
}
/* small sub-headings over the plan tabs and the account-size cards */
.pricing__label {
  margin: 32px 0 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: inherit;
}
.pricing .pricing__label + .tabs {
  margin-top: 12px;
}
.pricing__label--plans {
  margin-top: 44px;
}
.pricing .pricing__label--plans ~ .plans {
  margin-top: 14px; /* .plans keeps its 14px top padding for the "Most popular" badge */
}
.plan h3 {
  font-size: 24px;
}
.plan__price b {
  font-size: 40px;
}
.plan__price s {
  font-size: 18px;
}
.plan__price span {
  font-size: 15px;
}
.plan__save {
  font-size: 14px;
}
.plan dl {
  font-size: 15.5px;
  gap: 10px;
}
.plan .btn {
  height: 52px;
  font-size: 16px;
}
.codebar,
.tabs button {
  font-size: 15px;
}
.plan--pop .plan__pop {
  font-size: 13px;
}

/* ---- reviews ---- */
.reviews {
  background: #fff;
  color: var(--s-ink, #0b0b14);
  padding: 72px 0 96px;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review {
  margin: 0;
  background: var(--s-paper-2, #f3f4f8);
  border: 1px solid rgba(12, 15, 44, 0.06);
  border-radius: 20px;
  padding: 26px;
  display: grid;
  gap: 14px;
  align-content: start;
}
.review blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
/* five-star row above the quote: soft gold, 16px, no boxes or glow; the row's own
   margin trims the card gap so the stars sit close to the text they rate */
.review__stars {
  display: flex;
  gap: 3px;
  color: #e3a93c;
  margin-bottom: -4px;
}
.review__stars svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: currentColor;
}
.review figcaption {
  display: grid;
  gap: 2px;
  font-size: 15px;
}
.review figcaption b {
  font-weight: 600;
}
.review figcaption span {
  color: #5b5f76;
  font-size: 14px;
}
/* DT-04 (desktop): the three cards share one grid row, so they are already the same height,
   but the author row used to sit wherever the quote ended (a 2-line quote left it 50px higher
   than its neighbours). Pin the author row to the card bottom so the three rows line up. */
@media (min-width: 901px) {
  .review {
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
  }
}
@media (max-width: 900px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

/* mobile (M-04): reviews move under the hero via fx.js; keep the block compact */
@media (max-width: 768px) {
  .reviews {
    padding: 40px 0 48px;
  }
  .reviews .s-head--row {
    gap: 16px;
    margin-bottom: 24px;
  }
  .reviews__grid {
    gap: 12px;
  }
  .review {
    padding: 20px;
    gap: 12px;
  }
  .review blockquote {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* ---- RixTrade: compact partnership strip (21 Oct). White like the reviews above it, a hairline
   top and bottom, label + logo + two sentences on the left and the options-chain screenshot
   (rixtrade-photo.webp, 1024x582 since the 22 Oct evening, before that rixtrade-photo1.webp 1600x777; both wider than the old Accounts shot) as a floating 3-D mockup on the right; stacked at 768px and under. A partner credit, so quieter than the hero, pricing and reviews: no animation beyond the hover ease,
   no dark band, no CTA. Since the 21 Oct evening the copy reads like the reviews above: the label is the
   same blue eyebrow as "Traders on Strix" (the base .eyebrow colour, 13px / 0.1em from the shared
   .s-head rule), the logo is 50px tall, the paragraph is 20px near-black and "Learn more" 17px. ---- */
.partner {
  --s-text: 20px; /* #page-home p reads this (type scale above); 17px at 768px and under */
  background: #fff;
  color: var(--s-ink, #0b0b14);
  border-top: 1px solid var(--s-line, #e4e6ee);
  border-bottom: 1px solid var(--s-line, #e4e6ee);
  padding: 56px 0;
}
.partner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(620px, 54%);
  gap: 48px;
  align-items: center;
}
.partner .section-eyebrow {
  margin-bottom: 16px;
}
.partner__logo {
  display: block;
  height: 50px;
  width: auto;
  margin: 0 0 16px;
}
/* #page-home scoped to beat the `#page-home p` line-height (type scale above) */
#page-home .partner__text p {
  margin: 0;
  max-width: 46ch;
  line-height: 1.6;
  color: #111111;
}
/* "Learn more →": plain blue text, the arrow slides on hover/focus. 10px of vertical padding keeps
   the 44px / 20px-padding phone tap rule (T038) without adding visible space. */
.partner__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 -10px;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--s-blue, #2b5cff);
  text-decoration: none;
}
.partner__more span {
  display: inline-block;
  transition: transform 0.25s ease;
}
.partner__more:hover,
.partner__more:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.partner__more:hover span,
.partner__more:focus-visible span {
  transform: translateX(4px);
}
/* the screenshot: a floating 3-D mockup. The <figure class="rixtrade-mockup-wrap"> is the perspective
   container (perspective 1200px, overflow visible, a flex row that pushes the image to the right end
   with 32px of right padding so the near edge never crowds the viewport edge); the <img> carries a
   rotateY(-30deg), a 10deg rotateX (top away, bottom nearer: an elevated view) and a 1deg rotateZ tilt
   (matched to the reference with a pixel probe on 22 Oct), a 5px dark bezel, 14px radius and a two-layer grey shadow.
   With CSS's axes a negative rotateY brings the RIGHT edge toward the viewer (taller, nearer). margin: 0
   cancels the browser's default figure margins so the grid centres the mockup against the copy. */
.rixtrade-mockup-wrap {
  margin: 0;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  display: flex;
  justify-content: flex-end;
  padding-right: 32px;
  overflow: visible;
}
.rixtrade-mockup-wrap img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 14px;
  border: 5px solid #0b1220;
  background: #0b1220;
  transform: rotateY(-30deg) rotateX(10deg) rotateZ(-1deg);
  transform-origin: 50% 50%;
  box-shadow:
    0 40px 80px rgba(15, 23, 42, 0.32),
    0 18px 36px rgba(15, 23, 42, 0.20),
    0 6px 12px rgba(15, 23, 42, 0.12);
  transition: transform 0.4s ease;
}
/* 22 Oct: the hover eases the tilt from the whole partner row, not from the image. Hovering the image
   itself moved its projected edges under the pointer (the near edge sticks out of the figure's box), so
   the hover state flipped on and off and the card jittered at its corners, the same bug as the hero
   laptop on 21 Oct. The row's box never moves, so the state is stable. Touch devices skip it. */
@media (hover: hover) and (pointer: fine) {
  .partner__grid:hover .rixtrade-mockup-wrap img {
    transform: rotateY(-24deg) rotateX(8deg) rotateZ(-1deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rixtrade-mockup-wrap img,
  .partner__more span {
    transition: none;
  }
  .partner__more:hover span,
  .partner__more:focus-visible span {
    transform: none;
  }
}
/* stacked under the copy at 768px and below (T046 treats 768 as a tablet); the mockup rules the brief
   wrote for 767px live here so the image never keeps its desktop tilt while the columns are stacked */
@media (max-width: 768px) {
  .partner {
    --s-text: 17px;
    padding: 40px 0;
  }
  .partner__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .partner__logo {
    height: 42px;
  }
  .partner__more {
    font-size: 16px;
  }
  .rixtrade-mockup-wrap {
    justify-content: center;
    padding-right: 0;
  }
  .rixtrade-mockup-wrap img {
    transform: rotateY(-12deg) rotateX(5deg) rotateZ(-0.5deg);
    max-width: 100%;
  }
}

/* ---- comparison table ---- */
.cmp {
  background: var(--s-paper-2, #f3f4f8);
  color: var(--s-ink, #0b0b14);
  padding: 96px 0;
}
.cmp .s-head {
  margin-left: auto;
  margin-right: auto;
}
#page-home .cmp__sub {
  margin: 14px auto 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--s-ink-2, #6b7186);
}
.cmp__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid rgba(12, 15, 44, 0.08);
  border-radius: 20px;
  overflow: hidden;
  font-size: 16px;
}
.cmp__table th,
.cmp__table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(12, 15, 44, 0.08);
  vertical-align: top;
}
.cmp__table thead th {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b5f76;
  background: #f7f8fc;
}
.cmp__table tbody th {
  font-weight: 600;
  width: 22%;
}
.cmp__table td:nth-child(2) {
  color: #8a8ea3;
}
.cmp__table td:nth-child(3) {
  font-weight: 600;
  color: var(--s-blue, #2b5cff);
}
.cmp__table tr:last-child th,
.cmp__table tr:last-child td {
  border-bottom: 0;
}
/* "Got more questions? Read the FAQ" line under the table. The 28px margin plus the
   section's bottom padding keeps the gap to the dark close section balanced with the
   gap above the table. Scoped with #page-home to beat the `#page-home p` type scale.
   22 Oct (Alfi): 20px near-black (#111111) instead of 16px grey so it reads as a real
   prompt, 18px on tablets (641–768px) and 17px on phones; the link stays blue 600. */
#page-home .cmp__more {
  margin: 28px auto 0;
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
  color: #111111;
}
.cmp__more a {
  color: var(--s-blue, #2b5cff);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
}
.cmp__more a:hover,
.cmp__more a:focus-visible {
  text-decoration: underline;
}
@media (min-width: 641px) and (max-width: 768px) {
  #page-home .cmp__more {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  #page-home .cmp__more {
    margin-top: 22px;
    font-size: 17px;
  }
}
/* DT-04 (desktop, ≥769px): the auto table layout sized the two value columns from their
   content (285px vs 400px at 880 wide), so the "Strix" header sat off-centre and the row
   label column changed width with the copy. Fixed layout gives every row the same three
   columns (22 / 36 / 42 %), the container grows to 960px and the type to 17px; at 960 wide
   the longest cell ("Caps that grow, every 14 days, no cap live", 339px) still has room
   (42% − 48px padding = 355px), so nothing wraps. Tablets and phones (≤768px) are untouched. */
@media (min-width: 769px) {
  .cmp .s-wrap--narrow {
    width: min(960px, calc(100% - 48px));
  }
  .cmp__table {
    table-layout: fixed;
    font-size: 17px;
  }
  .cmp__table th,
  .cmp__table td {
    padding: 18px 24px;
  }
  .cmp__table thead th:first-child,
  .cmp__table tbody th {
    width: 22%;
  }
  .cmp__table thead th:nth-child(2) {
    width: 36%;
  }
  .cmp__table thead th:nth-child(3) {
    width: 42%;
  }
}
/* mobile (M-07): stacked rows, 16px text. The <table> keeps its semantics through
   explicit ARIA roles in the markup while cells become block/grid boxes here; column
   headers stay in the DOM as a visible legend. 23 Oct (Rev.2 copy): eight question
   rows with full sentences, so each row is a single-column card — the question on
   top, then the ✕ "most prop firms" line and the Strix line, each wrapping freely.
   28 Oct: the Strix column carries no check mark (the ✔ left the copy and the legend). */
.cmp__short {
  display: none;
}
@media (max-width: 640px) {
  .cmp__full {
    display: none;
  }
  .cmp__short {
    display: inline;
  }
  .cmp__table,
  .cmp__table thead,
  .cmp__table tbody,
  .cmp__table tr,
  .cmp__table th,
  .cmp__table td {
    display: block;
  }
  .cmp__table {
    font-size: 16px;
  }
  .cmp__table th,
  .cmp__table td {
    padding: 0;
    border-bottom: 0;
    width: auto;
  }
  .cmp__table thead tr {
    display: flex;
    gap: 18px;
    padding: 10px 16px;
    background: #f7f8fc;
    border-bottom: 1px solid rgba(12, 15, 44, 0.08);
  }
  .cmp__table thead th:first-child {
    display: none; /* empty corner cell: nothing to show in the legend */
  }
  .cmp__table thead th {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .cmp__table thead th:nth-child(2)::before,
  .cmp__table tbody td:nth-child(2)::after {
    content: '\2715' / ''; /* ✕, decorative */
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: #8a8ea3;
  }
  .cmp__table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 5px;
    padding: 12px 14px;
    border-top: 1px solid rgba(12, 15, 44, 0.08);
  }
  .cmp__table tbody tr:first-child {
    border-top: 0;
  }
  .cmp__table tbody th {
    width: auto; /* overrides the desktop 22% column width */
    min-width: 0;
    line-height: 1.35;
    margin-bottom: 1px;
  }
  .cmp__table tbody td {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    line-height: 1.4;
  }
  .cmp__table tbody td:nth-child(2)::after {
    order: -1;
    flex: none;
    width: 12px;
    text-align: center;
    position: relative;
    top: -1px;
  }
  .cmp__table td:nth-child(2) {
    color: #5b5f76; /* darker than desktop grey: 16px body text needs 4.5:1 on white */
  }
  .cmp__table tbody tr.cmp__row--desk {
    display: none; /* desktop-only row (Rules) */
  }
  .cmp {
    padding: 56px 0;
  }
  .cmp .s-head {
    margin-bottom: 28px;
  }
  .pricing__label--plans {
    margin-top: 36px;
  }
  .pricing .pricing__label--plans ~ .plans {
    margin-top: 20px;
  }
  .cmp h2 {
    /* 30px until ~395px wide, then shrinks so "Why traders choose Strix" fits on one line down to 320px */
    font-size: min(30px, 7.6vw);
  }
  #page-home .cmp__sub {
    margin-top: 12px;
    font-size: 15px;
    padding: 0 8px;
  }
}

/* ---- the remaining sections, tightened ---- */
.s-schema {
  padding: 80px 0;
}
.s-close h2 {
  font-size: clamp(34px, 4.4vw, 56px);
}
.s-close p {
  font-size: 18px;
}
/* ---- hero stage: static panel (no scroll scrub, no floating callouts) ---- */
.hero__stage {
  height: auto;
  perspective: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-bottom: 56px;
}
.hero__panel {
  position: relative;
  left: 0;
  top: 0;
  transform: none !important;
  margin-inline: auto;
  -webkit-mask-image: none;
  mask-image: none;
  border-radius: 14px;
  width: min(1180px, calc(100% - 32px));
}
.hero h1 .grad {
  display: block;
}
/* headline reveal: words are fully visible, no scroll-lit effect */
[data-reveal] .w {
  color: inherit !important;
}
/* pricing rows stay on one line */
.plan dl {
  font-size: 15px;
}
.plan dd {
  white-space: nowrap;
}
.nav.nav--dark .burger span {
  background: #fff;
}
.nav.nav--light .burger span {
  background: #0b0b14;
}
#page-home .hero__sub {
  font-size: clamp(18px, 1.6vw, 23px);
}
#page-home .plan dt,
#page-home .plan dd {
  font-size: 15px;
  line-height: 1.4;
}
#page-home .plan__sub,
#page-home .plan__price span {
  font-size: 15px;
}
#page-home .dash p,
#page-home .dash li,
#page-home .dash dd,
#page-home .dash dt {
  font-size: inherit;
  line-height: inherit;
}
#page-home .hero__cta .btn,
#page-home .hero__cta .btn--ghostw,
#page-home .s-close__cta .btn {
  height: 56px;
  padding: 0 30px;
  font-size: 17px;
}
@media (max-width: 768px) {
  #page-home .hero__cta .btn,
  #page-home .hero__cta .btn--ghostw {
    height: 54px;
  }
}
/* 25 Oct (Alfi): the two hero buttons do not react to hover. Three shared rules reached them: the 1px
   lift (styles.css .btn:hover), the shine sweep (fx.css .btn:hover::after, the ::after moves from
   left -70% to 130%) and the ghost button's paper-2 tint (mono.css .hero__cta .btn--ghostw:hover);
   styles.css's .btn--blue:hover tint was already beaten by mono.css's blue. Each is pinned back to
   its rest value here under the #page-home id so nothing else changes: the rest colours, the blue
   button's static shadow, the pointer cursor, focus-visible rings and the hero-rise entrance stay. */
#page-home .hero__cta .btn:hover {
  transform: none;
}
#page-home .hero__cta .btn:hover::after {
  left: -70%;
}
#page-home .hero__cta .btn--blue:hover {
  background: var(--s-blue, #2b5cff);
}
#page-home .hero__cta .btn--ghostw:hover {
  background: var(--m-paper);
  border-color: var(--m-line);
  color: var(--m-ink);
}

/* ===== footer, Clear Street style: light page, one big soft card, legal copy below ===== */
footer {
  background: #fff;
  color: var(--s-ink, #0b0b14);
  padding: 24px 24px 40px;
}
.foot {
  background: #eef0fb;
  color: var(--s-ink, #0b0b14);
  border: 0;
  border-radius: 32px;
  padding: 64px 56px 48px;
  display: block;
  box-shadow: none;
  font-size: 17px;
}
.foot__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr 1.2fr 1.4fr 1.2fr;
  gap: 32px;
}
.foot h5 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #7a7f99;
  margin: 0 0 22px;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.foot ul a,
.foot p {
  font-size: 17px;
  line-height: 1.45;
  color: var(--s-ink, #0b0b14);
  text-decoration: none;
}
.foot ul a:hover {
  color: var(--s-blue, #2b5cff);
}
.foot p {
  margin: 0;
}
.foot__cta {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #0b0b14;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.foot__cta:hover {
  background: var(--s-blue, #2b5cff);
  color: #fff;
}
.foot__cta--ghost {
  display: flex;
  width: max-content;
  background: transparent;
  color: var(--s-ink, #0b0b14);
  border: 1px solid rgba(12, 15, 44, 0.18);
}
.foot__cta--ghost:hover {
  background: #fff;
  color: var(--s-ink, #0b0b14);
}
.foot__bottom {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 120px;
}
.foot__socials {
  display: flex;
  gap: 14px;
}
.foot__soc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0b0b14;
  color: #fff;
  display: grid;
  place-items: center;
}
.foot__soc svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
/* 44px touch target without changing the 34px visual */
.foot__soc {
  position: relative;
}
.foot__soc::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: inherit;
}
.foot__soc:hover {
  background: var(--s-blue, #2b5cff);
}
/* visible focus ring on every social link: white-on-dark and white-on-blue
   buttons would otherwise get an invisible currentColor outline */
.foot__soc:focus-visible,
.socials a:focus-visible,
.nav .dc-btn:focus-visible,
.chat:focus-visible {
  outline: 2px solid var(--s-blue, #2b5cff);
  outline-offset: 3px;
}
.foot__soc:focus-visible,
.socials a.dc:focus-visible,
.nav .dc-btn:focus-visible,
.chat:focus-visible {
  box-shadow: 0 0 0 2px #fff;
}
.foot__links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.foot__links a {
  font-size: 17px;
  color: var(--s-ink, #0b0b14);
}
.foot__links a:hover {
  color: var(--s-blue, #2b5cff);
}
/* legal copy sits on the white page below the card */
.disc {
  padding: 36px 56px 8px;
  color: #6b6f86;
  font-size: 13px;
}
.disc p b {
  color: #0b0b14;
}
.disc i {
  color: #4a4e63;
}
.disc .made {
  color: #9a9db3;
}
@media (max-width: 1100px) {
  .foot__cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 24px;
  }
}
@media (max-width: 640px) {
  footer {
    padding: 16px 12px 32px;
  }
  .foot {
    padding: 40px 24px 32px;
    border-radius: 24px;
  }
  .foot__cols {
    grid-template-columns: 1fr 1fr;
  }
  .foot__bottom {
    margin-top: 56px;
    gap: 24px;
  }
  .disc {
    padding: 28px 16px 0;
  }
}
.foot a.foot__cta {
  color: #fff;
}
.foot a.foot__cta--ghost {
  color: var(--s-ink, #0b0b14);
}
.foot__soc svg,
.foot__soc svg path {
  fill: #fff;
  stroke: none;
}
.foot__cols {
  grid-template-columns: 1.35fr 1fr 1.2fr 1.2fr 1.5fr 1.2fr;
}
.foot__cta {
  white-space: nowrap;
}
.foot ul a[href^="mailto:"] {
  word-break: break-all;
}
@media (max-width: 640px) {
  .foot__cols > div:nth-child(5) {
    grid-column: 1 / -1;
  }
}
/* ===== footer v2: exactly the reference — dark page, light card, lavender legal panel tucked under it ===== */
footer {
  background: #050509;
  padding: 24px 24px 0;
}
.foot {
  position: relative;
  z-index: 1;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #eef1fb;
  border-radius: 28px;
  padding: 56px 56px 44px;
}
.foot__bottom {
  margin-top: 64px;
}
.disc {
  position: relative;
  z-index: 0;
  margin: -24px 100px 0;
  padding: 60px 72px 36px;
  background: #cfd7f3;
  color: #333a52;
  border-radius: 0 0 24px 24px;
  font-size: 14px;
  line-height: 1.55;
}
.disc p b {
  color: #0b0b14;
}
.disc i {
  color: #333a52;
}
.disc .made {
  color: #0b0b14;
  font-size: 17px;
  font-weight: 500;
  align-self: end;
}
@media (max-width: 900px) {
  .disc {
    margin: -20px 24px 0;
    padding: 48px 28px 28px;
  }
}
@media (max-width: 640px) {
  footer {
    padding: 16px 12px 0;
  }
  .foot {
    min-height: 0;
    padding: 40px 24px 32px;
  }
  .disc {
    margin: -16px 8px 0;
    padding: 40px 20px 24px;
  }
}
.disc p,
.disc > div:first-child {
  color: #3b4259;
}
.foot__cols {
  grid-template-columns: 1.3fr 0.9fr 1.15fr 1.15fr 1.7fr 1.1fr;
}
.foot ul a[href^="mailto:"] {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* =====================================================================
   24 Oct (Rev.2) — "How it works": three steps between the hero laptop and the plans
   (#how-it-works, the hero's "How it works" button scrolls here). Very light blue band, white
   cards with a hairline border and a soft shadow, a blue step number and a tinted icon in each
   card, a dashed connector drawn behind the cards so it only shows in the gaps (desktop), a 3px
   hover lift and no entrance animation (the grid is deliberately not in fx.js' rise-in groups).
   Three columns from 1024px; a single stacked column below that (three 240px columns at 768px
   would wrap the copy to ~20 characters a line).
   ===================================================================== */
.how {
  background: #f6f8ff;
  color: var(--s-ink, #0b0b14);
  border-top: 1px solid var(--s-line, #e4e6ee);
  padding: 84px 0 76px;
}
.how__head {
  margin-inline: auto;
  text-align: center;
}
.how__head p {
  margin-inline: auto;
}
#page-home .how__head p {
  font-size: 18px;
}
.how__grid {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
/* connector: level with the centre of the step numbers (26px padding + 20px), hidden behind the
   cards' white background so only the two gaps show it */
.how__grid::before {
  content: '';
  position: absolute;
  left: 60px;
  right: 60px;
  top: 45px;
  border-top: 2px dashed rgba(43, 92, 255, 0.35);
  pointer-events: none;
}
.how__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(12, 15, 44, 0.08);
  border-radius: 20px;
  padding: 26px 26px 28px;
  box-shadow: 0 12px 32px -18px rgba(12, 15, 44, 0.18);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.how__card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 92, 255, 0.45);
  box-shadow: 0 18px 36px -18px rgba(43, 92, 255, 0.28);
}
.how__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.how__num {
  display: grid;
  place-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--s-blue, #2b5cff);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 16px -6px rgba(43, 92, 255, 0.55);
}
.how__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(43, 92, 255, 0.1);
  color: var(--s-blue, #2b5cff);
}
.how__ico svg {
  width: 20px;
  height: 20px;
}
.how__step {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7186;
}
.how__card h3 {
  margin: 22px 0 8px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
#page-home .how__card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #5b5f76;
}
#page-home .how__card .how__next {
  margin-top: auto;
  padding-top: 14px;
  font-size: 15px;
  color: #6b7186;
}
.how__card p + .how__next {
  margin-top: 14px;
  border-top: 1px solid rgba(12, 15, 44, 0.08);
}
.how__next b {
  color: var(--s-ink, #0b0b14);
  font-weight: 600;
}
#page-home .how__note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: #6b7186;
}
@media (max-width: 1023px) {
  .how {
    padding: 64px 0 56px;
  }
  .how__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .how__grid::before {
    display: none;
  }
  .how__card {
    padding: 22px 22px 24px;
  }
  .how__step {
    margin-top: 18px;
  }
  #page-home .how__card .how__next {
    margin-top: 14px;
  }
}
@media (max-width: 767px) {
  .how {
    padding: 56px 0 48px;
  }
  .how__head {
    text-align: left;
  }
  .how__head p {
    margin-inline: 0;
  }
  #page-home .how__head p {
    font-size: 17px;
  }
  .how__card {
    padding: 20px 20px 22px;
  }
  .how__card h3 {
    font-size: 20px;
  }
  .how__step {
    font-size: 14px; /* T038: nothing under 14px on phones */
    letter-spacing: 0.08em;
  }
  #page-home .how__note {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .how__card {
    transition: none;
  }
  .how__card:hover {
    transform: none;
  }
}

/* ---------- live payout feed under "Traders on Strix" (Rev.2, 24 Oct) ---------- */
.feed {
  margin: 8px 0 36px;
}
.feed[hidden] {
  display: none;
}
.feed__cap {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-2, #5b5f76);
}
.feed__cap b {
  font-weight: 600;
  color: var(--s-ink, #0b0b14);
}
.feed__bar {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: #fff; /* 29 Oct: white strip, see .feed__chip */
  border: 1px solid var(--line-d, #dcdff5);
  box-shadow: 0 10px 30px -18px rgba(12, 15, 44, 0.25);
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.feed__bar:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.feed__track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 0 10px;
  animation: feed-roll var(--feed-dur, 40s) linear infinite;
  will-change: transform;
}
.feed__bar:hover .feed__track,
.feed__bar:focus-visible .feed__track,
.feed__track[data-static] {
  animation-play-state: paused;
}
.feed__track[data-static] {
  animation: none;
}
.feed__chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f6f7ff;
  border: 1px solid var(--line-d, #dcdff5);
  color: var(--ink, #0c0f2c);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}
.feed__chip:hover,
.feed__chip:focus-visible {
  background: var(--lav, #eef0ff);
  border-color: #d6d9ff;
  color: var(--ink, #0c0f2c);
}
.feed__chip b {
  font-weight: 700;
  color: var(--blue, #2b2bf5);
}
.feed__chip i {
  font-style: normal;
  color: #b4b7cc;
}
.feed__chip--more {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 700;
}
@keyframes feed-roll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .feed__track {
    animation: none;
  }
  .feed__bar {
    overflow-x: auto;
  }
}
@media (max-width: 640px) {
  .feed {
    margin-bottom: 28px;
  }
  .feed__cap {
    font-size: 13px;
  }
}

/* ---------- home FAQ (Rev.2, 24 Oct): the FAQ page's accordion, on white, before the closing CTA ---------- */
.hfaq {
  background: #fff;
  color: var(--s-ink, #0b0b14);
  padding: 96px 0;
}
.hfaq h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
.hfaq__acc {
  margin-top: 40px;
}
.hfaq__acc summary {
  font-size: 17px;
}
.hfaq__acc details > p {
  font-size: 16px;
  line-height: 1.55;
  max-width: 64ch;
}
#page-home .hfaq__more {
  margin-top: 28px;
}
@media (max-width: 640px) {
  .hfaq {
    padding: 64px 0;
  }
  .hfaq__acc {
    margin-top: 28px;
  }
  .hfaq__acc summary {
    font-size: 16px;
  }
}

/* ---------- Rev.3 (25 Oct, Ali): the FAQ sat too far below the table. (The Rev.3 16px home-only eyebrow
   sizes were retired on 26 Oct: every section label is now the shared styles.css .section-eyebrow pill.) ---------- */
#page-home .hfaq {
  padding-top: 24px;
}
@media (max-width: 640px) {
  #page-home .hfaq {
    padding-top: 16px;
  }
}

/* ---------- 29 Oct (Sanjana): the live payout feed in white and blue ----------
   The navy pill becomes a white one with a hairline; chips are lavender with ink text and blue
   amounts; the "more" chip stays solid blue. Same markup and roll; these rules only recolour. */
.feed__bar {
  background: #fff;
  border-color: var(--line-d, #dcdff5);
  box-shadow: 0 10px 30px -22px rgba(12, 15, 44, 0.3);
}
.feed__chip {
  background: var(--lav, #eef0ff);
  border-color: #d6d9ff;
  color: var(--ink, #0c0f2c);
}
.feed__chip:hover,
.feed__chip:focus-visible {
  background: #e3e6ff;
  border-color: #b9c0ff;
  color: var(--ink, #0c0f2c);
}
.feed__chip b {
  color: var(--blue, #2b2bf5);
}
.feed__chip i {
  color: #9a9db8;
}
.feed__chip--more,
.feed__chip--more:hover,
.feed__chip--more:focus-visible {
  background: var(--blue, #2b2bf5);
  border-color: var(--blue, #2b2bf5);
  color: #fff;
}
