/* =========================================================
   we will win — $www
   1997 webpage x 2026 trench
   ========================================================= */

:root {
  --sky: #bce3fd;          /* sampled from the supplied assets */
  --sky-soft: #e4f3fe;
  --sky-deep: #8cc8f4;
  --sky-ink: #2f78b5;
  --ink: #000;
  --paper: #fff;
  --red: #e8473c;
  --green: #22c06b;
  --sol-1: #9945ff;
  --sol-2: #00c2ff;
  --sol-3: #14f195;

  --b: 3px;
  --sh: 6px;
  --bar-h: 60px;
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1240px;

  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Lucida Console", "Courier New", monospace;

  /* stepped top-left corner, matching the window in logo.png */
  --notch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' shape-rendering='crispEdges'%3E%3Cpath fill='%23bce3fd' d='M0 0h18v6h-6v6h-6v6H0z'/%3E%3Cpath d='M18 0h3v9h-6v6h-6v6H0v-3h6v-6h6v-6h6z'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 3px dashed var(--ink);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

main, .foot { position: relative; z-index: 1; overflow-x: clip; }

/* ---------------------------------------------------------
   background artifacts + cursor pixel
   --------------------------------------------------------- */

.artifacts {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.art {
  position: absolute;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  opacity: 0;
  white-space: nowrap;
  animation: art-life 6s steps(8) forwards;
}
.art--box {
  padding: 3px 6px;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.art--sky { color: var(--sky-ink); }

@keyframes art-life {
  0%   { opacity: 0; }
  18%  { opacity: .2; }
  82%  { opacity: .2; }
  100% { opacity: 0; }
}

.trail {
  position: fixed;
  left: 0; top: 0;
  z-index: 300;
  width: 6px; height: 6px;
  background: var(--sol-1);
  box-shadow: 6px 6px 0 var(--ink);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s steps(2);
  will-change: transform;
}
.trail.is-on { opacity: 1; }

/* ---------------------------------------------------------
   cursor
   --------------------------------------------------------- */

.cursor {
  display: inline-block;
  width: .5em;
  height: .8em;
  margin-left: .1em;
  background: currentColor;
  vertical-align: baseline;
  transform: translateY(.06em);
  animation: blink 1.06s steps(1) infinite;
}
.cursor--sm { width: 10px; height: 18px; margin: 0; transform: none; }

@keyframes blink { 50% { opacity: 0; } }

/* ---------------------------------------------------------
   pixel buttons
   --------------------------------------------------------- */

.px-btn {
  --shc: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: var(--b) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: 800 14px/1 var(--mono);
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--shc);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .1s steps(2), box-shadow .1s steps(2), background-color .1s steps(1);
}
.px-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--shc);
}
.px-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--shc);
}
.px-btn--ink {
  --shc: var(--sky-ink);
  background: var(--ink);
  color: var(--paper);
}
.px-btn--ink:hover { background: #111; }
.px-btn--sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 12px;
  box-shadow: 3px 3px 0 var(--shc);
}
.px-btn--sm:hover { box-shadow: 5px 5px 0 var(--shc); }
.px-btn--lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 15px;
}
.px-btn.is-done {
  background: var(--sol-3);
  color: var(--ink);
}

/* ---------------------------------------------------------
   browser window
   --------------------------------------------------------- */

.win {
  position: relative;
  background: var(--paper);
  border: var(--b) solid var(--ink);
  box-shadow: var(--sh) var(--sh) 0 var(--ink);
}
.win::before {
  content: "";
  position: absolute;
  top: calc(var(--b) * -1);
  left: calc(var(--b) * -1);
  z-index: 3;
  width: 21px;
  height: 21px;
  background: var(--notch) no-repeat;
  pointer-events: none;
}

.win__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 40px;
  padding: 0 12px 0 30px;
  border-bottom: var(--b) solid var(--ink);
  background: var(--paper);
}
.win__title {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win__box {
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--ink);
}

.win__body { padding: clamp(18px, 3vw, 34px); }
.win__body--flush { padding: 0; }

.win__body--dots,
.chart,
.chart-frame {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--sky-soft) 2px, transparent 2px),
    linear-gradient(90deg, var(--sky-soft) 2px, transparent 2px);
  background-size: 24px 24px;
}

