/* MealSecretary public website — visual language: connected operations.
   Tokens → base → layout → header/nav → hero → components → graphics → charts → pages → footer → responsive. */

:root {
	--brand: #0e7a6d;
	--brand-strong: #095d53;
	--brand-soft: #e5f4f1;
	--brand-line: #b9e0d8;
	--brand-fill: #0e7a6d;
	--ink: #0d1a22;
	--text: #22303a;
	--muted: #586675;
	--line: #e2e8ec;
	--line-strong: #cbd4db;
	--bg: #ffffff;
	--bg-alt: #f4f7f7;
	--surface: #ffffff;
	--surface-2: #f8fafa;
	--ai: #5a3ec8;
	--ai-soft: #f0ecfd;
	--ok: #087443; --ok-soft: #e6f5ec;
	--beta: #1d5fbf; --beta-soft: #e8f0fc;
	--soon: #8a5300; --soon-soft: #fdf1dc;
	--plan: #475467; --plan-soft: #eef1f4;
	--warn: #a15c07; --warn-soft: #fdf3e2;
	--s1: #00897b; --s2: #eb6834;
	--dark-bg: #0b1d21; --dark-surface: #11292e; --dark-line: #24464c; --dark-text: #d8e6e8;
	--focus: #2563eb;
	--radius: 14px; --radius-sm: 9px;
	--shadow: 0 1px 2px rgba(13, 26, 34, .05), 0 2px 6px rgba(13, 26, 34, .05);
	--shadow-lg: 0 18px 50px -12px rgba(13, 26, 34, .22), 0 2px 6px rgba(13, 26, 34, .06);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Bengali", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--header-h: 64px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--brand: #2bb3a2; --brand-strong: #5ccfbf; --brand-soft: #10302c; --brand-line: #1f5a52; --brand-fill: #0d6f63;
		--ink: #eef4f6; --text: #d3dde2; --muted: #98a6b1; --line: #26333b; --line-strong: #35444e;
		--bg: #0f1519; --bg-alt: #131b20; --surface: #161f25; --surface-2: #1b252c;
		--ai: #a993ff; --ai-soft: #231d3f;
		--ok: #4ccf8e; --ok-soft: #10291d; --beta: #79a9f2; --beta-soft: #132339; --soon: #f0b04f; --soon-soft: #2e2311; --plan: #a3b0bc; --plan-soft: #222c33;
		--warn: #f0b04f; --warn-soft: #2e2311;
		--s1: #159c86; --s2: #d95926;
		--dark-bg: #08161a; --dark-surface: #0f2328; --dark-line: #22434a;
		--shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-lg: 0 18px 50px -12px rgba(0,0,0,.6);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--brand: #2bb3a2; --brand-strong: #5ccfbf; --brand-soft: #10302c; --brand-line: #1f5a52; --brand-fill: #0d6f63;
	--ink: #eef4f6; --text: #d3dde2; --muted: #98a6b1; --line: #26333b; --line-strong: #35444e;
	--bg: #0f1519; --bg-alt: #131b20; --surface: #161f25; --surface-2: #1b252c;
	--ai: #a993ff; --ai-soft: #231d3f;
	--ok: #4ccf8e; --ok-soft: #10291d; --beta: #79a9f2; --beta-soft: #132339; --soon: #f0b04f; --soon-soft: #2e2311; --plan: #a3b0bc; --plan-soft: #222c33;
	--s1: #159c86; --s2: #d95926; color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.025em; font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 680; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-strong); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.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-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow-lg); }
.skip-link:focus { left: 12px; }
#main:focus { outline: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.icon.flip { transform: scaleX(-1); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }
.sec { padding: 88px 0; position: relative; }
.sec--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--alt + .sec--alt { border-top: 0; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .lead, .lead { font-size: 1.14rem; color: var(--muted); line-height: 1.65; }
.sec-head--center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 14px; justify-content: inherit; }
.sec-head--center .eyebrow { justify-content: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split--reverse .split-text { order: 2; }
.split-text > h2 { margin-bottom: .6em; }
.split-visual { min-width: 0; }
.answer { margin: 0 0 20px; padding: 16px 18px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.answer h3 { font-size: 1rem; margin-bottom: 6px; }
.answer p { margin: 0; color: var(--text); }
.answer-lead { max-width: 820px; margin: -16px auto 40px; text-align: center; font-size: 1.12rem; color: var(--text); }
.statement { font-size: 1.3rem; font-weight: 720; color: var(--ink); margin: 18px 0; }
.center.statement, .control-strip .statement { text-align: center; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .95rem; }
.callout .icon { color: var(--brand); margin-top: 2px; }
.qa-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.qa-pair p { margin: 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font: 650 15.5px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -6px rgba(14,122,109,.55); }
.btn--primary:hover { background: var(--brand-strong); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary { color: #04201c; } :root:not([data-theme="light"]) .btn--primary:hover { color: #04201c; } }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.cta-row--center { justify-content: center; }
.micro { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.cta-row--center + .micro { justify-content: center; }
.micro .icon { color: var(--ok); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; color: var(--brand); }
.more .icon { transition: transform .15s; }
.more:hover .icon, a:hover > .more .icon, .solution-card:hover .more .icon { transform: translateX(3px); }

/* ---------- Status badges (icon + text, never colour alone) ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font: 650 11.5px/1 var(--font); letter-spacing: .02em; text-transform: none; padding: 4px 8px 4px 6px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.badge .icon { width: 13px; height: 13px; }
.badge--available { background: var(--ok-soft); color: var(--ok); }
.badge--beta { background: var(--beta-soft); color: var(--beta); }
.badge--coming { background: var(--soon-soft); color: var(--soon); }
.badge--planned { background: var(--plan-soft); color: var(--plan); }
h2 .badge, h1 .badge { font-size: 12px; vertical-align: .35em; }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; font-size: 1.12rem; letter-spacing: -.01em; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-logo { max-height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 12px; flex: 1; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0 auto 0 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: 8px; border: 0; background: none; color: var(--text); font: 560 15px/1.2 var(--font); text-decoration: none; cursor: pointer; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--bg-alt); color: var(--ink); }
.nav-link.is-current { color: var(--brand-strong); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .15s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .btn { min-height: 40px; padding: 0 18px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
.mega.is-open { display: block; }
@media (prefers-reduced-motion: no-preference) { .mega.is-open { animation: mega-in .16s ease-out; } }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-inner { max-width: var(--wrap); margin: 0 auto; padding: 24px; display: grid; grid-template-columns: 1fr 280px; gap: 32px; }
.mega-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
.mega-list a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mega-list a:hover, .mega-list a[aria-current] { background: var(--bg-alt); }
.mega-list strong { display: block; font-weight: 650; }
.mega-desc { display: block; font-size: .9rem; color: var(--muted); }
.mega-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-strong); flex: none; }
.mega-aside { background: var(--bg-alt); border-radius: 12px; padding: 18px; font-size: .95rem; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mega-aside p { margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; background:
	radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 18%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
	linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.2rem; color: var(--text); }
.hero-sub { color: var(--muted); }
.audience { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.hero-visual { position: relative; padding-bottom: 116px; }
.ai-float { position: absolute; right: -28px; bottom: 0; width: 230px; padding: 14px 16px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--ai) 35%, var(--line)); border-radius: 14px; box-shadow: var(--shadow-lg); }
.ai-float p { margin: 0; }
.ai-float-head { display: flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 750; letter-spacing: .08em; color: var(--ai); flex-wrap: wrap; }
.ai-float-label { font-size: .85rem; color: var(--muted); margin-top: 8px !important; }
.ai-float-value { font-size: 1.9rem; font-weight: 750; color: var(--ink); line-height: 1.1; }
.ai-float-value span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.ai-float-conf { font-size: .88rem; color: var(--muted); }
.ai-float-conf strong { color: var(--ink); }

/* Inner page hero */
.page-hero { padding: 28px 0 72px; background:
	radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 16%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
	linear-gradient(180deg, var(--bg-alt), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 28px; }
.page-hero--split .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.page-hero-text { max-width: 760px; }
.page-hero .lead { color: var(--text); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs .icon { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Product UI mockups ---------- */
.ui { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.ui-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); flex-wrap: wrap; }
.ui-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .95rem; margin-right: auto; }
.ui-title .icon { color: var(--brand); }
.ui-mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--brand-fill); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .03em; }
.ui-meta { font-size: .8rem; color: var(--muted); }
.ui-body { padding: 14px 18px 18px; }
.ui-sub { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 8px; }
.ui-caption { padding: 10px 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.ui-rows { margin: 0; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; font-size: .95rem; }
.ui-row dt { display: inline-flex; align-items: center; gap: 9px; color: var(--text); flex-wrap: wrap; }
.ui-row dt .icon { color: var(--muted); }
.ui-row dd { margin: 0; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.ui-row.is-strong dd, .ui-row.is-strong dt { font-weight: 700; color: var(--ink); }
.ui-row.is-minus dd { color: var(--muted); }
.ui-row.is-minus dd::before { content: "− "; }
.ui-row.is-plus dd::before { content: "+ "; }
.ui-row.is-plus dd { color: var(--brand-strong); }
.ui-row.is-total { margin: 2px -10px; padding: 10px; background: var(--brand-soft); border-radius: 10px; }
.ui-row.is-total dt, .ui-row.is-total dd { color: var(--brand-strong); font-weight: 750; }
.ui-row.is-total dd { font-size: 1.15rem; }
.ui-row.is-total dt .icon { color: var(--brand-strong); }
.ui-row.is-muted dd { color: var(--muted); }
.ui-row.is-later dd { color: var(--muted); }
.ui-row .badge { font-size: 10.5px; padding: 3px 7px 3px 5px; }
.ui-row.has-sep { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.ui-row.is-total.has-sep { margin-top: 10px; }
.ui-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.ui-tiles--4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.ui-tile { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ui-tile-label { display: block; font-size: .75rem; color: var(--muted); }
.ui-tile-value { display: block; font-size: 1.35rem; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.ui-tile-note { display: block; font-size: .75rem; color: var(--muted); }
.ui-action { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--brand); color: var(--brand-strong); font-weight: 650; font-size: .92rem; }
.ui--ai { border-color: color-mix(in srgb, var(--ai) 35%, var(--line)); }
.ui--ai .ui-title .icon { color: var(--ai); }
.ui--ai .ui-row.is-total { background: var(--ai-soft); }
.ui--ai .ui-row.is-total dt, .ui--ai .ui-row.is-total dd, .ui--ai .ui-row.is-total dt .icon { color: var(--ai); }

/* Serving counter mockup */
.serve-scan { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: .95rem; }
.serve-scan .icon { color: var(--brand); width: 26px; height: 26px; }
.serve-result { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; }
.serve-result > .icon { width: 26px; height: 26px; }
.serve-result div { flex: 1; min-width: 0; }
.serve-result strong { display: block; color: var(--ink); }
.serve-result span { font-size: .85rem; color: var(--muted); }
.serve-result.is-ok { background: var(--ok-soft); }
.serve-result.is-ok > .icon { color: var(--ok); }
.serve-result.is-warn { background: var(--warn-soft); }
.serve-result.is-warn > .icon { color: var(--warn); }
.serve-btn { padding: 8px 16px; border-radius: 9px; background: var(--brand-fill); color: #fff !important; font-weight: 700; font-size: .9rem !important; }

/* Consumption picker mockup */
.portion-picker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.portion-picker li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 12px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.portion-picker li.is-selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand) inset; }
.portion { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--brand); background: conic-gradient(var(--brand) calc(var(--p, 0) * 1%), transparent 0); }
.portion--custom { background: repeating-linear-gradient(45deg, var(--brand-soft) 0 4px, transparent 4px 8px); }
.portion--unknown { display: grid; place-items: center; border-style: dashed; color: var(--muted); font-weight: 750; background: none; }

/* Professional workspace mockup */
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.review-list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; }
.review-list li > span:nth-child(2) { flex: 1; min-width: 0; color: var(--muted); }
.review-list strong { display: block; color: var(--ink); }
.review-list em { font-style: normal; font-size: .75rem; font-weight: 650; color: var(--brand-strong); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ai-soft); color: var(--ai); font-weight: 750; flex: none; }

/* ---------- Lists, chips, cards ---------- */
.checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li > .icon { color: var(--ok); margin-top: 3px; }
.checks li.is-coming > .icon, .checks li.is-planned > .icon { color: var(--muted); }
.checks li.is-beta > .icon { color: var(--beta); }
.checks .badge { margin-left: 4px; }
.checks--2col { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.checks--3col { grid-template-columns: repeat(3, 1fr); gap: 8px 20px; margin-top: 32px; }
.chips { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 560; color: var(--ink); }
.chips li .icon { color: var(--brand); width: 17px; height: 17px; }
.chips--muted li { background: var(--surface-2); }
.chips--center { justify-content: center; margin-top: 28px; }
.cards { display: grid; gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:has(a):hover { border-color: var(--brand-line); box-shadow: var(--shadow-lg); }
.card h3 { margin: 12px 0 6px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .more { margin-top: 12px; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); }
.cards--mini .card { padding: 16px; box-shadow: none; }
.cards--mini .card-icon { width: 36px; height: 36px; border-radius: 10px; }
.cards--mini h3 { font-size: .98rem; margin: 10px 0 4px; }
.cards--mini p { font-size: .87rem; }
.sec--alt .card { box-shadow: none; }

.solution-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: var(--shadow); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.solution-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--brand-soft); opacity: .7; }
.solution-card:hover { border-color: var(--brand-line); box-shadow: var(--shadow-lg); color: var(--text); }
@media (prefers-reduced-motion: no-preference) { .solution-card:hover { transform: translateY(-2px); } }
.solution-card h3 { font-size: 1.3rem; margin: 16px 0 8px; }
.solution-card p { color: var(--muted); flex: 1; }
.solution-icon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--brand-fill); color: #fff; }
.solution-icon .icon { width: 28px; height: 28px; }
.solution-card--alt .solution-icon { background: var(--ai); }
.solution-card--alt::before { background: var(--ai-soft); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.compare-col { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.compare-col h3 { font-size: 1rem; color: var(--muted); }
.compare-col--ms { background: var(--brand-soft); border-color: var(--brand-line); }
.compare-col--ms h3 { color: var(--brand-strong); }
.compare .chips { margin: 0; }

/* ---------- Workflow graphics ---------- */
.flow { overflow-x: clip; list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: stretch; counter-reset: flow; }
.flow-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; counter-increment: flow; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 20px; width: 14px; height: 14px; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15M13.5 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15M13.5 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .75; }
.flow-node { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-weight: 620; color: var(--ink); font-size: .95rem; }
.flow-node .icon { color: var(--brand); }
.flow--numbered .flow-node::before { content: counter(flow); display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--brand-fill); color: #fff; font-size: .72rem; font-weight: 750; }
.flow-note { font-size: .8rem; color: var(--muted); max-width: 200px; }
.flow-step .badge { margin-top: 2px; }
.flow-step.is-active .flow-node { border-color: var(--brand); background: var(--brand-soft); }
.flow-step.is-later .flow-node { border-style: dashed; box-shadow: none; }
.flow--compact { gap: 10px 26px; }
.flow--compact .flow-node { padding: 7px 11px; font-size: .88rem; box-shadow: none; }
.flow--compact .flow-step:not(:last-child)::after { top: 12px; right: -20px; }
.flow--text .flow-node { background: var(--surface-2); }
.flow--center { justify-content: center; margin-top: 24px; }
.flow--wide { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 26px 30px; }
.flow--wide .flow-node { width: 100%; }
.flow--wide .flow-node { flex-direction: column; text-align: center; gap: 8px; padding: 14px 12px; min-width: 0; height: 100%; justify-content: flex-start; }
.flow--wide .flow-node .icon { width: 26px; height: 26px; }
.flow--wide .flow-step { align-items: center; }
.flow--wide .flow-step:not(:last-child)::after { top: 38px; }
.flow--compact.flow--wide .flow-node { padding: 12px 8px; font-size: .86rem; }
.flow--compact.flow--wide .flow-step:not(:last-child)::after { top: 34px; }
.flow--numbered.flow--wide .flow-node::before { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); }
.flow--numbered.flow--wide .flow-node { position: relative; padding-top: 20px; }
.flow--down { flex-direction: column; align-items: center; gap: 22px; }
.flow--down .flow-step { align-items: center; }
.flow--down .flow-step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -19px; transform: translateX(-50%) rotate(90deg); }
.flow--down .flow-node { min-width: 220px; justify-content: center; }

.flow--checkpoints .flow-note { text-align: center; color: var(--brand-strong); font-weight: 600; max-width: 130px; }
.flow--access .flow-node { min-width: 240px; }
.flow--access .flow-step:last-child .flow-node { background: var(--brand-fill); color: #fff; border-color: var(--brand-fill); }
.flow--access .flow-step:last-child .flow-node .icon { color: #fff; }

/* Lifecycle: four swimlanes, one per question, steps flow left → right, lanes flow top → bottom */
.lifecycle { display: grid; gap: 22px; margin-bottom: 28px; counter-reset: lc; }
.lifecycle-group { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); }
.lifecycle-group:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -19px; width: 14px; height: 14px; transform: translateX(-50%) rotate(90deg); background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15M13.5 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15M13.5 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.lifecycle-label { font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0; }
.lifecycle-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.lc-step { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 12px 6px 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.lc-step:not(:last-child)::after { content: ""; position: absolute; right: -21px; top: 50%; width: 16px; height: 2px; background: var(--brand-line); }
.lc-step > .icon { width: 26px; height: 26px; color: var(--brand); }
.lc-step.is-coming, .lc-step.is-planned { border-style: dashed; background: transparent; }
.lc-step.is-coming > .icon, .lc-step.is-planned > .icon { color: var(--muted); }
.lc-num { position: absolute; top: 6px; left: 9px; font-size: .7rem; font-weight: 750; color: var(--muted); }
.lc-name { font-size: .9rem; font-weight: 650; color: var(--ink); line-height: 1.25; }
.lc-note { font-size: .72rem; color: var(--muted); line-height: 1.3; }
.lc-step .badge { font-size: 10px; padding: 3px 6px 3px 4px; }

/* ≠ graphic */
.neq { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 10px; }
.neq li:not(.neq-sign) { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-width: 140px; flex: 1 1 140px; max-width: 180px; padding: 16px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.neq-label { font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.neq-value { font-size: 1.6rem; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; margin-top: 4px; }
.neq-note { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.neq-sign { display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; color: var(--muted); }

/* Phases (pause/resume) */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 260px 1fr; gap: 0; align-items: stretch; }
.phase { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.phase .checks { margin: 0; }
.phase-title { display: flex; align-items: center; gap: 8px; font-weight: 750; color: var(--ink); }
.phase-title .icon { color: var(--brand); }
.phase--marker { position: relative; margin: 18px -1px; border-radius: 0; background: var(--brand-fill); border-color: var(--brand-fill); color: #e9fbf7; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.phase--marker .phase-title { justify-content: center; color: #fff; }
.phase--marker .phase-title .icon { color: #fff; }
.phase--marker p:last-child { margin: 0; font-size: .9rem; }

/* Tree (person claim) */
.tree { display: flex; flex-direction: column; align-items: center; }
.tree-root { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--brand-fill); color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.tree-root .icon { color: #fff; }
.tree-branches { list-style: none; margin: 0 0 26px; padding: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; position: relative; }
.tree-branches::before { content: ""; position: absolute; top: 0; left: 50%; height: 18px; width: 2px; background: var(--brand-line); }
.tree-branches li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink); }
.tree-branches li .icon { color: var(--brand); width: 18px; height: 18px; }
.tree .flow--down .flow-step:last-child .flow-node { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-strong); text-transform: uppercase; letter-spacing: .04em; }

/* Hub (provider) */
.hub { display: flex; flex-direction: column; align-items: center; }
.hub-centre { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: var(--brand-fill); color: #fff; font-size: 1rem; }
.hub-centre .icon { color: #fff; }
.hub-spokes { list-style: none; margin: 0 0 24px; padding: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 460px; position: relative; }
.hub-spokes::before { content: ""; position: absolute; top: 12px; left: 16.6%; right: 16.6%; height: 2px; background: var(--brand-line); }
.hub-spokes::after { content: ""; position: absolute; top: 0; left: 50%; height: 12px; width: 2px; background: var(--brand-line); }
.hub-spokes li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 12px 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.hub-spokes li::before { content: ""; position: absolute; top: -12px; left: 50%; height: 12px; width: 2px; background: var(--brand-line); }
.hub-spokes strong { color: var(--ink); }
.hub-spokes span { font-size: .82rem; color: var(--muted); }
.hub-spokes em { font-style: normal; font-weight: 750; color: var(--brand-strong); font-variant-numeric: tabular-nums; }

/* Equation */
.equation { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 0 auto 8px; }
.eq-term, .eq-result { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 650; color: var(--ink); box-shadow: var(--shadow); }
.eq-term .icon { color: var(--brand); }
.eq-result { background: var(--brand-fill); border-color: var(--brand-fill); color: #fff; }
.eq-op { font-size: 1.6rem; font-weight: 700; color: var(--muted); }

/* Traceability (signature graphic) */
.sec--dark { background: var(--dark-bg); color: var(--dark-text); background-image: radial-gradient(circle at 1px 1px, rgba(120, 220, 205, .14) 1px, transparent 0); background-size: 22px 22px; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark .lead { color: #a9c3c6; }
.sec--dark .eyebrow { color: #6fe0cf; }
.trace { position: relative; padding: 8px 0; }
.trace-dir { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: #6fe0cf; margin: 0 0 14px; }
.trace-dir--fwd { justify-content: flex-end; }
.trace-dir--back { margin: 14px 0 0; color: #f2a477; }
.trace-dir--fwd::before, .trace-dir--back::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .35; }
.flow--trace { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 22px 26px; margin: 0; }
.flow--trace .flow-node { width: 100%; height: 100%; flex-direction: column; gap: 6px; min-width: 0; padding: 12px 10px; background: var(--dark-surface); border-color: var(--dark-line); color: #fff; box-shadow: none; font-size: .85rem; text-align: center; }
.flow--trace .flow-node .icon { color: #6fe0cf; width: 24px; height: 24px; }
.flow--trace .flow-step:not(:last-child)::after { background: #6fe0cf; top: 30px; right: -20px; }
.flow--trace .flow-step:first-child .flow-node, .flow--trace .flow-step:last-child .flow-node { border-color: #6fe0cf; }
.sec--dark .badge--coming { background: #3a2c10; color: #f6c46e; }
.sec--dark .badge--planned { background: #233036; color: #c1ccd4; }

/* ---------- Calculator ---------- */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg); }
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.calc-head h3 { margin: 0; }
.calc-tag { font-size: .75rem; font-weight: 700; color: var(--brand-strong); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.calc-row { display: grid; grid-template-columns: 1fr 24px 130px; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.calc-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.calc-label .icon { color: var(--muted); }
.calc-op { text-align: center; font-weight: 800; color: var(--muted); font-size: 1.1rem; }
.calc-row input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-2); color: var(--ink); font: 650 1rem var(--font); text-align: right; font-variant-numeric: tabular-nums; }
.calc-row input:focus { border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--brand) 25%, transparent); outline-offset: 0; }
.calc-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--brand-fill); color: #e6faf6; }
.calc-total span { font-weight: 750; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.calc-total output { font-size: 2rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.calc-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Charts ---------- */
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 22px; }
.chart { margin: 0; position: relative; }
.chart-title { font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.chart-note { font-size: .78rem; color: var(--muted); margin: 8px 0 0; }
.bars { display: grid; gap: 4px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; padding: 3px 0; border-radius: 6px; cursor: default; }
.bar-label { font-size: .85rem; color: var(--text); text-align: right; }
.bar-track { position: relative; display: flex; align-items: center; gap: 8px; height: 22px; }
.bar { display: block; height: 18px; width: var(--w); min-width: 3px; max-width: calc(100% - 64px); background: var(--s1); border-radius: 0 4px 4px 0; opacity: .82; transition: opacity .15s; }
.bar-row.is-hl .bar { opacity: 1; background: var(--s2); }
.bar-row:hover .bar { opacity: 1; }
.bar-value { font-size: .82rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-svg { width: 100%; height: auto; display: block; overflow: visible; }
.line-svg .grid { stroke: var(--line); stroke-width: 1; }
.line-svg .tick { fill: var(--muted); font: 11px var(--font); }
.line-svg .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.line-svg .line.s1 { stroke: var(--s1); }
.line-svg .line.s2 { stroke: var(--s2); }
.line-svg .is-dashed { stroke-dasharray: 5 4; }
.line-svg .dot { stroke: var(--surface); stroke-width: 2; }
.line-svg .dot.s1 { fill: var(--s1); }
.line-svg .dot.s2 { fill: var(--s2); }
.line-svg .band { fill: var(--s1); opacity: .1; }
.line-svg .end-label { fill: var(--ink); font: 650 12px var(--font); }
.line-svg .hit { fill: transparent; cursor: crosshair; }
.line-svg .hit:hover { fill: color-mix(in srgb, var(--ink) 5%, transparent); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 6px; padding: 0; font-size: .82rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.key { display: inline-block; }
.key--line { width: 18px; height: 3px; border-radius: 2px; }
.key--line.s1 { background: var(--s1); }
.key--line.s2 { background: var(--s2); }
.key--band { width: 16px; height: 10px; border-radius: 3px; background: color-mix(in srgb, var(--s1) 18%, transparent); }
.tip { position: fixed; z-index: 300; pointer-events: none; background: var(--ink); color: var(--bg); font: 600 12.5px/1.4 var(--font); padding: 7px 10px; border-radius: 8px; box-shadow: var(--shadow-lg); max-width: 280px; }

/* Analytics */
.analytics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chart-card--wide { grid-column: 1 / -1; }
.metric-group { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.metric-group-head { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; flex-wrap: wrap; color: var(--ink); }
.metric-group-head .icon { color: var(--brand); }
.metric-group-head .badge { margin-left: auto; }
.metric-group-items { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- MealSec AI ---------- */
.sec--ai { background: linear-gradient(180deg, var(--bg) 0%, var(--ai-soft) 50%, var(--bg) 100%); }
.sec--ai .eyebrow { color: var(--ai); }
.ask { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; margin-bottom: 40px; align-items: start; }
.ask-label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.ask-label .icon { color: var(--ai); }
.ask-list { display: grid; gap: 8px; }
.ask-list button { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 560 .95rem/1.4 var(--font); cursor: pointer; transition: border-color .15s, background .15s; }
.ask-list button:hover { border-color: color-mix(in srgb, var(--ai) 45%, var(--line)); }
.ask-list button[aria-selected="true"] { border-color: var(--ai); background: var(--ai-soft); box-shadow: 0 0 0 1px var(--ai) inset; }
.ask-panel { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border: 1px solid color-mix(in srgb, var(--ai) 35%, var(--line)); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.ask-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--ai-soft); font-weight: 750; color: var(--ai); }
.ask-bar span { display: inline-flex; align-items: center; gap: 8px; }
.ask-answer { padding: 18px 20px 6px; }
@media (prefers-reduced-motion: no-preference) { .ask-answer:not([hidden]) { animation: ask-in .25s ease-out; } }
@keyframes ask-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ask-q { font-weight: 650; color: var(--ink); padding: 10px 14px; background: var(--surface-2); border-radius: 12px 12px 12px 4px; display: inline-block; }
.ask-result { margin: 4px 0 16px; padding: 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--ai) 30%, var(--line)); }
.ask-result p { margin: 0; }
.ask-kicker { font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.ask-value { font-size: 2.2rem; font-weight: 800; color: var(--ai); line-height: 1.15; font-variant-numeric: tabular-nums; }
.ask-meta { color: var(--muted); font-weight: 600; }
.ask-factors { margin: 0 0 14px; padding-left: 18px; }
.ask-factors li { margin: 3px 0; }
.ask-btn { display: inline-block; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--ai); color: var(--ai); font-weight: 650; font-size: .9rem; margin-bottom: 14px; }
.ask-disclaimer { margin: 0; padding: 10px 20px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.ai-forecast-split { margin-bottom: 36px; }
.h3-lg { font-size: 1.45rem; }
.ai-grid { margin-bottom: 36px; }
.ai-grid .card-icon { background: var(--ai-soft); color: var(--ai); }
.control-strip { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 24px; }
.control-strip .flow { justify-content: center; margin-bottom: 8px; }
.control-strip .flow-step:nth-child(4) .flow-node { border-color: var(--ai); background: var(--ai-soft); }

/* Modules */
.modmap { display: flex; flex-direction: column; align-items: center; margin-bottom: 36px; }
.modmap-root { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; background: var(--ink); color: var(--bg); letter-spacing: .08em; }
.modmap-mark { width: 26px; height: 26px; }
.modmap-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; max-width: 900px; padding-top: 28px; position: relative; }
.modmap-cols::before { content: ""; position: absolute; top: 14px; left: 16.6%; right: 16.6%; height: 2px; background: var(--line-strong); }
.modmap-cols::after { content: ""; position: absolute; top: 0; left: 50%; height: 14px; width: 2px; background: var(--line-strong); }
.modmap-col { position: relative; display: grid; gap: 8px; align-content: start; }
.modmap-col::before { content: ""; position: absolute; top: -14px; left: 50%; height: 14px; width: 2px; background: var(--line-strong); }
.mod { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 620; color: var(--ink); }
.mod .icon { color: var(--brand); }
.mod span { flex: 1; }
.mod--head { background: var(--brand-soft); border-color: var(--brand-line); }
.combos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.combo { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.combo p { margin: 0; }
.combo-head { display: flex; align-items: center; gap: 8px; color: var(--ink); margin-bottom: 8px !important; }
.combo-head .icon { color: var(--brand); }
.combo-mods { font-size: .92rem; color: var(--muted); }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 18px; margin-bottom: 24px; }
.plans--4 { grid-template-columns: repeat(4, 1fr); }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plan { display: flex; flex-direction: column; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan.is-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset, var(--shadow-lg); }
.plan-head { display: flex; align-items: center; gap: 8px; color: var(--ink); margin: 0 0 8px; }
.plan-head .icon { color: var(--brand); }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 0; line-height: 1.15; }
.plan-price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan-desc { color: var(--muted); flex: 1; margin: 6px 0 14px; }
.plan-note { font-size: .82rem; color: var(--muted); margin: -6px 0 14px; }
.plan .checks { font-size: .92rem; margin-bottom: 18px; flex: 1; }
.plan .btn { width: 100%; }
.plan-tag { align-self: flex-start; font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--brand-fill); color: #fff; margin-bottom: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.02rem; }
.faq summary .icon { color: var(--muted); transition: transform .15s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; color: var(--text); }
.faq-a p { margin: 0; }

/* ---------- Final CTA & related ---------- */
.sec--cta { text-align: center; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0) 0 0 / 22px 22px, linear-gradient(135deg, #0a5f55, #0e7a6d 55%, #13917f); color: #e2f7f3; }
.sec--cta h2 { color: #fff; }
.sec--cta .lead { color: #c9efe8; max-width: 640px; margin: 0 auto 8px; }
.sec--cta .btn--primary { background: #fff; color: #0a5f55; box-shadow: none; }
.sec--cta .btn--primary:hover { background: #e6faf6; color: #084b43; }
.sec--cta .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.sec--cta .btn--secondary:hover { border-color: #fff; color: #fff; }
.sec--cta .micro { color: #c9efe8; }
.sec--cta .micro .icon { color: #9ff2e2; }
.related { margin-top: 8px; }
.related-title { font-size: 1.1rem; margin-bottom: 12px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.related a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; }
.related a:hover { border-color: var(--brand-line); }
.related a .icon:first-child { color: var(--brand); }
.related a span { flex: 1; }
.related a .icon:last-child { color: var(--muted); }

/* ---------- Content pages (legal, blog, generic) ---------- */
.prose { font-size: 1.04rem; line-height: 1.75; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); }
.prose blockquote { margin: 1em 0; padding: 4px 18px; border-left: 3px solid var(--brand); color: var(--muted); }
.prose img { border-radius: 12px; height: auto; }
.prose pre { overflow-x: auto; background: var(--surface-2); padding: 14px; border-radius: 10px; }
.prose a { overflow-wrap: anywhere; }
.toc { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); margin-bottom: 28px; font-size: .95rem; }
.toc p { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; }
.post-list { display: grid; gap: 18px; }
.post-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-meta { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; background: var(--surface); }
.pagination .current { background: var(--brand-fill); color: #fff; border-color: var(--brand-fill); }
.empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }

/* Forms (contact, search, comments) */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { display: block; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input, .field select, .field textarea, .search-form input[type=search], .comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea {
	width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: 1rem var(--font); }
.field textarea, .comment-form textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--brand) 22%, transparent); outline-offset: 0; }
.field-help { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .88rem; color: #b42318; margin: 6px 0 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b42318; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-status.is-ok { background: var(--ok-soft); color: var(--ok); }
.form-status.is-err { background: #fdecea; color: #b42318; }
.search-form { display: flex; gap: 8px; }
.comment-form input[type=submit] { min-height: 46px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: 650 15px var(--font); cursor: pointer; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--line); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; }
.start-box { padding: 22px; border-radius: 16px; background: var(--brand-soft); border: 1px solid var(--brand-line); margin-bottom: 18px; }
.start-box h2 { font-size: 1.25rem; }
.side-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-bottom: 18px; }
.side-card h2 { font-size: 1.05rem; }
.form-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 0; padding: 0; margin: 0; }
.cat-grid label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; font-weight: 560; cursor: pointer; margin: 0; font-size: .92rem; }
.cat-grid input { width: auto; min-height: 0; accent-color: var(--brand); }
.cat-grid label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-strong); }

/* Pricing table */
.price-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.price-table th, .price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table thead th { background: var(--surface-2); color: var(--ink); font-size: .85rem; }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table td { color: var(--text); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); margin: 0 auto 28px; flex-wrap: wrap; justify-content: center; }
.tabs button { border: 0; background: none; padding: 10px 16px; border-radius: 9px; font: 650 .95rem var(--font); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.tabs-wrap { text-align: center; }
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.estimator .calc-row { grid-template-columns: 1fr 140px; }

/* Guides & help */
.guide { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 22px; }
.guide h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.guide h2 .icon { color: var(--brand); width: 28px; height: 28px; }
.guide ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.guide ol.steps li { counter-increment: step; position: relative; padding: 2px 0 2px 42px; min-height: 30px; }
.guide ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-weight: 750; font-size: .9rem; }
.guide-meta { font-size: .88rem; color: var(--muted); margin: -4px 0 14px; }
.help-search { max-width: 560px; margin: 0 auto 32px; }
.help-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.help-cats a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.help-cats a:hover { border-color: var(--brand); }
.help-group { margin-bottom: 36px; }
.help-group > h2 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.help-group > h2 .icon { color: var(--brand); }

/* Values (about) */
.values { counter-reset: v; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.timeline strong { color: var(--ink); }
.timeline span { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin: 12px 0 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.footer-col h2 { font-size: .74rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 6px 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--brand); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.footer-top { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: repeat(3, 1fr); }
	.lifecycle-group { grid-template-columns: 1fr; gap: 10px; }
	.cards--5 { grid-template-columns: repeat(3, 1fr); }
	.flow--wide, .flow--trace { grid-template-columns: repeat(min(var(--n, 6), 4), minmax(0, 1fr)); }
	.analytics-grid { grid-template-columns: repeat(2, 1fr); }
	.combos, .plans--4 { grid-template-columns: repeat(2, 1fr); }
	.ai-float { right: 12px; }
}
@media (max-width: 960px) {
	:root { --header-h: 60px; }
	.nav-toggle { display: inline-flex; }
	.site-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 24px; background: var(--bg); overflow-y: auto; border-top: 1px solid var(--line); }
	.site-nav.is-open { display: flex; }
	.nav-list { flex-direction: column; align-items: stretch; margin: 0; }
	.nav-list > li { border-bottom: 1px solid var(--line); }
	.nav-link { width: 100%; justify-content: space-between; padding: 16px 6px; font-size: 1.05rem; border-radius: 0; }
	.nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
	.mega { position: static; box-shadow: none; border: 0; background: none; }
	.mega-inner { grid-template-columns: 1fr; padding: 0 0 12px; gap: 12px; }
	.mega-list { grid-template-columns: 1fr; }
	.mega-list a { padding: 10px 6px; }
	.mega-label, .mega-desc { display: none; }
	.mega-aside { display: none; }
	.mega-icon { width: 36px; height: 36px; }
	.nav-actions { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 18px; margin-top: 4px; }
	.nav-actions .btn { min-height: 48px; }
	.nav-login { justify-content: center; border: 1px solid var(--line-strong); border-radius: 10px; }
	body.nav-open { overflow: hidden; }
	.hero-grid, .split, .page-hero--split .page-hero-grid, .contact-grid, .estimator, .ask { grid-template-columns: minmax(0, 1fr); }
	.split { gap: 32px; }
	.split--reverse .split-text { order: 0; }
	.hero { padding: 40px 0 56px; }
	.ask-panel { position: static; }
	.phases { grid-template-columns: 1fr; }
	.phase--marker { margin: -1px 18px; }
	.cards--3, .cards--4, .solution-cards { grid-template-columns: repeat(2, 1fr); }
	.compare { grid-template-columns: 1fr; }
	.checks--3col { grid-template-columns: 1fr 1fr; }
	.modmap-cols { grid-template-columns: 1fr; padding-top: 16px; }
	.modmap-cols::before, .modmap-cols::after, .modmap-col::before { display: none; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.timeline li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 720px) {
	.wrap { padding: 0 16px; }
	.sec { padding: 56px 0; }
	.sec-head { margin-bottom: 28px; }
	.footer-cols { grid-template-columns: repeat(2, 1fr); }
	.lifecycle-steps { flex-direction: column; gap: 8px; }
	.lc-step:not(:last-child)::after { display: none; }
	.lc-step { flex-direction: row; text-align: left; padding: 10px 12px; gap: 10px; }
	.lc-step .badge, .lc-step .lc-note { margin-left: auto; }
	.lc-num { position: static; min-width: 18px; }
	.cards--2, .cards--3, .cards--4, .cards--5, .solution-cards, .combos, .plans--4, .plans--3, .analytics-grid { grid-template-columns: 1fr; }
	.checks--2col, .checks--3col, .qa-pair, .form-row { grid-template-columns: 1fr; }
	/* Horizontal processes become vertical (spec §71). */
	.flow:not(.flow--compact), .flow--wide, .flow--trace { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
	.flow:not(.flow--compact) .flow-step, .flow--wide .flow-step { align-items: stretch; }
	.flow:not(.flow--compact) .flow-node, .flow--wide .flow-node, .flow--trace .flow-node { flex-direction: row; text-align: left; max-width: none; min-width: 0; width: 100%; justify-content: flex-start; padding: 12px 14px; }
	.flow:not(.flow--compact) .flow-step:not(:last-child)::after, .flow--wide .flow-step:not(:last-child)::after, .flow--trace .flow-step:not(:last-child)::after { right: auto; left: 24px; top: auto; bottom: -19px; transform: rotate(90deg); }
	.flow--numbered.flow--wide .flow-node { padding-top: 12px; }
	.flow--numbered.flow--wide .flow-node::before { position: static; transform: none; }
	.flow--wide .flow-note, .flow-note { max-width: none; padding-left: 4px; }
	.flow--checkpoints .flow-note { text-align: left; }
	.flow--compact { gap: 8px 22px; }
	.neq { flex-direction: column; align-items: stretch; gap: 4px; }
	.neq li:not(.neq-sign) { max-width: none; flex-direction: row; justify-content: space-between; text-align: left; flex-wrap: wrap; padding: 12px 14px; }
	.neq-value { font-size: 1.3rem; margin: 0; order: 2; }
	.neq-note { width: 100%; order: 3; text-align: left; margin-top: 2px; }
	.neq-sign { font-size: 1.1rem; transform: rotate(90deg); height: 18px; }
	.hub-spokes { gap: 8px; }
	.trace-dir { font-size: .7rem; }
	.ai-float { position: relative; right: auto; width: auto; margin-top: 12px; }
	.hero-visual { padding-bottom: 0; }
	.ui-tiles--4 { grid-template-columns: 1fr 1fr; }
	.portion-picker { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bar-row { grid-template-columns: 96px 1fr; }
	.calc-row { grid-template-columns: 1fr 18px 110px; }
	.tabs { display: flex; }
	.equation { flex-direction: column; }
	.eq-term, .eq-result { width: 100%; justify-content: center; }
	.flow--down .flow-node, .flow--access .flow-node { min-width: 0; width: 100%; }
	.cat-grid { grid-template-columns: 1fr 1fr; }
	.price-table { font-size: .88rem; }
	.statement { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
	.site-header, .site-footer, .sec--cta, .nav-toggle { display: none; }
	.sec { padding: 24px 0; }
}
@media (forced-colors: active) {
	.badge, .flow-node, .ui, .card { border: 1px solid CanvasText; }
	.bar { background: CanvasText; }
}

.split + .flow, .split + .cards, .split + .chart-card { margin-top: 48px; }

/* Solution pages */
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pain-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.pain-list .icon { color: #c2410c; }
.hero-flow { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.flow--tight { gap: 16px; margin-bottom: 12px; }
.flow--tight .flow-node { min-width: 230px; padding: 8px 12px; font-size: .9rem; }
.flow--tight .flow-step:not(:last-child)::after { bottom: -15px; width: 12px; height: 12px; }
.page-hero-visual { min-width: 0; }
.page-hero-visual .related ul { grid-template-columns: 1fr; }
.answer h2 { font-size: 1.25rem; margin-bottom: 8px; }
.answer p { font-size: 1.05rem; }
.split--top { align-items: start; }
.split-visual .related ul { grid-template-columns: 1fr; }

/* Platform page */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -8px 0 36px; }
.jump a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.jump a .icon { width: 16px; height: 16px; color: var(--brand); }
.jump a:hover { border-color: var(--brand); }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.area { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 20px); }
.area-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.area-head h3 { margin: 0; flex: 1; font-size: 1.15rem; }
.area > p { color: var(--muted); }
.checks--plain { gap: 6px; }
.checks--sm { font-size: .93rem; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-bottom: 12px; }
.rels { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: grid; gap: 8px; counter-reset: rel; }
.rels li { display: grid; grid-template-columns: 1fr 130px 1fr; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.rels li strong { color: var(--ink); }
.rels li strong:last-child { text-align: right; color: var(--brand-strong); }
.rel-verb { text-align: center; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); position: relative; }
.rel-verb::before, .rel-verb::after { content: ""; position: absolute; top: 50%; width: 14px; height: 1px; background: var(--line-strong); }
.rel-verb::before { left: -8px; } .rel-verb::after { right: -8px; }
@media (max-width: 720px) {
	.areas, .checks--sm { grid-template-columns: 1fr; }
	.rels li { grid-template-columns: 1fr; gap: 2px; text-align: left; }
	.rels li strong:last-child { text-align: left; }
	.rel-verb { text-align: left; }
	.rel-verb::before, .rel-verb::after { display: none; }
}
.mod { flex-wrap: wrap; }
.page-hero-visual .modmap { margin: 0; }
.page-hero-visual .modmap-cols { gap: 10px; }
.page-hero-visual .mod { padding: 8px 10px; font-size: .86rem; gap: 6px 8px; }
.page-hero-visual .mod .badge { flex-basis: 100%; justify-content: flex-start; width: max-content; }
.chips--sm li { font-size: .84rem; padding: 5px 10px; font-weight: 520; }

/* Pricing */
.plan-sub { font-size: .86rem; color: var(--muted); margin: 4px 0 0; }
.plan-note-top { max-width: 720px; margin: 0 auto 24px; color: var(--muted); }
.micro-center { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; }
.micro-center .icon { color: var(--ok); }
.estimate-out { text-align: center; padding: 24px; border-radius: 16px; background: var(--brand-soft); }
.estimate-value { font-size: 3rem; font-weight: 800; color: var(--brand-strong); line-height: 1.1; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.estimator h2 { font-size: 1.5rem; }
.enterprise-box { text-align: center; }
.tab-panel { animation: none; }
.price-table td { font-variant-numeric: tabular-nums; }
/* Visually hidden elements are positioned against the nearest scroll/clip container. */
.prose, .faq, .chart-card, .estimator, .plan, .card, .area { position: relative; }

/* Status note, AI page */
.status-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-strong); background: var(--surface-2); margin-bottom: 24px; }
.status-note p { margin: 0; color: var(--text); }
.out-tag { font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ai); background: var(--ai-soft); padding: 4px 9px; border-radius: 999px; }
.area--ai .card-icon { background: var(--ai-soft); color: var(--ai); }
.q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.q-list li { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: .92rem; color: var(--ink); }
.q-list .icon { color: var(--ai); margin-top: 2px; width: 18px; height: 18px; }
.map-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.map-table th, .map-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.map-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.map-table code { font-size: .85rem; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.map-table tr.is-review td { background: var(--warn-soft); }
.review-tag { font-size: .7rem; font-weight: 750; color: var(--warn); border: 1px solid currentColor; border-radius: 999px; padding: 1px 6px; margin-left: 4px; }
.levels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; counter-reset: lv; }
.level { position: relative; padding: 18px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
.level:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.level strong { display: block; color: var(--ink); margin: 8px 0 4px; }
.level p { margin: 0; font-size: .86rem; color: var(--muted); }
.level-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ai-soft); color: var(--ai); font-weight: 800; }
.level-n .icon { width: 18px; height: 18px; }
.level--human { border-color: var(--ai); background: var(--ai-soft); }
.level--human .level-n { background: var(--ai); color: #fff; }
.high-risk { gap: 32px; }
.high-risk h3 { font-size: 1.05rem; }
.audit-box { max-width: 760px; margin: 28px auto 0; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.audit-box p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .levels { grid-template-columns: 1fr; } .level:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%); } }
.prose .wp-block-table { overflow-x: auto; margin: 1em 0; position: relative; }
.prose .wp-block-table table { margin: 0; min-width: 480px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-card h2 { font-size: 1.4rem; }
.side-card h2 { display: flex; align-items: center; gap: 8px; }
.side-card h2 .icon { color: var(--brand); }
.statement-card { padding: 32px; border-radius: 18px; background: var(--brand-soft); border: 1px solid var(--brand-line); text-align: center; }
.statement-card .statement { font-size: 1.8rem; margin: 0 0 8px; }
.hub-visual { padding: 24px; }
/* A backdrop-filter makes the header the containing block for the fixed drawer; drop it while the menu is open. */
@media (max-width: 960px) {
	body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
	.site-nav { height: calc(100dvh - var(--header-h)); }
}
@media (max-width: 960px) {
	.mega.is-open { animation: none; }
	.mega-list a { padding-left: 12px; }
	.nav-link .chev { width: 20px; height: 20px; }
}

/* Signed-in header controls */
.nav-icon { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.nav-icon:hover { background: var(--bg-alt); color: var(--ink); }
.nav-icon-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-count { position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #c2410c; color: #fff; font: 700 11px/17px var(--font); text-align: center; }
.acct-menu { position: relative; }
.acct-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 10px; cursor: pointer; color: var(--ink); font-weight: 600; }
.acct-menu summary::-webkit-details-marker { display: none; }
.acct-menu summary:hover, .acct-menu[open] summary { background: var(--bg-alt); }
.acct-menu .chev { width: 16px; height: 16px; transition: transform .15s; }
.acct-menu[open] .chev { transform: rotate(180deg); }
.avatar-sm { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-size: .78rem; font-weight: 750; }
.acct-dropdown { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); z-index: 120; display: grid; }
.acct-dropdown a { padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 520; }
.acct-dropdown a:hover { background: var(--bg-alt); }
.acct-who { margin: 4px 12px 6px; font-size: .8rem; color: var(--muted); }
@media (max-width: 960px) {
	.nav-actions .nav-icon { justify-content: center; border: 1px solid var(--line-strong); border-radius: 10px; min-height: 48px; }
	.nav-actions .nav-icon-label { position: static; width: auto; height: auto; clip: auto; }
	.nav-actions .nav-count { position: static; }
	.acct-menu summary { width: 100%; justify-content: center; border: 1px solid var(--line-strong); min-height: 48px; }
	.acct-dropdown { position: static; box-shadow: none; margin-top: 6px; }
}
