/* Layout, density and motion values measured from the reference (header 56px, container 72rem,
   gutters 16/24px, panel radius 24px, hard 8px shadow, rise 350ms, stagger 0/60/120/180ms, bar 800ms).
   No colour literals here: tokens.css only. */
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/plex-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/plex-600.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--black); font-family: var(--font-mono); text-rendering: optimizeLegibility;
  background-color: var(--pink);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--black) 30%, transparent) .9px, transparent 1.1px);
  background-size: 6px 6px;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--foam); outline-offset: 2px; box-shadow: 0 0 0 5px var(--black); }

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .wrap { padding-left: 24px; padding-right: 24px; } }

/* sticky top: header + contract slot */
.top { position: sticky; top: 0; z-index: 40; }
.head { background: color-mix(in srgb, var(--black) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 2px solid var(--black); color: var(--foam); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.logo-tile { width: 36px; height: 36px; border-radius: 16px; border: 2px solid var(--black); background: var(--pink); box-shadow: 0 3px var(--black); overflow: hidden; transition: transform .15s; }
.logo-tile img { width: 100%; height: 100%; object-fit: cover; }
.brand:hover .logo-tile { transform: translateY(-2px); }
.wordmark { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.wordmark i { font-style: normal; color: var(--pink-hot); }
.nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 768px) { .nav { display: flex; } }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; text-decoration: none; color: color-mix(in srgb, var(--foam) 75%, transparent); transition: background .15s, color .15s; }
.nav a:hover { background: color-mix(in srgb, var(--foam) 10%, transparent); color: var(--foam); }
.nav a[aria-current="true"] { background: var(--pink); color: var(--black); box-shadow: 0 2px var(--black); }

.socials { display: flex; align-items: center; gap: 4px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--foam); text-decoration: none; transition: background .15s, color .15s; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
a.social:hover { background: var(--foam); color: var(--black); }
span.social { color: color-mix(in srgb, var(--foam) 38%, transparent); cursor: not-allowed; }

/* contract slot */
.ca { background: var(--black-2); border-bottom: 2px solid var(--black); color: var(--foam); }
.ca .wrap { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.ca-tag { flex: none; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--pink-hot); }
.ca-value { font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; word-break: break-all; text-align: left; }
@media (min-width: 640px) { .ca-value { font-size: 18px; } }
@media (min-width: 1024px) { .ca-value { font-size: 22px; } }
button.ca-copy { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex: 1 1 auto; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 4px 12px; border: 2px solid var(--foam); border-radius: 16px; box-shadow: 0 4px var(--black); color: var(--foam); font-family: var(--font-mono); transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
button.ca-copy:hover { background: var(--foam); color: var(--black); transform: translateY(2px); box-shadow: 0 2px var(--black); }
button.ca-copy:focus-visible { outline: 3px solid var(--pink-hot); outline-offset: 3px; }
.ca-act { flex: none; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--pink-hot); }
button.ca-copy:hover .ca-act { color: var(--pink-dark); }
.ca-copy[data-copied="true"] .ca-act { color: var(--foam); }
.ca-copy[data-copied="true"]:hover .ca-act { color: var(--black); }
.ca-idle { flex: 1 1 auto; min-width: 0; min-height: 44px; display: flex; align-items: center; padding: 4px 12px; border: 2px dashed color-mix(in srgb, var(--foam) 40%, transparent); border-radius: 16px; font-size: 13px; line-height: 1.4; color: var(--light); }
.ca-idle b { font-weight: 600; color: var(--foam); }
@media (min-width: 640px) { .ca-idle { font-size: 16px; } }

main.wrap { flex: 1; padding-top: 24px; padding-bottom: 112px; }
@media (min-width: 768px) { main.wrap { padding-bottom: 48px; } }

/* panels */
.bubble { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--black-2) 0%, var(--black) 55%, var(--black) 100%); border: 2px solid var(--black); border-radius: 24px; box-shadow: 0 8px var(--black); color: var(--foam); }
.bubble::after { content: ""; pointer-events: none; border-radius: inherit; background: linear-gradient(color-mix(in srgb, var(--foam) 16%, transparent), transparent); height: 42%; position: absolute; inset: 0 0 auto; }
.bubble > * { position: relative; z-index: 1; }
.bubble-sm { background: linear-gradient(165deg, var(--black-2) 0%, var(--black) 100%); border: 2px solid var(--black); border-radius: 16px; box-shadow: 0 4px var(--black); color: var(--foam); }
.bar-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 2px solid var(--black); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; background: var(--black-2); color: var(--foam); }
.bar-title.pink { background: var(--pink); color: var(--black); }
.bar-title .t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bar-title .t span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-title .dots { display: flex; gap: 6px; }
.bar-title .dots i { display: block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid currentColor; opacity: .7; }
.bar-title a, .bar-title .plain { text-transform: none; letter-spacing: 0; }
.link { color: var(--foam); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--foam) 35%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .15s, color .15s; }
.link:hover { text-decoration-color: currentColor; }
.link.on-ink { color: var(--black); text-decoration-color: color-mix(in srgb, var(--black) 35%, transparent); }

