/* Start page and the friendly "not here" page. The shared look is in ui.css. */
.btn.off { border-color: var(--edge); color: var(--muted); background: transparent; pointer-events: none; }
/* the 404 page (served by serve.py), Halide: a large faint figure, the red label, the title, the line and two buttons, centred in the window's height */
.notfound .nf { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; max-width: 880px; padding: 48px 0 90px; }
.nf-big { font: var(--hw) 220px/.8 var(--fd); letter-spacing: -.05em; color: var(--line2); }
.nf-k { font: 500 12px var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--acc2); margin: 0; }
.nf-h { margin: 0; font: var(--hw) 72px/.95 var(--fd); letter-spacing: -.035em; text-transform: uppercase; overflow-wrap: break-word; color: var(--ink); }
.nf-l { margin: 0; font: 400 16px/1.55 var(--fb); color: var(--mut); max-width: 62ch; }
.nf-b { margin: 0; }
@media (max-width: 639px) { .notfound .nf { min-height: 52vh; padding: 28px 0 90px; } .nf-big { font-size: 120px; } .nf-h { font-size: 40px; } }


/* the host page (host page handoff): a centred hero, the two kinds of campaign as two groups of cards (GroupHeading, HostTypeCard with its
   IconChip and Badge), two links and one quiet line. The aurora behind it is the home page's. Group tones: --cb-fund and --cb-auction (ui.css). */
.hostpage { padding-top: 0; padding-bottom: 0; }
/* the About page (owner, 22 Oct 2026): plain text in one readable column */
.aboutpage { padding-top: 0; }
.about { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 8vw, 96px); }
.about h1 { margin: 16px 0 8px; font: 700 clamp(30px, 4.4vw, 44px)/1.12 var(--cb-font-display, var(--cb-font-body)); color: var(--cb-ink); }
.about .about-lede { margin: 0 0 32px; font: 500 18px/1.45 var(--cb-font-body); color: var(--cb-ink-2); }
.about h2 { margin: 32px 0 10px; font: 600 20px/1.3 var(--cb-font-body); color: var(--cb-ink); }
.about p, .about li { font: 400 16px/1.6 var(--cb-font-body); color: var(--cb-ink-2); }
.about p { margin: 0 0 12px; }
.about ul li { list-style: disc; }
.about ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.about a { color: var(--cb-accent-text); }
.hp { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 5vw, 64px); }
.hhero { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 720px; }
.heyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--cb-radius-pill); background: var(--cb-fund-tint); border: 1px solid rgba(var(--accrgb), .35);
  font: 600 12px var(--cb-font-body); letter-spacing: .16em; color: var(--cb-accent-text); }
.heyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cb-fund); }
.hhero h1 { font: 700 clamp(36px, 5.6vw, 68px)/1.04 var(--cb-font-display); letter-spacing: -.035em; color: var(--cb-ink); text-wrap: balance; }
.hhero p { font: 400 clamp(15px, 1.4vw, 17px)/1.6 var(--cb-font-body); color: var(--cb-ink-2); max-width: 600px; }
.hgroup { --tone: var(--cb-fund); --tint: var(--cb-fund-tint); display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.hgroup.auction { --tone: var(--cb-auction); --tint: var(--cb-auction-tint); }
/* GroupHeading: the title between two short hairlines in the group's tone, and a subline */
.gh { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.gh-row { display: flex; align-items: center; gap: 12px; }
.gh-line { width: 28px; height: 1px; background: var(--tone); opacity: .6; }
.gh h2 { font: 700 clamp(24px, 2.6vw, 30px) var(--cb-font-display); letter-spacing: -.02em; color: var(--cb-ink); }
.gh-sub { font: 500 13px var(--cb-font-body); letter-spacing: .08em; color: var(--cb-ink-3); white-space: nowrap; }
.hgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; width: 100%; }
/* HostTypeCard: not interactive; it lifts a little under the pointer. The chip row sits at the bottom so the cards of a row line up. */
.htc { position: relative; background: var(--cb-surface); border: 1px solid var(--cb-border); border-radius: 20px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; text-align: left;
  transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s, box-shadow .25s; }
.htc:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 55%, transparent); box-shadow: 0 18px 40px rgba(var(--shrgb), .16); }
.htc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
/* IconChip: the group's tint behind a stroke icon in its tone */
.ichip { width: 44px; height: 44px; border-radius: 13px; background: var(--tint); color: var(--tone); display: flex; align-items: center; justify-content: center; flex: none; }
.ichip svg { display: block; }
/* Badge: NEW in gold, DEFAULT outlined in the auction tone */
.hbadge { padding: 4px 10px; border-radius: var(--cb-radius-pill); font: 600 11px var(--cb-font-body); letter-spacing: .12em; }
.hbadge.new { background: var(--cb-wait); color: var(--cb-on-ink); } /* white on the light theme's dark gold, near black on the dark theme's light gold: at least 4.5 to 1 in both */
.hbadge.default { border: 1px solid var(--cb-auction); color: var(--cb-auction); }
.htc-t { font: 700 19px/1.2 var(--cb-font-display); letter-spacing: -.01em; color: var(--cb-ink); }
.htc-b { display: flex; flex-direction: column; gap: 8px; }
.htc-b li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; align-items: baseline; font: 400 14px/1.55 var(--cb-font-body); color: var(--cb-ink-2); text-wrap: pretty; }
.htc-b li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tone); transform: translateY(-2px); }
.htc-note { font: 400 13px/1.5 var(--cb-font-body); color: var(--cb-ink-3); }
.htc-chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: 4px; }
.htc-k { font: 600 11px var(--cb-font-body); letter-spacing: .14em; color: var(--cb-ink-4); margin-right: 2px; }
.hchip { padding: 5px 10px; border-radius: var(--cb-radius-pill); background: rgba(var(--cb-overlay-rgb), .06); border: 1px solid var(--cb-border); font: 500 12px var(--cb-font-body); color: var(--cb-ink-2); }
.hactions { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 8px; width: 100%; }
.hbtns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; }
.hbtn { min-height: 52px; padding: 0 28px; border-radius: var(--cb-radius-pill); border: 1px solid var(--cb-border-hover); background: transparent; color: var(--cb-ink); font: 600 15px var(--cb-font-body);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; white-space: nowrap; flex: none;
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s, border-color .2s, background .2s; }
.hbtn:hover { color: var(--cb-ink); transform: translateY(-2px); border-color: var(--accT); background: rgba(var(--accrgb), .08); }
.hbtn.primary { background: var(--accT); border-color: var(--accT); color: var(--aink); }
.hbtn.primary:hover { color: var(--aink); background: var(--accT); box-shadow: 0 10px 28px rgba(var(--accrgb), .35); }
.hbtn:active { transform: scale(.97); }
.hbtn:focus-visible { outline: 2px solid var(--accT); outline-offset: 2px; }
.hquiet { font: 400 13px var(--cb-font-body); color: var(--cb-ink-3); text-align: center; white-space: nowrap; }
@media (min-width: 1000px) { .hgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 719px) { .hgrid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .htc:hover, .hbtn:hover, .hbtn:active { transform: none; } }

