/*
 * Tredit Stack, landing draft D.
 * Everything after the tour: the Stack, how it's made, Deal Signal, how it stays
 * serious, who it's for, plans and the Founding card, compare, the team note, questions and the join.
 *
 * Section tones (the page is never all dark or all cream, in either theme):
 *   .tone-a / .tone-b   paper and paper-2 in the light theme; deep navy and navy in the dark theme
 *   .flip               tone-a / tone-b sections that turn cream in the dark theme
 *   .light-band         cream in both themes (Benefits, Who it's for, Plans)
 *   .on-stage           navy in both themes: the hero, Deal Signal and the join, where motion shines
 * Card palettes: Lender is teal, Borrower is gold, and each also has its own shape and pattern.
 */

[hidden] {
  display: none !important;
}

:root {
  --lender: #1c8c7f;
  --lender-deep: #0f6a60;
  --lender-ink: #0a4f48;
  --lender-wash: #e7f5f2;
  --borrower: #e2a24a;
  --borrower-deep: #9b6224;
  --borrower-ink: #7a4c18;
  --borrower-wash: #fbf1de;
}

/* Cards that stay navy in both themes. */
.ink-card {
  --ink: #f3efe8;
  --ink-2: #cfc9bf;
  --ink-3: #a2a6b0;
  --rule: #1f2b42;
  --rule-2: #2f3d58;
  --copper-text: #e3a774;
  --surface: #121d31;
  color: var(--ink);
}

.on-stage {
  color: var(--ink);
}
.tone-a {
  background: var(--paper);
}
.tone-b {
  background: var(--paper-2);
}
[data-theme='dark'] .flip.tone-a {
  background: var(--paper);
}
.sec {
  overflow-x: clip;
}
.sec-head .h2,
.how-head .h2 {
  max-width: 24ch;
}
.ill {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.small {
  font-size: 0.9375rem;
}

/* The shared reveal, plus the slabs' own. */
.motion [data-slab]:not(.is-in) {
  opacity: 0;
}
.motion [data-slab].is-in {
  animation: slab-in 1.1s var(--ease) backwards;
}
@keyframes slab-in {
  from { opacity: 0; transform: translateY(40px) rotateX(16deg); }
}

/* The film as text, under the film in the hero lightbox. */
.film-text {
  max-width: 70ch;
  margin-top: 14px;
  text-align: left;
  color: var(--ink-2);
}
.film-text summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--copper-text);
}
.film-text p {
  margin-top: 10px;
  font-size: 0.9688rem;
}

/* ============================================================
   3. The Stack
   ============================================================ */

.stack {
  overflow: clip;
}
.stack-fx i {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}
.sfx-a {
  right: -10vw;
  top: 8%;
  width: 44vw;
  height: 44vw;
  background: radial-gradient(closest-side, rgb(184 115 63 / 0.2), transparent);
}
.sfx-b {
  left: -14vw;
  bottom: 4%;
  width: 36vw;
  height: 36vw;
  background: radial-gradient(closest-side, rgb(226 162 74 / 0.16), transparent);
}
.stack-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.stack-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}
.stack-copy .kicker {
  margin-bottom: -6px;
}
.stack-side {
  display: grid;
  gap: 22px;
  align-content: end;
}
.slab {
  --px: 0;
  --py: 0;
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: start;
  padding: 22px 24px 22px 18px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: linear-gradient(165deg, var(--surface) 0%, var(--paper-2) 140%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.65),
    0 5px 0 -1px var(--copper-wash),
    0 6px 0 -1px var(--rule-2),
    0 30px 44px -26px rgb(26 31 46 / 0.5);
  transform: rotateX(calc(var(--py) * -5deg)) rotateY(calc(var(--px) * 6deg));
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.slab::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 236 200 / 0.4) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}
.motion .slab.is-in::after {
  animation: slab-sheen 1.6s var(--ease) 0.35s both;
}
@keyframes slab-sheen {
  to { transform: translateX(120%); }
}
.slab-n {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--copper);
  text-align: center;
}
.slab-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.slab-q {
  font-family: var(--display);
  font-size: 0.9688rem;
  font-style: italic;
  color: var(--copper-text);
}
.slab-h {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 450;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.slab-p {
  color: var(--ink-2);
  font-size: 0.9688rem;
}
.slab-free {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  margin-top: 4px;
  font-size: 0.9063rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.slab-free svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--success);
}
.slab-free a {
  white-space: nowrap;
}
.slab-k {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-text);
}
/* The small pictures on the right of each layer. */
.slab-art {
  position: relative;
  display: grid;
  width: 118px;
  height: 84px;
  align-self: center;
}
.art-brief {
  align-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  background: #faf7f2;
  box-shadow: 0 0 0 1px rgb(184 115 63 / 0.25), 0 12px 20px -14px rgb(26 31 46 / 0.6);
  transform: rotate(3deg);
}
.art-brief b {
  justify-self: start;
  padding: 1px 8px;
  border-radius: 99px;
  border: 1px solid #b8733f;
  color: #8f5a2e;
  font-family: var(--mono);
  font-size: 0.625rem;
}
.art-brief i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #e0d7c6;
}
.art-brief i:nth-of-type(2) { width: 80%; }
.art-brief i:nth-of-type(3) { width: 55%; }
.art-top {
  grid-template-columns: 14px 1fr;
  align-content: center;
  gap: 7px 8px;
  padding: 10px;
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 0 0 1px #ece6da, 0 12px 20px -14px rgb(26 31 46 / 0.6);
  transform: rotate(-2deg);
}
.art-top b {
  font-family: var(--display);
  font-size: 0.75rem;
  line-height: 1;
  color: #8f5a2e;
}
.art-top i {
  align-self: center;
  height: 6px;
  border-radius: 3px;
  background: #ddd5c6;
}
.art-top i:nth-of-type(1) { background: #0b1b36; }
.art-top i:nth-of-type(2) { width: 80%; }
.art-top i:nth-of-type(3) { width: 60%; }
.art-pulse {
  grid-auto-flow: column;
  align-items: end;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 0 0 1px #ece6da, 0 12px 20px -14px rgb(26 31 46 / 0.6);
  transform: rotate(2deg);
}
.pb {
  display: block;
  border-radius: 3px 3px 0 0;
  background: #e2cfb8;
  transform-origin: bottom;
}
.pb1 { height: 30%; } .pb2 { height: 45%; } .pb3 { height: 38%; } .pb4 { height: 88%; } .pb5 { height: 52%; }
.pb.is-hot {
  background: #b8733f;
  box-shadow: 0 0 14px rgb(184 115 63 / 0.6);
}
.motion .pb {
  transform: scaleY(0.2);
  transition: transform 1s var(--ease);
}
.motion .is-in .pb {
  transform: none;
}
.motion .is-in .pb2 { transition-delay: 0.08s; }
.motion .is-in .pb3 { transition-delay: 0.16s; }
.motion .is-in .pb4 { transition-delay: 0.24s; }
.motion .is-in .pb5 { transition-delay: 0.32s; }
.art-data {
  padding: 8px;
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 0 0 1px #ece6da, 0 12px 20px -14px rgb(26 31 46 / 0.6);
  transform: rotate(-2deg);
}
.art-data svg {
  width: 100%;
  height: 100%;
}
.ad-area {
  fill: rgb(184 115 63 / 0.14);
}
.ad-line {
  fill: none;
  stroke: #b8733f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  vector-effect: non-scaling-stroke;
}
.motion .ad-line {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease) 0.2s;
}
.motion .is-in .ad-line {
  stroke-dashoffset: 0;
}
.art-signal .mc {
  position: absolute;
  display: block;
  width: 58px;
  height: 76px;
  border-radius: 8px;
  box-shadow: 0 14px 22px -12px rgb(26 31 46 / 0.7);
}
.art-signal .mc::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 16px;
  border-radius: 8px 8px 0 0;
}
.art-signal .mc::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 28px;
  height: 7px;
  border-radius: 3px;
  box-shadow: 0 13px 0 -1px rgb(26 31 46 / 0.12), 0 24px 0 -1px rgb(26 31 46 / 0.12);
}
.mc-l {
  left: 4px;
  top: 6px;
  background: var(--lender-wash);
  transform: rotate(-9deg);
}
.mc-l::before { background: var(--lender-deep); }
.mc-l::after { background: var(--lender-deep); opacity: 0.8; }
.mc-b {
  left: 54px;
  top: 4px;
  background: var(--borrower-wash);
  transform: rotate(8deg);
}
.mc-b::before { background: var(--borrower); }
.mc-b::after { background: var(--borrower-deep); opacity: 0.85; }

