/* ORZENO — Design 1 "Vector": bold electric-blue blueprint.
   Solid blue fields, white line drawings, heavy grotesk with a serif-italic accent.
   Tokens: primitive -> semantic (per surface) -> component. */

:root {
  /* primitive — ORZENO official tokens */
  --p-midnight: #08111f;
  --p-navy: #102039;
  --p-navy-hi: #152b43;
  --p-blue: #1f69d0;
  --p-blue-deep: #174f9f;
  --p-blue-hi: #3a8dff;
  --p-cyan: #2ed3e6;
  --p-frost: #f3f7fd;
  --p-white: #ffffff;
  --p-amber: #f2b24c;

  /* semantic — default surface (dark-first, per the blueprint) */
  --bg: var(--p-midnight);
  --fg: var(--p-frost);
  --fg-2: rgb(243 247 253 / 0.74);
  --bd: rgb(243 247 253 / 0.16);
  --bd-strong: rgb(243 247 253 / 0.55);
  --acc: var(--p-cyan);
  --card: var(--p-navy);
  --inset: rgb(8 17 31 / 0.5);
  --shadow: var(--p-cyan);
  --focus: var(--p-cyan);

  --f-display: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 6px;
  --gut: clamp(18px, 4vw, 56px);
  --sec-y: clamp(72px, 8.5vw, 136px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 68px;
  --mono-size: 0.72rem;
}
.sec--night {
  --bg: var(--p-navy);
  --card: var(--p-navy-hi);
}
.sec--blue,
.hero,
.begin {
  --bg: var(--p-blue);
  --fg: var(--p-white);
  --fg-2: rgb(255 255 255 / 0.88);
  --bd: rgb(255 255 255 / 0.32);
  --bd-strong: var(--p-white);
  --acc: var(--p-white);
  --card: rgb(8 17 31 / 0.16);
  --shadow: var(--p-midnight);
  --focus: var(--p-white);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--p-midnight);
  color: var(--p-frost);
  font-family: var(--f-display);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
svg {
  display: block;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection {
  background: var(--p-blue);
  color: var(--p-white);
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shell {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--p-midnight);
  color: var(--p-white);
}
.skip:focus {
  top: 12px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--p-cyan);
  vertical-align: middle;
}
.strip,
.eyebrow,
.tag,
.badge,
.foot-note,
.sheet-bar,
.win-bar,
.win-foot,
.card-bar span,
.tour-hint,
.pause,
.switch,
.footer-col h2,
.footer-bottom,
.index-head,
.pos,
.also > span,
.ticker span,
.surf-panel small,
.mobile-note,
.begin-note {
  font-family: var(--f-mono);
  font-size: var(--mono-size);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* strip */
.strip {
  background: var(--bg);
  color: var(--fg-2);
}
.strip-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px 24px;
  flex-wrap: wrap;
  padding-block: 9px;
}
.strip-r {
  display: flex;
  align-items: center;
  gap: 6px 22px;
  flex-wrap: wrap;
}
.strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--p-cyan);
  border-bottom: 1px solid currentColor;
}
.strip a .i {
  transform: rotate(180deg);
}
.strip a:hover {
  color: var(--p-white);
}

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(8 17 31 / 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bd);
}
.header-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.logo-mark {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--acc);
  stroke-width: 2.2;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease);
}
.logo:hover .logo-mark {
  transform: rotate(90deg);
}
.logo strong {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.nav {
  display: flex;
  gap: 2px;
  margin-inline: auto;
}
.nav a {
  padding: 9px 12px;
  border-radius: var(--r);
  font-size: 0.92rem;
  font-weight: 500;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.nav a:hover {
  background: rgb(58 141 255 / 0.18);
  color: var(--p-white);
}
.nav a.is-active {
  background: var(--p-frost);
  color: var(--p-midnight);
}
.menu-btn {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1.5px solid var(--bd-strong);
  border-radius: var(--r);
}
.menu-btn .i {
  width: 22px;
  height: 22px;
}
.menu-btn .i--close,
.menu-btn[aria-expanded='true'] .i--open {
  display: none;
}
.menu-btn[aria-expanded='true'] .i--close {
  display: block;
}
.mobile-panel {
  padding: 4px var(--gut) 24px;
  border-top: 1px solid var(--bd);
  background: var(--p-midnight);
}
.mobile-panel nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bd);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mobile-panel nav span {
  font-family: var(--f-mono);
  font-size: var(--mono-size);
  color: var(--p-cyan);
}
.mobile-panel .btn {
  width: 100%;
  margin-top: 20px;
}
.mobile-note {
  margin-top: 14px;
  color: var(--fg-2);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease),
    color 0.22s var(--ease);
}
.btn .i,
.go .i,
.link .i {
  transition: transform 0.25s var(--ease);
}
.btn:hover .i,
.go:hover .i,
.link:hover .i {
  transform: translateX(4px);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}