/* the demo (clewbook.xyz/demo): the same frame as the product, the TESTNET bar on top and a TESTNET · DEMO eyebrow */
.demo { padding-top: 36px; }
.demo-k { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--cb-font-body); letter-spacing: .16em; color: var(--cb-accent-text); margin-bottom: 10px; }
.demo-k .tn-tag { padding: 2px 8px; font-size: 11px; letter-spacing: .04em; }
.demo .t-h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.03em; }
.demo .t-lead { margin-top: 14px; max-width: 820px; }
.demo-cards { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.dcard { background: var(--cb-surface); border: 1px solid var(--cb-border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.dcard.first { border-color: color-mix(in srgb, var(--cb-action) 45%, transparent); }
.dk { font: 600 12px var(--cb-font-body); color: var(--cb-accent-text); letter-spacing: .12em; }
.dcard h2 { font: 700 22px var(--cb-font-display); letter-spacing: -.01em; }
.dcard { min-width: 0; }
/* the card's button stays inside the card at every width: as wide as the card at most, its words may wrap onto two lines */
.dact .btn { box-sizing: border-box; max-width: 100%; min-height: 52px; height: auto; padding-top: 10px; padding-bottom: 10px; white-space: normal; text-align: center; }
.dcard .muted { color: var(--cb-ink-2); } /* body text on the card: 7:1 needs ink-2 (muted ink-3 is 6.95:1 on the card) */
.dact { margin-top: auto; padding-top: 6px; }
.dact .btn { margin: 0; }
.demo-foot { margin-top: 24px; font-size: 13px; }
.proofs { margin-top: 24px; background: var(--cb-surface); border: 1px solid var(--cb-border); border-radius: 18px; padding: 6px 22px; }
.prow { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid var(--cb-rule); }
.prow:first-child { border-top: 0; }
.pn { font: 700 18px var(--cb-font-display); color: var(--cb-accent-text); }
.pb { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h h" "d d" "ex a"; gap: 6px 16px; align-items: center; min-width: 0; }
.ph { grid-area: h; font-size: 15px; }
.ph b { font: 700 16px var(--cb-font-display); }
.pd { grid-area: d; color: var(--cb-ink-2); font-size: 14px; }
.pb > .chip { grid-area: ex; justify-self: start; text-transform: none; letter-spacing: 0; font-size: 12.5px; white-space: normal; }
.pa { grid-area: a; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; }
.pa .btn { margin: 0; }
.plink { color: var(--cb-accent-text); min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 639px) {
  .pb { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "d" "ex" "a"; }
  .pa { justify-content: flex-start; margin-top: 4px; }
  .proofs { padding: 4px 16px; }
}

/* ---- site home: generated from the design prototype ---- */
/* the ported prototype markup keeps the prototype's own element defaults (its base sheet): plain buttons, links that look like their buttons */
.site button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; min-height: 0; cursor: pointer; text-align: inherit; }
.site a { text-decoration: none; }
.on-site main.home { display: none; }
.s0x1 { position: absolute; right: -6%; top: 50%; width: min(940px, 96vw); height: 520px; transform: translateY(-50%); perspective: 1500px; pointer-events: none; opacity: 0.9; }
@media (max-width: 999px) { .s0x1 { right: -30%; opacity: 0.6; } }
@media (max-width: 639px) { .s0x1 { right: -60%; opacity: 0.4; } }
.s0x2 { width: 100%; height: 100%; transform: rotateX(52deg) rotateZ(-30deg); transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); background: linear-gradient(135deg,var(--card),var(--bg2)); border: 1px solid var(--line2); box-shadow: rgba(var(--shrgb), 0.5) 0px 70px 120px; display: flex; flex-direction: column; padding: 24px 30px; box-sizing: border-box; }
@media (max-width: 639px) { .s0x2 { transform: rotateX(50deg) rotateZ(-26deg); } }
.s0x3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr 60px; gap: 12px; padding: 13px 8px; margin: 0px -8px; border-top: 1px solid var(--line); font: 500 18px var(--fm); color: var(--mut); background: transparent; transition: background 0.5s, color 0.5s; }
@media (max-width: 999px) { .s0x3 { color: var(--ink); background: rgba(var(--ov),.08); } }
.s0x4 { display: grid; grid-template-columns: 1.3fr 1fr 1fr 60px; gap: 12px; padding: 13px 8px; margin: 0px -8px; border-top: 1px solid var(--line); font: 500 18px var(--fm); color: var(--ink); background: rgba(var(--ov),.08); transition: background 0.5s, color 0.5s; }
@media (max-width: 999px) { .s0x4 { color: var(--mut); background: transparent; } }
.s0x5 { color: var(--pass); }
@media (max-width: 999px) { .s0x5 { color: var(--mut); } }
.s0x6 { margin: 0px; font-stretch: var(--fst); letter-spacing: var(--htrack); text-transform: var(--hcase); color: var(--ink); text-wrap: balance; position: relative; text-shadow: 0 2px 30px rgba(var(--bgrgb),.8); font-family: Geist, sans-serif; font-size: 93.184px; font-weight: 500; line-height: 91.3203px; font-style: normal; }
@media (max-width: 999px) { .s0x6 { font-size: 58.24px; line-height: 57.0752px; } }
@media (max-width: 639px) { .s0x6 { font-size: 43.68px; line-height: 42.8064px; } }
.s1x7 { margin: 0px; max-width: 1000px; font-stretch: var(--fst); letter-spacing: var(--htrack); text-transform: var(--hcase); color: var(--ink); text-wrap: balance; font-family: Geist, sans-serif; font-size: 58.5728px; font-weight: 500; line-height: 60.9157px; font-style: normal; }
@media (max-width: 999px) { .s1x7 { font-size: 36.608px; line-height: 38.0723px; } }
@media (max-width: 639px) { .s1x7 { font-size: 33.28px; line-height: 34.6112px; } }
.s2x8 { margin: 0px; max-width: 1000px; font-stretch: var(--fst); letter-spacing: var(--htrack); text-transform: var(--hcase); color: var(--ink); text-wrap: balance; font-family: Geist, sans-serif; font-size: 58.5728px; font-weight: 500; line-height: 60.9157px; font-style: normal; }
@media (max-width: 999px) { .s2x8 { font-size: 36.608px; line-height: 38.0723px; } }
@media (max-width: 639px) { .s2x8 { font-size: 33.28px; line-height: 34.6112px; } }
.s2x9 { font-stretch: var(--fst); text-transform: var(--hcase); color: var(--ink); font-family: Geist, sans-serif; font-size: 29.2864px; font-weight: 500; line-height: 32.215px; font-style: normal; }
@media (max-width: 999px) { .s2x9 { font-size: 24.96px; line-height: 27.456px; } }
.s2x10 { font-stretch: var(--fst); text-transform: var(--hcase); color: var(--ink); font-family: Geist, sans-serif; font-size: 29.2864px; font-weight: 500; line-height: 32.215px; font-style: normal; }
@media (max-width: 999px) { .s2x10 { font-size: 24.96px; line-height: 27.456px; } }
.s2x11 { font-stretch: var(--fst); text-transform: var(--hcase); color: var(--ink); font-family: Geist, sans-serif; font-size: 29.2864px; font-weight: 500; line-height: 32.215px; font-style: normal; }
@media (max-width: 999px) { .s2x11 { font-size: 24.96px; line-height: 27.456px; } }
.s3x12 { margin: 0px; max-width: 1000px; font-stretch: var(--fst); letter-spacing: var(--htrack); text-transform: var(--hcase); color: var(--ink); text-wrap: balance; font-family: Geist, sans-serif; font-size: 58.5728px; font-weight: 500; line-height: 60.9157px; font-style: normal; }
@media (max-width: 999px) { .s3x12 { font-size: 36.608px; line-height: 38.0723px; } }
@media (max-width: 639px) { .s3x12 { font-size: 33.28px; line-height: 34.6112px; } }
.s3x13 { font-stretch: var(--fst); color: var(--accT); font-family: Geist, sans-serif; font-size: 53.248px; font-weight: 500; line-height: 53.248px; font-style: normal; }
@media (max-width: 999px) { .s3x13 { font-size: 41.6px; line-height: 41.6px; } }
.s4x14 { margin: 0px; max-width: 1000px; font-stretch: var(--fst); letter-spacing: var(--htrack); text-transform: var(--hcase); color: var(--ink); text-wrap: balance; font-family: Geist, sans-serif; font-size: 58.5728px; font-weight: 500; line-height: 60.9157px; font-style: normal; }
@media (max-width: 999px) { .s4x14 { font-size: 36.608px; line-height: 38.0723px; } }
@media (max-width: 639px) { .s4x14 { font-size: 33.28px; line-height: 34.6112px; } }
.s4x15 { display: grid; grid-template-columns: minmax(0px, 1.5fr) minmax(0px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 999px) { .s4x15 { grid-template-columns: minmax(0px, 1fr); } }
.s4x16 { font-stretch: var(--fst); text-transform: var(--hcase); font-family: Geist, sans-serif; font-size: 34.6112px; font-weight: 500; line-height: 36.3418px; font-style: normal; }
@media (max-width: 999px) { .s4x16 { font-size: 27.04px; line-height: 28.392px; } }
.s4x17 { font-stretch: var(--fst); color: var(--ink); font-family: Geist, sans-serif; font-size: 53.248px; font-weight: 500; line-height: 53.248px; font-style: normal; }
@media (max-width: 999px) { .s4x17 { font-size: 41.6px; line-height: 41.6px; } }
.s5x18 { margin: 0px; max-width: 1000px; font-stretch: var(--fst); letter-spacing: var(--htrack); text-transform: var(--hcase); color: var(--ink); text-wrap: balance; font-family: Geist, sans-serif; font-size: 58.5728px; font-weight: 500; line-height: 60.9157px; font-style: normal; }
@media (max-width: 999px) { .s5x18 { font-size: 36.608px; line-height: 38.0723px; } }
@media (max-width: 639px) { .s5x18 { font-size: 33.28px; line-height: 34.6112px; } }
.s6x19 { margin: 0px; max-width: 1000px; font-stretch: var(--fst); letter-spacing: var(--htrack); text-transform: var(--hcase); color: var(--ink); text-wrap: balance; font-family: Geist, sans-serif; font-size: 58.5728px; font-weight: 500; line-height: 60.9157px; font-style: normal; }
@media (max-width: 999px) { .s6x19 { font-size: 36.608px; line-height: 38.0723px; } }
@media (max-width: 639px) { .s6x19 { font-size: 33.28px; line-height: 34.6112px; } }
.s9x29 { margin: 0px; font-stretch: var(--fst); letter-spacing: var(--htrack); text-transform: var(--hcase); color: var(--ink); text-wrap: balance; font-family: Geist, sans-serif; font-size: 71.8848px; font-weight: 500; line-height: 71.8848px; font-style: normal; }
@media (max-width: 999px) { .s9x29 { font-size: 44.928px; line-height: 44.928px; } }
@media (max-width: 639px) { .s9x29 { font-size: 37.44px; line-height: 37.44px; } }

/* ---- /site home ---- */

/* ---- live campaigns: generated from the design prototype ---- */
main.home a { text-decoration: none; }
main.home a.lc-crow { color: inherit; }
main.home .lc-cards.v5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1179px) { main.home .lc-cards.v5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) { main.home .lc-cards.v5 { grid-template-columns: minmax(0, 1fr); } }
main.home .lc-cards.vlist { display: flex; flex-direction: column; gap: 0; }
main.home .lc-cards.none { display: block; }
main.home .lc-camp[hidden], main.home .lc-crow[hidden] { display: none !important; }
main.home #closed-toggle { cursor: pointer; }
main.home .lc-none { margin: 0; font: 400 13px var(--fm); color: var(--mut); }
.hp1 { display: flex; flex-direction: column; gap: 44px; padding: 28px 0px 90px; color: var(--ink); font-family: var(--fb); }
@media (max-width: 759px) { .hp1 { gap: 28px; padding: 16px 0px 90px; } }
.hh2 { display: grid; grid-template-columns: minmax(0px, 1fr) 320px; gap: 20px 48px; align-items: end; }
@media (max-width: 1179px) { .hh2 { grid-template-columns: minmax(0px, 1fr); } }
.hh3 { margin: 0px; font: var(--hw,300) 76px/.95 var(--fd); letter-spacing: -0.035em; text-transform: uppercase; overflow-wrap: break-word; }
@media (max-width: 1179px) { .hh3 { font: var(--hw,300) 60px/.95 var(--fd); } }
@media (max-width: 759px) { .hh3 { font: var(--hw,300) 40px/.95 var(--fd); } }
.hb4 { display: grid; grid-template-columns: minmax(0px, 1fr); gap: 44px 48px; align-items: start; }
@media (max-width: 759px) { .hb4 { gap: 28px 48px; } }
.hs5 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 1px solid var(--line2); background: none; color: inherit; padding: 0px 14px; margin: 0px; text-align: left; font: 500 12px var(--fm); min-height: 44px; letter-spacing: 0.14em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; gap: 10px; }
@media (max-width: 759px) { .hs5 { white-space: normal; } }
/* the layout button from 640 px (owner, 1 Nov 2026): the size of the header's network box (40 px high; as wide as its four mono letters, 11 px
   with .06em spacing, plus its 5 px sides and 1 px border); the icon keeps the 18 px of the header's theme icon. Phones keep 44 px to tap. */
