:root {
  --bg: #f8f8f7;
  --ink: #1a1a1a;
  --muted: #7c7c7c;
  --soft: #f0f0ee;
  --tile: #ececea;
  --line: #e4e4e1;
  --radius: 4px;
  --pad: 40px;
  --font: "Geist", "Suisse Intl", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ol { list-style: none; }

/* Buttons: small, squared, slight rounding */
.btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: opacity .15s ease, background .15s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { opacity: .85; }
.btn-secondary { background: var(--soft); color: var(--ink); }
.btn-secondary:hover { background: var(--tile); }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 max(var(--pad), calc((100vw - 1490px) / 2));
  background: rgba(248, 248, 247, .9);
  backdrop-filter: blur(8px);
}
.header-over {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  transition: background .25s ease;
}
.header-over.is-scrolled { background: rgba(248, 248, 247, .9); backdrop-filter: blur(8px); }
.header-left { display: flex; align-items: center; gap: 40px; }
.logo { font-size: 20px; font-weight: 500; letter-spacing: -0.045em; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 500; letter-spacing: -0.045em; }
.brand img { width: 22px; height: 22px; color: currentColor; }
.nav { display: flex; gap: 32px; font-size: 15px; color: var(--ink); }
.nav a { transition: opacity .15s ease; }
.nav a:hover { opacity: .6; }
.header-actions { display: flex; gap: 6px; }
.menu-btn { display: none; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.menu-extra { display: none; }
@media (max-width: 699px) {
  .nav-right > a { display: none; }
  .header.menu-open .menu-extra { display: block; }
}

/* Hero: a draggable field of cards around the headline */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  padding: clamp(96px, 81.6px + 3vw, 120px) 24px clamp(64px, 54.4px + 2vw, 80px);
  text-align: center;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.hero.is-card-hover { cursor: pointer; }
/* Phones: a steady height (the address bar showing/hiding no longer resizes the hero), and
   a lighter fly-in blur, which is the costliest effect on a phone's graphics chip. */
/* Phones: Lightspark's phone hero. The cards fill the top, and the headline, text and
   buttons sit left-aligned underneath them. */
@media (max-width: 699px) {
  html .hero-copy { gap: 14px; padding: 0 var(--pad); }
  html .hero h1 { margin-bottom: 0; font-size: 34px; }
  html .hero .lede { max-width: 300px; font-size: 14px; }
  html .hero .btn-lg { height: 32px; padding: 0 12px; font-size: 14px; }
}
@media (hover: none) {
  .fcard.is-hidden { filter: blur(10px); }
  .fcard.is-far.is-hidden { filter: blur(6px); }
}
.hero.is-grabbing, .hero.is-grabbing .fcard { cursor: grabbing; }
/* The field runs a little past the bottom of the hero, under the fade. */
.hero-bleed {
  position: absolute;
  inset: 0 0 calc(-1 * clamp(56px, 41.6px + 3vw, 80px));
  z-index: 1;
  overflow: hidden;
}
.world {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero + section { position: relative; z-index: 2; }
.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  pointer-events: none;
}
.hero-copy h1, .hero-copy p, .hero-copy .btn { pointer-events: auto; }
.hero-copy h1, .hero-copy p { user-select: text; cursor: text; }
.hero h1 {
  margin-bottom: -14px;
  font-size: clamp(40px, 3.6vw, 68px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.lede {
  max-width: 440px;
  color: #6b6b6b;
  font-size: 16px;
  line-height: 1.4;
}
.hero .actions { margin-top: 0; }
.btn-lg { height: 38px; padding: 0 14px; font-size: 15px; }
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  bottom: calc(-1 * clamp(56px, 41.6px + 3vw, 80px));
  z-index: 2;
  height: 288px;
  background: linear-gradient(rgba(248, 248, 247, 0), rgba(248, 248, 247, .18) 29%, rgba(248, 248, 247, .5) 55%, rgba(248, 248, 247, .85) 80%, var(--bg));
  pointer-events: none;
}
.actions { display: flex; gap: 6px; margin-top: 28px; }
.actions-left { justify-content: flex-start; margin-top: 24px; }

.ca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 4px 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}
.ca-label { color: var(--ink); }
.ca-copy {
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--font);
}

