/* OnlyStreets — site stylesheet (shared by / and /app/). */
/* ==== Fonts ==== */
@font-face {
  font-family: Geist Pixel Circle;
  src: url(/assets/fonts/GeistPixel-Circle.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist Pixel Square;
  src: url(/assets/fonts/GeistPixel-Square.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url(/assets/fonts/Geist-400.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url(/assets/fonts/Geist-500.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Geist Mono;
  src: url(/assets/fonts/GeistMono-500.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
/* ==== Design tokens ==== */
:root {
  --void: #0f0d0c;
  --surface: #1a1614;
  --raise: #221d1a;
  --line: #2e2824;
  --edge: #756b62;
  --paper: #f4f1ea;
  --paper-2: #d6d0c5;
  --muted: #a39c92;
  --signal: #ffd84d;
  --led: #ffe58a;
  --on-signal: #14110f;
  --up: #3fd47a;
  --up-soft: #3fd47a24;
  --down: #ff5a4e;
  --down-soft: #ff5a4e24;
  --scrim: #0f0d0ccc;
  --scrim-bar: #0f0d0ceb;
  --led-off: #2a2420;
  --led-dim: #4a3d1f;
  --scanline: #ffffff0a;
  --glow-seg: 0 0 6px #ffc83c8c;
  --font-led: "Geist Pixel Circle", "Geist Mono", ui-monospace, monospace;
  --font-pixel: "Geist Pixel Square", "Geist Mono", ui-monospace, monospace;
  --font-sans:
    Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --container: 1312px;
  --margin-desktop: 64px;
  --gutter-desktop: 24px;
  --margin-mobile: 20px;
  --gutter-mobile: 16px;
  --section-desktop: 128px;
  --section-mobile: 72px;
  --h-nav-desktop: 72px;
  --h-nav-mobile: 56px;
  --h-button-l: 56px;
  --h-button-m: 40px;
  --h-monitor-bar: 32px;
  --radius-none: 0px;
  --radius-dot: 50%;
  --glow-led: 0 0 1px #ffecaae6, 0 0 10px #ffc4326b;
  --glow-dot: 0 0 5px #ffc83cf2, 0 0 14px #ffa00066;
  --focus: 0 0 0 2px #0f0d0c, 0 0 0 4px #ffd84d;
  --dur-micro: .12s;
  --dur-ui: .24s;
  --dur-reveal: .48s;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-snap: cubic-bezier(.3, .7, .2, 1);
  --aspect-shot: 4 / 5;
}
/* ==== Base ==== */
*,
:before,
:after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--void);
  color: var(--paper);
  font: 400 16px/26px var(--font-sans);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
html {
  background: var(--void);
}
/* ==== Design-system primitives (os-*): labels, LED type, brand, nav, buttons, chips, monitors ==== */
.os-row {
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
  display: flex;
}
:where(a, button, [tabindex]):focus-visible {
  box-shadow: var(--focus);
  outline: none;
}
.os-label {
  font: 500 12px/16px var(--font-mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.os-rec {
  border-radius: var(--radius-dot);
  background: var(--down);
  flex: none;
  width: 8px;
  height: 8px;
  animation: 1s step-end infinite os-blink;
  display: inline-block;
}
@keyframes os-blink {
  50% {
    opacity: 0.15;
  }
}
.os-led {
  font-family: var(--font-led);
  color: var(--led);
  text-shadow: var(--glow-led);
  margin: 0;
  font-weight: 400;
}
.os-led.d1 {
  font-size: 80px;
  line-height: 84px;
}
.os-led.d2 {
  font-size: 56px;
  line-height: 60px;
}
.os-led.d1-m {
  font-size: 40px;
  line-height: 42px;
}
.os-led.d2-m {
  font-size: 32px;
  line-height: 36px;
}
.os-led.os-sub {
  color: var(--paper-2);
  text-shadow: none;
  text-wrap: balance;
  font-size: 32px;
  line-height: 36px;
}
.os-sub .lit {
  color: var(--led);
  text-shadow: var(--glow-led);
}
.os-brand {
  align-items: center;
  gap: var(--space-3);
  font: 400 24px/1 var(--font-pixel);
  color: var(--paper);
  text-decoration: none;
  display: inline-flex;
}
.os-brand svg {
  flex: none;
  width: 40px;
  height: 40px;
}
.os-brand svg path,
.os-brand svg circle {
  transition: transform var(--dur-ui) var(--ease-snap);
  transform-box: view-box;
}
.os-brand svg circle {
  transform-origin: 22px 22px;
}
.os-brand:hover .c-tl {
  transform: translate(2.5px, 2.5px);
}
.os-brand:hover .c-tr {
  transform: translate(-2.5px, 2.5px);
}
.os-brand:hover .c-bl {
  transform: translate(2.5px, -2.5px);
}
.os-brand:hover .c-br {
  transform: translate(-2.5px, -2.5px);
}
.os-brand:hover circle {
  transform: scale(1.25);
}
.os-nav {
  gap: var(--space-8);
  font: 500 12px/16px var(--font-mono);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: flex;
}
.os-nav a {
  color: var(--paper-2);
  white-space: nowrap;
  transition: color var(--dur-micro) var(--ease-out);
  text-decoration: none;
}
.os-nav a:hover {
  color: var(--led);
}
.os-btn {
  height: var(--h-button-l);
  background: var(--signal);
  color: var(--on-signal);
  font: 400 16px/1 var(--font-pixel);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-out);
  border: 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  text-decoration: none;
  display: inline-flex;
}
.os-btn:hover {
  background: var(--led);
}
.os-btn.static {
  cursor: default;
}
.os-btn.static:hover {
  background: var(--signal);
}
.os-btn.m {
  height: var(--h-button-m);
  padding: 0 var(--space-4);
  font-size: 14px;
}
.os-btn.ghost {
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--edge);
  background: 0 0;
}
.os-btn.ghost:hover {
  background: var(--raise);
  box-shadow: inset 0 0 0 1px var(--paper-2);
}
.os-btn.ghost:focus-visible {
  box-shadow:
    inset 0 0 0 1px var(--edge),
    var(--focus);
}
.os-btn.block {
  width: 100%;
}
.os-seg {
  box-shadow: inset 0 0 0 1px var(--edge);
  display: inline-flex;
}
.os-seg button {
  height: var(--h-button-m);
  padding: 0 var(--space-4);
  color: var(--muted);
  font: 400 14px/1 var(--font-pixel);
  cursor: pointer;
  background: 0 0;
  border: 0;
}
.os-seg button:hover {
  color: var(--paper);
}
.os-seg button[aria-pressed="true"] {
  background: var(--signal);
  color: var(--on-signal);
}
.os-chip {
  height: 22px;
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.24px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  align-items: center;
  padding: 0 7px;
  display: inline-flex;
}
.os-chip.tick,
.os-chip.new {
  background: var(--signal);
  color: var(--on-signal);
}
.os-chip.up {
  background: var(--up-soft);
  color: var(--up);
}
.os-chip.down {
  background: var(--down-soft);
  color: var(--down);
}
.os-mon {
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
  display: grid;
}
.os-bar {
  height: var(--h-monitor-bar);
  padding: 0 var(--space-3);
  border-bottom: 1px solid var(--line);
  font: 500 11px/14px var(--font-mono);
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
  overflow: hidden;
}
.os-bar.bottom {
  border-bottom: 0;
  border-top: 1px solid var(--line);
}
.os-bar .l {
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  display: flex;
}
.os-shot {
  aspect-ratio: var(--aspect-shot);
  background: var(--void);
  position: relative;
  overflow: hidden;
}
.os-shot img,
.os-shot video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
.os-shot picture {
  display: contents;
}
.os-shot:after {
  content: "";
  background: repeating-linear-gradient(
    to bottom,
    var(--scanline) 0 1px,
    transparent 1px 4px
  );
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.os-br {
  z-index: 1;
  border: 0 solid var(--led);
  width: 18px;
  height: 18px;
  transition: transform var(--dur-ui) var(--ease-snap);
  position: absolute;
}
.os-br.tl {
  border-top-width: 2px;
  border-left-width: 2px;
  top: 12px;
  left: 12px;
}
.os-br.tr {
  border-top-width: 2px;
  border-right-width: 2px;
  top: 12px;
  right: 12px;
}
.os-br.bl {
  border-bottom-width: 2px;
  border-left-width: 2px;
  bottom: 12px;
  left: 12px;
}
.os-br.br {
  border-bottom-width: 2px;
  border-right-width: 2px;
  bottom: 12px;
  right: 12px;
}
.os-focus {
  z-index: 1;
  border: 2px solid var(--led);
  position: absolute;
}
.os-focus b {
  background: var(--led);
  color: var(--on-signal);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.44px;
  padding: 5px 6px;
  position: absolute;
  top: -22px;
  left: -1px;
}
.os-tag {
  z-index: 1;
  background: var(--scrim);
  color: var(--led);
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.88px;
  padding: 6px 8px;
  position: absolute;
  bottom: 12px;
  left: 12px;
}
.os-card {
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background var(--dur-micro) var(--ease-out);
  grid-template-rows: auto auto 1fr;
  grid-template-columns: minmax(0, 1fr);
  display: grid;
}
.os-card:hover {
  background: var(--raise);
}
.os-card:hover .os-br.tl {
  transform: translate(6px, 6px);
}
.os-card:hover .os-br.tr {
  transform: translate(-6px, 6px);
}
.os-card:hover .os-br.bl {
  transform: translate(6px, -6px);
}
.os-card:hover .os-br.br {
  transform: translate(-6px, -6px);
}
.os-meta {
  padding: 14px var(--space-4) var(--space-4);
  grid-template-rows: auto auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  display: grid;
}
.os-meta .t {
  font: 500 17px/22px var(--font-sans);
  color: var(--paper);
  text-wrap: balance;
  margin: 0;
}
.os-meta .loc {
  font: 500 11px/14px var(--font-mono);
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  align-self: start;
  margin: 0;
}
.os-meta .d {
  justify-content: space-between;
  gap: var(--space-2);
  border-top: 1px solid var(--line);
  font: 500 12px/16px var(--font-mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin: 0;
  padding-top: 10px;
  display: flex;
}
.os-meta .d b {
  color: var(--paper);
  font-weight: 500;
}
/* ==== LED dot matrix ==== */
.os-matrix {
  grid-template-columns: repeat(9, 1fr);
  gap: 5px;
  width: 120px;
  display: grid;
}
.os-matrix i {
  aspect-ratio: 1;
  border-radius: var(--radius-dot);
  background: var(--led-off);
}
.os-matrix i.on {
  background: var(--led);
  box-shadow: var(--glow-dot);
}
/* ==== System message box + checkmarks ==== */
.os-sys {
  border: 1px solid var(--edge);
  background: var(--void);
}
.os-sys .msg {
  font: 400 32px/36px var(--font-led);
  color: var(--led);
  text-shadow: var(--glow-led);
  text-wrap: balance;
  margin: 0;
  padding: calc(24px - 0.125em) 24px 24px calc(24px - 0.07em);
}
.os-check {
  flex: none;
  width: 16px;
  height: 16px;
  display: block;
}
.os-check rect {
  fill: var(--signal);
}
.os-check path {
  fill: none;
  stroke: var(--on-signal);
  stroke-width: 2px;
  stroke-linecap: square;
}
@media (prefers-reduced-motion: reduce) {
  .os-rec {
    animation: none;
  }
  .os-br,
  .os-brand svg path,
  .os-brand svg circle {
    transition: none;
  }
}
/* ==== Page layout ==== */
.wrap {
  max-width: 1440px;
  padding-inline: var(--margin-desktop);
  margin: 0 auto;
}
.lead {
  font: 400 20px/30px var(--font-sans);
  color: var(--paper-2);
  text-wrap: pretty;
  margin: 0;
}
.os-matrix i.dim {
  background: var(--led-dim);
}
/* ==== Site header ==== */
.site-head {
  z-index: 20;
  height: var(--h-nav-desktop);
  border-bottom: 1px solid var(--line);
  background: var(--scrim-bar);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
}
.site-head .wrap {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 100%;
  display: grid;
}
.site-head .os-brand {
  justify-self: start;
}
.site-head .os-nav {
  display: flex;
}
.site-head .os-btn {
  justify-self: end;
}
.menu-btn {
  display: none;
}
/* ==== Hero ==== */
.hero {
  position: relative;
}
.hero-grid {
  grid-template-rows: auto auto 1fr auto;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding-block: 48px 0;
  display: grid;
}
.hero-a {
  grid-area: 1/1 / auto/7;
}
.hero-b {
  grid-area: 2/1 / auto/7;
}
.hero-mon {
  grid-area: 1/8/5/13;
  align-self: start;
}
.hero-mon video {
  opacity: 0;
  transition: opacity var(--dur-ui) var(--ease-out);
  position: absolute;
  inset: 0;
}
.hero-mon video.on {
  opacity: 1;
}
.onchain {
  grid-area: 3/1 / auto/7;
  align-self: end;
  margin-top: 32px;
  margin-left: -0.03em;
}
.pipe {
  grid-area: 4/1 / auto/7;
  margin-top: 32px;
}
.hero h1 {
  margin: -0.15em 0 0 -0.075em;
  font-size: clamp(48px, 6vw - 6px, 80px);
  line-height: 1.05;
}
.hero-b .lead {
  max-width: 560px;
  margin-top: 24px;
}
.hero-btns {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  display: flex;
}
.flash {
  z-index: 2;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease-out;
  position: absolute;
  inset: 0;
}
/* ==== Hero pipeline: moment.jpeg -> progress segments -> coin ==== */
.pipe {
  border-top: 1px solid var(--line);
  gap: 12px;
  padding-top: 24px;
  display: grid;
}
.pipe-top {
  white-space: nowrap;
  justify-content: space-between;
  gap: 16px;
  display: flex;
}
.pipe-top .st {
  color: var(--led);
}
.pipe-row {
  align-items: center;
  gap: 12px;
  display: flex;
}
.file {
  border: 1px solid var(--line);
  height: 32px;
  font: 500 12px/1 var(--font-mono);
  color: var(--paper-2);
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  display: inline-flex;
}
.segs {
  flex: 1;
  gap: 3px;
  min-width: 0;
  height: 20px;
  display: flex;
}
.segs i {
  background: var(--led-off);
  flex: 1;
}
.segs i.on {
  background: var(--led);
  box-shadow: var(--glow-seg);
}
.pipe .os-matrix {
  flex: none;
  gap: 1.5px;
  width: 44px;
}
.os-bar.is-city .district {
  display: none;
}
.os-bar.is-clip > span:last-child {
  text-overflow: ellipsis;
  min-width: 0;
  overflow: hidden;
}
/* ==== Sections + "How it works" steps ==== */
.section {
  padding-top: var(--section-desktop);
  scroll-margin-top: var(--h-nav-desktop);
}
.sec-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  display: flex;
}
.sec-head h2 {
  margin: 0 0 0 -0.07em;
  font-size: 56px;
  line-height: 60px;
}
.sec-head .os-sub {
  text-align: right;
  margin: 0 -0.03em 0 0;
}
.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  display: grid;
}
.os-step {
  grid-template-rows: auto auto 1fr;
}
.step-pips {
  gap: 3px;
  display: inline-flex;
}
.step-pips i {
  background: var(--line);
  width: 6px;
  height: 6px;
}
.step-pips i.on {
  background: var(--led);
}
.os-bar .n {
  color: var(--led);
}
.stage {
  background: var(--void);
  border-bottom: 1px solid var(--line);
  place-items: center;
  height: 232px;
  display: grid;
}
.stage .os-matrix {
  gap: 6px;
  width: 144px;
}
.step-text {
  align-content: start;
  gap: 8px;
  padding: 20px 24px 28px;
  display: grid;
}
.step-text h3 {
  font: 500 20px/26px var(--font-sans);
  color: var(--paper);
  text-wrap: balance;
  margin: 0;
}
.step-text p {
  font: 400 16px/26px var(--font-sans);
  color: var(--paper-2);
  text-wrap: pretty;
  margin: 0;
}
.os-step:hover .os-matrix i.on {
  animation: 0.36s steps(3, end) both os-led-in;
}
@keyframes os-led-in {
  0% {
    background: var(--led-off);
    box-shadow: none;
  }
}
/* ==== Coin board (design-system component, not used on current pages) ==== */
.toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  display: flex;
}
.coins {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  display: grid;
}
.coins .top {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}
/* ==== "The rule" section ==== */
.os-sys .msg {
  padding: calc(48px - 0.125em) 32px 48px calc(32px - 0.07em);
  font-size: 56px;
  line-height: 60px;
}
.rule-list {
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}
.rule {
  padding: 24px 32px 32px;
}
.rule + .rule {
  border-left: 1px solid var(--line);
}
.rule .os-label {
  color: var(--paper-2);
  align-items: center;
  gap: 12px;
  margin: 0;
  display: flex;
}
.rule .os-label span {
  text-wrap: balance;
}
.rule p.b {
  font: 400 16px/26px var(--font-sans);
  color: var(--paper-2);
  text-wrap: pretty;
  margin: 12px 0 0;
}
/* ==== CTA: "Your next coin is around the corner" + seeking focus box ==== */
.cta {
  margin-top: var(--section-desktop);
  border-block: 1px solid var(--line);
  background-color: var(--void);
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1.4px);
  background-position: 8px 8px;
  background-size: 16px 16px;
}
.cta .wrap {
  column-gap: var(--gutter-desktop);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  padding-block: 128px;
  display: grid;
}
.cta-text {
  grid-column: 1/8;
}
.cta h2 {
  margin: -0.15em 0 0 -0.0375em;
  font-size: clamp(48px, 6vw - 6px, 80px);
  line-height: 1.05;
}
.cta h2 .l2 {
  margin-left: -0.0375em;
}
.cta .lead {
  max-width: 560px;
  margin-top: 24px;
}
.cta .os-btn {
  margin-top: 32px;
}
.corner-mon {
  grid-column: 9/13;
}
.corner-mon .seek {
  width: 51%;
  height: 40.8%;
  animation: os-seek 7s var(--ease-snap) infinite;
  top: 30.6%;
  left: 24%;
}
.corner-mon .seek b {
  animation: 7s step-end infinite os-seek-tag;
}
.corner-mon .flash {
  animation: 7s linear infinite os-seek-flash;
}
@keyframes os-seek {
  0%,
  6% {
    width: 30%;
    height: 24%;
    top: 56%;
    left: 10%;
  }
  22%,
  30% {
    width: 26%;
    height: 20.8%;
    top: 20%;
    left: 40%;
  }
  44%,
  92% {
    width: 51%;
    height: 40.8%;
    top: 30.6%;
    left: 24%;
  }
  to {
    width: 30%;
    height: 24%;
    top: 56%;
    left: 10%;
  }
}
@keyframes os-seek-tag {
  0% {
    opacity: 0;
  }
  46% {
    opacity: 1;
  }
  92% {
    opacity: 0;
  }
}
@keyframes os-seek-flash {
  0%,
  44% {
    opacity: 0;
  }
  45% {
    opacity: 0.28;
  }
  50%,
  to {
    opacity: 0;
  }
}
/* ==== Footer billboard ==== */
.foot {
  padding-top: 96px;
}
.foot .wrap {
  container-type: inline-size;
}
.billboard {
  white-space: nowrap;
  margin: 0 0 0 -0.701cqw;
  font-size: 18.277cqw;
  line-height: 0.9;
}
.foot-meta {
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto 1fr;
  gap: 12px 24px;
  margin-top: 48px;
  padding: 24px 0 32px;
  display: grid;
}
.foot-meta > :last-child {
  justify-self: end;
}
.foot-meta a {
  color: var(--paper-2);
  text-decoration: none;
}
.foot-meta a:hover {
  color: var(--led);
}
/* ==== Mobile sticky CTA + menu ==== */
.sticky-cta {
  display: none;
}
.menu {
  z-index: 40;
  background: var(--void);
  flex-direction: column;
  display: flex;
  position: fixed;
  inset: 0;
}
.menu[hidden] {
  display: none;
}
.menu-head {
  height: var(--h-nav-mobile);
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  display: flex;
}
.menu nav {
  padding: 16px 20px 0;
  display: grid;
}
.menu nav a {
  border-bottom: 1px solid var(--line);
  font: 400 28px/32px var(--font-pixel);
  color: var(--paper);
  padding: 20px 0;
  text-decoration: none;
  display: block;
}
.menu nav a:hover {
  color: var(--led);
}
.menu-foot {
  gap: 16px;
  margin-top: auto;
  padding: 20px 20px 24px;
  display: grid;
}
.menu-foot p {
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  display: flex;
}
.menu-foot p a {
  color: var(--paper-2);
  text-decoration: none;
}
.os-btn.menu-btn,
.menu .os-btn.menu-close {
  width: 44px;
  height: 44px;
  padding: 0;
}
.steps:focus-visible {
  box-shadow: var(--focus);
}
[tabindex="-1"]:focus {
  box-shadow: none;
  outline: none;
}
/* ==== /app/ "Coming soon" page ==== */
.soon {
  padding-bottom: 0;
}
.soon main {
  min-height: calc(100vh - var(--h-nav-desktop));
  text-align: center;
  place-content: center;
  justify-items: center;
  gap: 48px;
  padding: 24px;
  display: grid;
  overflow-x: clip;
}
@supports (height: 100svh) {
  .soon main {
    min-height: calc(100svh - var(--h-nav-desktop));
  }
}
.soon h1 {
  text-transform: uppercase;
  font-size: 56px;
  line-height: 60px;
}
.soon-cam {
  --far-x: 36px;
  --far-y: 24px;
  padding: 32px 40px;
  position: relative;
}
.soon-br {
  --x: -1;
  --y: -1;
  border: 0 solid var(--led);
  width: 24px;
  height: 24px;
  animation: 6s infinite both soon-snap;
  position: absolute;
}
.soon-br.tl {
  border-top-width: 2px;
  border-left-width: 2px;
  top: 0;
  left: 0;
}
.soon-br.tr {
  --x: 1;
  border-top-width: 2px;
  border-right-width: 2px;
  top: 0;
  right: 0;
}
.soon-br.bl {
  --y: 1;
  border-bottom-width: 2px;
  border-left-width: 2px;
  bottom: 0;
  left: 0;
}
.soon-br.br {
  --x: 1;
  --y: 1;
  border-bottom-width: 2px;
  border-right-width: 2px;
  bottom: 0;
  right: 0;
}
.soon-flash {
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  animation: 6s linear infinite soon-flash;
  position: absolute;
  inset: 0;
}
.soon h1.live span {
  color: var(--led-dim);
  text-shadow: none;
  animation: 6s step-end infinite both soon-led;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes soon-snap {
  0%,
  8% {
    transform: translate(
      calc(var(--x) * var(--far-x)),
      calc(var(--y) * var(--far-y))
    );
    opacity: 0.35;
    animation-timing-function: var(--ease-snap);
  }
  12%,
  80% {
    opacity: 1;
    animation-timing-function: var(--ease-out);
    transform: none;
  }
  90%,
  to {
    transform: translate(
      calc(var(--x) * var(--far-x)),
      calc(var(--y) * var(--far-y))
    );
    opacity: 0.35;
  }
}
@keyframes soon-flash {
  0%,
  11.9% {
    opacity: 0;
  }
  12% {
    opacity: 0.16;
  }
  13.2%,
  to {
    opacity: 0;
  }
}
@keyframes soon-led {
  0% {
    color: var(--led-dim);
    text-shadow: none;
  }
  12.5% {
    color: var(--led);
    text-shadow: var(--glow-led);
  }
  80% {
    color: var(--led-dim);
    text-shadow: none;
  }
}
/* ==== Responsive breakpoints ==== */
@media (width>=1100px) and (width<=1391px) {
  .step-text h3 {
    min-height: 52px;
  }
}
@media (width>=900px) and (width<=1099px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width>=900px) and (width<=1199px) {
  .corner-mon {
    grid-column: 8/13;
  }
  .hero-a,
  .hero-b,
  .onchain {
    grid-column: 1/8;
  }
  .pipe {
    grid-area: 5/1 / auto/-1;
  }
  .onchain {
    margin-bottom: -0.22em;
  }
}
@media (width>=900px) and (width<=1023px) {
  .hero-b .lead {
    font-size: 17px;
    line-height: 26px;
  }
}
@media (width<=899px) {
  .wrap {
    padding-inline: var(--margin-mobile);
  }
  body {
    padding-bottom: 85px;
  }
  .lead {
    font-size: 17px;
    line-height: 26px;
  }
  .site-head {
    height: var(--h-nav-mobile);
  }
  .site-head .wrap {
    grid-template-columns: 1fr auto;
  }
  .site-head .os-nav,
  .site-head .os-btn.head-cta {
    display: none;
  }
  .os-brand {
    gap: 10px;
    font-size: 20px;
  }
  .os-brand svg {
    width: 32px;
    height: 32px;
  }
  .site-head .menu-btn {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 24px 0;
  }
  .hero-a,
  .hero-b,
  .hero-mon,
  .onchain,
  .pipe {
    grid-area: auto/1;
  }
  .hero h1 {
    margin-top: 8px;
    font-size: 40px;
    line-height: 42px;
  }
  .onchain {
    margin-top: 32px;
  }
  .hero-mon {
    margin-top: 24px;
  }
  .hero-btns {
    flex-wrap: nowrap;
    margin-top: 24px;
  }
  .hero-btns .os-btn {
    flex: 1;
    padding: 0 12px;
  }
  .pipe {
    margin-top: 24px;
    padding-top: 20px;
  }
  .pipe-row {
    gap: 10px;
  }
  .pipe .os-matrix {
    width: 36px;
  }
  .section {
    padding-top: var(--section-mobile);
    scroll-margin-top: var(--h-nav-mobile);
  }
  .sec-head {
    display: block;
  }
  .sec-head h2 {
    font-size: 40px;
    line-height: 42px;
  }
  .sec-head .os-sub {
    text-align: left;
    margin: 8px 0 0 -0.075em;
  }
  .steps {
    margin: 24px calc(var(--margin-mobile) * -1) 0;
    padding: 0 0 0 var(--margin-mobile);
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--margin-mobile);
    scrollbar-width: none;
    gap: 16px;
    display: flex;
    overflow-x: auto;
  }
  .steps::-webkit-scrollbar {
    display: none;
  }
  .steps > * {
    scroll-snap-align: start;
    flex: 0 0 304px;
  }
  .steps:after {
    content: "";
    flex: 0 0 4px;
  }
  .stage {
    height: 200px;
  }
  .stage .os-matrix {
    gap: 5px;
    width: 120px;
  }
  .step-text {
    padding: 20px 20px 24px;
  }
  .toolbar {
    margin-top: 24px;
  }
  .toolbar .os-seg {
    width: 100%;
    display: flex;
  }
  .toolbar .os-seg button {
    flex: 1;
  }
  .coins {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .coins .os-card:nth-child(n + 9) {
    display: none;
  }
  .coins .os-bar {
    padding: 0 10px;
  }
  .coins .os-meta {
    gap: 8px;
    padding: 12px;
  }
  .coins .os-meta .t {
    min-height: 40px;
    font-size: 15px;
    line-height: 20px;
  }
  .coins .os-meta .d {
    padding-top: 8px;
    font-size: 11px;
    line-height: 14px;
  }
  .os-sys .msg {
    padding: calc(24px - 0.125em) 20px calc(24px - 0.18em) calc(20px - 0.07em);
    font-size: 32px;
    line-height: 36px;
  }
  .rule-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .rule {
    padding: 16px 20px 20px;
  }
  .rule + .rule {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .rule p.b {
    margin-top: 8px;
  }
  .cta {
    margin-top: var(--section-mobile);
  }
  .cta .wrap {
    padding-block: 56px;
    display: block;
  }
  .cta h2 {
    font-size: 40px;
    line-height: 42px;
  }
  .cta .lead {
    margin-top: 16px;
  }
  .cta .os-btn {
    width: 100%;
    margin-top: 24px;
    display: flex;
  }
  .corner-mon {
    margin-top: 32px;
  }
  .foot {
    padding-top: 48px;
  }
  .foot-meta {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    margin-top: 24px;
    padding: 16px 0 24px;
    display: grid;
  }
  .foot-meta .c {
    grid-area: 2/1 / auto/-1;
  }
  .sticky-cta {
    z-index: 25;
    border-top: 1px solid var(--line);
    background: var(--scrim-bar);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 12px 20px 16px;
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .soon main {
    min-height: calc(100vh - var(--h-nav-mobile));
    gap: 32px;
    padding: 20px;
  }
  .soon h1 {
    font-size: 32px;
    line-height: 36px;
  }
  .soon-cam {
    --far-x: 16px;
    --far-y: 12px;
    padding: 20px 16px;
  }
  .soon-br {
    width: 18px;
    height: 18px;
  }
}
@supports (height: 100svh) {
  @media (width<=899px) {
    .soon main {
      min-height: calc(100svh - var(--h-nav-mobile));
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .corner-mon .seek,
  .corner-mon .seek b,
  .corner-mon .flash {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
  .os-step:hover .os-matrix i.on {
    animation: none;
  }
  .flash {
    transition: none;
  }
  .soon-br,
  .soon-flash,
  .soon h1.live span {
    animation: none;
  }
  .soon h1.live span {
    color: var(--led);
    text-shadow: var(--glow-led);
  }
}
@media (width<=389px) {
  .cta h2 {
    font-size: 32px;
    line-height: 36px;
  }
}
@media (width<=359px) {
  .hero-btns {
    flex-wrap: wrap;
  }
  .hero-btns .os-btn {
    flex: 1 0 100%;
  }
  .hero h1 {
    font-size: 32px;
    line-height: 36px;
  }
  .pipe-top {
    letter-spacing: 0.6px;
    gap: 8px;
  }
  .coins .os-meta {
    padding: 10px;
  }
  .coins .os-meta .d {
    gap: 4px;
  }
  .coins .os-bar {
    padding: 0 8px;
  }
  .coins .os-bar .os-rec {
    display: none;
  }
}
@media (width<=319px) {
  .coins {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (width>=600px) and (width<=899px) {
  .corner-mon {
    max-width: 480px;
  }
  .wrap {
    padding-inline: 40px;
  }
  .hero-mon,
  .hero-b .lead,
  .hero-btns,
  .onchain,
  .pipe,
  .cta .lead,
  .cta .os-btn {
    max-width: 480px;
  }
  .coins {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .coins .os-card:nth-child(n + 9) {
    display: grid;
  }
  .steps {
    margin-inline: -40px;
    padding: 0 0 0 40px;
    scroll-padding: 0 40px;
  }
  .steps:after {
    flex-basis: 24px;
  }
  .menu-head,
  .menu nav,
  .menu-foot,
  .sticky-cta {
    padding-inline: 40px;
  }
  .sticky-cta .os-btn {
    max-width: 480px;
  }
  .os-sys .msg {
    padding-bottom: 24px;
    font-size: 40px;
    line-height: 42px;
  }
}