@media (min-width: 640px) { #layout-btn.hs5 { font: 600 11px/1 var(--fm); letter-spacing: .06em; box-sizing: border-box; width: calc(4ch + .24em + 12px); min-width: 0; height: 40px; min-height: 40px; padding: 0; } }
.hg6 { display: grid; grid-template-columns: repeat(4, minmax(0px, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1179px) { .hg6 { grid-template-columns: repeat(2, minmax(0px, 1fr)); } }
@media (max-width: 759px) { .hg6 { grid-template-columns: minmax(0px, 1fr); } }
.hkth7 { display: grid; grid-template-columns: minmax(0px, 1.5fr) minmax(0px, 1fr) minmax(0px, 1fr) 100px 90px; gap: 12px; padding: 0px 0px 8px; border-bottom: 1px solid var(--line2); font: 500 12px var(--fm); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut); }
@media (max-width: 759px) { .hkth7 { display: none; grid-template-columns: minmax(0px, 1fr) auto; } }
.hkx08 { display: flex; flex-flow: wrap; gap: 12px; align-items: center; }
@media (max-width: 759px) { .hkx08 { flex-flow: column wrap; align-items: stretch; } }
.hkx09 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: none; color: var(--mut); padding: 0px; margin: 0px; text-align: left; font: 500 12px var(--fm); min-height: 44px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 759px) { .hkx09 { white-space: normal; } }
.tcraise10 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: var(--acc); color: var(--aink); padding: 0px 18px; margin: 0px; text-align: left; font: 600 14px var(--fb); width: 100%; min-height: 48px; clip-path: polygon(0px 0px, calc(100% - 14px) 0px, 100% 14px, 100% 100%, 0px 100%); display: flex; justify-content: space-between; align-items: center; gap: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 759px) { .tcraise10 { white-space: normal; } }
.tcblind11 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: var(--acc); color: var(--aink); padding: 0px 18px; margin: 0px; text-align: left; font: 600 14px var(--fb); width: 100%; min-height: 48px; clip-path: polygon(0px 0px, calc(100% - 14px) 0px, 100% 14px, 100% 100%, 0px 100%); display: flex; justify-content: space-between; align-items: center; gap: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 759px) { .tcblind11 { white-space: normal; } }
.tccap12 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: var(--acc); color: var(--aink); padding: 0px 18px; margin: 0px; text-align: left; font: 600 14px var(--fb); width: 100%; min-height: 48px; clip-path: polygon(0px 0px, calc(100% - 14px) 0px, 100% 14px, 100% 100%, 0px 100%); display: flex; justify-content: space-between; align-items: center; gap: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 759px) { .tccap12 { white-space: normal; } }
.tcauction13 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: var(--acc); color: var(--aink); padding: 0px 18px; margin: 0px; text-align: left; font: 600 14px var(--fb); width: 100%; min-height: 48px; clip-path: polygon(0px 0px, calc(100% - 14px) 0px, 100% 14px, 100% 100%, 0px 100%); display: flex; justify-content: space-between; align-items: center; gap: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 759px) { .tcauction13 { white-space: normal; } }
.trraise14 { border-bottom: 1px solid var(--line2); padding: 14px 0px; display: grid; grid-template-columns: minmax(0px, 2fr) minmax(0px, 1.1fr) minmax(0px, 1fr) 170px; gap: 10px 20px; align-items: center; min-width: 0px; }
@media (max-width: 759px) { .trraise14 { grid-template-columns: minmax(0px, 1fr) auto; } }
.trraise15 { display: block; justify-self: start; }
@media (max-width: 759px) { .trraise15 { display: none; } }
.trraise16 { display: flex; justify-content: flex-end; grid-column: auto; }
@media (max-width: 759px) { .trraise16 { grid-column: 1 / -1; } }
.trraise17 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: var(--acc); color: var(--aink); padding: 0px 18px; margin: 0px; text-align: left; font: 600 14px var(--fb); width: 100%; min-height: 48px; clip-path: polygon(0px 0px, calc(100% - 14px) 0px, 100% 14px, 100% 100%, 0px 100%); display: flex; justify-content: space-between; align-items: center; gap: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 759px) { .trraise17 { white-space: normal; } }
.trblind18 { border-bottom: 1px solid var(--line2); padding: 14px 0px; display: grid; grid-template-columns: minmax(0px, 2fr) minmax(0px, 1.1fr) minmax(0px, 1fr) 170px; gap: 10px 20px; align-items: center; min-width: 0px; }
@media (max-width: 759px) { .trblind18 { grid-template-columns: minmax(0px, 1fr) auto; } }
.trblind19 { display: block; justify-self: start; }
@media (max-width: 759px) { .trblind19 { display: none; } }
.trblind20 { display: flex; justify-content: flex-end; grid-column: auto; }
@media (max-width: 759px) { .trblind20 { grid-column: 1 / -1; } }
.trblind21 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: var(--acc); color: var(--aink); padding: 0px 18px; margin: 0px; text-align: left; font: 600 14px var(--fb); width: 100%; min-height: 48px; clip-path: polygon(0px 0px, calc(100% - 14px) 0px, 100% 14px, 100% 100%, 0px 100%); display: flex; justify-content: space-between; align-items: center; gap: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 759px) { .trblind21 { white-space: normal; } }
.trcap22 { border-bottom: 1px solid var(--line2); padding: 14px 0px; display: grid; grid-template-columns: minmax(0px, 2fr) minmax(0px, 1.1fr) minmax(0px, 1fr) 170px; gap: 10px 20px; align-items: center; min-width: 0px; }
@media (max-width: 759px) { .trcap22 { grid-template-columns: minmax(0px, 1fr) auto; } }
.trcap23 { display: block; justify-self: start; }
@media (max-width: 759px) { .trcap23 { display: none; } }
.trcap24 { display: flex; justify-content: flex-end; grid-column: auto; }
@media (max-width: 759px) { .trcap24 { grid-column: 1 / -1; } }
.trcap25 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: var(--acc); color: var(--aink); padding: 0px 18px; margin: 0px; text-align: left; font: 600 14px var(--fb); width: 100%; min-height: 48px; clip-path: polygon(0px 0px, calc(100% - 14px) 0px, 100% 14px, 100% 100%, 0px 100%); display: flex; justify-content: space-between; align-items: center; gap: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 759px) { .trcap25 { white-space: normal; } }
.trauction26 { border-bottom: 1px solid var(--line2); padding: 14px 0px; display: grid; grid-template-columns: minmax(0px, 2fr) minmax(0px, 1.1fr) minmax(0px, 1fr) 170px; gap: 10px 20px; align-items: center; min-width: 0px; }
@media (max-width: 759px) { .trauction26 { grid-template-columns: minmax(0px, 1fr) auto; } }
.trauction27 { display: block; justify-self: start; }
@media (max-width: 759px) { .trauction27 { display: none; } }
.trauction28 { display: flex; justify-content: flex-end; grid-column: auto; }
@media (max-width: 759px) { .trauction28 { grid-column: 1 / -1; } }
.trauction29 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: var(--acc); color: var(--aink); padding: 0px 18px; margin: 0px; text-align: left; font: 600 14px var(--fb); width: 100%; min-height: 48px; clip-path: polygon(0px 0px, calc(100% - 14px) 0px, 100% 14px, 100% 100%, 0px 100%); display: flex; justify-content: space-between; align-items: center; gap: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 759px) { .trauction29 { white-space: normal; } }
.tk30 { display: grid; grid-template-columns: minmax(0px, 1.5fr) minmax(0px, 1fr) minmax(0px, 1fr) 100px 90px; gap: 4px 12px; padding: 11px 0px; border-bottom: 1px solid var(--line); font: 400 13px var(--fm); align-items: baseline; }
@media (max-width: 759px) { .tk30 { grid-template-columns: minmax(0px, 1fr) auto; } }
.tk31 { display: none; font: 400 12px var(--fm); color: var(--mut); margin-top: 3px; }
@media (max-width: 759px) { .tk31 { display: block; } }
.tk32 { display: block; }
@media (max-width: 759px) { .tk32 { display: none; } }
.tk33 { display: block; color: var(--mut); }
@media (max-width: 759px) { .tk33 { display: none; } }
.tk34 { display: block; text-align: right; color: var(--mut); }
@media (max-width: 759px) { .tk34 { display: none; } }
.te35 { flex: 0 0 auto; white-space: nowrap; cursor: pointer; border: 0px; background: var(--acc); color: var(--aink); padding: 0px 18px; margin: 0px; text-align: left; font: 600 14px var(--fb); width: auto; min-height: 48px; clip-path: polygon(0px 0px, calc(100% - 14px) 0px, 100% 14px, 100% 100%, 0px 100%); display: flex; justify-content: space-between; align-items: center; gap: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 759px) { .te35 { white-space: normal; } }

