/* vonga.io/build (Nov 2026). The sample activation builder.
   Loads after v3.css and v4.css and uses their tokens. Navy and ink for the fan side,
   paper for the sponsor report, teal for choices and actions, ember only for the tap itself. */

.bld { position: relative; isolation: isolate; padding: 124px 0 0; min-height: 100svh; }
.bld-art { position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1; overflow: hidden; }
.bld-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: 0.55; }
.bld-art .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,31,0.94) 0%, rgba(14,20,31,0.72) 48%, rgba(14,20,31,0.3) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(14,20,31,0) 60%); }

/* Step pills */
nav.bld-steps { display: block; max-width: none; margin: 0; padding: 0; }
.bld-steps ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
body.v3 .bld-steps li::before { display: none !important; }
.bld-steps a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); color: var(--mid); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.bld-steps a b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--low); }
.bld-steps a:hover { border-color: var(--hi); color: var(--hi); }
.bld-steps a.is-done { border-color: rgba(51,190,204,0.55); color: var(--hi); }
.bld-steps a.is-done b { color: var(--teal); }
.bld-steps a[aria-current="step"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.bld-steps a[aria-current="step"] b { color: var(--ink); }

/* Step shell */
.bld-step { padding: 44px 0 96px; }
.bld-step[hidden] { display: none; }
.bld-step h1 { max-width: 20ch; outline: none; }
.bld-step h1.d2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1; }
.bld-step h1 + .lede { margin-top: 20px; max-width: 64ch; }
.bld-step.is-in .wrap > * { animation: bld-in 0.5s var(--ease-out) both; }
@keyframes bld-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.bld-group { margin-top: 40px; }
.bld-group[hidden] { display: none; }
.bld-group > h2 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: 15px; letter-spacing: 0.08em; color: var(--low); margin: 0 0 14px; }
.bld-fine { font-size: 14px; line-height: 1.5; color: var(--low); margin: 0; }

/* Chips: one of several */
.bld-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bld-chips button { font: inherit; font-size: 15px; font-weight: 500; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--hi); border: 1px solid rgba(255,255,255,0.28); transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.bld-chips button:hover { border-color: var(--hi); }
.bld-chips button[aria-pressed="true"] { background: var(--hi); border-color: var(--hi); color: var(--ink); font-weight: 600; }

/* Choice cards */
.bld-cards { display: grid; gap: 14px; }
.bld-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bld-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bld-cards.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bld-card { position: relative; font: inherit; text-align: left; cursor: pointer; min-height: 88px; padding: 18px 44px 18px 20px; border-radius: 16px; background: var(--ink-3); border: 1px solid var(--rule); color: var(--mid); transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), transform 0.25s var(--ease-out); }
.bld-card strong { display: block; font-family: var(--display); text-transform: uppercase; font-weight: 600; letter-spacing: 0.02em; font-size: 1.2rem; line-height: 1.1; color: var(--hi); }
.bld-card span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--mid); }
.bld-card.big { padding: 26px 56px 26px 26px; }
.bld-card.big strong { font-size: 1.55rem; }
.bld-card.big span { font-size: 16px; max-width: 40ch; }
.bld-card:hover { border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.bld-card::after { content: ""; position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.32); }
.bld-card[aria-pressed="true"] { border-color: var(--teal); background: #14303F; box-shadow: 0 0 0 1px var(--teal) inset; }
.bld-card[aria-pressed="true"]::after { border-color: var(--teal); background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%230E141F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* Text fields on the dark side */
.bld-field { max-width: 480px; }
.bld-field label { display: block; font-size: 15px; font-weight: 600; color: var(--hi); margin-bottom: 8px; }
.bld-field input { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; background: var(--ink); border: 1px solid rgba(255,255,255,0.28); color: var(--hi); font: inherit; font-size: 16px; caret-color: var(--teal); }
.bld-field input::placeholder { color: rgba(233,240,244,0.58); }
.bld-field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(51,190,204,0.35); }
.bld-field .bld-fine { margin-top: 8px; }
.bld-detail { padding: 28px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--rule); }
.bld-detail > h2 { font-size: 1.5rem; letter-spacing: 0.02em; font-weight: 600; color: var(--hi); margin-bottom: 6px; }
.bld-detail .bld-chips { margin: 18px 0 22px; }