/* hero */
.hero { display: grid; }
@media (min-width: 1024px) { .hero { grid-template-columns: 1.2fr .8fr; } }
.hero-l { padding: 24px; border-bottom: 2px solid var(--black); }
.hero-r { padding: 24px; background: var(--black-2); }
@media (min-width: 640px) { .hero-l { padding: 32px; } .hero-r { padding: 28px; } }
@media (min-width: 1024px) { .hero-l { border-bottom: 0; border-right: 2px solid var(--black); } }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--pink); margin-bottom: 16px; }
h1 { max-width: 32rem; font-size: 37.6px; font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: var(--foam); }
@media (min-width: 640px) { h1 { font-size: 48px; } }
h1 em { color: var(--pink-hot); }
.lead { margin-top: 16px; max-width: 28rem; font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--foam) 80%, transparent); }
@media (min-width: 640px) { .lead { font-size: 17px; } }
.cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .cta { flex-direction: row; } }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border: 2px solid var(--black); border-radius: 999px; font: 600 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.btn-primary { border-color: var(--foam); color: var(--foam); background: linear-gradient(var(--black-2) 0%, var(--black) 100%); box-shadow: 0 6px color-mix(in srgb, var(--foam) 35%, transparent); }
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 4px color-mix(in srgb, var(--foam) 35%, transparent); color: var(--black); background: var(--foam); }
.btn-secondary { color: var(--foam); background: transparent; border-color: var(--foam); box-shadow: 0 5px color-mix(in srgb, var(--foam) 20%, transparent); }
.btn-secondary:hover { transform: translateY(2px); box-shadow: 0 3px color-mix(in srgb, var(--foam) 20%, transparent); background: color-mix(in srgb, var(--foam) 12%, transparent); }

.micro { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--light); }
.shares { margin-top: 16px; display: grid; gap: 12px; }
.share-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.share-num { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.share-txt { text-align: right; }
.share-txt p:first-child { font-size: 14px; }
.note { font-size: 11px; color: var(--light); }
.track { height: 8px; overflow: hidden; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--foam) 20%, transparent); background: var(--black); }
.fill { height: 100%; border-radius: 999px; background: var(--foam); transform-origin: 0 50%; }
.tick { margin-top: 20px; padding: 12px 14px; border: 2px solid color-mix(in srgb, var(--foam) 35%, transparent); border-radius: 16px; background: var(--black); box-shadow: 0 4px color-mix(in srgb, var(--foam) 20%, transparent); }
.tick-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tick-top .micro { font-size: 10px; color: color-mix(in srgb, var(--foam) 50%, transparent); }
.tick-val { margin-top: 4px; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tick .note { margin-top: 8px; line-height: 1.6; color: color-mix(in srgb, var(--foam) 65%, transparent); }
.foot-note { margin-top: 12px; font-size: 12px; line-height: 1.6; color: color-mix(in srgb, var(--foam) 70%, transparent); }
.pill { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink-hot); }
.dot.live { animation: boot-pulse 1.4s ease-in-out infinite; }
.dot.off { background: var(--grey); }

/* sections */
.sec { margin-top: 40px; }
.sec.first { margin-top: 32px; }
.sec-head { margin-bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
h2 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.sec-sub { margin-top: 4px; font-size: 12px; font-weight: 500; color: color-mix(in srgb, var(--black) 75%, transparent); }
.sec-head .link { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { padding: 12px; }
.tile .micro { font-size: 10px; letter-spacing: .14em; }
.tile-val { margin-top: 4px; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tile .note { margin-top: 2px; font-size: 10px; }
.steps { display: grid; gap: 12px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step-body { padding: 16px; }
.step-body .n { font-size: 12px; color: var(--pink); }
.step-body h3 { margin-top: 8px; font-size: 18px; font-weight: 600; }
.step-body p.txt { margin-top: 8px; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--foam) 75%, transparent); overflow-wrap: anywhere; }
.list { padding: 0 12px; }
.row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid color-mix(in srgb, var(--foam) 18%, transparent); transition: background .15s; }
.row:last-child { border-bottom: 0; }
.row:hover { background: color-mix(in srgb, var(--foam) 5%, transparent); }
@media (min-width: 640px) { .row { grid-template-columns: auto 1fr auto auto; } }
.ico { width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--black); background: var(--pink); box-shadow: 0 2px var(--black); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--black); }
.ico.blank { background: transparent; border-style: dashed; border-color: color-mix(in srgb, var(--foam) 35%, transparent); box-shadow: none; color: var(--light); }
.row .sym { font-size: 14px; font-weight: 600; }
.row .sub { font-size: 11px; color: color-mix(in srgb, var(--foam) 65%, transparent); overflow-wrap: anywhere; }
.row .r { display: none; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .row .r { display: block; } }

.foot { display: none; padding-top: 20px; padding-bottom: 20px; font-size: 12px; }
@media (min-width: 768px) { .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; } }
.foot p { color: color-mix(in srgb, var(--black) 80%, transparent); }

/* mobile bottom nav */
.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; overflow: hidden; padding-bottom: env(safe-area-inset-bottom); border: 2px solid var(--black); border-radius: 24px; background: var(--black); box-shadow: 0 8px var(--black); }
@media (min-width: 768px) { .dock { display: none; } }
.dock ul { display: flex; max-width: 32rem; margin: 0 auto; height: 56px; }
.dock li { flex: 1; }
.dock a { display: flex; height: 100%; align-items: center; justify-content: center; border-right: 1px solid color-mix(in srgb, var(--foam) 10%, transparent); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; text-decoration: none; color: var(--foam); }
.dock li:last-child a { border-right: 0; }
.dock a[aria-current="true"] { background: var(--foam); color: var(--black); }

.live-region { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[id] { scroll-margin-top: 160px; }

/* motion */
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bar-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes boot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.rise { animation: rise-in .35s var(--ease) both; }
.rise-1 { animation-delay: 60ms; }
.rise-2 { animation-delay: .12s; }
.rise-3 { animation-delay: .18s; }
.fill { animation: bar-fill .8s var(--ease) both; }

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