.btn--blue {
  background: var(--p-blue);
  color: var(--p-white);
  box-shadow: 4px 4px 0 var(--p-cyan);
}
.btn--blue:hover {
  background: var(--p-blue-deep);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--p-cyan);
}
.btn--white {
  background: var(--p-white);
  color: var(--p-midnight);
  box-shadow: 5px 5px 0 var(--p-midnight);
}
.btn--white:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--p-midnight);
}
.btn--outline {
  border-color: var(--p-white);
  color: var(--p-white);
}
.btn--outline:hover {
  background: var(--p-white);
  color: var(--p-blue);
}
.link,
.go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-weight: 600;
  color: var(--acc);
  border-bottom: 1.5px solid currentColor;
}
.link {
  margin-top: 12px;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: var(--acc);
  white-space: nowrap;
}

/* type */
h1,
h2,
h3 {
  font-family: var(--f-display);
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.6rem, 5.4vw, 5.3rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
}
h1 span,
h1 em {
  display: block;
  white-space: nowrap;
}
em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
h1 em {
  font-size: 1.08em;
  line-height: 0.9;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}
h2 em {
  display: block;
  font-size: 1.06em;
  color: var(--acc);
}
h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--fg-2);
}
.eyebrow .num {
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--acc);
  color: var(--bg);
  font-weight: 500;
}
.eyebrow .rule {
  width: 40px;
  height: 1.5px;
  background: currentColor;
}
.lead {
  margin-top: 20px;
  color: var(--fg-2);
  max-width: 46ch;
}
.foot-note {
  margin-top: 26px;
  color: var(--fg-2);
  line-height: 1.8;
}
.tag {
  color: var(--acc);
  font-weight: 500;
}

