/* StreamlineOps
   Consultancy-style: dark hero bands, bold sans headlines, one accent colour,
   abstract line artwork instead of photography. Font: Public Sans (SIL OFL, self-hosted). */

@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --night: #0a0e14;
  --night-2: #121823;
  --night-line: #263040;
  --white: #ffffff;
  --mist: #f2f4f6;
  --ink: #0a0e14;
  --ink-2: #3d4654;
  --ink-3: #6b7482;
  --line: #dde1e6;
  --accent: #14b8a6;
  --accent-ink: #0b7d71;
  --on-night: #c3cad4;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --max: 80rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
.accent { color: var(--accent); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem .75rem; z-index: 99; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 760px) { .wrap { padding: 0 2.5rem; } }

/* ---------- Header ---------- */
.masthead { background: var(--night); color: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--night-line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.5rem; }
.wordmark { display: flex; align-items: baseline; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; text-decoration: none; color: #fff; }
.wordmark:hover { color: #fff; }
.wordmark i { width: .42rem; height: .42rem; background: var(--accent); border-radius: 50%; display: inline-block; margin-left: .12rem; }
.nav { display: flex; align-items: center; gap: 2rem; font-size: .98rem; font-weight: 500; }
.nav a { color: var(--on-night); text-decoration: none; padding: 1.45rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.nav .nav-cta { color: var(--night); background: #fff; padding: .7rem 1.1rem; border: 0; font-weight: 600; }
.nav .nav-cta:hover { background: var(--accent); color: var(--night); }
.menu-btn { display: none; background: none; border: 1px solid var(--night-line); color: #fff; font: 600 .95rem var(--font); padding: .5rem .9rem; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 4.5rem; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--night-line); }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--night-line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--night-line); color: var(--accent); }
  .nav .nav-cta { margin-top: 1rem; text-align: center; padding: .9rem; }
}

/* ---------- Bands ---------- */
.band { padding: 6rem 0; }
.band.sm { padding: 4rem 0; }
.band.mist { background: var(--mist); }
.band.night { background: var(--night); color: #fff; }
.band.night p { color: var(--on-night); }
.band.accent-band { background: var(--accent); color: var(--night); }
.band.accent-band p { color: #06302b; }
@media (max-width: 760px) { .band { padding: 4rem 0; } }

.kicker { font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--accent-ink); margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
.night .kicker, .hero .kicker, .page-hero .kicker { color: var(--accent); }
.band-head { display: grid; gap: 1rem 3rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .band-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.band-head h2 { margin: 0; max-width: 16ch; }
.band-head p { margin: 0; color: var(--ink-2); font-size: 1.15rem; max-width: 34rem; }
.night .band-head p { color: var(--on-night); }

.lede { font-size: 1.25rem; line-height: 1.55; max-width: 36rem; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }

/* ---------- Buttons & links ---------- */
.button { display: inline-flex; align-items: center; gap: .6rem; font: 600 1rem/1 var(--font); text-decoration: none; padding: 1.05rem 1.5rem; background: var(--accent); color: var(--night); border: 2px solid var(--accent); cursor: pointer; }
.button::after { content: "→"; transition: transform .15s; }
.button:hover { background: #fff; border-color: #fff; color: var(--night); }
.button:hover::after { transform: translateX(3px); }
.button.dark { background: var(--night); border-color: var(--night); color: #fff; }
.button.dark:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.button.outline { background: transparent; color: #fff; border-color: #fff; }
.button.outline:hover { background: #fff; color: var(--night); }
.more { font-weight: 700; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.more::after { content: "→"; color: var(--accent-ink); transition: transform .15s; }
.night .more::after, .hero .more::after { color: var(--accent); }
.more:hover::after { transform: translateX(3px); }
.hero .more, .night .more { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; margin-top: 2.5rem; }

/* ---------- Hero ---------- */
.hero { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.hero-main { position: relative; z-index: 1; padding-top: 6.5rem; padding-bottom: 6.5rem; }
.hero h1 { max-width: 12ch; }
.hero .lede { color: var(--on-night); margin-top: 1.75rem; }
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(50%, 48rem); pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
.hero-art svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .hero-art { width: 100%; opacity: .18; } }
.hero-foot { position: relative; z-index: 1; border-top: 1px solid var(--night-line); background: rgba(10,14,20,.85); }
.hero-foot .wrap { display: grid; }
@media (min-width: 760px) { .hero-foot .wrap { grid-template-columns: repeat(4, 1fr); } }
.hero-foot .wrap > div { padding: 1.4rem 0; border-bottom: 1px solid var(--night-line); }
.hero-foot .wrap > div:last-child { border-bottom: 0; }
@media (min-width: 760px) { .hero-foot .wrap > div { border-bottom: 0; border-left: 1px solid var(--night-line); padding: 1.6rem 1.5rem; } .hero-foot .wrap > div:first-child { border-left: 0; padding-left: 0; } }
.hero-foot b { display: block; font-size: 1.1rem; color: #fff; }
.hero-foot span { font-size: .9rem; color: var(--on-night); }

/* Inner page hero */
.page-hero { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 4.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); max-width: 16ch; }
.page-hero .lede { color: var(--on-night); margin-top: 1.25rem; }
.page-hero .hero-art { width: min(40%, 34rem); opacity: .8; }
@media (max-width: 900px) { .page-hero .hero-art { width: 100%; opacity: .15; } }
.crumbs { font-size: .9rem; color: var(--on-night); margin-bottom: 1.5rem; }
.crumbs a { color: var(--on-night); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 .5rem; opacity: .6; }

/* ---------- Insight tiles ---------- */
.tiles { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .tiles.feature { grid-template-columns: 1.35fr 1fr; } .tiles.feature .tile:first-child { grid-row: span 2; } }
@media (min-width: 700px) { .tiles.three { grid-template-columns: repeat(3, 1fr); } .tiles.two { grid-template-columns: 1fr 1fr; } }
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.tile:hover { color: var(--ink); border-color: var(--ink); }
.tile .art { aspect-ratio: 16 / 9; background: var(--night); overflow: hidden; }
.tile .art svg { width: 100%; height: 100%; transition: transform .4s ease; }
.tile:hover .art svg { transform: scale(1.04); }
.tiles.feature .tile:first-child .art { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .tiles.feature .tile:not(:first-child) { flex-direction: row; }
  .tiles.feature .tile:not(:first-child) .art { aspect-ratio: auto; width: 40%; flex: none; }
}
.tile .body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.tile .tag { font-size: .8rem; font-weight: 700; color: var(--accent-ink); margin-bottom: .6rem; }
.tile h3 { margin-bottom: .5rem; }
.tiles.feature .tile:first-child h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.tile p { color: var(--ink-2); margin: 0 0 1.25rem; }
.tile .more { margin-top: auto; }
.mist .tile { border-color: transparent; }
.mist .tile:hover { border-color: var(--ink); }

/* ---------- Capability grid ---------- */
.caps { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 700px) { .caps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .caps { grid-template-columns: repeat(3, 1fr); } }
.cap { padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); position: relative; background: var(--white); }
.cap::before { content: ""; position: absolute; left: -1px; top: -1px; width: calc(100% + 2px); height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
a.cap:hover { color: var(--ink); }
.cap:hover::before { transform: scaleX(1); }
.cap .num { font-size: .85rem; font-weight: 700; color: var(--ink-3); margin-bottom: 2.25rem; }
.cap h3 { font-size: 1.45rem; }
.cap p { color: var(--ink-2); }
.cap .eg { font-size: .9rem; color: var(--ink-3); margin-top: auto; padding-top: .5rem; }
.cap .eg b { color: var(--ink); font-weight: 600; }
.cap .more { margin-top: auto; padding-top: 1rem; }

/* ---------- Big statement ---------- */
.statement { font-size: clamp(1.8rem, 3.8vw, 3.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; max-width: 24ch; margin: 0; }

/* ---------- Steps (dark) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; padding: 2rem 0; border-top: 1px solid var(--night-line); }
@media (min-width: 760px) { .steps li { border-top: 0; border-left: 1px solid var(--night-line); padding: .25rem 1.75rem 1rem; } }
.steps li::before { content: "0" counter(s); display: block; font-size: 2.6rem; font-weight: 800; color: var(--accent); letter-spacing: -.04em; line-height: 1; margin-bottom: 1.25rem; }
.steps h3 { color: #fff; }
.steps p { margin: 0; font-size: 1rem; }

/* ---------- Before / after figure ---------- */
.figure { margin: 0; }
.figure-frame { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--white); border: 1px solid var(--line); padding: 2rem; }
.figure-frame svg { min-width: 600px; max-width: 54rem; margin: 0 auto; }
.figure figcaption { font-size: .9rem; color: var(--ink-3); margin-top: 1rem; max-width: 44rem; }
.figure figcaption b { color: var(--ink); }
.proc .row-label { font: 700 11px var(--font); fill: var(--ink-3); letter-spacing: .06em; }
.proc .step rect { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.proc .step text { font: 600 10.5px var(--font); fill: var(--ink); }
.proc .waste rect { fill: none; stroke: #9aa2ad; stroke-dasharray: 3 3; }
.proc .waste text { fill: var(--ink-3); font-weight: 500; }
.proc .clean rect { fill: var(--night); stroke: var(--night); }
.proc .clean text { fill: #fff; }
.proc .line { stroke: var(--ink); stroke-width: 1.2; fill: none; }
.proc .loop { stroke: #d1495b; stroke-width: 1.3; fill: none; stroke-dasharray: 4 3; }
.proc .loop-label { font: italic 600 11px var(--font); fill: #b83346; }

/* ---------- Credentials ---------- */
.creds { display: grid; border-top: 2px solid var(--ink); }
@media (min-width: 760px) { .creds { grid-template-columns: repeat(4, 1fr); } }
.creds div { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .creds div { border-bottom: 0; } }
.creds b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-bottom: .4rem; }
.creds span { color: var(--ink-2); font-size: .95rem; }

.two-col { display: grid; gap: 2.5rem 5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col.wide-left { grid-template-columns: 1.5fr 1fr; } }
.prose { max-width: 40rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: 1.25rem; width: .8rem; height: .42rem; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg); }

/* ---------- Promo band (analyser) ---------- */
.promo { display: grid; gap: 2.5rem 5rem; align-items: center; }
@media (min-width: 900px) { .promo { grid-template-columns: 1.3fr 1fr; } }
.promo h2 { max-width: 16ch; }
.accent-band .button { background: var(--night); border-color: var(--night); color: #fff; }
.accent-band .button:hover { background: #fff; border-color: #fff; color: var(--night); }
.accent-band .kicker { color: var(--night); }
.promo-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--night); }
.promo-list li { padding: 1rem 0; border-bottom: 1px solid rgba(10,14,20,.25); font-weight: 600; display: flex; gap: 1rem; }
.promo-list li span { font-weight: 800; min-width: 1.6rem; }

/* ---------- Articles ---------- */
.post-hero { background: var(--night); color: #fff; }
.post-hero .wrap { display: grid; gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; align-items: center; }
@media (min-width: 900px) { .post-hero .wrap { grid-template-columns: 1.3fr 1fr; } }
.post-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.post-hero .meta { color: var(--on-night); font-size: .92rem; margin: 1.25rem 0 0; }
.post-hero .tag { color: var(--accent); font-weight: 700; font-size: .9rem; margin-bottom: 1rem; display: block; }
.post-hero .art { aspect-ratio: 16/10; border: 1px solid var(--night-line); }
.post-hero .art svg { width: 100%; height: 100%; }
.article { max-width: 44rem; margin: 0 auto; padding: 4rem 1.25rem 4.5rem; }
.article .lead { font-size: 1.35rem; line-height: 1.5; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.article h2 { font-size: 1.75rem; margin-top: 2.4em; }
.article h3 { margin-top: 1.6em; }
.article p, .article li { color: #262d38; }
.article ul, .article ol { padding-left: 1.25em; margin: 0 0 1.3em; }
.article li { margin-bottom: .45em; }
.article li::marker { color: var(--accent-ink); font-weight: 700; }
.callout { background: var(--mist); border-left: 4px solid var(--accent); padding: 1.1rem 1.3rem; margin: 2rem 0; }
.callout p { margin: 0; }
.table-scroll { overflow-x: auto; }
table.simple { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .96rem; }
table.simple th, table.simple td { border-bottom: 1px solid var(--line); padding: .7rem .9rem .7rem 0; text-align: left; vertical-align: top; }
table.simple th { border-bottom: 2px solid var(--ink); }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em; background: var(--mist); padding: .12em .4em; word-break: break-word; }
.endnote { border-top: 2px solid var(--ink); margin-top: 3rem; padding-top: 1.5rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; max-width: 36rem; }
.form label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .4rem; }
.form input[type=text], .form input[type=email], .form textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #b9c0c9; border-bottom: 2px solid var(--ink); padding: .8rem .9rem; border-radius: 0; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(20,184,166,.25); }
.form textarea { min-height: 9rem; resize: vertical; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--accent-ink); flex: none; }
.check label { font-weight: 400; margin: 0; }
.notice { border-left: 4px solid #e0a100; background: #fff8e5; padding: .9rem 1.1rem; font-size: .94rem; }
.form-result { margin: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 2rem; }
@media (max-width: 600px) { .panel { padding: 1.4rem; } }
.uses { font-size: .85rem; font-weight: 700; color: var(--accent-ink); margin-bottom: 1.5rem; }
.tool-slot { border: 1px dashed #9aa2ad; padding: 2.5rem 1.5rem; text-align: center; color: var(--ink-3); }
.tool-slot .button { margin-top: .5rem; }
.side h3 { font-size: 1.05rem; margin: 1.75rem 0 .4rem; }
.side h3:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--on-night); font-size: .94rem; }
.foot .wrap { padding-top: 4rem; padding-bottom: 2rem; }
.foot-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--night-line); }
@media (min-width: 900px) { .foot-top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot .wordmark { margin-bottom: 1rem; }
.foot p { max-width: 24rem; }
.foot h4 { color: #fff; font-size: .9rem; margin: 0 0 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .55rem; }
.foot a { color: var(--on-night); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1.5rem; font-size: .85rem; color: #8892a0; }

/* ---------- Business Analyser: operations health check ---------- */
.hc-panel { max-width: 52rem; margin: 0 auto; }
.hc-panel + .hc-panel { margin-top: 2rem; }
.hc-panel h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.hc-progress { display: flex; align-items: center; gap: 1rem; font-size: .85rem; font-weight: 600; color: var(--ink-3); margin-bottom: 2rem; }
.hc-progress .hc-bar { flex: 1; }
.hc-bar { height: 6px; background: var(--line); position: relative; overflow: hidden; }
.hc-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent-ink); transition: width .3s ease; }
.hc-form { max-width: none; margin: 1.5rem 0; }
.form select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #b9c0c9; border-bottom: 2px solid var(--ink); padding: .8rem .9rem; border-radius: 0; }
.form select:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(20,184,166,.25); }
.hc-statements { list-style: none; counter-reset: q; margin: 1.5rem 0; padding: 0; }
.hc-statements li { counter-increment: q; border-top: 1px solid var(--line); padding: 1.25rem 0; }
.hc-statements li > p { font-weight: 600; margin: 0 0 .8rem; }
.hc-statements li > p::before { content: counter(q) ". "; color: var(--accent-ink); }
.hc-scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
@media (min-width: 700px) { .hc-scale { grid-template-columns: repeat(6, 1fr); } }
.hc-scale input { position: absolute; opacity: 0; pointer-events: none; }
.hc-scale label { display: block; text-align: center; font-size: .88rem; padding: .65rem .3rem; border: 1px solid #b9c0c9; background: #fff; cursor: pointer; user-select: none; }
.hc-scale label:hover { border-color: var(--ink); }
.hc-scale input:checked + label { background: var(--night); border-color: var(--night); color: #fff; font-weight: 600; }
.hc-scale input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.hc-scale label:last-of-type { color: var(--ink-3); }
.hc-scale input:checked + label:last-of-type { color: #fff; }
.hc-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hc-back { background: none; border: 0; font: 600 1rem var(--font); color: var(--ink-2); cursor: pointer; padding: .5rem 0; }
.hc-back:hover { color: var(--accent-ink); }
.hc-warn { margin: 1rem 0 0; }
.hc-overall { font-size: 1.1rem; color: var(--ink-2); margin: .5rem 0 1.5rem; }
.hc-overall b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); margin-right: .25rem; }
.hc-scores { display: grid; gap: 1.1rem; margin-bottom: 2.5rem; }
.hc-score-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .95rem; margin-bottom: .4rem; }
.hc-score-head span { color: var(--ink-3); }
.hc-score .hc-bar { height: 10px; }
.hc-score.good .hc-bar i { background: var(--accent-ink); }
.hc-score.mid .hc-bar i { background: #d08a00; }
.hc-score.low .hc-bar i { background: #c2413a; }
.hc-score.low .hc-score-head span { color: #a3342e; font-weight: 600; }
.hc-report h3 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.hc-summary { font-size: 1.12rem; color: var(--ink); }
.hc-gaps { list-style: none; padding: 0; margin: 0; counter-reset: g; display: grid; gap: 1rem; }
.hc-gaps li { counter-increment: g; border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 1.25rem 1.4rem; background: #fff; }
.hc-gaps .tag { font-size: .78rem; font-weight: 700; color: var(--accent-ink); }
.hc-gaps h4 { font-size: 1.2rem; margin: .3rem 0 .5rem; }
.hc-gaps h4::before { content: counter(g) ". "; }
.hc-gaps p { color: var(--ink-2); margin: 0 0 .6rem; }
.hc-gaps .hc-svc { margin: .8rem 0 0; padding-top: .7rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .95rem; }
.hc-gaps .hc-svc a { font-weight: 700; }

@media print {
  .masthead, .foot, .page-hero, .hc-noprint, .hc-nav, .hc-progress, #results-form { display: none !important; }
  .band { padding: 0 !important; background: #fff !important; }
  .panel { border: 0 !important; padding: 0 !important; }
  .hc-gaps li { break-inside: avoid; }
}
