.home-page { --bg: #090d0e; --surface: #101718; --line: #283334; --mint: #b9f3d4; --muted: #a5b6b1; --accent: #b9f3d4; background: var(--bg); }
.home-page .site-header { position: relative; }
.home-page .brand-symbol { border-radius: 0; background: none; color: var(--text); border: 1px solid var(--line); }
.home-page .header-link { color: var(--mint); }
.home-page svg { width: 20px; height: 20px; flex-shrink: 0; }
.home-page .eyebrow { font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.coin-hero { position: relative; isolation: isolate; min-height: min(760px, calc(100svh - 180px)); }
.coin-hero-inner { position: relative; min-height: inherit; display: flex; align-items: center; padding-block: 64px 100px; pointer-events: none; }
.coin-copy { width: 48%; position: relative; z-index: 2; }
.coin-copy a { pointer-events: auto; }
.coin-copy .eyebrow { display: flex; align-items: center; gap: 16px; }
.protocol-mark { color: var(--mint); font-size: 15px; white-space: nowrap; flex-shrink: 0; }
.coin-copy h1 { font-size: 110px; font-weight: 600; line-height: 1; margin-top: 32px; }
.coin-copy h1 span { color: var(--mint); }
.coin-tagline { font-size: 32px; line-height: 1.55; margin-top: 24px; }
.coin-intro { font-size: 15px; color: var(--muted); line-height: 1.9; margin-top: 24px; }
.coin-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.coin-actions .button { gap: 32px; min-height: 50px; padding-inline: 24px; }
#coin-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; opacity: 0; }
#coin-canvas:active { cursor: grabbing; }
.coin-hero[data-scene="ready"] #coin-canvas { opacity: 1; }
.coin-fallback { position: absolute; right: 4%; top: 4%; height: 85%; width: 52%; object-fit: contain; mask-image: linear-gradient(90deg, transparent, black 20%); z-index: -1; }
.coin-hero[data-scene="ready"] .coin-fallback { visibility: hidden; }
.scene-coordinate { position: absolute; top: 32px; right: 0; color: var(--muted); font: 12px/1.8 ui-monospace, monospace; text-align: right; }
.scene-toolbar { position: absolute; bottom: 32px; right: 0; display: flex; align-items: center; gap: 24px; pointer-events: auto; }
.scene-toolbar[hidden] { display: none; }
.material-control { display: flex; border-bottom: 1px solid var(--line); }
.scene-toolbar button { min-width: 44px; height: 44px; background: transparent; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; touch-action: manipulation; display: inline-flex; align-items: center; justify-content: center; }
.material-control button { padding-inline: 18px; border-bottom: 2px solid transparent; white-space: nowrap; }
.material-control button[aria-pressed="true"] { color: var(--mint); border-bottom-color: var(--mint); }
.view-controls { display: flex; gap: 8px; }
.scene-toolbar button:hover { color: var(--text); background: var(--surface); }
.scene-toolbar button:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.scene-toolbar .play-icon { display: none; }
#coin-motion[aria-pressed="true"] .play-icon { display: block; }
#coin-motion[aria-pressed="true"] .pause-icon { display: none; }
.protocol-strip { border-block: 1px solid var(--line); }
.protocol-strip dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 24px; }
.protocol-strip dl > div { padding-left: 36px; border-left: 1px solid var(--line); }
.protocol-strip dl > div:first-child { padding-left: 0; border: 0; }
.protocol-strip dt { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.protocol-strip dd { font: 22px/1.4 ui-monospace, monospace; color: var(--text); }
.protocol-strip dd span { font-size: 12px; color: var(--muted); }
.home-section { padding-block: 88px; border-bottom: 1px solid var(--line); }
.home-section-head h2 { font-size: 36px; margin-top: 20px; }
.home-section-head > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); }
.knowledge-section { background: var(--surface); }
.knowledge-section > .wrap { display: grid; grid-template-columns: .9fr 1.25fr; gap: 80px; }
.knowledge-links { border-top: 1px solid var(--line); }
.knowledge-links a { display: grid; grid-template-columns: 32px 1fr 24px; align-items: start; gap: 16px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.knowledge-links a:hover { color: var(--mint); }
.knowledge-number { font: 12px/2 ui-monospace, monospace; color: var(--muted); }
.knowledge-links h3 { font-size: 22px; }
.knowledge-links h3 span { font: 13px/1.5 ui-monospace, monospace; color: var(--muted); margin-left: 12px; }
.knowledge-links p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.supply-section { padding-block: 96px; }
.supply-number { font: 108px/1.2 ui-monospace, monospace; font-weight: 500; margin-block: 36px; font-variant-numeric: tabular-nums; }
.supply-number > span { font-size: 22px; color: var(--mint); margin-left: 24px; }
.supply-explanation { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.supply-explanation h3 { font-size: 28px; line-height: 1.5; }
.supply-explanation p { color: var(--muted); }
.supply-explanation .text-link { margin-top: 20px; color: var(--mint); }
.network-section-new { background: #101516; }
.network-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.network-layout h2 { font-size: 46px; line-height: 1.4; margin-block: 24px; }
.network-layout h2 span { color: var(--mint); }
.network-description { max-width: 420px; color: var(--muted); }
.network-layout .text-link { margin-top: 24px; }
.protocol-flow { list-style: none; padding: 0; margin: 0; }
.protocol-flow li { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding-block: 32px; border-bottom: 1px solid var(--line); }
.protocol-flow li:first-child { border-top: 1px solid var(--line); }
.protocol-flow li > span { font: 13px/1.5 ui-monospace, monospace; color: var(--mint); }
.protocol-flow h3 { font-size: 22px; }
.protocol-flow p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.protocol-flow b { color: var(--muted); font: 12px/1.5 ui-monospace, monospace; }
.history-section .timeline-list li { border-color: var(--line); }
.history-section .timeline-list li::before { background: var(--mint); }
.history-section .timeline-list p { color: var(--muted); }
.home-page .site-footer { padding-top: 72px; }
.home-page .footer-top h2 { font-size: 52px; }
#section-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.chapter-scene { position: relative; height: 320px; width: 100%; touch-action: pan-y; display: grid; place-items: center; }
.chapter-scene[data-ready] { cursor: grab; }
.chapter-scene[data-ready]:active { cursor: grabbing; }
.chapter-scene:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.chapter-scene[data-ready] .scene-fallback { visibility: hidden; }
.scene-fallback { color: var(--muted); font: 14px/1.8 ui-monospace, monospace; text-align: center; padding: 24px; border-block: 1px solid var(--line); }
.chapter-scene[data-model="supply"] { height: 380px; }
.chapter-scene[data-model="network"] { height: 400px; }
.chapter-scene[data-model="chain"] { height: 320px; margin-top: 32px; }
.chapter-scene[data-model="shield"] { height: 240px; }
.scene-caption { color: var(--muted); font-size: 12px; margin: 8px 0 32px; }
.network-layout .protocol-flow { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.network-layout .protocol-flow li { border-top: 1px solid var(--line); grid-template-columns: 28px 1fr; }
.network-layout .protocol-flow b { display: none; }
#page-motion { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); width: 44px; height: 44px; display: grid; place-items: center; z-index: 30; border: 1px solid var(--line); background: var(--bg); color: var(--mint); cursor: pointer; border-radius: 0; }
#page-motion[hidden] { display: none; }
#page-motion .play-icon { display: none; }
#page-motion[aria-pressed="true"] .play-icon { display: block; }
#page-motion[aria-pressed="true"] .pause-icon { display: none; }
#page-motion:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
@media (max-width: 1100px) {
  .coin-copy h1 { font-size: 82px; }
  .coin-tagline { font-size: 28px; }
  .coin-copy { width: 50%; }
  .knowledge-section > .wrap { gap: 40px; }
  .supply-number { font-size: 80px; }
  .network-layout { gap: 40px; }
  .coin-actions { gap: 16px; }
}
@media (max-width: 760px) {
  .chapter-scene { height: 280px; }
  .chapter-scene[data-model="supply"], .chapter-scene[data-model="network"] { height: 300px; }
  .chapter-scene[data-model="chain"] { height: 240px; }
  .chapter-scene[data-model="shield"] { height: 200px; }
  .network-layout .protocol-flow { grid-template-columns: 1fr; gap: 0; }
  #page-motion { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .home-page .site-footer { padding-bottom: 76px; }
  .coin-hero { min-height: min(720px, calc(100svh - 160px)); }
  .coin-hero-inner { padding-block: 28px min(340px, 40svh); align-items: flex-start; }
  .coin-copy { width: 100%; }
  .coin-copy h1 { font-size: 64px; margin-top: 20px; }
  .coin-tagline { font-size: 24px; margin-top: 16px; }
  .coin-tagline br { display: none; }
  .coin-intro { margin-top: 16px; font-size: 14px; }
  .coin-actions { margin-top: 20px; gap: 20px; }
  .coin-actions .button { padding-inline: 18px; gap: 20px; }
  .coin-actions .text-link { gap: 10px; font-size: 13px; }
  .scene-coordinate { display: none; }
  .scene-toolbar { bottom: 16px; left: 0; right: 0; justify-content: space-between; gap: 8px; }
  .material-control button { padding-inline: 12px; }
  .view-controls { gap: 4px; }
  .coin-fallback { top: auto; bottom: 24px; right: 10%; width: 80%; height: min(220px, 26svh); }
  .protocol-strip dl { grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 20px; }
  .protocol-strip dl > div { padding-left: 16px; }
  .protocol-strip dl > div:last-child { grid-column: 1 / -1; border-left: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .protocol-strip dt { margin-bottom: 4px; }
  .protocol-strip dd { font-size: 16px; }
  .home-section, .supply-section { padding-block: 56px; }
  .knowledge-section > .wrap, .supply-explanation, .network-layout { grid-template-columns: 1fr; gap: 32px; }
  .home-section-head h2 { font-size: 28px; }
  .knowledge-links a { grid-template-columns: 24px 1fr 20px; gap: 12px; }
  .knowledge-links h3 { font-size: 20px; }
  .knowledge-links h3 span { display: block; margin: 8px 0 0; }
  .supply-number { font-size: 48px; margin-block: 28px; }
  .supply-number > span { display: block; margin: 12px 0 0; font-size: 16px; }
  .supply-explanation h3 { font-size: 24px; }
  .network-layout h2 { font-size: 36px; }
  .protocol-flow li { gap: 12px; grid-template-columns: 28px 1fr; }
  .protocol-flow b { display: none; }
  .home-page .footer-top h2 { font-size: 36px; }
}
@media (max-width: 380px) {
  .coin-copy h1 { font-size: 54px; }
  .coin-tagline { font-size: 22px; }
  .coin-tagline br { display: initial; }
  .view-controls { gap: 0; }
  .material-control button { padding-inline: 8px; }
  .coin-hero-inner { padding-bottom: min(280px, 32svh); }
  .supply-number { font-size: 42px; }
}
@media (min-width: 761px) and (max-height: 650px) {
  .home-page .header-inner { min-height: 60px; }
  .coin-hero { min-height: calc(100svh - 100px); }
  .coin-hero-inner { padding-block: 16px 64px; }
  .coin-copy .eyebrow, .coin-intro { display: none; }
  .coin-copy h1 { font-size: 64px; margin-top: 0; }
  .coin-tagline { font-size: 20px; margin-top: 12px; }
  .coin-tagline br { display: none; }
  .coin-actions { margin-top: 20px; }
  .scene-toolbar { bottom: 12px; }
  .scene-coordinate { top: 16px; }
}