/* hero */
.hero {
  position: relative;
  background:
    linear-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgb(255 255 255 / 0.09) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  color: var(--fg);
  overflow: hidden;
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 88px) clamp(40px, 5vw, 72px);
}
.js .hero-copy > * {
  animation: up 0.9s var(--ease) both;
}
.js .hero-copy > :nth-child(2) {
  animation-delay: 0.07s;
}
.js .hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}
.js .hero-copy > :nth-child(n + 4) {
  animation-delay: 0.24s;
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
.hero-body {
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  color: var(--fg-2);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 36px);
}
.marks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: var(--mono-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.marks li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.marks .i {
  color: var(--p-cyan);
}

/* hero drawing sheet */
.sheet {
  border: 1.5px solid var(--p-white);
  border-radius: var(--r);
  background: rgb(8 17 31 / 0.2);
  box-shadow: 10px 10px 0 rgb(8 17 31 / 0.35);
}
.sheet-bar,
.win-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding: 11px 16px;
  border-bottom: 1px solid var(--bd);
  color: var(--fg-2);
}
.draw {
  width: 100%;
  height: auto;
  padding: 8px 10px 0;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wf {
  stroke: rgb(255 255 255 / 0.42);
  stroke-width: 1.4;
  transition:
    stroke 0.4s var(--ease),
    transform 0.6s var(--ease);
  transform-box: fill-box;
  transform-origin: center;
}
.wf > rect:first-child {
  fill: rgb(255 255 255 / 0);
  transition: fill 0.4s var(--ease);
}
.wf text {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  fill: rgb(255 255 255 / 0.6);
  stroke: none;
  transition: fill 0.4s var(--ease);
}
.wf text.sm {
  font-size: 10px;
}
.wf .bars {
  stroke-width: 7;
  stroke-linecap: butt;
}
.wf.is-on {
  stroke: var(--p-white);
  transform: scale(1.03);
}
.wf.is-on > rect:first-child {
  fill: rgb(255 255 255 / 0.12);
}
.wf.is-on text {
  fill: var(--p-white);
}
.wf.is-on .bars {
  stroke: var(--p-cyan);
}
.draw .link {
  min-height: 0;
  stroke: rgb(255 255 255 / 0.6);
  stroke-width: 1.4;
  stroke-dasharray: 4 6;
  animation: dash 14s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -200;
  }
}
.draw .node {
  fill: var(--p-cyan);
}
.surf {
  position: relative;
  border-top: 1px solid var(--bd);
}
.surf-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.surf-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--bd);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  color: var(--fg-2);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.surf-tabs button + button {
  border-left: 1px solid var(--bd);
}
.surf-tabs span {
  font-family: var(--f-mono);
  font-size: 0.68rem;
}
.surf-tabs button:hover {
  color: var(--p-white);
}
.surf-tabs button[aria-selected='true'] {
  background: var(--p-white);
  color: var(--p-blue);
}
.surf-tabs button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  background: var(--p-cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.is-cycling .surf-tabs button[aria-selected='true']::after {
  animation: fill 6s linear forwards;
}
@keyframes fill {
  to {
    transform: scaleX(1);
  }
}
.surf-panel {
  padding: 18px 18px 16px;
  min-height: 186px;
}
.surf-panel[hidden] {
  display: none;
}
.js .surf-panel:not([hidden]) {
  animation: up 0.5s var(--ease);
}
.surf-panel + .surf-panel {
  border-top: 1px solid var(--bd);
}
.js .surf-panel + .surf-panel {
  border-top: 0;
}
.surf-panel h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.03em;
}
.surf-panel p {
  margin-top: 8px;
  font-size: 0.98rem;
  color: var(--fg-2);
}
.surf-panel small {
  display: block;
  margin-top: 12px;
  padding-right: 150px;
  color: rgb(255 255 255 / 0.78);
}
.pause {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--bd);
  border-radius: var(--r);
  color: var(--p-white);
}
.pause:hover {
  border-color: var(--p-white);
}
.pause[aria-pressed='true'] .dot {
  background: transparent;
  box-shadow: 0 0 0 1.5px var(--p-cyan);
}

