@font-face {
  font-family: Geist;
  src: url('./assets/fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Geist;
  src: url('./assets/fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #050505;
  --text: #f4f7fb;
  --muted: #aeb8c3;
  --accent: #3547ff;
  /* Pariflow app surfaces (app/foundation.css dark theme). */
  --surface: #1a1e21;
  --surface-raised: #252a2e;
  --line: rgba(244,247,251,.075);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Keeps focused and linked targets clear of the fixed dock. */
  scroll-padding-bottom: 112px;
  background: var(--background);
  scrollbar-width: none;
}

/* The page scrolls without a visible native bar, as on SWSH. */
html::-webkit-scrollbar,body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Geist,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
  /* Keep panning and pinch zoom, without interpreting repeated taps as double-tap zoom. */
  touch-action: manipulation;
}

button,a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

summary { touch-action: manipulation; }

button {
  font: inherit;
  cursor: pointer;
}

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

button:disabled {
  cursor: default;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}

[hidden] {
  display: none!important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: 'SFMono-Regular',Consolas,'Liberation Mono',monospace;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -.025em;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 20;
  padding: 12px 16px;
  background: #fff;
  color: #050505;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: linear-gradient(#050505e8,#05050500);
}

.brand {
  width: 160px;
  flex-shrink: 0;
}












.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: 'SFMono-Regular',Consolas,'Liberation Mono',monospace;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* SWSH button: the pill shrinks slightly on hover while the label scrambles (reveal.js). */
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--button-fill,var(--accent));
  transition: scale 300ms cubic-bezier(.77,0,.175,1);
}

.button:hover::before {
  scale: .96;
}

.button:active::before {
  scale: .94;
}

.scramble-char {
  position: relative;
}

.scramble-char::before {
  content: attr(data-glyph);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  visibility: hidden;
}

.scramble-char[data-scrambling]::before {
  visibility: visible;
}

.button .scramble-char[data-scrambling] {
  color: var(--button-churn,#070c3d);
}

.button-small {
  padding: 0 24px;
}









/* Pinned for 276svh: SWSH's 325vh scroll sequence, released at 85%. */
.hero {
  position: relative;
  min-height: 720px;
  height: 376svh;
  isolation: isolate;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  background: var(--background);
}

.hero-scene {
  position: absolute;
  inset: 0;
}

.gallery-anchor {
  position: absolute;
  top: 276svh;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.art-field {
  --tags-top: 73%;
  --tags-left: calc(50% - 531px);
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom,#0005 0,#000 28%,#000 76%,#0008 100%);
  mask-image: linear-gradient(to bottom,#0005 0,#000 28%,#000 76%,#0008 100%);
}

/* Scroll sends each widget out through its nearest corner; the pointer pushes it via --push-x/y (hero.js). */
.art {
  position: absolute;
  opacity: calc(1 - var(--hero-exit,0));
  transform: translate3d(calc(var(--exit-x,0) * var(--hero-exit,0) * 60vw),calc(var(--exit-y,0) * var(--hero-exit,0) * 60vh),0);
  translate: var(--push-x,0px) var(--push-y,0px);
  will-change: transform,translate;
}

.widget {
  width: 100%;
  height: 100%;
}

.layer {
  translate: calc(var(--push-x,0px) * var(--layer,0)) calc(var(--push-y,0px) * var(--layer,0));
}

.art-photo-stack {
  top: 58px;
  left: calc(50% - 659px);
  width: 184px;
  height: 224px;
}

.art-photo-stack .widget {
  position: relative;
}

.photo-front {
  position: absolute;
  left: 26px;
  top: 4px;
  width: 140px;
  height: 184px;
  object-fit: cover;
  object-position: 61% 45%;
}

.photo-back {
  position: absolute;
  left: 0;
  top: 24px;
  width: 144px;
  height: 184px;
  object-fit: cover;
  object-position: 38% 50%;
  opacity: .85;
}

.disc {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--text);
  color: #090a0d;
}

.disc-dark {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.arrow-icon {
  display: block;
  width: 38%;
  height: 38%;
  fill: currentColor;
}

.arrow-northeast {
  transform: rotate(-55deg);
}

.arrow-east {
  transform: rotate(-15deg);
}

.arrow-southwest {
  transform: rotate(135deg);
}

.disc i {
  position: absolute;
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}

.disc i:nth-of-type(1) {
  top: 10%;
  left: 50%;
}

.disc i:nth-of-type(2) {
  bottom: 10%;
  left: 50%;
}

.disc i:nth-of-type(3) {
  left: 10%;
  top: 50%;
}

.disc i:nth-of-type(4) {
  right: 10%;
  top: 50%;
}

.art-arrow-top {
  top: 8px;
  left: calc(50% - 448px);
  width: 148px;
  height: 148px;
}

.art-arrow-left {
  top: 31%;
  left: calc(50% - 682px);
  width: 92px;
  height: 92px;
}

.art-award-disc {
  top: -188px;
  left: calc(50% + 143px);
  width: 442px;
  height: 442px;
}

.award-disc {
  position: relative;
  border-radius: 50%;
  clip-path: circle(50%);
  overflow: hidden;
  background: #10171c;
}

.award-disc img {
  position: absolute;
  top: 44%;
  left: 18%;
  width: 64%;
  height: 64%;
  object-fit: cover;
  mix-blend-mode: lighten;
}

.award-disc-label {
  position: absolute;
  top: 66%;
  left: 8%;
  width: 84%;
  color: #f5f5f5;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -1.5px;
  font-weight: 500;
  white-space: nowrap;
  transform: rotate(15deg);
  transform-origin: center;
  text-shadow: 0 2px 12px #0008;
}

.art-network-disc {
  top: 114px;
  left: calc(50% + 566px);
  width: 182px;
  height: 182px;
}

.network-disc {
  position: relative;
  border-radius: 50%;
  background: var(--surface);
  overflow: hidden;
}

.network-disc svg {
  width: 100%;
  height: 100%;
}

.network-disc span {
  position: absolute;
  top: 50%;
  left: 50%;
  white-space: nowrap;
  font-size: 8px;
  transform: translate(-50%,-50%) rotate(25deg);
}

.art-brand-card {
  top: 57%;
  left: calc(50% - 785px);
  width: 336px;
  height: 134px;
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px 32px 24px 82px;
  background: var(--accent);
}

.brand-card>.mono {
  font-size: 9px;
  color: #ffffffb3;
}

.brand-card strong {
  font-size: 34px;
  font-weight: 500;
  line-height: .94;
  letter-spacing: -1.5px;
  color: #fff;
}

.brand-card-dot {
  position: absolute;
  right: 20px;
  top: 12px;
  width: 3px;
  height: 3px;
  background: #ffffffb3;
  box-shadow: 6px 0 #ffffffb3,12px 0 #ffffffb3;
}

.art-orbit-disc {
  top: 72%;
  left: calc(50% - 831px);
  width: 330px;
  height: 330px;
}

.orbit-disc {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: #121518;
  box-shadow: inset 0 0 0 1px var(--line);
}

.orbit-disc svg {
  width: 100%;
  height: 100%;
}

.orbit-disc span {
  position: absolute;
  top: 52%;
  left: 124px;
  font-size: 11px;
  color: var(--muted);
  z-index: 1;
}

/* Three separate pills, each pushed on its own, as SWSH's member/comment/view pills. */
.art-tag {
  top: var(--tags-top);
  left: var(--tags-left);
}

.art-tag-apps {
  top: calc(var(--tags-top) + 33px);
  left: calc(var(--tags-left) + 36px);
}

.art-tag-brand {
  top: calc(var(--tags-top) + 66px);
  left: calc(var(--tags-left) + 56px);
}

.art-tag span {
  display: block;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text);
  font-size: 8px;
  white-space: nowrap;
}

.art-tag-apps span {
  background: var(--text);
  color: #0f1214;
}

.art-photo-disc {
  top: 84%;
  left: calc(50% - 470px);
  width: 222px;
  height: 222px;
}

.photo-disc {
  border-radius: 50%;
  clip-path: circle(50%);
  overflow: hidden;
  background: #28232b;
  position: relative;
  isolation: isolate;
}

.photo-disc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.art-photo-right {
  top: 49%;
  left: calc(50% + 615px);
  width: 140px;
  height: 166px;
}

.art-photo-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 50%;
}

/* Sits above the logo row, just left of the message bubble at every desktop width. */
.art-arrow-bottom {
  top: 70%;
  right: 292px;
  width: 102px;
  height: 102px;
}

.art-platform-tag {
  top: 83%;
  left: auto;
  right: 24px;
  width: 252px;
  height: auto;
}

.art-platform-tag .widget {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 12px 12px 12px 0;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font-size: 11px;
  line-height: 1.4;
}

.art-desktop-card {
  top: 92%;
  left: calc(50% + 397px);
  width: 330px;
  height: 230px;
}

.art-desktop-card img {
  width: 330px;
  opacity: .5;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: max-content;
  max-width: calc(100% - 48px);
  text-align: center;
  transform: translate(-50%,-50%);
}

.hero-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0 auto 16px;
  padding: 4px 16px;
  background: #111;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  opacity: calc(1 - var(--announcement-exit,0));
  transform: translateY(calc(var(--announcement-exit,0) * -1.5rem));
}