/* The Tredit cap and the AI layer: navy slabs. */
.slab-tredit,
.slab-ai {
  --ink: #f3efe8;
  --ink-2: #cfc9bf;
  --ink-3: #a2a6b0;
  --copper-text: #e3a774;
  --success: #6fcf9f;
  color: var(--ink);
  border: 1px solid transparent;
  background:
    radial-gradient(70% 120% at 100% 0%, rgb(226 162 74 / 0.2), transparent 60%) padding-box,
    linear-gradient(160deg, #13223f 0%, #0b1b36 55%, #071226 100%) padding-box,
    var(--foil) border-box;
  box-shadow: 0 6px 0 -1px #1f2b42, 0 34px 50px -26px rgb(5 13 28 / 0.9);
}
.slab-tredit {
  display: block;
  padding-right: 64px;
}
.slab-tredit .slab-h,
.slab-ai .slab-h {
  color: #f3efe8;
}
.slab-tredit .slab-k {
  margin-bottom: 8px;
  color: #e8cdae;
}
.slab-tredit .slab-p {
  margin-top: 6px;
}
.slab-gold {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(145deg, #f3d9a4 0%, #e2a24a 46%, #b8733f 100%);
  box-shadow: 0 8px 20px -6px rgb(226 162 74 / 0.8);
}
.motion .slab-gold {
  animation: gold-bob 4.6s ease-in-out infinite;
}
@keyframes gold-bob {
  50% { transform: translateY(-4px); box-shadow: 0 14px 24px -8px rgb(226 162 74 / 0.8); }
}
.slab-ai {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  padding-block: 28px;
  gap: 12px 22px;
}
.slab-ai .slab-n {
  color: var(--gold);
}
.slab-ai .slab-q {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.slab-ai .slab-h {
  font-size: 1.7rem;
}
.ai-parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 2px;
}
.ai-parts li {
  display: grid;
  align-content: start;
  gap: 1px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(226 162 74 / 0.32);
}
.ai-parts b {
  font-size: 0.9063rem;
  color: #f3d9a4;
}
.ai-parts span {
  font-size: 0.8125rem;
  color: #cfc9bf;
}
.slab-ai {
  grid-template-columns: 54px minmax(0, 1fr);
}
.slab-ai .slab-h,
.slab-ai .slab-p {
  padding-right: clamp(0px, 9vw, 128px);
}
.art-ai {
  position: absolute;
  right: 22px;
  top: 26px;
  width: 112px;
  height: 112px;
}
.art-ai svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ai-links path {
  fill: none;
  stroke: rgb(226 162 74 / 0.5);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.ai-nodes circle {
  fill: #0b1b36;
  stroke: #e2a24a;
  stroke-width: 1.4;
}
.ai-core {
  fill: #e2a24a;
}
.ai-halo {
  fill: none;
  stroke: rgb(226 162 74 / 0.5);
  stroke-width: 1;
  transform-origin: 60px 60px;
  animation: ai-pulse 3s ease-out infinite;
}
.ai-links path {
  animation: ai-flow 2.4s linear infinite;
}
@keyframes ai-pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes ai-flow {
  to { stroke-dashoffset: -12; }
}
.art-ai .ill {
  position: absolute;
  left: 50%;
  bottom: -14px;
  translate: -50% 0;
  color: #a2a6b0;
  white-space: nowrap;
}

/* "More is coming": the next layer, drawn as a dashed outline. */
.slab-ghost {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 26px 24px 26px 78px;
  border: 1.5px dashed var(--rule-2);
  background: transparent;
  box-shadow: none;
}
.slab-ghost::after {
  display: none;
}
.ghost-lines {
  position: absolute;
  left: 24px;
  top: 50%;
  width: 36px;
  height: 36px;
  translate: 0 -50%;
}
.ghost-lines::before,
.ghost-lines::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--copper);
  border-radius: 2px;
  translate: -50% -50%;
}
.ghost-lines::before { width: 18px; height: 2px; }
.ghost-lines::after { width: 2px; height: 18px; }
.ghost-lines i {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1.5px dashed var(--copper);
  opacity: 0.55;
}
.ghost-lines i + i {
  inset: -7px;
  opacity: 0.25;
}
.motion .ghost-lines i {
  animation: ghost 3.2s ease-in-out infinite;
}
.motion .ghost-lines i + i {
  animation-delay: 0.6s;
}
@keyframes ghost {
  50% { transform: scale(1.12); opacity: 0.2; }
}
/* ---------- The Stack stepper ---------- */

.stk {
  --pw: min(880px, calc(100vw - 2 * var(--gutter) - 36px));
  position: relative;
  display: grid;
  margin-top: clamp(36px, 5vw, 64px);
}
.stk-tabs-wrap {
  position: relative;
  min-width: 0;
}
.stk-more {
  position: absolute;
  top: 6px;
  right: 0;
  bottom: 14px;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(to right, transparent, var(--paper-2) 70%);
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.stk-more svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stk-tabs-wrap.has-more .stk-more {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .stk-tabs-wrap.has-more .stk-more svg {
    animation: stk-nudge 1.8s ease-in-out infinite;
  }
}
@keyframes stk-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
.stk-tabs {
  display: flex;
  gap: 10px;
  padding: 6px 2px 14px;
  margin-inline: -2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.stk-tabs::-webkit-scrollbar {
  display: none;
}
.stk-tab {
  position: relative;
  flex: 1 0 auto;
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 142px;
  min-height: 64px;
  padding: 18px 16px 12px;
  border: 1px solid var(--rule-2);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: center;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stk-tab b {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--copper-text);
  transition: color 0.35s var(--ease);
}
.stk-tab span {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
}
/* Each tab carries a thin progress bar: filled once you have been past it. */
.stk-tab::before,
.stk-tab::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
}
.stk-tab::before {
  background: var(--rule-2);
}
.stk-tab::after {
  background: linear-gradient(90deg, var(--copper), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.stk-tab.is-done::after,
.stk-tab[aria-selected='true']::after {
  transform: none;
}
@media (hover: hover) {
  .stk-tab:hover {
    border-color: var(--copper);
    transform: translateY(-2px);
  }
}
.stk-tab[aria-selected='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 30px -18px rgb(5 13 28 / 0.6);
}
.stk-tab[aria-selected='true'] b {
  color: #e2a24a;
}
[data-theme='dark'] .stk-tab[aria-selected='true'] b {
  color: #8f5a2e;
}
.stk-tab-next {
  border-style: dashed;
  background: transparent;
}
.stk-prog {
  height: 2px;
  margin-bottom: 4px;
  border-radius: 2px;
  background: var(--rule);
  overflow: hidden;
}
.stk-prog i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--gold));
  transform: scaleX(var(--p, 0.14));
  transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.stk-view {
  position: relative;
  margin-inline: calc(50% - 50vw);
  box-sizing: content-box;
  height: var(--h, auto);
  padding: 34px 0 92px;
  margin-bottom: -40px;
  overflow: hidden;
  transition: height 0.7s var(--ease);
  touch-action: pan-y;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.stk-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2.4vw, 32px);
  transform: translate3d(calc(var(--off, 0px) + var(--drag, 0px)), 0, 0);
  transition: transform 0.85s var(--ease);
  will-change: transform;
}
.stk-track.is-drag {
  transition: none;
  cursor: grabbing;
}
.js .stk:not(.is-ready) .stk-track {
  opacity: 0;
}
.stk-panel {
  flex: 0 0 var(--pw);
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 10px 28px;
  align-items: center;
  min-height: 340px;
  padding: 44px 48px 44px 30px;
  border-radius: 24px;
  opacity: 0.4;
  scale: 0.93;
  filter: saturate(0.7);
  user-select: none;
  -webkit-user-select: none;
  transform: none;
  transition: opacity 0.7s var(--ease), scale 0.85s var(--ease), filter 0.7s var(--ease), box-shadow 0.5s var(--ease);
}
.stk-panel.is-active {
  opacity: 1;
  scale: 1;
  filter: none;
  transform: perspective(1700px) rotateX(calc(var(--py) * -2.6deg)) rotateY(calc(var(--px) * 3.4deg));
  transition: opacity 0.7s var(--ease), scale 0.85s var(--ease), filter 0.7s var(--ease), box-shadow 0.5s var(--ease), transform 0.35s var(--ease);
}
.stk-panel .slab-n {
  font-size: 3.7rem;
}
.stk-panel .slab-main {
  gap: 10px;
}
.stk-panel .slab-q {
  font-size: 1.15rem;
}
.stk-panel .slab-h {
  font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem);
}
.stk-panel .slab-p {
  max-width: 46ch;
  font-size: 1.0938rem;
}
.stk-panel .slab-free {
  font-size: 1rem;
}
.stk-panel .slab-art {
  scale: 1.95;
  margin: 44px 62px 44px 46px;
}
.slab-ai.stk-panel {
  grid-template-columns: 88px minmax(0, 1fr);
  padding-block: 44px;
}
.slab-ai.stk-panel .art-ai {
  top: 40px;
  right: 40px;
  width: 140px;
  height: 140px;
  margin: 0;
  scale: 1;
}
.slab-ghost.stk-panel {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  padding: 44px 48px 44px 128px;
}
.slab-ghost.stk-panel .ghost-lines {
  left: 48px;
  scale: 1.5;
}
.slab-ghost.stk-panel .slab-h {
  font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem);
}
.stk-ctrl {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 40px;
}
.stk-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, opacity 0.25s ease;
}
.stk-nav svg {
  width: 18px;
  height: 18px;
}
.stk-nav[data-stk-dir='-1'] svg {
  transform: scaleX(-1);
}
.stk-nav:not(:disabled):hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}
.stk-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.stk-count {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 190px;
  text-align: center;
}
.stk-count span {
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.stk-count small {
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.stk-tredit {
  width: min(var(--pw), 100%);
  justify-self: center;
  transform: none;
}
html:not(.js) .stk-tabs,
html:not(.js) .stk-prog,
html:not(.js) .stk-ctrl {
  display: none;
}
html:not(.js) .stk-view {
  margin-inline: 0;
  mask-image: none;
  -webkit-mask-image: none;
}
html:not(.js) .stk-track {
  display: grid;
  transform: none;
}
html:not(.js) .stk-panel {
  opacity: 1;
  scale: 1;
  filter: none;
}
@media (max-width: 900px) {
  .stack-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}
@media (max-width: 760px) {
  .stk-view {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  }
  .stk-panel,
  .slab-ai.stk-panel {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px 12px;
    min-height: 0;
    padding: 22px 18px 26px 14px;
    border-radius: 20px;
  }
  .stk-panel .slab-n {
    font-size: 2rem;
  }
  .stk-panel .slab-h {
    font-size: 1.6rem;
  }
  .stk-panel .slab-p {
    font-size: 1rem;
  }
  .stk-panel .slab-art:not(.art-ai) {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    scale: 1.1;
    margin: 10px 0 20px;
  }
  .slab-ai.stk-panel .art-ai {
    position: static;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    width: 96px;
    height: 96px;
    margin: 4px 0 10px;
  }
  .slab-ai .slab-h,
  .slab-ai .slab-p {
    padding-right: 0;
  }
  .slab-ghost.stk-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 18px 24px 74px;
  }
  .slab-ghost.stk-panel .ghost-lines {
    left: 22px;
    scale: 1;
  }
  .stk-tab {
    min-width: 132px;
  }
  .stk-count small {
    display: none;
  }
  .stk-count {
    min-width: 96px;
  }
  .stk-ctrl {
    gap: 14px;
    margin-bottom: 28px;
  }
}

/* ============================================================
   4. How it's made: the head, then a map of who does what
   ============================================================ */

.how-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 20px clamp(32px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.how-head {
  display: grid;
  gap: 16px;
  align-content: start;
}
.how-head .kicker {
  margin-bottom: -4px;
}
.how-intro {
  display: grid;
  gap: 14px;
}
.ai-line {
  padding: 16px 18px;
  border-radius: var(--r-m);
  border: 1px solid rgb(184 115 63 / 0.45);
  background: var(--copper-wash);
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink);
}

/* The map: a machine lane and a people lane, and the path every edition takes between them. Machine names sit above
   their icons and people names below, so the lines only ever cross empty space. */
.hw-map {
  position: relative;
  display: grid;
  grid-template-columns: 132px repeat(8, minmax(0, 1fr));
  grid-template-rows: 182px 182px;
  gap: 12px 14px;
}
.hw-lane {
  grid-column: 1 / -1;
  border-radius: 16px;
}
.hw-lane-m {
  grid-row: 1;
  background: var(--paper-2);
}
.hw-lane-p {
  grid-row: 2;
  background: rgb(11 27 54 / 0.05);
}
.hw-lab {
  grid-column: 1;
  align-self: center;
  display: grid;
  gap: 4px;
  padding-left: 20px;
}
.hw-lab b {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.hw-lab small {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--ink-3);
}
.hw-lab-m { grid-row: 1; }
.hw-lab-p { grid-row: 2; }
.hw-wires {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hw-wires path {
  fill: none;
  stroke: var(--rule-2);
  stroke-width: 2;
}
.hw-wires .hw-lit {
  stroke: var(--copper);
  stroke-width: 2.5;
}
.hw-wires .hw-dash {
  stroke: var(--copper);
  stroke-dasharray: 5 6;
  opacity: 0.75;
}
.hw-wires .hw-dot { fill: var(--copper); }
.hw-wires .hw-halo { fill: rgb(184 115 63 / 0.22); }
.hw-step {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.hw-step.m {
  align-self: end;
  padding-bottom: 18px;
}
.hw-step.p {
  align-self: start;
  padding-top: 18px;
}
.hw-collect { grid-column: 2; grid-row: 1; }
.hw-score { grid-column: 3; grid-row: 1; }
.hw-draft { grid-column: 4; grid-row: 1; }
.hw-check { grid-column: 5; grid-row: 1; }
.hw-review { grid-column: 6; grid-row: 2; }
.hw-approve { grid-column: 7; grid-row: 2; }
.hw-send { grid-column: 8; grid-row: 1; }
.hw-correct { grid-column: 9; grid-row: 2; }
.hw-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.hw-step.m .hw-txt {
  order: -1;
}
.hw-disc {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--rule-2);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.hw-ic {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Room for a name and three lines of timing, top-aligned, so the names line up across a row. */
.hw-txt {
  display: grid;
  align-content: start;
  gap: 4px;
  max-width: 126px;
  min-height: 74px;
}
.hw-txt b {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}
.hw-when {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-text);
}
.hw-ai {
  display: inline-flex;
  align-items: center;
  height: 20px;
  margin-left: 4px;
  padding: 0 7px;
  border-radius: 999px;
  background: #0b1b36;
  color: #f3d9a4;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  vertical-align: 0.15em;
}
.hw-step.is-on .hw-disc,
.hw-node[aria-pressed='true'] .hw-disc {
  border-color: #0b1b36;
  background: #0b1b36;
  color: #f3d9a4;
  transform: scale(1.04);
  box-shadow: 0 0 0 6px rgb(184 115 63 / 0.18);
}
@media (hover: hover) {
  .hw-node:hover .hw-disc {
    border-color: var(--copper);
  }
}
.hw-step.is-gate .hw-disc { border: 2px solid var(--copper); }
.hw-step.is-end .hw-disc {
  border-color: rgb(184 115 63 / 0.4);
  background: var(--copper-wash);
}
.hw-step.is-branch .hw-disc { border-style: dashed; }
/* Each step's full text stays in the list (screen readers, no JavaScript); the box under the map shows it. */
.js .hw-say {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hw-detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: start;
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
}
.hw-detail-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #0b1b36;
  color: #f3d9a4;
}
.hw-dh {
  margin: 6px 0;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}
.hw-short { color: var(--ink-2); }
.hw-more {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--ink-3);
}
.hw-stop {
  margin-top: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #9b3524;
}
.hw-lane-is {
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink-3);
}
.hw-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.hw-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hw-legend i {
  display: inline-block;
  width: 22px;
  border-top: 2px solid var(--copper);
}
.hw-legend i.hw-d { border-top-style: dashed; }
.hw-legend .hw-ai {
  margin: 0;
  vertical-align: 0;
}
.hw-link { margin-top: 18px; }
/* Without JavaScript: a plain list of the steps, each with its text. */
html:not(.js) .hw-map {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  gap: 20px;
}
html:not(.js) .hw-lane,
html:not(.js) .hw-lab,
html:not(.js) .hw-wires,
html:not(.js) .hw-detail,
html:not(.js) .hw-legend {
  display: none;
}
html:not(.js) .hw-step {
  grid-column: auto;
  grid-row: auto;
  display: grid;
  justify-content: start;
  gap: 6px;
  padding: 0;
}
html:not(.js) .hw-node {
  flex-direction: row;
  text-align: left;
  cursor: default;
}
html:not(.js) .hw-step.m .hw-txt { order: 0; }
html:not(.js) .hw-txt { min-height: 0; max-width: none; }

