:root {
  color-scheme: light;
  --board: #F3F4EF;
  --paper: #FFFFFF;
  --ink: #131313;
  --muted: #545750;
  --line: #D8DAD2;
  --blue: #2244D8;
  --red: #E23D28;
  --yellow: #FFD84A;
  --orange: #FFB866;
  --sky: #AFD5FF;
  --mint: #BDEBAE;
  /* Investor section: deep navy from the brand blue (was black: #0E0F11 #17191C #2C2F34 #F2F3EE #A6AAB0) */
  --night: #0F1D57;
  --night-2: #16276B;
  --night-line: #2D3F85;
  --night-ink: #F3F5FF;
  --night-muted: #B3BEE4;
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --marker: "Permanent Marker", "Segoe Print", "Bradley Hand", cursive;
  --dots: radial-gradient(circle at 1px 1px, rgba(19, 19, 19, .14) 1px, transparent 1.5px);
  --hero-pt: clamp(40px, 6vw, 84px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--board);
  color: var(--ink);
  font: 400 18px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--sans); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1220px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 48px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h2 {
  max-width: 15ch;
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  font-weight: 900;
  font-stretch: 114%;
  line-height: .94;
  letter-spacing: -.035em;
}
section { padding-block: clamp(72px, 9vw, 128px); }