.hero-announcement button {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
}

.hero-announcement button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 80px;
  font-weight: 500;
  line-height: .92;
  letter-spacing: -4.5px;
}

/* Scroll: the first line lifts away, the second centres, then its words part around the opening mosaic. */
.headline-first {
  display: block;
  white-space: nowrap;
  opacity: calc(1 - var(--line-exit,0));
  transform: translateY(calc(var(--line-exit,0) * -.5em));
}

.headline-second {
  display: block;
  white-space: nowrap;
  transform: translateY(var(--line-center,0px));
}

/* Intro: SWSH's whole-line block wipe (hero.js). */
.headline-reveal {
  position: relative;
  display: inline-block;
}

.headline-text {
  display: block;
}

.headline-block,.reveal-block {
  position: absolute;
  inset: -.15em;
  background: var(--text);
  clip-path: inset(0 0 0 100%);
  pointer-events: none;
}

.headline-word {
  display: inline-block;
  will-change: transform;
}

.headline-word:first-child {
  transform: translateX(calc(var(--separate,0) * -60vw));
}

.headline-word:last-child {
  transform: translateX(calc(var(--separate,0) * 60vw));
}

.hero-cta {
  margin-top: 48px;
  opacity: calc(1 - var(--cta-exit,0));
  transform: translateY(calc(var(--cta-exit,0) * 1.5rem));
}

.trust-strip {
  position: absolute;
  z-index: 2;
  /* Clears the dock fixed at the bottom of the screen. */
  bottom: 112px;
  left: 50%;
  width: 680px;
  max-width: calc(100% - 48px);
  transform: translate(-50%,calc(var(--logos-exit,0) * 1.5rem));
  text-align: center;
  opacity: calc(1 - var(--logos-exit,0));
}

/* Hidden until hero.js starts the entrance; shown anyway if the script never runs. */
@media(prefers-reduced-motion:no-preference) {
  .js-intro .hero-announcement,.js-intro .headline-text,.js-intro .hero-cta,
  .js-intro .trust-strip,.js-intro .art .widget {
    opacity: 0;
    animation: intro-failsafe 1ms 4s forwards;
  }
}

@keyframes intro-failsafe {
  to {
    opacity: 1;
  }
}

/* Section headings, split into lines by reveal.js. */
.reveal-line {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.reveal-line-text {
  display: inline-block;
}

.trust-strip p {
  margin: 0 0 26px;
  color: #aaa;
  font-size: 11px;
}

.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  min-height: 44px;
}

.trust-strip img {
  width: auto;
  height: 28px;
  max-width: 176px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .86;
}

.trust-strip .trust-logo-awards { height: 52px; }
.trust-strip .trust-logo-finance { height: 36px; }
.trust-strip .trust-logo-investing { height: 18px; }

/* Market categories stand in for the press logos until real ones are supplied. */
.trust-strip .trust-word {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
  white-space: nowrap;
  opacity: .86;
}

/* Second set of logos only fills the mobile marquee. */
.trust-strip .trust-repeat {
  display: none;
}

@keyframes logo-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* SWSH BentoReveal: a centred window opens while the zoomed terminal settles into the grid. */
.hero-mosaic {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  clip-path: inset(var(--mosaic-inset,50%));
  pointer-events: none;
}

.hero-mosaic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(#0505058c,transparent 24%,transparent 84%,#05050526);
}

.gallery-grid {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  /* Proportions of the supplied Pariflow collage (1655px wide, 18px gaps), so tiles keep their aspect. */
  grid-template-columns: 258fr 543fr 542fr 258fr;
  grid-template-rows: 307fr 648fr;
  grid-template-areas:
    'left top-left top-right right'
    'left main main right';
  gap: 1.08vw;
  width: 99vw;
  height: 58.2vw;
  transform: translate(-50%,-50%) scale(var(--gallery-scale,1));
  will-change: transform;
}

.gallery-side {
  display: grid;
  min-width: 0;
  min-height: 0;
  gap: inherit;
}

.gallery-side-left {
  grid-area: left;
  grid-template-rows: 326fr 452fr 129fr;
  grid-template-areas: 'left-top' 'left-middle' 'left-bottom';
}

.gallery-side-right {
  grid-area: right;
  grid-template-rows: 322fr 311fr 267fr;
  grid-template-areas: 'right-top' 'right-middle' 'right-bottom';
}

.gallery-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(12px,1vw,20px);
  background: #111;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.gallery-main {
  grid-area: main;
}