.nots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 2px solid var(--copper);
}
.nots li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.nots b {
  margin-right: 6px;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 450;
  color: var(--ink);
}
/* Tablets and phones: two columns, the path runs down the page, names beside the icons. */
@media (max-width: 960px) {
  .how-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .hw-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 56px repeat(8, 104px);
    row-gap: 0;
    column-gap: 8px;
  }
  .hw-lane-m { grid-row: 1 / -1; grid-column: 1; }
  .hw-lane-p { grid-row: 1 / -1; grid-column: 2; }
  .hw-lab {
    grid-row: 1;
    padding: 0 0 0 14px;
  }
  .hw-lab-m { grid-column: 1; }
  .hw-lab-p { grid-column: 2; grid-row: 1; }
  .hw-lab small { display: none; }
  .hw-step,
  .hw-step.m,
  .hw-step.p {
    align-self: center;
    justify-content: flex-start;
    padding: 0 6px 0 12px;
  }
  .hw-node {
    flex-direction: row;
    gap: 18px;
    text-align: left;
  }
  .hw-step.m .hw-txt { order: 0; }
  .hw-disc {
    width: 50px;
    height: 50px;
  }
  .hw-ic {
    width: 22px;
    height: 22px;
  }
  .hw-txt {
    min-width: 0;
    min-height: 0;
    max-width: none;
  }
  .hw-txt b { font-size: 1rem; }
  .hw-collect { grid-column: 1; grid-row: 2; }
  .hw-score { grid-column: 1; grid-row: 3; }
  .hw-draft { grid-column: 1; grid-row: 4; }
  .hw-check { grid-column: 1; grid-row: 5; }
  .hw-review { grid-column: 2; grid-row: 6; }
  .hw-approve { grid-column: 2; grid-row: 7; }
  .hw-send { grid-column: 1; grid-row: 8; }
  .hw-correct { grid-column: 2; grid-row: 9; }
  .hw-detail { grid-template-columns: auto minmax(0, 1fr); }
  .hw-lane-is { grid-column: 2; }
  .nots {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .hw-detail {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
  .hw-lane-is { grid-column: 1; }
}

/* ============================================================
   5. Deal Signal
   ============================================================ */

.signal {
  overflow: clip;
  background:
    radial-gradient(60% 50% at 78% 30%, rgb(226 162 74 / 0.14), transparent 70%),
    radial-gradient(70% 60% at 0% 0%, rgb(72 86 128 / 0.4), transparent 60%),
    linear-gradient(180deg, #0f2346 0%, #0b1b36 40%, #071226 100%);
  box-shadow: inset 0 1px 0 rgb(226 162 74 / 0.3);
}
.sig-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sig-fx i {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.sg-ring {
  right: 4%;
  top: 14%;
  border: 1px solid rgb(226 162 74 / 0.22);
}
.sg-r1 { width: 640px; height: 640px; right: -4%; top: 4%; border-style: dashed; animation: spin 90s linear infinite; }
.sg-r2 { width: 860px; height: 860px; right: -14%; top: -8%; animation: spin 140s linear infinite reverse; }
.sg-r3 { width: 440px; height: 440px; right: 6%; top: 16%; border-color: rgb(226 162 74 / 0.32); }
.sg-glow {
  right: 6%;
  top: 8%;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgb(226 162 74 / 0.16), transparent);
  filter: blur(20px);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.signal .wrap {
  position: relative;
}
.signal-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.signal-copy {
  display: grid;
  gap: 18px;
}
.signal-copy .kicker {
  margin-bottom: -6px;
}
.signal .h2 {
  font-size: clamp(2.1rem, 1.2rem + 2.4vw, 3.4rem);
}
.limiter {
  padding-left: 16px;
  border-left: 1px solid rgb(226 162 74 / 0.6);
  color: var(--ink-2);
  font-size: 1rem;
  max-width: 48ch;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.lg b {
  color: var(--ink);
}
.lg i {
  display: block;
  width: 14px;
  height: 14px;
  flex: none;
}
.lg-lender {
  box-shadow: inset 0 0 0 1px rgb(52 190 172 / 0.55);
}
.lg-lender i {
  border-radius: 50%;
  background: #2fbfae;
  box-shadow: 0 0 0 3px rgb(47 191 174 / 0.25);
}
.lg-borrower {
  box-shadow: inset 0 0 0 1px rgb(226 162 74 / 0.6);
}
.lg-borrower i {
  width: 12px;
  height: 12px;
  margin: 1px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgb(226 162 74 / 0.25);
}
.signal .fine {
  color: var(--ink-3);
}
.purpose {
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.02));
  box-shadow: inset 0 0 0 1px rgb(226 162 74 / 0.4);
  color: var(--ink-2);
  font-size: 0.9688rem;
  max-width: 52ch;
}
.purpose b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.ds-demo {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.ds-table {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1 / 1.16;
  perspective: 1400px;
  border-radius: 28px;
  outline: none;
}
.ds-table:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}
.ill-top {
  position: absolute;
  left: 50%;
  top: -22px;
  translate: -50% 0;
  color: var(--ink-3);
  white-space: nowrap;
}
.deck {
  position: absolute;
  inset: 0;
}
.dcard {
  --side: var(--lender-deep);
  --side-ink: #ffffff;
  --card-wash: var(--lender-wash);
  --size-ink: var(--lender-ink);
  position: absolute;
  left: 50%;
  top: 46%;
  width: 84%;
  container-type: inline-size;
  translate: -50% -50%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--card-wash);
  color: #1a1f2e;
  box-shadow: 0 0 0 2px var(--side), 0 40px 60px -28px rgb(0 0 0 / 0.9);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s var(--ease), opacity 0.45s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.dcard.is-borrower {
  --side: var(--borrower);
  --side-ink: #1a1f2e;
  --card-wash: var(--borrower-wash);
  --size-ink: var(--borrower-ink);
}
.dcard[data-pos='0'] {
  z-index: 5;
  transform: translate3d(var(--dx, 0px), 0, 0) rotate(var(--rot, 0deg));
}
.dcard[data-pos='1'] {
  z-index: 4;
  transform: translate3d(0, 30px, -40px) scale(0.95) rotate(-3.2deg);
  pointer-events: none;
}
.dcard[data-pos='2'] {
  z-index: 3;
  transform: translate3d(0, 58px, -80px) scale(0.9) rotate(3deg);
  pointer-events: none;
}
.dcard[data-pos='3'] {
  z-index: 2;
  transform: translate3d(0, 50px, -120px) scale(0.86);
  opacity: 0;
  pointer-events: none;
}
.dcard[data-pos='1']::after,
.dcard[data-pos='2']::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(7 18 38 / 0.28);
}
.dcard[data-pos='2']::after {
  background: rgb(7 18 38 / 0.5);
}
.dcard[data-pos='gone-l'] {
  z-index: 6;
  transform: translate3d(-130%, 30px, 0) rotate(-22deg);
  opacity: 0;
  pointer-events: none;
}
.dcard[data-pos='gone-r'] {
  z-index: 6;
  transform: translate3d(130%, 30px, 0) rotate(22deg);
  opacity: 0;
  pointer-events: none;
}
.dcard.is-drag {
  transition: none;
  cursor: grabbing;
}
.dcard.is-nudge {
  animation: nudge 1.4s var(--ease);
}
@keyframes nudge {
  0% { transform: translate3d(0, 0, 0) rotate(0); }
  30% { transform: translate3d(26px, 0, 0) rotate(2.4deg); }
  60% { transform: translate3d(-18px, 0, 0) rotate(-1.6deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0); }
}
.dc-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3cqi;
  padding: 3.6cqi 6cqi;
  background: var(--side);
  color: var(--side-ink);
  font-size: max(11px, 3.6cqi);
  font-weight: 800;
}
.dc-side {
  display: inline-flex;
  align-items: center;
  gap: 2.4cqi;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dc-side i {
  display: block;
  width: 3.4cqi;
  height: 3.4cqi;
  min-width: 10px;
  min-height: 10px;
  background: currentColor;
}
.is-lender .dc-side i {
  border-radius: 50%;
}
.is-borrower .dc-side i {
  width: 3cqi;
  height: 3cqi;
  min-width: 9px;
  min-height: 9px;
  border-radius: 1px;
  transform: rotate(45deg);
}
.dc-role {
  font-weight: 700;
  text-align: right;
  opacity: 0.92;
}
.dc-k,
.dc-size,
.dc-f,
.dc-ft {
  margin-inline: 6cqi;
}
.dc-k {
  margin-top: 6cqi;
  font-family: var(--mono);
  font-size: max(12px, 3cqi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a5063;
}
.dc-size {
  font-family: var(--display);
  font-size: 15cqi;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--size-ink);
}
.dc-f {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4cqi 4cqi;
  margin-top: 5cqi;
}
.dc-f dt {
  font-family: var(--mono);
  font-size: max(12px, 2.7cqi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a5063;
}
.dc-f dd {
  margin: 0.6cqi 0 0;
  font-size: max(12px, 4.1cqi);
  font-weight: 700;
  line-height: 1.25;
  color: #1a1f2e;
}
.dc-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqi;
  margin-top: 6cqi;
  padding: 3.6cqi 0 4.4cqi;
  border-top: 1px solid rgb(26 31 46 / 0.14);
  font-family: var(--mono);
  font-size: max(12px, 2.7cqi);
  flex-wrap: wrap;
  color: #4a5063;
}
.dc-ill {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stamp {
  position: absolute;
  top: 24cqi;
  padding: 0.6cqi 3cqi;
  border: 2px solid currentColor;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.85);
  font-size: max(13px, 5cqi);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
}
.stamp-pass {
  right: 6cqi;
  color: #a0492f;
  transform: rotate(10deg);
  opacity: var(--pass, 0);
}
.stamp-yes {
  left: 6cqi;
  color: #2f6149;
  transform: rotate(-10deg);
  opacity: var(--yes, 0);
}


/* ---------- Premium cards: card stock with an edge, foil, an engraved frame and a moving sheen ---------- */

@property --sw {
  syntax: '<percentage>';
  inherits: false;
  initial-value: -40%;
}
.ds-table::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -1%;
  height: 15%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.6), transparent);
  filter: blur(12px);
  pointer-events: none;
}
.dcard {
  --side-rgb: 15 106 96;
  --h1: #0c7d72;
  --h2: #0a665d;
  --h3: #07504a;
  --lab: #0a4f48;
  --edge: #b9dad4;
  --foilb: linear-gradient(var(--fa, 135deg), #0a4f48 0%, #53cbbc 20%, #e9fbf8 42%, #2fbfae 58%, #0f6a60 80%, #0a4f48 100%);
  --paper: linear-gradient(168deg, #f7fcfb 0%, #e6f5f2 58%, #d9eeea 100%);
  --pattern: repeating-linear-gradient(135deg, rgb(15 106 96 / 0.055) 0 1px, transparent 1px 9px);
  border: 1.5px solid transparent;
  background: var(--pattern) padding-box, var(--paper) padding-box, var(--foilb) border-box;
  background-size: auto, auto, auto;
  box-shadow:
    0 1px 0 var(--edge),
    0 2px 0 rgb(var(--side-rgb) / 0.38),
    0 3px 0 var(--edge),
    0 4px 0 rgb(var(--side-rgb) / 0.3),
    0 5px 0 var(--edge),
    0 6px 0 rgb(var(--side-rgb) / 0.24),
    0 14px 18px -10px rgb(0 0 0 / 0.55),
    0 38px 56px -22px rgb(0 0 0 / 0.85);
}
.dcard.is-borrower {
  --side-rgb: 155 98 36;
  --h1: #f4dba5;
  --h2: #e6aa52;
  --h3: #d28f33;
  --lab: #7a4c18;
  --edge: #ecd6a6;
  --foilb: linear-gradient(var(--fa, 135deg), #8f5a2e 0%, #e2a24a 22%, #fbe9bd 44%, #e2a24a 60%, #b8733f 82%, #8f5a2e 100%);
  --paper: linear-gradient(168deg, #fffbf1 0%, #fbeed2 58%, #f5e0b6 100%);
  --pattern: radial-gradient(rgb(155 98 36 / 0.11) 1px, transparent 1.4px);
  background: var(--pattern) padding-box, var(--paper) padding-box, var(--foilb) border-box;
  background-size: 11px 11px, auto, auto;
}
.dcard[data-pos='0'] {
  transform: translate3d(var(--dx, 0px), 0, 0) rotate(var(--rot, 0deg)) perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.dcard[data-pos='0'].is-tilt {
  transition: transform 0.22s ease-out, opacity 0.45s var(--ease), box-shadow 0.4s var(--ease);
}
.dcard[data-pos='0'].is-drag {
  transition: none;
}
.dcard[data-pos='1']::after,
.dcard[data-pos='2']::after {
  z-index: 6;
  border-radius: inherit;
}
.dcard.is-nudge {
  animation: nudge 1.4s var(--ease), dc-sweep 1.6s var(--ease);
}
@keyframes dc-sweep {
  from { --sw: -30%; }
  to { --sw: 130%; }
}
.dc-frame {
  position: absolute;
  inset: 6px;
  z-index: 1;
  border: 1px solid rgb(var(--side-rgb) / 0.36);
  border-radius: 15px;
  box-shadow: inset 0 0 0 3px transparent, inset 0 0 0 4px rgb(var(--side-rgb) / 0.14);
  pointer-events: none;
}
.dc-sheen {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  background:
    linear-gradient(105deg, transparent calc(var(--sw) - 15%), rgb(255 255 255 / 0.42) var(--sw), transparent calc(var(--sw) + 15%)),
    radial-gradient(75% 55% at var(--sx, 26%) var(--sy, 0%), rgb(255 255 255 / 0.38), transparent 72%);
  pointer-events: none;
}
.dc-h {
  position: relative;
  z-index: 2;
  padding: 4.4cqi 6cqi;
  background:
    repeating-linear-gradient(115deg, rgb(255 255 255 / 0.1) 0 1px, transparent 1px 7px),
    linear-gradient(160deg, var(--h1) 0%, var(--h2) 55%, var(--h3) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), inset 0 -1px 0 rgb(0 0 0 / 0.2), 0 8px 12px -8px rgb(0 0 0 / 0.4);
  text-shadow: 0 1px 0 rgb(0 0 0 / 0.28);
}
.is-borrower .dc-h {
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.45);
}
.dc-h::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--foilb);
}
.dc-role {
  font-family: var(--mono);
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dc-k,
.dc-size,
.dc-f,
.dc-tags,
.dc-ft {
  position: relative;
  z-index: 2;
}
.dc-k {
  margin-top: 6.4cqi;
  color: var(--lab);
  font-weight: 600;
}
.dc-size {
  font-size: 16.5cqi;
  font-weight: 560;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.9), 0 -1px 0 rgb(0 0 0 / 0.1);
}
.dc-f {
  margin-top: 4.6cqi;
  padding-top: 4.4cqi;
  border-top: 1px solid rgb(var(--side-rgb) / 0.22);
  gap: 4.2cqi 5cqi;
}
.dc-f dt {
  color: var(--lab);
  font-weight: 600;
}
.dc-f dd {
  font-weight: 700;
}
.dc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8cqi;
  margin: 4.6cqi 6cqi 0;
}
.dc-tags li {
  padding: 1cqi 3cqi;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.62);
  box-shadow: inset 0 0 0 1px rgb(var(--side-rgb) / 0.42), 0 1px 0 rgb(255 255 255 / 0.7);
  color: var(--size-ink);
  font-size: max(12px, 3cqi);
  font-weight: 700;
  line-height: 1.3;
}
.dc-ft {
  margin-top: 5cqi;
  border-top-color: rgb(var(--side-rgb) / 0.22);
}
@media (prefers-reduced-motion: reduce) {
  .dcard[data-pos='0'] {
    transform: translate3d(var(--dx, 0px), 0, 0) rotate(var(--rot, 0deg));
  }
}

