/* wellcommon — palette: #39D1EF #A5F3FF #E30505 #B80000 #FFB4D1 #FFA6F0 */
:root {
  --blue: #39D1EF;        /* cyan */
  --blue-light: #A5F3FF;  /* light cyan */
  --blue-dark: #0B7F97;   /* darker cyan, only for small text and links (readable on white) */
  --blue-tint: #E8FCFF;
  --red: #E30505;
  --red-dark: #B80000;
  --pink: #FFB4D1;
  --orchid: #FFA6F0;
  --red-tint: #FFE3EE;
  --navy: #1A1423;        /* near-black for headings and text */
  --navy-tint: #F3F5F7;
  --ink: #16202f;
  --muted: #5b6676;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #FFF0F6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 6px 20px rgba(15, 27, 51, .06);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.narrow { width: min(760px, 92vw); margin: 0 auto; }
section { padding: 72px 0; }
.soft { background: var(--bg-soft); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Section heading with the deck's red accent bar */
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: .6em; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.bar { width: 56px; height: 5px; border-radius: 3px; background: var(--blue); margin: 0 0 18px; }
.center .bar { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Wordmark */
.wordmark { font-weight: 500; letter-spacing: -.02em; text-decoration: none; }
.wordmark .w { color: var(--blue); }
.wordmark .c { color: var(--red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand .wordmark { font-size: 1.5rem; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a.active { background: var(--blue-tint); color: var(--blue-dark); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 4vw 20px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: .95rem; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .08s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: #bf2f26; }
.btn-blue { background: var(--blue); color: #fff !important; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy) !important; }
.btn-ghost:hover { background: var(--navy); color: #fff !important; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 .w { color: var(--blue); }
.hero h1 .c { color: var(--red); }
.tagline { font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: .4em; }
.tagline span { white-space: nowrap; }
.tagline span + span::before { content: " · "; color: var(--red); }
.hero p.lead { margin-bottom: 1.6em; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } .hero img { max-width: 420px; margin: 0 auto; } }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card.accent-red { border-bottom: 5px solid var(--red); }
.card.accent-blue { border-bottom: 5px solid var(--blue); }
.card.accent-navy { border-bottom: 5px solid var(--navy); }
.card .icon { width: 120px; height: 80px; object-fit: contain; margin: 0 auto 16px; }
.pill { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dark); }
.pill.red { background: var(--red-tint); color: var(--red); }
.pill.navy { background: var(--navy); color: #fff; }
.pill.green { background: #e6f6ec; color: #1d7a43; }
.pill.gray { background: var(--navy-tint); color: var(--muted); }

/* Problem cycle */
.cycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: stage; }
.cycle .stage { position: relative; padding: 20px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0 10px; }
.cycle .stage::after { content: "→"; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); color: var(--red); font-weight: 700; }
.cycle .stage:last-child::after { content: "↺"; }
.cycle .num { font-size: .72rem; font-weight: 700; color: var(--red); letter-spacing: .1em; }
.cycle h3 { font-size: 1rem; margin: 4px 0 6px; }
.cycle p { font-size: .88rem; color: var(--muted); margin: 0; }
.cycle-note { margin-top: 24px; text-align: center; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .cycle { grid-template-columns: 1fr; gap: 14px; } .cycle .stage::after { right: auto; left: 50%; top: auto; bottom: -18px; transform: translateX(-50%) rotate(90deg); } }

/* Expert categories */
.expert-cat { display: flex; flex-direction: column; gap: 6px; }
.expert-cat .who { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.expert-cat .what { font-weight: 600; color: var(--blue-dark); font-size: .95rem; }
.expert-cat p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.tier { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--blue); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tier.director { border-color: var(--red); }
.tier-head { background: var(--blue); color: #fff; text-align: center; padding: 22px 16px 18px; }
.tier.director .tier-head { background: var(--blue); }
.tier-head h3 { color: #fff; font-size: 1.6rem; margin: 0; }
.tier-head .price { font-size: 1.1rem; font-weight: 500; opacity: .95; }
.tier-badge { position: absolute; top: 10px; right: 10px; background: #fff; color: var(--blue-dark); font-size: .68rem; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; }
.tier-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tier-body img { width: 150px; height: 96px; object-fit: contain; margin: 0 auto 16px; }
.power { background: var(--blue-tint); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-size: .9rem; }
.tier.director .power { background: var(--red-tint); }
.power strong { display: block; color: var(--navy); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; }
.checks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .93rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }
.quote { font-style: italic; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; margin-bottom: 16px; text-align: center; }

/* Power comparison table */
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--navy); background: var(--bg-soft); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.yes { color: var(--blue-dark); font-weight: 700; }
.no { color: #b5bdc8; }
tr.total td { font-weight: 700; background: var(--navy); color: #fff; }

/* Membership board */
.board { background: var(--navy); color: #fff; border-radius: 20px; padding: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.board .stat .value { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.board .stat .label { color: #b9c4d6; font-size: .92rem; }
.board .stat:nth-child(1) .value { color: #7cc0f2; }
.board .stat:nth-child(2) .value { color: #fff; }
.board .stat:nth-child(3) .value { color: #ff8a80; }
.board-foot { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: .9rem; color: #d7deea; }
.board-foot b { color: #fff; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 6px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
@media (max-width: 700px) { .board { grid-template-columns: 1fr; padding: 28px; } }

/* Email capture */
.capture { background: var(--blue-tint); border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 760px) { .capture { grid-template-columns: 1fr; } }
form .row { display: flex; gap: 10px; flex-wrap: wrap; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61,155,224,.2); }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field { margin-bottom: 16px; }
.form-ok { display: none; background: #e6f6ec; color: #1d7a43; border-radius: 10px; padding: 12px 14px; font-weight: 600; margin-top: 12px; }
.form-ok.show { display: block; }

/* Bars (allocation, budget, progress) */
.alloc { display: flex; height: 22px; border-radius: 999px; overflow: hidden; background: var(--navy-tint); }
.alloc span { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .88rem; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.progress { height: 10px; border-radius: 999px; background: var(--navy-tint); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.progress.red > span { background: var(--red); }

/* Target vs actual */
.tva { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tva-row .tva-label { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.tva-track { position: relative; height: 14px; border-radius: 999px; background: var(--navy-tint); }
.tva-track .actual { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); border-radius: 999px; }
.tva-track .target { position: absolute; top: -4px; bottom: -4px; width: 3px; background: var(--red); border-radius: 2px; }

/* Milestones */
.milestones { list-style: none; padding: 0; margin: 0; position: relative; }
.milestones::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.milestones li { position: relative; padding: 0 0 22px 40px; }
.milestones li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.milestones li.done::before { background: var(--blue); border-color: var(--blue); }
.milestones li.now::before { background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.milestones .when { font-size: .8rem; color: var(--muted); font-weight: 600; }
.milestones h4 { margin: 2px 0 2px; font-size: 1rem; }
.milestones p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Tabs */
.tabs { display: inline-flex; background: var(--navy-tint); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs button { font: inherit; font-weight: 600; font-size: .92rem; border: 0; background: transparent; padding: 10px 18px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.tabs button.active { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Flow steps */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: relative; }
.flow .step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 10px; font-size: .9rem; }
.flow .step:nth-child(4) .n { background: var(--red); }
.flow .step h4 { font-size: .98rem; margin: 0 0 4px; }
.flow .step p { font-size: .86rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Suggestion list */
.sugg { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sugg:last-child { border-bottom: 0; }
.upvote { flex: none; width: 56px; text-align: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 0; background: #fff; cursor: pointer; font: inherit; }
.upvote b { display: block; font-size: 1.05rem; color: var(--navy); }
.upvote small { font-size: .7rem; color: var(--muted); }
.upvote.on { border-color: var(--blue); background: var(--blue-tint); }
.sugg h4 { margin: 0 0 4px; font-size: 1rem; }
.sugg p { margin: 0 0 6px; font-size: .9rem; color: var(--muted); }

/* Dashboard */
.dash { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } }
.dash-side { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; align-self: start; }
.dash-side h3 { color: #fff; margin-bottom: 2px; }
.dash-side .muted { color: #b9c4d6; }
.dash-side nav a { display: block; color: #d7deea; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .92rem; }
.dash-side nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.locked { position: relative; }
.locked .lock-cover { position: absolute; inset: 0; background: rgba(255,255,255,.82); backdrop-filter: blur(2px); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 10px; }
.vote-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 10px; cursor: pointer; }
.vote-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.vote-opt input { width: auto; }
.slider-row { display: grid; grid-template-columns: 1fr 140px 64px; gap: 12px; align-items: center; margin-bottom: 12px; font-size: .92rem; }
.slider-row input[type=range] { padding: 0; accent-color: var(--red); }
.slider-row output { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Founding */
.ticket { background: #fff; border: 2px dashed var(--red); border-radius: 20px; padding: 36px; text-align: center; max-width: 520px; margin: 0 auto; }
.ticket .big { font-size: 4rem; font-weight: 700; color: var(--red); line-height: 1; }

/* Notice */
.demo-note { background: #fff8e6; border: 1px solid #f3dca0; color: #7a5a00; font-size: .85rem; border-radius: 10px; padding: 10px 14px; margin-bottom: 24px; }
.demo-note b { color: #5c4300; }

/* Page hero (inner pages) */
.page-hero { padding: 56px 0 40px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 680px; }

/* Footer */
.site-footer { background: var(--navy); color: #b9c4d6; padding: 48px 0 32px; font-size: .9rem; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; }
.site-footer a { color: #d7deea; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .wordmark { font-size: 1.6rem; display: inline-block; margin-bottom: 8px; }
.site-footer .wordmark .w { color: #7cc0f2; }
.site-footer .wordmark .c { color: #ff8a80; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: .8rem; }
@media (max-width: 700px) { .site-footer .container { grid-template-columns: 1fr; } }


/* ==========================================================================
   Palette overrides (#39D1EF #A5F3FF #E30505 #B80000 #FFB4D1 #FFA6F0)
   Dark surfaces use dark red; cyan buttons use dark text so they stay readable.
   ========================================================================== */
.hero { background: linear-gradient(180deg, #fff 0%, var(--blue-tint) 100%); }
.nav a:hover, .nav a.active { background: var(--blue-light); color: var(--navy); }

.btn-red:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: var(--navy) !important; }
.btn-blue:hover { background: var(--blue-light); }
.btn-ghost { border-color: var(--red-dark); color: var(--red-dark) !important; }
.btn-ghost:hover { background: var(--red-dark); color: #fff !important; }

.checks li::before { color: var(--red); }
.yes { color: var(--red); }
.bar { background: var(--blue); }
.eyebrow { color: var(--red); }

.pill { background: var(--blue-light); color: var(--navy); }
.pill.red { background: var(--pink); color: var(--red-dark); }
.pill.navy { background: var(--red-dark); color: #fff; }
.card.accent-blue { border-bottom-color: var(--blue); }
.card.accent-navy { border-bottom-color: var(--orchid); }

/* Tiers */
.tier { border-color: var(--blue); }
.tier-head { background: var(--blue); }
.tier-head h3, .tier-head .price { color: var(--navy); }
.tier.director { border-color: var(--red); }
.tier.director .tier-head { background: var(--red); }
.tier.director .tier-head h3, .tier.director .tier-head .price { color: #fff; }
.tier-badge { color: var(--red-dark); }
.power { background: var(--blue-light); }
.tier.director .power { background: var(--pink); }

/* Membership board */
.board { background: var(--red-dark); }
.board .stat .label { color: var(--red-tint); }
.board .stat:nth-child(1) .value { color: var(--blue-light); }
.board .stat:nth-child(3) .value { color: var(--pink); }
.board-foot { color: var(--red-tint); border-top-color: rgba(255,255,255,.25); }

/* Email capture */
.capture { background: var(--blue-light); }

/* Tables, inputs, progress */
tr.total td { background: var(--red-dark); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(57,209,239,.35); }
.progress > span { background: var(--blue); }
.milestones li.done::before { background: var(--blue); border-color: var(--blue); }
.flow .step .n { background: var(--blue); color: var(--navy); }
.flow .step:nth-child(4) .n { background: var(--red); color: #fff; }
.upvote.on { border-color: var(--blue); background: var(--blue-light); }
.vote-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.slider-row input[type=range] { accent-color: var(--red); }
.tabs button.active { color: var(--red-dark); }

/* Dashboard sidebar */
.dash-side { background: var(--red-dark); }
.dash-side .muted { color: var(--red-tint); }
.dash-side nav a { color: var(--red-tint); }
.dash-side nav a:hover { background: rgba(255,255,255,.12); }

/* Footer */
.site-footer { background: var(--red-dark); color: var(--red-tint); }
.site-footer a { color: #fff; opacity: .85; }
.site-footer a:hover { opacity: 1; }
.site-footer .wordmark .w { color: var(--blue-light); }
.site-footer .wordmark .c { color: var(--pink); }
.site-footer .legal { border-top-color: rgba(255,255,255,.25); }

/* =====================================================================
   Menu bar + page bar (thin, evenly spaced links; page name + section links)
   ===================================================================== */
.gnav, .lnav { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.01em; }
.gnav { position: sticky; top: 0; z-index: 50; height: 48px; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.1); }
.gnav-inner { width: min(1120px, 92vw); margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.gnav a { color: #1d1d1f; opacity: .8; font-size: 13px; text-decoration: none; }
.gnav a:hover { opacity: 1; }
.gnav a.active { opacity: 1; font-weight: 600; }
.gnav .logo { opacity: 1; display: flex; align-items: center; }
.gnav .logo img { width: 24px; }
.gnav .gjoin { opacity: 1; background: var(--red); color: #fff; border-radius: 980px; padding: 5px 14px; font-weight: 500; }
.gnav .gjoin:hover { background: var(--red-dark); }
.gnav-toggle { display: none; background: none; border: 0; font-size: 18px; cursor: pointer; color: #1d1d1f; }
.lnav { position: sticky; top: 48px; z-index: 40; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.1); }
.lnav-inner { width: min(1120px, 92vw); margin: 0 auto; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lnav .title { font-size: 21px; font-weight: 600; color: #1d1d1f; white-space: nowrap; }
.lnav .links { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.lnav .links a { color: #1d1d1f; opacity: .8; text-decoration: none; white-space: nowrap; }
.lnav .links a:hover { opacity: 1; color: var(--blue-dark); }
.lnav .pill-btn { opacity: 1 !important; background: var(--blue-dark); color: #fff !important; border-radius: 980px; padding: 5px 14px; font-size: 13px; }
.lnav .pill-btn:hover { background: #0a6a7e; }
[id] { scroll-margin-top: 116px; }
@media (max-width: 860px) {
  .gnav-links { display: none; position: absolute; top: 48px; left: 0; right: 0; height: calc(100vh - 48px); background: #fff; flex-direction: column; align-items: flex-start; padding: 16px 8vw; gap: 16px; }
  .gnav-links.open { display: flex; }
  .gnav-links a { font-size: 22px; font-weight: 600; opacity: 1; }
  .gnav-toggle { display: block; }
  .gnav .gjoin { margin-left: auto; margin-right: 16px; }
  .lnav .links { display: none; }
  .lnav .title { font-size: 18px; }
}
/* let grid columns shrink on phones instead of pushing the page wider */
.hero .container > *, .grid > *, .dash > *, .tiers > * { min-width: 0; }
.tagline { flex-wrap: wrap; }
@media (max-width: 760px) { .hero .container { grid-template-columns: 1fr; } }
.tagline span { display: inline-block; }
@media (max-width: 860px) { .hero img { max-width: min(420px, 100%); } }
.dash { grid-template-columns: 240px minmax(0, 1fr); }
.dash > div { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .dash { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Four-color palette (latest)
   Primary Red #E21C26 — bold fills, primary highlights, core accents
   Vivid Sky Blue #00A3E8 — secondary elements, data details, outlines
   Charcoal Black #161618 — text, structure, dark anchors
   Pure White #FFFFFF — backgrounds
   (Only neutral grays for hairlines/secondary text; a darker red for hover.)
   ===================================================================== */
:root {
  --red: #E21C26; --red-dark: #161618; --red-tint: #FFFFFF;
  --blue: #00A3E8; --blue-light: #FFFFFF; --blue-tint: #FFFFFF; --blue-dark: #161618;
  --navy: #161618; --ink: #161618; --muted: #5C5C63; --line: #E4E4E7;
  --pink: #FFFFFF; --orchid: #161618;
  --bg: #FFFFFF; --bg-soft: #FFFFFF;
}
body { background: #fff; color: var(--ink); }
a { color: var(--ink); text-decoration-color: var(--blue); text-underline-offset: 3px; }
.hero, .soft, .page-hero { background: #fff; }
section.soft { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* buttons */
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: #B8141C; }
.btn-blue { background: var(--blue); color: var(--ink) !important; }
.btn-blue:hover { background: #0090CE; }
.btn-ghost { border-color: var(--ink); color: var(--ink) !important; background: #fff; }
.btn-ghost:hover { background: var(--ink); color: #fff !important; }

/* labels, checks, pills */
.eyebrow { color: var(--red); }
.checks li::before, .yes { color: var(--red); }
.tagline span + span::before { color: var(--red); }
.bar { background: var(--red); }
.pill { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--blue); }
.pill.red { background: #fff; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.pill.navy { background: var(--ink); color: #fff; box-shadow: none; }
.card.accent-red { border-bottom-color: var(--red); }
.card.accent-blue { border-bottom-color: var(--blue); }
.card.accent-navy { border-bottom-color: var(--ink); }

/* launch box and power boxes: white with outlines */
.capture { background: #fff; border: 2px solid var(--blue); }
.power { background: #fff; border: 1.5px solid var(--blue); }
.tier.director .power { background: #fff; border-color: var(--red); }

/* tiers */
.tier { border-color: var(--blue); }
.tier-head { background: var(--blue); }
.tier-head h3, .tier-head .price, .tier:not(.director) .tier-head h3, .tier:not(.director) .tier-head .price { color: var(--ink) !important; }
.tier.director { border-color: var(--red); }
.tier.director .tier-head { background: var(--red); }
.tier.director .tier-head h3, .tier.director .tier-head .price { color: #fff !important; }
.tier-badge { background: var(--ink); color: #fff; }

/* membership board (charcoal anchor) */
.board { background: var(--ink); }
.board .stat .label, .board-foot { color: #C9C9CE; }
.board .stat:nth-child(1) .value { color: var(--blue); }
.board .stat:nth-child(2) .value { color: #fff; }
.board .stat:nth-child(3) .value { color: var(--red); }
.board-foot { border-top-color: rgba(255,255,255,.18); }

/* data details */
.progress { background: #EDEDF0; }
.progress > span { background: var(--blue); }
.progress.red > span { background: var(--red); }
.milestones li.done::before { background: var(--blue); border-color: var(--blue); }
.milestones li.now::before { background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px #FDE3E4; }
.flow .step .n { background: var(--blue); color: var(--ink); }
.flow .step:nth-child(4) .n { background: var(--red); color: #fff; }
.upvote.on { border-color: var(--blue); background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue); }
.vote-opt:has(input:checked) { border-color: var(--blue); background: #fff; }
.slider-row input[type=range], .vote-opt input { accent-color: var(--red); }
.tabs button.active { color: var(--ink); }
tr.total td { background: var(--ink); color: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,163,232,.25); }
.ticket { border-color: var(--red); }
.ticket .big { color: var(--red); }

/* dashboard sidebar + footer (charcoal anchors) */
.dash-side { background: var(--ink); }
.dash-side .muted, .dash-side nav a { color: #C9C9CE; }
.site-footer { background: var(--ink); color: #C9C9CE; }
.site-footer a { color: #fff; }
.site-footer .wordmark .w { color: var(--blue); }
.site-footer .wordmark .c { color: var(--red); }
.site-footer .legal { border-top-color: rgba(255,255,255,.18); }

/* menu bar + page bar */
.gnav .gjoin { background: var(--red); }
.gnav .gjoin:hover { background: #B8141C; }
.lnav .pill-btn { background: var(--ink); }
.lnav .pill-btn:hover { background: var(--blue); color: var(--ink) !important; }
.lnav .links a:hover { color: var(--ink); }
.no { color: #B0B0B5; }

/* Deck logo, top left of every page at medium size */
.gnav { height: 76px; }
.gnav .logo img { width: auto; height: 58px; }
.gnav-inner { gap: 20px; }
.lnav { top: 76px; }
[id] { scroll-margin-top: 144px; }
@media (max-width: 860px) {
  .gnav { height: 64px; }
  .gnav .logo img { height: 46px; }
  .gnav-links { top: 64px; height: calc(100vh - 64px); }
  .lnav { top: 64px; }
}

/* Logo at double size */
.gnav { height: 136px; }
.gnav .logo img { height: 116px; }
.lnav { top: 136px; }
[id] { scroll-margin-top: 204px; }
@media (max-width: 860px) {
  .gnav { height: 96px; }
  .gnav .logo img { height: 76px; }
  .gnav-links { top: 96px; height: calc(100vh - 96px); }
  .lnav { top: 96px; }
  [id] { scroll-margin-top: 164px; }
}
.gnav .logo { flex: none; }
.gnav .logo img { width: auto; max-width: none; }
@media (max-width: 860px) { .gnav .logo img { height: 64px; } .gnav { height: 84px; } .gnav-links { top: 84px; height: calc(100vh - 84px); } .lnav { top: 84px; } }

/* Director tier matches Member and Voter (same blue) */
.tier.director { border-color: var(--blue); }
.tier.director .tier-head { background: var(--blue); }
.tier.director .tier-head h3, .tier.director .tier-head .price { color: var(--ink) !important; }
.tier.director .power { border-color: var(--blue); }

@media (max-width: 860px) { .gnav-links { top: 84px; height: calc(100vh - 84px); } }

/* Logo 20% smaller: desktop 116px -> 93px tall, phones 64px -> 51px; bars shrink to match */
.gnav { height: 112px; }
.gnav .logo img { height: 93px; }
.lnav { top: 112px; }
[id] { scroll-margin-top: 180px; }
@media (max-width: 860px) {
  .gnav { height: 70px; }
  .gnav .logo img { height: 51px; }
  .gnav-links { top: 70px; height: calc(100vh - 70px); }
  .lnav { top: 70px; }
  [id] { scroll-margin-top: 138px; }
}

/* Dashboard: "Welcome back" is the page's main title, sized like the old sidebar heading */
.dash-side .dash-title { color: #fff; font-size: 1.15rem; letter-spacing: 0; margin: 0 0 2px; }

/* Error message when a form couldn't be sent */
.form-err { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-weight: 600; background: #FDE3E4; color: #8F0F15; }
.form-err.show { display: block; }

/* =====================================================================
   Home: globe-in-hand sketch (transparent PNG) as the backdrop of the first section.
   Paper color of the sketch is #FDFBF5, so the section uses it and the image has no visible edge.
   Wide screens: text on the left, balloon and mountains to the right, with a paper-colored fade
   behind the text so the sketch lines never run through the words.
   Narrower screens: text on top, the full sketch as a band underneath.
   ===================================================================== */
.hero.hero-balloon {
  --paper: #FDFBF5;
  position: relative;
  background: var(--paper) url("../img/hero-globe.png") no-repeat;
  background-size: auto 560px;
  background-position: left calc(50vw - 130px) bottom;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero.hero-balloon::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0, var(--paper) calc(50% - 20px), rgba(253, 251, 245, 0) calc(50% + 160px));
  pointer-events: none;
}
.hero.hero-balloon .container { position: relative; z-index: 1; display: block; }
.hero.hero-balloon .hero-copy { max-width: 540px; }

@media (max-width: 1199px) {
  .hero.hero-balloon {
    display: block;
    min-height: 0;
    background-size: min(100%, 680px) auto;
    background-position: center bottom;
    padding: 56px 0 calc(min(100vw, 680px) * 0.7421 + 24px);
  }
  .hero.hero-balloon::before { display: none; }
  .hero.hero-balloon .hero-copy { max-width: 640px; }
}
/* Lead-in line above the Home headline */
.hero-kicker { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; color: var(--red); margin: 0 0 .6em; line-height: 1.35; }
@media (min-width: 1200px) { .hero.hero-balloon .hero-kicker { width: max-content; max-width: 680px; } }

/* Home top section: white background, globe-in-hand drawn in black.
   The sketch moves to its own layer (::after) so a filter can turn its ink black;
   its transparent areas stay transparent, so the white shows through. */
.hero.hero-balloon { --paper: #FFFFFF; background: #FFFFFF; }
.hero.hero-balloon::after {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/hero-globe.png") no-repeat;
  background-size: auto 560px;
  background-position: left calc(50vw - 130px) bottom;
  filter: brightness(0);
  pointer-events: none;
  z-index: 0;
}
.hero.hero-balloon::before {
  z-index: 1;
  background: linear-gradient(90deg, #FFFFFF 0, #FFFFFF calc(50% - 20px), rgba(255, 255, 255, 0) calc(50% + 160px));
}
.hero.hero-balloon .container { z-index: 2; }
@media (max-width: 1199px) {
  .hero.hero-balloon::after { background-size: min(100%, 680px) auto; background-position: center bottom; }
}
/* Home lead-in line in the logo's blue (#00A3E8) */
.hero-kicker { color: var(--blue); }


/* Home top section background: #FAFAFA (the fade behind the text matches it) */
.hero.hero-balloon { --paper: #FAFAFA; background: #FAFAFA; }
.hero.hero-balloon::before {
  background: linear-gradient(90deg, #FAFAFA 0, #FAFAFA calc(50% - 20px), rgba(250, 250, 250, 0) calc(50% + 160px));
}

/* Crowd sketch sitting on top of the membership board */
.board-crowd { display: block; width: calc(100% - 32px); max-width: 1100px; height: auto; margin: 8px auto -4px; position: relative; z-index: 1; }
@media (max-width: 600px) { .board-crowd { width: 100%; margin-bottom: -2px; } }

/* Page tops with a sketch on the right (e.g. Transparency's money bag) */
.page-hero.with-art .container { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.page-hero.with-art .page-hero-art { width: 100%; max-width: 240px; height: auto; justify-self: center; }
@media (max-width: 760px) {
  .page-hero.with-art .container { grid-template-columns: 1fr; gap: 20px; }
  .page-hero.with-art .page-hero-art { max-width: 160px; justify-self: start; order: -1; }
}
/* Tall, narrow sketches (e.g. Suggest's balloons): cap the height instead of the width */
.page-hero.with-art .page-hero-art.tall { width: auto; max-width: 100%; max-height: 300px; }
@media (max-width: 760px) { .page-hero.with-art .page-hero-art.tall { max-height: 200px; } }

/* Experts page sketch: handshake under the For experts intro */
.apply-art { display: block; width: 100%; max-width: 340px; height: auto; margin: 24px 0 0; }
@media (max-width: 600px) {
  .apply-art { max-width: 240px; }
}
/* Center the handshake under the For experts intro */
.apply-art { margin-left: auto; margin-right: auto; }

/* Dashboard: group of members sitting on top of the "Welcome back" box */
.dash-side-wrap { display: block; align-self: start; }
.dash-members { display: block; width: calc(100% - 16px); height: auto; margin: 0 auto -3px; position: relative; z-index: 1; }
@media (max-width: 860px) { .dash-members { width: min(100%, 360px); } }

/* Menu bar + page bar in the site's off-white (#FAFAFA). The logo image has a solid white box,
   so it's multiplied onto the bar: white turns into the bar color, the ink stays the same. */
.gnav { background: rgba(250, 250, 250, .96); }
.lnav { background: rgba(250, 250, 250, .94); }
.gnav .logo img { mix-blend-mode: multiply; }
@media (max-width: 860px) { .gnav-links.open { background: #FAFAFA !important; } }
/* Menu links in solid black (same size and weight as before) */
.gnav-links a { color: #000; opacity: 1; }

/* =====================================================================
   FLOW: full-screen, one-idea-at-a-time layout.
   - Home opens on three colored tiles (one big, two stacked), each a door into the site.
   - Inner pages open on a full-screen intro with a giant faint letter behind the headline.
   - Every section after that is a "chapter": full height, numbered (Name ◆ 01),
     and the page background eases to the chapter's color as you scroll.
   - A dot rail on the right shows where you are. Menu bar and page bar are unchanged.
   ===================================================================== */
html { --bars: 112px; --flow-sky: #DDF1FB; --flow-tint: #EEF8FD; --flow-off: #FAFAFA; }
html:has(body[data-title]) { --bars: 164px; }
@media (max-width: 860px) { html { --bars: 70px; } html:has(body[data-title]) { --bars: 122px; } }
html { scroll-padding-top: var(--bars); }
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) { html.flow-snap { scroll-snap-type: y proximity; } }
body { transition: background-color .7s ease; }

/* ---------- Home tiles ---------- */
.tiles { display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: 1fr 1fr; height: calc(100vh - var(--bars)); min-height: 560px; padding: 0; scroll-snap-align: start; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3.4vw, 48px); color: var(--ink); text-decoration: none; overflow: hidden; }
.tile-big { grid-row: 1 / span 2; background: var(--flow-sky); }
.tile-blue { background: var(--blue); color: #fff; }
.tile-dark { background: var(--ink); color: #fff; }
.tile-art { position: absolute; inset: 7% 8% 36% 8%; display: grid; place-items: center; pointer-events: none; }
.tile-big .tile-art { inset: 4% 4% 30% 30%; }
.tile-art img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.tile-big .tile-art img { filter: brightness(0); }
.tile-blue .tile-art img, .tile-dark .tile-art img { filter: brightness(0) invert(1); }
.tile:hover .tile-art img { transform: scale(1.05) translateY(-8px); }
.tile-copy { position: relative; z-index: 1; }
.tile-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.tile-label::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; margin: 10px 0 14px; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .tile-label::after { width: 56px; }
.tile-text { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.3; font-weight: 500; max-width: 20em; color: inherit; }
.tile-big .tile-kicker { margin: 0 0 .5em; font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 600; color: var(--ink); max-width: 30em; }
.tile-big h1 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em; max-width: 13em; }
.tile-go { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.tile-go::after { content: " →"; display: inline-block; transition: transform .4s; }
.tile:hover .tile-go::after { transform: translateX(6px); }
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; min-height: 0; }
  .tile-big { grid-row: auto; min-height: calc(100svh - var(--bars)); }
  .tile-big .tile-art { inset: 4% 4% 44% 4%; }
  .tile-blue, .tile-dark { min-height: 62svh; }
}

/* ---------- Scroll cue (outlined mouse with a moving dot) ---------- */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 22px; height: 36px; margin-left: -11px; border: 2px solid currentColor; border-radius: 12px; opacity: .55; z-index: 2; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.tile-big .scroll-cue { left: auto; right: 40px; }
@media (max-width: 860px) { .scroll-cue { display: none; } }

/* ---------- Inner page intro ---------- */
.page-hero.intro { position: relative; overflow: hidden; min-height: calc(100vh - var(--bars)); display: flex; align-items: center; padding: 64px 0 96px; background: var(--flow-sky); border: 0; scroll-snap-align: start; }
.page-hero.intro::before { content: attr(data-letter); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); font-size: min(86vh, 64vw); font-weight: 700; line-height: 1; letter-spacing: -.06em; color: rgba(255, 255, 255, .6); pointer-events: none; }
.page-hero.intro .container { position: relative; z-index: 1; width: min(1120px, 92vw); }
.page-hero.intro .eyebrow, .page-hero.intro .pill { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); background: none; box-shadow: none; padding: 0; }
.page-hero.intro .eyebrow::before, .page-hero.intro .pill::before { content: "◆"; color: var(--red); font-size: 10px; letter-spacing: 0; }
.page-hero.intro h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em; margin: 16px 0 20px !important; max-width: 12em; }
.page-hero.intro .lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 34em; color: var(--ink); }
.page-hero.intro .page-hero-art,
.page-hero.intro .page-hero-art.tall { width: 100%; max-width: 340px; max-height: none; aspect-ratio: 1; object-fit: contain; padding: 15%; border-radius: 50%; border: 2px dotted rgba(22, 22, 24, .3); background: rgba(255, 255, 255, .45); justify-self: center; }
.page-hero.intro .scroll-cue { color: var(--ink); }
@media (max-width: 760px) {
  .page-hero.intro { min-height: 0; padding: 48px 0 64px; }
  .page-hero.intro .page-hero-art, .page-hero.intro .page-hero-art.tall { max-width: 200px; order: 0; justify-self: start; }
}

/* ---------- Chapters ---------- */
.chapter { position: relative; overflow: hidden; min-height: calc(100vh - var(--bars)); display: flex; flex-direction: column; justify-content: center; padding: 96px 0; background: var(--flow-off); border: 0 !important; scroll-snap-align: start; }
.chapter.alt { background: var(--flow-tint); }
.chapter.short { min-height: 62vh; }
.chapter > .container, .chapter > .narrow { position: relative; z-index: 1; }
.chapter[data-num]::after { content: attr(data-num); position: absolute; right: -2vw; bottom: -6vw; font-size: clamp(180px, 30vw, 440px); font-weight: 700; line-height: 1; letter-spacing: -.06em; color: rgba(0, 163, 232, .07); pointer-events: none; z-index: 0; }
.ch-mark { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.ch-mark .d { color: var(--red); font-size: 10px; letter-spacing: 0; }
.ch-mark .n { color: var(--muted); }
.ch-mark::after { content: ""; width: 28px; height: 2px; background: var(--ink); opacity: .25; }
.center > .ch-mark, .ch-mark.c { justify-content: center; }
.center > .ch-mark::after, .ch-mark.c::after { display: none; }
.chapter .section-head .eyebrow { display: none; }
.chapter h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -.025em; }
.chapter .bar { display: none; }
.ch-statement { font-size: clamp(1.35rem, 2.6vw, 2.15rem); line-height: 1.32; font-weight: 500; letter-spacing: -.015em; color: var(--ink); margin: 0 auto 36px; max-width: 28em; }
@media (max-width: 860px) {
  .chapter { min-height: 0; padding: 72px 0; }
  .chapter.short { min-height: 0; }
}

/* ---------- Step chapters: title | sketch in a dotted orbit | text ---------- */
.step-grid { display: grid; grid-template-columns: 1fr minmax(240px, 400px) 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.step-title { text-align: right; }
.step-title h2 { margin: 0 0 14px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.step-title .ch-mark { justify-content: flex-end; margin: 0 0 14px; }
.step-title .ch-mark::after { display: none; }
.step-title .price { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.step-title .pill { margin-top: 12px; }
.step-orbit { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.step-orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px dotted rgba(22, 22, 24, .32); animation: orbit 80s linear infinite; }
.step-orbit::after { content: ""; position: absolute; top: -8px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--ink); background: var(--page-bg, #FAFAFA); }
.step-orbit img { position: relative; width: 58%; height: 58%; object-fit: contain; }
@keyframes orbit { to { transform: rotate(360deg); } }
.step-body { max-width: 380px; }
.step-body .power { margin-bottom: 16px; }
.step-body .quote { margin: 14px 0 20px; }
@media (max-width: 960px) {
  .step-grid { grid-template-columns: 1fr; gap: 28px; }
  .step-title { text-align: left; }
  .step-title .ch-mark { justify-content: flex-start; }
  .step-orbit { max-width: 280px; width: 100%; }
  .step-body { max-width: 560px; }
}

/* ---------- Home: launch list chapter ---------- */
.launch-form .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 560px; margin: 0 auto; }
.launch-form input[type=email] { flex: 1 1 260px; padding: 14px 18px; font-size: 1rem; border-radius: 999px; border: 2px solid var(--ink); background: #fff; }
.launch-form .btn { border-radius: 999px; padding: 14px 26px; }
.launch-form .form-ok, .launch-form .form-err { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Right-side dot rail ---------- */
.flow-rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 14px; }
.flow-rail a { position: relative; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .22; transition: opacity .3s, height .4s cubic-bezier(.2, .7, .2, 1), border-radius .4s; }
.flow-rail a:hover { opacity: .6; }
.flow-rail a.on { opacity: .9; height: 26px; border-radius: 4px; }
.flow-rail a span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: rgba(250, 250, 250, .92); padding: 4px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.flow-rail a:hover span { opacity: 1; }
@media (max-width: 1180px) { .flow-rail { display: none; } }
.lnav .links a.on { opacity: 1; font-weight: 600; }

/* ---------- Background follows the chapter in view; content rises in ---------- */
.flow-live .chapter { background: transparent !important; transition: none; }
.flow-live .rv { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.flow-live .in .rv, .flow-live .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .flow-live .rv { opacity: 1; transform: none; transition: none; }
  .step-orbit::before, .scroll-cue::after { animation: none; }
  body { transition: none; }
}
/* Tile sketches stay inside their box, above the words */
.tile-art { display: flex; align-items: center; justify-content: center; inset: 9% 12% 44% 12%; }
.tile-big .tile-art { inset: 4% 4% 32% 30%; }
.tile-art img { max-width: 100%; max-height: 100%; }
@media (max-width: 860px) { .tile-big .tile-art { inset: 4% 4% 46% 4%; } }
/* No giant letter behind page intros, no big faint number behind chapters */
.page-hero.intro::before, .chapter[data-num]::after { content: none; display: none; }
/* One light blue (#DDF1FB) behind every page: intros, chapters and the big Home tile */
html { --flow-sky: #DDF1FB; --flow-tint: #DDF1FB; --flow-off: #DDF1FB; }
body { background-color: #DDF1FB; }

/* Home opening screen: just the hand holding the world and the call to action */
.tiles.landing { display: flex; align-items: center; justify-content: center; position: relative; background: var(--flow-sky); padding: 32px 0 64px; }
.landing-link { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(16px, 3vh, 32px); width: min(1000px, 92vw); color: var(--ink); text-decoration: none; }
.landing-art { width: auto; max-width: 100%; height: min(56vh, 560px); object-fit: contain; filter: brightness(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.landing-link:hover .landing-art { transform: translateY(-8px) scale(1.02); }
.landing-phrase { margin: 0; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.08; letter-spacing: -.025em; max-width: 16em; color: var(--ink); }
.tiles.landing .scroll-cue { color: var(--ink); }
@media (max-width: 860px) {
  .tiles.landing { min-height: calc(100svh - var(--bars)); padding: 32px 0 48px; }
  .landing-art { height: auto; width: 100%; max-height: 46svh; }
}

/* Smoother scrolling:
   - no snapping (it was pulling the page to each section's edge)
   - menu bars are solid instead of live-blurring what's behind them on every frame
   - no background fade between sections (they're all the same light blue now)
   - gentler, shorter rise-in for content */
html.flow-snap { scroll-snap-type: none !important; }
.tiles, .page-hero.intro, .chapter { scroll-snap-align: none; }
.gnav { background: #FAFAFA; backdrop-filter: none; -webkit-backdrop-filter: none; }
.lnav { background: #FAFAFA; backdrop-filter: none; -webkit-backdrop-filter: none; }
body { transition: none; }
.flow-live .rv { transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.step-orbit::before { will-change: transform; }
/* Hot air balloon: the drawing's streamer trails off to the right, so the balloon itself
   sat left of center. Nudge it right so the balloon is centered in its circle. */
#director .step-orbit img { transform: translateX(9%); }

/* Active project: milestones as a horizontal timeline (months left to right).
   The line fills in blue up to the current month (--progress = center of that month's column).
   Phones keep the vertical list. */
@media (min-width: 761px) {
  .milestones.timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 20px; padding-top: 6px; }
  .milestones.timeline::before { left: calc(100% / 12); right: calc(100% / 12); top: 15px; bottom: auto; width: auto; height: 3px; border-radius: 2px; background: rgba(22, 22, 24, .14); }
  .milestones.timeline::after { content: ""; position: absolute; left: calc(100% / 12); top: 15px; height: 3px; border-radius: 2px; width: calc(var(--progress, 0%) - 100% / 12); background: var(--blue); }
  .milestones.timeline li { padding: 40px 0 0; text-align: center; }
  .milestones.timeline li::before { left: 50%; top: 4px; width: 24px; height: 24px; margin-left: -12px; border-width: 3px; z-index: 1; }
  .milestones.timeline .when { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
  .milestones.timeline li.now .when { color: var(--red); }
  .milestones.timeline h4 { font-size: .98rem; line-height: 1.3; margin-bottom: 6px; }
  .milestones.timeline p { font-size: .85rem; line-height: 1.45; }
}

/* The name "wellcommon" written like the logo: "well" in blue, "common" in red */
.wm { font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.wm .w { color: var(--blue); }
.wm .c { color: var(--red); }

/* Poppins everywhere, including the menu bar, page bar, buttons and form fields */
body, .gnav, .lnav, button, input, select, textarea { font-family: var(--font); }
.gnav, .lnav { letter-spacing: 0; }
.gnav-links a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1000px) { .gnav-inner { gap: 14px; } .gnav-links a { font-size: 12.5px; } }

/* Membership circles: white inside, sketch on top */
.step-orbit { border-radius: 50%; background: #EEF8FD; } /* a lighter blue than the page (#DDF1FB) */

/* Page bar (page name + section links) in the lighter blue */
.lnav { background: #EEF8FD; }

/* Bolder menu bar: heavier, slightly larger links; current page underlined in the logo blue;
   a fuller Join button; a firmer line under the bar. Layout unchanged. */
.gnav { border-bottom: 1.5px solid rgba(22, 22, 24, .14); }
.gnav-links a { font-size: 14.5px; font-weight: 600; color: #000; position: relative; }
.gnav-links a.active { font-weight: 700; }
.gnav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 2px; background: var(--blue); }
.gnav .gjoin { font-size: 14.5px; font-weight: 700; padding: 8px 20px; }
@media (min-width: 861px) and (max-width: 1000px) { .gnav-links a, .gnav .gjoin { font-size: 13px; } .gnav .gjoin { padding: 7px 16px; } }
@media (max-width: 860px) { .gnav-links a { font-size: 22px; } .gnav-links a.active::after { display: none; } }
@media (min-width: 861px) and (max-width: 960px) { .gnav-inner { gap: 10px; } .gnav-links a, .gnav .gjoin { font-size: 12.5px; } }

/* Section sketches: a heading with a hand-drawn sketch beside it, or one centered above it */
.ch-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 12px; }
.ch-head > :first-child { flex: 1; min-width: 0; margin-bottom: 0; }
.ch-head h2, .ch-head h3 { margin-bottom: 8px; }
.ch-art { flex: none; width: auto; height: 170px; max-width: 240px; object-fit: contain; }
.ch-art.sm { height: 110px; max-width: 160px; }
.ch-art-center { display: block; width: auto; height: 180px; max-width: 80%; object-fit: contain; margin: 0 auto 22px; }
@media (max-width: 760px) {
  .ch-art { height: 110px; max-width: 140px; }
  .ch-art.sm { height: 80px; }
  .ch-art-center { height: 130px; }
}
@media (max-width: 480px) { .ch-head { gap: 16px; } .ch-art { height: 84px; max-width: 110px; } }
