:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6b77;
  --line: #cdd7e0;
  --page: #f3f6f7;
  --panel: #ffffff;
  --panel-soft: #eef6f3;
  --blue: #1f63b5;
  --green: #0f7a5a;
  --amber: #9a6700;
  --red: #b42318;
  --violet: #6d28d9;
  --shadow: 0 1px 2px rgba(21, 31, 41, 0.08);
}

.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
}

.community-card h3 { margin: 0.45rem 0; }
.metric-line { margin-top: 1rem; }
.button-link {
  align-items: center;
  background: var(--green);
  border-radius: 0.6rem;
  color: #07120e;
  display: inline-flex;
  font-weight: 750;
  min-height: 44px;
  padding: 0 1rem;
  text-decoration: none;
}
.button-link:focus-visible, .nav-link:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #f6c453;
  outline-offset: 3px;
}
.confirmation { align-items: center; display: flex; gap: 0.65rem; min-height: 44px; }
.confirmation input { height: 1.25rem; width: 1.25rem; }

@media (max-width: 760px) {
  .community-grid { grid-template-columns: 1fr; }
  .header-actions { align-items: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .nav-link { min-height: 44px; text-align: center; }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--page);
}

header {
  background: #162029;
  color: white;
  border-bottom: 4px solid var(--green);
}

.header-inner,
main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

header p {
  margin-bottom: 0;
  color: #d9e2e9;
  line-height: 1.45;
}

main {
  padding: 20px 0 48px;
  min-width: 0;
  overflow-x: clip;
}

.status-strip,
.workspace,
.metric-grid,
.creator-form,
.form-grid,
.action-row,
.receipt-row,
.authority-grid,
.lock-grid,
.role-grid {
  display: grid;
  gap: 12px;
}

.status-strip {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 16px;
}

.workspace {
  grid-template-columns: 336px minmax(0, 1fr);
  align-items: start;
  margin-top: 16px;
}

.main-stack > * + *,
.side-stack > * + *,
section + section {
  margin-top: 12px;
}

.panel,
section {
  min-width: 0;
  max-width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel {
  min-width: 0;
  padding: 14px;
}

.panel.soft {
  background: var(--panel-soft);
}

.panel.warn {
  border-left: 4px solid var(--amber);
}

.panel.danger {
  border-left: 4px solid var(--red);
}

.panel.good {
  border-left: 4px solid var(--green);
}

.label,
.panel strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
}