.gallery-left-top { grid-area: left-top; }
.gallery-left-middle { grid-area: left-middle; }
.gallery-left-bottom { grid-area: left-bottom; }
.gallery-top-left { grid-area: top-left; }
.gallery-top-right { grid-area: top-right; }
.gallery-right-top { grid-area: right-top; }
.gallery-right-middle { grid-area: right-middle; }
.gallery-right-bottom { grid-area: right-bottom; }

.technology {
  min-height: 100svh;
  padding: 128px 24px 144px;
  scroll-margin-top: 72px;
}

.technology-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 64px;
}

.section-eyebrow {
  color: var(--muted);
  margin: 0 0 24px;
}

.technology h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(44px,4.2vw,64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.technology-intro > p {
  max-width: 360px;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.5;
}

.technology-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.carousel-controls {
  display: flex;
  gap: 12px;
}

.carousel-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  transition: background 180ms,color 180ms;
}

.carousel-control svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.carousel-control:hover:not(:disabled) {
  background: var(--surface-raised);
  color: #fff;
}

.carousel-control:disabled {
  opacity: .3;
  cursor: default;
}

.technology-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.technology-cards::-webkit-scrollbar {
  display: none;
}

.technology-cards:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 8px;
}

.technology-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 256px;
  padding: 16px;
  background: #111;
  border-radius: 24px;
  scroll-snap-align: start;
}

.technology-card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.technology-icon {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  color: #fff;
  background: var(--surface-raised);
  border-radius: 50%;
}

.technology-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.technology h3 {
  margin: 0;
  font-size: clamp(22px,2vw,30px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.035em;
}

.technology-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 48px 0 0;
}

.technology-stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  min-height: 88px;
  padding: 12px;
  border-radius: 12px;
  background: #222;
}

.technology-stats dt {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.35;
  color: #b8b8b8;
}

.technology-stats dd {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.04em;
}

.technology-stats-text dd {
  font-size: clamp(18px,1.5vw,24px);
  line-height: 1.15;
  letter-spacing: -.03em;
}

@media(max-width:1000px) {
  .technology {
    min-height: 0;
    padding: 96px 24px;
  }
  .technology-heading {
    gap: 32px;
    margin-bottom: 48px;
  }
  .technology h2 {
    font-size: 44px;
  }
  .technology-cards {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
  .technology-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
  .technology h3 {
    font-size: 24px;
  }
}

@media(max-width:600px) {
  .technology {
    padding: 56px 16px 56px;
  }
  .technology-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
  .section-eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
  }
  .technology h2 {
    max-width: 430px;
    font-size: clamp(36px,9.5vw,48px);
  }
  .technology-intro > p {
    max-width: 100%;
    margin-bottom: 24px;
  }
  .technology-cards {
    grid-auto-columns: 90%;
    gap: 12px;
  }
  .technology-card {
    min-height: 240px;
  }
  .technology-card-heading {
    gap: 12px;
  }
  .technology h3 {
    font-size: 24px;
  }
  .technology-stats dd {
    font-size: 30px;
  }
  .technology-stats-text dd {
    font-size: 20px;
  }
}

/* Industries composition: a manually controlled wheel over a shared photograph. */
.components-stage {
  position: relative;
  min-height: 760px;
  height: 100svh;
  overflow: clip;
  isolation: isolate;
}

.components-anchor {
  position: absolute;
  top: 0;
}

.components-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.components-backdrop-inner,.component-preview-inner {
  position: absolute;
  inset: 0;
}

.components-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 220ms ease-out;
}

.components-image.is-active {
  opacity: 1;
}

.components-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.components-backdrop img {
  transform: scale(1.3);
}

.components-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  /* The Pariflow photos carry busy UI; darken the left column where the heading and copy sit. */
  background: linear-gradient(90deg,#040404d9,#04040499 45%);
}

.components-heading {
  position: absolute;
  top: 96px;
  left: 16px;
}

