:root {
  --paper: #e7e9e6;
  --paper-deep: #dcdeda;
  --ink: #171716;
  --charcoal: #272927;
  --graphite: #757b77;
  --pencil: #a1a6a2;
  --surface: #f8f8f6;
  --line: #d5d8d3;
  --beam: linear-gradient(135deg, #00c8fb 0%, #1a2ff7 100%);
  --radius-plate: 10px;
  --radius-pill: 999px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

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

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

.site-header {
  align-items: center;
  display: flex;
  height: 68px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.brand,
.nav-links {
  align-items: center;
  display: flex;
}

.brand {
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-links {
  gap: 24px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.nav-links a:not(.button):hover,
.text-link:hover {
  color: var(--ink);
}

.page-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 26px 24px 112px;
}

.hero {
  isolation: isolate;
  min-height: calc(100dvh - 94px);
  overflow: visible;
  padding-bottom: clamp(34px, 5vw, 58px);
  padding-top: clamp(22px, 4vw, 46px);
  position: relative;
  width: 100%;
}

.hero > :not(.hero-recap-bg) {
  position: relative;
  z-index: 1;
}

.hero-recap-bg {
  color: rgba(23, 23, 22, 0.052);
  display: grid;
  font-size: clamp(48px, 8.4vw, 104px);
  font-weight: 760;
  gap: 8px;
  inset: clamp(176px, 18vw, 238px) 0 auto auto;
  letter-spacing: 0;
  line-height: 0.82;
  pointer-events: none;
  position: absolute;
  text-align: right;
  text-transform: uppercase;
  transform: translateX(3%);
  z-index: 0;
}

.hero-recap-bg span {
  display: block;
  transform-origin: right center;
}

.eyebrow {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 18px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.04;
  max-width: 940px;
}

.hero-system {
  display: grid;
  gap: 24px clamp(34px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  margin-top: clamp(24px, 3.4vw, 40px);
  max-width: 1080px;
}

.hero-thesis {
  color: var(--ink);
  letter-spacing: 0;
  margin: 0;
}

.hero-thesis strong {
  color: var(--charcoal);
  font-weight: 720;
}

.narrative-beat {
  display: block;
}

.narrative-beat + .narrative-beat {
  margin-top: 8px;
}

.hero-thesis-primary {
  font-size: clamp(19px, 1.72vw, 23px);
  font-weight: 430;
  line-height: 1.48;
  max-width: 690px;
}

.hero-thesis-secondary {
  border-top: 1px solid var(--line);
  color: var(--charcoal);
  font-size: clamp(16px, 1.18vw, 18px);
  font-weight: 410;
  line-height: 1.52;
  max-width: 430px;
  padding-top: 16px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: clamp(24px, 3.6vw, 40px);
}

.button {
  align-items: center;
  background: var(--ink);
  background-clip: padding-box;
  border-radius: var(--radius-pill);
  color: #f8f8f6;
  display: inline-flex;
  font-size: 14px;
  font-weight: 650;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  overflow: visible;
  padding: 0 18px;
  position: relative;
  transition: transform 180ms ease, background 180ms ease;
  white-space: nowrap;
  will-change: box-shadow, transform;
  z-index: 0;
}

.button::before {
  background: linear-gradient(
    90deg,
    rgba(255, 138, 61, 0.24),
    rgba(255, 79, 123, 0.34),
    rgba(255, 209, 102, 0.22)
  );
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 1;
}

.button:hover,
.button.is-glowing {
  background: #272927;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 24px rgba(255, 138, 61, 0.28),
    0 0 46px rgba(255, 79, 123, 0.16);
}

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-height: 36px;
  padding: 0 14px;
}

.button-label,
.button-progress,
.button-bubble {
  pointer-events: none;
}

.button-label {
  position: relative;
  z-index: 5;
}

.button-progress {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 138, 61, 0.12) 36deg,
    #ff8a3d 92deg,
    #ff4f7b 156deg,
    #ffd166 214deg,
    #ffb000 282deg,
    transparent 334deg,
    transparent 360deg
  );
  border-radius: inherit;
  filter:
    drop-shadow(0 0 9px rgba(255, 138, 61, 0.58))
    drop-shadow(0 0 16px rgba(255, 79, 123, 0.34));
  inset: -3px;
  opacity: 0;
  position: absolute;
  transform: rotate(0deg) scale(1);
  transform-origin: center;
  z-index: 2;
}

.button-progress::after {
  background: #272927;
  border-radius: inherit;
  content: "";
  inset: 3px;
  position: absolute;
}

.button-bubble {
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9), transparent 16%),
    radial-gradient(circle at 58% 52%, rgba(255, 138, 61, 0.92), transparent 34%),
    radial-gradient(circle at 45% 70%, rgba(255, 79, 123, 0.7), transparent 44%),
    radial-gradient(circle at 70% 34%, rgba(255, 209, 102, 0.78), transparent 38%);
  border-radius: 999px;
  filter: blur(1px) saturate(1.16);
  height: 72px;
  left: 50%;
  mix-blend-mode: screen;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  width: 72px;
  z-index: 2;
}