/* Step footer */
.bld-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rule); }
.bld-back { min-width: 44px; }
.bld-back, .bld-link { font: inherit; font-size: 15px; font-weight: 500; color: var(--hi); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); text-underline-offset: 0.22em; }
.bld-back:hover, .bld-link:hover { text-decoration-color: var(--teal); color: var(--teal); }
.btn-v3[aria-disabled="true"] { opacity: 0.45; pointer-events: none; box-shadow: none; }

/* 1a. Map */
.bld-map { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: 32px; }
.bld-venue { position: relative; aspect-ratio: 600 / 520; border-radius: 24px; background: radial-gradient(120% 80% at 50% 0%, rgba(51,190,204,0.12), transparent 60%), var(--ink-2); border: 1px solid var(--rule); }
.bld-venue svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bld-venue svg[hidden] { display: none; }
.bld-venue .bowl { fill: rgba(233,240,244,0.07); stroke: rgba(233,240,244,0.16); stroke-width: 1.5; }
.bld-venue .turf { fill: rgba(51,190,204,0.13); stroke: rgba(51,190,204,0.4); stroke-width: 1.5; }
.bld-venue .dirt, .bld-venue .floor.wood { fill: rgba(222,178,120,0.22); stroke: rgba(222,178,120,0.5); stroke-width: 1.5; }
.bld-venue .floor.ice { fill: rgba(213,236,247,0.24); stroke: rgba(213,236,247,0.6); stroke-width: 1.5; }
.bld-venue .mark { fill: none; stroke: rgba(233,240,244,0.34); stroke-width: 1.5; }
.bld-venue .track { fill: none; stroke: rgba(233,240,244,0.16); stroke-width: 40; }
.bld-venue-name { position: absolute; left: 4px; top: 100%; margin: 10px 0 0; font-size: 13px; color: var(--low); }
.bld-venue { margin-bottom: 34px; }
.bld-now { display: none; }
.bld-spot { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.bld-spot button { width: 44px; height: 44px; border-radius: 50%; font: inherit; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; cursor: pointer; background: var(--ink); color: var(--hi); border: 1.5px dashed rgba(233,240,244,0.6); transition: transform 0.2s var(--ease-out), background-color 0.2s var(--ease-out); }
.bld-spot button:hover { transform: scale(1.08); border-color: var(--hi); }
.bld-spot button.on { background: var(--teal); color: var(--ink); border: 2px solid var(--hi); }
.bld-spot button[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.bld-spot span { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; line-height: 1; color: var(--hi); background: rgba(14,20,31,0.88); padding: 4px 7px; border-radius: 6px; pointer-events: none; }
.bld-spot.up span { top: auto; bottom: 48px; }
.bld-spot.left span { left: 0; transform: none; }
.bld-spot.right span { left: auto; right: 0; transform: none; }

.bld-placed { border-radius: 20px; background: var(--ink-3); border: 1px solid var(--rule); padding: 24px; }
.bld-count { font-family: var(--display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--hi); font-variant-numeric: tabular-nums; margin: 0 0 4px; }
.bld-empty { margin: 16px 0 0; font-size: 15px; line-height: 1.5; color: var(--mid); }
.bld-placed ul { list-style: none; margin: 16px 0 4px; padding: 0; }
body.v3 .bld-placed li::before { display: none !important; }
.bld-placed li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 15px; color: var(--hi); }
.bld-placed li span.n { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.bld-placed li button { width: 44px; height: 44px; border-radius: 12px; cursor: pointer; background: transparent; color: var(--hi); border: 1px solid rgba(255,255,255,0.28); display: grid; place-items: center; }
.bld-placed li button:hover { border-color: var(--hi); }
.bld-placed li button svg { width: 18px; height: 18px; }

/* 4. Tap */
.bld-tap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 96px); align-items: center; justify-content: center; max-width: 920px; margin: 48px auto 0; }
.bld-thing { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.bld-object { width: 100%; max-width: 460px; min-height: 340px; padding: 36px 28px; border-radius: 24px; background: radial-gradient(120% 80% at 50% 100%, rgba(255,107,61,0.10), transparent 60%), var(--ink-3); border: 1px solid var(--rule); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.bld-object.stand { max-width: 300px; border-radius: 24px 24px 6px 6px; border-bottom: 10px solid var(--navy); }
.bld-object .kind { margin: 0; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--low); }
.bld-object .by { margin: 0 0 14px; font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 1.6rem; line-height: 1.1; letter-spacing: 0.01em; color: var(--hi); text-wrap: balance; overflow-wrap: anywhere; }
/* The tap itself: the one place ember appears */
.bld-chip { position: relative; width: 104px; height: 104px; border-radius: 50%; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; background: var(--ember); color: var(--ink); border: 2px solid var(--ember); transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out); }
.bld-chip:hover { transform: scale(1.05); }
.bld-chip:active { transform: scale(0.96); }
.bld-chip::before, .bld-chip::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid var(--ember); opacity: 0; pointer-events: none; animation: bld-ripple 2.4s var(--ease-out) infinite; }
.bld-chip::after { animation-delay: 0.6s; }
.bld-chip[aria-pressed="true"] { background: transparent; color: var(--hi); }
.bld-chip[aria-pressed="true"]::before, .bld-chip[aria-pressed="true"]::after { animation: none; }
@keyframes bld-ripple { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }

.bld-phone { width: 300px; height: 580px; padding: 12px; border-radius: 44px; background: #05080D; border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.bld-phone .screen { height: 100%; border-radius: 32px; overflow: hidden; background: var(--navy); color: var(--hi); display: flex; flex-direction: column; }
.bld-phone .waiting { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; font-size: 14px; color: var(--mid); }
.bld-phone .waiting[hidden], .bld-phone .tapped[hidden] { display: none; }
.bld-phone .waiting strong { font-size: 17px; color: var(--hi); }
.bld-phone .ring { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed rgba(233,240,244,0.6); margin-bottom: 6px; }
.bld-phone .tapped { flex: 1; display: flex; flex-direction: column; animation: bld-in 0.45s var(--ease-out); }
.bld-phone .top { background: var(--ink); padding: 26px 20px 18px; display: flex; flex-direction: column; gap: 4px; }
.bld-phone .top span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--low); }
.bld-phone .top strong { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 1.3rem; line-height: 1.1; color: var(--hi); overflow-wrap: anywhere; }
.bld-phone .body { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.bld-phone .body > strong { font-size: 19px; font-weight: 700; color: var(--hi); }
.bld-phone .body p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--hi); overflow-wrap: anywhere; }
.bld-phone .mock-field { display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.4); font-size: 14px; color: var(--mid); }
.bld-phone .mock-field[hidden] { display: none; }
.bld-phone .opt { font-size: 12.5px; color: var(--mid); }
.bld-phone .mock-btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 999px; background: var(--teal); color: var(--ink); font-weight: 600; font-size: 15px; }
.bld-phone .sample { margin-top: auto; text-align: center; font-size: 12.5px; color: var(--mid); }

/* 5. Report on paper */
.bld-step.paper { background: var(--paper); color: #2A3442; margin-top: 44px; padding-top: 64px; }
.bld-step.paper .d2 { color: var(--ink); max-width: 22ch; overflow-wrap: anywhere; }
.bld-step.paper .bld-foot { border-top-color: rgba(14,20,31,0.14); }
.bld-step.paper .bld-back { color: var(--ink); text-decoration-color: rgba(14,20,31,0.4); }
.bld-step.paper .bld-back:hover { color: var(--teal-ink); }
.bld-step.paper .btn-v3.solid { background: var(--ink); color: var(--hi); box-shadow: none; }
.bld-rhead { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.bld-sample { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 6px; background: #FFE2A8; color: #5B3A00; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.bld-context { margin: 16px 0 0; font-size: 16px; color: rgba(14,20,31,0.72); }
.bld-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: white; border: 1px solid rgba(14,20,31,0.16); }
.bld-toggle button { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; background: transparent; color: var(--ink); }
.bld-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--hi); }
.bld-step.paper :focus-visible { outline-color: var(--teal-ink); }

