/* Sprint. Chrome on navy with a blue edge light. The faceted mark sets the shape language: cut corners, hard diagonals. */
/* Typefaces are served from this site (SIL Open Font License, see /fonts). */
@font-face { font-family: "Saira"; font-style: italic; font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; src: url("/fonts/saira-latin-wdth-italic.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; src: url("/fonts/saira-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  /* Navy and silver: the chrome mark on a night-blue field, with a blue edge light. */
  --bg: #060B18;
  --carbon: #0B1428;
  --raise: #121D36;
  --line: #1F2C4A;
  --ink: #E8ECF4;
  --mute: #8E9AB2;
  --accent: #D3DCEA;
  --link: #8DB8FF;
  --blue: #4F86E8;
  --navy: #22407C;
  --glow: #3B82F6;
  --chrome: linear-gradient(180deg, #FFFFFF 0%, #DCE3EE 48%, #A9B5CA 100%);
  --warn: #FFB84A;
  --bad: #FF7A5C;
  --display: "Saira", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --cut: 14px;
  --pad: clamp(20px, 4.5vw, 56px);
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg) radial-gradient(1200px 600px at 75% -10%, rgba(59, 130, 246, 0.16), transparent 70%) no-repeat; color: var(--ink); font: 400 17px/1.55 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.display { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-style: italic; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.005em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink); max-width: 34em; }
.mute { color: var(--mute); }
.num { font-family: var(--display); font-stretch: 78%; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .mark { width: 38px; height: auto; }
.brand .word { width: 104px; height: auto; }
.menu { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-weight: 600; font-size: 15px; }
.menu a { color: var(--ink); text-decoration: none; padding: 10px 2px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--link); }
.menu a.btn, .menu a.btn:hover { color: var(--bg); padding: 0 16px; }
.who { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.avatar { width: 34px; height: 34px; object-fit: cover; background: var(--raise); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.avatar.big { width: 64px; height: 64px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }

/* Buttons: cut corners, like the mark */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 0; cursor: pointer;
  background: var(--chrome); color: var(--bg); font: 700 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.btn:hover { background: #FFFFFF; color: var(--bg); box-shadow: 0 0 24px rgba(59, 130, 246, 0.5); }
.btn:focus-visible { outline-offset: -5px; outline-color: var(--glow); }
.btn.quiet { background: var(--raise); color: var(--ink); box-shadow: none; }
.btn.quiet:hover { background: var(--line); color: var(--ink); }
.btn.quiet:focus-visible { outline-color: var(--glow); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; --cut: 10px; }
.btn.danger { background: var(--raise); color: var(--bad); box-shadow: none; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.linklike { background: none; border: 0; padding: 0; color: var(--mute); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--ink); }

/* Panels are filled shapes with one cut corner, no outlines */
.panel { background: var(--carbon); padding: clamp(22px, 3vw, 36px); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.panel h2 { font: 600 15px/1.2 var(--body); color: var(--mute); margin-bottom: 18px; }
.notice { padding: 14px 18px; background: var(--raise); border-left: 3px solid var(--accent); margin-bottom: 20px; }
.notice.bad { border-color: var(--bad); }
.notice.warn { border-color: var(--warn); }

/* Home: hero. Copy on the left, the lit mark on the right. */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: center; gap: clamp(12px, 3vw, 40px); padding: clamp(28px, 6vw, 84px) 0 clamp(56px, 8vw, 112px); }
.hero h1 { font-size: clamp(54px, 9vw, 136px); margin-bottom: 28px; }
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero-line { margin-top: 30px; font-weight: 600; }
.hero-line b { color: var(--accent); font-family: var(--display); font-stretch: 78%; font-size: 1.5em; font-weight: 700; margin-right: 4px; }
/* The glow is a blurred copy of the mark drawn inside the SVG. Only its opacity moves, slowly and without a pause. */
.hero-bolt { width: 112%; max-width: none; justify-self: center; pointer-events: none; }
.hero-bolt .halo { animation: halo 6s ease-in-out infinite alternate; }
@keyframes halo { from { opacity: 0.4; } to { opacity: 1; } }
/* Two soft bands of light drift across the facets, half a cycle apart, so one is always on the mark. */
.hero-bolt .light { transform-box: view-box; transform-origin: 0 0; transform: translateX(-260px) skewX(-28deg); animation: light 14s linear infinite; }
.hero-bolt .light.second { animation-delay: -7s; }
@keyframes light { from { transform: translateX(-260px) skewX(-28deg); } to { transform: translateX(640px) skewX(-28deg); } }
.hero-bolt .facets polygon { animation: facet 0.7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-bolt .facets polygon:nth-child(1) { animation-delay: 0.05s; } .hero-bolt .facets polygon:nth-child(2) { animation-delay: 0.10s; }
.hero-bolt .facets polygon:nth-child(3) { animation-delay: 0.15s; } .hero-bolt .facets polygon:nth-child(4) { animation-delay: 0.20s; }
.hero-bolt .facets polygon:nth-child(5) { animation-delay: 0.25s; } .hero-bolt .facets polygon:nth-child(6) { animation-delay: 0.30s; }
.hero-bolt .facets polygon:nth-child(7) { animation-delay: 0.35s; } .hero-bolt .facets polygon:nth-child(8) { animation-delay: 0.40s; }
.hero-bolt .facets polygon:nth-child(9) { animation-delay: 0.45s; } .hero-bolt .facets polygon:nth-child(10) { animation-delay: 0.50s; }
.hero-bolt .facets polygon:nth-child(11) { animation-delay: 0.55s; } .hero-bolt .facets polygon:nth-child(12) { animation-delay: 0.60s; }
@keyframes facet { from { opacity: 0; transform: translate(-18px, 10px); } to { opacity: 1; transform: none; } }
/* The metal S from the brand image. Its own dark field fades into the page; a slow blue glow breathes behind it. */
.hero-mark { position: relative; width: 112%; justify-self: center; pointer-events: none; }
.hero-mark::before { content: ""; position: absolute; inset: 12%; background: radial-gradient(closest-side, rgba(59, 130, 246, 0.30), rgba(59, 130, 246, 0) 72%); animation: halo 6s ease-in-out infinite alternate; }
.hero-mark img { position: relative; display: block; width: 100%; height: auto;
  -webkit-mask: radial-gradient(closest-side, #000 62%, transparent 100%); mask: radial-gradient(closest-side, #000 62%, transparent 100%); }
@media (prefers-reduced-motion: reduce) { .hero-mark::before { animation: none; } }
@media (prefers-reduced-motion: reduce) { .hero-bolt .halo, .gate-art::before { animation: none; } .hero-bolt .facets polygon { animation: none; } .hero-bolt .light { animation: none; opacity: 0; } }

/* Home: sections */
.band { padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.band > .wrap > h2 { font-size: clamp(38px, 5.6vw, 76px); margin-bottom: clamp(28px, 4vw, 52px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-stretch: 70%; font-style: italic; font-weight: 800; font-size: 84px; line-height: 0.85; color: var(--accent); margin-bottom: 18px; }
.steps h3 { font: 700 22px/1.25 var(--body); margin-bottom: 8px; }
.steps p { color: var(--mute); max-width: 26em; }

.score-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.score-grid p + p { margin-top: 14px; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ladder li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 0 22px 0 24px; font-weight: 700; color: var(--bg);
  clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }
.ladder li:nth-child(1) { background: var(--raise); color: var(--ink); margin-left: 0; }
.ladder li:nth-child(2) { background: var(--navy); color: var(--ink); margin-left: 12%; }
.ladder li:nth-child(3) { background: var(--blue); margin-left: 24%; }
.ladder li:nth-child(4) { background: var(--chrome); margin-left: 36%; box-shadow: 0 0 30px rgba(59, 130, 246, 0.35); }
.ladder .num { font-size: 26px; }

.next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.next > article { background: var(--bg); padding: clamp(24px, 3.4vw, 44px); }
.next .head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.next .head svg { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: miter; stroke-linecap: square; }
.points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; max-width: 30em; }
.points li { position: relative; padding-left: 24px; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 55%, 55% 100%, 0 100%); }
.next h3 { font-family: var(--display); font-stretch: 70%; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; }
.next p { color: var(--mute); max-width: 28em; }

.closer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.closer h2 { font-size: clamp(38px, 5.6vw, 76px); }
.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--mute); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .brand .mark { width: 28px; }
.foot nav { display: flex; gap: 22px; }
.foot a { color: var(--mute); }
.foot a:hover { color: var(--ink); }

/* Waitlist page */
.page { padding: clamp(18px, 3vw, 40px) 0 clamp(56px, 8vw, 96px); }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(22px, 3vw, 36px); }
.page-head h1 { font-size: clamp(44px, 6.4vw, 88px); }
.ident { display: flex; align-items: center; gap: 14px; }
.ident strong { display: block; font-size: 18px; }
.gate { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 7fr); align-items: center; gap: clamp(16px, 4vw, 56px); padding: clamp(28px, 6vw, 80px) 0; }
.gate-art { position: relative; width: 84%; justify-self: center; }
.gate-art::before { content: ""; position: absolute; inset: -14%; background: radial-gradient(closest-side, rgba(59, 130, 246, 0.34), rgba(59, 130, 246, 0) 74%); animation: halo 6s ease-in-out infinite alternate; }
.gate-art img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(59, 130, 246, 0.35)); }
.gate h1 { font-size: clamp(54px, 9vw, 120px); margin-bottom: 24px; }
.gate .lede { margin-bottom: 30px; }
.gate small { display: block; margin-top: 18px; color: var(--mute); font-size: 15px; }

.board { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; align-items: start; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.place { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.place .big { font-family: var(--display); font-stretch: 70%; font-style: italic; font-weight: 800; font-size: clamp(88px, 13vw, 176px); line-height: 0.82; color: var(--accent); }
.place .big.off { color: var(--line); }
.place .of { padding-bottom: 10px; color: var(--mute); }
.chip { display: inline-block; padding: 3px 10px; font: 700 13px/1.5 var(--body); background: var(--raise); color: var(--ink); }
.chip.joined, .chip.verified { color: var(--accent); }
.chip.approved { background: var(--accent); color: var(--bg); }
.chip.pending, .chip.claimed { color: var(--warn); }
.chip.rejected, .chip.banned { color: var(--bad); }

.todo { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 2px; }
.todo li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.todo .tick { width: 26px; height: 26px; margin-top: 2px; background: var(--raise); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.todo .done .tick { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7 13.5l4 4 8-9' fill='none' stroke='%230A0B0A' stroke-width='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.todo strong { display: block; }
.todo p { color: var(--mute); margin-top: 2px; }
.todo .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.msg { margin-top: 12px; color: var(--warn); }
.msg.good { color: var(--accent); }
.msg.pre, .msg.inline { white-space: pre-line; }

.invite { display: flex; gap: 10px; margin-top: 6px; }
.invite input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); font: 500 15px/1 var(--body); }
.invite input:focus { outline: none; border-color: var(--accent); }
.panel > p + .invite { margin-top: 14px; }
.welcome-card { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 12px; background: var(--bg); }
.panel .acts { display: flex; flex-wrap: wrap; gap: 10px; }

.scoreline { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.scoreline .big { font-family: var(--display); font-stretch: 70%; font-style: italic; font-weight: 800; font-size: clamp(76px, 9vw, 120px); line-height: 0.82; }
.scoreline .tier { padding-bottom: 6px; font-weight: 700; color: var(--accent); }
.scoreline .tier span { display: block; color: var(--mute); font-weight: 400; font-size: 15px; }
.bars { display: grid; gap: 12px; margin: 0; }
.bars div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 15px; }
.bars dt { color: var(--ink); }
.bars dd { margin: 0; color: var(--mute); font-variant-numeric: tabular-nums; }
.bars .track { grid-column: 1 / -1; height: 6px; background: var(--raise); }
.bars .fill { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.panel .after { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; color: var(--mute); font-size: 15px; }

.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-weight: 600; color: var(--mute); padding: 0 12px 10px 0; white-space: nowrap; }
.table td { padding: 11px 12px 11px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.table .r { text-align: right; padding-right: 0; }
.table .acct { display: flex; align-items: center; gap: 10px; min-width: 0; }
.table .acct span { display: block; color: var(--mute); font-size: 13px; }
.scroll { overflow-x: auto; }
.endbar { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--mute); font-size: 15px; }

/* Admin */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 22px; }
.tabs button { background: var(--carbon); color: var(--mute); border: 0; padding: 12px 20px; font: 600 15px/1 var(--body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--chrome); color: var(--bg); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px; margin-bottom: 18px; }
.tiles div { background: var(--carbon); padding: 16px 18px; }
.tiles b { display: block; font-family: var(--display); font-stretch: 78%; font-weight: 700; font-size: 34px; line-height: 1.05; }
.tiles span { color: var(--mute); font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.filters input, .filters select, .field input, .field select, .note input { height: 40px; padding: 0 12px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); font: 500 14px/1 var(--body); }
.filters input:focus, .filters select:focus, .field input:focus, .note input:focus { outline: none; border-color: var(--accent); }
.filters .grow { flex: 1; min-width: 180px; }
.rowacts { display: flex; flex-wrap: wrap; gap: 6px; }
.pager { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--mute); font-size: 14px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.field label { font-size: 15px; }
.kv { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 18px; font-size: 15px; margin: 0; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.note { display: flex; gap: 6px; margin-top: 6px; }
.note input { flex: 1; min-width: 120px; height: 34px; font-size: 13px; }

/* Insights: charts and tables. Marks in blue, text in ink, grid one step off the surface. */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; font-family: var(--body); outline-offset: 4px; touch-action: pan-y; }
.tip { position: absolute; top: 4px; background: var(--raise); border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; white-space: nowrap; pointer-events: none; }
.tip strong { display: block; }
.tip span { color: var(--mute); }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hbars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: 15px; }
.hbars .sub { color: var(--mute); font-size: 14px; }
.hbars .track { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.hbars .fill { display: block; height: 18px; background: var(--blue); flex: none; max-width: calc(100% - 64px); }
.hbars li:hover .fill { background: var(--accent); }
.datatable { margin-top: 20px; font-size: 14px; }
.datatable summary { cursor: pointer; color: var(--mute); width: fit-content; }
.datatable summary:hover { color: var(--ink); }
.datatable .scroll { margin-top: 12px; max-height: 320px; overflow: auto; }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.share { display: grid; gap: 14px; }
.share .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Admin: task tracking */
.task { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.task i { width: 12px; height: 12px; flex: none; background: var(--line); clip-path: polygon(0 0, 100% 0, 100% 55%, 55% 100%, 0 100%); }
.task.done i { background: var(--accent); }
.task.claimed i { background: var(--warn); }
.task small { color: var(--mute); font-size: 13px; }
.history td { background: var(--carbon); padding: 14px 18px; }
.history ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.history li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
.history time { color: var(--mute); }
.tiles small { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form label, .lbl { display: grid; gap: 7px; font-size: 15px; font-weight: 600; }
.form label small, .lbl small { font-weight: 400; color: var(--mute); font-size: 13px; }
.form input, .form select, .form textarea, .inp { width: 100%; min-height: 46px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); font: 500 15px/1.4 var(--body); border-radius: 0; }
.form textarea { min-height: 128px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus, .inp:focus { outline: none; border-color: var(--accent); }
.form .acts, .acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.check { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px !important; font-weight: 500 !important; }
.check input { width: 18px; min-height: 18px; height: 18px; accent-color: var(--accent); }

/* Tier picker: four cut cards, one lit */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.tiers label { position: relative; display: grid; gap: 2px; padding: 14px 16px 16px; background: var(--raise); cursor: pointer; font-weight: 400;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.tiers input { position: absolute; opacity: 0; pointer-events: none; }
.tiers b { font-family: var(--display); font-stretch: 70%; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; }
.tiers span { color: var(--mute); font-size: 13px; }
.tiers label:has(input:checked) { background: var(--accent); color: var(--bg); }
.tiers label:has(input:checked) span { color: #33415F; }
.tiers label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

/* The split of a pool: chosen tier, lowest tier, Sprint fee */
.split { display: grid; gap: 14px; }
.split .barline { display: flex; height: 30px; gap: 2px; }
.split .barline i { display: block; height: 100%; }
.split .barline .m { background: var(--accent); } .split .barline .b { background: var(--blue); } .split .barline .f { background: var(--line); }
.split dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0; font-size: 15px; }
.split dt { display: flex; align-items: center; gap: 10px; }
.split dt i { width: 12px; height: 12px; flex: none; }
.split dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.split .total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; }
.sw-m { background: var(--accent); } .sw-b { background: var(--blue); } .sw-f { background: var(--line); }

/* Task cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 18px; }
.card { background: var(--carbon); padding: 24px 24px 22px; display: grid; gap: 14px; align-content: start;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.card .top2 { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card h3 { font: 700 20px/1.25 var(--body); }
.card .by { color: var(--mute); font-size: 14px; }
.card .pay { font-family: var(--display); font-stretch: 70%; font-style: italic; font-weight: 800; font-size: 46px; line-height: 0.9; color: var(--accent); white-space: nowrap; text-align: right; }
.card .pay small { display: block; font: 500 13px/1.3 var(--body); font-style: normal; color: var(--mute); }
.card .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--mute); }
.card .facts b { color: var(--ink); font-weight: 600; }
.card .brief { color: var(--ink); font-size: 15px; white-space: pre-line; }
.card .must { display: flex; flex-wrap: wrap; gap: 6px; }
.card .must span { background: var(--raise); padding: 3px 9px; font-size: 13px; font-weight: 600; }
.card.locked { opacity: 0.72; }
.meter { height: 6px; background: var(--raise); }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.chip.holding, .chip.submitted, .chip.review { color: var(--warn); }
.chip.live, .chip.sent { background: var(--accent); color: var(--bg); }
.chip.expired, .chip.released, .chip.cancelled, .chip.ended, .chip.failed { color: var(--mute); }
.chip.needs_review, .chip.paused { color: var(--bad); }
.clock { font-variant-numeric: tabular-nums; font-weight: 700; }
.section-title { font-size: clamp(30px, 3.6vw, 48px); margin: clamp(30px, 4vw, 48px) 0 18px; }
.empty { color: var(--mute); padding: 22px 0; }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-left: 6px; vertical-align: middle; }
.addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; overflow-wrap: anywhere; }
.feedlist { list-style: none; margin: 0; padding: 0; display: grid; }
.feedlist li { padding: 14px 0; border-top: 1px solid var(--line); }
.feedlist li strong { display: block; }
.feedlist li p { color: var(--mute); font-size: 15px; }
.feedlist time { color: var(--mute); font-size: 13px; }
.ladder2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.ladder2 div { background: var(--raise); padding: 12px 14px; font-size: 14px; }
.ladder2 b { display: block; font-family: var(--display); font-stretch: 70%; font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 22px; }
.ladder2 .me { background: var(--accent); color: var(--bg); }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.how > div { background: var(--bg); padding: clamp(20px, 3vw, 34px); }
.how h3 { font: 700 19px/1.3 var(--body); margin-bottom: 8px; }
.how p { color: var(--mute); font-size: 15px; }
.how .n { font-family: var(--display); font-stretch: 70%; font-style: italic; font-weight: 800; font-size: 44px; line-height: 0.9; color: var(--accent); margin-bottom: 12px; }

@media (max-width: 860px) {
  .form .row2, .how { grid-template-columns: minmax(0, 1fr); }
  .tiers, .ladder2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .steps, .score-grid, .next, .board, .gate, .pair { grid-template-columns: minmax(0, 1fr); }
  .gate-art { order: -1; max-width: 240px; margin: 12px 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 8px; }
  .hero-bolt, .hero-mark { order: -1; width: 94%; margin: 0; }
  .ladder li:nth-child(2) { margin-left: 6%; } .ladder li:nth-child(3) { margin-left: 12%; } .ladder li:nth-child(4) { margin-left: 18%; }
  .field { grid-template-columns: minmax(0, 1fr) auto; } .field label { grid-column: 1 / -1; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; } .kv dd { margin-bottom: 10px; }
  .brand .word { display: none; }
}

@media (max-width: 560px) {
  .hide-s { display: none; }
  .invite { flex-wrap: wrap; } .invite input { flex-basis: 100%; }
  .page-head { align-items: flex-start; flex-direction: column; }
}
.mt { margin-top: 18px; }
.bignum { font-size: 28px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.card .chip { justify-self: start; }
.menu a { white-space: nowrap; }
.chip { white-space: nowrap; }

/* Project application and campaign pages */
.tiers.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mb { margin-bottom: 22px; }
.ifield { display: grid; gap: 7px; padding: 14px 0; border-top: 1px solid var(--line); }
.ifield label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.ifield .linklike { justify-self: start; }
.tabs2 { display: flex; gap: 4px; margin: 0 0 24px; flex-wrap: wrap; }
.tabs2 button { min-height: 44px; padding: 0 20px; background: var(--raise); color: var(--ink); border: 0; font: 600 15px/1 var(--body); cursor: pointer; }
.tabs2 button[aria-selected="true"] { background: var(--accent); color: var(--bg); }
.camp-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: flex-start; }
.camp-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; color: var(--mute); font-size: 14px; }
.camp-meta b { color: var(--ink); font-weight: 600; }
.ctask { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.ctask:first-of-type { border-top: 0; padding-top: 4px; }
.ctask h3 { font-size: 17px; }
.ctask p { color: var(--ink); line-height: 1.55; }
.must { display: flex; flex-wrap: wrap; gap: 6px; }
.must span { background: var(--raise); padding: 3px 9px; font-size: 13px; font-weight: 600; }
.top2 { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
ol.rules { padding-left: 20px; display: grid; gap: 8px; line-height: 1.5; }
.camp-head .display { font-size: clamp(36px, 5vw, 64px); }
.lvl { display: inline-block; padding: 3px 10px; font: 700 12px/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.lvl.gold { background: #E8C873; color: #2A1E00; }
.lvl.silver { background: #C9D1DE; color: #101826; }
.lvl.bronze { background: #C98B5A; color: #241104; }
.lvl.none { background: var(--raise); color: var(--mute); }
.prewrap { white-space: pre-wrap; }
.stack > .linklike { justify-self: start; }
@media (max-width: 640px) { .tiers.three { grid-template-columns: minmax(0, 1fr); } }
.steps2 { gap: 0; }
.steps2 button { flex: 1; letter-spacing: .02em; white-space: pre; }
.steps2 button[aria-selected="false"] { color: var(--mute); }
.livebar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin: 0 0 18px; border: 1px solid var(--line); background: var(--carbon); }
.livebar > div { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.livebar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 12px var(--warn); }
.livebar.on .dot { background: #7dffcc; box-shadow: 0 0 12px #7dffcc; }
.livebar.on { border-color: #2f6b56; }
