@font-face { font-family: 'Instrument Sans'; src: url('fonts/InstrumentSans-Variable.woff2') format('woff2'); font-weight: 400 700; }
@font-face { font-family: 'Newsreader'; src: url('fonts/Newsreader-Variable.woff2') format('woff2'); font-weight: 400 700; }
:root { --paper: #F6F3EC; --raised: #fff; --sunken: #ECE7DC; --line: #D9D1C3; --ink: #17202A; --muted: #545C66; --vesper: #1D3B57; --vesper-tint: #E3E9EF; --bell: #A46F1E; --bell-ink: #7D5312; --bell-tint: #F3E6CD; --ok: #2D6A4F; --ok-tint: #E2EFE7; --warn: #8F5600; --warn-tint: #F6E8CF; --bad: #A3372C; --bad-tint: #F5E1DE; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 'Instrument Sans', system-ui, sans-serif; }
h1, h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 500; margin: 0 0 8px; letter-spacing: -.01em; }
h1 { font-size: 32px; } h2 { font-size: 22px; } h3 { font-size: 16px; margin: 18px 0 6px; }
a { color: var(--vesper); } .muted { color: var(--muted); } .small { font-size: 13px; } .mono { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; background: var(--raised); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; letter-spacing: .18em; font-size: 14px; color: var(--vesper); } .brand em { font-style: normal; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.top nav { display: flex; gap: 22px; } .top nav a { text-decoration: none; color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; } .top nav a.on { color: var(--ink); border-color: var(--bell); }
main { max-width: 1180px; margin: 0 auto; padding: 28px; }
.banner { background: var(--bell-tint); color: var(--bell-ink); border: 1px solid #e6d3ad; border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; font-size: 14px; }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 18px; }
.grid { display: grid; gap: 16px; } .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } main { padding: 16px; } }
label { display: block; font-weight: 600; margin: 16px 0 6px; font-size: 14px; }
input, select, textarea { width: 100%; padding: 9px 11px; border: 1px solid #8C8476; border-radius: 10px; font: inherit; background: var(--raised); color: var(--ink); }
.opts { display: grid; gap: 6px; } .opt { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; } .opt input { width: auto; margin-top: 3px; }
button, .btn { font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--vesper); background: var(--vesper); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button.ghost, .btn.ghost { background: transparent; color: var(--vesper); } button.danger { background: transparent; color: var(--bad); border-color: var(--bad); } button:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--bell); outline-offset: 2px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; background: var(--sunken); color: var(--muted); }
.tag.ok { background: var(--ok-tint); color: var(--ok); } .tag.warn { background: var(--warn-tint); color: var(--warn); } .tag.bad { background: var(--bad-tint); color: var(--bad); } .tag.bell { background: var(--bell-tint); color: var(--bell-ink); } .tag.vesper { background: var(--vesper-tint); color: var(--vesper); }
.err { color: var(--bad); font-weight: 600; margin-top: 10px; } .okmsg { color: var(--ok); font-weight: 600; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; } th { text-align: left; background: var(--sunken); font-size: 13px; padding: 8px 10px; } td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; } td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.metric { font: 500 36px 'Newsreader', Georgia, serif; line-height: 1.1; } .kicker { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bell-ink); }
details.scenario { border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; margin-bottom: 10px; background: var(--raised); } details.scenario summary { cursor: pointer; padding: 12px 0; font-weight: 600; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
dl.chain { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; margin: 4px 0 14px; } dl.chain dt { color: var(--bell-ink); font-weight: 600; font-size: 13px; } dl.chain dd { margin: 0; }
.board { display: grid; grid-template-columns: repeat(8, minmax(130px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; } .col { background: var(--sunken); border-radius: 12px; padding: 8px; min-height: 120px; } .col h4 { margin: 4px 6px 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.deal { background: var(--raised); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; cursor: pointer; font-size: 13px; width: 100%; text-align: left; color: var(--ink); font-weight: 400; } .deal.sel { border-color: var(--bell); box-shadow: 0 0 0 2px var(--bell-tint); } .deal b { display: block; font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; } .tabs { display: flex; gap: 8px; margin-bottom: 14px; } .tabs button { background: transparent; color: var(--muted); border-color: var(--line); } .tabs button.on { background: var(--vesper); color: #fff; border-color: var(--vesper); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row > input, .row > select { width: auto; flex: 1 1 160px; }
.timeline { max-height: 260px; overflow: auto; font-size: 13px; } .timeline div { padding: 4px 0; border-top: 1px solid var(--line); }

/* Conversational intake */
.convo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .convo { grid-template-columns: 1fr; } .mapcard { order: 2; position: static !important; } .mapcard details > svg { max-height: 260px; } }
/* Phones and tablets: 16px fields (no iOS zoom), a Continue bar that stays reachable, a quieter reveal */
.jump { display: none; }
@media (max-width: 900px) {
  input, select, textarea { font-size: 16px; }
  .card { padding: 16px; border-radius: 14px; }
  .convo h1 { font-size: 24px; }
  .nav2 { position: sticky; bottom: 0; z-index: 5; margin: 22px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); flex-wrap: nowrap; }
  .nav2 .right { flex: 1; justify-content: flex-end; } .nav2 button { min-height: 48px; }
  .nav2 .right button:not(.ghost) { flex: 1; }
  .jump { display: flex; gap: 8px; position: sticky; top: 0; z-index: 6; margin: 0 -16px 14px; padding: 10px 16px; overflow-x: auto; background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
  .jump a:active { background: var(--vesper-tint); }
  main section, form.card { scroll-margin-top: 64px; } [id^="rv-"] { scroll-margin-top: 64px; }
  .opt { padding: 12px; } .opt input { margin-top: 2px; }
  table { display: block; overflow-x: auto; }
}
.progress { height: 6px; background: var(--sunken); border-radius: 999px; overflow: hidden; margin: 6px 0 4px; } .progress > i { display: block; height: 100%; background: var(--bell); transition: width .25s ease-out; }
.convo h1 { font-size: 28px; line-height: 1.2; } .lead { color: var(--muted); margin: 0 0 18px; }
.ack { background: var(--bell-tint); color: var(--bell-ink); border-radius: 12px; padding: 10px 14px; margin: 0 0 16px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; } .chips.stack { flex-direction: column; }
.chip { position: relative; display: inline-flex; margin: 0; font-weight: 500; } .chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span { display: block; padding: 10px 14px; border: 1px solid #8C8476; border-radius: 12px; background: var(--raised); min-height: 44px; line-height: 1.3; }
.chips.stack .chip, .chips.stack .chip span { width: 100%; }
.chip input:checked + span { background: var(--vesper); color: #fff; border-color: var(--vesper); }
.chip input:focus-visible + span { outline: 2px solid var(--bell); outline-offset: 2px; }
.nav2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; } .nav2 .right { display: flex; gap: 10px; }
.mapcard { position: sticky; top: 16px; padding: 14px 16px; } .mapcard summary { font-weight: 600; cursor: pointer; } .mapcard svg { width: 100%; height: auto; display: block; }
.legend { font-size: 12px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.quote { padding: 8px 14px; margin: 10px 0; background: var(--bell-tint); border-radius: 12px; font-family: 'Newsreader', Georgia, serif; font-size: 17px; }
.quote small { display: block; font: 12px 'Instrument Sans', sans-serif; color: var(--muted); }
.addrow { display: flex; gap: 8px; margin-top: 8px; } .addrow input { flex: 1; } .step-q { margin: 20px 0 4px; font-weight: 600; }
input[type=range] { padding: 0; accent-color: var(--bell); } .whatif { border: 1px dashed var(--bell); border-radius: 14px; padding: 14px 16px; margin: 14px 0; background: #fffdf8; } .whatif .metric { font-size: 30px; }
.tmpl { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; background: var(--raised); } .tmpl b { display: block; }

/* The moment of being heard: the underneath line, the live panel of their words, and gentle motion. */
.mirror { margin: 14px 0 18px; padding: 22px 24px; border-radius: 16px; background: var(--bell-tint); color: var(--ink); font-family: 'Newsreader', Georgia, serif; font-size: 22px; line-height: 1.42; letter-spacing: -.005em; }
blockquote.mirror { border: 0; }
.heard { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.heard .hline { margin: 6px 0; color: var(--ink); } .heard .quote { font-size: 14px; padding: 6px 12px; margin: 8px 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
form.card > * { animation: rise .35s ease both; } form.card > *:nth-child(2) { animation-delay: .04s; } form.card > *:nth-child(3) { animation-delay: .08s; } form.card > *:nth-child(n+4) { animation-delay: .12s; }
.heard > * { animation: rise .3s ease both; }
.chip { transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease; } .chip:hover { transform: translateY(-1px); }
.progress i { transition: width .5s ease; }
@media (prefers-reduced-motion: reduce) { form.card > *, .heard > * { animation: none; } .chip, .progress i { transition: none; } .chip:hover { transform: none; } }

/* "Your Belwethr": the tools-in, next-steps-out picture, in the site's deep navy. */
.yb { margin: 26px 0; padding: 22px 20px 16px; border-radius: 18px; background: #132638; color: #F6F3EC; }
.yb .kicker { color: #D9B26A; } .yb h3 { color: #F6F3EC; }
.yb-grid { position: relative; display: grid; grid-template-columns: 1fr 150px 1fr; gap: 14px; align-items: start; margin: 14px 0 10px; }
.yb-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.yb-wire { fill: none; stroke: rgba(246,243,236,.18); stroke-width: 1.2; transition: stroke .2s, stroke-width .2s; }
.yb-wire.yb-signal { stroke: rgba(217,178,106,.4); }
.yb-wire.is-hot { stroke: #D9B26A; stroke-width: 1.8; stroke-dasharray: 5 7; animation: yb-flow 1.1s linear infinite; }
@keyframes yb-flow { to { stroke-dashoffset: -24; } }
.yb-col { position: relative; z-index: 1; } .yb-list { display: grid; gap: 8px; }
.yb-label { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,243,236,.6); }
.yb-src, .yb-out { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 11px; border-radius: 11px; border: 1px solid rgba(246,243,236,.14); background: rgba(246,243,236,.05); color: #F6F3EC; font-weight: 400; cursor: pointer; transition: background .15s, border-color .15s, opacity .15s; }
.yb-src:hover, .yb-out:hover { background: rgba(246,243,236,.1); }
.yb-text { display: grid; gap: 2px; min-width: 0; } .yb-text b { font-size: 13.5px; font-weight: 600; } .yb-text span { font-size: 12px; color: rgba(246,243,236,.68); line-height: 1.35; }
.yb-logo { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #F6F3EC; color: #132638; font-weight: 700; font-size: 12px; }
.yb-i { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: #D9B26A; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.yb.has-focus .yb-src:not(.is-on), .yb.has-focus .yb-out:not(.is-on) { opacity: .42; }
.yb-src.is-on, .yb-out.is-on { border-color: #D9B26A; background: rgba(217,178,106,.12); }
.yb-core { position: relative; z-index: 1; display: grid; place-items: center; align-self: center; }
.yb-node { text-align: center; padding: 16px 10px; border-radius: 16px; background: #0D1B29; border: 1px solid rgba(217,178,106,.45); box-shadow: 0 0 34px rgba(217,178,106,.1); width: 100%; }
.yb-mark { display: block; margin: 0 auto 4px; font: 500 30px 'Newsreader', Georgia, serif; color: #F6F3EC; } .yb-node b { font: 500 18px 'Newsreader', Georgia, serif; }
.yb-sub { display: block; margin-top: 4px; font-size: 11.5px; color: rgba(246,243,236,.7); }
.yb-doing { display: block; margin-top: 10px; min-height: 2.6em; font-size: 11.5px; line-height: 1.3; color: #D9B26A; transition: opacity .22s; }
.yb-detail { margin: 6px 0 4px; min-height: 3.2em; font-size: 13.5px; line-height: 1.5; color: rgba(246,243,236,.92); } .yb-detail b { color: #D9B26A; }
.yb-note, .yb-more, .yb-empty { margin: 6px 0 0; font-size: 12px; color: rgba(246,243,236,.62); }
@media (max-width: 760px) { .yb-grid { grid-template-columns: 1fr; } .yb-wires { display: none; } .yb-core { order: 2; } }
@media (prefers-reduced-motion: reduce) { .yb-wire.is-hot { animation: none; } .yb-doing { transition: none; } }
.convo.wide { grid-template-columns: minmax(0, 1fr); } .convo.wide .mapcard { display: none; }

@media print { body > * { display: none !important; } body > main { display: block !important; } main section { display: none !important; } main section:has(.pilot-doc) { display: block !important; } main section:has(.pilot-doc) button { display: none !important; } }
.num-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0; } .num-stat { flex: 1 1 150px; background: var(--sunken); border-radius: 12px; padding: 10px 12px; } .num-stat b { display: block; font-size: 22px; } .num-map select { max-width: 160px; }
.yb-out.is-real .yb-text span::before { content: '\25CF\00a0'; color: var(--vesper); }

/* Static preview additions */
.top nav a[aria-disabled="true"] { pointer-events: none; }
.card.ghost { background: var(--raised); text-align: left; }
button.card.ghost:hover { border-color: var(--bell); }

@media (max-width: 700px) {
  .top { flex-wrap: wrap; padding: 10px 16px 0; gap: 4px 12px; }
  .top nav { order: 3; width: 100%; gap: 18px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { flex: none; padding: 10px 0; font-size: 14px; white-space: nowrap; }
  .banner { font-size: 13px; }
}
/* Brand alignment with the website (DESIGN.md): wordmark, 68px bar, 10px controls, 46px buttons */
.top { min-height: 68px; padding: 0 clamp(20px, 4.5vw, 56px); }
.top .brand { display: flex; align-items: center; gap: 14px; letter-spacing: 0; }
.top .brand img { display: block; height: 25px; width: auto; }
.top .brand em { font-size: 13px; font-weight: 600; color: var(--bell-ink); padding-left: 14px; margin: 0; border-left: 1px solid var(--line); line-height: 1; }
.top nav a { font-weight: 500; font-size: 15px; }
button, .btn { min-height: 46px; padding: 0 20px; font-size: 15.5px; border-radius: 10px; transition: background-color .2s, color .2s, transform .2s cubic-bezier(.16, 1, .3, 1); }
button:not(.ghost):not(.danger):not(.card):not(.deal):hover { background: #15304A; border-color: #15304A; }
button:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }

@media (max-width: 700px) { .top { min-height: 0; padding-top: 12px; } .top .brand img { height: 22px; } }
.top { gap: 24px; }
@media (max-width: 900px) { .top .brand em { display: none; } }
@media (max-width: 700px) { .top .brand em { display: block; } }