.sent {
  position: absolute;
  left: 50%;
  bottom: -4%;
  z-index: 8;
  width: max-content;
  max-width: min(94vw, 400px);
  translate: -50% 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.sent.is-on {
  opacity: 1;
  transform: none;
}
.sent-1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 92vw;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgb(226 162 74 / 0.18);
  box-shadow: inset 0 0 0 1px rgb(226 162 74 / 0.6);
  backdrop-filter: blur(8px);
  color: #f3d9a4;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.3;
}
.sent-1 svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.match {
  position: absolute;
  inset: -5% -4% auto;
  min-height: 105%;
  z-index: 9;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 20px;
  border-radius: 28px;
  background: radial-gradient(80% 70% at 50% 40%, rgb(21 36 66 / 0.97), rgb(7 18 38 / 0.98));
  box-shadow: inset 0 0 0 1px rgb(226 162 74 / 0.5), 0 40px 80px -30px rgb(0 0 0 / 0.9);
  text-align: center;
  animation: match-in 0.7s var(--ease) both;
}
@keyframes match-in {
  from { opacity: 0; transform: scale(0.94); }
}
.ring {
  width: 96px;
  height: 96px;
  overflow: visible;
}
.ring-bg {
  fill: none;
  stroke: rgb(226 162 74 / 0.2);
  stroke-width: 2;
}
.ring-fg {
  fill: none;
  stroke: #e2a24a;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 0;
  transform: rotate(-90deg);
  transform-origin: 60px 60px;
  animation: ring-draw 1.1s var(--ease) 0.15s both;
}
@keyframes ring-draw {
  from { stroke-dashoffset: 327; }
}
.ring-mark {
  color: #f3efe8;
}
.m-h {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-style: italic;
  font-weight: 420;
  color: #f3d9a4;
}
.m-s {
  font-size: 0.9375rem;
  color: #cfc9bf;
}
.ids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin: 8px 0 2px;
}
.id {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.05);
  text-align: left;
}
.id-lender {
  box-shadow: inset 0 0 0 1px rgb(47 191 174 / 0.7);
}
.id-borrower {
  box-shadow: inset 0 0 0 1px rgb(226 162 74 / 0.7);
}
.id .who {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f3efe8;
}
.id p:not(.who) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #a2a6b0;
}
.id i {
  display: block;
  width: 80%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e8cdae, #e2a24a);
  filter: blur(2.4px);
  opacity: 0.55;
  animation: unblur 1s var(--ease) 0.9s forwards;
}
.id i.w2 { width: 95%; }
.id i.w3 { width: 58%; }
.id i.w4 { width: 68%; }
@keyframes unblur {
  to { filter: blur(0); opacity: 1; }
}
.m-f {
  font-size: 0.8125rem;
  color: #a2a6b0;
}
.m-act {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.end {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--ink);
}