/* Buttons */
.btn {
  --bg: var(--blue);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 26px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 800;
  font-size: 18px;
  font-stretch: 108%;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-light { --bg: var(--paper); --fg: var(--ink); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn-sm { min-height: 46px; padding: 0 18px; font-size: 16px; box-shadow: 3px 3px 0 var(--ink); }

/* Wordmark */
.brand {
  display: inline-flex;
  align-items: baseline;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 25px;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}
.brand b {
  display: inline-block;
  margin-left: 4px;
  color: var(--red);
  font-family: var(--marker);
  font-weight: 400;
  font-stretch: 100%;
  font-size: 1.1em;
  letter-spacing: 0;
  transform: rotate(-5deg) translateY(-1px);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--board) 95%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { color: var(--muted); font-weight: 600; font-size: 16px; text-decoration: none; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .nav nav { display: none; }
  .nav .wrap { gap: 12px; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 420px) {
  .nav .brand { font-size: 21px; }
  .nav .btn-sm { padding: 0 14px; }
}

/* Phone menu: the ☰ next to the join button */
.menu-btn {
  position: relative;
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-btn span:nth-child(1) { top: 13px; }
.menu-btn span:nth-child(2) { top: 19.75px; }
.menu-btn span:nth-child(3) { top: 26.5px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }
@media (max-width: 860px) { .menu-btn { display: block; } }
body.menu-open { overflow: hidden; }
.menu { position: fixed; inset: 74px 0 0; z-index: 19; background: rgba(14, 15, 17, .45); }
.menu-panel {
  display: grid;
  padding: 16px clamp(18px, 4vw, 48px) 26px;
  border-bottom: 2px solid var(--ink);
  background: var(--board);
  animation: drop .2s ease-out;
}
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
.menu-panel a {
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  font-stretch: 108%;
  font-size: 22px;
  letter-spacing: -.015em;
  text-decoration: none;
}
.menu-panel a:last-child { border-bottom: 0; }
.menu-panel .menu-wall {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 23px;
}
.menu-wall svg { flex: none; width: 34px; height: 46px; }
.menu-wall i { margin-left: auto; font-style: normal; }

/* Hero */
.hero {
  padding-block: var(--hero-pt) clamp(64px, 8vw, 112px);
  background-image: var(--dots);
  background-size: 26px 26px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
h1 {
  font-size: clamp(3.3rem, 7.4vw, 6.6rem);
  font-weight: 900;
  font-stretch: 116%;
  line-height: .9;
  letter-spacing: -.045em;
}
h1 .line { display: block; white-space: nowrap; }
.circled { position: relative; display: inline-block; }
.circled svg {
  position: absolute;
  left: -6%;
  top: -7%;
  width: 112%;
  height: 138%;
  overflow: visible;
  fill: none;
  stroke: var(--red);
  stroke-width: 5;
  stroke-linecap: round;
  pointer-events: none;
}
.circled path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s .35s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.note {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  width: fit-content;
  margin: 22px 0 0 clamp(4px, 3vw, 48px);
  color: var(--red);
  font-family: var(--marker);
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  line-height: 1.05;
  transform: rotate(-3deg);
}
.note svg { width: 58px; height: 46px; flex: none; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; transform: translateY(18px); }
.lede { max-width: 30ch; margin-top: 26px; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.4; color: var(--muted); }
.quick { display: flex; gap: 12px; max-width: 620px; margin-top: 30px; }
.quick input {
  flex: 1;
  min-width: 0;
  height: 62px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  font-size: 18px;
  font-weight: 500;
}
.quick input::placeholder { color: #8C8F88; }
.quick input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34, 68, 216, .2); }
.quick .btn { min-height: 62px; }
.fine { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* Lanyard + pass */
.hang {
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(-1 * var(--hero-pt));
}
.strap {
  display: flex;
  justify-content: center;
  width: 36px;
  height: clamp(96px, 10vw, 140px);
  overflow: hidden;
  background: var(--blue);
  box-shadow: inset -7px 0 0 rgba(0, 0, 0, .14);
}
.strap i {
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, .88);
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  white-space: nowrap;
}
.swing { display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: swing 7s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.clip {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 34px;
  margin-top: -2px;
  border: 2px solid #565B62;
  border-radius: 8px 8px 12px 12px;
  background: linear-gradient(#D3D6DA, #8F949B);
}
.clip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 28px;
  width: 18px;
  height: 30px;
  transform: translateX(-50%);
  border: 3px solid #565B62;
  border-top: 0;
  border-radius: 0 0 11px 11px;
}

.pass {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(360px, 84vw);
  aspect-ratio: 3 / 3.8;
  margin-top: 10px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 34px 60px -30px rgba(18, 22, 40, .5);
}
.pass-top {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 40px 22px 18px;
  border-bottom: 2px solid var(--ink);
  background: var(--blue);
  color: #fff;
}
.pass-top::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 66px;
  height: 13px;
  transform: translateX(-50%);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--board);
}
.pass-brand { font-weight: 900; font-stretch: 118%; font-size: 20px; letter-spacing: -.035em; white-space: nowrap; }
.pass-brand b { margin-left: 3px; color: var(--yellow); font-family: var(--marker); font-weight: 400; font-stretch: 100%; letter-spacing: 0; }
.pass-no { font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pass-body { display: flex; flex: 1; flex-direction: column; gap: 10px; min-height: 0; padding: 22px 22px 0; }
.pass-label { color: var(--muted); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.pass-name {
  overflow: hidden;
  font-weight: 900;
  font-stretch: 112%;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pass-idea {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-family: var(--marker);
  font-size: 25px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.pass-idea.empty, .pass-name.empty { color: #A0A39C; }
.pass-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; font-weight: 700; font-size: 16px; }
.pass-city { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tag {
  flex: none;
  padding: 5px 10px 4px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--sky);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pass-code {
  height: 34px;
  margin: 0 22px 20px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px, var(--ink) 6px 7px, transparent 7px 10px, var(--ink) 10px 14px, transparent 14px 16px, var(--ink) 16px 17px, transparent 17px 21px);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hang { margin-top: 8px; }
  .strap { height: 64px; }
}
@media (max-width: 560px) {
  .quick { flex-direction: column; }
  .quick input { flex: none; width: 100%; }
  .quick .btn { width: 100%; }
  .note { margin-left: 4px; }
}

/* How it goes */
.how .wrap > h2 { margin-bottom: clamp(48px, 6vw, 80px); }
.board {
  --gap: clamp(30px, 3.6vw, 56px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.sticky {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  aspect-ratio: 1;
  padding: 22px 20px 20px;
  background: var(--c, var(--yellow));
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 22px 26px -20px rgba(40, 32, 0, .5);
  transform: rotate(var(--rot, -2deg));
}
.sticky::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 78px;
  height: 26px;
  transform: translateX(-50%) rotate(-4deg);
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .6);
}
.board li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: var(--gap);
  height: 34px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 34' fill='none' stroke='%23131313' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21C18 9 33 27 53 15'/%3E%3Cpath d='M44 9l10 5.5-7 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sticky .n { color: rgba(0, 0, 0, .5); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.sticky b { display: block; font-family: var(--marker); font-weight: 400; font-size: clamp(1.9rem, 2.5vw, 2.5rem); line-height: 1; }
.sticky span { font-weight: 500; font-size: 16.5px; line-height: 1.35; }
@media (max-width: 960px) {
  .board { --gap: 44px; grid-template-columns: 1fr; }
  .sticky { width: min(78%, 340px); aspect-ratio: auto; min-height: 168px; }
  .board li:nth-child(even) { margin-left: auto; }
  .board li:not(:last-child)::after { top: 100%; left: 50%; width: 44px; height: var(--gap); transform: translateX(-50%) rotate(90deg); }
}

/* What you get */
.perks { border-block: 2px solid var(--ink); background: var(--paper); }
.perks .wrap > h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.ticket {
  --stub: 62px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  min-height: 176px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--board);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  right: calc(var(--stub) - 13px);
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}
.ticket::before { top: -14px; }
.ticket::after { bottom: -14px; }
.ticket .main { padding: 26px 24px; }
.ticket h3 { font-weight: 850; font-stretch: 110%; font-size: 25px; line-height: 1.05; letter-spacing: -.025em; }
.ticket p { margin-top: 10px; color: var(--muted); font-size: 17px; line-height: 1.45; }
.stub {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 2px dashed var(--ink);
  background: var(--c, var(--yellow));
}
.stub span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 1000px) { .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tickets { grid-template-columns: 1fr; } }

/* Wall page: every idea is a member pass hanging on its own hook */
.nav nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.wall-page {
  min-height: 72vh;
  padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px);
  background-image: var(--dots);
  background-size: 26px 26px;
}
.rack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(262px, 100%), 1fr));
  gap: 8px clamp(20px, 3vw, 44px);
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}
.hung { display: flex; flex-direction: column; align-items: center; padding-bottom: 34px; }
.hook {
  position: relative;
  z-index: 3;
  width: 20px;
  height: 20px;
  border: 2px solid #565B62;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F6F7F8, #A5AAB0 55%, #6A6F76);
  box-shadow: 0 3px 4px rgba(0, 0, 0, .22);
}
.hung .swing { width: 100%; margin-top: -10px; animation: sway var(--d, 6s) ease-in-out var(--delay, 0s) infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
.hung:hover .swing { animation-play-state: paused; }
.hung .strap { width: 26px; height: 52px; }
.hung .clip { width: 40px; height: 28px; }
.hung .clip::after { top: 22px; width: 16px; height: 26px; }
.hung .pass { width: 100%; max-width: 300px; height: 384px; aspect-ratio: auto; margin-top: 8px; }
.hung .pass-top { padding: 34px 18px 14px; }
.hung .pass-top::before { top: 11px; width: 58px; height: 12px; }
.hung .pass-brand, .hung .pass-no { font-size: 17px; }
.hung .pass-body { gap: 8px; padding: 18px 18px 0; }
.hung .pass-name { font-size: 28px; }
.hung .pass-idea { font-size: 21px; -webkit-line-clamp: 6; }
.hung .pass-foot { padding: 12px 18px; font-size: 15px; }
.hung .pass-code { height: 26px; margin: 0 18px 16px; }
.pass.ghost {
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 2.5px dashed var(--ink);
  background: rgba(255, 255, 255, .55);
  box-shadow: none;
  color: var(--ink);
  font-family: var(--marker);
  font-size: 27px;
  text-decoration: none;
  transition: background .15s ease;
}
.pass.ghost::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 58px;
  height: 12px;
  transform: translateX(-50%);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--board);
}
.pass.ghost b { color: var(--red); font-weight: 400; font-size: 58px; line-height: .8; }
.pass.ghost:hover { background: var(--yellow); }
.done-note a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq details { padding: 24px 0; border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--red); font-family: var(--marker); font-size: 32px; line-height: .75; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 52ch; margin-top: 12px; color: var(--muted); }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } }

/* Investors */
.inv {
  position: relative;
  background: var(--night) radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.5px) 0 0 / 26px 26px;
  color: var(--night-ink);
}
.inv h2 { max-width: 16ch; }
.inv-lede { max-width: 44ch; margin-top: 24px; color: var(--night-muted); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; }
.inv h3 { font-weight: 850; font-stretch: 110%; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.025em; line-height: 1.05; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border: 1px solid var(--night-line); border-radius: 18px; background: var(--night-2); }
.stats div { padding: 26px 28px; }
.stats div + div { border-left: 1px solid var(--night-line); }
.stats b { display: block; font-weight: 900; font-stretch: 112%; font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 8px; color: var(--night-muted); font-size: 16px; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--night-line); }
.points div { padding: 32px 32px 8px 0; }
.points div + div { padding-left: 32px; border-left: 1px solid var(--night-line); }
.big { display: block; color: var(--yellow); font-weight: 900; font-stretch: 116%; font-size: clamp(3rem, 5.6vw, 4.8rem); letter-spacing: -.045em; line-height: .9; }
.points p { max-width: 30ch; margin-top: 16px; color: var(--night-ink); font-size: 17.5px; line-height: 1.45; }
.points small { display: block; margin-top: 10px; color: var(--night-muted); font-size: 14px; }
.points small a { text-underline-offset: 3px; }

