.landing .header-layout { grid-template-columns: 1fr auto; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: end center;
  min-height: max(540px, calc(100svh - var(--header-height)));
  overflow: hidden;
  padding: 0 var(--gutter) clamp(36px, 6.7vh, 68px);
}
.hero-media { position: absolute; z-index: -1; inset: calc(-1 * var(--header-height)) 0 0; background: #1d1d1b; }
.fan-stage {
  --tile: min(14.2vw, 23svh, 245px);
  position: absolute; left: 50%; top: 50%; width: var(--tile); height: var(--tile);
  margin: calc(var(--tile) * -.5); pointer-events: none; isolation: isolate;
}
.fan-frame { position: absolute; inset: -18%; background: #f5f7f2; border-radius: 30%; transform: rotate(45deg); }
.fan-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  font-size: var(--tile); padding: .082em; overflow: hidden; border-radius: .16em;
  background: var(--paper); color: var(--ink); border: max(1px, .01em) solid #242422;
  line-height: 1; text-align: left; backface-visibility: hidden;
}
.theme-montra { --paper: #d3ec8c; --ink: #253725; }
.theme-ecat { --paper: #f2a887; --ink: #4a282b; }
.theme-ported { --paper: #b6dafe; --ink: #153974; }
.theme-blob { --paper: #deccf3; --ink: #4c326b; }
.theme-ascend { --paper: #f3e5a1; --ink: #3b3b22; }
.fan-kicker, .fan-caption { position: relative; z-index: 1; font: 400 .071em/1.15 var(--mono); white-space: nowrap; }
.fan-kicker { margin-bottom: auto; text-transform: uppercase; }
.fan-title { position: relative; margin: 0 0 .11em -.035em; font: 500 .207em/.93 var(--sans); letter-spacing: -.075em; }
.fan-art { position: absolute; top: .206em; left: .085em; width: .40em; height: .36em; background: var(--ink); }
.theme-montra .fan-art { clip-path: polygon(0 100%, 0 35%, 25% 0, 49% 44%, 74% 0, 100% 35%, 100% 100%, 74% 59%, 49% 95%, 25% 59%); }
.theme-ecat .fan-art { clip-path: polygon(0 2%, 31% 24%, 65% 24%, 97% 0, 100% 68%, 75% 94%, 28% 100%, 0 70%); background: radial-gradient(ellipse at 29% 56%, var(--paper) 0 6%, transparent 7%), radial-gradient(ellipse at 68% 56%, var(--paper) 0 6%, transparent 7%), var(--ink); }
.theme-ported .fan-art { border: .048em solid var(--ink); border-radius: 50%; background: transparent; transform: skew(-15deg) scaleX(.72); box-shadow: .09em 0 var(--paper), .13em 0 var(--ink), .20em 0 var(--paper), .24em 0 var(--ink); }
.theme-blob .fan-art { border-radius: 35% 65% 42% 58% / 61% 45% 55% 39%; transform: rotate(-24deg); box-shadow: .095em .035em 0 -.012em var(--paper), .11em .04em 0 var(--ink); }
.theme-ascend .fan-art { clip-path: polygon(44% 0, 100% 100%, 75% 100%, 43% 46%, 15% 100%, 0 100%); background: repeating-linear-gradient(0deg, var(--ink) 0 .04em, var(--paper) .04em .056em); }
.trade-face { background: var(--ink); color: var(--paper); }
.trade-face .fan-art { left: auto; right: .09em; top: .19em; width: .38em; height: .37em; border: 0; border-radius: 0; box-shadow: none; transform: none; background: repeating-linear-gradient(135deg, var(--paper) 0 .025em, transparent .025em .035em); clip-path: polygon(0 70%, 47% 23%, 20% 23%, 20% 0, 100% 0, 100% 80%, 77% 80%, 77% 48%, 29% 96%); }
.trade-face.sell .fan-art { transform: scaleY(-1); }
.trade-face .fan-title { font-size: .215em; font-weight: 400; }
.trade-face .fan-caption { border-top: 1px solid currentColor; padding-top: .55em; }
.hero-copy { text-align: center; display: grid; justify-items: center; gap: clamp(24px, 6.5vh, 49px); }
.hero h1 { font: 400 clamp(24px, 2.25vw, 36px)/1.25 var(--sans); letter-spacing: -.025em; }
.hero-cta { min-width: 202px; min-height: 37px; font-size: 15px; }

.statement {
  display: grid;
  min-height: min(74svh, 650px);
  place-items: center;
  padding: 70px var(--gutter);
}
.statement-copy { font: 400 clamp(23px, 2.45vw, 36px)/1.25 var(--sans); letter-spacing: -.025em; text-align: center; }
.statement-copy span { display: block; }
.statement-copy.reveal-ready span { color: #a2a19d; transition: color .65s; }
.statement-copy.is-visible span { color: var(--cream); }
.statement-copy.is-visible span:nth-child(2) { transition-delay: .35s; }
.statement-copy.is-visible span:nth-child(3) { transition-delay: .7s; }
.paper { color-scheme: light; background: var(--cream); color: var(--bg); }
.network-panel { overflow: hidden; }
.network-layout { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 1.65fr); align-items: center; gap: 7%; min-height: min(100svh, 770px); padding: 68px 0; }
.network-copy { max-width: 385px; }
.network-copy h2, .sample-copy h2, .feature-intro h2 { font: 400 clamp(26px, 3vw, 46px)/1.12 var(--sans); letter-spacing: -.035em; }
.network-copy p, .sample-copy p { margin: 20px 0; color: #50514d; font-weight: 300; }
.network-copy .bracket-link, .sample-copy .bracket-link { margin: 12px 0 0 -12px; }
.network-diagram { container-type: inline-size; width: 100%; max-width: 700px; justify-self: center; margin: 0; }
.swap-map { --branch: clamp(32px, 8cqw, 56px); --wire: #9da597; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); align-items: center; gap: var(--branch); }
.swap-ticket { position: relative; display: grid; align-content: space-between; gap: 5px; padding: clamp(18px, 4cqw, 28px); border-radius: 18px; color: #f5f7ef; background: #252a25; }
.swap-ticket::after { content: ''; position: absolute; top: 50%; left: 100%; width: var(--branch); border-top: 1px solid var(--wire); }
.record-label, .swap-record dt { font: 400 12px/1.3 var(--mono); letter-spacing: .035em; text-transform: uppercase; }
.record-label { color: #d6e5c7; }
.swap-print { position: relative; display: block; width: 95px; height: 66px; margin-block: 18px; }
.swap-print::before, .swap-print::after { content: ''; position: absolute; width: 70px; height: 37px; clip-path: polygon(0 26%, 58% 26%, 58% 0, 100% 50%, 58% 100%, 58% 74%, 0 74%); }
.swap-print::before { top: 0; right: 0; background: #d2eb95; }
.swap-print::after { bottom: 0; left: 0; transform: rotate(180deg); background: repeating-linear-gradient(45deg, #d2eb95 0 2px, transparent 2px 4px); }
.swap-amount { font: 400 clamp(36px, 7.5cqw, 54px)/1 var(--sans); letter-spacing: -.06em; }
.swap-summary { margin-top: 7px; color: #d6e5c7; font: 400 13px/1.5 var(--mono); }
.swap-records { display: grid; gap: 12px; margin: 0; }
.swap-record { position: relative; display: grid; align-content: center; gap: 4px; min-height: 80px; padding: 12px 12px 12px 74px; background: #fff; border: 1px solid #cdd2c8; border-radius: 14px; }
.swap-record::before { content: ''; position: absolute; right: 100%; top: 50%; width: calc(var(--branch) / 2); border-top: 1px solid var(--wire); }
.swap-record:first-child::before, .swap-record:last-child::before { height: calc(100% + 15px); border-left: 1px solid var(--wire); border-top-left-radius: 7px; }
.swap-record:last-child::before { top: auto; bottom: calc(50% - 1px); border-top: 0; border-bottom: 1px solid var(--wire); border-radius: 0 0 0 7px; }
.swap-record dt { color: #586053; }
.swap-record dd { margin: 0; font: 400 clamp(15px, 3cqw, 21px)/1.2 var(--mono); letter-spacing: -.045em; }
.record-art { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; }
.record-art::after { content: ''; display: block; }
.coin-art { background: #daedb2; }
.coin-art::after { width: 29px; height: 25px; background: #293d24; clip-path: polygon(0 100%, 0 34%, 25% 0, 50% 43%, 75% 0, 100% 34%, 100% 100%, 75% 59%, 50% 94%, 25% 59%); }
.wallet-art { background: #d7cdf1; color: #493668; }
.wallet-art::after { width: 5px; height: 5px; background: currentColor; box-shadow: -10px -10px, 0 -10px, 10px -10px, -5px -5px, 5px -5px, -10px 0, 10px 0, -5px 5px, 5px 5px, -10px 10px, 0 10px, 10px 10px; }
.hash-art { background: #f2c8a9; }
.hash-art::after { width: 27px; height: 24px; background: repeating-linear-gradient(90deg, #593524 0 2px, transparent 2px 4px, #593524 4px 5px, transparent 5px 8px, #593524 8px 12px, transparent 12px 14px); }
.network-diagram.reveal-ready .swap-map { transition: opacity .45s, transform .45s; }
.network-diagram.reveal-ready:not(.is-visible) .swap-map { opacity: 0; transform: translateY(10px); }
@container (max-width: 455px) {
  .swap-map { grid-template-columns: 1fr; gap: 14px; }
  .swap-ticket { grid-template-columns: 1fr auto; padding: 19px; }
  .swap-ticket::after { left: 20px; top: 100%; height: 55px; width: 0; border: 0; border-left: 1px solid var(--wire); }
  .swap-print { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; transform: scale(.8); transform-origin: right center; }
  .swap-records { margin-left: 36px; }
  .swap-record::before, .swap-record:first-child::before, .swap-record:last-child::before { width: 17px; }
  .swap-record:first-child::before { border-radius: 0; }
}

.feature-section { padding: clamp(70px, 11vw, 160px) 0; }
.feature-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.feature-card { min-height: 190px; padding: 25px 24px 30px; }
.feature-card:first-child { padding-left: 0; }
.feature-card + .feature-card { border-left: 1px solid var(--line); }
.feature-card h3 { font: 400 26px/1.2 var(--sans); letter-spacing: -.03em; margin-bottom: 15px; }
.feature-card p { color: var(--muted); font-weight: 300; max-width: 330px; }

.sample-section { overflow: hidden; border-bottom: 1px solid #d6d9d4; }
.sample-layout { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1.65fr); align-items: center; gap: 7%; padding: 105px 0 82px; }
.sample-copy { max-width: 310px; }
.trade-deck { display: grid; position: relative; isolation: isolate; justify-self: center; width: min(100%, 310px); padding: 6px 6px 0; }
.trade-card { display: grid; width: 100%; aspect-ratio: 1.19; align-content: start; padding: 24px; background: var(--card-color, #e0df99); color: #191a16; border: 1px solid #252520; border-radius: 14px; touch-action: pan-y; cursor: grab; user-select: none; transform: translateX(var(--drag, 0px)) rotate(var(--angle, 0deg)); transition: transform .22s ease-out; }
.trade-card.is-dragging { transition: none; cursor: grabbing; }
.trade-card[data-enter='next'] { animation: next-card .38s cubic-bezier(.16, 1, .3, 1); }
.trade-card[data-enter='prev'] { animation: prev-card .38s cubic-bezier(.16, 1, .3, 1); }
@keyframes next-card { from { opacity: .5; transform: translateX(23px) rotate(3deg); } }
@keyframes prev-card { from { opacity: .5; transform: translateX(-23px) rotate(-3deg); } }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding-bottom: 12px; border-bottom: 1px solid #25252060; font: 400 11px/1.2 var(--mono); }
.trade-card > strong { margin: 13px 0; font: 400 clamp(28px, 5vw, 46px)/1 var(--sans); letter-spacing: -.055em; }
.card-label { font: 400 10px/1.4 var(--mono); margin-top: 5px; }
.trade-card code { font: 400 11px/1.4 var(--mono); }
.trade-card small { margin-top: 10px; text-align: right; font-size: 11px; }
.stack { position: absolute; z-index: -1; inset: 6px 6px auto; aspect-ratio: 1.19; pointer-events: none; }
.stack div { position: absolute; inset: 0; border: 1px solid #252520; border-radius: 14px; }
.stack div:first-child { background: #d9e3ce; transform: translate(-10px, -9px) rotate(-7deg); }
.stack div:last-child { background: #e4baab; transform: translate(10px, -8px) rotate(8deg); }
.deck-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; font: 400 12px/1.4 var(--mono); }
.deck-arrow { width: 44px; height: 42px; color: var(--bg); background: transparent; border: 1px solid var(--bg); border-radius: 50%; font-size: 18px; }
.deck-arrow:hover { color: var(--cream); background: var(--bg); }
.site-footer { padding: 53px 0 0; overflow: hidden; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h2 { font-size: 15px; font-weight: 500; margin-bottom: 9px; }
.footer-links a, .footer-links p { display: block; color: #50514d; font-size: 14px; }
.footer-links a:hover { color: var(--bg); text-decoration: underline; }
.footer-wordmark { padding: 65px 0 8px; color: var(--bg); font: 700 clamp(38px, 11vw, 171px)/.8 var(--sans); letter-spacing: -.075em; text-transform: uppercase; }

@media (max-width: 720px) {
  .hero { min-height: max(520px, calc(100svh - var(--header-height))); padding-bottom: 56px; }
  .fan-stage { --tile: min(37vw, 18.5svh, 205px); top: 45%; }
  .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 62%, #1d1d1beb 80%, #1d1d1b 94%); }
  .hero-copy { gap: 30px; }
  .hero h1 { max-width: 365px; font-size: clamp(23px, 5.7vw, 30px); }
  .hero-cta { min-width: 170px; }
  .statement { min-height: min(62svh, 420px); }
  .network-layout, .sample-layout { grid-template-columns: 1fr; gap: 44px; min-height: auto; padding: 58px 0; }

  .feature-intro { flex-wrap: wrap; gap: 8px; }
  .feature-intro .bracket-link { margin-left: -12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; padding: 20px 0 24px; }
  .feature-card + .feature-card { border: 0; border-top: 1px solid var(--line); }
  .feature-card h3 { margin-bottom: 7px; }
  .trade-deck { width: min(100% - 24px, 310px); }
  .site-footer { padding-top: 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-wordmark { padding-top: 42px; }
}