.ds-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
  transition: opacity 0.3s ease;
}
.ds-ctrl.is-off {
  opacity: 0.45;
}
.ds-count {
  min-width: 52px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-align: center;
}
.dbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease;
}
.dbtn svg {
  width: 16px;
  height: 16px;
}
.dbtn:disabled {
  cursor: default;
}
.dbtn:not(:disabled):hover {
  transform: translateY(-2px);
}
.dbtn-pass {
  border-color: rgb(243 239 232 / 0.35);
  background: rgb(255 255 255 / 0.04);
  color: #f3efe8;
}
.dbtn-yes {
  background: var(--gold);
  color: #1a1f2e;
  box-shadow: 0 12px 30px -14px rgb(226 162 74 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.dbtn-yes:not(:disabled):hover {
  background: #ecb565;
}
.dbtn-keep,
.dbtn-replay {
  min-height: 48px;
  border-color: rgb(226 162 74 / 0.6);
  background: transparent;
  color: #f3d9a4;
  font-size: 0.9375rem;
}
.dbtn-keep {
  background: var(--gold);
  color: #1a1f2e;
  border-color: var(--gold);
}
.ds-hint {
  font-size: 0.875rem;
  color: var(--ink-3);
  text-align: center;
}
html:not(.js) .ds-ctrl,
html:not(.js) .ds-hint {
  display: none;
}
/* Without JavaScript the deck lies flat, every card readable. */
html:not(.js) .ds-table {
  aspect-ratio: auto;
  width: 100%;
}
html:not(.js) .deck {
  position: static;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
html:not(.js) .dcard {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  translate: none;
  transform: none;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(56px, 7vw, 96px);
}
.steps li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  border-radius: var(--r-l);
  background: rgb(255 255 255 / 0.04);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  color: var(--ink-2);
  font-size: 0.9688rem;
}
.step-n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgb(226 162 74 / 0.55);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
}
.steps .h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 450;
  color: var(--ink);
}
@media (max-width: 900px) {
  .signal-head,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .sg-r1, .sg-r2 { display: none; }
}
@media (max-width: 480px) {
  .ds-table {
    aspect-ratio: 1 / 1.34;
  }
  .dcard {
    width: 90%;
    top: 47%;
  }
  .ids {
    grid-template-columns: 1fr;
  }
  .match {
    inset: -3% -2% auto;
    padding: 16px 14px 18px;
    gap: 4px;
  }
  .ring {
    width: 66px;
    height: 66px;
  }
  .id {
    padding: 8px 10px;
    gap: 4px;
  }
  .ds-ctrl .dbtn {
    padding: 0 18px;
  }
}

/* ============================================================
   6. How it stays serious
   ============================================================ */