.road { margin-top: clamp(72px, 8vw, 104px); }
.stages { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 36px 0 0; padding: 0; list-style: none; }
.stages::before { content: ""; position: absolute; top: 15px; left: 8px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--night-line) 0 10px, transparent 10px 18px); }
.stages li { position: relative; padding-top: 52px; }
.stages li::before { content: ""; position: absolute; top: 4px; left: 0; width: 24px; height: 24px; border: 2px solid var(--night-muted); border-radius: 50%; background: var(--night); }
.stages li.now::before { border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 6px rgba(255, 216, 74, .18); }
.when { display: block; color: var(--night-muted); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.now .when { color: var(--yellow); }
.stages b { display: block; margin-top: 8px; font-weight: 850; font-stretch: 110%; font-size: 23px; letter-spacing: -.02em; line-height: 1.1; }
.stages p { margin-top: 8px; color: var(--night-muted); font-size: 16.5px; line-height: 1.45; }

.ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(72px, 8vw, 104px); align-items: start; }
.way-list { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.way-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--night-line);
  background: none;
  text-align: left;
  cursor: pointer;
}
.way-list li:last-child button { border-bottom: 1px solid var(--night-line); }
.way-list b { font-weight: 800; font-stretch: 108%; font-size: 21px; letter-spacing: -.015em; }
.way-list span { grid-column: 1; color: var(--night-muted); font-size: 16.5px; }
.way-list i { grid-row: 1 / 3; grid-column: 2; color: var(--night-muted); font-style: normal; font-size: 22px; transition: transform .15s ease, color .15s ease; }
.way-list button:hover i, .way-list button[aria-pressed="true"] i { color: var(--yellow); transform: translateX(4px); }
.way-list button[aria-pressed="true"] b { color: var(--yellow); }

.inv-card { padding: clamp(24px, 3.4vw, 40px); border: 2px solid var(--ink); border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); }
.inv-card h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.inv-done { padding-block: 12px; }
.inv-done p { margin-top: 12px; color: var(--muted); }
.legal { margin-top: 64px; color: var(--night-muted); font-size: 14px; }
@media (max-width: 900px) {
  .points, .stages, .ways { grid-template-columns: 1fr; }
  .points div, .points div + div { padding: 28px 0; padding-left: 0; border-left: 0; }
  .points div + div { border-top: 1px solid var(--night-line); }
  .stages { gap: 28px; }
  .stages::before { top: 8px; bottom: 8px; left: 11px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--night-line) 0 10px, transparent 10px 18px); }
  .stages li { padding: 0 0 0 48px; }
  .stages li::before { top: 2px; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--night-line); }
}

