/*  ETHFlight · one sheet for both pages
    Ported from the owner's "portal" spec: a window, a sky behind it, glass cards.
    House stack: no framework, no runtime third party, fonts self-hosted.        */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto Flex";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("assets/fonts/robotoflex-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Mr Dafoe";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/mrdafoe-latin.woff2") format("woff2");
}

:root {
  --ink: #0a0608;
  --white: #fff;
  --dim: rgba(255, 255, 255, 0.5);
  --dimmer: rgba(255, 255, 255, 0.35);
  --dark: #161616;
  --card-ink: #2c2420;
  --script: "Mr Dafoe", cursive;
  --ui: "Inter", "Helvetica Neue", Arial, sans-serif;
  --pad: 22px;
  --overscan: 28px;   /* les plans dépassent, la parallaxe ne doit jamais montrer leur bord */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scrollbar-gutter: stable;
  scroll-behavior: auto;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  overflow-x: clip;
}
body {
  font-family: var(--ui);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

@keyframes bobUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/*  the sky, fixed, never scrolls  */
.world { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.world-inner { position: absolute; inset: calc(-1 * var(--overscan)); transform-origin: 50% 50%; will-change: transform; }
.world-inner img { width: 100%; height: 100%; object-fit: cover; }

/*  nav  */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}
.mark { display: inline-flex; align-items: baseline; letter-spacing: -0.02em; color: var(--white); }
.mark .m-a { font-family: var(--ui); font-weight: 500; font-size: 20px; }
.mark .m-b { font-family: var(--script); font-size: 30px; line-height: 1; margin-left: 0.04em; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: none;
  font-size: 12px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 8px;
  transition: color 0.25s;
}
.nav-link:hover { color: var(--white); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--dark);
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  border-radius: 999px;
  padding: 9px 16px;
  transition: background-color 0.25s;
  white-space: nowrap;
}
.pill:hover { background: #e6e6e6; }
.pill-label { display: inline-block; }
.pill-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(22, 22, 22, 0.3); }
.pill.is-on .pill-dot { background: #1a8a4a; box-shadow: 0 0 8px rgba(26, 138, 74, 0.7); }
.pill.is-off .pill-dot { background: #c9542e; }
.round {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--white); color: var(--dark);
  transition: background-color 0.25s;
}
.round:hover { background: #e6e6e6; }
.round svg { width: 15px; height: 15px; }

/*  intro track : 160vh of scroll, one pinned stage  */
.intro { position: relative; z-index: 5; height: 160vh; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }

.portal { position: absolute; inset: calc(-1 * var(--overscan)); transform-origin: 50% 47%; will-change: transform, opacity; }
.portal img { width: 100%; height: 100%; object-fit: cover; }

/*  the sky line : shows once the window is gone, letters swell under the pointer  */
.skyline {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 var(--pad);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.skyline-text {
  font-family: "Roboto Flex", "Inter", sans-serif;
  font-variation-settings: 'wght' 400, 'opsz' 9;
  font-size: clamp(34px, 7.4vw, 118px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 11.5em;
  color: var(--white);
  text-shadow: 0 2px 34px rgba(0, 40, 80, 0.32);
}
.skyline-text .word { display: inline-block; white-space: nowrap; }
.skyline-text .letter { display: inline-block; }
.skyline-text .accent { color: #ccff00; text-shadow: 0 2px 34px rgba(0, 40, 80, 0.32), 0 0 40px rgba(204, 255, 0, 0.25); }
.skyline-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 14px rgba(0, 40, 80, 0.3);
}

/*  scene 1 : the hero copy, bottom anchored  */
.scene1 {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 140px var(--pad) 40px;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0) 0%, rgba(10, 6, 8, 0.5) 26%, rgba(10, 6, 8, 0.88) 62%, rgba(10, 6, 8, 0.95) 100%);
}
.scene1-in {
  display: flex;
  flex-direction: column;
  gap: 48px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: 0.3s;
}
.scene1-in.is-in { opacity: 1; transform: translateY(0); }
.hero-copy { max-width: 560px; }
.headline {
  font-weight: 500;
  font-size: clamp(28px, 8.4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(10, 6, 8, 0.45);
}
.headline .script {
  font-family: var(--script);
  font-weight: 400;
  font-size: 1.15em;
  color: #9a9a9a;
  margin-right: 0.12em;
}
.hero-body {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--dim);
  max-width: 340px;
  margin-top: 18px;
}
.hero-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.hero-link:hover { color: var(--white); border-color: var(--white); }
.hero-aside { display: none; gap: 14px; }
.hero-aside .big {
  font-family: var(--script);
  font-size: 64px;
  line-height: 0.8;
  color: var(--white);
  animation: bobUp 4.5s ease-in-out infinite;
}
.hero-aside p { font-weight: 400; font-size: 11px; line-height: 1.5; color: var(--dim); max-width: 150px; }

/*  section 2 : the seven rules  */
.rules {
  position: relative;
  z-index: 10;
  padding: 12vh var(--pad) 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.rules h2 {
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.rules-lead {
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  max-width: 420px;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  margin-top: 16px;
}

/*  split-flap board : one hinged tile per column  */
.board {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: clamp(19px, 6.1vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: pre;
  user-select: none;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.flap-tile {
  position: relative;
  width: 0.78em; height: 1.08em;
  overflow: hidden;
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 44%),
    linear-gradient(180deg, #1d232c, #12161c);
  box-shadow:
    0 0.035em 0.08em rgba(255, 255, 255, 0.08) inset,
    0 -0.05em 0.1em rgba(0, 0, 0, 0.38) inset,
    0 0.16em 0.38em rgba(0, 0, 0, 0.3);
  perspective: 520px;
  transform-style: preserve-3d;
  isolation: isolate;
}
.flap-tile::before {
  content: "";
  position: absolute;
  z-index: 8;
  top: calc(50% - 0.5px); left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18) 18%, rgba(0, 0, 0, 0.64) 50%, rgba(255, 255, 255, 0.14) 82%, transparent);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08), 0 1px 0 rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.flap-tile::after {
  content: "";
  position: absolute;
  inset: 0; z-index: 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
  pointer-events: none;
}
.flap-half, .flap {
  position: absolute;
  left: 0;
  width: 100%; height: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 34%), #12161c;
  backface-visibility: hidden;
}
.flap-top, .flap-front { top: 0; }
.flap-bottom, .flap-back {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.06), transparent 38%), #0d1015;
}
.flap-char {
  position: absolute;
  left: 0;
  width: 100%; height: 200%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  text-shadow: 0 0.025em 0 rgba(255, 255, 255, 0.16), 0 0.09em 0.16em rgba(0, 0, 0, 0.42);
}
.flap-top .flap-char, .flap-front .flap-char { top: 0; }
.flap-bottom .flap-char, .flap-back .flap-char { bottom: 0; }
.flap { z-index: 6; will-change: transform, filter; transform-style: preserve-3d; }
.flap-front {
  transform-origin: center bottom;
  animation: flap-front var(--flap-duration, 0.12s) cubic-bezier(0.23, 1, 0.32, 1) both;
}
.flap-back {
  transform-origin: center top;
  transform: rotateX(90deg);
  animation: flap-back var(--flap-duration, 0.12s) cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes flap-front {
  0% { transform: rotateX(0deg); filter: brightness(1.08); }
  100% { transform: rotateX(-90deg); filter: brightness(0.52); }
}
@keyframes flap-back {
  0%, 45% { transform: rotateX(90deg); filter: brightness(0.58); }
  100% { transform: rotateX(0deg); filter: brightness(1); }
}

/*  scrambled text : words never break, glyphs keep their width  */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.scramble .word { display: inline-block; white-space: nowrap; }
.scramble .char { display: inline-block; text-align: center; }

/*  the arc : a shell that flies, a face that is the card  */
.arc { position: relative; width: 100%; height: 460px; margin-top: 40px; }
.card {
  position: absolute;
  top: 0; left: 50%;
  width: 230px; height: 320px;
  margin-left: -115px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  will-change: transform;
  cursor: pointer;
  outline: none;
}
.card.is-center { cursor: default; }
.card-face {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 18px;
  text-align: center;
  border-radius: 22px;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 34%, rgba(255, 255, 255, 0.46)) 0%, color-mix(in srgb, var(--brand) 20%, rgba(255, 255, 255, 0.26)) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.card:not(.is-center):hover .card-face,
.card:not(.is-center):focus-visible .card-face { transform: translateY(-10px); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 14px 30px rgba(10, 6, 8, 0.16); }
.card:focus-visible .card-face { outline: 2px solid #fff; outline-offset: 3px; }

/*  the active card wears the colours of its chain  */
.card.is-center .card-face {
  background: var(--surface);
  color: var(--ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid var(--edge);
  box-shadow: 0 14px 36px rgba(10, 6, 8, 0.22), 0 0 70px color-mix(in srgb, var(--brand) 40%, transparent);
}
.card[data-chain="ethereum"]  { --brand: #627eea; --accent: #627eea; --surface: linear-gradient(180deg, #fff 0%, #eef1fb 100%); --ink: #1a1f36; --edge: rgba(98, 126, 234, 0.35); --chip: #627eea; --chip-edge: rgba(255, 255, 255, 0.6); }
.card[data-chain="base"]      { --brand: #0000ff; --accent: #fff;    --surface: linear-gradient(180deg, #1a1aff 0%, #0000ff 100%); --ink: #fff;    --edge: rgba(255, 255, 255, 0.35); --chip: #fff;    --chip-edge: rgba(255, 255, 255, 0.8); }
.card[data-chain="robinhood"] { --brand: #ccff00; --accent: #ccff00; --surface: linear-gradient(180deg, #111 0%, #000 100%);       --ink: #fff;    --edge: rgba(204, 255, 0, 0.45);   --chip: #ccff00; --chip-edge: rgba(204, 255, 0, 0.55); }

.card-mid { display: flex; flex-direction: column; align-items: center; }
.card-tag {
  font-size: 9.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  opacity: 0.6;
}
.card.is-center .card-tag { color: var(--accent); opacity: 1; }
.chip {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(10, 6, 8, 0.07);
  box-shadow: 0 6px 16px rgba(10, 6, 8, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.chip img { width: 30px; height: 30px; object-fit: contain; }
.card.is-center .chip { background: var(--chip); border-color: var(--chip-edge); }
.card.is-center[data-chain="robinhood"] .chip { box-shadow: 0 0 28px rgba(204, 255, 0, 0.4); }
.card.is-center[data-chain="ethereum"] .chip { box-shadow: 0 8px 20px rgba(98, 126, 234, 0.4); }
.card.is-center[data-chain="base"] .chip { box-shadow: 0 8px 20px rgba(0, 0, 60, 0.35); }
.chain-name { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; margin-top: 16px; }
.card p { font-size: 13.5px; line-height: 1.55; margin-top: 8px; opacity: 0.86; letter-spacing: -0.01em; }
.card-meta {
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 10.5px; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}
.card.is-center .card-meta { color: var(--accent); border-top-color: color-mix(in srgb, var(--accent) 35%, transparent); opacity: 1; }
.arc-nav {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 200;
}
.arc-btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  transition: background-color 0.25s;
}
.arc-btn svg { width: 18px; height: 18px; }
.arc-prev { background: rgba(255, 255, 255, 0.2); color: var(--white); }
.arc-prev:hover { background: rgba(255, 255, 255, 0.32); }
.arc-prev svg { filter: drop-shadow(rgba(255, 255, 255, 0.7) 0 0 6px) drop-shadow(rgba(255, 255, 255, 0.4) 0 0 14px); }
.arc-next { background: rgba(255, 255, 255, 0.9); color: var(--card-ink); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.arc-next:hover { background: var(--white); }

/*  footer : the landing back into the night  */
.foot {
  position: relative;
  z-index: 10;
  padding: 120px var(--pad) 40px;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0) 0%, rgba(10, 6, 8, 0.88) 42%, var(--ink) 100%);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.foot-brand { grid-column: 1 / -1; }
.foot-brand .line { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 12px; line-height: 1.6; }
.foot-col h3 { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.55); margin-bottom: 18px; }
.foot-col ul { display: flex; flex-direction: column; gap: 12px; }
.foot-col a { font-size: 14px; font-weight: 500; color: var(--white); transition: opacity 0.25s; }
.foot-col a:hover { opacity: 0.65; }
.legal-line {
  max-width: 1280px;
  margin: 44px auto 0;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
}
.legal-line a { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }

/*  docs  */
.doc-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0.96), rgba(10, 6, 8, 0));
}
.doc-bar .nav { position: static; }
.doc-bar .nav-link { display: inline-block; }
.doc {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px var(--pad) 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.toc { font-size: 12px; line-height: 1.9; }
.toc-h { font-family: var(--script); font-size: 24px; color: var(--white); margin-bottom: 10px; }
.toc a { display: block; color: rgba(255, 255, 255, 0.5); transition: color 0.25s; }
.toc a:hover, .toc a.active { color: var(--white); }
.doc article { max-width: 720px; }
.doc h1 {
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.doc .lead { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.doc .note {
  margin: 26px 0 0;
  padding: 16px 18px;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}
.doc section { margin-top: 56px; scroll-margin-top: 100px; }
.doc h2 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.doc h2 .n { font-family: var(--script); font-size: 26px; margin-right: 10px; color: rgba(255, 255, 255, 0.6); }
.doc p, .doc li { font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, 0.78); }
.doc p + p { margin-top: 14px; }
.doc ul.bullets { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.doc ul.bullets li { padding-left: 18px; position: relative; }
.doc ul.bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 1px; background: rgba(255, 255, 255, 0.5); }
.doc b { color: var(--white); font-weight: 600; }
.doc code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}
.law { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.law-item {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.law-item b { display: block; font-family: var(--script); font-size: 20px; font-weight: 400; color: var(--white); margin-bottom: 6px; }
.law-item p { font-size: 14px; line-height: 1.6; }
.params { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.params th, .params td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); vertical-align: top; }
.params th { font-weight: 500; color: rgba(255, 255, 255, 0.55); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.params td { color: rgba(255, 255, 255, 0.78); }
.params td:last-child { color: var(--white); white-space: nowrap; }
.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
}
.faq summary { cursor: pointer; font-size: 15px; font-weight: 500; color: var(--white); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: rgba(255, 255, 255, 0.5); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin-top: 12px; }
.doc-foot {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px var(--pad) 48px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.doc-foot a { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }

@media (min-width: 768px) {
  :root { --pad: 44px; }
  .nav { padding: 26px 40px; }
  .mark .m-a { font-size: 24px; }
  .mark .m-b { font-size: 36px; }
  .nav-right { gap: 10px; }
  .nav-link { display: inline-block; font-size: 13px; }
  .pill { font-size: 13px; padding: 11px 22px; }
  .round { width: 42px; height: 42px; }
  .scene1 { padding: 160px 44px 52px; }
  .skyline { gap: 24px; }
  .skyline-meta { font-size: 13px; }
  .scene1-in { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 80px; }
  .headline { font-size: clamp(40px, 4vw, 58px); }
  .board { font-size: clamp(26px, 2.7vw, 40px); gap: 6px; margin-top: 18px; }
  .hero-body { font-size: 14px; }
  .hero-aside { display: flex; }
  .rules { padding-top: 14vh; }
  .arc { height: 560px; }
  .card { width: 300px; height: 420px; margin-left: -150px; }
  .card-face { border-radius: 28px; }
  .card-face { padding: 30px 26px 24px; }
  .card-tag { font-size: 10.5px; }
  .chip { width: 72px; height: 72px; }
  .chip img { width: 38px; height: 38px; }
  .chain-name { font-size: 20px; margin-top: 20px; }
  .card p { font-size: 15px; margin-top: 10px; }
  .card-meta { font-size: 11.5px; padding-top: 14px; }
  .arc-btn { width: 46px; height: 46px; }
  .foot { padding: 160px 44px 52px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .foot-brand { grid-column: auto; }
  .doc { grid-template-columns: 220px 1fr; gap: 56px; }
  .toc { position: sticky; top: 120px; align-self: start; }
  .law { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .flap { animation: none !important; }
  .card, .card-face, .chip { transition: none; }
  .scene1-in { transition: none; }
  .hero-aside .big { animation: none; }
}