/* ticker */
.ticker {
  background: var(--bg);
  color: var(--fg);
  border-block: 1.5px solid var(--bd-strong);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 15px 0 15px 26px;
  animation: marquee 40s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker span {
  font-size: 0.86rem;
  white-space: nowrap;
}
.ticker i {
  width: 8px;
  height: 8px;
  background: var(--p-cyan);
  transform: rotate(45deg);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* sections */
.sec {
  padding-block: var(--sec-y);
  background: var(--bg);
  color: var(--fg);
}
.head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 24px 64px;
  align-items: end;
  padding-bottom: clamp(26px, 3.4vw, 44px);
  margin-bottom: clamp(26px, 3.4vw, 44px);
  border-bottom: 1.5px solid var(--bd-strong);
}
.aside {
  color: var(--fg-2);
  max-width: 44ch;
  justify-self: end;
}

/* flagship cards */
.flag {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.flag-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 22px;
  border: 1.5px solid var(--bd-strong);
  border-radius: var(--r);
  background: var(--card);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.flag-num {
  font-size: clamp(4rem, 7vw, 6.4rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--p-blue-hi);
  transition: -webkit-text-stroke-color 0.3s var(--ease);
}
.flag-card .tag {
  margin-top: 22px;
}
.flag-card h3 {
  margin-top: 8px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}
.flag-card > p:not(.tag) {
  margin-top: 12px;
  color: var(--fg-2);
  transition: color 0.3s var(--ease);
}
.flag-card ul {
  margin: 20px 0 22px;
  border-top: 1px solid var(--bd);
}
.flag-card li {
  padding: 11px 0;
  border-bottom: 1px solid var(--bd);
  font-family: var(--f-mono);
  font-size: var(--mono-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.flag-card .go {
  margin-top: auto;
  align-self: flex-start;
}
.flag-card:hover,
.flag-card:focus-within {
  --bd: rgb(255 255 255 / 0.3);
  --focus: var(--p-white);
  background: var(--p-blue);
  color: var(--p-white);
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 var(--p-cyan);
}
.flag-card:hover .flag-num,
.flag-card:focus-within .flag-num {
  -webkit-text-stroke-color: var(--p-white);
}
.flag-card:hover > p:not(.tag),
.flag-card:focus-within > p:not(.tag) {
  color: rgb(255 255 255 / 0.9);
}
.flag-card:hover .tag,
.flag-card:hover .go,
.flag-card:focus-within .tag,
.flag-card:focus-within .go {
  color: var(--p-white);
}
.also {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  margin-top: 26px;
  border: 1.5px solid var(--bd-strong);
  border-radius: var(--r);
  background: var(--card);
}
.also > span {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--fg-2);
}
.also a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px;
  border-left: 1px solid var(--bd);
  font-weight: 600;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.also a:hover {
  background: var(--p-frost);
  color: var(--p-midnight);
}

/* platform tour */
.tour-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tour-tabs button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: baseline;
  padding: 18px 20px;
  border: 1.5px solid var(--bd);
  border-radius: var(--r);
  text-align: left;
  color: var(--fg-2);
  transition:
    border-color 0.25s var(--ease),
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.tour-tabs span {
  grid-row: span 2;
  font-family: var(--f-mono);
  font-size: var(--mono-size);
}
.tour-tabs b {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tour-tabs small {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tour-tabs button:hover {
  border-color: var(--p-cyan);
  color: var(--fg);
}
.tour-tabs button[aria-selected='true'] {
  border-color: var(--p-blue-hi);
  background: var(--p-blue);
  color: var(--p-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 0 -4px var(--p-cyan);
}
.tour-hint {
  margin: 16px 0 18px;
  color: var(--fg-2);
}
.win {
  border: 1.5px solid var(--bd-strong);
  border-radius: var(--r);
  background: var(--card);
}
.win[hidden] {
  display: none;
}
.js .win:not([hidden]) {
  animation: up 0.5s var(--ease);
}
.win + .win {
  margin-top: 16px;
}
.js .win + .win {
  margin-top: 0;
}
.win-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(18px, 2.6vw, 34px);
  padding: clamp(18px, 2.6vw, 32px);
}
.card {
  border: 1px solid var(--bd);
  border-radius: var(--r);
  background: var(--inset);
}
.card--plain {
  background: transparent;
}
.card-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--bd);
  color: var(--fg-2);
}
.card-bar em {
  font-size: 1.05rem;
  color: var(--p-cyan);
}
.rows > div,
.ticket > div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 15px 18px;
  border-bottom: 1px solid var(--bd);
}
.rows > div:last-child {
  border-bottom: 0;
}
.rows dt,
.ticket dt,
.notes dt,
.steps span,
.rules span,
.trio dt {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-cyan);
}
.ticket dd {
  font-weight: 600;
}
.ticket-side dd {
  display: inline-flex;
  width: max-content;
  border: 1px solid var(--bd);
  border-radius: 4px;
  overflow: hidden;
}
.ticket-side dd span {
  padding: 5px 16px;
  font-size: 0.9rem;
  color: var(--fg-2);
}
.ticket-side dd .is-on {
  background: var(--p-frost);
  color: var(--p-midnight);
}
.inactive,
.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 18px;
}
.inactive span,
.controls span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px dashed var(--bd-strong);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--fg-2);
}
.inactive em,
.controls em {
  margin-left: auto;
  font-size: 1rem;
  color: var(--fg-2);
}
.rules {
  padding: 16px 18px 4px;
}
.rules li {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  margin-bottom: 26px;
  padding: 14px 16px;
  border: 1px solid var(--bd-strong);
  border-radius: 4px;
  background: var(--card);
  font-weight: 500;
}
.rules li:last-child {
  margin-bottom: 8px;
  border-style: dashed;
}
.rules li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 28px;
  bottom: -27px;
  width: 1.5px;
  height: 26px;
  background: var(--p-cyan);
}
.side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.steps li {
  display: grid;
  gap: 2px;
  padding: 0 0 16px 20px;
  border-left: 1.5px solid var(--bd);
  position: relative;
}
.steps li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--p-cyan);
  border-radius: 50%;
  background: var(--card);
}
.steps li:last-child::before {
  background: var(--p-cyan);
}
.steps b {
  font-weight: 600;
}
.steps p,
.notes dd,
.trio dd {
  font-size: 0.94rem;
  color: var(--fg-2);
}
.notes > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--bd);
}
.notes > div:first-child {
  padding-top: 0;
}
.warn {
  margin-top: auto;
  padding: 13px 16px;
  border-left: 3px solid var(--p-amber);
  border-radius: 0 4px 4px 0;
  background: rgb(242 178 76 / 0.1);
  font-size: 0.92rem;
  color: var(--fg);
}
.depth {
  width: 100%;
  height: auto;
  padding: 14px 18px 16px;
  fill: none;
  stroke-width: 9;
}
.depth .d-a {
  stroke: var(--p-blue-hi);
}
.depth .d-b {
  stroke: var(--p-cyan);
}
.depth .d-mid {
  stroke: var(--bd-strong);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.depth text {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  fill: var(--fg-2);
  stroke: none;
  text-transform: uppercase;
}
.win-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding: 13px 18px;
  border-top: 1px solid var(--bd);
  color: var(--fg-2);
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.trio > div {
  padding-top: 16px;
  border-top: 1.5px solid var(--bd-strong);
}
.trio dd {
  margin-top: 6px;
}

/* why */
.why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1.5px solid var(--bd-strong);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
}
.why li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 26px;
  padding: clamp(24px, 3vw, 40px);
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.why li:nth-child(2n) {
  border-left: 1.5px solid var(--bd-strong);
}
.why li:nth-child(n + 3) {
  border-top: 1.5px solid var(--bd-strong);
}
.why span {
  grid-row: span 2;
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--p-blue-hi);
  transition: color 0.3s var(--ease);
}
.why h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
.why p {
  color: var(--fg-2);
  transition: color 0.3s var(--ease);
}
.why li:hover {
  background: var(--p-blue);
  color: var(--p-white);
}
.why li:hover span {
  color: var(--p-white);
}
.why li:hover p {
  color: rgb(255 255 255 / 0.9);
}

