: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: 40px 24px 112px;
}

.hero {
  min-height: calc(100dvh - 108px);
  padding-top: clamp(28px, 6vw, 72px);
  width: 100%;
}

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

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

h1 {
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.12;
  max-width: 720px;
}

.hero-system {
  display: grid;
  gap: 22px;
  margin-top: clamp(30px, 5vw, 56px);
  max-width: 920px;
}

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

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

.hero-thesis-primary {
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 430;
  line-height: 1.58;
  max-width: 880px;
}

.hero-thesis-secondary {
  border-top: 1px solid var(--line);
  color: var(--charcoal);
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 410;
  line-height: 1.62;
  max-width: 820px;
  padding-top: 20px;
}

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

.button {
  align-items: center;
  background: var(--ink);
  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;
  padding: 0 18px;
  transition: transform 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.button:hover {
  background: #272927;
  transform: translateY(-1px);
}

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

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

.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;
  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%;
  transition: transform 180ms ease;
  will-change: transform;
  width: 24px;
}

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

.stablecoin-logos img:hover {
  transform: scale(1.28) translateY(-2px);
}

.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;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.screen-frame img {
  border: 1px solid rgba(23, 23, 22, 0.13);
  border-radius: var(--radius-plate);
  width: 100%;
}

.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;
    padding: 56px 0 22px;
  }

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

  .hero-system {
    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;
  }
}