.win__status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px;
  border-top: 2px solid var(--ink);
  background: var(--sky-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

/* ---------------------------------------------------------
   header
   --------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--b) solid var(--ink);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--wrap);
  height: var(--bar-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__logo {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  image-rendering: auto;
}
.brand__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.topbar__nav {
  display: flex;
  gap: 10px;
}

/* ---------------------------------------------------------
   section scaffolding
   --------------------------------------------------------- */

.keys,
.candles,
.caption,
.contract,
.chart-sec,
.end {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 150px) var(--gutter);
}

.sec-head { margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head--center { text-align: center; }
.sec-head__title--long { font-size: clamp(1.9rem, 4.2vw, 3.4rem); }
.sec-head__label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.sec-head__title {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}

/* ---------------------------------------------------------
   giant bitmap type
   --------------------------------------------------------- */

.mega {
  --g: var(--paper);
  --t: max(6px, .03em);
  --gw: max(1px, .005em);
  margin: 0;
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.03em;
  color: var(--ink);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .mega {
    color: transparent;
    background:
      linear-gradient(90deg, transparent calc(100% - var(--gw)), var(--g) 0) 0 0 / var(--t) var(--t),
      linear-gradient(180deg, transparent calc(100% - var(--gw)), var(--g) 0) 0 0 / var(--t) var(--t),
      linear-gradient(var(--ink), var(--ink));
    -webkit-background-clip: text;
    background-clip: text;
  }
}

/* ---------------------------------------------------------
   1. hero
   --------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  max-width: var(--wrap);
  min-height: calc(100svh - var(--bar-h));
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter);
}

.addr {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  padding: 10px 10px 18px;
  border: var(--b) solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}
.addr__nav { display: flex; gap: 6px; }
.addr__key {
  display: grid;
  place-items: center;
  width: 30px;
  height: 34px;
  border: 2px solid var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.addr__key--reload { font-size: 16px; }
.addr__field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: inset 2px 2px 0 var(--sky-soft);
  cursor: text;
}
.addr__field:focus-within { outline: 3px dashed var(--ink); outline-offset: 3px; }
.addr__label {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky-ink);
}
.addr__input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: 800 18px/1 var(--mono);
  caret-color: var(--ink);
}
.addr__go {
  height: 38px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: var(--sky);
  color: var(--ink);
  font: 800 13px/1 var(--mono);
  letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
}
.addr__go:active { transform: translate(2px, 2px); box-shadow: none; }

.addr__load {
  position: absolute;
  left: 10px; right: 10px; bottom: 6px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  height: 6px;
}
.addr__load i { background: transparent; }
.addr__load i.on { background: var(--ink); }

.addr__status {
  min-height: 1.5em;
  margin: 12px 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sky-ink);
}

.hero__title {
  margin-top: clamp(28px, 4vw, 48px);
  font-size: clamp(3.25rem, 8.4vw, 8rem);
  line-height: .92;
  letter-spacing: -.05em;
}

.hero__sub {
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 700;
  line-height: 1.45;
}
.hero__sub span { display: block; }

.hero__ticker { margin-top: 28px; }
.tag {
  display: inline-block;
  padding: 6px 14px 8px;
  border: var(--b) solid var(--ink);
  background: var(--paper);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  box-shadow: 4px 4px 0 var(--ink);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.syslabel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 5px 9px;
  border: 2px solid var(--ink);
  background: var(--paper);
  max-width: 100%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}
.syslabel [data-ca] {
  min-width: 0;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}
.sol-dots { display: inline-flex; gap: 2px; flex: none; }
.sol-dots i { width: 6px; height: 6px; }
.sol-dots i:nth-child(1) { background: var(--sol-1); }
.sol-dots i:nth-child(2) { background: var(--sol-2); }
.sol-dots i:nth-child(3) { background: var(--sol-3); }

.hero__art {
  justify-self: end;
  width: 100%;
  max-width: 540px;
}
.hero__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 51%;
  animation: bob 1.4s steps(1) infinite;
}

@keyframes bob {
  50% { transform: translateY(-6px); }
}

/* ---------------------------------------------------------
   2. the same keys
   --------------------------------------------------------- */

.keys__row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.keys__row--c { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.keys__row--c .keys__note { text-align: right; }

.keys__phrase {
  font-size: clamp(1.7rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.keys__phrase b {
  display: inline-block;
  padding: 0 .06em;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}
.keys__phrase--win { font-size: clamp(2rem, 5.2vw, 4.25rem); }

.keys__note {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.4;
}

.px-arrow {
  display: flex;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px) 0;
}
.px-arrow i {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  animation: nudge 1.2s steps(1) infinite;
}
.px-arrow i::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 6px; height: 6px;
  box-shadow:
    12px 0 0 var(--ink), 18px 0 0 var(--ink), 24px 0 0 var(--ink),
    12px 6px 0 var(--ink), 18px 6px 0 var(--ink), 24px 6px 0 var(--ink),
    12px 12px 0 var(--ink), 18px 12px 0 var(--ink), 24px 12px 0 var(--ink),
    0 18px 0 var(--ink), 6px 18px 0 var(--ink), 12px 18px 0 var(--ink), 18px 18px 0 var(--ink),
    24px 18px 0 var(--ink), 30px 18px 0 var(--ink), 36px 18px 0 var(--ink),
    6px 24px 0 var(--ink), 12px 24px 0 var(--ink), 18px 24px 0 var(--ink), 24px 24px 0 var(--ink), 30px 24px 0 var(--ink),
    12px 30px 0 var(--ink), 18px 30px 0 var(--ink), 24px 30px 0 var(--ink),
    18px 36px 0 var(--ink);
}

@keyframes nudge { 50% { transform: translateY(6px); } }

.win--mega .win__body {
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px) 12px;
}
.win--mega .mega {
  font-size: clamp(5.5rem, 27vw, 24rem);
  text-align: center;
}

.type .ch { visibility: hidden; }
.type .ch.on { visibility: visible; }
.type::after {
  content: "";
  display: inline-block;
  width: .45em;
  height: .78em;
  margin-left: .08em;
  background: var(--ink);
  vertical-align: baseline;
  animation: blink 1.06s steps(1) infinite;
}

.keys__nots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: clamp(56px, 8vw, 96px) 0 0;
  padding: 0;
  list-style: none;
}
.keys__nots li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--ink);
}
.keys__x {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

/* ---------------------------------------------------------
   3. red / green
   --------------------------------------------------------- */

.candles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 48px);
}