.button.is-starting::before {
  opacity: 1;
}

.text-link {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 600;
}

.closing p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.8;
}

.closing strong {
  color: var(--charcoal);
  font-weight: 650;
}

.muted {
  color: var(--graphite);
}

.funds-clause {
  white-space: normal;
}

.stablecoin-logos {
  align-items: center;
  display: inline-flex;
  gap: 0;
  margin: 0 8px -4px;
  position: relative;
  cursor: pointer;
  isolation: isolate;
  white-space: nowrap;
}

.stablecoin-logos img {
  border: 1px solid rgba(23, 23, 22, 0.1);
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--paper);
  cursor: pointer;
  height: 24px;
  transform-origin: 50% 50%;
  position: relative;
  z-index: 2;
  will-change: transform;
  width: 24px;
}

.stablecoin-logos img + img {
  margin-left: -7px;
}

.coin-radiance {
  background: radial-gradient(circle, rgba(255, 209, 102, 0.72), rgba(255, 138, 61, 0.2) 42%, transparent 72%);
  border-radius: 999px;
  height: 9px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  width: 9px;
  z-index: 1;
}

.coin-radiance:nth-of-type(even) {
  background: radial-gradient(circle, rgba(0, 200, 251, 0.58), rgba(48, 220, 155, 0.16) 44%, transparent 72%);
}

.screen-section,
.capability-grid,
.closing {
  margin-top: 124px;
}

.section-heading {
  max-width: 620px;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.12;
}

.section-heading p {
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 560px;
}

.compact {
  max-width: 700px;
}

.screen-stories {
  display: grid;
  gap: clamp(62px, 8vw, 112px);
  margin-top: 54px;
}

.screen-story {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
}

.screen-story-flipped {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
}

.screen-story-flipped .screen-copy {
  grid-column: 2;
  grid-row: 1;
}

.screen-story-flipped .screen-frame {
  grid-column: 1;
  grid-row: 1;
}

.screen-copy {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.screen-kicker {
  color: var(--graphite);
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  margin-bottom: 30px;
}

.screen-copy h3 {
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.15;
}

.screen-copy p {
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 18px;
}

.screen-frame {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: zoom-in;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  transform-origin: 50% 50%;
  will-change: transform;
}

.screen-frame img {
  border: 1px solid rgba(23, 23, 22, 0.13);
  border-radius: var(--radius-plate);
  position: relative;
  transform-origin: 50% 50%;
  will-change: filter, transform;
  width: 100%;
  z-index: 1;
}

.screen-glint {
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 31%,
    rgba(255, 209, 102, 0.16) 42%,
    rgba(255, 138, 61, 0.24) 48%,
    rgba(255, 255, 255, 0.2) 52%,
    transparent 64%,
    transparent 100%
  );
  border-radius: var(--radius-plate);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-65%);
  z-index: 2;
}

.capability-grid {
  display: grid;
  column-gap: 34px;
  row-gap: 0;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.capability-grid .section-heading {
  grid-column: 1 / 3;
  margin-bottom: 18px;
}

.capability {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  min-height: 0;
  padding: 28px 0 42px;
}

.capability.wide {
  grid-column: span 2;
}

.capability.tall {
  grid-row: auto;
}

.capability-label {
  color: var(--graphite);
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 30px;
}

.capability h3 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.18;
}

.capability p {
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 18px;
}

.closing {
  align-items: flex-start;
  display: flex;
  gap: 34px;
  justify-content: space-between;
}

.closing p {
  max-width: 680px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--graphite);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 18px 34px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 24px 38px;
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
    padding-top: 20px;
  }

  .nav-links {
    display: none;
  }

  .page-shell {
    padding-top: 28px;
  }

  .hero {
    min-height: auto;
    overflow: visible;
    padding: 56px 0 22px;
  }

  .hero-recap-bg {
    font-size: clamp(46px, 15vw, 80px);
    inset: 72px -12px auto auto;
    opacity: 0.75;
  }

  h1 {
    font-size: clamp(34px, 9vw, 44px);
    max-width: 620px;
  }

  .hero-system {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .hero-thesis-primary {
    font-size: clamp(19px, 4.8vw, 23px);
  }

  .hero-thesis-secondary {
    font-size: clamp(17px, 4.2vw, 20px);
    margin-top: 0;
  }

  .screen-story,
  .screen-story-flipped {
    display: block;
  }

  .screen-story + .screen-story {
    margin-top: 64px;
  }

  .screen-frame {
    margin-top: 28px;
  }

  .capability-grid,
  .closing {
    display: block;
  }

  .capability {
    margin-top: 14px;
    min-height: auto;
  }

  .closing .button {
    margin-top: 26px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading p {
    font-size: 16px;
  }

  .closing p {
    font-size: 16px;
  }

  .screen-frame {
    border-radius: 14px;
    margin-left: -6px;
    margin-right: -6px;
    padding: 4px;
  }

  .site-footer {
    justify-content: flex-start;
  }
}
