/* Pulse Bridge: shared look for every page except the home page (which carries its own copy).
   Signwriting on a work van: white, black type, star gold used only as paint.
   Archivo throughout: condensed and heavy for headings, normal width for reading. */
:root {
  --ink: #0c0c0e;
  --paper: #ffffff;
  --gold: #e3a81c;
  --gold-text: #7a5200;
  --grey: #55555d;
  --rule: #0c0c0e;
  --soft: #f1f0ec;
  --line: #dcdad3;
  --bad: #b42318;
  --good: #2d5a0e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Archivo', -apple-system, 'Segoe UI', sans-serif; font-stretch: 100%; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.page { max-width: 820px; margin: 0 auto; padding: 8px 28px 88px; }
.page.wide { max-width: 940px; }
@media (max-width: 600px) { .wrap, .page { padding-left: 18px; padding-right: 18px; } }

/* Header */
.site-head nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; font-stretch: 90%; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.logo b { font-weight: 800; color: var(--gold-text); }
.logo svg { width: 40px; height: 40px; flex: none; display: block; }
.navlinks { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.navlinks a:not(.cta):not(.btn2) { text-decoration: none; color: var(--grey); }
.navlinks a:not(.cta):not(.btn2):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.navlinks .btn2, .navlinks .cta { min-height: 42px; padding: 8px 18px; font-size: 15px; margin: 0; }
@media (max-width: 860px) { .navlinks a.hide-sm { display: none; } .navlinks { gap: 10px; } }
@media (max-width: 440px) { .logo { font-size: 21px; } .logo svg { width: 34px; height: 34px; } .navlinks .btn2 { display: none; } }

/* Type */
h1, h2, .display { font-stretch: 68%; font-weight: 850; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: .95; margin: 40px 0 18px; }
h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.02; margin: 48px 0 14px; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
p, li { color: #2c2c31; }
p { margin-bottom: 14px; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; padding-left: 2px; }
a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
strong, b { color: var(--ink); }
code { font-size: .92em; background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--ink); max-width: 38rem; margin-bottom: 18px; }
.updated, .muted, .small { color: var(--grey); font-size: 15px; }
.updated { margin-bottom: 32px; }

/* Buttons */
.cta, .cta2, .btn, .btn2 { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border-radius: 6px; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; white-space: nowrap; margin: 6px 10px 6px 0; }
.cta, .btn { background: var(--ink); color: var(--paper); }
.cta:hover, .btn:hover { background: #2a2a2f; border-color: #2a2a2f; }
.cta2, .btn2 { background: var(--paper); color: var(--ink); }
.cta2:hover, .btn2:hover { background: var(--soft); }
.cta:disabled, .btn:disabled { opacity: .55; cursor: default; }

/* Callouts and blocks: rules and paint, not floating cards */
.note, .example { border-left: 5px solid var(--gold); padding: 6px 0 6px 18px; margin: 22px 0; }
.note p, .example p { margin: 0; color: var(--ink); }
.box { border-top: 4px solid var(--rule); padding: 16px 0 4px; }
.box.us { border-top-color: var(--gold); border-top-width: 10px; }
.box h3 { font-size: 20px; font-stretch: 75%; font-weight: 800; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 8px; }
.card { border-top: 4px solid var(--rule); padding: 20px 0 8px; margin: 22px 0; }
.card.key { border-top-color: var(--gold); border-top-width: 10px; }
.card h2 { margin-top: 0; }
.disc { border: 2px solid var(--ink); border-radius: 8px; padding: 14px 18px; margin: 20px 0; font-size: 15px; }
.disc p, .disc li { font-size: 15px; }
.steps li { margin-bottom: 12px; }

/* Numbers in a row (partner page, dashboard) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin: 26px 0 10px; }
.tile { border-top: 4px solid var(--rule); padding: 14px 0 6px; }
.tile b, .tile .big { display: block; font-size: 40px; font-stretch: 68%; font-weight: 850; line-height: 1; margin-bottom: 6px; color: var(--ink); }
.tile span { color: var(--grey); font-size: 15px; line-height: 1.45; display: block; }
.money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.money div { border-top: 2px solid var(--ink); padding: 10px 0; }
.money b { display: block; font-size: 30px; font-stretch: 68%; font-weight: 850; }
.money span { color: var(--grey); font-size: 14px; }

/* Links to other pages (compare hub) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 14px; }
.cards a { display: block; border-top: 4px solid var(--rule); padding: 16px 0; text-decoration: none; font-size: 22px; font-stretch: 75%; font-weight: 800; }
.cards a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.cards a span { display: block; font-weight: 400; font-stretch: 100%; color: var(--grey); font-size: 15px; margin-top: 6px; line-height: 1.5; }

/* Tables */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 10px; border-top: 4px solid var(--rule); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tw table { min-width: 560px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; color: #2c2c31; }
th { color: var(--ink); font-weight: 800; font-size: 15px; border-bottom: 2px solid var(--ink); }
td.pb, th.pb { background: #fbf3dc; }
.x { color: #8d8b84; }
table.map { width: auto; margin: 6px 0 16px; }
table.map th, table.map td { border: 1px solid var(--line); }
table.map th { background: var(--soft); border-bottom: 1px solid var(--line); }

/* Forms */
label { display: block; font-weight: 700; font-size: 15px; margin: 16px 0 6px; }
label .opt { font-weight: 400; color: var(--grey); }
input, textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 12px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); }
textarea { min-height: 100px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.inline, .copy { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.inline input, .copy input { flex: 1; min-width: 210px; width: auto; }
.inline .cta, .inline .btn2, .copy .btn, .copy .btn2 { margin: 0; }
.msg { margin-top: 12px; font-size: 15px; font-weight: 600; }
.msg.bad { color: var(--bad); }
.msg.good { color: var(--good); }
.hidden { display: none; }

@media (max-width: 680px) {
  .two, .cards, .tiles, .money, .row2 { grid-template-columns: 1fr; }
  .tiles .tile, .money div { margin-bottom: 8px; }
}

/* Footer */
.site-foot { background: var(--ink); color: #c4c2bb; font-size: 15px; }
.site-foot .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.site-foot a { color: #f4f3ef; text-decoration: none; font-weight: 400; }
.site-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