.bld-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); margin: 48px 0 0; }
.bld-tiles > div { border-top: 2px solid var(--ink); padding: 18px 0 28px; }
.bld-tiles dt { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.bld-tiles dd { margin: 0; }
.bld-tiles dd.v { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.bld-tiles dd.note { margin-top: 4px; font-size: 14px; color: rgba(14,20,31,0.68); }
.bld-tiles > div { display: flex; flex-direction: column; }
.bld-tiles dd.v { order: -1; }

.bld-rgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 24px; }
.bld-charts h2 { font-family: var(--display); text-transform: uppercase; font-weight: 600; letter-spacing: 0.02em; font-size: 1.35rem; color: var(--ink); margin: 0 0 16px; }
.bld-charts h2:not(:first-child) { margin-top: 36px; }
.bld-bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 44px; gap: 14px; align-items: center; padding: 9px 0; font-size: 15px; color: var(--ink); }
.bld-bar .track { height: 14px; border-radius: 3px; background: rgba(14,20,31,0.08); overflow: hidden; }
.bld-bar .fill { display: block; height: 100%; border-radius: 3px; background: var(--teal-ink); transform-origin: left; animation: bld-grow 0.7s var(--ease-out) both; }
.bld-bar .pct { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.bld-bar .lab { overflow-wrap: anywhere; }
@keyframes bld-grow { from { transform: scaleX(0); } to { transform: none; } }
.bld-renewal { background: var(--ink); color: var(--hi); border-radius: 24px; padding: clamp(28px, 3.4vw, 44px); box-shadow: 0 24px 48px rgba(14,20,31,0.22); }
.bld-renewal h2 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: 15px; letter-spacing: 0.08em; color: var(--teal); margin: 0 0 16px; }
.bld-renewal p { margin: 0; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.4; font-weight: 500; color: var(--hi); overflow-wrap: anywhere; }
.bld-renewal p.note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--mid); }

/* 6. Next */
.bld-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); margin-top: 48px; }
.bld-scope h2 { font-family: var(--display); text-transform: uppercase; font-weight: 600; letter-spacing: 0.02em; font-size: 1.5rem; color: var(--hi); margin: 0 0 6px; }
.bld-scope ul { list-style: none; margin: 0; padding: 0; }
body.v3 .bld-scope li::before { display: none !important; }
.bld-scope li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; line-height: 1.5; color: var(--hi); }
.bld-ask { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: 64px; }
.bld-ask .form3 .d3 { color: var(--ink); }
.bld-ask .aside3 p { font-size: 1.1rem; line-height: 1.6; color: var(--mid); margin: 0 0 24px; }
.bld-ask .aside3 a.btn-v3 { color: var(--hi); font-weight: 600; }
.bld-ask input[aria-invalid="true"] { border-color: #A3341A; }

@media (max-width: 1000px) {
  .bld-cards.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bld-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bld-map, .bld-rgrid, .bld-ask { grid-template-columns: 1fr; }
  .bld-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .bld { padding-top: 92px; }
  .bld-step { padding: 32px 0 72px; }
  .bld-steps ol { gap: 6px; }
  .bld-steps a { padding: 0; width: 44px; justify-content: center; }
  .bld-now { display: block; margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--mid); }
  .bld-steps a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bld-cards.two, .bld-cards.four, .bld-scope { grid-template-columns: 1fr; }
  .bld-cards.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bld-card.big { padding: 22px 52px 22px 20px; }
  .bld-venue { aspect-ratio: 600 / 640; border-radius: 18px; }
  .bld-tap { grid-template-columns: 1fr; justify-items: center; }
  .bld-object { min-height: 280px; }
  .bld-step.paper { margin-top: 32px; padding-top: 44px; }
  .bld-bar { grid-template-columns: minmax(0, 1fr) 44px; gap: 6px 14px; }
  .bld-bar .lab { grid-column: 1 / -1; }
  .bld-foot .btn-v3 { width: 100%; justify-content: center; text-align: center; min-height: 52px; padding: 8px 22px; }
}
@media (max-width: 480px) {
  .bld-tiles { grid-template-columns: 1fr; }
  .bld-toggle { width: 100%; }
  .bld-toggle button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .bld-step.is-in .wrap > *, .bld-phone .tapped, .bld-bar .fill, .bld-chip::before, .bld-chip::after { animation: none; }
  .bld-card, .bld-chip, .bld-spot button { transition: none; }
}