/* ---- /live campaigns ---- */

/* ---- the host page in the Halide design (prototype "host a campaign"): the kit's head, two sections of cards with corner marks, an icon and
   an optional tag, the lines, a note, and the chips of what each fits ---- */
.hp.hk-page { max-width: none; margin: 0; padding: 28px 0 90px; align-items: stretch; gap: 44px; }
.hp-sub { color: var(--mut); max-width: 62ch; }
.hpg { display: flex; flex-direction: column; gap: 18px; min-width: 0; scroll-margin-top: 80px; }
.hpg-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.hpg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hpc { position: relative; background: var(--bg2); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hpc .ecm { position: absolute; width: 10px; height: 10px; }
.hpc .ecm.tl { left: -1px; top: -1px; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.hpc .ecm.tr { right: -1px; top: -1px; border-right: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.hpc .ecm.bl { left: -1px; bottom: -1px; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.hpc .ecm.br { right: -1px; bottom: -1px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.hpc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hpc-top .hk-ic { flex: 0 0 auto; color: var(--ink); }
.hpc-t { margin: 0; font: 500 22px/1.02 var(--fd); letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.hpc-b { display: flex; flex-direction: column; gap: 8px; font: 400 14px/1.55 var(--fb); color: var(--ink); }
.hpc-b p, .hpc-note { margin: 0; }
.hpc-note { font: 400 13px/1.5 var(--fm); color: var(--mut); }
.hpc-chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; padding-top: 6px; }
.hpc-k { font: 500 11px var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.hpc-chip { padding: 4px 8px; border: 1px solid var(--line2); font: 500 12px var(--fm); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
@media (max-width: 1179px) { .hpg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* two columns (760 to 1179 px): a last card alone on its row spans the row (owner, 1 Nov 2026); three columns and phones unchanged */
@media (min-width: 760px) and (max-width: 1179px) { .hpg-grid > .hpc:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 759px) { .hp.hk-page { gap: 28px; padding: 16px 0 90px; } .hpg-grid { grid-template-columns: minmax(0, 1fr); } .hpc-chip { white-space: normal; } }

/* ---- the short link page (go.html) in the Halide design: the eyebrow with a red square, the title, the finding bar, the red status line,
   the buttons, and the rows of more than one match ---- */
.go.hk-page { padding: 48px 0 90px; gap: 52px; }
.go-head { display: flex; flex-direction: column; gap: 20px; max-width: 880px; min-width: 0; }
.go-k { font: 500 12px var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); display: inline-flex; align-items: center; gap: 10px; }
.go-sq { width: 8px; height: 8px; background: var(--acc2); }
.go-line { color: var(--mut); max-width: 62ch; }
.go-line[hidden], .go-bar[hidden], .go-err[hidden], #go-acts[hidden] { display: none; }
.go-bar { height: 2px; background: var(--line); position: relative; overflow: hidden; max-width: 420px; }
.go-bar > span { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; background: var(--ink); animation: cbhpbar 1.2s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes cbhpbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .go-bar > span { animation: none; } }
.go-err { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--fail); border-left-width: 4px; font: 400 14px/1.55 var(--fm); color: var(--ink); }
.go-err > span:first-child { color: var(--fail); font-weight: 700; }
.go-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.go-list[hidden] { display: none; }
.go-row { position: relative; width: 100%; box-sizing: border-box; display: grid; grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 10px 20px; align-items: center; padding: 24px; background: var(--bg2); color: var(--ink); text-decoration: none; transition: transform .18s, background .18s; }
.go-row:hover { background: var(--card); color: var(--ink); }
.go-row .ecm { position: absolute; width: 10px; height: 10px; }
.go-row .ecm.tl { left: -1px; top: -1px; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.go-row .ecm.tr { right: -1px; top: -1px; border-right: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.go-row .ecm.bl { left: -1px; bottom: -1px; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.go-row .ecm.br { right: -1px; bottom: -1px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.go-n { font: 500 13px var(--fm); color: var(--acc2); }
.go-mid { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.go-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.go-top b { font: var(--hw) 22px/1.1 var(--fd); text-transform: uppercase; }
.go-type { padding: 2px 8px; border: 1px solid var(--line2); font: 500 11px var(--fm); letter-spacing: .1em; text-transform: uppercase; }
.go-mid code { font: 400 12px/1.5 var(--fm); color: var(--mut); overflow-wrap: anywhere; background: none; padding: 0; }
.go-when { font: 400 13px var(--fm); }
.go-arrow { font: 500 20px var(--fm); justify-self: end; }
@media (max-width: 639px) { .go.hk-page { padding: 28px 0 90px; gap: 36px; } .go-row { grid-template-columns: 28px minmax(0, 1fr) 20px; padding: 18px; } }

/* ---- About in the Halide design (new pages handoff): the title block, then a sticky "On this page" index beside four numbered sections;
   sections 03 and 04 are numbered rows ---- */
.aboutp.hk-page { padding: 48px 0 90px; gap: 52px; }
.ab-h1 { font-size: 72px; }
.ab-lede { color: var(--mut); max-width: 62ch; }
.ab-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.ab-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line2); padding-top: 12px; }
.ab-navk { font: 500 12px var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); padding-bottom: 8px; }
.ab-nav a { display: flex; gap: 12px; align-items: baseline; min-height: 40px; padding: 0; color: var(--ink); font: 500 14px var(--fb); text-decoration: none; transition: transform .18s; }
.ab-nav a:hover { color: var(--ink); transform: translateX(3px); }
.ab-nav a > span { font: 500 12px var(--fm); color: var(--acc2); }
.ab-body { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.ab-sec { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line2); min-width: 0; scroll-margin-top: 100px; }
.ab-hd { display: flex; align-items: baseline; gap: 14px; }
.ab-num { font: 500 12px var(--fm); letter-spacing: .16em; color: var(--acc2); }
.ab-sec h2 { margin: 0; font: var(--hw) 32px/1.05 var(--fd); letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: break-word; }
.ab-sec p { margin: 0; font: 400 15px/1.6 var(--fb); max-width: 68ch; }
.ab-sec a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.ab-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ab-rows li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font: 400 15px/1.6 var(--fb); }
.ab-n { font: 500 12px/1.9 var(--fm); color: var(--mut); }
@media (prefers-reduced-motion: no-preference) { html:has(.aboutp) { scroll-behavior: smooth; } }
@media (max-width: 639px) { .aboutp.hk-page { padding: 28px 0 90px; gap: 36px; } .ab-h1 { font-size: 40px; } .ab-grid { grid-template-columns: minmax(0, 1fr); } .ab-nav { display: none; } .ab-sec h2 { font-size: 26px; } }

/* 04 What you can run: under the three cards, the two short paths (from the former "How to use it"), side by side, stacked on a phone */
.run-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px 40px; }
.run-path { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 16px; border-top: 2px solid var(--ink); }
.run-k { font: 500 12px/1.3 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.run-t { margin: 2px 0 8px; font: 500 22px/1.2 Geist, sans-serif; font-stretch: var(--fst); text-transform: var(--hcase); color: var(--ink); }
.run-steps { list-style: none; margin: 0; padding: 0; }
.run-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font: 400 15px/1.45 var(--fb); color: var(--mut); }
.run-steps .n { font: 600 14px/1.55 var(--fm); color: var(--accT); }
.run-steps b { margin-right: 4px; font-weight: 600; color: var(--ink); }
.run-btn { align-self: flex-start; margin-top: 14px; min-height: 44px; padding: 0 20px; border-radius: var(--rb); clip-path: var(--clip); border: 1px solid var(--line2); color: var(--ink);
  font: 600 15px var(--bf); letter-spacing: var(--btrack); text-transform: var(--bcase); display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; transition: transform .18s, background .18s, border-color .18s; }

/* the prototype's fold rules (its global sheet): no marker, a pointer, and only one of + (closed) and − (open) */
.site details > summary { list-style: none; cursor: pointer; }
.site details > summary::-webkit-details-marker { display: none; }
.site details[open] > summary .tc, .site details:not([open]) > summary .to { display: none; }

/* the stepper's Skip intro (owner, 31 Oct 2026): a secondary button as Prev is (hairline edge, no fill, ink text), as high as Next and in Next's
   type. SKIP INTRO would be 1.6 times as wide as Next, so the label is SKIP at every width (the owner's rule: SKIP INTRO only up to 1.3 times);
   the aria-label still says "Skip intro and go to campaigns" */
.site .site-skip { flex: 0 0 auto; align-self: center; min-height: 44px; height: 44px; margin: 0; padding: 0 16px; border: 1px solid var(--line2); border-radius: var(--rb); background: transparent;
  color: var(--ink); font: 600 15px var(--bf); letter-spacing: var(--btrack); text-transform: var(--bcase); white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, transform .18s; }
.site .site-skip:hover { background: rgba(var(--ov), .07); border-color: var(--ink); }

/* the stepper's label on a phone (owner, 31 Oct 2026): the step numbers only, no section name and no ellipsis */
@media (max-width: 480px) { .site .st-name { display: none; } }

/* the Recount sample's three buttons on a phone (owner, 31 Oct 2026): one row of equal parts, never wrapping; the same font and selected look,
   44 px high, the type a little smaller only as far as the narrowest screen needs (15 px at 480, 12 px at 360); Run it again stays below */
@media (max-width: 639px) {
  .site .rc-tabs { flex: 1 1 100%; flex-wrap: nowrap !important; min-width: 0; }
  .site .rc-tabs > button { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 0 4px !important; font-size: clamp(12px, 3.4vw, 15px) !important; }
}

/* inner room in ruled rows on wider screens (owner, 1 Nov 2026; --rowpad in ui.css): the Closed campaigns list and the About page rows */
main.home .hkth7, main.home .lc-crow, .ab-rows li { padding-left: var(--rowpad); padding-right: var(--rowpad); }