.value {
  min-width: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.small,
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

section h2 {
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
}

section h3 {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-body {
  padding: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.badge.mock {
  color: var(--violet);
  background: #f4efff;
}

/* Public product R2: presentation only; campaign, identity, and market facts are
   still supplied by canonical read/evidence adapters. */
.public-product { --product-navy: #102c3c; --product-green: #087b58; --product-blue: #2469d8; --product-orange: #c76912; }
.product-header { background: var(--product-navy); border-bottom: 3px solid var(--product-green); }
.product-nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0; }
.brand-link { color: #fff; font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.product-nav nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.product-nav .nav-link { color: #eef7fa; text-decoration: none; padding: .55rem .7rem; border-radius: .5rem; }
.product-nav .nav-link:hover, .product-nav .nav-link.active { background: rgba(255,255,255,.14); }
.product-home, .campaign-page, .docs-page { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 2rem 0 5rem; }
.product-hero { padding: 3rem 0 2rem; max-width: 940px; }
.product-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.055em; margin: .45rem 0 1rem; }
.product-hero > p { color: var(--muted); font-size: 1.15rem; line-height: 1.6; max-width: 760px; }
.proof-spine, .product-card-grid, .cohort-grid { display: grid; gap: .75rem; }
.proof-spine { grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 1rem 0 2rem; }
.proof-spine span { background: #fff; border: 1px solid var(--line); border-radius: .65rem; font-weight: 700; padding: 1rem .75rem; text-align: center; }
.product-section { margin-top: 2.25rem; }
.product-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-campaign, .explore-other { background: var(--product-navy); border-radius: 1.25rem; color: #fff; display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); margin-top: 2.25rem; padding: 2rem; }
.featured-campaign h2, .explore-other h2 { font-size: 2rem; margin: .65rem 0; }
.featured-campaign p, .explore-other p { color: #d0e1e8; line-height: 1.5; }
.featured-campaign dl { display: grid; gap: .65rem; margin: 0; }
.featured-campaign dl div { background: rgba(255,255,255,.09); border-radius: .65rem; padding: .8rem; }
.featured-campaign dt { color: #b9d0da; font-size: .8rem; }
.featured-campaign dd { font-weight: 700; margin: .25rem 0 0; }
.campaign-intro { max-width: 820px; padding-bottom: 1.25rem; }
.campaign-intro h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: .7rem 0; }
.campaign-intro p { font-size: 1.1rem; line-height: 1.5; }
.campaign-layout { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr); }
.campaign-main { display: grid; gap: 1rem; }
.campaign-rail { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.campaign-hero { background: linear-gradient(135deg, #e8f8f1, #fff); border-color: #a9d9c4; }
.campaign-hero h2 { font-size: clamp(2rem, 5vw, 3.3rem); margin: .5rem 0; }
.cohort-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cohort-card { background: #fff; border: 2px solid var(--line); border-radius: .85rem; padding: 1rem; }
.cohort-card strong { display: block; font-size: 1.55rem; margin: .8rem 0 .25rem; }
.cohort-card p { color: var(--muted); margin: 0 0 .75rem; }
.state-badge { background: #edf1f3; border-radius: 999px; color: #344650; display: inline-block; font-size: .73rem; font-weight: 800; letter-spacing: .04em; padding: .38rem .6rem; }
.state-open { background: #eaf8f1; border-color: #75c9a5; }.state-open .state-badge { background: #cceedd; color: #056343; }
.state-opening_soon { background: #ebf2ff; border-color: #9cbbef; }.state-opening_soon .state-badge { background: #d7e6ff; color: #1f59aa; }
.state-filled, .state-closed { background: #fff0df; border-color: #e6ad72; }.state-filled .state-badge, .state-closed .state-badge { background: #ffe2bc; color: #93500c; }
.join-form { display: grid; gap: .85rem; }.join-form label { display: grid; font-weight: 700; gap: .4rem; }.join-form input { border: 1px solid var(--line); border-radius: .45rem; font: inherit; min-height: 42px; padding: .55rem; }
.stage-progress { display: grid; gap: .65rem; margin: .75rem 0 0; padding-left: 1.2rem; }.stage-progress li::marker { color: var(--product-green); }
.signed-community button:disabled { cursor: not-allowed; opacity: .7; }
.market-unavailable { background: #f8fafb; border-left: 4px solid var(--amber); padding: 1rem; }.market-unavailable p { margin-bottom: .35rem; }
.market-live { display: grid; gap: .8rem; }.market-observations { max-height: 180px; overflow: auto; padding-left: 1.2rem; }.market-metrics { display: grid; gap: .65rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }.market-metrics div { border: 1px solid var(--line); border-radius: .5rem; padding: .65rem; }.market-metrics dt { color: var(--muted); font-size: .78rem; }.market-metrics dd { font-weight: 750; margin: .25rem 0 0; overflow-wrap: anywhere; }
.docs-index { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }.docs-index a { background: #fff; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); padding: .45rem .65rem; text-decoration: none; }.docs-content { display: grid; gap: 1rem; }.docs-content article, .process-template { background: #fff; border: 1px solid var(--line); border-radius: .75rem; padding: 1.25rem; }.docs-content h2 { margin-bottom: .45rem; }.docs-content p { color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .proof-spine { grid-template-columns: repeat(3, minmax(0, 1fr)); }.campaign-layout { grid-template-columns: 1fr; }.campaign-rail { position: static; }.product-card-grid, .cohort-grid { grid-template-columns: 1fr; }.featured-campaign, .explore-other { grid-template-columns: 1fr; }.market-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-nav { align-items: flex-start; flex-direction: column; padding: .85rem 0; }.product-nav nav { display: none; }.product-home, .campaign-page, .docs-page { width: min(100% - 24px, 1240px); }.proof-spine { grid-template-columns: repeat(2, minmax(0, 1fr)); }.campaign-main { padding-bottom: 4.5rem; } }

.badge.blocked {
  color: var(--red);
  background: #fff1f0;
}

.trust-dashboard {
  overflow: hidden;
}

.lock-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 16px;
}

.lock {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.lock strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.lock span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.lock code {
  color: var(--green);
  font-weight: 700;
}

.lock.blocked code {
  color: var(--red);
}

.authority-grid {
  grid-template-columns: 1.4fr 2fr 1fr 1.2fr;
  padding: 0 16px 16px;
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.creator-form {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.creator-form label,
.form-grid label {
  min-width: 0;
}

.confirmation-copy {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 42px;
}

.confirmation-copy input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  padding: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(31, 99, 181, 0.18);
  outline-offset: 1px;
}

.composer-dashboard {
  overflow: hidden;
  border-color: #9bcdbc;
  background: linear-gradient(135deg, #ffffff 0%, #f1fbf7 100%);
}

.composer-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.composer-controls {
  display: grid;
  gap: 12px;
  align-content: start;
}

.composer-preview {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 7px;
  min-width: 0;
}

.composer-preview textarea {
  min-height: 214px;
  resize: none;
  border-color: #8ebfad;
  background: #11241f;
  color: #dffcf2;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.55;
}

.composer-standing {
  margin: 0;
}

.action-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.locked-actions {
  padding-top: 0;
}

button {
  min-height: 42px;
  border: 1px solid #174f91;
  border-radius: 6px;
  background: var(--blue);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

button.secondary {
  background: white;
  color: var(--blue);
}

button.good {
  border-color: #0b684c;
  background: var(--green);
}

button[disabled] {
  cursor: not-allowed;
  border-color: var(--line);
  background: #e7ebef;
  color: #71808f;
}

code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.table-wrap {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.role-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px;
}

.role {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.role-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.role-head span {
  color: var(--green);
  font-weight: 700;
}

.role p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.role ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.role li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 6px;
  background: #eef2f5;
  color: var(--muted);
}

.role li.done {
  background: #eaf7f1;
  color: var(--ink);
}

.receipt-row {
  grid-template-columns: 170px minmax(0, 1fr) 180px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.receipt-row:last-child {
  border-bottom: 0;
}

.timeline,
.log-list {
  display: grid;
  gap: 8px;
}

.step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.step-dot {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: white;
}

.step.done .step-dot {
  border-color: var(--green);
  background: var(--green);
}

.log-row {
  display: grid;
  gap: 3px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfd;
}

.log-row strong {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
}

.log-row span {
  font-size: 13px;
  line-height: 1.35;
}

.reconciliation-panel {
  margin: 0 16px 16px;
}

@media (max-width: 1040px) {
  .check-grid,
  .receipt-grid,
  .workspace,
  .status-strip,
  .lock-grid,
  .authority-grid,
  .metric-grid,
  .role-grid,
  .receipt-row {
    grid-template-columns: 1fr 1fr;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .composer-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-actions,
  .badge-row,
  .check-grid,
  .receipt-grid,
  .header-inner,
  .status-strip,
  .lock-grid,
  .authority-grid,
  .metric-grid,
  .role-grid,
  .action-row,
  .receipt-row {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .badge {
    margin-top: 10px;
  }

  .badge {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
}

.header-actions,
.badge-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #d9e2e9;
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.badge.disclosed {
  color: var(--amber);
  background: #fff8e6;
}

.badge.pass {
  color: var(--green);
  background: #eaf7f1;
}

.panel.disclosed {
  border-left: 4px solid var(--amber);
}

.lock.disclosed code,
.check-card.disclosed code {
  color: var(--amber);
}

.check-grid,
.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.check-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.check-card.locked {
  border-left: 4px solid var(--green);
}

.check-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  margin-bottom: 8px;
}

.check-card p,
.check-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.check-card ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.mini-pill {
  display: inline-flex;
  max-width: 100%;
  margin: 2px 4px 2px 0;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f9fa;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.disclosure-panel {
  margin: 0 16px 16px;
}

.trust-page section + section {
  margin-top: 12px;
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.72);
}

.mobile-bottom-nav {
  display: none;
}

.product-empty-state {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin: 40px auto;
}

.product-empty-state .primary-action {
  justify-self: start;
}

.market-live svg[data-testid="market-chart"] {
  display: block; width: 100%; min-height: 11rem; max-height: 17rem; margin: 1rem 0;
  border: 1px solid var(--line); border-radius: .5rem; color: var(--green); background: linear-gradient(180deg, #eaf7f1, transparent);
}
.market-live svg[data-testid="market-chart"] circle { fill: currentColor; }
.community-comment { border-top: 1px solid var(--line); padding: .75rem 0; }
.community-comment small { display: inline-block; margin-right: .5rem; padding: .1rem .4rem; border: 1px solid var(--line); border-radius: 1rem; }
@media (max-width: 1040px) {
  .check-grid,
  .receipt-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .check-grid,
  .receipt-grid {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .badge-row {
    justify-content: flex-start;
  }

  body {
    padding-bottom: 76px;
  }

  .header-actions .nav-link {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 64px;
    padding: 6px max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -8px 24px rgba(16, 25, 34, 0.12);
  }

  .mobile-bottom-nav a {
    display: grid;
    place-items: center;
    padding: 6px 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  .mobile-bottom-nav a.active {
    color: var(--green);
    background: #eaf7f1;
    border-radius: 8px;
  }
}

/* R2.1 Opus closure — prominent curve progress, canonical fees, time-scaled chart axis */
.hero-market-signals { display: grid; gap: .9rem; margin-top: 1rem; }
.curve-progress { background: #fff; border: 2px solid #a9d9c4; border-radius: .85rem; display: grid; gap: .55rem; padding: 1rem 1.1rem; }
.curve-progress strong { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: .01em; line-height: 1.1; }
.curve-progress progress { appearance: none; -webkit-appearance: none; background: #e3ece8; border: 0; border-radius: 999px; height: 1.1rem; overflow: hidden; width: 100%; }
.curve-progress progress::-webkit-progress-bar { background: #e3ece8; border-radius: 999px; }
.curve-progress progress::-webkit-progress-value { background: linear-gradient(90deg, #1f9d6b, #2fbf85); border-radius: 999px; }
.curve-progress progress::-moz-progress-bar { background: linear-gradient(90deg, #1f9d6b, #2fbf85); border-radius: 999px; }
.curve-progress small, .fees-generated small { color: var(--muted); }
.curve-progress.completed { border-color: var(--line); }
.fees-generated { align-items: baseline; background: #fffdf5; border: 2px solid #ecd9a0; border-radius: .85rem; display: flex; flex-wrap: wrap; gap: .35rem .6rem; padding: .9rem 1.1rem; }
.fees-generated strong { font-size: clamp(1.4rem, 3.5vw, 2rem); }
.fees-generated span { font-weight: 800; letter-spacing: .06em; }
.fees-generated small { flex-basis: 100%; }
.market-chart { margin: 0; }
.market-chart-axis { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .78rem; gap: .35rem; justify-content: space-between; margin-top: .35rem; }
.hero-market-signals[hidden] { display: none; }

/* Berm Refined: public presentation only; lifecycle and read models are unchanged. */
.public-product { --line: #e1e7ea; --shadow: none; background: #fff; color: var(--product-navy); }
.public-product .product-header { background: rgba(255, 255, 255, .96); color: var(--product-navy); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.public-product .product-nav { min-height: 76px; }
.public-product .brand-link { color: var(--product-navy); font-weight: 600; letter-spacing: -.045em; }
.public-product .product-nav .nav-link { color: var(--product-navy); border: 0; border-radius: 999px; font-weight: 500; }
.public-product .product-nav .nav-link:hover, .public-product .product-nav .nav-link.active { background: #edf3f6; }
.public-product .product-home, .public-product .campaign-page, .public-product .docs-page { padding-top: 3rem; }
.public-product section { border: 0; box-shadow: none; }
.public-product .product-hero { padding: 3.5rem 0 4rem; max-width: 1060px; }
.public-product .product-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.8rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.02; margin: .8rem 0 1.6rem; }
.public-product .product-hero > p { font-size: 1.16rem; line-height: 1.75; max-width: 740px; }
.public-product h2 { font-weight: 550; letter-spacing: -.03em; line-height: 1.15; }
.public-product h3 { font-weight: 550; letter-spacing: -.02em; }
.public-product p, .public-product li { line-height: 1.7; }
.public-product .eyebrow { font-weight: 500; font-size: .72rem; letter-spacing: .13em; }
.public-product .button-link, .public-product button { background: var(--product-navy); color: #fff; border: 1px solid var(--product-navy); border-radius: 999px; min-height: 50px; padding: .75rem 1.5rem; font-weight: 500; line-height: 1.3; justify-content: center; text-align: center; }
.public-product .button-link.secondary-action, .public-product button.secondary { background: #fff; color: var(--product-navy); border-color: #cbd7dd; }
.public-product .action-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.public-product .button-link:focus-visible, .public-product button:focus-visible { outline: 3px solid #829baa; outline-offset: 4px; }
.public-product .proof-spine { gap: .5rem; margin: 0 0 4rem; }
.public-product .proof-spine span { border: 0; border-radius: 999px; background: #f4f7f8; font-weight: 500; font-size: .83rem; padding: .8rem .65rem; }
.public-product .product-section { margin-top: 4rem; }
.public-product .section-head { padding: 0 0 1.5rem; border: 0; }
.public-product .panel, .public-product .role.panel, .public-product .cohort-card { border: 1px solid var(--line); border-radius: 24px; box-shadow: none; padding: 1.75rem; }
.public-product .role.panel { border: 0; background: #f6f8f9; padding: 2rem; }
.public-product .product-section.panel { border: 0; background: #f6f8f9; padding: 2.5rem; }
.public-product .product-section.panel > p { max-width: 900px; }
.public-product .featured-campaign { padding: 2.5rem; border-radius: 28px; }
.public-product .featured-campaign .button-link { border-color: #8ba4b2; }
.public-product .explore-other { background: #f6f8f9; color: var(--product-navy); border-radius: 24px; padding: 2rem; }
.public-product .explore-other p { color: var(--muted); }
.campaign-intro-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 3rem; padding: 2rem 0 4rem; }
.public-product .campaign-intro { padding: 0; }
.public-product .campaign-intro h1 { font-size: clamp(2.8rem, 5.2vw, 4.8rem); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; margin: 1rem 0 1.4rem; }
.public-product .campaign-intro p { line-height: 1.7; }
.campaign-media-hero { min-width: 0; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 1200 / 630; background: #eef3f5; }
.campaign-media-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.public-product .campaign-main, .public-product .campaign-rail { gap: 1.5rem; }
.public-product .campaign-hero { background: #f4f8f6; border-color: var(--line); }
.public-product .cohort-section { padding: 1.5rem 0; }
.public-product .cohort-card { background: #fff; padding: 1.25rem; }
.public-product .cohort-card.state-open, .public-product .cohort-card.state-opening_soon, .public-product .cohort-card.state-filled, .public-product .cohort-card.state-closed { background: #fff; border-color: var(--line); }
.public-product .cohort-card > span { display: inline-block; border-radius: 999px; padding: .35rem .65rem; font-size: .72rem; letter-spacing: .035em; }
.public-product .cohort-card.state-open > span { background: #eaf8f1; color: #056343; }
.public-product .cohort-card.state-opening_soon > span { background: #ebf2ff; color: #1f59aa; }
.public-product .cohort-card.state-filled > span, .public-product .cohort-card.state-closed > span { background: #fff0df; color: #93500c; }
.public-product .campaign-hero h2 { font-weight: 500; letter-spacing: -.04em; }
.public-product .join-form { gap: 1.2rem; }
.public-product .join-form label { font-weight: 500; }
.public-product .join-form input, .public-product .join-form textarea { border-radius: 12px; min-height: 48px; }
.public-product .join-form input[type="checkbox"] { min-height: 0; }
.public-product footer.product-home { color: var(--muted); border-top: 1px solid var(--line); margin-top: 4rem; padding-top: 2rem; padding-bottom: 3rem; font-size: .88rem; }
.public-product footer a { color: var(--product-navy); }
.public-product .mobile-bottom-nav { box-shadow: none; }
.public-product .mobile-bottom-nav a { font-weight: 500; }
.public-product .mobile-bottom-nav a.active { color: var(--product-navy); background: #edf3f6; }
@media (max-width: 900px) {
  .campaign-intro-layout { grid-template-columns: 1fr; gap: 1.5rem; padding: 1rem 0 3rem; }
  .campaign-media-hero { width: 100%; }
}
@media (max-width: 640px) {
  .public-product .product-nav { min-height: 64px; justify-content: center; }
  .public-product .product-home, .public-product .campaign-page, .public-product .docs-page { width: calc(100% - 32px); padding-top: 1.5rem; }
  .public-product .product-hero { padding: 2rem 0 2.5rem; }
  .public-product .product-hero h1 { font-size: clamp(2.7rem, 10.5vw, 4rem); }
  .public-product .product-section { margin-top: 2.5rem; }
  .public-product .product-section.panel, .public-product .role.panel, .public-product .featured-campaign { padding: 1.5rem; }
  .public-product .panel { padding: 1.25rem; }
  .public-product .action-row > .button-link { max-width: 100%; }
  .campaign-media-hero { border-radius: 22px; }
}
