/* Light first; dark redefines the same tokens from Cari's palette.ts. */
:root {
  --bg: #fafaf9;
  --ink: #16181d;
  --ink-subtle: #5b6170;
  --rule: #e3e5e9;
  --field: #ffffff;
  --field-border: #cdd1d8;
  --pick: #16181d;
  --pick-ink: #fafaf9;
  --cta: #16181d;
  --cta-ink: #fafaf9;
  --mark: #2bc489;
  --err: #b42318;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0b0d;
    --ink: #f5f7fa;
    --ink-subtle: #9ca3af;
    --rule: #2a2e36;
    --field: #15171b;
    --field-border: #2a2e36;
    --pick: #36f1a5;
    --pick-ink: #0a0b0d;
    --cta: #36f1a5;
    --cta-ink: #0a0b0d;
    --mark: #36f1a5;
    --err: #f87171;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0b0d;
  --ink: #f5f7fa;
  --ink-subtle: #9ca3af;
  --rule: #2a2e36;
  --field: #15171b;
  --field-border: #2a2e36;
  --pick: #36f1a5;
  --pick-ink: #0a0b0d;
  --cta: #36f1a5;
  --cta-ink: #0a0b0d;
  --mark: #36f1a5;
  --err: #f87171;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  padding-inline: 20px;
}
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding-block: 40px 64px;
}
.cols {
  display: grid;
  grid-template-columns: minmax(0, 34em) minmax(280px, 360px);
  justify-content: space-between;
  gap: 56px;
  align-items: start;
}
aside {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 32px);
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--field);
}
aside h2 {
  margin: 0 0 6px;
}
aside .lede {
  font-size: 16px;
  color: var(--ink-subtle);
  line-height: 1.5;
}
@media (max-width: 820px) {
  .cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  aside {
    position: static;
  }
}
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  display: inline-flex;
  color: var(--ink);
  line-height: 0;
}
.wordmark .wm {
  height: 26px;
  width: auto;
}
.wm-ink {
  fill: currentColor;
}
.wm-dot {
  fill: var(--mark);
}
main {
  padding-top: 36px;
  display: grid;
  gap: 22px;
}
p {
  margin: 0;
}
h2 {
  margin: 14px 0 0;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
ul {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 6px;
}
li::marker {
  color: var(--ink-subtle);
}
li strong {
  font-weight: 600;
}
form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.lbl {
  font-size: 16px;
  font-weight: 600;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
fieldset input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
fieldset label {
  border: 1px solid var(--field-border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 16px;
  cursor: pointer;
  background: var(--field);
}
fieldset input:checked + label {
  background: var(--pick);
  color: var(--pick-ink);
  border-color: var(--pick);
}
fieldset input:focus-visible + label {
  outline: 2px solid var(--mark);
  outline-offset: 2px;
}
.row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.row input {
  flex: 1 1 100%;
  min-width: 0;
  font: inherit;
  font-size: 17px;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  background: var(--field);
  color: var(--ink);
}
.row button {
  flex: 1 1 100%;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--cta);
  color: var(--cta-ink);
  cursor: pointer;
}
.fine {
  font-size: 15px;
  color: var(--ink-subtle);
}
.fine a,
footer a {
  color: inherit;
}
footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-subtle);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}
nav a {
  color: var(--ink-subtle);
  text-decoration: none;
}
nav a:hover {
  color: var(--ink);
}
@media (max-width: 640px) {
  nav {
    display: none;
  }
}
section {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
section > h2 {
  margin: 0 0 8px;
}
section > h2.big {
  text-transform: none;
  color: var(--ink);
  margin: 0 0 20px;
}
section .big {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
  max-width: 24em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}
@media (max-width: 820px) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
.card {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}
.card p {
  font-size: 16px;
  color: var(--ink-subtle);
  line-height: 1.55;
}
.punch {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.beliefs {
  padding-left: 1.1em;
  display: grid;
  gap: 8px;
  margin: 0;
}
.beliefs li::marker {
  color: var(--mark);
}
.sub {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}
.lede-p {
  max-width: 34em;
  margin: 0 0 28px;
}
.contact {
  margin-top: 28px;
  font-size: 17px;
}
.contact a {
  color: var(--ink);
  font-weight: 600;
}
.closing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.closing a.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--cta);
  color: var(--cta-ink);
}

