/* Kelvin Owange campaign. Palette from the campaign poster: royal indigo, signal red, pale sky. */
@font-face { font-family: "Jost"; src: url(/assets/fonts/jost-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Kaushan Script"; src: url(/assets/fonts/kaushan-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --indigo: #1e2a8f;
  --indigo-dark: #131a63;
  --red: #d9232d;
  --red-dark: #b61a23;
  --sky: #eef9fd;
  --ink: #101535;
  --muted: #5a627c;
  --line: #e0e6f0;
  --bg: #fff;
  --bg-soft: #f6f8fc;
  --ok: #12805c;
  --warn: #9a5b00;
  --bad: #b3261e;
  /* names the admin and receipt pages already use */
  --brand: var(--indigo);
  --brand-deep: var(--indigo-dark);
  --brand-tint: var(--sky);
  --navy: var(--indigo-dark);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(19, 26, 99, .06), 0 10px 30px rgba(19, 26, 99, .08);
  --font: "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 17px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--indigo); }
h1, h2, h3 { color: var(--indigo-dark); line-height: 1.1; margin: 0; letter-spacing: -.01em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { margin: 0; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #7b86f0; outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--indigo-dark); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.script { font-family: "Kaushan Script", cursive; font-weight: 400; color: var(--red); letter-spacing: 0; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; border: 2px solid transparent; border-radius: 999px; padding: 11px 24px; cursor: pointer; text-decoration: none; min-height: 46px; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(217, 35, 45, .28); }
.btn-primary:hover { background: var(--red-dark); }
.btn-navy { background: var(--indigo); color: #fff; }
.btn-navy:hover { background: var(--indigo-dark); }
.btn-ghost { background: transparent; color: var(--indigo); border-color: #c5ccef; }
.btn-ghost:hover { background: var(--sky); border-color: var(--indigo); }
.btn-sm { padding: 7px 16px; min-height: 38px; font-size: .94rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 62px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--indigo); }
.mark b { font-size: 1.12rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; line-height: 1; }
.mark i { width: 2px; height: 26px; background: var(--red); flex: none; }
.mark small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.15; font-weight: 500; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 99px; font-size: .98rem; }
.nav a:hover, .nav a[aria-current] { background: var(--sky); color: var(--indigo); }
.menu-btn { display: none; border: 0; background: var(--bg-soft); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; color: var(--indigo); place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 62px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 16px 14px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; margin: 0; }
  .nav.open { display: flex; }
  .mark small { display: none; }
  .mark i { display: none; }
  .top .wrap { gap: 10px; }
  .top .cta-top { margin-left: auto; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 44px 0 56px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 5rem); text-transform: uppercase; letter-spacing: .01em; margin: 14px 0 6px; line-height: .98; }
.hero .seat { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 600; color: var(--indigo); letter-spacing: .02em; }
.hero .slogan { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin: 18px 0 0; display: block; transform: rotate(-2deg); transform-origin: left; }
.hero .lead { margin-top: 18px; color: var(--muted); max-width: 30em; font-size: 1.08rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.portrait { position: relative; justify-self: center; width: min(100%, 460px); }
.portrait img.photo { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px rgba(19, 26, 99, .22); background: var(--sky); aspect-ratio: 1327 / 1210; object-fit: cover; }
.portrait::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 2px solid var(--red); border-radius: 28px; z-index: -1; }
.portrait .badge-tmp { position: absolute; left: -10px; bottom: 22px; background: #fff; border-radius: 99px; padding: 7px 16px 7px 8px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--indigo); box-shadow: var(--shadow); }
.badge-tmp img { width: 30px; height: 30px; border-radius: 50%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 28px 0 44px; gap: 30px; }
  .portrait { order: -1; width: min(78%, 340px); }
  .portrait::before { inset: 14px -10px -10px 14px; }
}

/* Progress strip */
.strip { background: var(--indigo-dark); color: #fff; }
.strip .wrap { display: flex; align-items: center; gap: 22px; padding: 16px 0; flex-wrap: wrap; }
.strip b { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.strip .of { color: #b9c0f0; font-size: .95rem; }
.strip .bar { flex: 1 1 200px; margin: 0; background: rgba(255, 255, 255, .18); height: 8px; }
.strip .bar i { background: linear-gradient(90deg, #ff6b73, #fff); }
.strip a { color: #fff; font-weight: 600; white-space: nowrap; }
.bar { height: 10px; background: #e6eaf6; border-radius: 99px; overflow: hidden; margin: 10px 0; }
.bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--indigo), #4a5ad8); border-radius: 99px; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.bar.done > i { background: linear-gradient(90deg, var(--ok), #3bb88a); }

/* Sections */
section { padding: 64px 0; scroll-margin-top: 62px; }
section.soft { background: var(--bg-soft); }
.head { max-width: 38em; margin-bottom: 28px; }
.head p { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; display: block; }
@media (max-width: 700px) { section { padding: 44px 0; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pillar .n { font-size: .8rem; font-weight: 700; color: var(--red); letter-spacing: .12em; }
.pillar h3 { font-size: 1.5rem; margin: 6px 0 8px; }
.pillar p { color: var(--muted); font-size: .98rem; }
.soon { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: #fff1f1; color: var(--red-dark); padding: 4px 10px; border-radius: 99px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

.goes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.goes a { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.goes a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c5ccef; }
.goes .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--sky); color: var(--indigo); display: grid; place-items: center; }
.goes .ico svg { width: 24px; height: 24px; }
.goes b { color: var(--indigo-dark); font-size: 1.05rem; }
.goes span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .goes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .goes { gap: 10px; } .goes a { padding: 14px; } }

.band { background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-dark) 100%); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #c6ccf5; margin: 12px auto 0; max-width: 34em; }
.band .cta { justify-content: center; }

/* Support page */
.pagehead { background: linear-gradient(180deg, var(--sky), #fff); padding: 36px 0 8px; }
.pagehead h1 { font-size: clamp(2rem, 5vw, 3rem); }
.pagehead p { color: var(--muted); margin-top: 10px; max-width: 36em; font-size: 1.05rem; }
.goal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 26px; align-items: center; }
.goal b { font-size: 1.7rem; color: var(--indigo-dark); letter-spacing: -.02em; line-height: 1; }
.goal small { color: var(--muted); display: block; font-size: .9rem; }
.goal .bar { margin: 0; }
.goal .st { color: var(--muted); font-size: .92rem; text-align: right; line-height: 1.3; }
@media (max-width: 700px) { .goal { grid-template-columns: 1fr; } .goal .st { text-align: left; } }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; position: sticky; top: 62px; background: #fff; z-index: 5; margin-top: 18px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { font: inherit; font-weight: 500; border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.tab[aria-pressed="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.group { margin-top: 18px; }
.group h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.list { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }

/* A pick row: used on the support page and inside the contribute dialog */
.prow { padding: 11px 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.list .prow { grid-template-columns: 1fr 170px auto; }
.prow:first-child { border-top: 0; }
.prow[data-on="1"] { background: #f5f7ff; }
.pcheck { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin: 0; font-weight: 400; min-width: 0; }
.pcheck input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--indigo); flex: none; }
.pt { min-width: 0; }
.pt b { display: block; color: var(--indigo-dark); font-weight: 600; line-height: 1.25; }
.pt small { color: var(--muted); font-size: .88rem; display: block; line-height: 1.35; }
.pt .why { margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pprog { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; color: var(--muted); line-height: 1.2; }
.pprog .bar { height: 5px; margin: 0; }
.pctl { display: flex; align-items: center; gap: 10px; justify-self: end; flex-wrap: wrap; justify-content: flex-end; }
.pctl[hidden] { display: none; }
.pprice { font-weight: 700; color: var(--indigo-dark); min-width: 84px; text-align: right; font-variant-numeric: tabular-nums; }
.step { display: inline-flex; align-items: center; border: 1.5px solid #c5ccef; border-radius: 999px; overflow: hidden; background: #fff; }
.step button { width: 34px; height: 36px; border: 0; background: #fff; font-size: 1.15rem; cursor: pointer; color: var(--indigo); }
.step button:hover { background: var(--sky); }
.step input { width: 52px; text-align: center; border: 0; font: inherit; font-weight: 700; padding: 0; height: 36px; min-height: 36px; color: var(--ink); -moz-appearance: textfield; background: transparent; border-radius: 0; }
.step input:focus { box-shadow: none; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; }
.amt { position: relative; }
.amt span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: .78rem; font-weight: 600; color: var(--muted); }
.amt input { width: 128px; padding: 6px 10px 6px 40px; min-height: 36px; text-align: right; font-weight: 700; }
.goal-note { color: var(--ok); font-weight: 600; font-size: .78rem; }
@media (max-width: 760px) { .list .prow { grid-template-columns: 1fr; } .pctl { justify-self: stretch; justify-content: space-between; padding-left: 32px; } .pprog { padding-left: 32px; } .pt .why { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }


.selbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(19, 26, 99, .12); transform: translateY(110%); transition: transform .25s; padding-bottom: env(safe-area-inset-bottom); }
.selbar.show { transform: none; }
.selbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; }
.selbar b { font-size: 1.25rem; color: var(--indigo-dark); }
.selbar small { color: var(--muted); display: block; line-height: 1.2; }

details.more { border-top: 1px solid var(--line); padding: 14px 0; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--indigo-dark); font-size: 1.05rem; }
details.more > :not(summary) { margin-top: 14px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--indigo-dark); }
.faq details p { margin-top: 8px; color: var(--muted); max-width: 46em; }
.supporters { display: flex; flex-wrap: wrap; gap: 8px; }
.sup { background: var(--bg-soft); border-radius: 99px; padding: 7px 14px; font-size: .92rem; }
.sup b { color: var(--indigo-dark); }
.sup span { color: var(--muted); margin-left: 4px; }

.brow { display: grid; grid-template-columns: minmax(150px, 1.2fr) 3fr auto; gap: 14px; align-items: center; font-size: .95rem; margin-bottom: 10px; }
.brow .track { background: #e6eaf6; border-radius: 99px; height: 10px; overflow: hidden; }
.brow .track i { display: block; height: 100%; background: var(--indigo); border-radius: 99px; }
.brow b { color: var(--indigo-dark); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .brow { grid-template-columns: 1fr auto; } .brow .track { grid-column: 1 / -1; order: 3; } }
.months { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; align-items: end; height: 200px; }
.mcol { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 5px; }
.mcol i { display: block; width: 100%; max-width: 54px; background: #aab3ee; border-radius: 8px 8px 3px 3px; min-height: 4px; }
.mcol.peak i { background: var(--indigo); }
.mcol small, .mcol b { font-size: .72rem; text-align: center; line-height: 1.2; color: var(--muted); }
.mcol b { color: var(--indigo-dark); }

/* Footer */
footer { background: var(--indigo-dark); color: #c6ccf5; padding: 36px 0 44px; font-size: .94rem; }
footer .wrap { display: grid; gap: 14px; }
footer .row1 { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; }
footer .logo { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
footer .logo img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer a, footer .link { color: #fff; }
footer .disc { color: #fff; font-weight: 500; }

/* Forms */
label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 5px; color: var(--indigo-dark); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], select, textarea { width: 100%; font: inherit; padding: 10px 14px; border: 1.5px solid #cfd6ea; border-radius: 12px; background: #fff; color: var(--ink); min-height: 46px; }
input:focus, select:focus, textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(30, 42, 143, .18); }
textarea { min-height: 90px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink); margin: 0; }
.check input { margin-top: 3px; width: 19px; height: 19px; flex: none; accent-color: var(--indigo); }
.err { background: #fdecea; color: var(--bad); border-radius: 12px; padding: 10px 14px; font-size: .94rem; margin-bottom: 12px; }
.note { background: var(--sky); border-radius: 12px; padding: 10px 14px; font-size: .92rem; color: var(--indigo-dark); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: #fff4dc; color: var(--warn); }
.tag.ok { background: #e1f5ec; color: var(--ok); }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

/* Contribute dialog: a compact sheet */
dialog { overflow: hidden; border: 0; border-radius: 24px; padding: 0; width: min(760px, 100% - 24px); max-height: calc(100dvh - 20px); box-shadow: 0 30px 80px rgba(7, 12, 50, .4); color: var(--ink); font-family: var(--font); }
dialog::backdrop { background: rgba(10, 14, 56, .55); backdrop-filter: blur(3px); }
.dlg { display: flex; flex-direction: column; max-height: calc(100dvh - 20px); }
.dlg-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px 8px; flex: none; }
.dlg-head h2 { font-size: 1.45rem; }
.dlg-head p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.dlg-body { padding: 8px 22px 16px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; flex: 1; display: grid; gap: 14px; align-content: start; }
.dlg-foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); flex: none; display: grid; gap: 8px; background: #fff; }
.xbtn { border: 0; background: var(--bg-soft); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--indigo); flex: none; }
.xbtn svg { width: 19px; height: 19px; }
.big-amt { position: relative; }
.big-amt span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--muted); font-size: 1rem; }
.big-amt input { font-size: 1.7rem; font-weight: 700; padding: 8px 14px 8px 62px; min-height: 62px; color: var(--indigo-dark); letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1.5px solid #cfd6ea; background: #fff; color: var(--indigo-dark); cursor: pointer; min-height: 38px; }
.chip:hover { border-color: var(--indigo); }
.chip[aria-pressed="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.picker { border: 1.5px solid #cfd6ea; border-radius: 14px; overflow: hidden; min-height: min-content; }
.picker .gh { background: var(--bg-soft); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 7px 16px; border-top: 1px solid var(--line); }
.picker .gh:first-child { border-top: 0; }
.picker .prow { padding: 11px 16px; }
.genrow { padding: 14px 16px 16px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 12px 20px; align-items: center; background: #f5f7ff; }
.gentxt b { display: block; color: var(--indigo-dark); font-weight: 600; }
.gentxt small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; margin-top: 2px; }
.genctl { display: grid; gap: 10px; }
.genrow .chips { gap: 6px; }
.genrow .chip { padding: 6px 12px; min-height: 36px; }
.follow { margin-top: 14px; background: var(--sky); border-radius: 12px; padding: 12px 14px; font-size: .94rem; color: var(--indigo-dark); text-align: left; line-height: 1.5; }
.follow a { white-space: nowrap; }
.sumline { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; color: var(--indigo-dark); }
.sumline b { font-size: 1.4rem; letter-spacing: -.01em; }
.recap { background: var(--bg-soft); border-radius: 12px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: .94rem; }
.recap b { color: var(--indigo-dark); }
.methods { display: grid; gap: 8px; }
.method { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid #cfd6ea; border-radius: 12px; padding: 9px 12px; cursor: pointer; font-weight: 400; margin: 0; font-size: .92rem; }
.method:has(input:checked) { border-color: var(--indigo); background: #f5f7ff; }
.method b { display: block; color: var(--indigo-dark); font-weight: 600; }
.method input { margin-top: 3px; accent-color: var(--indigo); }
.secure { text-align: center; color: var(--muted); font-size: .82rem; display: flex; gap: 6px; justify-content: center; align-items: center; }
.secure svg { width: 14px; height: 14px; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 5px solid var(--sky); border-top-color: var(--indigo); animation: spin 1s linear infinite; margin: 8px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .genrow { grid-template-columns: 1fr; }
  .picker .prow { grid-template-columns: 1fr; gap: 8px; }
  .picker .pctl { justify-self: stretch; justify-content: space-between; padding-left: 32px; }
}
@media (max-width: 560px) {
  dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 94dvh; }
  .dlg { max-height: 94dvh; }
}

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--indigo-dark); color: #fff; padding: 11px 18px; border-radius: 99px; opacity: 0; pointer-events: none; transition: .25s; z-index: 80; font-weight: 500; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.receipt { max-width: 540px; margin: 36px auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); text-align: center; }
.receipt .badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: #e1f5ec; color: var(--ok); }
.receipt .badge.wait { background: var(--sky); color: var(--indigo); }
.receipt .badge.bad { background: #fdecea; color: var(--bad); }
.receipt .badge svg { width: 32px; height: 32px; }
.receipt dl { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 20px 0; font-size: .95rem; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 600; text-align: right; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { text-align: center; color: var(--muted); padding: 24px 0; }
@media print { .top, footer, .no-print, .mnav, .prio-tools, .selbar, .cta, dialog { display: none !important; } .receipt { box-shadow: none; border: 0; } html.js .reveal { opacity: 1 !important; transform: none !important; } section { padding: 20px 0; break-inside: avoid-page; } body { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

body.has-selbar { padding-bottom: 76px; }
.atabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0; }

/* ---------- Manifesto page ---------- */
.narrow { width: min(760px, 100% - 32px); }
.mhero { background: linear-gradient(180deg, var(--sky), #fff); padding: 44px 0 36px; }
.mhero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: -.02em; margin: 6px 0 14px; max-width: 12em; }
.mlead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--muted); max-width: 32em; }
.mby { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: .98rem; }
.mby b { color: var(--indigo-dark); font-size: 1.1rem; }
.mnav { position: sticky; top: 62px; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.mnav .wrap::-webkit-scrollbar { display: none; }
.mnav a { white-space: nowrap; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .94rem; padding: 7px 14px; border-radius: 99px; }
.mnav a:hover { background: var(--sky); }
.mnav a.on { background: var(--indigo); color: #fff; }
main:has(.mnav) section { scroll-margin-top: 124px; }
.letter { margin-top: 4px; }
.letter p { font-size: 1.14rem; line-height: 1.75; margin-bottom: 1.1em; color: #232a4d; }
.letter p.first { font-size: 1.32rem; line-height: 1.6; color: var(--indigo-dark); font-weight: 500; }
.sign { margin-top: 26px; padding-left: 16px; border-left: 3px solid var(--red); display: grid; gap: 1px; color: var(--muted); }
.sign b { color: var(--indigo-dark); font-size: 1.2rem; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.vmcard { background: var(--indigo-dark); color: #fff; border-radius: var(--radius); padding: 26px; }
.vmcard:nth-child(2) { background: var(--indigo); }
.vmcard .n { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #ff8d93; }
.vmcard p { margin-top: 10px; font-size: 1.15rem; line-height: 1.5; font-weight: 500; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.val { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.val .vn { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.val b { display: block; font-size: 1.1rem; color: var(--indigo-dark); margin: 4px 0 6px; line-height: 1.2; }
.val p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .vm { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 18px; }
.stat { background: var(--sky); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--indigo-dark); letter-spacing: -.02em; line-height: 1.05; }
.stat b strong { font-weight: 700; }
.stat span { font-weight: 600; color: var(--indigo); }
.stat small { color: var(--muted); font-size: .82rem; line-height: 1.3; }
.statnotes { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }
.statnotes b { color: var(--indigo-dark); }
.ctxp { color: #232a4d; max-width: 46em; margin-top: 12px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

.prio-tools { display: flex; justify-content: flex-end; margin: -8px 0 12px; }
.prios { display: grid; gap: 10px; }
.prio { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.prio[open] { box-shadow: var(--shadow); border-color: #c5ccef; }
.prio summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 18px 20px; }
.prio summary::-webkit-details-marker { display: none; }
.prio summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); transform: rotate(45deg); transition: transform .2s; margin: 0 4px 4px 0; }
.prio[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.pnum { font-size: 1.5rem; font-weight: 700; color: var(--red); letter-spacing: -.02em; min-width: 2ch; }
.ptxt b { display: block; color: var(--indigo-dark); font-size: 1.2rem; line-height: 1.2; }
.ptxt i { display: block; color: var(--muted); font-style: normal; font-size: .95rem; margin-top: 3px; line-height: 1.35; }
.pico { width: 40px; height: 40px; border-radius: 12px; background: var(--sky); color: var(--indigo); display: grid; place-items: center; }
.pico svg { width: 22px; height: 22px; }
.pbody { padding: 0 20px 22px 70px; }
.pbody h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pbody ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.pbody li { position: relative; padding-left: 22px; color: #232a4d; }
.pbody li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.measure { margin-top: 18px; background: var(--sky); border-radius: 14px; padding: 14px 16px; }
.measure b { color: var(--indigo-dark); font-size: .9rem; }
.measure p { color: #232a4d; font-size: .96rem; margin-top: 3px; }
@media (max-width: 620px) { .prio summary { grid-template-columns: auto 1fr auto; padding: 16px; gap: 12px; align-items: start; } .prio summary::after { margin-top: 8px; } .prio .pico { display: none; } .pbody { padding: 0 16px 20px 16px; } .pnum { font-size: 1.25rem; } .ptxt b { font-size: 1.08rem; } }

.roles { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.roles > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.roles dt { font-weight: 600; color: var(--indigo-dark); }
.roles dd { margin: 0; color: #232a4d; }
@media (max-width: 560px) { .roles > div { grid-template-columns: 1fr; gap: 2px; } }
.days { list-style: none; padding: 0; margin: 0; counter-reset: d; display: grid; gap: 12px; }
.days li { counter-increment: d; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 64px; color: #232a4d; }
.days li::before { content: counter(d); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; display: grid; place-items: center; }
.road { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 14px; }
.road::before { content: ""; position: absolute; left: 152px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.road li { display: grid; grid-template-columns: 128px 1fr; gap: 48px; align-items: start; position: relative; }
.road .yr { font-weight: 700; color: var(--indigo-dark); text-align: right; line-height: 1.2; padding-top: 14px; }
.road .yr small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.road li > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; position: relative; }
.road li > div::before { content: ""; position: absolute; left: -31px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fff; }
.road b { color: var(--indigo-dark); }
.road p { color: var(--muted); font-size: .96rem; margin-top: 2px; }
@media (max-width: 600px) { .road::before { left: 5px; } .road li { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; } .road .yr { text-align: left; padding: 0; display: flex; gap: 8px; align-items: baseline; } .road li > div::before { left: -26px; top: -22px; } }
.score { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.srow { display: grid; grid-template-columns: 1.1fr 2fr 1.6fr; gap: 18px; padding: 14px 20px; border-top: 1px solid var(--line); align-items: start; font-size: .96rem; }
.srow:first-child { border-top: 0; }
.srow b { color: var(--indigo-dark); }
.shead { background: var(--indigo-dark); color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 720px) { .shead { display: none; } .srow { grid-template-columns: 1fr; gap: 6px; } .srow span::before { content: attr(data-l); display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; } }
.band .end { color: #fff; font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; margin-top: 18px; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* Home: manifesto tiles */
.mtiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mtile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); display: grid; gap: 6px; transition: transform .15s, box-shadow .15s, border-color .15s; align-content: start; }
.mtile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c5ccef; }
.mtile .pico { width: 36px; height: 36px; border-radius: 10px; }
.mtile b { color: var(--indigo-dark); font-size: 1.02rem; line-height: 1.2; }
.mtile .pnum { font-size: .78rem; letter-spacing: .12em; }
@media (max-width: 900px) { .mtiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .mtiles { gap: 8px; } .mtile { padding: 12px; } }
.mquote { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.5; color: var(--indigo-dark); font-weight: 500; max-width: 38em; padding-left: 18px; border-left: 3px solid var(--red); margin: 0 0 28px; }
.mquote small { display: block; font-size: .9rem; color: var(--muted); margin-top: 8px; font-weight: 400; }

/* ---------- Polish ---------- */
.top { transition: box-shadow .2s; }
.top.scrolled { box-shadow: 0 6px 24px rgba(19, 26, 99, .08); }
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
dialog[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { dialog[open] { animation: rise .26s ease-out; } @keyframes rise { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } } }
.dots { display: flex; gap: 5px; align-items: center; margin-bottom: 8px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #cfd6ea; }
.dots i.on { background: var(--red); width: 18px; border-radius: 99px; }
.skeleton { background: linear-gradient(90deg, #eef1f8, #f8f9fd, #eef1f8); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 110px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.band .sigline { color: #aab3ee; font-size: .92rem; margin-top: 6px; }

.btn small { font-weight: 500; opacity: .7; font-size: .8em; }
.genrow .big-amt input { font-size: 1.15rem; min-height: 46px; padding: 6px 14px 6px 56px; }
.genrow .big-amt span { left: 14px; font-size: .88rem; }
@media (max-width: 640px) { .gentxt small { display: none; } .genrow { padding: 12px 16px 14px; gap: 10px; } }
html:has(dialog[open]), body:has(dialog[open]) { overflow: hidden; }