/* ecosystem */
.line-fig {
  border: 1.5px solid var(--p-white);
  border-radius: var(--r);
  background: var(--card);
}
.line {
  width: 100%;
  height: auto;
  padding: 6px 0;
}
.line .rail {
  stroke: var(--p-white);
  stroke-width: 2.5;
}
.stop circle {
  fill: var(--p-blue);
  stroke: var(--p-white);
  stroke-width: 2.5;
}
.stop--big circle {
  fill: var(--p-white);
  stroke: var(--p-midnight);
}
.stop text {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  fill: var(--p-white);
}
.stop text.no {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  fill: rgb(255 255 255 / 0.88);
  text-transform: uppercase;
}
.fig-note {
  padding: 14px 16px;
  border-top: 1px solid var(--bd);
  font-size: 0.94rem;
  color: var(--fg-2);
}
.index {
  margin-top: 30px;
  border-top: 1.5px solid var(--p-white);
}
.index-head,
.index-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.1fr) 150px minmax(0, 1.6fr);
  gap: 20px;
  align-items: center;
}
.index-head {
  padding: 13px 0;
  border-bottom: 1px solid var(--bd);
  color: var(--fg-2);
}
.index-row {
  min-height: 76px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bd);
  transition:
    background-color 0.25s var(--ease),
    padding 0.25s var(--ease);
}
.index-row:hover {
  background: rgb(255 255 255 / 0.1);
  padding-inline: 14px;
}
.index-row .no {
  font-family: var(--f-mono);
  font-size: var(--mono-size);
}
.index-row h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}
.pos {
  width: max-content;
  padding: 4px 10px;
  border: 1px solid var(--bd-strong);
  border-radius: 3px;
}
.pos--flag {
  background: var(--p-white);
  color: var(--p-blue);
  font-weight: 500;
}
.index-row p {
  color: var(--fg-2);
}