details {
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
details:first-of-type {
  border-top: 1px solid var(--rule);
}
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--ink-subtle);
  font-weight: 400;
}
details[open] summary::after {
  content: "–";
}
details p {
  margin-top: 10px;
  color: var(--ink-subtle);
  max-width: 40em;
}
.faq {
  max-width: 46em;
}
.policy {
  max-width: 40em;
  font-size: 16px;
  color: var(--ink-subtle);
  display: grid;
  gap: 10px;
}
.policy a {
  color: var(--ink);
}

@media (max-width: 820px) {
  .app {
    justify-self: stretch;
  }
}

.frow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
  padding-block: 28px;
}
.frow + .frow {
  border-top: 1px dashed var(--rule);
}
@media (max-width: 860px) {
  .frow {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
.ftext p {
  color: var(--ink-subtle);
  max-width: 30em;
}
.ftext p + p {
  margin-top: 10px;
}
.fig {
  margin: 0;
  width: 100%;
  max-width: 420px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  background: var(--field);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 40px rgba(22, 24, 29, 0.08);
  font-size: 15px;
  line-height: 1.4;
}
@media (max-width: 860px) {
  .fig {
    justify-self: stretch;
    max-width: none;
  }
}
.fig figcaption {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: var(--ink-subtle);
}
.fig-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.fig-head .k {
  display: block;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-subtle);
}
.fig-head .m {
  display: block;
  font-size: 14px;
  color: var(--ink-subtle);
}
.fig-head .amt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}
.bids {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bids li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--bg);
}
.who {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.who b {
  font-weight: 600;
}
.who span {
  color: var(--ink-subtle);
  font-size: 13px;
}
.bid {
  display: grid;
  justify-items: end;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}
.bid b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
}
.bid .chip,
.chip {
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 1px 8px;
  color: #0a0b0d;
}
.bid .chip.ok {
  background: #36f1a5;
  color: #0a0b0d;
}
.bid .chip.ctr {
  background: #ffb65c;
  color: #0a0b0d;
}
.btn {
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 14px;
  background: var(--cta);
  color: var(--cta-ink);
}
.bids li.wait {
  display: flex;
  gap: 10px;
  color: var(--ink-subtle);
  font-size: 13px;
  background: transparent;
  border-style: dashed;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb65c;
  box-shadow: 0 0 0 4px rgba(255, 182, 92, 0.25);
  flex: none;
}
.zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
}
.zone svg {
  width: 100%;
  height: auto;
}
.poly {
  fill: rgba(54, 241, 165, 0.14);
  stroke: #2bc489;
  stroke-width: 2;
  stroke-linejoin: round;
}
.ring {
  fill: none;
  stroke: var(--ink-subtle);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: 0.7;
}
.rl {
  font: 600 10px var(--body);
  fill: var(--ink-subtle);
  text-anchor: middle;
}
.path {
  stroke: var(--ink);
  stroke-width: 2;
  stroke-dasharray: 4 3;
}
.pu {
  fill: #36f1a5;
  stroke: var(--ink);
  stroke-width: 2;
}
.do {
  fill: var(--ink);
}
.tiers,
.split {
  margin: 0;
  display: grid;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.tiers div,
.split div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--bg);
}
.tiers dt {
  font-size: 13px;
  color: var(--ink-subtle);
}
.tiers dd,
.split dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
}
.tiers .on {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.tiers .on dt {
  color: var(--ink);
}
.split {
  margin-top: 14px;
}
.split div {
  padding: 12px 14px;
}
@media (max-width: 420px) {
  .zone {
    grid-template-columns: minmax(0, 1fr);
  }
}
.sig {
  margin: 0;
}
main a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
.sig strong {
  display: block;
  font-weight: 600;
}
.wl-error {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--err);
  border: 1px solid var(--err);
  border-radius: 10px;
  padding: 10px 14px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wordmark {
  color: inherit;
  text-decoration: none;
}
.note h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.note .back a {
  color: var(--ink);
  font-weight: 600;
}
.note {
  padding-top: 36px;
  display: grid;
  gap: 22px;
}
.note .policy {
  margin-top: 0;
}