.serious {
  overflow: clip;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tiles li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 26px 28px;
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink-2);
  font-size: 0.9688rem;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.tiles li::before {
  content: '';
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), transparent);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) {
  .tiles li:hover {
    transform: translateY(-4px);
    border-color: rgb(184 115 63 / 0.5);
  }
}
.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.tile-ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgb(226 162 74 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(226 162 74 / 0.28);
  color: #e3a774;
  transition: transform 0.4s var(--ease), background-color 0.3s ease;
}
.tile-ic svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (hover: hover) {
  .tiles li:hover .tile-ic {
    background: rgb(226 162 74 / 0.2);
    transform: translateY(-2px) rotate(-4deg);
  }
}
.tile-n {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--copper-text);
}
.tiles .h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 450;
  color: var(--ink);
}
.ds-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 80px);
}
.ds-foot > div {
  display: grid;
  align-content: start;
  gap: 14px;
  color: var(--ink-2);
}
.isnt {
  padding: 28px;
  border-radius: var(--r-l);
  border: 1px solid rgb(184 115 63 / 0.5);
  background: var(--copper-wash);
}
.isnt .h3,
.onfree .h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 450;
  color: var(--ink);
}
.isnt p {
  color: var(--ink);
}
@media (max-width: 900px) {
  .tiles,
  .ds-foot {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 640px) and (max-width: 900px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   7. Who it's for
   ============================================================ */

.who-sec {
  background: var(--paper);
}
.places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.place {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 34px 30px 36px;
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    radial-gradient(90% 60% at 100% 0%, rgb(226 162 74 / 0.14), transparent 60%) padding-box,
    linear-gradient(165deg, #13223f 0%, #0b1b36 60%, #071226 100%) padding-box,
    var(--foil) border-box;
  color: #f3efe8;
  box-shadow: 0 34px 50px -30px rgb(11 27 54 / 0.8);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
@media (hover: hover) {
  .place:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 52px 70px -30px rgb(11 27 54 / 0.95);
  }
  .place:hover .pl-tile {
    transform: rotate(0deg) translateY(-4px) scale(1.05);
    box-shadow: 0 0 0 1px #ece6da, 0 22px 30px -14px rgb(0 0 0 / 0.9);
  }
  /* Arrangers: the bridge between the two cards draws again, the meeting point pulses and the link runs. */
  .motion .place-arranger:hover .pt-arc { stroke-dasharray: 1; animation: pt-draw 0.9s var(--ease) both; }
  .motion .place-arranger:hover .pt-dot { animation: pt-pulse 1.4s ease-in-out 0.6s infinite; }
  .motion .place-arranger:hover .pt-dash { animation: pt-flow 0.9s linear infinite; }
  /* Lenders: the bars rise one after another and the live signal pulses. */
  .motion .place-lender:hover .pt-bar { animation: pt-rise 0.8s var(--ease) both; }
  .motion .place-lender:hover .pt-bar:nth-of-type(2) { animation-delay: 0.08s; }
  .motion .place-lender:hover .pt-bar:nth-of-type(3) { animation-delay: 0.16s; }
  .motion .place-lender:hover .pt-bar:nth-of-type(4) { animation-delay: 0.24s; }
  .motion .place-lender:hover .pt-dot { animation: pt-pulse 1.4s ease-in-out 0.5s infinite; }
  /* Borrowers: the approval mark pops and its tick draws. */
  .motion .place-borrower:hover .pt-ok { animation: pt-pop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
  .motion .place-borrower:hover .pt-tick { stroke-dasharray: 1; animation: pt-draw 0.5s var(--ease) 0.25s both; }
}
.pl-tile {
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.pt-dot,
.pt-ok {
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes pt-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes pt-pulse {
  0%, 100% { transform: none; }
  50% { transform: scale(1.55); }
}
@keyframes pt-flow {
  to { stroke-dashoffset: -12; }
}
@keyframes pt-rise {
  from { transform: scaleY(0.3); }
  to { transform: none; }
}
@keyframes pt-pop {
  from { transform: scale(0.3); }
  to { transform: none; }
}
.pl-tile {
  width: 132px;
  height: 94px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: #fffdf9;
  box-shadow: 0 0 0 1px #ece6da, 0 16px 24px -14px rgb(0 0 0 / 0.85);
  transform: rotate(-2.4deg);
}
.place-arranger .pl-tile {
  transform: rotate(1.8deg);
}
.place-borrower .pl-tile {
  transform: rotate(-1.4deg);
}
.pl-tile svg {
  width: 100%;
  height: 100%;
}
.pt-base {
  fill: none;
  stroke: #d9cfbe;
  stroke-width: 1.5;
}
.pt-bar {
  fill: #e2cfb8;
}
.pt-card {
  fill: #ffffff;
  stroke: #e0d7c6;
  stroke-width: 1;
}
.pt-line {
  fill: none;
  stroke: #ddd5c6;
  stroke-width: 3;
  stroke-linecap: round;
}
.pt-line-b {
  stroke: #0b1b36;
}
.pt-dash {
  fill: none;
  stroke: #b8733f;
  stroke-width: 1.4;
  stroke-dasharray: 3 3;
}
.pt-teal-s {
  stroke: #1c8c7f;
}
.pt-arc {
  fill: none;
  stroke: #b8733f;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.pt-dot {
  fill: #b8733f;
}
.pt-teal {
  fill: #1c8c7f;
}
.pt-gold {
  fill: #e2a24a;
}
.pt-ok {
  fill: #3f7a5c;
}
.pt-tick {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.motion .pt-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0.25);
  transition: transform 1s var(--ease);
}
.motion .is-in .pt-bar {
  transform: none;
}
.motion .is-in .pt-bar:nth-of-type(3) { transition-delay: 0.1s; }
.motion .is-in .pt-bar:nth-of-type(4) { transition-delay: 0.2s; }
.motion .is-in .pt-bar:nth-of-type(5) { transition-delay: 0.3s; }
.pl-k {
  font-family: var(--display);
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  color: #e2a24a;
}
.pl-h {
  font-family: var(--display);
  font-size: clamp(1.55rem, 1.2rem + 0.9vw, 1.95rem);
  font-weight: 420;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #f3efe8;
}
.pl-who {
  font-size: 1.0313rem;
  font-weight: 650;
  color: #e8cdae;
}
.pl-p {
  font-size: 1.0313rem;
  line-height: 1.6;
  color: #cfc9bf;
}
.pl-fine {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.8438rem;
  line-height: 1.5;
  color: #a2a6b0;
}
@media (max-width: 960px) {
  .places {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   8. Plans and the Founding Reader
   ============================================================ */

.ticks {
  display: grid;
  gap: 12px;
}
.ticks li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.5;
}
.ticks svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--success);
}
.plan-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgb(63 122 92 / 0.1);
  color: #2f6149;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
[data-theme='dark'] .plan-status {
  color: #8fd1ae;
}
/* Plans sit on the cream band in both themes, so the open badge keeps its light-theme green. */
[data-theme='dark'] .light-band .plan-status:not(.is-later) {
  color: #2f6149;
}
.plan-status.is-later {
  background: var(--copper-wash);
  color: var(--copper-text);
}
.plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--rule);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.plan-free {
  border: 1px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--foil) border-box;
}
.plan-monitor {
  border-style: dashed;
  border-color: var(--rule-2);
  background: transparent;
  box-shadow: none;
  color: var(--ink-2);
}
.plan-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.plan-name {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 420;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.plan-founding {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  color: var(--ink);
}
.plan-founding svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--copper);
}
.mon-copy {
  color: var(--ink-2);
}
.ticks-fr {
  padding: 18px 0;
  border-block: 1px solid var(--rule);
}

.founding {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(72px, 9vw, 120px);
}
.fcard-stage {
  margin: 0;
  perspective: 1300px;
}
.fcard {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1.586 / 1;
  max-width: 560px;
  border-radius: 18px;
  border: 1px solid transparent;
  overflow: hidden;
  color: #faf7f2;
  background:
    linear-gradient(165deg, rgb(255 255 255 / 0.07) 0%, rgb(255 255 255 / 0) 34%) padding-box,
    radial-gradient(110% 85% at 96% 4%, rgb(226 162 74 / 0.18), rgb(226 162 74 / 0) 55%) padding-box,
    repeating-linear-gradient(0deg, rgb(250 247 242 / 0.024) 0 1px, transparent 1px 4px) padding-box,
    linear-gradient(150deg, #2b3349 0%, #1d2333 46%, #12161f 100%) padding-box,
    var(--foil) border-box;
  box-shadow: 0 50px 90px -34px rgb(3 5 10 / 0.7), 0 18px 34px -18px rgb(3 5 10 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.07);
  transform: rotateX(calc(7deg + var(--tx, 0deg))) rotateY(calc(-11deg + var(--ty, 0deg)));
  transition: transform 0.9s var(--ease);
}
@media (max-width: 639px) {
  .fcard {
    transform: rotateX(calc(5deg + var(--tx, 0deg))) rotateY(calc(-5deg + var(--ty, 0deg)));
  }
}
.fc-guil {
  position: absolute;
  top: 46%;
  right: -28%;
  width: 84%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.2;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 86%);
  mask-image: linear-gradient(180deg, #000 52%, transparent 86%);
}
.fc-frame {
  position: absolute;
  inset: 9px;
  border: 1px solid rgb(226 162 74 / 0.24);
  border-radius: 12px;
  pointer-events: none;
}
.fc-sheen {
  position: absolute;
  inset: -20% -70%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgb(255 232 190 / 0.1) 47%, rgb(255 246 226 / 0.2) 50%, rgb(255 232 190 / 0.1) 53%, transparent 58%);
  transform: translateX(-60%);
}
.motion .fcard-stage.is-in .fc-sheen {
  animation: sheen 2.4s var(--ease) 0.5s both;
}
@keyframes sheen {
  to { transform: translateX(60%); }
}
.fc-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.6cqi 6.6cqi 6cqi;
}
.fc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4cqi;
}
.fc-brand {
  display: flex;
  align-items: center;
  gap: 2.6cqi;
  margin-top: 1cqi;
}
.fc-brand svg {
  width: clamp(22px, 7cqi, 38px);
  aspect-ratio: 144 / 130;
  height: auto;
  color: #faf7f2;
}
.fc-brand p {
  font-size: clamp(9.5px, 2.25cqi, 12px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.55;
}
.fc-brand span {
  display: block;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #e8cdae;
}
.seal {
  width: clamp(76px, 24cqi, 132px);
  height: auto;
  aspect-ratio: 1;
  flex: none;
  margin: -1.4cqi -1.4cqi 0 0;
  filter: drop-shadow(0 3px 8px rgb(3 5 10 / 0.55));
}
.seal-txt {
  font-family: var(--body);
  font-size: 8.4px;
  font-weight: 700;
  fill: #e2a24a;
  letter-spacing: 1.4px;
}
.seal-mark {
  color: #e8cdae;
}
.fc-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4cqi;
}
.fc-label {
  font-size: clamp(9px, 1.85cqi, 10.5px);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #e8cdae;
}
.fc-name {
  margin-top: 1.3cqi;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 6.6cqi, 38px);
  line-height: 1.04;
  letter-spacing: -0.012em;
}
.fc-sub {
  margin-top: 1.4cqi;
  font-size: clamp(10px, 2.3cqi, 12.5px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(250 247 242 / 0.78);
}
.fc-id {
  display: grid;
}
.fc-no {
  display: flex;
  align-items: baseline;
  gap: 2.6cqi;
  margin-top: 2.4cqi;
}
.fc-no-l {
  font-size: clamp(9px, 2cqi, 11px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8cdae;
}
.fc-no-n {
  font-family: var(--display);
  font-size: clamp(26px, 7.6cqi, 44px);
  font-weight: 420;
  line-height: 1;
  letter-spacing: 0.05em;
  font-variant-numeric: lining-nums tabular-nums;
  background: linear-gradient(100deg, #b8733f 0%, #f3d9a4 38%, #e2a24a 62%, #b8733f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgb(0 0 0 / 0.5));
}
.fcard-cap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-size: 0.9063rem;
  color: var(--copper-text);
}
.fcard-cap::before {
  content: '';
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--copper);
}
.fr-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}
.fr-copy .kicker {
  margin-bottom: -4px;
}
.h2-fr {
  font-size: clamp(2rem, 1.2rem + 2vw, 3.1rem);
}
@media (max-width: 960px) {
  .plan-grid,
  .founding {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   10. Who's behind it
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: start;
}
.letter {
  position: relative;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px);
  border-radius: 4px;
  background: #fffdf9;
  color: #1a1f2e;
  box-shadow: 0 0 0 1px rgb(184 115 63 / 0.3), 0 40px 70px -46px rgb(26 31 46 / 0.55);
  --ink: #1a1f2e;
  --copper-text: #8f5a2e;
}
.letter::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(184 115 63 / 0.22);
  pointer-events: none;
}
.letter .h2 {
  margin-bottom: 28px;
  color: #1a1f2e;
}
.letter-body {
  font-family: var(--display);
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.35rem);
  line-height: 1.66;
  color: #1a1f2e;
  max-width: 31em;
}
.letter-body p + p {
  margin-top: 1.05em;
}
.letter-body a {
  color: #8f5a2e;
  font-weight: 600;
}
.dropcap::first-letter {
  float: left;
  margin: 0.06em 0.1em -0.05em 0;
  font-size: 4.1em;
  line-height: 0.78;
  font-weight: 400;
  color: #b8733f;
}
.signature {
  margin-top: 1.6em !important;
  font-weight: 300;
  font-size: clamp(1.75rem, 1.5rem + 0.9vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.signature-rule {
  display: block;
  width: 128px;
  height: 1px;
  margin-top: 14px;
  background: #b8733f;
}
.colophon {
  padding: 26px 0 0;
  border-top: 2px solid var(--copper);
}
.caps {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-text);
}
.colophon-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  font-size: 0.9688rem;
}
.colophon-list a {
  font-weight: 700;
}
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* The right column: the colophon, then a way to Tredit itself, level with the bottom of the letter. */
.team-side {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-self: stretch;
}
.team-visit {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: auto;
  padding: 30px 30px 26px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 18px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.015));
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s var(--ease), background-color 0.25s ease;
}
.team-visit img {
  width: auto;
  height: 58px;
  margin-bottom: 8px;
}
.team-visit-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}
.team-visit-go svg {
  width: 16px;
  height: 16px;
  color: var(--copper-text);
  transition: transform 0.25s var(--ease);
}
.team-visit-url {
  font-size: 0.875rem;
  color: var(--ink-3);
}
.team-visit:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}
.team-visit:hover .team-visit-go svg {
  transform: translateX(3px);
}
.team-visit:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .team-visit,
  .team-visit:hover {
    transform: none;
  }
}

