/*
 * Tredit Stack landing, the conversion round (Marc, 11 Nov 2026).
 * Loaded after sections.css on every page. Shared parts first (header menu, capital-letter
 * buttons, the final call to action, footer), then the home page's own sections:
 * the hero line, "What members receive" (three exhibits built on real platform
 * screenshots), the Deal Signal teaser, the trust steps, the founder card and the
 * Founding Reader block. Runtime values go through el.style.setProperty (js/v2.js).
 */

/* ============================================================
   Shared: header, buttons, final call to action, footer
   ============================================================ */

.nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
/* The page menu: the header's links are hidden under 1060 px, so phones and tablets get this. */
.top-menu {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.top-menu svg {
  width: 17px;
  height: 17px;
}
.top-menu:hover {
  border-color: var(--copper);
  color: var(--copper-text);
}
.menu-pop {
  width: min(250px, calc(100vw - 2 * var(--gutter)));
  padding: 10px;
}
.menu-pop:popover-open {
  gap: 2px;
}
.menu-pop a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.menu-pop a:hover,
.menu-pop a[aria-current='page'] {
  background: rgb(226 162 74 / 0.12);
  color: var(--copper-text);
}
@media (max-width: 1060px) {
  .top-menu {
    display: inline-grid;
  }
}
@supports not selector(:popover-open) {
  .top-menu {
    display: none;
  }
}
/* On a phone or a small tablet the menu takes the place of the two round links (both are in the footer), so "Sign in" keeps one
   line (Marc, 12 Nov: it wrapped onto two between 560 and 760 px). */
.signin {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .top .top-li {
    display: none;
  }
}
@media (max-width: 380px) {
  .top-menu {
    width: 36px;
    height: 36px;
  }
}

/* Buttons Marc wrote in capitals. The words stay in normal case in the HTML. */
.btn-caps {
  font-size: 0.9063rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.btn-lg.btn-caps {
  font-size: 0.9375rem;
}
@media (max-width: 480px) {
  .btn-lg.btn-caps {
    padding: 0 20px;
    font-size: 0.8438rem;
    letter-spacing: 0.05em;
  }
  .btn-caps {
    white-space: normal;
    text-align: center;
  }
}

/* The final call to action: one centred column. */
.final-solo {
  justify-items: center;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.final-solo .final-title {
  max-width: none;
}
.final-solo .lede {
  max-width: 46ch;
}
.final-cta {
  justify-items: center;
  gap: 14px;
  margin-top: 8px;
}
.final-signin {
  font-size: 0.9688rem;
  color: var(--ink-2);
}
.final-signin a {
  font-weight: 700;
  color: var(--copper-text);
}
.final-note {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--ink-3);
}

/* ============================================================
   Home: the hero's small line above the motto
   ============================================================ */

.hx-eyebrow {
  position: relative;
  z-index: 2;
  max-width: 52em;
  margin: 0 auto 16px;
  text-align: center;
  font-family: var(--mono);
  font-size: clamp(0.625rem, 0.56rem + 0.26vw, 0.8125rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #e3a774;
}
.motion .hx-eyebrow {
  opacity: 0;
  animation: hx-line 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards 0.1s;
}
.hx-sub {
  text-wrap: pretty;
}
.hx-when {
  display: block;
  margin-top: 0.6em;
}
.hx-note {
  color: #fff;
  font-weight: 400;
}
@media (max-width: 560px) {
  .hx-eyebrow {
    margin-bottom: 12px;
    letter-spacing: 0.16em;
  }
  .hx-ctas {
    width: 100%;
  }
  .hx-watch {
    padding-right: 20px;
    font-size: 0.9375rem;
  }
}

/* ============================================================
   Home 2. What members receive
   ============================================================ */

.rcv {
  background:
    radial-gradient(60% 34% at 88% 4%, rgb(226 162 74 / 0.07), transparent 70%),
    radial-gradient(50% 30% at 0% 46%, rgb(72 96 160 / 0.16), transparent 70%),
    linear-gradient(180deg, #050b16 0%, #0a1220 14%, #0a1220 100%);
}
.rcv .sec-head .h2 {
  max-width: 20ch;
}
.xbs {
  display: grid;
  gap: clamp(72px, 10vw, 136px);
}
.xb {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 36px clamp(36px, 6vw, 88px);
  align-items: center;
}
.xb-flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.xb-flip .xb-copy {
  order: 2;
}
.xb-copy {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.xb-n {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e3a774;
}
.xb-n b {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #e2a24a;
}
.xb-h {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
  font-weight: 420;
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 17ch;
  text-wrap: balance;
}
.xb-p {
  max-width: 44ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.xb-when {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 7px 14px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.xb-when i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4cc38a;
  box-shadow: 0 0 0 3px rgb(76 195 138 / 0.2);
}
.xb-tiers {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 0.9688rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.xb-tiers li {
  display: grid;
  gap: 6px;
  justify-items: start;
}
/* The two watchlist pills look like the "All week, refreshed overnight" pill (Marc, 12 Nov): green dot for now, orange for later. */
.xb-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.xb-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4cc38a;
  box-shadow: 0 0 0 3px rgb(76 195 138 / 0.2);
}
.xb-tag.is-later i {
  background: #e2a24a;
  box-shadow: 0 0 0 3px rgb(226 162 74 / 0.2);
}
.xb-vis {
  position: relative;
  margin: 0;
  min-width: 0;
}

/* ---- Exhibit 1: the Monday Brief, read in five minutes (out of focus on purpose) ---- */

.v-brief {
  justify-self: center;
  width: min(100%, 430px);
  perspective: 1500px;
}
.vb-sheet {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #101b30, #0a1220) padding-box,
    var(--foil) border-box;
  box-shadow: 0 60px 90px -44px rgb(0 0 0 / 0.95), 0 0 80px -30px rgb(226 162 74 / 0.28);
  transform: rotateY(-10deg) rotateX(3deg);
  transition: transform 1.2s var(--ease);
}
.v-brief.is-live .vb-sheet {
  transform: rotateY(-5deg) rotateX(1.5deg);
}
.vb-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px 14px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a2a6b0;
}
.vb-time b {
  font-weight: 700;
  color: #f3efe8;
  font-variant-numeric: tabular-nums;
}
.vb-meter {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: rgb(255 255 255 / 0.08);
}
.vb-meter i {
  display: block;
  width: calc(var(--p, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, #b8733f, #f3d9a4);
}
.vb-view {
  position: relative;
  overflow: hidden;
}
.vb-page {
  display: block;
  width: 100%;
  height: auto;
  transform: translate3d(0, calc(var(--p, 0) * var(--travel, 0px)), 0);
  transition: opacity 0.5s ease;
}
.v-brief.is-turning .vb-page {
  opacity: 0;
}
.vb-fade {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgb(10 18 32 / 0), rgb(10 18 32 / 0.92) 78%);
  pointer-events: none;
}
.vb-pin,
.vb-lock {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.vb-pin svg,
.vb-lock svg {
  width: 13px;
  height: 13px;
}
.vb-pin {
  right: 12px;
  background: #f3efe8;
  color: #1a1f2e;
  box-shadow: 0 10px 22px -10px rgb(0 0 0 / 0.9);
  opacity: 0;
  transform: translateX(14px) scale(0.92);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.vb-pin svg {
  color: #b8733f;
}
.vb-pin.is-on {
  opacity: 1;
  transform: none;
}
.vb-p1 { top: 27%; }
.vb-p2 { top: 47%; }
.vb-p3 { top: 67%; }
.vb-lock {
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  border: 1px solid rgb(226 162 74 / 0.45);
  background: rgb(10 18 32 / 0.9);
  color: #e8cdae;
}
.vb-toast {
  position: absolute;
  left: -26px;
  top: -22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: rgb(24 36 60 / 0.94);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 26px 40px -20px rgb(0 0 0 / 0.9);
  color: #f3efe8;
  opacity: 0;
  transform: translateY(-16px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.vb-toast.is-on {
  opacity: 1;
  transform: none;
}
.vb-toast svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 9px;
  background: #e2a24a;
  color: #1a1f2e;
}
.vb-toast span {
  display: grid;
  font-size: 0.8125rem;
  line-height: 1.3;
}
.vb-toast small {
  font-size: 0.75rem;
  color: #cfc9bf;
}

/* ---- Exhibit 2: three real screens, shuffled like a deck ---- */

.vd-stage {
  position: relative;
  aspect-ratio: 16 / 11.4;
}
.vd-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 86%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 12px;
  background: #0a1220;
  box-shadow: 0 40px 70px -36px rgb(0 0 0 / 0.95);
  transform-origin: 0 100%;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease), opacity 0.4s ease;
}
.vd-card img {
  display: block;
  width: 100%;
  height: auto;
}
.vd-card[data-pos='0'] {
  z-index: 3;
  border-color: rgb(226 162 74 / 0.5);
}
.vd-card[data-pos='1'] {
  z-index: 2;
  transform: translate(8.2%, -9.5%) scale(0.94);
  filter: brightness(0.6) saturate(0.8);
}
.vd-card[data-pos='2'] {
  z-index: 1;
  transform: translate(16.4%, -19%) scale(0.88);
  filter: brightness(0.38) saturate(0.7);
}
.vd-card.is-out {
  z-index: 4;
  opacity: 0;
  transform: translate(-7%, 9%) rotate(-4deg) scale(0.97);
}
.vd-card.is-snap {
  transition: none;
}
.vd-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.vd-tab {
  position: relative;
  display: grid;
  gap: 3px;
  justify-items: start;
  padding: 14px 4px 4px;
  border: 0;
  border-top: 2px solid rgb(255 255 255 / 0.12);
  background: none;
  color: #a2a6b0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}
.vd-tab b {
  font-size: 0.9688rem;
  font-weight: 750;
  color: #cfc9bf;
  transition: color 0.3s ease;
}
.vd-tab span {
  font-size: 0.8125rem;
}
.vd-tab i {
  position: absolute;
  left: 0;
  top: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8733f, #f3d9a4);
}
.vd-tab[aria-pressed='true'] b,
.vd-tab:hover b {
  color: #f3efe8;
}
.vd-tab[aria-pressed='true'] i {
  width: 100%;
}
.v-deck.is-auto .vd-tab[aria-pressed='true'] i {
  animation: vd-fill var(--vd-dur, 4s) linear both;
}
@keyframes vd-fill {
  from { width: 0; }
  to { width: 100%; }
}

/* ---- Exhibit 3: the watchlist, with a lens that visits what you follow ---- */

.vw-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 14px;
  background: #0a1220;
  box-shadow: 0 50px 80px -40px rgb(0 0 0 / 0.95);
}
.vw-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.vw-lens {
  position: absolute;
  left: var(--lx, 4%);
  top: var(--ly, 40%);
  width: var(--lw, 50%);
  height: var(--lh, 10%);
  border-radius: 10px;
  box-shadow: 0 0 0 1.5px #e2a24a, 0 0 26px 2px rgb(226 162 74 / 0.4);
  -webkit-backdrop-filter: brightness(2.1) saturate(1.1);
  backdrop-filter: brightness(2.1) saturate(1.1);
  opacity: 0;
  transition: left 0.9s var(--ease), top 0.9s var(--ease), width 0.9s var(--ease), height 0.9s var(--ease), opacity 0.6s ease;
  pointer-events: none;
}
/* The picture dims and the lens lifts its own patch back to full brightness. */
.vw-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(5 11 22 / 0.52);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.v-watch.is-live .vw-frame::after {
  opacity: 1;
}
.vw-lens {
  z-index: 1;
}
.v-watch.is-live .vw-lens {
  opacity: 1;
}
.vw-lens b {
  position: absolute;
  left: -1px;
  bottom: calc(100% + 8px);
  padding: 4px 10px;
  border-radius: 999px;
  background: #e2a24a;
  color: #1a1f2e;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.vw-lens.is-low b {
  top: calc(100% + 8px);
  bottom: auto;
}

@media (max-width: 900px) {
  .xb,
  .xb-flip {
    grid-template-columns: minmax(0, 1fr);
  }
  .xb-flip .xb-copy {
    order: 0;
  }
  .xb-h {
    max-width: 20ch;
  }
  .v-brief {
    width: min(100%, 380px);
    margin-top: 18px;
  }
  .vb-toast {
    left: -8px;
  }
}
@media (max-width: 520px) {
  .vd-tabs {
    gap: 8px;
  }
  .vd-tab span {
    display: none;
  }
  .vd-tab b {
    font-size: 0.8438rem;
  }
  .vb-sheet,
  .v-brief.is-live .vb-sheet {
    transform: none;
  }
  .vw-lens b {
    font-size: 0.625rem;
    padding: 3px 8px;
  }
}

/* ---- The Deal Signal teaser ---- */

.dst {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(72px, 10vw, 128px);
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid transparent;
  border-radius: 22px;
  background:
    radial-gradient(80% 120% at 100% 0%, rgb(226 162 74 / 0.12), transparent 60%) padding-box,
    linear-gradient(165deg, #13223f 0%, #0b1b36 60%, #071226 100%) padding-box,
    linear-gradient(135deg, rgb(226 162 74 / 0.6), rgb(255 255 255 / 0.1) 40%, rgb(226 162 74 / 0.35)) border-box;
}
.dst .kicker {
  margin-bottom: 8px;
}
.dst-h {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem);
  font-weight: 420;
  letter-spacing: -0.015em;
}
.dst-copy p:last-child {
  max-width: 58ch;
  color: var(--ink-2);
}
/* The teaser's picture (Marc, 12 Nov): a borrower's card (gold) on a lender's card (teal), in the cream tile of "Who it's for". The top
   card makes a small swipe, the green match tick pops, then it settles back. Hover lifts the tile like the Who tiles. */
.dst-tile {
  width: 150px;
  height: 108px;
  margin-bottom: 0;
  transform: rotate(-2deg);
}
.dsw-back,
.dsw-front,
.dsw-match {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.dsw-back {
  transform: rotate(6deg);
}
.dsw-front {
  transform: rotate(-4deg);
}
.dsw-amt {
  stroke: #e2a24a;
}
.dsw-match {
  transform-origin: center;
  transform: scale(0);
}
/* The swipe plays once when the box comes on screen and again on hover, then stops, like the Who tiles. It never loops: a running
   animation keeps the tilted tile as a pre-drawn picture and makes it look soft (Marc, 12 Nov). */
.motion .dst.is-in .dsw-front {
  animation: dsw-swipe 2.6s var(--ease) 0.9s;
}
.motion .dst.is-in .dsw-back {
  animation: dsw-rise 2.6s var(--ease) 0.9s;
}
.motion .dst.is-in .dsw-match {
  animation: dsw-pop 2.6s cubic-bezier(0.3, 1.6, 0.5, 1) 0.9s;
}
@media (hover: hover) {
  .motion .dst.is-in:hover .dsw-front {
    animation: dsw-swipe-again 2.6s var(--ease);
  }
  .motion .dst.is-in:hover .dsw-back {
    animation: dsw-rise-again 2.6s var(--ease);
  }
  .motion .dst.is-in:hover .dsw-match {
    animation: dsw-pop-again 2.6s cubic-bezier(0.3, 1.6, 0.5, 1);
  }
}
@keyframes dsw-swipe {
  0%, 100% { transform: rotate(-4deg); }
  35%, 65% { transform: translateX(9px) rotate(5deg); }
}
@keyframes dsw-swipe-again {
  0%, 100% { transform: rotate(-4deg); }
  35%, 65% { transform: translateX(9px) rotate(5deg); }
}
@keyframes dsw-rise {
  0%, 100% { transform: rotate(6deg); }
  35%, 65% { transform: rotate(2deg) translateY(-2px); }
}
@keyframes dsw-rise-again {
  0%, 100% { transform: rotate(6deg); }
  35%, 65% { transform: rotate(2deg) translateY(-2px); }
}
@keyframes dsw-pop {
  0%, 25%, 82%, 100% { transform: scale(0); }
  40%, 68% { transform: scale(1); }
}
@keyframes dsw-pop-again {
  0%, 25%, 82%, 100% { transform: scale(0); }
  40%, 68% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .dsw-match {
    transform: none;
  }
}
@media (hover: hover) {
  .dst:hover .dst-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);
  }
}
.dst-go {
  justify-self: end;
}
/* The copper outline button of the home page (Deal Signal teaser, the trust steps' link; Marc, 12 Nov). */
.btn-copper {
  border-color: #e2a24a;
  color: #e2a24a;
  background: rgb(226 162 74 / 0.08);
  box-shadow: 0 0 0 1px rgb(226 162 74 / 0.35) inset;
}
.btn-copper:hover {
  border-color: #e2a24a;
  color: #0a1220;
  background: #e2a24a;
}
@media (max-width: 960px) {
  .dst {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .dst-go {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 600px) {
  .dst {
    grid-template-columns: minmax(0, 1fr);
  }
  .dst-go {
    justify-self: stretch;
  }
}

/* ============================================================
   Home 4. Why members can trust it
   ============================================================ */

.tsteps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: none;
}
/* The path the edition takes, drawn through the four discs; a light runs along it. */
.tsteps::before,
.tsteps::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 30px;
  height: 2px;
  margin-top: -1px;
  pointer-events: none;
}
.tsteps::before {
  right: calc(25% - 45px);
  background: linear-gradient(90deg, rgb(255 255 255 / 0.16) 0%, rgb(255 255 255 / 0.16) 60%, rgb(226 162 74 / 0.7) 100%);
  transform-origin: 0 50%;
}
.tsteps::after {
  width: 70px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f3d9a4, transparent);
  opacity: 0;
}
.motion .tsteps::before {
  transform: scaleX(0);
  transition: transform 1.6s var(--ease) 0.2s;
}
.motion .tsteps.is-live::before {
  transform: scaleX(1);
}
.motion .tsteps.is-live::after {
  animation: ts-run 6s linear 1.6s infinite;
}
@keyframes ts-run {
  0% { left: 30px; opacity: 0; }
  6% { opacity: 1; }
  66% { opacity: 1; }
  72% { left: calc(75% - 20px); opacity: 0; }
  100% { left: calc(75% - 20px); opacity: 0; }
}
.ts {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
  padding-right: 12px;
}
.ts-disc {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
}
.ts-disc svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ts-person .ts-disc {
  border-color: transparent;
  background: linear-gradient(145deg, #f3d9a4, #e2a24a 50%, #b8733f);
  color: #1a1f2e;
  box-shadow: 0 0 0 6px rgb(226 162 74 / 0.14), 0 0 34px rgb(226 162 74 / 0.35);
}
.motion .tsteps.is-live .ts-disc {
  animation: ts-lit 6s ease-in-out 1.6s infinite;
}
.motion .tsteps.is-live .ts:nth-child(2) .ts-disc { animation-delay: 2.95s; }
.motion .tsteps.is-live .ts:nth-child(3) .ts-disc { animation-delay: 4.3s; }
.motion .tsteps.is-live .ts-person .ts-disc { animation: ts-seal 6s ease-in-out 5.6s infinite; }
@keyframes ts-lit {
  0%, 18%, 100% { border-color: var(--rule-2); box-shadow: none; }
  6% { border-color: #e2a24a; box-shadow: 0 0 0 5px rgb(226 162 74 / 0.16); }
}
@keyframes ts-seal {
  0%, 22%, 100% { transform: none; }
  8% { transform: scale(1.09); }
}
.ts-n {
  font-family: var(--display);
  font-size: 1.21875rem;
  letter-spacing: 0.1em;
  color: #e2a24a;
}
.ts-lane {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ts-person .ts-lane {
  color: #e8b877;
}
.ts p {
  max-width: 24ch;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.ts p b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 420;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.ts-more {
  margin-top: 30px;
}
@media (max-width: 860px) {
  .tsteps {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .tsteps::before {
    left: 30px;
    top: 30px;
    right: auto;
    bottom: 60px;
    width: 2px;
    height: auto;
    margin: 0 0 0 -1px;
    background: linear-gradient(180deg, rgb(255 255 255 / 0.16) 0%, rgb(255 255 255 / 0.16) 60%, rgb(226 162 74 / 0.7) 100%);
    transform-origin: 50% 0;
  }
  .motion .tsteps::before {
    transform: scaleY(0);
  }
  .motion .tsteps.is-live::before {
    transform: scaleY(1);
  }
  .tsteps::after {
    display: none;
  }
  .ts {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    padding-right: 0;
  }
  .ts-disc {
    grid-row: 1 / span 3;
    margin-bottom: 0;
  }
  .ts p {
    max-width: none;
  }
}

/* The founder: photograph, the note as a quotation, name and the Tredit logo. */
.founder {
  display: grid;
  grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
  margin-top: clamp(56px, 8vw, 96px);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(160deg, #142340 0%, #0d1a31 55%, #0a1426 100%) padding-box,
    linear-gradient(135deg, rgb(226 162 74 / 0.55), rgb(255 255 255 / 0.08) 38%, rgb(226 162 74 / 0.3)) border-box;
  box-shadow: 0 50px 80px -50px rgb(0 0 0 / 0.9);
}
.fd-photo {
  position: relative;
  margin: 0;
  min-height: 100%;
  background: #0d1d3c;
}
.fd-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}
.fd-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(13 26 49 / 0) 62%, rgb(16 30 56 / 0.92) 100%);
  pointer-events: none;
}
.fd-body {
  display: grid;
  gap: 22px;
  align-content: center;
  padding: clamp(28px, 4.4vw, 60px);
}
.fd-h {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e3a774;
}
.fd-quote {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.1875rem, 1.02rem + 0.6vw, 1.5rem);
  font-weight: 380;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: #f3efe8;
  max-width: 34em;
}
/* The opening mark sits on the first line, right before "Private" (Marc, 12 Nov), matching the closing mark. */
.fd-quote p:first-child::before {
  content: '\201C';
  display: inline-block;
  margin-right: 0.08em;
  font-size: 2.4em;
  line-height: 0;
  vertical-align: -0.42em;
  color: #b8733f;
}
.fd-quote p + p {
  margin-top: 0.8em;
}
/* The closing mark, in the opening mark's copper, right after the last word (Marc, 12 Nov). */
.fd-quote p:last-child::after {
  content: '\201D';
  display: inline-block;
  margin-left: 0.08em;
  font-size: 2.4em;
  line-height: 0;
  vertical-align: -0.42em;
  color: #b8733f;
}
.fd-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
.fd-who {
  display: grid;
  gap: 4px;
}
.fd-name {
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #f3efe8;
}
.fd-role {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8cdae;
}
.fd-tredit {
  display: inline-flex;
  padding: 6px 0;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.fd-tredit:hover {
  opacity: 1;
}
.fd-tredit img {
  display: block;
  width: auto;
  height: 34px;
}
@media (max-width: 760px) {
  .founder {
    grid-template-columns: minmax(0, 1fr);
  }
  .fd-photo {
    aspect-ratio: 5 / 4;
  }
  .fd-photo::after {
    background: linear-gradient(180deg, rgb(13 26 49 / 0) 66%, rgb(17 31 57 / 0.96) 100%);
  }
}

/* ============================================================
   Home 5. Founding Reader
   ============================================================ */

.founding-home {
  margin-top: 0;
}
.fr-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 480px) {
  .fr-ctas .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vb-sheet,
  .v-brief.is-live .vb-sheet {
    transform: none;
    transition: none;
  }
  .vd-card,
  .vw-lens,
  .vb-pin,
  .vb-toast {
    transition: none;
  }
}

/* The watchlist picture shows the top 1440 x 700 of the screenshot (the page footer below is cropped). */
.vw-frame {
  aspect-ratio: 1440 / 700;
}

/* The header stays solid navy over every section, light ones included (Marc, 12 Nov). */
.top,
.top.on-ink,
[data-theme='dark'] .top {
  background: var(--navy-2);
  border-bottom-color: rgb(255 255 255 / 0.06);
}

/* Footer, balanced (Marc, 12 Nov): the logo on the left; on the right the links in one wrapping row, then the legal text under a rule. */
.foot-grid {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.foot-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}
/* Two columns, filled top to bottom (Marc, 29 Nov): the site links on the left, Contact and Tredit on the right. */
.foot-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  justify-items: start;
  align-items: start;
  gap: 10px 72px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 560px) {
  .foot-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }
}
.foot-li {
  margin-top: 0;
}
.foot-legal {
  max-width: none;
}
@media (max-width: 960px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
}

/* The founder's name links to his LinkedIn profile (Marc, 12 Nov). */
.fd-li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.fd-li svg {
  width: 18px;
  height: 18px;
  color: #e2a24a;
  transition: transform 0.2s ease;
}
.fd-li:hover {
  text-decoration: underline;
  text-decoration-color: rgb(226 162 74 / 0.6);
  text-underline-offset: 4px;
}
.fd-li:hover svg {
  transform: translateY(-1px);
}

/* Phones and tablets (Marc, 12 Nov): the menu sits at the far right of the header, after Sign in and Join free. While the hero's own
   button is on screen the header's Join free is not just faded but taken out, so Sign in and the menu close up with no gap. */
@media (max-width: 1060px) {
  .top-menu {
    order: 10;
  }
  .top.hide-join .top-join {
    display: none;
  }
}