/* Cards in the field */
.fcard {
  position: absolute;
  display: block;
  -webkit-user-drag: none;
  transition: opacity 1s cubic-bezier(.2, .8, .2, 1), filter 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1);
}
.fcard.is-hidden {
  opacity: 0;
  filter: blur(24px);
  transform: var(--from, scale(.85));
  pointer-events: none;
}
.fcard.is-far.is-hidden { filter: blur(14px); }
.fcard.is-hover { z-index: 3; }
.fcard:focus-visible { outline: none; }
.card-dodge { width: 100%; height: 100%; will-change: transform; }
.card-wx, .card-wy, .card-grow { width: 100%; height: 100%; }
.card-wx { animation: wander-x var(--wander-tx, 12s) cubic-bezier(.455, .03, .515, .955) infinite; }
.card-wy { animation: wander-y var(--wander-ty, 16s) cubic-bezier(.455, .03, .515, .955) infinite; }
.is-asleep .card-wx, .is-asleep .card-wy { animation-play-state: paused; }
.is-still .card-wx, .is-still .card-wy { animation: none; }
.is-still .fcard { transition: none; }
@keyframes wander-x {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(var(--wander-ax, 0)); }
  50% { transform: translateX(calc(var(--wander-ax, 0px) * -.6)); }
  75% { transform: translateX(calc(var(--wander-ax, 0px) * .3)); }
}
@keyframes wander-y {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(calc(var(--wander-ay, 0px) * -.5)); }
  50% { transform: translateY(var(--wander-ay, 0)); }
  75% { transform: translateY(calc(var(--wander-ay, 0px) * -.3)); }
}
.card-grow {
  position: relative;
  transition: transform .45s cubic-bezier(.175, .885, .32, 1.1);
  will-change: transform;
}
.fcard.is-hover .card-grow, .fcard:focus-visible .card-grow { transform: scale(var(--hover-scale, 1.12)); }
.card-mask {
  width: 100%;
  height: 100%;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.card-mask-rest { -webkit-mask-image: var(--card-mask); mask-image: var(--card-mask); }
.card-mask-hover {
  position: absolute;
  inset: 0;
  -webkit-mask-image: var(--card-mask-hover);
  mask-image: var(--card-mask-hover);
  opacity: 0;
  transition: opacity .45s cubic-bezier(.175, .885, .32, 1.1);
}
.fcard.is-hover .card-mask-hover, .fcard:focus-visible .card-mask-hover { opacity: 1; }

/* How it works: rows like Lightspark's "What we do" */
.how { padding: 0 max(var(--pad), calc((100vw - 1490px) / 2)); }
.how-title {
  padding: clamp(56px, 41.6px + 3vw, 96px) 0;
  font-size: clamp(28px, 23.2px + 1vw, 42px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.03em;
}
.how-head { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.how-head::after { content: ""; flex: 1; border-top: 1px solid rgba(38, 38, 35, .1); }
.how-body {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  min-height: clamp(360px, 268.8px + 19vw, 600px);
}
.how-row:last-child .how-body { border-bottom: 1px solid rgba(38, 38, 35, .1); }
.how-intro { grid-column: 1; display: flex; flex-direction: column; gap: 4px; padding-right: 32px; }
.how-intro h3 { font-size: 16px; font-weight: 400; line-height: 1.3; }
.how-intro p { color: var(--muted); font-size: 16px; line-height: 1.3; text-wrap: balance; }
.how-links {
  grid-column: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  list-style: none;
}
.how-links a {
  position: relative;
  color: var(--ink);
  font-size: clamp(17px, 15.2px + .375vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.how-link-inner { display: inline-block; transition: transform .3s cubic-bezier(.175, .885, .32, 1.1); }
.how-arrow {
  display: inline-block;
  width: 1.1em;
  margin-right: -1.1em;
  font-size: calc(1em - 5px);
  text-align: right;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-1px);
  transition: opacity .3s cubic-bezier(.175, .885, .32, 1.1), filter .3s cubic-bezier(.175, .885, .32, 1.1);
}
.how-links a:hover .how-link-inner { transform: translateX(calc(-1em + 2px)); }
.how-links a:hover .how-arrow { opacity: 1; filter: blur(0); }

.how-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(280px, 232px + 10vw, 420px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition: transform .45s cubic-bezier(.175, .885, .32, 1.1);
}
.how-row:hover .how-stage { transform: translate(-50%, -50%) scale(1.04); }
.how-row:hover .stage-img.is-active .card-mask-hover { opacity: 1; }
.stage-img {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  filter: blur(8px);
  transform: scale(.96);
  transition: filter .28s, transform .28s;
}
.stage-img.is-active { opacity: 1; filter: blur(0); transform: scale(1); }
.stage-img .card-mask { display: block; }

/* Get started: four ruled columns like Lightspark's */
.gs {
  margin: 0 max(var(--pad), calc((100vw - 1490px) / 2));
  border-top: 1px solid rgba(38, 38, 35, .1);
}
.gs-header { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.gs-title {
  padding: clamp(56px, 41.6px + 3vw, 96px) 0;
  font-size: clamp(28px, 23.2px + 1vw, 42px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.03em;
}
.gs-ctas { display: flex; align-items: center; gap: 6px; }
.gs-ctas .btn { transition: background-color .15s, scale .15s; }
.gs-ctas .btn:active { scale: .97; }
.gs-band { display: flex; align-items: stretch; min-height: clamp(360px, 268.8px + 19vw, 600px); }
.gs-col {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: 0 11px;
  border-left: 1px solid rgba(38, 38, 35, .1);
}
.gs-col:last-child { border-right: 1px solid rgba(38, 38, 35, .1); }
.gs-col-head { display: flex; flex-direction: column; gap: 3px; }
.gs-col-label { color: var(--muted); font-size: 12px; line-height: 1.3; }
.gs-col-line { color: var(--ink); font-size: 15px; line-height: 1.3; }
.gs-col-arrow {
  display: inline-block;
  margin-left: .3em;
  font-size: .85em;
  opacity: 0;
  filter: blur(4px);
  transition: opacity .3s cubic-bezier(.175, .885, .32, 1.1), filter .3s cubic-bezier(.175, .885, .32, 1.1);
}
.gs-col:hover .gs-col-arrow { opacity: 1; filter: blur(0); }
.gs-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  transition: transform .45s cubic-bezier(.175, .885, .32, 1.1);
  will-change: transform;
}
.gs-col:hover .gs-media { transform: scale(1.04); }
.gs-col:hover .card-mask-hover { opacity: 1; }
.gs-col-index { color: var(--muted); font-size: 10px; padding-bottom: 4px; }

/* Launched here: same width and rules as the sections around it */
.coins {
  margin: 0 max(var(--pad), calc((100vw - 1490px) / 2)) clamp(56px, 41.6px + 3vw, 96px);
  border-top: 1px solid rgba(38, 38, 35, .1);
}
.coins .link { font-size: 15px; color: var(--ink); }
.coins .link:hover { opacity: .6; }
.coins .table { margin-top: 0; border-top: 1px solid rgba(38, 38, 35, .1); }
.coins .row { min-height: 72px; border-bottom-color: rgba(38, 38, 35, .1); font-size: 15px; }
.coins .row-head { min-height: 40px; font-size: 12px; }
.coins .row-empty { min-height: 120px; font-size: 15px; }
.coins .coin-mark {
  position: relative;
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: none;
  --scale: calc(44 / 260);
}
.coins .coin-mark .card-mask { position: absolute; inset: -4px; width: auto; height: auto; }
.coins .coin-mark .tile-scale { display: none; }
.coin-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Launch page */
.lp-hero { padding: 120px max(var(--pad), calc((100vw - 1490px) / 2)) 0; }
.lp-hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.lp-howto { display: inline-block; margin-top: 14px; color: var(--ink); font-size: 15px; }
.lp-howto:hover { opacity: .6; }
.lp-resume {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--soft);
  font-size: 14px;
}
.lp-resume[hidden] { display: none; }
.lp-resume strong { font-weight: 500; }
.lp-resume-status { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.lp-resume-status:empty { display: none; }
.lp-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
  padding: 72px max(var(--pad), calc((100vw - 1490px) / 2)) 0;
}
.lp-steps { margin-top: 0; }
/* The step number sits above each step, so everything lines up flush left under the logo */
.lp-steps .spec { grid-template-columns: 1fr; gap: 10px; }
.lp-optional { margin-left: 6px; color: var(--muted); font-size: 13px; }

.lp-companies {
  display: grid;
  /* Always the six companies in one row (Basket spans the row below), at any zoom. */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.lp-company {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease;
}
.lp-company:hover { background: var(--soft); }
.lp-company input { position: absolute; opacity: 0; pointer-events: none; }
.lp-company-art {
  position: relative;
  display: block;
  aspect-ratio: 1;
  margin-bottom: 6px;
  transition: transform .45s cubic-bezier(.175, .885, .32, 1.1);
}
/* While arriving, the same 1s ease the home page cards use */
.lp-company-art.is-arriving, .lp-company-art.is-settling {
  transition: opacity 1s cubic-bezier(.2, .8, .2, 1), filter 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1);
}
.lp-company .card-mask { display: block; }
/* Pictures arrive like the home page cards: from the middle, blurred, then settle, one after another */
.lp-company-art.is-arriving { opacity: 0; filter: blur(24px); transform: translateX(var(--dx, 0)) scale(.85); }
.lp-company .tile-scale { visibility: hidden; }
.lp-company:hover .lp-company-art { transform: scale(1.04); }
.lp-company:hover .card-mask-hover, .lp-company:has(input:checked) .card-mask-hover { opacity: 1; }
.lp-company-name { font-size: 14px; }
.lp-company-meta { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.lp-company:has(input:checked) { background: var(--soft); box-shadow: inset 0 0 0 1px var(--ink); }
.lp-company:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--ink); }
/* Basket: one full-width row under the companies */
.lp-company-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 8px 16px 8px 8px;
}
.lp-company-wide .lp-company-art { flex: none; width: 64px; margin-bottom: 0; }
.lp-company-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.lp-company-tag { flex: none; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.lp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.lp-choice {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-radius: 6px;
  background: var(--soft);
  cursor: pointer;
  transition: box-shadow .15s ease;
}
.lp-choice input { margin-top: 2px; accent-color: var(--ink); }
.lp-choice span { display: flex; flex-direction: column; gap: 3px; }
.lp-choice strong { font-size: 14px; font-weight: 500; }
.lp-choice em { color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.35; }
.lp-choice:has(input:checked) { box-shadow: inset 0 0 0 1px var(--ink); }

.lp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.lp-fields-3 { grid-template-columns: repeat(3, 1fr); }
.lp-desc { margin-top: 12px; }
.lp-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed rgba(38, 38, 35, .25);
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.lp-drop:hover, .lp-drop.is-over { background: var(--soft); border-color: var(--ink); }
.lp-drop-preview {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--tile) center / cover;
}
.lp-drop-text { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.lp-drop-text strong { font-size: 14px; font-weight: 400; }
.lp-drop-text em { color: var(--muted); font-size: 12px; font-style: normal; }
.lp-buy { display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; }
.lp-buy .field { width: 160px; }
.lp-chips { display: flex; gap: 6px; }
.lp-chips .btn.is-on { background: var(--ink); color: var(--bg); }

.lp-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-preview { position: relative; aspect-ratio: 1; }
.lp-preview .card-mask { display: block; }
.lp-coin { display: flex; align-items: center; gap: 12px; }
.lp-coin-pic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--tile) center / cover;
}
.lp-coin-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-coin-text strong { overflow: hidden; font-size: 15px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.lp-coin-text em { color: var(--muted); font-size: 12px; font-style: normal; }
.lp-summary { border-top: 1px solid var(--line); }
.lp-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.lp-summary dt { color: var(--muted); }
.lp-summary dd { font-variant-numeric: tabular-nums; }
.lp-summary-total { font-weight: 500; }
.lp-summary-total dt { color: var(--ink); }
.lp-estimate { color: var(--muted); font-size: 12px; line-height: 1.4; }
.lp-submit { justify-content: center; width: 100%; }
.lp-submit:disabled { opacity: .5; cursor: default; }
.lp-status { min-height: 18px; font-size: 13px; }
.lp-note { color: var(--muted); font-size: 12px; }

/* Cursor label on card hover */
.hover-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  opacity: 0;
  translate: 0;
  pointer-events: none;
  transition: opacity .2s, translate .35s cubic-bezier(.175, .885, .32, 1.1);
}
.hover-label.is-on { opacity: 1; translate: 14px 20px; }
.hover-label-pill {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  scale: .85;
  transform-origin: left top;
  transition: scale .35s cubic-bezier(.175, .885, .32, 1.1);
}
.hover-label.is-on .hover-label-pill { scale: 1; }
.hover-label-arrow { margin-left: .35em; }

/* Tile art: photo field with a glass card, drawn at 260px then scaled */
.tile-art {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.tile-scale {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 260px;
  height: 260px;
  transform: scale(var(--scale, 1));
  transform-origin: 0 0;
}
.g-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 164px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 14px;
  background: rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 9.5px;
  line-height: 1.2;
  text-align: left;
}
.g-head { padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 10px; }
.g-head span, .g-label, .g-note { color: rgba(255, 255, 255, .62); }
.g-row { display: flex; align-items: center; gap: 6px; }
.g-amt { margin-left: auto; font-variant-numeric: tabular-nums; }
.g-mono { font-family: var(--mono); font-size: 8.5px; }
.g-dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  font-size: 7.5px;
}
.g-inset {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
}
.g-inset:has(.g-sep) { gap: 9px; }
.g-sep { display: grid; place-items: center; height: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.g-sep span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  font-size: 8px;
}
.g-field { flex-direction: row; justify-content: space-between; }
.g-btn {
  display: grid;
  place-items: center;
  height: 24px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .28);
  font-size: 10px;
}
.g-big { font-size: 22px; letter-spacing: -0.03em; }
.g-bar { height: 4px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .18); }
.g-bar span { display: block; height: 100%; background: #fff; }
.g-chart { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.g-chart span { flex: 1; border-radius: 1.5px; background: rgba(255, 255, 255, .7); }
.g-split { display: grid; grid-template-columns: 1fr auto; gap: 3px; }
.g-split .g-bar { grid-column: 1 / -1; }

/* Intro */
.intro { padding: 120px var(--pad); }
.intro p {
  max-width: 820px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--muted);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 var(--pad);
}
.stat {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--soft);
}
.stat-label { color: var(--muted); font-size: 12px; }
.stat-value {
  margin-top: auto;
  font-size: clamp(32px, 3.4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

/* Sections */
.section { padding: 140px var(--pad) 0; }
.section h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.section-head { display: flex; align-items: baseline; justify-content: space-between; }
.link { color: var(--muted); font-size: 13px; }
.link:hover { color: var(--ink); }

/* Table */
.table { margin-top: 40px; border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.row-head { min-height: 40px; color: var(--muted); font-size: 12px; }
.coin { display: flex; align-items: center; gap: 12px; }
.coin em { margin-left: 6px; color: var(--muted); font-style: normal; font-family: var(--mono); font-size: 12px; }
.coin-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tile);
  font-size: 11px;
}
.num { font-family: var(--mono); font-size: 13px; }

.row-empty { grid-template-columns: 1fr auto; color: var(--muted); }
.row[hidden] { display: none; }
.coin-name em { margin-left: 6px; }
button.btn { border: 0; font-family: inherit; cursor: pointer; }
button.btn:disabled { opacity: .5; cursor: default; }

/* Launch dialog */
.dialog {
  width: min(440px, calc(100vw - 32px));
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
}
.dialog::backdrop { background: rgba(26, 26, 26, .25); }
.launch { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.launch-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.launch-head h2 { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.field em { font-style: normal; opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}
.field textarea { height: auto; padding: 8px 10px; resize: vertical; }
.field input[type="file"] { padding: 6px 10px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.launch-note { color: var(--muted); font-size: 12px; }
.launch-status { min-height: 18px; font-size: 12px; }
.launch-submit { justify-content: center; }

/* Footer: the brand tile field (white fading into blue-grey tiles), ruled link columns,
   a full-width wordmark and the legal line. */
.footer {
  margin-top: 160px;
  padding: 0 max(var(--pad), calc((100vw - 1490px) / 2)) 40px;
  background: #f7f8f8 url("img/footer-tiles.jpg") center / cover no-repeat;
  color: var(--ink);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: footer-col;
}
.footer-cols > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 260px;
  padding: 96px 11px 14px;
  border-left: 1px solid rgba(38, 38, 35, .08);
  font-size: 14px;
  counter-increment: footer-col;
}
.footer-cols > div:last-child { border-right: 1px solid rgba(38, 38, 35, .08); }
.footer-cols > div::after {
  content: "0" counter(footer-col);
  margin-top: auto;
  padding-top: 32px;
  color: rgba(38, 38, 35, .4);
  font-family: var(--mono);
  font-size: 10px;
}
.footer-cols a { color: rgba(38, 38, 35, .62); transition: color .15s ease; }
.footer-cols a:hover { color: var(--ink); }
.footer-head { margin-bottom: 6px; color: var(--ink); font-size: 12px; }
.footer-bottom { margin-top: clamp(96px, 12vw, 180px); }
/* The big wordmark keeps its space but is hidden, so the tile artwork shows clean */
.footer-word {
  visibility: hidden;
  display: inline-block;
  color: rgba(96, 136, 152, .16);
  font-size: 22vw;
  font-weight: 500;
  line-height: .78;
  letter-spacing: -0.06em;
  white-space: nowrap;
  user-select: none;
}
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(64px, 8vw, 120px);
  color: rgba(38, 38, 35, .5);
  font-size: 11px;
  line-height: 1.6;
}
.footer-legal p { max-width: 900px; }
.footer-legal span { flex: none; font-family: var(--mono); }

/* Over the footer the header keeps its light look, on frosted glass so the tiles show through */
.header.is-dark, .header-over.is-dark { background: rgba(247, 248, 248, .72); backdrop-filter: blur(12px); }

/* Item pages */
.item-hero { padding: 120px var(--pad) 0; }
.item-hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.item-line { max-width: 460px; margin-top: 14px; color: var(--muted); font-size: 15px; }
.item-visual { padding: 64px var(--pad) 0; }
.item-caption {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}
.item-caption-under { margin: 10px 0 0; }
.item-banner {
  display: grid;
  place-items: center;
  height: clamp(320px, 42vw, 620px);
  overflow: hidden;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}
.banner-card { transform: scale(var(--banner-scale, 2)); }

.specs { margin-top: 40px; border-top: 1px solid var(--line); }
.spec {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.spec-index { color: var(--muted); font-size: 12px; }
.spec-body h3 { font-size: 18px; font-weight: 400; letter-spacing: -0.02em; }
.spec-body > p { max-width: 640px; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.spec-rows { margin-top: 14px; }
.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.spec-row span:nth-child(2) { color: var(--muted); }
.spec-row span:last-child { font-family: var(--mono); font-size: 12px; }
.spec-kv {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.spec-kv div { padding: 12px; border-radius: var(--radius); background: var(--soft); }
.spec-kv dt { color: var(--muted); font-size: 12px; }
.spec-kv dd { margin-top: 18px; font-size: 18px; letter-spacing: -0.02em; }
.spec-kv dd.mono { font-family: var(--mono); font-size: 13px; }
.copy {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.copy:hover { text-decoration: underline; }

.more {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 40px;
}
.more-tile { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.more-art {
  aspect-ratio: 1;
  transition: transform .45s cubic-bezier(.175, .885, .32, 1.1);
}
.more-tile:hover .more-art { transform: scale(1.04); }
.more-tile span { color: var(--muted); }
.more-tile:hover span { color: var(--ink); }

/* Docs */
.nav a[aria-current="page"] { opacity: .5; }
.docs-hero { padding: 120px var(--pad) 0; }
.docs-hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.split-bar {
  display: flex;
  gap: 4px;
  margin-top: 48px;
}
.split-seg {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: var(--w) 1 0;
  min-width: 96px;
  height: 120px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--soft);
}
.split-seg:first-child { background: var(--ink); color: var(--bg); }
.split-seg span { font-size: 28px; letter-spacing: -0.03em; line-height: 1; }
.split-seg em { font-style: normal; font-size: 12px; opacity: .6; }
.docs-kv { margin-top: 8px; }
.docs-kv dd { margin-top: 18px; }
.docs-kv p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.docs-note { max-width: 640px; margin-top: 14px; color: var(--muted); font-size: 12px; }

.docs-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 100px var(--pad) 0;
}
.docs-toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
  font-size: 13px;
}
.docs-toc span { margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.docs-toc a { color: var(--muted); transition: color .15s ease; }
.docs-toc a:hover, .docs-toc a.is-active { color: var(--ink); }
.docs-specs { margin-top: 0; }
.docs-specs .spec { grid-template-columns: 64px 1fr; scroll-margin-top: 88px; }
.docs-specs .spec-body > p + .spec-rows, .docs-specs .spec-rows + p { margin-top: 14px; }
.spec-row-head { color: var(--muted); font-size: 12px; }
.spec-row-head span:last-child { font-family: var(--font); }
.spec-row-link { transition: background .15s ease; }
.spec-row-link:hover { background: var(--soft); }
.api .spec-row span:first-child { font-family: var(--mono); font-size: 12px; }

.docs-example {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 8px;
  border-radius: 6px;
  background: var(--soft);
}
.docs-example-art {
  display: grid;
  place-items: center;
  aspect-ratio: 13 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}
.docs-example-card { transform: scale(1.2); }
.docs-example-copy p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.docs-label { font-size: 12px; }

/* Responsive */
@media (max-width: 960px) {
  :root { --pad: 20px; }
  .header-left .nav { display: none; }
  .menu-btn { display: block; }
  /* The Menu button opens the page links as a panel under the header */
  .header.menu-open { background: rgba(248, 248, 247, .97); backdrop-filter: blur(8px); }
  .header.menu-open .header-left .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px var(--pad) 16px;
    background: rgba(248, 248, 247, .97);
    border-bottom: 1px solid var(--line);
    font-size: 22px;
    letter-spacing: -0.02em;
  }
  .header.menu-open .header-left .nav a { padding: 10px 0; }
  .docs-specs .spec { grid-template-columns: 1fr; gap: 8px; }
  .nav-right { gap: 20px; font-size: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .intro { padding: 80px var(--pad); }
  .section { padding-top: 100px; }
  .item-hero { padding-top: 72px; }
  .spec { grid-template-columns: 1fr; gap: 8px; }
  .spec-kv { grid-template-columns: repeat(2, 1fr); }
  .more { grid-template-columns: repeat(3, 1fr); }
  .docs-hero { padding-top: 72px; }
  .docs-body { grid-template-columns: 1fr; padding-top: 64px; }
  .docs-toc { display: none; }
  .docs-example { grid-template-columns: 1fr; }
  .how-body { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding: 48px 0 56px; }
  .how-stage { position: relative; top: auto; left: auto; transform: none; margin: 0 auto; }
  .how-row:hover .how-stage { transform: scale(1.04); }
  .how-links { grid-column: 1; align-items: flex-start; }
  .gs-header { flex-direction: column; align-items: flex-start; gap: 0; }
  .gs-title { padding-bottom: 16px; }
  .gs-ctas { flex-wrap: wrap; padding-bottom: 48px; }
  .gs-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; min-height: 0; }
  .gs-col:last-child { border-right: 0; }
  .lp-hero { padding-top: 72px; }
  .lp-body { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .lp-aside { position: static; }
  .lp-preview { max-width: 360px; }
  .lp-steps .spec { grid-template-columns: 1fr; }
  .lp-choices, .lp-fields, .lp-fields-3 { grid-template-columns: 1fr; }
  .lp-companies { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .header-actions .btn-secondary { display: none; }
  .more { grid-template-columns: repeat(2, 1fr); }
  .spec-row { grid-template-columns: 1fr auto; }
  .spec-row span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }

  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 160px; }
  .row { grid-template-columns: 1fr auto; }
  .row > :nth-child(2), .row > :nth-child(3), .row > :nth-child(4) { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
