/* Lead Insights: the public website (1.11). RR navy and blue; Montserrat for headings and interface words,
   Source Serif 4 for reading. One idea carries the design: a lead traced from the ad to "good lead". */
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/sourceserif4-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/sourceserif4-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/sourceserif4-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #00112d;        /* RR navy: text, dark bands */
  --signal: #005cf6;     /* RR blue: links, buttons, the trace */
  --paper: #f4f6f9;
  --white: #fff;
  --rule: #d9dfe8;
  --text: #1b2639;
  --muted: #586379;
  --good: #0b7a55;
  --good-soft: #e2f3eb;
  --bad: #b23f29;
  --bad-soft: #fbe9e4;
  --hi: #e4ecff;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --read: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --lift: 0 1px 0 rgba(0, 17, 45, .04), 0 28px 50px -30px rgba(0, 17, 45, .35);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body.site { margin: 0; background: var(--paper); color: var(--text); font: 18px/1.65 var(--read); overflow-x: clip; }
a { color: var(--signal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 3px; }
img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; font: 600 14px var(--ui); }
.skip:focus { top: 12px; }
.previewbar { background: #fff3cd; color: #6d4c00; text-align: center; padding: 8px 16px; font: 500 14px var(--ui); }

/* ---------- header ---------- */
.sitehead { background: rgba(244, 246, 249, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.sitehead__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.sitebrand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.015em; }
.sitebrand svg { flex: none; }
.sitebrand img { display: block; max-height: 34px; width: auto; }
.navtoggle { position: absolute; opacity: 0; pointer-events: none; }
.navbtn { display: none; }
.sitenav nav { display: flex; align-items: center; gap: 2px; }
.sitenav nav a { color: var(--text); text-decoration: none; padding: 9px 12px; font: 500 15px/1 var(--ui); border-radius: 6px; }
.sitenav nav a:hover { color: var(--ink); background: #e9edf3; }
.sitenav nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.sitenav nav a.sitenav__login { margin-left: 10px; }
.sitenav nav a.button { margin-left: 6px; padding: 11px 16px; }
.sitenav nav a.button:hover { background: #004ad0; color: #fff; }
.navtoggle:focus-visible + .navbtn { outline: 3px solid var(--signal); outline-offset: 2px; }
@media (max-width: 880px) {
  .navbtn { display: grid; gap: 5px; cursor: pointer; padding: 12px 6px; }
  .navbtn span { display: block; width: 22px; height: 2px; background: var(--ink); }
  .sitenav nav { display: none; }
  .navtoggle:checked ~ nav { display: flex; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px 24px 20px; }
  .sitenav nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .sitenav nav a[aria-current="page"] { box-shadow: none; color: var(--signal); }
  .sitenav nav a.sitenav__login { margin: 0; }
  .sitenav nav a.button { margin: 14px 0 0; text-align: center; border: 0; }
}

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); letter-spacing: -.02em; text-wrap: balance; }
.page-content h2, .prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 700; margin: 1.9em 0 .55em; }
.page-content h3, .prose h3 { font-size: 21px; line-height: 1.25; font-weight: 700; margin: 1.6em 0 .4em; letter-spacing: -.01em; }
.page-content h4, .prose h4 { font-size: 17px; font-weight: 600; margin: 1.4em 0 .3em; }
p, li { text-wrap: pretty; }
.page-content > :first-child, .prose > :first-child { margin-top: 0; }
p.lead, div.lead p, .lead { font-size: 22px; line-height: 1.5; color: var(--ink); max-width: 38em; }
p.fine { font: 500 14px/1.55 var(--ui); color: var(--muted); }
strong, b { font-weight: 600; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 56px 0; }
blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--signal); font-size: 21px; line-height: 1.5; color: var(--ink); }
code { font: 15px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: #e8edf4; padding: 2px 5px; border-radius: 4px; }
pre { background: var(--ink); color: #e4ecff; padding: 18px 20px; border-radius: 10px; overflow-x: auto; }
pre code { background: none; color: inherit; padding: 0; }
figure { margin: 0; }
figcaption { font: 500 13px/1.5 var(--ui); color: var(--muted); margin-top: 12px; }
mark { background: var(--hi); color: var(--ink); padding: 0 2px; }

/* ---------- buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--signal); color: #fff; border: 1.5px solid var(--signal); border-radius: 8px;
  padding: 13px 22px; font: 600 16px/1 var(--ui); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.button:hover { background: #004ad0; border-color: #004ad0; color: #fff; text-decoration: none; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: #fff; }
.button.light { background: #fff; color: var(--ink); border-color: #fff; }
.button.light:hover { background: var(--hi); border-color: var(--hi); color: var(--ink); }
.actions, p:has(> .button) { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

/* ---------- page heading ---------- */
.sitemain { min-height: 60vh; }
.pagehead { padding-top: 72px; padding-bottom: 8px; }
.pagehead h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.06; font-weight: 700; margin: 0 0 18px; letter-spacing: -.03em; max-width: 18ch; }
.pagehead--help h1 { font-size: clamp(30px, 3.6vw, 42px); max-width: 24ch; }
.pagehead__lead { font-size: 22px; line-height: 1.5; color: var(--muted); max-width: 36em; margin: 0; }
.crumbs { font: 500 14px var(--ui); color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }
.page-content { padding-top: 32px; padding-bottom: 96px; }
.page-content--narrow { max-width: 780px; }
.site--home .page-content { padding-top: 0; }
.page-content > p, .page-content > ul, .page-content > ol { max-width: 40em; }
.page-content ul, .prose ul { padding-left: 1.2em; }
.page-content li, .prose li { margin: .35em 0; }

/* ---------- full-width bands ---------- */
.band { margin: 96px calc(50% - 50vw); padding: 88px calc(50vw - 50%); }
.band + .band { margin-top: -96px; }
.band.tint { background: #e9eef5; }
.band.dark { background: var(--ink); color: #c9d3e6; }
.band.dark h2, .band.dark h3, .band.dark strong, .band.dark b { color: #fff; }
.band.dark a:not(.button) { color: #9cc0ff; }
.band.dark .lead, .band.dark p.lead { color: #fff; }
.band > :first-child { margin-top: 0; }
.band > :last-child { margin-bottom: 0; }
.page-content > .band:last-child { margin-bottom: -96px; }
.intro { max-width: 40em; margin-bottom: 40px; }
.intro h2 { margin-top: 0; }
.intro p { color: var(--muted); font-size: 20px; }
.band.dark .intro p { color: #c9d3e6; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 72px; align-items: center; padding: 84px 0 36px; }
.hero h1, .hero h2 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; margin: 0 0 26px; max-width: 13ch; }
.hero__text p { font-size: 21px; line-height: 1.55; max-width: 31em; }
.hero__text p.fine { font-size: 14px; }
@media (max-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 52px; } }

/* the trace: one lead, ad click to good lead */
.trace { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; box-shadow: var(--lift); padding: 22px 24px 18px; font-family: var(--ui); }
.trace__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.trace__who { font: 700 18px var(--display); color: var(--ink); }
.trace__where { font: 500 13px var(--ui); color: var(--muted); }
.trace__path { list-style: none; margin: 18px 0 0; padding: 0 0 0 26px; position: relative; }
.trace__path::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 26px; width: 2px; background: var(--signal); }
.trace__path li { position: relative; margin: 0 0 15px; }
.trace__path li::before { content: ""; position: absolute; left: -26px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--signal); }
.trace__path li.is-good::before { background: var(--good); border-color: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }
.trace__what { margin: 0; font: 600 15px/1.35 var(--ui); color: var(--ink); }
.trace__what span { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 6px; white-space: nowrap; }
.trace__more { margin: 3px 0 0; font: 400 14px/1.5 var(--ui); color: var(--muted); }
.trace__more b { color: var(--text); font-weight: 600; }
.trace__mark { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.trace figcaption { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--text); }
.trace figcaption b { color: var(--good); }
.pill { display: inline-block; font: 600 12px/1 var(--ui); color: var(--muted); border: 1px solid var(--rule); border-radius: 5px; padding: 6px 9px; background: #fff; }
.pill--good { background: var(--good); border-color: var(--good); color: #fff; }

/* the gap: reported conversions against good leads */
.gap { margin: 8px 0 0; }
.gap__table { width: 100%; border-collapse: collapse; font-family: var(--ui); }
.gap__table caption { text-align: left; font: 500 14px var(--ui); color: var(--muted); padding-bottom: 14px; caption-side: top; }
.gap__table thead th { font: 600 13px var(--ui); color: var(--muted); text-align: left; padding: 0 0 10px; border-bottom: 1px solid var(--rule); }
.gap__table th[scope="row"] { text-align: left; font: 500 17px/1.3 var(--ui); color: var(--ink); padding: 18px 24px 22px 0; position: relative; width: 60%; }
.gap__table td { padding: 18px 0 22px 16px; border-bottom: 1px solid var(--rule); font: 700 30px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.gap__table tbody th { border-bottom: 1px solid var(--rule); }
.gap__bar { position: absolute; left: 0; bottom: 10px; height: 6px; background: var(--ink); border-radius: 0 3px 3px 0; opacity: .85; }
.gap__row--good th { color: var(--good); }
.gap__row--good td { color: var(--good); }
.gap__row--good .gap__bar { background: var(--good); opacity: 1; }
.num { text-align: right; }
.band.dark .gap__table th[scope="row"], .band.dark .gap__table td { color: #fff; border-color: #22324f; }
.band.dark .gap__table thead th { color: #93a2bf; border-color: #22324f; }
.band.dark .gap__bar { background: #5d8dff; }
.band.dark .gap__row--good th, .band.dark .gap__row--good td { color: #6fe0b4; }
.band.dark .gap__row--good .gap__bar { background: #3cc995; }
@media (max-width: 640px) { .gap__table th[scope="row"] { font-size: 15px; width: auto; } .gap__table td { font-size: 22px; } }

/* ---------- split: words beside a picture ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; margin: 88px 0; }
.split.flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split.flip .split__text { order: 2; }
.split__text h2 { margin-top: 0; }
.split__text p { max-width: 30em; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: minmax(0, 1fr); gap: 32px; margin: 64px 0; } .split.flip .split__text { order: 0; } }

/* product pictures */
.shot { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--lift); overflow: hidden; font-family: var(--ui); }
.shot > figcaption { margin: 0; padding: 10px 18px 12px; border-top: 1px solid var(--rule); background: #fafbfd; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 11px 18px; border-bottom: 1px solid var(--rule); background: #0b1120; }
.shot__bar span { display: none; }
.shot__bar em { font: 600 13px var(--ui); font-style: normal; color: #fff; }
.shot__bar em::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 4px; background: var(--signal); vertical-align: -2px; margin-right: 9px; }
.shot__body { padding: 18px; }
.mini-hero { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--ink); color: #c9d3e6; border-radius: 10px; overflow: hidden; }
.mini-hero > div { padding: 18px 20px; }
.mini-hero__label { margin: 0; font: 500 12px var(--ui); color: #a9b6cf; }
.mini-hero__big { margin: 4px 0 6px; font: 700 40px/1 var(--display); color: #fff; letter-spacing: -.03em; }
.mini-hero__note { margin: 0; font: 400 13px/1.45 var(--ui); }
.mini-hero__side { margin: 0; display: grid; border-left: 1px solid #1d2c4a; }
.mini-hero__side div { padding: 10px 18px; border-bottom: 1px solid #1d2c4a; display: flex; justify-content: space-between; align-items: baseline; }
.mini-hero__side div:last-child { border-bottom: 0; }
.mini-hero__side dt { font: 500 12px var(--ui); color: #a9b6cf; }
.mini-hero__side dd { margin: 0; font: 700 20px var(--display); color: #fff; }
.shot .mini-finds { list-style: none; margin: 14px 0 0; padding: 0; max-width: none; }
.shot .mini-finds li { display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid var(--rule); font: 400 14px/1.5 var(--ui); color: var(--text); }
.tag { display: inline-block; font: 600 12px/1 var(--ui); padding: 6px 8px; border-radius: 5px; text-align: center; }
.tag--bad { background: var(--bad-soft); color: var(--bad); }
.tag--good { background: var(--good-soft); color: var(--good); }
@media (max-width: 560px) {
  .mini-hero { grid-template-columns: 1fr; }
  .mini-hero__side { border-left: 0; border-top: 1px solid #1d2c4a; }
  .shot .mini-finds li { grid-template-columns: 1fr; gap: 6px; }
  .tag { justify-self: start; }
  .mini-table th:nth-child(3), .mini-table td:nth-child(3) { display: none; }
  .lead-card__facts div { grid-template-columns: 92px 1fr; }
  .trace { padding: 18px 16px 14px; }
}
.shot__body--lead { padding: 22px 22px 18px; }
.lead-card__name { margin: 0; font: 700 20px var(--display); color: var(--ink); }
.lead-card__msg { margin: 8px 0 14px; font: italic 400 16px/1.5 var(--read); color: var(--text); }
.lead-card__facts { margin: 0; display: grid; }
.lead-card__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.lead-card__facts dt { color: var(--muted); font-weight: 500; }
.lead-card__facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.lead-card__mark { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.lead-card__sent { margin: 12px 0 0; font: 500 13px var(--ui); color: var(--good); }
.mini-table { width: 100%; border-collapse: collapse; font: 500 14px var(--ui); }
.mini-table th, .mini-table td { padding: 11px 8px; border-bottom: 1px solid var(--rule); text-align: left; color: var(--ink); font-variant-numeric: tabular-nums; }
.mini-table thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
.mini-table .num { text-align: right; }
.mini-table td:last-child { font-weight: 700; white-space: nowrap; }
.mini-bar { display: inline-block; vertical-align: middle; height: 8px; width: calc(var(--w) * 64px); background: #9fb3d6; border-radius: 2px; margin-right: 8px; }
.mini-bar--good { background: var(--good); }
.mini-bar--bad { background: var(--bad); }
.mini-note { margin: 12px 0 0; font: 400 14px/1.5 var(--ui); color: var(--text); }
.paper { background: #fff; border: 1px solid var(--rule); border-radius: 4px; box-shadow: var(--lift); padding: 32px 32px 26px; max-width: 420px; margin: 0 auto; font-family: var(--ui); }
.paper__brand { margin: 0 0 22px; font: 600 12px var(--ui); color: var(--signal); }
.paper__title { margin: 0 0 22px; font: 700 22px/1.2 var(--display); color: var(--ink); }
.paper__title span { font-weight: 500; font-size: 15px; color: var(--muted); }
.paper__big { margin: 0 0 14px; font: 700 34px/1 var(--display); color: var(--good); letter-spacing: -.02em; }
.paper__big span { display: block; font: 500 13px/1.4 var(--ui); color: var(--muted); margin-top: 6px; letter-spacing: 0; }
.paper__bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin: 0 0 18px; border-bottom: 1px solid var(--rule); }
.paper__bars span { flex: 1; background: #c6d3ea; border-radius: 2px 2px 0 0; }
.paper__bars span.is-now { background: var(--good); }
.paper .paper__list { margin: 0; padding-left: 18px; max-width: none; font: 400 14px/1.5 var(--ui); color: var(--text); }
.paper__list li { margin: 6px 0; }
.band.dark .paper figcaption { color: var(--muted); }

/* ---------- lists and sequences ---------- */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: none; }
ol.steps > li { counter-increment: s; margin: 0; padding-top: 18px; border-top: 2px solid var(--ink); }
ol.steps > li::before { content: counter(s); display: block; font: 700 44px/1 var(--display); color: var(--signal); margin-bottom: 14px; letter-spacing: -.03em; }
ol.steps > li strong:first-child { display: block; font: 700 20px/1.3 var(--display); color: var(--ink); margin-bottom: 6px; }
.band.dark ol.steps > li { border-color: #fff; }
.band.dark ol.steps > li::before { color: #7aa5ff; }
@media (max-width: 820px) { ol.steps { grid-template-columns: 1fr; gap: 28px; } }
ul.ticks { list-style: none; padding: 0; }
ul.ticks li { position: relative; padding-left: 30px; margin: 12px 0; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); }
.band.dark ul.ticks li::before { border-color: #3cc995; }
ul.plain { list-style: none; padding: 0; }

/* columns (older pages and simple three-ups) */
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; margin: 36px 0; }
.column h3 { margin-top: 0; }
.column { border-top: 1px solid var(--rule); padding-top: 20px; }
.band.dark .column { border-color: #22324f; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 22px 24px; }
.card h3 { margin-top: 0; font-size: 18px; }
.card ul { padding-left: 1.1em; margin: 0; font-size: 16px; }
.center { text-align: center; }
.center p, .center h2 { margin-left: auto; margin-right: auto; }

/* a signed note */
.note { max-width: 40em; border-left: 3px solid var(--signal); padding: 6px 0 6px 28px; margin: 64px 0; }
.note p { font-size: 21px; line-height: 1.6; color: var(--ink); }
.note p.sign { font: 600 15px var(--ui); color: var(--muted); }

/* callouts */
.callout { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--signal); border-radius: 6px; padding: 18px 22px; margin: 28px 0; max-width: 42em; font-size: 17px; }
.callout.tip { border-left-color: var(--good); }
.callout.warn { border-left-color: #c98700; background: #fffaf0; }
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }

/* tables in pages (the product pictures style their own) */
.page-content table:not([class]), .prose table:not([class]) { width: 100%; border-collapse: collapse; margin: 28px 0; font: 500 15px/1.45 var(--ui); background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; display: block; overflow-x: auto; }
.page-content table:not([class]) thead, .prose table:not([class]) thead { background: #eef2f7; }
.page-content table:not([class]) :is(th, td), .prose table:not([class]) :is(th, td) { padding: 12px 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; min-width: 120px; }
.page-content table:not([class]) th, .prose table:not([class]) th { color: var(--ink); font-weight: 600; }
.page-content table:not([class]) tr:last-child td, .prose table:not([class]) tr:last-child td { border-bottom: 0; }
@media (min-width: 700px) { .page-content table:not([class]), .prose table:not([class]) { display: table; } }
table.ledger { width: 100%; border-collapse: collapse; margin: 28px 0; font-family: var(--ui); background: none; border: 0; border-radius: 0; font-size: 16px; }
table.ledger thead { background: none; }
table.ledger th, table.ledger td { padding: 14px 16px 14px 0; }
table.ledger thead th { font-size: 13px; color: var(--muted); border-bottom: 2px solid var(--ink); }

/* questions */
details { border-top: 1px solid var(--rule); max-width: 46em; }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; padding: 20px 36px 20px 0; font: 600 18px/1.35 var(--display); color: var(--ink); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); top: 30px; }
details > :not(summary) { margin: 0 0 20px; max-width: 40em; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin: 36px 0 64px; border: 1px solid var(--ink); border-radius: 12px; overflow: hidden; background: #fff; }
.plan { padding: 30px 28px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.plan:last-child { border-right: 0; }
.plan h3 { margin: 0 0 16px; font-size: 20px; }
.plan__price { margin: 0; font: 500 15px var(--ui); color: var(--muted); }
.plan__price span { font: 700 48px/1 var(--display); color: var(--ink); letter-spacing: -.03em; margin-right: 4px; }
.plan__limit { font: 500 15px/1.5 var(--ui); color: var(--text); margin: 14px 0 26px; flex: 1; }
.plan .button { width: 100%; }
@media (max-width: 700px) { .plan { border-right: 0; border-bottom: 1px solid var(--rule); } .plan:last-child { border-bottom: 0; } }

/* ---------- contact and newsletter forms ---------- */
.contact { display: grid; gap: 16px; max-width: 580px; margin: 28px 0; }
.contact label, .signup label { display: grid; gap: 6px; font: 600 14px var(--ui); color: var(--ink); }
.contact input, .contact select, .contact textarea, .signup input { font: 400 17px/1.4 var(--ui); padding: 13px 14px; border: 1.5px solid #c3ccd9; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.contact input:focus, .contact select:focus, .contact textarea:focus, .signup input:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--hi); }
.contact .button { justify-self: start; }
.contact__trap, .signup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup { background: #fff; border: 1.5px solid var(--ink); border-radius: 12px; padding: 26px 28px; margin: 56px 0; max-width: 640px; position: relative; }
.signup__title { margin: 0 0 6px; font: 700 21px/1.25 var(--display); color: var(--ink); letter-spacing: -.01em; }
.signup__text { margin: 0 0 18px; font-size: 16px; color: var(--muted); }
.signup__row { display: flex; gap: 10px; }
.signup__row input { flex: 1; min-width: 0; }
.signup--done { border-color: var(--good); }
.signup--done p:last-child { margin: 0; font-size: 17px; }
@media (max-width: 520px) { .signup__row { flex-direction: column; } }
.band.dark .signup { border-color: #fff; }

/* ---------- blog ---------- */
.pagehead--blog { padding-bottom: 0; }
.cats { display: flex; flex-wrap: wrap; gap: 4px; margin: 34px 0 0; border-bottom: 1px solid var(--rule); }
.cats a { font: 500 15px var(--ui); color: var(--muted); text-decoration: none; padding: 12px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.cats a:hover { color: var(--ink); }
.cats a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--signal); }
.blogindex { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-top: 12px; padding-bottom: 96px; align-items: start; }
.blogindex__side { position: sticky; top: 100px; }
.blogindex__side .signup { margin: 28px 0 0; padding: 22px; }
.blogindex__side .signup__row { flex-direction: column; }
@media (max-width: 960px) { .blogindex { grid-template-columns: minmax(0, 1fr); gap: 0; } .blogindex__side { position: static; } }
.postlist { display: grid; }
.post { padding: 30px 0; border-bottom: 1px solid var(--rule); }
.post__cat { margin: 0 0 8px; font: 600 13px var(--ui); color: var(--signal); }
.post__title { margin: 0 0 8px; font: 700 23px/1.25 var(--display); letter-spacing: -.015em; }
.post__title a { color: var(--ink); text-decoration: none; }
.post__title a:hover { color: var(--signal); }
.post__sum { margin: 0 0 10px; font-size: 17px; color: var(--text); max-width: 38em; }
.post__meta { margin: 0; font: 500 13px var(--ui); color: var(--muted); display: flex; gap: 16px; }
.post--big .post__title { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -.025em; }
.post--big .post__sum { font-size: 19px; }
.postlist--short { grid-template-columns: repeat(3, 1fr); gap: 36px; }
.postlist--short .post { border-bottom: 0; border-top: 2px solid var(--ink); padding: 18px 0 0; }
.postlist--short .post__title { font-size: 20px; }
.postlist--short .post__sum { font-size: 16px; }
@media (max-width: 860px) { .postlist--short { grid-template-columns: 1fr; gap: 8px; } }
.postlist__more { font: 600 15px var(--ui); margin-top: 24px; }
.band.dark .post__title a { color: #fff; }
.band.dark .post__sum { color: #c9d3e6; }
.band.dark .postlist--short .post { border-color: #fff; }
.band.dark .post__cat { color: #7aa5ff; }

/* an article */
.article__head { padding-top: 72px; padding-bottom: 8px; max-width: calc(780px + 48px); }
@media (min-width: 1001px) { .article__head.has-toc { max-width: var(--wrap); padding-left: calc(24px + 230px + 56px); } .article__head.has-toc > * { max-width: 760px; } .article__foot.has-toc { max-width: var(--wrap); padding-left: calc(24px + 230px + 56px); } .article__foot.has-toc > * { max-width: 700px; } }
.article__cat { margin: 0 0 18px; font: 600 14px var(--ui); }
.article__cat a { text-decoration: none; }
.article__head h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.07; font-weight: 700; letter-spacing: -.03em; margin: 0 0 20px; }
.article__dek { font-size: 22px; line-height: 1.5; color: var(--muted); margin: 0 0 26px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font: 500 14px var(--ui); color: var(--muted); }
.article__grid { padding-top: 40px; padding-bottom: 24px; max-width: calc(780px + 48px); }
.article__grid.has-toc { display: grid; grid-template-columns: 230px minmax(0, 700px); gap: 56px; max-width: var(--wrap); }
.article__grid.has-toc .prose { grid-column: 2; }
.toc { position: sticky; top: 100px; align-self: start; font-family: var(--ui); grid-row: 1; }
.toc__title { margin: 0 0 10px; font: 600 13px var(--ui); color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font: 500 14px/1.4 var(--ui); color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--signal); border-left-color: var(--signal); }
@media (max-width: 1000px) {
  .article__grid.has-toc { display: block; max-width: calc(780px + 48px); }
  .toc { position: static; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 18px 20px 12px; margin-bottom: 36px; }
}
.prose { font-size: 19px; line-height: 1.7; }
.prose > p, .prose > ul, .prose > ol { max-width: none; }
.prose img { border-radius: 8px; border: 1px solid var(--rule); }
.prose figure { margin: 32px 0; }
.article__foot { max-width: calc(780px + 48px); padding-bottom: 96px; }
.related { margin-top: 64px; }
.related h2 { font-size: 24px; margin: 0 0 22px; }
.related .postlist--short { grid-template-columns: 1fr; gap: 0; }
.related .postlist--short .post { border-top: 1px solid var(--rule); padding: 20px 0; }

/* ---------- help ---------- */
.helpsearch { display: flex; gap: 10px; max-width: 580px; margin: 0 0 40px; }
.helpsearch input { flex: 1; min-width: 0; font: 400 17px var(--ui); padding: 13px 14px; border: 1.5px solid #c3ccd9; border-radius: 8px; }
.view--helpindex .cards .card ul { list-style: none; padding: 0; }
.view--helpindex .cards .card li { margin: 8px 0; font: 500 15px/1.4 var(--ui); }
.results { list-style: none; padding: 0; }
.results li { padding: 16px 0; border-bottom: 1px solid var(--rule); font: 600 17px var(--ui); }
.results li span { font: 400 16px var(--read); color: var(--muted); }

/* ---------- footer ---------- */
.sitefoot { background: var(--ink); color: #a9b6cf; padding: 72px 0 32px; font-family: var(--ui); font-size: 15px; }
.sitefoot__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.sitefoot__brand { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 19px var(--display); color: #fff; }
.sitefoot__about p { max-width: 24em; line-height: 1.55; }
.sitefoot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; }
.sitefoot__cols div { display: grid; align-content: start; gap: 10px; }
.sitefoot__h { margin: 0 0 4px; font: 600 14px var(--ui); color: #fff; }
.sitefoot a { color: #a9b6cf; text-decoration: none; }
.sitefoot a:hover { color: #fff; text-decoration: underline; }
.sitefoot__copy { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid #1d2c4a; font-size: 13px; }
.sitefoot__copy p { margin: 0; }
@media (max-width: 760px) { .sitefoot__in { grid-template-columns: 1fr; } .sitefoot__copy { flex-direction: column; gap: 6px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .sitehead, .sitefoot, .signup, .toc, .related { display: none; } body.site { background: #fff; } }