.win--red .win__box { background: var(--red); box-shadow: 0 0 0 2px var(--ink); }
.win--green .win__box { background: var(--green); box-shadow: 0 0 0 2px var(--ink); }

.win--candle .win__body { container-type: inline-size; }

.chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  height: clamp(160px, 20vw, 230px);
  padding: 10px 8px;
  border: 2px solid var(--ink);
}

.c { position: relative; display: block; }
.c::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  bottom: calc(var(--l) * 1%);
  height: calc((var(--h) - var(--l)) * 1%);
  background: var(--ink);
}
.c::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: calc(min(var(--o), var(--c)) * 1%);
  height: calc((max(var(--o), var(--c)) - min(var(--o), var(--c))) * 1%);
  min-height: 6px;
  border: var(--b) solid var(--ink);
}
.c.up::after { background: var(--green); }
.c.dn::after { background: var(--red); }

.c--last.up::after { transform-origin: 50% 100%; animation: tick 2s steps(1) infinite; }
.c--last.dn::after { transform-origin: 50% 0;    animation: tick 2s steps(1) infinite; }

@keyframes tick {
  0%  { transform: scaleY(1); }
  25% { transform: scaleY(1.06); }
  50% { transform: scaleY(.95); }
  75% { transform: scaleY(1.03); }
}

.candles__cap {
  margin: 22px 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}
.win--red .candles__cap::before,
.win--green .candles__cap::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border: 2px solid var(--ink);
  vertical-align: -1px;
}
.win--red .candles__cap::before { background: var(--red); }
.win--green .candles__cap::before { background: var(--green); }

.candles__line {
  font-size: 3rem;
  font-size: clamp(2rem, 14cqi, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   4. the caption
   --------------------------------------------------------- */

.caption__lead {
  margin-bottom: clamp(40px, 6vw, 72px);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.6;
  color: var(--sky-ink);
}

.caption__title {
  font-size: clamp(2.1rem, 6.2vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.caption__line { display: block; text-wrap: balance; }
.caption__line + .caption__line { margin-top: clamp(20px, 3vw, 36px); }
.caption__tag {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--sky-ink);
}

/* white text is the hard shadow; the black copy sits on top, nudged up-left */
.caption__www {
  position: relative;
  margin-top: clamp(40px, 7vw, 96px);
  font-size: clamp(7rem, 30vw, 28rem);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.03em;
  text-align: right;
  color: var(--paper);
}
.caption__www::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--ink);
  transform: translate(-.03em, -.03em);
}

/* ---------------------------------------------------------
   5. contract
   --------------------------------------------------------- */

.win--dialog {
  max-width: 720px;
  margin: 0 auto;
}

.props { margin: 0; }
.props__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 2px dashed var(--ink);
}
.props__row:first-child { padding-top: 0; }
.props dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--sky-ink);
}
.props dd {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 800;
}
.props__row--ca dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.props__ca {
  padding: 6px 12px;
  border: 2px solid var(--ink);
  background: var(--sky-soft);
  font: inherit;
  word-break: break-all;
}
.props__note {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}
.props__note::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  vertical-align: 1px;
}