/* ============================================================
   12. Join
   ============================================================ */

.final {
  overflow: clip;
  background:
    radial-gradient(60% 80% at 10% 0%, rgb(226 162 74 / 0.16), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, rgb(72 86 128 / 0.34), transparent 60%),
    linear-gradient(170deg, #0f2346 0%, #0b1b36 50%, #050d1c 100%);
  box-shadow: inset 0 1px 0 rgb(226 162 74 / 0.3);
}
.final-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.final-fx i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(50px);
}
.fx-a {
  left: 30%;
  top: -20%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(closest-side, rgb(226 162 74 / 0.2), transparent);
  animation: drift-a 20s ease-in-out infinite alternate;
}
.fx-b {
  right: -8vw;
  bottom: -18vw;
  width: 44vw;
  height: 44vw;
  background: radial-gradient(closest-side, rgb(72 96 160 / 0.4), transparent);
  animation: drift-b 24s ease-in-out infinite alternate;
}
.final-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: center;
}
.final-head {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.final-head .kicker {
  margin-bottom: -6px;
}
/* The Tredit Stack mark (the #lockup symbol's bars at 0.92 scale, Marc 12 Nov): four bars 70/58/46/32 long, 16 high, 7 apart, the
   square at 82, the base line 100 wide under them; bar shading as in the logo. */
.final-mark {
  position: relative;
  width: 92px;
  height: 86px;
  margin-bottom: 8px;
}
.final-mark i {
  position: absolute;
  left: 3.7px;
  height: 14.7px;
  border-radius: 2.8px;
  background: #faf7f2;
}
.final-mark .fm1 { top: 0; width: 64.4px; }
.final-mark .fm2 { top: 21.2px; width: 53.4px; opacity: 0.86; }
.final-mark .fm3 { top: 42.3px; width: 42.3px; opacity: 0.71; }
.final-mark .fm4 { top: 63.5px; width: 29.4px; opacity: 0.57; }
.final-mark .fmg { top: 0; left: 75.4px; width: 14.7px; background: var(--gold); box-shadow: 0 0 22px rgb(226 162 74 / 0.6); }
.final-mark .fmb { top: 83.7px; left: 0; width: 92px; height: 2.3px; border-radius: 1.2px; opacity: 0.7; }
.motion .final-head .final-mark i {
  transform: translateX(-24px);
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity 1.1s var(--ease);
}
.motion .final-head .final-mark .fmg { transform: translate(0, -24px); }
.motion .final-head.is-in .final-mark i { transform: none; }
.motion .final-head.is-in .fm1 { opacity: 1; transition-delay: 0.05s; }
.motion .final-head.is-in .fm2 { opacity: 0.86; transition-delay: 0.15s; }
.motion .final-head.is-in .fm3 { opacity: 0.71; transition-delay: 0.25s; }
.motion .final-head.is-in .fm4 { opacity: 0.57; transition-delay: 0.35s; }
.motion .final-head.is-in .fmg { opacity: 1; transition-delay: 0.6s; }
.motion .final-head.is-in .fmb { opacity: 0.7; transition-delay: 0.5s; }
.final-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 1.4rem + 3.3vw, 4.3rem);
  font-weight: 340;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 13em;
  text-wrap: balance;
}
.ft-l {
  display: block;
}
/* Like the hero's second line: italic, in copper. */
.ft-brief {
  font-style: italic;
  color: #e0a56b;
}
.final-head .lede {
  color: var(--ink-2);
}
.final-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--champagne);
}
.final-count .fl-ic {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--gold);
}
.reply-card {
  position: relative;
  padding: 32px 32px 32px 56px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    radial-gradient(90% 60% at 100% 0%, rgb(226 162 74 / 0.14), transparent 60%) padding-box,
    linear-gradient(165deg, #2b3349 0%, #1d2333 50%, #12161f 100%) padding-box,
    var(--foil) border-box;
  box-shadow: 0 50px 90px -40px rgb(0 0 0 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.07);
}
.reply-card::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 16px;
  bottom: 16px;
  width: 0;
  border-left: 1.5px dashed rgb(226 162 74 / 0.5);
}
.rc-guil {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgb(226 162 74 / 0.12) 0 1deg, transparent 1deg 6deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  pointer-events: none;
}
.reply-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cfc9bf;
}
.reply-free {
  color: var(--gold);
}
.reply-name {
  margin: 22px 0 18px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 350;
  line-height: 1.1;
  color: #f3efe8;
}
.reply-name span {
  font-size: 0.6em;
  color: #e8cdae;
}
.reply-steps {
  position: relative;
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}
.reply-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  font-size: 0.9688rem;
  line-height: 1.55;
  color: #cfc9bf;
}
.reply-steps li > span:first-child {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgb(226 162 74 / 0.55);
  font-family: var(--display);
  font-size: 0.8125rem;
  color: var(--gold);
}
.reply-card .cta-block {
  position: relative;
  justify-items: stretch;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
@media (max-width: 900px) {
  .final-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .reply-card {
    padding: 26px 20px 26px 38px;
  }
  .reply-card::before {
    left: 16px;
  }
}

/* ============================================================
   Odds and ends
   ============================================================ */

.ask-card {
  top: calc(var(--header-h) + 40px);
}
.foot .standing {
  color: var(--ink-2);
  font-weight: 600;
}
.faq .h2 {
  max-width: none;
}
.on-stage .kicker {
  color: #e3a774;
}
.orbit {
  margin-top: 28px;
  max-width: 70ch;
  color: var(--ink-2);
}
@media (max-width: 640px) {
  .ai-parts {
    grid-template-columns: minmax(0, 1fr);
  }
  .ai-parts li {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
  }
  .slab.slab-ghost {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion [data-slab] {
    opacity: 1;
    transform: none;
  }
  .dcard {
    transition: none !important;
  }
}

/* ============================================================
   The hero: the motto, the London dawn desk with the film on its
   monitor, and the two buttons (navy in both themes; the monitor's
   screen opens like a light line splitting)
   ============================================================ */

.hx {
  /* The photo's width: the full window on desktop (at most 1600 px), wider than a phone
     so the monitor fills it there (the sides are cropped). */
  --hx-w: min(1600px, max(100vw, min(188vw, 980px)));
  position: relative;
  overflow: clip;
  background: #050b16;
  color: #f3efe8;
}
.hx-in {
  position: relative;
  padding: calc(var(--header-h) + 34px) 20px 72px;
}
.hx-motto {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0 auto;
  text-align: center;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(2.375rem, 4.3vw, 3.875rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #f3efe8;
}
.hx-l {
  display: block;
}
.hx-l2 {
  font-style: italic;
  font-weight: 400;
  color: #e0a56b;
}
/* The photo (1672 x 941; the monitor's screen is x 423-1241, y 169-606), darkened, with a
   vignette into the hero navy. The sky above the monitor runs behind the motto. */
.hx-scene {
  position: relative;
  z-index: 1;
  width: var(--hx-w);
  aspect-ratio: 1672 / 941;
  /* The monitor's top edge (15.7% down the photo) sits 26 px under the motto. */
  margin: calc(26px - var(--hx-w) * 0.0885) 0 0 calc(50% - var(--hx-w) / 2);
}
.hx-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  filter: brightness(0.58) saturate(0.85) contrast(1.06);
}
.hx-shade {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(180deg, #050b16 0%, rgb(5 11 22 / 0.55) 7%, rgb(5 11 22 / 0) 21%),
    linear-gradient(0deg, #050b16 0%, rgb(5 11 22 / 0.6) 11%, rgb(5 11 22 / 0) 28%),
    linear-gradient(90deg, #050b16 0%, rgb(5 11 22 / 0) 7%, rgb(5 11 22 / 0) 93%, #050b16 100%),
    radial-gradient(ellipse 60% 64% at 50% 42%, rgb(5 11 22 / 0) 38%, rgb(5 11 22 / 0.5) 76%, rgb(5 11 22 / 0.85) 100%);
}
/* The film, fitted to the monitor's screen, with a faint light around it. */
.hx-glow {
  position: absolute;
  left: 25.3%;
  top: 17.96%;
  width: 48.92%;
  height: 46.44%;
  border-radius: 3px;
}
.hx-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 3px;
  box-shadow: 0 0 70px 6px rgb(110 145 205 / 0.2);
  pointer-events: none;
}
.hx-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
  transition: filter 0.3s ease;
}
@media (hover: hover) {
  .hx-frame:hover {
    filter: brightness(1.08);
  }
}
/* Inside the screen: the opening's clip-path would hide a ring drawn outside it. */
.hx-frame:focus-visible {
  outline: 3px solid #e2a24a;
  outline-offset: -4px;
}
.hx-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hx-edge,
.hx-flash {
  display: none;
}
.hx-below {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 760px;
  margin: calc(var(--hx-w) * -0.065) auto 0;
  text-align: center;
}
.hx-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #cfc9bf;
}
.hx-sub b {
  color: #f3efe8;
}
.hx-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hx-watch {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 24px 0 8px;
  border: 1px solid #33435f;
  border-radius: 999px;
  background: rgb(14 24 41 / 0.8);
  color: #f3efe8;
  font: 700 1rem var(--body);
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.hx-watch:hover {
  border-color: #e3a774;
}
.hx-watch small {
  font-size: inherit;
  font-weight: 600;
  color: #cfc9bf;
}
.hx-disc {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3d9a4, #e2a24a 50%, #b8733f);
  color: #1a1f2e;
}
.hx-disc svg {
  width: 15px;
  height: 15px;
  margin-left: 2px;
}

/* The film, large and with sound. */
.hx-lb {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: rgb(3 7 14 / 0.94);
  color: #f3efe8;
  overflow: hidden;
}
.hx-lb[open] {
  display: grid;
  place-items: center;
}
.hx-lb::backdrop {
  background: transparent;
}
.hx-lb-in {
  width: min(1280px, 92vw, calc((100vh - 120px) * 16 / 9));
}
.hx-lb-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.hx-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #33435f;
  border-radius: 999px;
  background: rgb(14 24 41 / 0.85);
  color: #f3efe8;
  font: 600 0.875rem var(--body);
  cursor: pointer;
}
.hx-close:hover {
  border-color: #e3a774;
}
.hx-close svg {
  width: 14px;
  height: 14px;
}
/* The hero's film, moved into the lightbox: large, with the player's controls. */
.hx-lb .hx-film {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #000;
  object-fit: contain;
  pointer-events: auto;
}
html.hx-lock {
  overflow: hidden;
}

/* The intro plays only with motion allowed; without it everything is simply there: the room fades up from
   the dark while the motto appears, then a copper line opens the monitor's screen. */
.motion .hx-l {
  opacity: 0;
  animation: hx-line 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.motion .hx-l1 {
  animation-delay: 0.35s;
}
.motion .hx-l2 {
  animation-delay: 1.45s;
}
.motion .hx-photo {
  opacity: 0;
  animation: hx-fade 1.8s ease forwards 0.6s;
}
.motion .hx-glow::before {
  opacity: 0;
  animation: hx-fade 0.8s ease forwards 2.4s;
}
.motion .hx-frame {
  clip-path: inset(50% 0 50% 0 round 3px);
  animation: hx-open 1s cubic-bezier(0.6, 0, 0.2, 1) forwards 2.3s;
}
.motion .hx-edge,
.motion .hx-flash {
  display: block;
}
.hx-edge {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f3d9a4 18%, #fff6e4 50%, #f3d9a4 82%, transparent);
  box-shadow: 0 0 22px 5px rgb(226 162 74 / 0.55), 0 0 60px 12px rgb(226 162 74 / 0.25);
  transform: scaleX(0);
  pointer-events: none;
}
.hx-e1 {
  animation: hx-grow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards 1.65s, hx-up 1s cubic-bezier(0.6, 0, 0.2, 1) forwards 2.3s, hx-out 0.6s ease forwards 3.2s;
}
.hx-e2 {
  animation: hx-grow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards 1.65s, hx-down 1s cubic-bezier(0.6, 0, 0.2, 1) forwards 2.3s, hx-out 0.6s ease forwards 3.2s;
}
.hx-flash {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 30%;
  bottom: 30%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 236 200 / 0.45), transparent);
  opacity: 0;
  pointer-events: none;
  animation: hx-flash 1.1s ease forwards 2.25s;
}
.motion .hx-below {
  opacity: 0;
  animation: hx-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards 3.3s;
}
.motion .hx-lb[open] {
  animation: hx-fade 0.35s ease both;
}
.motion .hx-lb[open] .hx-lb-in {
  animation: hx-zoom 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes hx-line {
  from { opacity: 0; transform: translateY(12px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes hx-fade {
  to { opacity: 1; }
}
@keyframes hx-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes hx-open {
  to { clip-path: inset(0 0 0 0 round 3px); }
}
@keyframes hx-grow {
  to { transform: scaleX(1); }
}
@keyframes hx-up {
  to { top: 0; }
}
@keyframes hx-down {
  to { top: 100%; }
}
@keyframes hx-out {
  to { opacity: 0; }
}
@keyframes hx-flash {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes hx-zoom {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .hx-in {
    padding-top: calc(var(--header-h) + 20px);
  }
  .hx-below {
    margin-top: calc(var(--hx-w) * -0.03);
  }
  .hx-sub {
    font-size: 1rem;
  }
}

/* ============================================================
   Benefits: three navy slabs on the shared stepper (tabs, track,
   arrows, swipe), with the detail cards under the active slab
   ============================================================ */

.bn .stk-more {
  background: linear-gradient(to right, transparent, var(--paper) 70%);
}
.bn-stk {
  --pw: min(960px, calc(100vw - 2 * var(--gutter) - 36px));
  margin-top: 0;
}
.bn-stk .stk-tab {
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  flex: 1 1 0;
  overflow: hidden;
}
[data-theme='dark'] .bn .stk-tab[aria-selected='true'] b {
  color: #e2a24a;
}
.bn-tic {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--copper-wash);
  color: var(--copper-text);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.bn-tic svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bn-stk .stk-tab[aria-selected='true'] .bn-tic {
  background: rgb(226 162 74 / 0.16);
  color: #e2a24a;
}
.motion .bn-stk .stk-tab[aria-selected='true'] .bn-tic svg {
  animation: bn-tic 0.7s var(--ease) both;
}
@keyframes bn-tic {
  0% { transform: scale(0.6) rotate(-18deg); opacity: 0.4; }
  60% { transform: scale(1.12); opacity: 1; }
  100% { transform: none; }
}
@media (hover: hover) {
  .bn-stk .stk-tab:hover .bn-tic {
    transform: scale(1.08);
  }
}
@media (max-width: 760px) {
  .bn-stk .stk-tab {
    min-width: 176px;
    column-gap: 10px;
  }
  .bn-tic {
    width: 36px;
    height: 36px;
  }
  .bn-tic svg {
    width: 18px;
    height: 18px;
  }
}
.stk-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.stk.is-auto .stk-tab[aria-selected='true'] .stk-fill {
  display: block;
  animation: stk-fill 6s linear both;
}
@keyframes stk-fill {
  to { transform: scaleX(1); }
}
.slab-b.stk-panel {
  --ink: #f3efe8;
  --ink-2: #cfc9bf;
  --ink-3: #a2a6b0;
  --copper-text: #e3a774;
  grid-template-columns: 108px minmax(0, 1fr) 300px;
  gap: 36px;
  padding: 44px 48px;
  border: 0;
  color: var(--ink);
  background: linear-gradient(160deg, #13213a 0%, #0e1829 55%, #0a1220 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 40px 70px -40px rgb(10 18 32 / 0.7);
}
.slab-b .slab-n {
  font-size: clamp(4rem, 3rem + 3.2vw, 7rem);
  letter-spacing: -0.04em;
  text-align: left;
  color: #c98a56;
}
.slab-b .slab-q {
  font-size: 1.25rem;
}
.slab-b .slab-h {
  font-size: clamp(2.25rem, 1.4rem + 2.2vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.slab-b .slab-p {
  max-width: 36ch;
  font-size: 1.125rem;
  line-height: 1.55;
}
.bn-ill {
  position: relative;
  width: 100%;
  height: 230px;
}
.bn-mini {
  position: absolute;
  border-radius: 14px;
  background: #fffdf9;
  color: #1a1f2e;
  box-shadow: 0 26px 40px -20px rgb(0 0 0 / 0.8);
}
.bn-brief {
  left: 30px;
  top: 24px;
  width: 240px;
  padding: 18px;
  transform: rotate(4deg);
}
.bn-stamp {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1.5px solid #b8733f;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: #8f5a2e;
}
.bn-ln {
  display: block;
  height: 8px;
  margin: 0 0 9px;
  border-radius: 6px;
  background: #e6dfd2;
}
.bn-gap {
  margin-top: 16px;
}
.bn .w92 { width: 92%; }
.bn .w86 { width: 86%; }
.bn .w80 { width: 80%; }
.bn .w64 { width: 64%; }
.bn .w58 { width: 58%; }
.bn .w44 { width: 44%; }
.bn-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #e2a24a;
  color: #1a1f2e;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 26px -12px rgb(226 162 74 / 0.8);
}
.bn-badge svg {
  width: 16px;
  height: 16px;
}
.bn-b1 { left: 0; bottom: 6px; }
.bn-b2 { right: 6px; bottom: 10px; }
.bn-b3 {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: #f3efe8;
}
.bn-pulse {
  left: 10px;
  top: 20px;
  width: 270px;
  padding: 16px;
}
.bn-mh {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f5a2e;
}
.bn-kw {
  display: grid;
  grid-template-columns: 96px 1fr 26px;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  font-size: 0.75rem;
  font-weight: 600;
}
.bn-meter {
  display: block;
  height: 8px;
  border-radius: 6px;
  background: #efe9de;
  overflow: hidden;
}
.bn-meter i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #b8733f, #e2a24a);
}
.bn-up {
  color: var(--lender-deep);
  font-weight: 700;
}
.bn-dc {
  position: absolute;
  width: 190px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 22px 36px -18px rgb(0 0 0 / 0.8);
}
.bn-dh {
  display: block;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bn-db {
  padding: 10px 12px 12px;
}
.bn-dk {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bn-dv {
  margin-top: 2px;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
}
.bn-dc-b {
  left: 4px;
  top: 30px;
  background: var(--borrower-wash);
  color: var(--borrower-ink);
  transform: rotate(-6deg);
}
.bn-dc-b .bn-dh {
  background: var(--borrower);
  color: #3b2508;
}
.bn-dc-l {
  right: 4px;
  top: 52px;
  background: var(--lender-wash);
  color: var(--lender-ink);
  transform: rotate(6deg);
}
.bn-dc-l .bn-dh {
  background: var(--lender);
  color: #f3efe8;
}
.bn-details {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--pw), 100%);
  justify-self: center;
  margin: 0 0 30px;
}
.bn-det {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
}
.motion .bn-det {
  animation: bn-up 0.55s var(--ease) both;
}
.motion .bn-det:nth-child(2) { animation-delay: 0.08s; }
.motion .bn-det:nth-child(3) { animation-delay: 0.16s; }
@keyframes bn-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.bn-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--copper-wash);
  color: var(--copper-text);
}
.bn-ic svg {
  width: 22px;
  height: 22px;
}
.bn-dt {
  margin: 2px 0 4px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}
.bn-dd {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.bn-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.bn-cta p {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 900px) {
  .slab-b.stk-panel {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .bn-ill {
    display: none;
  }
}
@media (max-width: 760px) {
  .slab-b.stk-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 28px;
  }
  .slab-b .slab-n {
    font-size: 4rem;
  }
  .slab-b .slab-h {
    font-size: 2.375rem;
  }
  .bn-details {
    grid-template-columns: minmax(0, 1fr);
  }
}