/* how it works */
.moves {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 26px;
}
.moves::before,
.moves::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bd);
}
.moves::after {
  background: var(--p-cyan);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}
.moves li {
  padding: 24px 22px 26px;
  border: 1.5px solid var(--bd-strong);
  border-radius: var(--r);
  background: var(--card);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.moves li:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--p-blue);
}
.move-no {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--p-blue-hi);
}
.moves .tag {
  margin-top: 16px;
}
.moves h3 {
  margin-top: 6px;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
}
.moves li > p:not(.tag) {
  margin-top: 10px;
  font-size: 0.97rem;
  color: var(--fg-2);
}

/* traders & creators */
.sides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.side-card {
  padding: clamp(24px, 3.4vw, 44px);
  border: 1.5px solid var(--bd-strong);
  border-radius: var(--r);
  background: var(--card);
}
.side-card--blue {
  --acc: var(--p-white);
  --fg-2: rgb(255 255 255 / 0.9);
  --bd: rgb(255 255 255 / 0.3);
  --focus: var(--p-white);
  background: var(--p-blue);
  border-color: var(--p-blue-hi);
}
.side-card h3 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.side-card > p:not(.tag) {
  margin-top: 14px;
  color: var(--fg-2);
}
.side-card ul {
  margin-top: 24px;
  border-top: 1px solid var(--bd);
}
.side-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--bd);
}
.side-card li .i {
  margin-top: 4px;
  color: var(--p-cyan);
}
.absent {
  margin-top: 20px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1.5px dashed var(--bd-strong);
  border-radius: var(--r);
}
.absent h3 {
  font-size: 1.3rem;
}
.absent p {
  margin-top: 8px;
  color: var(--fg-2);
  max-width: 90ch;
}

/* faq */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}
.faq-list {
  border-top: 1.5px solid var(--bd-strong);
}
.faq-list details {
  border-bottom: 1px solid var(--bd);
  transition: background-color 0.25s var(--ease);
}
.faq-list details[open] {
  background: var(--card);
}
.faq-list summary {
  display: flex;
  align-items: baseline;
  gap: 18px;
  min-height: 70px;
  padding: 20px 14px;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--p-cyan);
}
.faq-list summary span {
  font-family: var(--f-mono);
  font-size: var(--mono-size);
  font-weight: 400;
  color: var(--p-cyan);
}
.faq-list summary .i {
  align-self: center;
  margin-left: auto;
  width: 22px;
  height: 22px;
  color: var(--p-cyan);
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary .i {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 48px 24px 52px;
  color: var(--fg-2);
}

/* begin */
.begin {
  background:
    linear-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgb(255 255 255 / 0.09) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
  color: var(--fg);
  padding-block: clamp(80px, 10vw, 160px);
}
.begin h2 {
  font-size: clamp(2.6rem, 8vw, 7.4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.begin-body {
  margin-top: clamp(22px, 3vw, 36px);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--fg-2);
  max-width: 52ch;
}
.begin-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-top: 30px;
  color: var(--fg-2);
}

/* footer */
.footer {
  padding: clamp(52px, 6vw, 84px) 0 104px;
  background: var(--bg);
  color: var(--fg);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: 36px;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--fg-2);
  max-width: 44ch;
}
.footer-col {
  display: grid;
  align-content: start;
  gap: 2px;
}
.footer-col h2 {
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--p-cyan);
}
.footer-col a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.95rem;
  color: var(--fg-2);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--p-white);
}
.legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--bd);
  font-size: 0.88rem;
  color: var(--fg-2);
  max-width: 110ch;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px 32px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--fg-2);
}