/* ---------------------------------------------------------
   6. chart
   --------------------------------------------------------- */

.win__url {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: var(--b) solid var(--ink);
  background: var(--sky-soft);
}
.win__url-label {
  flex: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sky-ink);
}
.win__url-field {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win__url-field:hover { text-decoration: underline; }

.chart-frame {
  position: relative;
  height: clamp(420px, 52vw, 640px);
}
.chart-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.prelaunch {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}
.prelaunch__loader {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: var(--b) solid var(--ink);
  background: var(--paper);
}
.prelaunch__loader i {
  width: 14px;
  height: 14px;
  animation: blip 1.6s steps(1) infinite;
}
.prelaunch__loader i:nth-child(2) { animation-delay: .2s; }
.prelaunch__loader i:nth-child(3) { animation-delay: .4s; }
.prelaunch__loader i:nth-child(4) { animation-delay: .6s; }
.prelaunch__loader i:nth-child(5) { animation-delay: .8s; }
.prelaunch__loader i:nth-child(6) { animation-delay: 1s; }
.prelaunch__loader i:nth-child(7) { animation-delay: 1.2s; }
.prelaunch__loader i:nth-child(8) { animation-delay: 1.4s; }

@keyframes blip {
  0%  { background: var(--ink); }
  50% { background: transparent; }
}

.prelaunch__title {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.prelaunch__sub {
  max-width: 34ch;
  font-size: 14px;
  font-weight: 700;
  color: var(--sky-ink);
}

.dots::after {
  content: "...";
  display: inline-block;
  overflow: hidden;
  width: 3ch;
  vertical-align: bottom;
  text-align: left;
}

/* ---------------------------------------------------------
   7. end
   --------------------------------------------------------- */

.end { text-align: center; }

.end__banner {
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto clamp(48px, 7vw, 96px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.end__title {
  font-size: clamp(3.25rem, 10vw, 9rem);
  line-height: .95;
  letter-spacing: -.05em;
}
.end__www {
  margin-top: 16px;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.end__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(36px, 5vw, 56px);
}
.end__cta .px-btn { min-width: 120px; }
.end__cursor { margin-top: clamp(40px, 6vw, 72px); }

.foot {
  padding: 18px var(--gutter);
  border-top: var(--b) solid var(--ink);
  background: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.7;
  text-align: center;
}

/* ---------------------------------------------------------
   scroll reveal (only when js is running)
   --------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .48s steps(4), transform .48s steps(4);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------
   motion-only extras
   --------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .dots::after { animation: dots 1.4s steps(4) infinite; }
  @keyframes dots { from { width: 0; } to { width: 4ch; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .type .ch { visibility: visible; }
  .artifacts, .trail { display: none; }
}

/* ---------------------------------------------------------
   responsive
   --------------------------------------------------------- */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 56px;
  }
  .hero__title { font-size: clamp(3.25rem, 15vw, 7rem); }
  .hero__art {
    justify-self: center;
    max-width: 520px;
  }

  .keys__row,
  .keys__row--c {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .keys__row--c .keys__note { order: 2; text-align: left; }
}

@media (max-width: 760px) {
  .candles__grid { grid-template-columns: minmax(0, 1fr); }
  .chart-frame { height: 480px; }
  .caption__www { text-align: left; }
}

@media (max-width: 560px) {
  :root { --sh: 5px; --bar-h: 58px; }

  .topbar__nav { gap: 8px; }
  .topbar__nav .px-btn { padding: 0 11px; }
  .brand__name { font-size: 20px; }

  .addr { grid-template-columns: minmax(0, 1fr) auto; }
  .addr__nav { display: none; }

  .hero__cta .px-btn { flex: 1 1 100%; }

  .props__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .keys__nots { justify-content: flex-start; }
  .keys__nots li { font-size: 13px; }

  .end__cta .px-btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
}

@media (max-width: 360px) {
  .brand__name { display: none; }
}