.components h2 {
  margin: 0;
  font-size: clamp(48px,4.167vw,72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

/* SWSH WordReveal: 900ms rise per word, 15ms apart; the padding keeps descenders inside the mask. */
.component-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-block: -.2em;
  padding-block: .2em;
}

.component-word > span {
  display: block;
}

.components.is-enhanced .component-word > span {
  transform: translateY(135%);
  transition: transform 900ms cubic-bezier(.77,0,.175,1);
}

.components.is-revealed .component-word > span {
  transform: translateY(0);
}

.component-word:nth-of-type(2) > span { transition-delay: 15ms; }
.component-word:nth-of-type(3) > span { transition-delay: 30ms; }
.component-word:nth-of-type(4) > span { transition-delay: 45ms; }

.component-preview {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(256px,24.445vw,352px);
  aspect-ratio: 8 / 5;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #161616;
  transform: translate(-50%,-50%);
}

.component-preview img {
  transform: scale(1.35);
}

.components-intro {
  position: absolute;
  bottom: 48px;
  left: 16px;
  max-width: 352px;
}

.components-intro p {
  min-height: 96px;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.5;
  color: #eee;
}

.component-partners {
  position: relative;
  height: 104px;
}

.component-logos {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease-out,visibility 0s 220ms;
}

.component-logos.is-active,
.components:not(.is-enhanced) .component-logos:not([hidden]) {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.component-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.component-logos img {
  width: auto;
  height: 44px;
  max-width: none;
}

.component-platforms { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.component-platforms li { flex-direction: column; gap: 6px; height: 84px; color: #efefef; }
.component-platforms .platform-icons { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; }
.component-platforms img { width: 40px; height: 40px; object-fit: contain; }
.component-platforms span { font-size: 13px; line-height: 18px; }
.component-platforms abbr { text-decoration: none; }

.components-selector {
  position: absolute;
  top: 0;
  right: -2%;
  bottom: 0;
  width: 38%;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.components-selector[data-dragging] .component-choice {
  cursor: grabbing;
}

.components-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.components.is-enhanced .components-list {
  display: block;
  position: absolute;
  inset: 0;
}

.components.is-enhanced .components-list > li {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate3d(var(--component-x,0px),calc(-50% + var(--component-y,0px)),0);
  will-change: transform;
}

.component-choice {
  display: block;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a5a5a5;
  opacity: .55;
  font-size: clamp(30px,3.055vw,52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.04em;
  text-align: left;
  white-space: nowrap;
  cursor: grab;
  transition: color 300ms cubic-bezier(.77,0,.175,1),opacity 300ms cubic-bezier(.77,0,.175,1);
}

.component-choice:focus-visible,.component-choice.is-active,
.components:not(.is-enhanced) .component-choice[aria-pressed="true"] {
  color: #efefef;
  opacity: 1;
}

@media(hover:hover) {
  .component-choice:hover { color: #efefef; opacity: 1; }
}

@media(max-width:1023px) {
  .components-stage {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: calc(50svh + 48px) 16px 48px;
  }
  .components-backdrop {
    height: 50svh;
    bottom: auto;
  }
  .components-backdrop::after {
    background: linear-gradient(transparent 60%,#050505),#040404b3;
  }
  [data-component-backdrop="platform"] img {
    object-position: 68% center;
  }
  [data-component-backdrop="billing"] img {
    object-position: 60% center;
  }
  [data-component-backdrop="sales"] img {
    object-position: 62% center;
  }
  .components-heading,.components-intro {
    position: static;
    transform: none;
  }
  .components h2 {
    font-size: clamp(36px,5vw,52px);
  }
  .component-preview {
    display: none;
  }
  .components-intro {
    max-width: 440px;
  }
  .components-intro p {
    min-height: 96px;
  }
  .components-selector {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 50svh;
    overflow: clip;
    cursor: default;
  }
  .components.is-enhanced .components-selector {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
  }
  .components-selector::-webkit-scrollbar { display: none; }
  .components.is-enhanced .components-list {
    position: static;
    display: flex;
    height: auto;
    gap: 0;
    padding-block: calc((50svh - 50.4px) / 2);
  }
  .components.is-enhanced .components-list > li {
    position: static;
    flex: 0 0 50.4px;
    display: grid;
    place-items: center;
    height: 50.4px;
    scroll-snap-align: center;
    transform: none;
    will-change: auto;
  }
  .component-choice {
    font-size: clamp(20px,5.8vw,36px);
    text-align: center;
    cursor: pointer;
  }
  .components:not(.is-enhanced) .components-list {
    align-items: center;
    gap: 8px;
  }
}

@media(max-width:600px) {
  .components-stage { padding-bottom: 24px; }
}

@media(max-width:380px) {
  .component-logos {
    gap: 6px;
  }
  .component-logos img {
    height: 38px;
  }
  .component-platforms img {
    width: 34px;
    height: 34px;
  }
}

@media(max-width:340px) {
  .site-header .brand {
    width: 116px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .components-image,.component-logos,.component-choice { transition: none; }
  .components.is-enhanced .component-word > span {
    transform: none;
    transition: none;
  }
}

body.dialog-open {
  overflow: hidden;
}

@media(min-width:1600px) {
  .art-field {
    --tags-left: 13%;
  }
  .art-photo-stack {
    left: 4.2%;
  }
  .art-arrow-top {
    left: 19%;
  }
  .art-arrow-left {
    left: 2.6%;
  }
  .art-award-disc {
    left: auto;
    right: 9.4%;
  }
  .art-network-disc {
    left: auto;
    right: -2%;
  }
  .art-brand-card {
    left: -4.5%;
  }
  .art-orbit-disc {
    left: -7.7%;
  }
  .art-photo-disc {
    left: 17.4%;
  }
  .art-photo-right {
    left: auto;
    right: -1.9%;
  }
  .art-arrow-bottom {
    right: 18.4%;
  }
  .art-platform-tag {
    left: auto;
    right: 24px;
  }
  .art-desktop-card {
    left: auto;
    right: -.5%;
  }
}

@media(max-width:1100px) {
  .header-actions {
    gap: 12px;
  }
  .hero-copy h1 {
    font-size: 72px;
    letter-spacing: -4px;
  }
  .art-award-disc {
    left: auto;
    right: 2%;
    width: 350px;
    height: 350px;
    top: -144px;
  }
  .award-disc-label {
    font-size: 34px;
  }
  .art-photo-stack {
    left: 20px;
    width: 144px;
    top: 86px;
  }
  .photo-front {
    width: 108px;
    height: 148px;
  }
  .photo-back {
    width: 112px;
    height: 148px;
  }
  .art-arrow-top {
    left: 192px;
    width: 108px;
    height: 108px;
  }
  .art-arrow-left {
    left: 12px;
    width: 72px;
    height: 72px;
  }
  .art-brand-card {
    left: -110px;
    width: 290px;
  }
  .art-orbit-disc {
    left: -150px;
  }
  .art-field {
    --tags-left: 130px;
    --tags-top: 78%;
  }
  .art-photo-disc {
    left: 156px;
    width: 160px;
    height: 160px;
    top: 87%;
  }
  .art-photo-right {
    left: auto;
    right: -58px;
    width: 116px;
  }
  .art-arrow-bottom {
    right: 288px;
    width: 84px;
    height: 84px;
    top: 66%;
  }
  .art-platform-tag {
    left: auto;
    right: 24px;
  }
  .art-desktop-card {
    left: auto;
    right: -60px;
    top: 91%;
    width: 230px;
  }
}

@media(max-width:900px) {
  .site-header {
    padding: 0 16px;
  }
  .brand {
    width: 152px;
  }
  .hero {
    height: auto;
    min-height: 0;
  }
  .hero-stage {
    position: relative;
    min-height: 0;
    height: auto;
  }
  .hero-scene {
    position: relative;
    min-height: 760px;
    height: 100svh;
    overflow: hidden;
  }
  .gallery-anchor {
    top: max(100svh,760px);
  }
  .hero-mosaic {
    position: relative;
    inset: auto;
    height: 58.2vw;
    clip-path: none;
  }
  .gallery-grid {
    height: 100%;
    transform: translate(-50%,-50%);
    will-change: auto;
    gap: 16px;
  }
  .gallery-tile {
    border-radius: 20px;
  }
  .hero-copy h1 {
    font-size: clamp(54px,8.5vw,64px);
    letter-spacing: -3.6px;
  }
  .hero-copy {
    top: 42%;
  }
  .hero-announcement {
    font-size: 12px;
    gap: 8px;
    padding: 4px 12px;
  }
  .hero-announcement button {
    font-size: 12px;
  }
  .trust-strip {
    bottom: 128px;
    width: 580px;
  }
  .trust-strip ul {
    gap: 32px;
  }
  .trust-strip img {
    height: 24px;
    max-width: 122px;
  }
  .trust-strip .trust-logo-awards { height: 44px; }
  .trust-strip .trust-logo-finance { height: 32px; }
  .trust-strip .trust-logo-investing { height: 16px; max-width: 152px; }
  .art-photo-stack {
    left: 24px;
    top: 100px;
    opacity: .6;
  }
  .art-arrow-top {
    top: 84px;
    left: 196px;
    width: 84px;
    height: 84px;
  }
  .art-arrow-left {
    display: none;
  }
  .art-award-disc {
    right: -40px;
    width: 280px;
    height: 280px;
    top: -100px;
  }
  .award-disc-label {
    font-size: 27px;
  }
  .art-network-disc {
    right: -66px;
    left: auto;
    top: 28%;
    width: 140px;
    height: 140px;
  }
  .art-brand-card {
    top: 64%;
    left: -112px;
  }
  .art-orbit-disc {
    top: 75%;
    width: 270px;
    height: 270px;
    left: -126px;
  }
  .orbit-disc span {
    left: 132px;
    font-size: 9px;
  }
  .art-field {
    --tags-top: 78%;
    --tags-left: 126px;
  }
  .art-photo-disc {
    top: 70%;
    left: auto;
    right: 44px;
    width: 190px;
    height: 190px;
  }
  .art-photo-right,.art-arrow-bottom,.art-desktop-card {
    display: none;
  }
  .art-platform-tag {
    top: 68%;
    right: 16px;
  }
}

@media(max-width:600px) {
  .site-header {
    height: 72px;
    padding: 0 16px;
  }
  .brand {
    width: 136px;
  }
  .header-actions {
    gap: 10px;
  }
  .button-small {
    font-size: 10px;
    padding: 0 18px;
    min-height: 44px;
  }
  /* SWSH mobile hero: copy and logos first, then a 390x500 widget stage scaled to the screen width. */
  .hero-scene {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    padding-top: 112px;
  }
  .gallery-anchor,.hero-mosaic {
    display: none;
  }
  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    margin: 0 16px;
    transform: none;
  }
  .hero-copy h1 {
    font-size: clamp(26px,8.6vw,54px);
    letter-spacing: -1.6px;
    line-height: .98;
  }
  .hero-announcement {
    width: max-content;
    margin-bottom: 24px;
    font-size: 11px;
    min-height: 36px;
    padding: 8px 12px;
  }
  .hero-announcement button {
    display: none;
  }
  .hero-cta {
    margin-top: 24px;
    min-height: 44px;
    padding: 0 26px;
    font-size: 11px;
  }
  .trust-strip {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    max-width: none;
    margin-top: 48px;
    overflow: hidden;
    transform: none;
  }
  .trust-strip p {
    font-size: 9px;
    margin-bottom: 16px;
    letter-spacing: 0;
  }
  /* Logos run as a marquee, as SWSH's mobile logo row. */
  .trust-strip ul {
    justify-content: flex-start;
    gap: 0;
    width: max-content;
    min-height: 56px;
    -webkit-mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
    mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
    animation: logo-marquee 24s linear infinite;
  }
  .trust-strip li,.trust-strip .trust-repeat {
    display: flex;
    padding: 0 20px;
  }
  .trust-strip img {
    height: 24px;
    max-width: 140px;
  }
  .trust-strip .trust-logo-awards { height: 40px; }
  .trust-strip .trust-logo-finance { height: 32px; }
  .trust-strip .trust-logo-investing { height: 16px; max-width: 140px; }
  .art-field {
    --u: calc(100vw / 390);
    position: relative;
    inset: auto;
    order: 2;
    height: calc(500 * var(--u));
    margin-top: 40px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .art-photo-stack,.art-arrow-top,.art-arrow-left,.art-brand-card,.art-tag,.art-photo-right,.art-desktop-card {
    display: none;
  }
  .art-award-disc {
    top: calc(28 * var(--u));
    left: calc(-27 * var(--u));
    right: auto;
    width: calc(213 * var(--u));
    height: calc(213 * var(--u));
  }
  .award-disc-label {
    left: 17%;
    width: 72%;
    font-size: calc(18 * var(--u));
    letter-spacing: -.5px;
  }
  .art-network-disc {
    top: calc(170 * var(--u));
    left: calc(171 * var(--u));
    right: auto;
    width: calc(105 * var(--u));
    height: calc(105 * var(--u));
  }
  .art-network-disc span {
    font-size: 6px;
  }
  .art-arrow-bottom {
    display: block;
    top: calc(122 * var(--u));
    left: calc(286 * var(--u));
    right: auto;
    width: calc(105 * var(--u));
    height: calc(105 * var(--u));
  }
  .art-arrow-bottom .arrow-icon {
    transform: rotate(-135deg);
  }
  .art-orbit-disc {
    top: calc(263 * var(--u));
    left: calc(16 * var(--u));
    width: calc(187 * var(--u));
    height: calc(187 * var(--u));
  }
  .art-orbit-disc span {
    top: 50%;
    left: 50%;
    font-size: 8px;
    transform: translate(-50%,-50%);
  }
  .art-photo-disc {
    top: calc(238 * var(--u));
    left: calc(233 * var(--u));
    right: auto;
    width: calc(256 * var(--u));
    height: calc(256 * var(--u));
  }
  .art-platform-tag {
    top: 0;
    left: auto;
    right: 16px;
    width: calc(190 * var(--u));
    height: auto;
  }
  .art-platform-tag .widget {
    font-size: 9px;
    padding: 12px;
  }
}

.monetize {
  padding: 128px 16px 96px;
  scroll-margin-top: 72px;
}

.monetize-scene {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 96px;
  overflow: clip;
  border-radius: 24px;
  background: linear-gradient(180deg,#050505 0%,#0b0e10 48%,#15191c 100%);
}

.monetize-heading {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(100% - 32px);
  text-align: center;
}

.monetize-lockup {
  width: 152px;
  margin-bottom: 24px;
}

.monetize h2 {
  margin: 0;
  font-size: clamp(48px,4.167vw,80px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
  text-wrap: balance;
}

.monetize-heading > .button {
  margin-top: 48px;
}

.monetize-phones {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  margin-top: 64px;
  margin-bottom: -128px;
}

.monetize-phone {
  flex: 0 0 auto;
  width: clamp(224px,23.06vw,520px);
  margin: 0;
}

.monetize-phone-center {
  margin-bottom: 96px;
}

.monetize-phone-motion {
  transform: translate3d(0,var(--monetize-side-y,0px),0);
}

.monetize-phone-center .monetize-phone-motion {
  transform: translate3d(0,var(--monetize-center-y,0px),0);
}

.monetize-phone img {
  width: 100%;
}

.monetize-badges {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: 0;
  pointer-events: none;
}

.monetize-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: clamp(128px,9.5vw,144px);
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 16px;
  background: #222;
  text-align: center;
}

.monetize-badge dt {
  order: 1;
  max-width: 120px;
  font-size: 12px;
  line-height: 1.25;
}

.monetize-badge dd {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: calc(clamp(28px,2.5vw,40px) + 16px);
  margin: 0;
  font-size: clamp(28px,2.5vw,40px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
}

.monetize-metric-prefix {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

.monetize-badge-deposits {
  top: 34%;
  left: 6%;
  transform: translate3d(0,var(--monetize-badge-one-y,0px),0);
}

.monetize-badge-reactivation {
  top: 58%;
  left: 3%;
  transform: translate3d(0,var(--monetize-badge-two-y,0px),0);
}

.monetize-badge-conversion {
  top: 44%;
  right: 4%;
  transform: translate3d(0,var(--monetize-badge-three-y,0px),0);
}

.monetize-features {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 16px;
}

.monetize-feature {
  position: relative;
  isolation: isolate;
  min-height: 168px;
  padding: 24px 72px 24px 24px;
  border-radius: 16px;
}

/* SWSH feature card: the surface grows 3% and the arrow swaps diagonally on hover. */
.monetize-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #111;
  transition: scale 300ms cubic-bezier(.77,0,.175,1);
}

.monetize-feature h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.monetize-feature p {
  max-width: 320px;
  margin: 0;
  color: #a2a2a2;
  font-size: 16px;
  line-height: 1.4;
}

.monetize-feature-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--text);
}

.monetize-feature-arrow svg {
  position: absolute;
  inset: 0;
  width: 28px;
  height: 28px;
  margin: auto;
  fill: #050505;
  transform: rotate(-45deg);
  transition: translate 600ms cubic-bezier(.77,0,.175,1);
}

.monetize-feature-arrow svg:last-child {
  translate: -150% 150%;
}

@media(hover:hover) and (pointer:fine) {
  .monetize-feature:hover::before {
    scale: 1.03;
  }
  .monetize-feature:hover .monetize-feature-arrow svg:first-child {
    translate: 150% -150%;
  }
  .monetize-feature:hover .monetize-feature-arrow svg:last-child {
    translate: 0 0;
  }
}

@media(max-width:1023px) {
  .monetize {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .monetize-scene {
    padding-top: 64px;
  }
  .monetize h2 {
    font-size: clamp(32px,4.6vw,48px);
  }
  .monetize-heading > .button {
    margin-top: 32px;
  }
  .monetize-phones {
    align-self: stretch;
    margin-top: 48px;
    margin-bottom: 0;
    overflow: clip;
  }
  .monetize-phone {
    width: clamp(162px,25vw,224px);
  }
  .monetize-phone-center {
    margin-bottom: 0;
  }
  .monetize-phone:not(.monetize-phone-center) img {
    transform: translateY(18%);
  }
  .monetize-badges {
    position: relative;
    inset: auto;
    order: 1;
    display: flex;
    gap: 16px;
    align-self: center;
    width: min(100%,480px);
    margin-top: -64px;
    margin-bottom: 48px;
    padding: 0 16px;
  }
  .monetize-badge {
    position: static;
    flex: 1;
    min-width: 0;
    width: auto;
    min-height: 128px;
    gap: 8px;
    padding: 12px 8px;
    transform: none;
    box-shadow: 0 12px 32px #0005;
  }
  .monetize-badge dt { font-size: 12px; }
  .monetize-badge dd {
    min-height: calc(clamp(24px,4vw,40px) + 16px);
    font-size: clamp(24px,4vw,40px);
  }
  .monetize-metric-prefix { font-size: 12px; }
  .monetize-features { grid-template-columns: 1fr; }
  .monetize-feature { min-height: 140px; }
}

@media(max-width:600px) {
  .monetize { padding-top: 16px; padding-bottom: 40px; }
  .monetize-scene { padding-top: 40px; }
  .monetize-lockup { width: 132px; margin-bottom: 16px; }
  .monetize-heading { max-width: calc(100% - 24px); }
  .monetize h2 { font-size: clamp(26px,7.3vw,40px); }
  .monetize-badges { gap: 8px; padding: 0 12px; }
  .monetize-badge { border-radius: 16px; }
  .monetize-feature { padding: 24px 72px 24px 24px; }
  .monetize-feature h3 { font-size: 20px; }
  .monetize-feature p { font-size: 14px; }
}

@media(prefers-reduced-motion:reduce) {
  .monetize-phone-motion,.monetize-badge {
    transform: none!important;
  }
}

.trader-experience {
  padding: 32px 16px 96px;
  scroll-margin-top: 72px;
}

.trader-experience-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 600px;
  aspect-ratio: 2 / 1;
  overflow: clip;
  border-radius: 24px;
  background: #121214;
}

.trader-experience-visual {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.trader-experience-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The Pariflow render sits devices high; keep the tablet clear of the two-line heading. */
  object-position: 50% 20%;
}

.trader-experience-copy {
  position: absolute;
  top: 48px;
  left: 48px;
  max-width: calc(100% - 96px);
}

.trader-experience h2 {
  margin: 0;
  font-size: clamp(48px,4vw,72px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.trader-experience h2,.trader-experience h2 .reveal-line-text {
  text-decoration-line: underline;
  text-decoration-color: #f4f7fb59;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  text-decoration-skip-ink: none;
}

.trader-experience-copy p {
  max-width: 448px;
  margin: 24px 0 0;
  color: #b9b9bd;
  font-size: 16px;
  line-height: 1.5;
}

.trader-tools-panel {
  position: absolute;
  right: 40px;
  bottom: 80px;
  width: max(31%,384px);
  padding-top: 24px;
  border-top: 1px solid #ffffff29;
}

.trader-tools {
  display: grid;
  grid-template-columns: repeat(3,max-content);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trader-tools li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(14px,1.111vw,16px);
  line-height: 1.5;
}

.trader-tools li:nth-child(2) { grid-column: 2 / 4; }
.trader-tools li:nth-child(7) { grid-column: 2 / 4; }
.trader-tools li:nth-child(8) { grid-column: 1 / 4; }

.trader-tools svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #10b981;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trader-experience-copy p,.trader-tools-panel {
  transition: opacity 250ms ease-out,transform 250ms ease-out;
}

.trader-tools-panel {
  transition-delay: 80ms;
}

.trader-experience.has-entrance:not(.is-visible) .trader-experience-copy p,
.trader-experience.has-entrance:not(.is-visible) .trader-tools-panel {
  opacity: 0;
  transform: translateY(16px);
}

@media(max-width:1199px) {
  .trader-experience-stage {
    display: grid;
    grid-template-areas: 'copy' 'visual' 'tools';
    min-height: 0;
    aspect-ratio: auto;
  }
  .trader-experience-copy {
    position: relative;
    grid-area: copy;
    inset: auto;
    max-width: none;
    padding: 40px 40px 0;
  }
  .trader-experience h2 {
    font-size: clamp(32px,4.6vw,48px);
  }
  .trader-experience-visual {
    position: relative;
    grid-area: visual;
    inset: auto;
    height: clamp(432px,48vw,560px);
    overflow: clip;
    -webkit-mask-image: linear-gradient(transparent,#000 32px);
    mask-image: linear-gradient(transparent,#000 32px);
  }
  .trader-experience-visual img {
    position: absolute;
    bottom: 0;
    height: calc(100% + 64px);
  }
  .trader-tools-panel {
    position: relative;
    grid-area: tools;
    inset: auto;
    width: auto;
    margin: 0 40px 40px;
  }
  .trader-tools {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px 24px;
    max-width: 720px;
  }
  .trader-experience .trader-tools li {
    grid-area: auto;
    align-items: flex-start;
    font-size: 16px;
  }
  .trader-tools svg { margin-top: 2px; }
  .trader-tools li:last-child { grid-column: 1 / -1; }
}

@media(max-width:600px) {
  .trader-experience { padding-bottom: 40px; }
  .trader-experience-copy { padding: 32px 24px 0; }
  .trader-experience h2 {
    font-size: clamp(28px,8vw,40px);
    line-height: 1.25;
  }
  .trader-experience h2,.trader-experience h2 .reveal-line-text {
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
  .trader-experience-copy p { font-size: 14px; }
  .trader-desktop-break { display: none; }
  .trader-experience-visual { height: 400px; }
  .trader-tools-panel { margin: 0 24px 32px; }
  .trader-tools { gap: 16px; }
  .trader-experience .trader-tools li { font-size: 14px; }
}

@media(prefers-reduced-motion:reduce) {
  .trader-experience.has-entrance .trader-experience-copy p,
  .trader-experience.has-entrance .trader-tools-panel {
    opacity: 1;
    transform: none;
  }
}

.enterprise {
  padding: 0 16px 96px;
  scroll-margin-top: 88px;
}

.enterprise-card {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-radius: 24px;
  min-height: 880px;
  background: linear-gradient(180deg,#e7e7e8 0%,#dedee0 33%,#929396 58%,#343538 82%,#18191c 100%);
  color: #111114;
}

.enterprise-copy {
  position: relative;
  z-index: 2;
  padding: 56px 24px 0;
  text-align: center;
  pointer-events: none;
}

.enterprise-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 24px;
  letter-spacing: -.04em;
}

.enterprise-brand img {
  width: 164px;
}

.enterprise h2 {
  margin: 24px auto 0;
  font-size: clamp(48px,4.7vw,80px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.enterprise-description {
  margin: 24px 0 0;
  color: #49494f;
  font-size: 18px;
  line-height: 1.5;
}

.enterprise-copy .button {
  pointer-events: auto;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 32px;
}

.enterprise-copy .button:focus-visible {
  outline-color: #111114;
}

.market-playground {
  position: absolute;
  inset: 352px 0 64px;
  overflow: clip;
  touch-action: pan-y;
  cursor: grab;
}

.market-playground:active { cursor: grabbing; }
.market-playground:focus-visible:not(.is-pointer-focused) {
  outline: 2px solid #fff;
  outline-offset: -8px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 10px #16171caa;
}

.market-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 250ms;
  mask-image: linear-gradient(180deg,transparent,#000 16px,#000 calc(100% - 16px),transparent);
}

.enterprise-card.is-ready .market-canvas { opacity: 1; }
.enterprise-card.is-ready .market-fallback { display: none; }

.market-fallback {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 960px;
  height: 100%;
  margin: auto;
  padding: 40px 24px;
}

.fallback-coin {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 4px solid #8b96a1;
  border-radius: 50%;
  background: linear-gradient(145deg,#c9cbd1,#5a6168 65%,#2a2f34);
  color: #fff;
  box-shadow: 6px 10px 0 #23272b,12px 24px 40px #0003,inset 0 0 0 4px #6b737b;
  font-size: 64px;
  transform: rotate(-16deg);
}

.fallback-coin:nth-child(3n) {
  background: linear-gradient(135deg,#fff,#bfc1c8);
  border-color: #e4e5e8;
  box-shadow: 6px 10px 0 #909198,12px 24px 40px #0003,inset 0 0 0 4px #a1a2a8;
  color: #393a40;
  transform: rotate(24deg);
}

.fallback-candle {
  position: relative;
  width: 48px;
  height: 112px;
  border-radius: 8px;
  background: linear-gradient(120deg,#c9cbd1,#4a5157);
  box-shadow: 6px 8px 0 #23272b;
  transform: rotate(22deg);
}

.fallback-candle::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 8px;
  height: 184px;
  top: -36px;
  left: 20px;
  background: #8b96a1;
  border-radius: 4px;
}

@media(max-width:1023px) {
  .enterprise-card { min-height: 800px; }
  .enterprise-copy { padding-top: 48px; }
  .enterprise h2 { font-size: clamp(40px,5.8vw,56px); }
  .market-playground { top: 336px; }
}

@media(max-width:600px) {
  .enterprise { padding-bottom: 40px; }
  .enterprise-card { min-height: 768px; border-radius: 24px; }
  .enterprise-copy { padding: 40px 16px 0; }
  .enterprise-brand { font-size: 20px; gap: 8px; }
  .enterprise-brand img { width: 132px; }
  .enterprise h2 { margin-top: 24px; font-size: clamp(28px,8.5vw,48px); line-height: 1.12; }
  .enterprise-description { margin-top: 16px; font-size: 14px; }
  .enterprise-copy .button { margin-top: 24px; }
  .market-playground { inset: 280px 0 104px; }
  .fallback-coin { width: 72px; height: 72px; font-size: 40px; }
  .fallback-candle { width: 28px; height: 72px; }
  .fallback-candle::before { width: 6px; height: 120px; top: -24px; left: 11px; }
}

/* How it works: sticky intro on the left, launch timeline on the right (shadcn timeline-07 anatomy). */
.resources {
  display: grid;
  grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  align-items: start;
  gap: 64px;
  padding: 0 16px 120px;
  scroll-margin-top: 96px;
}

.resources h2 {
  margin: 0;
  font-size: clamp(48px,4.7vw,80px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.timeline-intro {
  position: sticky;
  top: 120px;
}

.timeline-intro>p:not(.section-eyebrow) {
  max-width: 400px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.timeline-intro .button { min-height: 48px; padding: 0 32px; }

.timeline {
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  column-gap: 24px;
  padding-bottom: 64px;
  transition: opacity 300ms ease-out,transform 300ms ease-out;
}

.timeline-item:last-child { padding-bottom: 0; }

/* The rail joins one icon tile to the next. */
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 60px;
  bottom: 12px;
  left: 23.5px;
  width: 1px;
  background: rgba(244,247,251,.14);
}

.timeline-item.has-entrance:not(.is-visible) {
  opacity: 0;
  transform: translateY(32px);
}

.timeline-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
}

.timeline-icon svg,.timeline-meta svg,.timeline-outcome svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-icon svg { width: 22px; height: 22px; }

.timeline-body { min-width: 0; }

.timeline-phase {
  margin: 0 0 6px;
  color: var(--muted);
}

.timeline-body h3 {
  margin: 0;
  font-size: clamp(24px,2.2vw,32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.timeline-meta,.timeline-outcome {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.4;
}

.timeline-meta svg,.timeline-outcome svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; }
.timeline-meta { color: var(--muted); }
.timeline-outcome { color: var(--text); font-weight: 500; }
.timeline-outcome svg { color: #10b981; }

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-tags li {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
}

.timeline-copy {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media(max-width:1023px) {
  .resources { grid-template-columns: 1fr; gap: 48px; }
  .resources h2 { font-size: clamp(40px,5.2vw,56px); }
  .timeline-intro { position: static; }
  .timeline-intro>p:not(.section-eyebrow) { font-size: 16px; }
}

@media(max-width:767px) {
  .resources { gap: 40px; padding: 0 24px 48px; }
  .resources .section-eyebrow { margin-bottom: 16px; }
  .resources h2 { font-size: clamp(32px,8.4vw,56px); }
  .timeline-intro>p:not(.section-eyebrow) { margin: 16px 0 24px; }
  .timeline-item { grid-template-columns: 40px minmax(0,1fr); column-gap: 16px; padding-bottom: 48px; }
  .timeline-item:not(:last-child)::before { top: 52px; left: 19.5px; }
  .timeline-icon { width: 40px; height: 40px; border-radius: 12px; }
  .timeline-icon svg { width: 20px; height: 20px; }
  .timeline-meta,.timeline-outcome,.timeline-copy { font-size: 14px; }
}

@media(prefers-reduced-motion:reduce) {
  .timeline-item.has-entrance:not(.is-visible) { opacity: 1; transform: none; }
}

.launch-close {
  padding-top: 80px;
  background: #151517;
  text-align: center;
  scroll-margin-top: 72px;
}

.launch-close-copy { padding: 0 24px; }

.launch-close h2 {
  margin: 0;
  font-size: clamp(40px,4.45vw,64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.launch-close-copy p {
  max-width: 400px;
  margin: 24px auto 0;
  color: #b8b8bf;
  font-size: 16px;
  line-height: 1.5;
}

.launch-close-cta { min-height: 48px; margin-top: 24px; padding: 0 32px; }
.launch-close-screen { width: min(78%,1102px); margin: 72px auto 0; }

.site-footer { padding: 80px 32px 120px; scroll-margin-top: 96px; }
.footer-main { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.footer-brand { min-width: 0; }
.footer-logo { display: inline-block; max-width: 100%; width: 240px; }
.footer-logo img { width: 100%; }

.footer-brand p {
  margin: 24px 0 0;
  color: #b8b8bf;
  font-size: 16px;
  line-height: 1.5;
}

.footer-navigation { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.footer-column h2 { margin: 0 0 16px; color: #92929c; line-height: 1.5; }
.footer-column ul { margin: 0; padding: 0; list-style: none; }

.footer-column a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: #dedee2;
  font-size: 14px;
  line-height: 1.5;
  transition: color 180ms;
}

.footer-link-format { color: #92929c; margin-left: 4px; white-space: nowrap; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #303033;
  color: #a2a2ac;
  font-size: 12px;
  line-height: 1.5;
}

.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 32px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; transition: color 180ms; }
.footer-top-link { display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; color: var(--text); }
.footer-top-link span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--text); transition: background 180ms; }
.footer-top-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

@media(hover:hover) {
  .footer-top-link:hover span { background: var(--surface-raised); }
}

/* SWSH FlipLink: characters roll up to a copy below, which flashes through the accent colours. */
.flip-mask {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
}

.flip-bottom {
  position: absolute;
  top: 100%;
  left: 0;
  user-select: none;
}

.flip-word,.flip-char {
  display: inline-block;
  vertical-align: top;
}

.flip-link:focus-visible .flip-char {
  transform: translateY(-100%);
}

@media(prefers-reduced-motion:no-preference) {
  .flip-char {
    transition: transform 700ms cubic-bezier(.34,1.56,.64,1);
    transition: transform 700ms linear(0,.0758,.2475,.4502,.6426,.8024,.9213,1.0004,1.0456,1.0652,1.0673,1.0592,1.0464,1.0326,1.0202,1.0102,1.0031,.9986,1,1);
    transition-delay: calc(var(--index,0) * 30ms);
  }
  .flip-link:focus-visible .flip-bottom .flip-char {
    animation: flip-color 300ms cubic-bezier(.77,0,.175,1) calc(var(--index,0) * 30ms);
  }
}

@media(prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine) {
  .flip-link:hover .flip-char {
    transform: translateY(-100%);
  }
  .flip-link:hover .flip-bottom .flip-char {
    animation: flip-color 300ms cubic-bezier(.77,0,.175,1) calc(var(--index,0) * 30ms);
  }
}

@keyframes flip-color {
  45% { color: var(--muted); }
  75% { color: #fff; }
}

@media(max-width:1199px) {
  .footer-main { grid-template-columns: 1fr; gap: 48px; }
  .footer-brand { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  .footer-brand p { margin: 0; }
  .footer-navigation { gap: 24px; }
}

@media(max-width:767px) {
  .launch-close { padding-top: 40px; }
  .launch-close-copy { padding: 0 16px; }
  .launch-close h2 { font-size: clamp(28px,7.7vw,48px); line-height: 1.12; }
  .launch-close-copy p { max-width: 320px; margin-top: 24px; font-size: 14px; }
  .launch-close-screen { width: calc(100% - 32px); margin-top: 48px; }
  .site-footer { padding: 48px 24px 104px; }
  .footer-main { gap: 40px; }
  .footer-brand { display: block; }
  .footer-logo { width: 200px; }
  .footer-brand p { margin-top: 16px; font-size: 14px; }
  .footer-navigation { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 24px; }
  .footer-column h2 { margin-bottom: 8px; }
  .footer-bottom { flex-wrap: wrap; gap: 16px 24px; margin-top: 40px; padding-top: 16px; }
  .footer-bottom p { flex-basis: 100%; }
  .footer-legal { flex-wrap: wrap; gap: 0 24px; }
  .footer-top-link { margin-left: auto; }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
  }
  .hero {
    height: auto;
  }
  .hero-stage {
    position: relative;
    height: auto;
    min-height: 0;
  }
  .hero-scene {
    position: relative;
    height: 100svh;
    min-height: 720px;
    overflow: hidden;
  }
  .gallery-anchor {
    top: max(100svh,720px);
  }
  .hero-mosaic {
    position: relative;
    inset: auto;
    height: 100svh;
    min-height: 720px;
    clip-path: none;
  }
  .gallery-grid {
    transform: translate(-50%,-50%);
    will-change: auto;
  }
  .art {
    opacity: 1;
    transform: none!important;
    translate: none!important;
    will-change: auto;
  }
  .layer {
    translate: none;
  }
  .headline-word {
    will-change: auto;
  }
}

@media(prefers-reduced-motion:reduce) and (max-width:900px) {
  .hero-scene {
    min-height: 760px;
  }
  .gallery-anchor {
    top: max(100svh,760px);
  }
  .hero-mosaic {
    height: 66vw;
    min-height: 540px;
  }
}

@media(prefers-reduced-motion:reduce) and (max-width:600px) {
  .hero-scene {
    height: auto;
    min-height: 0;
  }
  /* A still logo grid replaces the marquee. */
  .trust-strip ul {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    justify-items: center;
    gap: 12px 24px;
    width: auto;
    min-height: 76px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .trust-strip .trust-repeat {
    display: none;
  }
}