/* design switcher */
.switch {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1.5px solid var(--p-white);
  border-radius: var(--r);
  background: var(--p-midnight);
  color: rgb(243 247 253 / 0.8);
  box-shadow: 4px 4px 0 var(--p-blue);
  transition: transform 0.2s var(--ease);
}
.switch b {
  font-weight: 500;
  color: var(--p-cyan);
}
.switch .i {
  color: var(--p-cyan);
}
.switch:hover {
  transform: translate(-2px, -2px);
}

/* reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease) var(--d, 0ms),
    transform 0.7s var(--ease) var(--d, 0ms),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    padding 0.25s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js .flag-card[data-reveal].is-in:hover,
.js .flag-card[data-reveal].is-in:focus-within {
  transform: translate(-4px, -4px);
  transition-delay: 0ms;
  transition-duration: 0.3s;
}
.js .moves li[data-reveal].is-in:hover {
  transform: translate(-3px, -3px);
  transition-delay: 0ms;
  transition-duration: 0.3s;
}
.is-paused *,
.is-paused *::before,
.is-paused *::after {
  animation-play-state: paused !important;
}

/* responsive */
@media (max-width: 1120px) {
  .nav,
  .header-cta {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .flag {
    grid-template-columns: minmax(0, 1fr);
  }
  .flag-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 26px;
  }
  .flag-card > * {
    grid-column: 2;
  }
  .flag-card .flag-num {
    grid-column: 1;
    grid-row: 1 / span 6;
  }
  .flag-card .tag {
    margin-top: 0;
  }
  .also {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .also > span {
    grid-column: 1 / -1;
    min-height: 44px;
    border-bottom: 1px solid var(--bd);
  }
  .also a:nth-of-type(odd) {
    border-left: 0;
  }
  .also a:nth-of-type(n + 3) {
    border-top: 1px solid var(--bd);
  }
  .moves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 920px) {
  .hero-in,
  .head,
  .faq,
  .win-body,
  .sides {
    grid-template-columns: minmax(0, 1fr);
  }
  .aside {
    justify-self: start;
  }
  .index-head {
    display: none;
  }
  .index-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 6px 14px;
    align-items: baseline;
  }
  .index-row p {
    grid-column: 2 / -1;
  }
  .line {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .tour-hint {
    display: none;
  }
  .tour-tabs {
    margin-bottom: 16px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  :root {
    --mono-size: 0.68rem;
  }
  h1 {
    font-size: clamp(2.2rem, 11.4vw, 3.6rem);
  }
  .strip-in > span:first-child {
    display: none;
  }
  .strip-in,
  .strip-r {
    justify-content: center;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .surf-tabs button {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 10px;
    font-size: 0.8rem;
    line-height: 1.25;
  }
  .surf-panel {
    min-height: 0;
    padding-bottom: 70px;
  }
  .surf-panel small {
    padding-right: 0;
  }
  .flag-card {
    display: flex;
  }
  .flag-card .tag {
    margin-top: 18px;
  }
  .tour-tabs,
  .trio,
  .why,
  .moves {
    grid-template-columns: minmax(0, 1fr);
  }
  .tour-tabs button[aria-selected='true'] {
    transform: none;
  }
  .why li:nth-child(n) {
    border-left: 0;
    border-top: 1.5px solid var(--bd-strong);
  }
  .why li:first-child {
    border-top: 0;
  }
  .rows > div,
  .ticket > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .inactive em,
  .controls em {
    margin-left: 0;
    flex-basis: 100%;
  }
  .faq-list details p {
    padding: 0 14px 22px;
  }
  .faq-list summary {
    gap: 12px;
    padding-inline: 4px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .switch {
    right: 10px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .moves::after {
    transform: scaleX(1);
  }
}