/* Forms */
.field { position: relative; display: flex; flex-direction: column; gap: 7px; margin-top: 18px; min-width: 0; }
.field > label, .field-label { font-weight: 700; font-size: 15px; }
.field-label .opt, .field > label .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.35;
}
.field select { appearance: none; padding-right: 44px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23131313' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; cursor: pointer; }
.field textarea { resize: none; padding-bottom: 30px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34, 68, 216, .2); }
.field.bad input, .field.bad textarea, .field.bad select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(226, 61, 40, .16); }
.field.bad .chips span { border-color: var(--red); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.count { position: absolute; right: 14px; bottom: 10px; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chips span {
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  font-weight: 700;
  font-size: 16px;
  transition: box-shadow .12s ease, transform .12s ease;
}
.chips input:checked + span { background: var(--c); box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-weight: 600; font-size: 16.5px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { min-height: 1.4em; margin-top: 14px; color: var(--red); font-weight: 700; font-size: 16px; }
#join-form .btn[type="submit"], #inv-form .btn[type="submit"] { width: 100%; margin-top: 6px; }

/* Join dialog */
dialog {
  width: min(1000px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
dialog::backdrop { background: rgba(14, 15, 17, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog[open] { animation: rise .22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.dlg { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.dlg-main { padding: clamp(26px, 4vw, 46px); }
.dlg-main h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.dlg-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 28px;
  border-left: 2px solid var(--ink);
  background: var(--blue) radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .22) 1px, transparent 1.5px) 0 0 / 22px 22px;
}
.dlg-side .pass { margin-top: 0; transform: rotate(2deg); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .55); }
.x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
#dlg-done { align-self: center; }
.done-note { margin-top: 18px; color: var(--muted); font-weight: 600; font-size: 17px; }
.done-no { display: block; margin-top: 18px; color: var(--blue); font-weight: 900; font-stretch: 116%; font-size: clamp(3.4rem, 7vw, 5.4rem); letter-spacing: -.045em; line-height: .9; font-variant-numeric: tabular-nums; }
.done-actions { display: grid; gap: 14px; margin-top: 34px; }
.done-actions .btn { width: 100%; }
@media (max-width: 760px) {
  dialog { width: 100%; max-height: 94dvh; margin: auto 0 0; border-width: 2px 0 0; border-radius: 24px 24px 0 0; box-shadow: none; }
  dialog[open] { animation-name: sheet; }
  @keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
  .dlg { grid-template-columns: 1fr; }
  .dlg-side { order: -1; padding: 30px 20px 34px; border-left: 0; border-bottom: 2px solid var(--ink); }
  .dlg-side .pass { width: min(300px, 78vw); }
  .dlg:not(.is-done) .dlg-side { display: none; }
  .row2 { grid-template-columns: 1fr; }
}

/* Final + footer */
.final { padding-block: clamp(80px, 10vw, 140px); background-image: var(--dots); background-size: 26px 26px; }
.final-note {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
  width: min(760px, 100%);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 64px);
  background: var(--yellow);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 40px 50px -36px rgba(40, 32, 0, .55);
  transform: rotate(-1.5deg);
}
.final-note::before { content: ""; position: absolute; top: -16px; left: 50%; width: 130px; height: 32px; transform: translateX(-50%) rotate(3deg); border: 1px solid rgba(0, 0, 0, .06); background: rgba(255, 255, 255, .6); }
.final-note h2 { max-width: 13ch; }
.foot { padding-block: 40px 52px; border-top: 2px solid var(--ink); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot nav a { color: var(--muted); font-weight: 600; font-size: 16px; text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot small { width: 100%; color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .circled path { stroke-dashoffset: 0; }
}
