/* Self-hosted fonts (2026-11-24): no requests to Google. Variable woff2, Latin subset, from @fontsource-variable (SIL OFL 1.1, see fonts/LICENSE-*). */
@font-face{font-family:"Inter";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations"),url(fonts/inter-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Source Serif 4";font-style:normal;font-display:swap;font-weight:200 900;src:url(fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2-variations"),url(fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Source Serif 4";font-style:italic;font-display:swap;font-weight:200 900;src:url(fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2-variations"),url(fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Layout concept: a calm, single-column story per page on a pure white background — utility bar, sticky header and sections all white, divided by hairlines, so the InfoAnywhere logo and the client logos sit seamlessly on the page. Brand colours come from the logo: purple #5c339a, sky blue #5090d0 and charcoal #303030. Inter for UI and body, Source Serif for the voices of hospice staff. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f8f7fc;
  --surface-2: #f0eaf9;
  --card: #ffffff;
  --ink: #1e1e2e;
  --text: #2c2c3e;
  --muted: #5f5f78;
  --line: #dcd8ea;
  --line-strong: #c6c0db;
  --brand: #5c339a;
  --brand-strong: #45277a;
  --brand-soft: #f0eaf9;
  --link: #5c339a;
  --btn-bg: #5c339a;
  --btn-bg-hover: #45277a;
  --btn-ink: #ffffff;
  --blue: #3d6db5;
  --sky: #5090d0;
  --charcoal: #303030;
  --good: #2f7d4f;
  --good-soft: #e5f3ea;
  --warn: #8a5a00;
  --warn-soft: #fff4dc;
  --focus: #3d6db5;
  --hero-muted: #5f5f78;
  --shadow: 0 1px 2px rgba(30, 30, 46, 0.06), 0 8px 28px rgba(30, 30, 46, 0.08);
  --shadow-lg: 0 2px 4px rgba(30, 30, 46, 0.06), 0 24px 60px rgba(30, 30, 46, 0.16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --r: 8px;
  --r-lg: 14px;
  --measure: 1160px;
  --gutter: 20px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 18px; line-height: 1.6;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.tabnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding-inline: var(--gutter); }
.stack > * + * { margin-top: 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--sky); border-radius: 2px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--r); font: 600 1rem/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-outline { background: transparent; color: var(--link); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--link); }
.text-link svg { width: 16px; height: 16px; transition: transform 0.15s; }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Utility bar */
.utility { background: #ffffff; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.utility .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 6px 20px; flex-wrap: wrap; min-height: 38px; padding-block: 4px; }
.utility .label { color: var(--muted); margin-right: auto; }
.utility a { color: var(--text); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--link); text-decoration: underline; }
.utility svg { width: 15px; height: 15px; color: var(--brand); }
.utility .urgent svg { color: var(--warn); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: #ffffff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
/* Logos are JPEGs on white: no box around them, and multiply blending removes any off-white edge */
.brand .chip { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; display: block; mix-blend-mode: multiply; }
.brand .wordmark { font-weight: 800; font-size: 1.35rem; color: var(--brand); letter-spacing: -0.02em; }
.brand .wordmark b { color: var(--charcoal); font-weight: 800; }
.mainnav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.mainnav > .item { position: relative; }
.navbtn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; font: 500 0.98rem/1 var(--font); color: var(--text); border-radius: 6px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.navbtn:hover, .navbtn[aria-expanded="true"], .navbtn.active { color: var(--link); background: var(--brand-soft); }
.navbtn svg { width: 14px; height: 14px; transition: transform 0.15s; }
.navbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.panel { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(560px, 90vw); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.panel.one-col { grid-template-columns: 1fr; width: 340px; }
.mainnav > .item:nth-last-child(-n+2) .panel { left: auto; right: 0; transform: none; }
.panel a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-items: start; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--text); }
.panel a:hover, .panel a:focus-visible { background: var(--surface-2); }
.panel a .ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.panel a .ic svg { width: 19px; height: 19px; }
.panel a strong { font-size: 0.95rem; color: var(--ink); font-weight: 600; line-height: 1.3; }
.panel a small { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.panel .panel-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 10px 2px; font-size: 0.9rem; }
.header-cta { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-menu { display: none; }

@media (max-width: 1023px) {
  .mainnav { display: none; }
  .menu-toggle { display: grid; }
  .header-cta { order: 3; }
  .site-header .wrap { gap: 10px; }
  .mobile-menu { display: block; border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
  .mobile-menu[hidden] { display: none !important; }
  .mobile-menu .wrap { display: block; padding-block: 8px 24px; }
  .mobile-menu details { border-bottom: 1px solid var(--line); }
  .mobile-menu summary, .mobile-menu .solo { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; text-decoration: none; min-height: 48px; }
  .mobile-menu .solo { border-bottom: 1px solid var(--line); }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary svg { width: 16px; height: 16px; transition: transform 0.15s; }
  .mobile-menu details[open] summary svg { transform: rotate(180deg); }
  .mobile-menu details a { display: block; padding: 10px 12px; text-decoration: none; color: var(--text); border-radius: 6px; min-height: 44px; }
  .mobile-menu details a:hover { background: var(--surface-2); }
  .mobile-menu details div { padding-bottom: 10px; }
}
@media (max-width: 520px) {
  .brand img { height: 30px; }
  .header-cta { padding: 8px 12px; font-size: 0.9rem; min-height: 40px; }
  .utility .label { display: none; }
  .utility .wrap { justify-content: flex-start; gap: 4px 14px; }
}

/* Breadcrumbs */
.crumbs { font-size: 0.85rem; margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: 0.7; }
.hero .crumbs, .hero .crumbs a { color: var(--muted); }

/* Sections */
.band { padding-block: clamp(56px, 7vw, 96px); }
.band.tight { padding-block: clamp(40px, 5vw, 64px); }
.band.alt, .band.tint { background: #ffffff; }
.band + .band { border-top: 1px solid var(--line); }
.hero + .band { border-top: 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-top: 10px; }
.section-head .lead { margin-top: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--ink); background: #ffffff; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.hero.compact .wrap { padding-block: clamp(40px, 5vw, 68px); }
.hero.text-only .wrap { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; }
.hero h1 { color: var(--ink); }
.hero .lead { color: var(--muted); margin-top: 18px; font-size: 1.2rem; }
.hero .btn-row { margin-top: 30px; }
.hero .eyebrow { color: var(--brand); margin-bottom: 16px; }
.hero .proof { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: var(--muted); }
.hero .proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero .proof svg { width: 16px; height: 16px; color: var(--brand); }
.hero .visual { min-width: 0; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Generic grids and cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.12rem; }
.card p { color: var(--muted); font-size: 1rem; }
.card .text-link { margin-top: auto; padding-top: 8px; }
a.card { text-decoration: none; color: inherit; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
a.card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
a.card:hover .text-link span { text-decoration: underline; }
.ic-badge { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.ic-badge svg { width: 22px; height: 22px; }
.card .kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.program-card { padding: 0; overflow: hidden; }
.program-card .top { padding: 26px 26px 0; display: flex; flex-direction: column; gap: 10px; }
.program-card .bottom { padding: 0 26px 24px; margin-top: auto; }
.program-card ul { list-style: none; display: grid; gap: 6px; font-size: 0.93rem; color: var(--text); padding: 4px 0 10px; }
.program-card li { display: flex; gap: 8px; align-items: baseline; }
.program-card li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); transform: translateY(-2px); }

/* Problem to outcome */
.shift { display: grid; gap: 14px; }
.shift-row { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.shift-row > div { padding: 20px 24px; }
.shift-row .before { color: var(--muted); }
.shift-row .before small, .shift-row .after small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.shift-row .after { background: var(--brand-soft); color: var(--ink); font-weight: 600; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.shift-row .after small { color: var(--brand); }
.shift-row .arrow { display: grid; place-items: center; color: var(--brand); padding: 0; }
.shift-row .arrow svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .shift-row { grid-template-columns: minmax(0, 1fr); } .shift-row .arrow { transform: rotate(90deg); padding: 4px 0; } }

/* Value pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillars > div { padding: 28px 24px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.pillars > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.pillars h3 { font-size: 1.1rem; }
.pillars p { font-size: 0.98rem; color: var(--muted); }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pillars > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .pillars { grid-template-columns: minmax(0, 1fr); } .pillars > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logos.all { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.logo-tile { background: transparent; border: 0; height: 84px; display: grid; place-items: center; padding: 10px 14px; overflow: hidden; }
.logo-tile img { max-height: 58px; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: 0.8; transition: filter 0.2s, opacity 0.2s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile .fallback { font-size: 0.85rem; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.3; }
.logos-caption { text-align: center; color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
@media (max-width: 860px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Split layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.reverse > :first-child { order: 0; } }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checklist li svg { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.checklist strong { color: var(--ink); }

/* Feature groups */
.fgroups { display: grid; gap: 22px; }
.fgroup { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.fgroup .head { display: flex; flex-direction: column; gap: 10px; }
.fgroup .head p { color: var(--muted); font-size: 1rem; }
.fgroup .outcome { font-weight: 600; color: var(--ink); font-size: 1.02rem; border-left: 3px solid var(--sky); padding-left: 12px; margin-top: 4px; }
.flist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.flist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.flist li svg { width: 20px; height: 20px; color: var(--brand); margin-top: 3px; }
.flist strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 600; }
.flist span { display: block; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.fgroup details { grid-column: 2; }
.fgroup details summary { cursor: pointer; font-weight: 600; color: var(--link); font-size: 0.95rem; list-style: none; display: inline-flex; gap: 6px; align-items: center; min-height: 40px; }
.fgroup details summary::-webkit-details-marker { display: none; }
.fgroup details summary svg { width: 16px; height: 16px; transition: transform 0.15s; }
.fgroup details[open] summary svg { transform: rotate(180deg); }
.fgroup details[open] summary .more { display: none; }
.fgroup details:not([open]) summary .less { display: none; }
.fgroup details .flist { margin-top: 14px; }
@media (max-width: 900px) { .fgroup { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; } .fgroup details { grid-column: 1; } }
@media (max-width: 560px) { .flist { grid-template-columns: minmax(0, 1fr); } }

/* Roles */
.roles { display: flex; flex-wrap: wrap; gap: 10px; }
.role { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 0.93rem; font-weight: 500; color: var(--ink); }
.role svg { width: 16px; height: 16px; color: var(--brand); }

/* Outcomes */
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.outcome-card { padding: 24px 0 0; border-top: 2px solid var(--brand); display: flex; flex-direction: column; gap: 8px; }
.outcome-card h3 { font-size: 1.15rem; }
.outcome-card p { color: var(--muted); font-size: 1rem; }
.outcome-card .via { font-size: 0.85rem; color: var(--brand); font-weight: 600; }
@media (max-width: 760px) { .outcomes { grid-template-columns: minmax(0, 1fr); } }

/* Quotes */
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; break-inside: avoid; }
.quote .qh { font-weight: 700; color: var(--ink); font-size: 1rem; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; color: var(--text); position: relative; }
.quote blockquote::before { content: "\201C"; position: absolute; left: -4px; top: -22px; font-size: 3.4rem; line-height: 1; color: var(--sky); font-family: var(--serif); opacity: 0.9; }
.quote blockquote p { padding-top: 14px; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: 0.92rem; }
.quote figcaption strong { color: var(--ink); }
.quote figcaption span { color: var(--muted); }
.quote .tag { align-self: flex-start; margin-top: 6px; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.quote.feature { padding: 40px; background: #ffffff; border-color: var(--line); }
.quote.feature blockquote { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); }
.quotes-masonry { columns: 3 320px; column-gap: 20px; }
.quotes-masonry .quote { margin: 0 0 20px; display: inline-flex; width: 100%; }

/* Trust facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.fact .ic-badge { width: 40px; height: 40px; }
.fact strong { color: var(--ink); font-size: 1.02rem; }
.fact span { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* Steps (a real sequence) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 960px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .steps, .steps.four { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--ink); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--brand); transition: transform 0.15s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); font-size: 1rem; max-width: 70ch; }
.faq details > div a { font-weight: 600; }

/* CTA band */
.cta-band { background: #ffffff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 20px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted); margin-top: 10px; }
.cta-band .promise { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.cta-band .promise span { display: inline-flex; gap: 6px; align-items: center; }
.cta-band .promise svg { width: 16px; height: 16px; color: var(--brand); }
@media (max-width: 820px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* Included strip */
.included { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 20px 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--card); }
.included strong { color: var(--ink); margin-right: 6px; }
.included .pill { font-size: 0.9rem; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.included a { margin-left: auto; }

/* Program switcher */
.switcher { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.switcher a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); font-weight: 600; }
.switcher a:hover { border-color: var(--brand); }
.switcher a[aria-current="page"] { border-color: var(--brand); background: var(--brand-soft); }
.switcher svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
@media (max-width: 860px) { .switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .switcher { grid-template-columns: minmax(0, 1fr); } }

/* Product mock frames (sample data) */
.mock { background: var(--card); color: var(--text); border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; font-size: 14px; line-height: 1.4; min-width: 0; }
.mock .bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mock .bar b { font-size: 13px; color: var(--ink); font-weight: 600; }
.mock .sample { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warn); background: var(--warn-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.mock .body { padding: 16px; display: grid; gap: 14px; }
.mock .tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mock .tile { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.mock .tile b { display: block; font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mock .tile span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
@media (max-width: 480px) { .mock .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mock .chart { border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px 8px; }
.mock .chart .ct { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.mock .chart .ct b { color: var(--ink); font-weight: 600; }
.mock .bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; align-items: end; height: 96px; border-bottom: 1px solid var(--line-strong); }
.mock .bars i { display: block; background: var(--brand); border-radius: 4px 4px 0 0; min-height: 4px; opacity: 0.88; }
.mock .bars i:hover { opacity: 1; }
.mock .bars i.now { background: var(--blue); }
.mock .months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 4px; }
.mock .rows { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock .row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; }
.mock .row + .row { border-top: 1px solid var(--line); }
.mock .row .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mock .av { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: none; }
.mock .row .who b { display: block; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.mock .row .who span, .mock .row .meta { font-size: 12px; color: var(--muted); }
.mock .pillx { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.mock .pillx.ok { background: var(--good-soft); color: var(--good); }
.mock .pillx.due { background: var(--warn-soft); color: var(--warn); }
.mock .pillx.info { background: var(--brand-soft); color: var(--brand); }
.mock .mbtn { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 6px; background: var(--btn-bg); color: var(--btn-ink); border: 0; white-space: nowrap; }
.mock .mbtn.ghost { background: transparent; color: var(--link); border: 1px solid var(--line-strong); }
.mock .note { font-size: 12.5px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); color: var(--ink); display: flex; gap: 8px; align-items: start; }
.mock .note svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 1px; }
.mock .cal { display: grid; grid-template-columns: 44px repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 11.5px; }
.mock .cal > div { border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-height: 34px; padding: 4px; }
.mock .cal .h { background: var(--surface); font-weight: 600; color: var(--ink); text-align: center; border-top: 0; min-height: 0; padding: 6px 4px; }
.mock .cal .t { color: var(--muted); border-left: 0; text-align: right; padding-right: 6px; }
.mock .cal .ev { display: block; border-radius: 5px; padding: 3px 5px; font-weight: 600; line-height: 1.25; }
.mock .cal .ev.full { background: var(--good-soft); color: var(--good); }
.mock .cal .ev.need { background: var(--warn-soft); color: var(--warn); }
.mock .cal .ev.grp { background: var(--brand-soft); color: var(--brand); }
.mock .legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11.5px; color: var(--muted); }
.mock .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.mock .progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.mock .progress i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.mock .kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13px; }
.mock .kv span { color: var(--muted); }
.mock .kv b { color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.mock-caption { margin-top: 14px; font-size: 0.88rem; color: var(--muted); text-align: center; }

/* Shared record diagram */
.record-map { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px 28px; align-items: center; }
.record-map .node { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.record-map .node:hover { border-color: var(--brand); }
.record-map .node svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.record-map .core { grid-column: 2; grid-row: 1 / span 2; background: var(--btn-bg); color: var(--btn-ink); border-radius: 18px; padding: 28px 22px; text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.record-map .core svg { width: 34px; height: 34px; }
.record-map .core strong { font-size: 1.15rem; }
.record-map .core span { font-size: 0.92rem; opacity: 0.9; }
@media (max-width: 760px) { .record-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } .record-map .core { grid-column: 1 / -1; grid-row: 1; } }

/* Tables (pricing etc.) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 0.98rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--surface); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); }

/* ROI calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); }
.calc .inputs { padding: 30px; display: grid; gap: 22px; }
.calc .result { padding: 30px; background: var(--surface-2); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.calc label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.calc label output { color: var(--brand); font-variant-numeric: tabular-nums; }
.calc input[type="range"] { width: 100%; accent-color: var(--brand); height: 32px; }
.calc .big { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.calc .sub { color: var(--muted); font-size: 0.95rem; }
.calc .row2 { display: flex; gap: 28px; flex-wrap: wrap; }
.calc .row2 b { display: block; font-size: 1.4rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc .row2 span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 820px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input, .field textarea, .field select { font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.field[data-invalid] input, .field[data-invalid] .checks { border-color: #c0392b; }
.field .err { color: #b3261e; font-size: 0.88rem; font-weight: 500; display: none; }
.field[data-invalid] .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 1.5px solid transparent; border-radius: 10px; }
.checks label { display: flex; gap: 10px; align-items: center; font-weight: 500; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; min-height: 46px; }
.checks label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.checks input { width: 18px; height: 18px; accent-color: var(--brand); }
@media (max-width: 460px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: 0.88rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.aside-list { list-style: none; display: grid; gap: 18px; }
.aside-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.aside-list .ic-badge { width: 40px; height: 40px; }
.aside-list strong { display: block; color: var(--ink); }
.aside-list span { color: var(--muted); font-size: 0.97rem; }
.contact-lines { display: grid; gap: 10px; }
.contact-line { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.contact-line svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.contact-line > div { min-width: 0; flex: 1 1 160px; }
.contact-line b { display: block; color: var(--ink); font-variant-numeric: tabular-nums; user-select: all; }
.contact-line span { font-size: 0.88rem; color: var(--muted); }
.contact-line .copy { margin-left: auto; font: 600 0.85rem var(--font); color: var(--link); background: none; border: 1px solid var(--line-strong); border-radius: 6px; padding: 6px 10px; cursor: pointer; min-height: 36px; }

/* Article / prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* Sheets */
.sheet { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }
.sheet .doc { width: 54px; height: 66px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--card); position: relative; display: grid; place-items: end center; padding-bottom: 8px; font-size: 10px; font-weight: 700; color: var(--brand); }
.sheet .doc::before { content: ""; position: absolute; top: 10px; left: 9px; right: 9px; height: 26px; background: repeating-linear-gradient(var(--line-strong) 0 2px, transparent 2px 7px); }

/* Footer */
.site-footer { background: #ffffff; color: var(--muted); border-top: 1px solid var(--line); padding-block: 64px 28px; font-size: 0.95rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { color: var(--ink); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 9px; }
.foot-brand p { margin-top: 14px; max-width: 34ch; }
.foot-brand .chip { display: inline-flex; }
.foot-brand img { height: 38px; width: auto; display: block; mix-blend-mode: multiply; }
.foot-brand .wordmark { font-weight: 800; font-size: 1.3rem; color: var(--brand); }
.foot-brand .wordmark b { color: var(--charcoal); }
.foot-contact { margin-top: 18px; display: grid; gap: 6px; font-variant-numeric: tabular-nums; color: var(--ink); }
.foot-contact span { color: var(--muted); }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.85rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }


/* 404 */
.notfound { text-align: center; max-width: 640px; margin-inline: auto; }
.notfound .code { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.1em; color: var(--brand); }

/* Page fade */
main { display: block; }
.page-enter { animation: fadein 0.25s ease both; }
@keyframes fadein { from { opacity: 0.4; } to { opacity: 1; } }
[tabindex="-1"]:focus { outline: none; }
@media (max-width: 520px) { .logos:not(.all) .logo-tile:nth-child(n+7) { display: none; } }
.panel .panel-foot { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.panel .panel-foot a.text-link { display: inline-flex; grid-template-columns: none; padding: 6px 0; background: none; color: var(--link); font-size: 0.92rem; }
.panel .panel-foot a.text-link:hover { background: none; }
@media (max-width: 480px) { .mock .row { grid-template-columns: minmax(0, 1fr) auto; } .mock .row .meta { display: none; } }

/* Homepage sign-in card */
.login-card { background: var(--card); border: 2px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 32px; width: 100%; max-width: 440px; justify-self: end; scroll-margin-top: 110px; }
.login-card h2 { font-size: 1.4rem; margin: 0 0 4px; }
.login-card > p { color: var(--muted); font-size: 0.92rem; margin: 0 0 22px; }
.login-field { margin-bottom: 16px; }
.login-field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.login-field input { width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: 8px; }
.login-field input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.login-submit { width: 100%; justify-content: center; min-height: 52px; font-size: 1.05rem; }
.login-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 0.88rem; }
.login-links a { color: var(--muted); text-decoration: none; }
.login-links a:last-child { color: var(--brand); font-weight: 600; }
.login-links a:hover, .login-foot a:hover { text-decoration: underline; }
.login-card > p.login-foot { border-top: 1px solid var(--line); margin: 20px 0 0; padding-top: 16px; font-size: 0.86rem; text-align: center; }
.login-foot a { display: block; margin-top: 6px; color: var(--brand); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .login-card { order: -1; justify-self: stretch; max-width: none; } }

/* Warm theme (Nov 2026): tinted bands, white cards, plum accents. Later rules here override the ones above. */
:root {
  --bg: #F7F4EF; --surface: #EDE8E1; --surface-2: #EFE7F3; --card: #FFFFFF;
  --ink: #2B2530; --text: #2B2530; --muted: #6B6370; --hero-muted: #6B6370;
  --line: #DED6CC; --line-strong: #CFC6BA;
  --brand: #5B3A72; --brand-strong: #472C5A; --brand-soft: #EFE7F3; --link: #5B3A72;
  --btn-bg: #5B3A72; --btn-bg-hover: #472C5A; --focus: #5B3A72;
  --sky: #5B3A72; --blue: #6F8A72; --sage: #6F8A72; --sage-soft: #EAF0EB; --brick: #A5483A;
  --plum-dark: #2E2436; --on-dark: #F3EEF5;
  --shadow: 0 1px 2px rgba(46, 36, 54, 0.06); --shadow-lg: 0 1px 2px rgba(46, 36, 54, 0.06);
  --r-lg: 8px;
}

/* Headings */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }

/* Bands */
.utility, .site-header, .hero { background: var(--bg); }
main > .band, main > .band.alt, main > .band.tint { background: var(--bg); }
main > .band:nth-of-type(even), main > .band.alt:nth-of-type(even), main > .band.tint:nth-of-type(even) { background: var(--surface); }
main > .band:has(.facts):has(a[href*="security-privacy"]),
main > .band:has(.steps):has(a[href*="getting-started"]) { background: var(--plum-dark); color: var(--on-dark); }
main > .band:has(.facts):has(a[href*="security-privacy"]) .section-head h2,
main > .band:has(.steps):has(a[href*="getting-started"]) .section-head h2,
main > .band:has(.facts):has(a[href*="security-privacy"]) .section-head .lead,
main > .band:has(.steps):has(a[href*="getting-started"]) .section-head .lead,
main > .band:has(.facts):has(a[href*="security-privacy"]) .text-link,
main > .band:has(.steps):has(a[href*="getting-started"]) .text-link { color: var(--on-dark); }
main > .band:has(.facts):has(a[href*="security-privacy"]) :focus-visible,
main > .band:has(.steps):has(a[href*="getting-started"]) :focus-visible,
.site-footer :focus-visible { outline-color: var(--on-dark); }

/* Cards */
.card, .fact, .steps li, .faq details, .quote, .shift-row, .fgroup, .outcome-card, .pillars > div:nth-child(n), .record-map .node, .switcher a, .contact-line {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow);
}
.card, .fact, .steps li, .quote, .fgroup, .outcome-card, .pillars > div:nth-child(n) { padding: 28px; }
.program-card { padding: 0; }
.program-card .top { padding: 28px 28px 0; }
.program-card .bottom { padding: 0 28px 28px; }
.shift-row > div { padding: 28px; }
.faq summary { padding: 20px 28px; }
.faq details > div { padding: 0 28px 24px; }
.pillars { gap: 20px; border-top: 0; }
.steps { margin: 0; padding: 0; }
.outcome-card { border-top: 1px solid var(--line); }
a.card, .record-map .node, .switcher a { transition: border-color 0.15s, transform 0.15s; }
a.card:hover, .record-map .node:hover, .switcher a:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.quote, .mock[aria-label*="HPCO"] { border-left: 3px solid var(--brand); }

/* Client logos */
.logos { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px 24px; }

/* Sign-in box */
.login-card { border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.login-card h2 { background: var(--surface); border-bottom: 1px solid var(--line); margin: -32px -32px 16px; padding: 18px 32px; }

/* Accents */
.eyebrow { padding: 4px 10px; border-radius: 8px; background: #EFE7F3; color: #5B3A72; font-size: 0.72rem; letter-spacing: 0.1em; }
.hero .eyebrow { color: #5B3A72; }
.eyebrow::before { display: none; }
.ic-badge { background: var(--sage-soft); color: var(--sage); border-radius: 8px; }
.panel a .ic { background: var(--sage-soft); color: var(--sage); border-radius: 8px; }
.checklist li svg, .flist li svg, .hero .proof svg, .cta-band .promise svg, .utility svg, .role svg, .switcher svg, .record-map .node svg,
.contact-line svg, .mock .note svg { color: var(--sage); }
.program-card li::before { background: var(--sage); }
.utility a.urgent, .utility a.urgent:hover, .utility a.urgent svg, .login-links a[href*="emergency" i] { color: var(--brick); }

/* Buttons, corners, fields */
.btn, .btn-sm, .login-submit, .header-cta { min-height: 48px; }
.cta-band, .form-card, .calc, .mock, .table-wrap, .included, .included .pill, .role, .quote .tag, .checks, .checks label,
.panel, .panel a, .record-map .core, .contact-line .copy, .menu-toggle, .navbtn,
.mock .tile, .mock .chart, .mock .rows, .mock .cal, .mock .note, .mock .sample, .mock .pillx, .mock .mbtn { border-radius: 8px; }
.cta-band { box-shadow: var(--shadow); }
.field input, .field textarea, .field select { background: var(--card); border-radius: 8px; }
.login-field input { border-radius: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }

/* Footer */
.site-footer { background: var(--plum-dark); color: var(--on-dark); border-top: 1px solid var(--line); }
.site-footer a, .foot-grid h4, .foot-contact, .foot-contact span, .foot-brand .wordmark, .foot-brand .wordmark b { color: var(--on-dark); }
.site-footer a:hover { color: #FFFFFF; }
.foot-brand .chip { background: #FFFFFF; padding: 8px 12px; border-radius: 8px; }
.foot-bottom { border-top-color: rgba(243, 238, 245, 0.25); }

/* Client logos stay greyscale on hover too */
.logo-tile:hover img { filter: grayscale(1); opacity: 0.8; }
