/* V12 — clear service cards and a shared visual language for discovery and reading. */
:root {
  --ink: #33445c;
  --ink-strong: #172b4d;
  --muted: #637084;
  --line: #e6e2df;
  --line-soft: #f1eeeb;
  --control-line: #8b96a5;
  --page: #fcfaf8;
  --paper: #fff;
  --surface: #faf7f4;
  --accent: #172b4d;
  --accent-dark: #10223d;
  --accent-soft: #fff2ee;
  --accent-tint: #ffe3dc;
  --accent-border: #b66a5d;
  --warning-ink: #78531c;
  --warning-soft: #fff5e5;
  --notice-ink: #803c26;
  --notice-soft: #fff4ef;
  --notice-line: #e4bcad;
  --coral: #f26b5b;
  --coral-dark: #ac493d;
  --coral-soft: var(--accent-soft);
  --teal: var(--accent);
  --teal-soft: var(--accent-soft);
  --radius: 12px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--page); font: 400 1rem/1.75 var(--font); letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
img, svg { max-width: 100%; }
button svg, a svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--ink-strong); font-weight: 700; line-height: 1.55; letter-spacing: .02em; overflow-wrap: anywhere; }
p + p { margin-top: 1em; }
ul, ol { padding-left: 1.3em; }
strong { font-weight: 700; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 100; top: 9px; left: 16px; width: auto; height: auto; margin: 0; padding: 9px 15px; clip: auto; border: 2px solid var(--accent); border-radius: 6px; background: var(--paper); font-size: .875rem; }

/* A small, predictable header. */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { width: min(1120px, calc(100% - 48px)); min-height: 68px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { flex-shrink: 0; }
.brand-name { display: block; color: var(--ink-strong); font-size: 1.5rem; font-weight: 700; line-height: 1.4; letter-spacing: .05em; }
.brand-dot { color: var(--coral); }
.brand-sub { display: block; margin-top: 3px; color: var(--muted); font-size: .8125rem; line-height: 1.5; letter-spacing: .025em; }
.primary-nav { display: flex; gap: 25px; margin-left: auto; align-items: center; font-size: .875rem; }
.primary-nav a { position: relative; padding: 22px 0 21px; letter-spacing: .025em; }
.primary-nav a.nav-active, .primary-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.primary-nav a.nav-active::after, .primary-nav a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--coral); }
.header-compare { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 11px; border: 1px solid var(--control-line); border-radius: 6px; color: var(--ink); font-size: .875rem; white-space: nowrap; }
.header-compare:hover { border-color: var(--accent-border); background: var(--accent-soft); }
.count-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-dark); font-size: .875rem; font-variant-numeric: tabular-nums; line-height: 1; }
.mobile-quick-nav { display: none; }

/* The directory begins with names, not a cover image. */
.catalog-page { padding-top: 26px; padding-bottom: 14px; }
.catalog-intro { margin-bottom: 22px; }
.catalog-intro h1 { font-size: 1.875rem; letter-spacing: .025em; }
.catalog-intro p { max-width: 58em; margin-top: 7px; color: var(--muted); font-size: 1rem; }
.category-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.category-tab { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; padding: 10px 12px; border: 0; border-bottom: 3px solid transparent; background: var(--paper); color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.category-tab:hover { background: var(--surface); }
.category-tab[aria-pressed="true"] { border-bottom-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.cat-icon { display: inline-flex; align-items: center; color: inherit; }
.cat-icon svg { width: 18px; height: 18px; }
.cat-count { padding: 1px 5px; border-radius: 4px; background: var(--surface); color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; font-weight: 400; }
.category-tab[aria-pressed="true"] .cat-count { background: var(--accent-tint); color: var(--accent-dark); }
.catalog-controls { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.search-box { display: flex; align-items: center; gap: 10px; width: min(100%, 540px); min-height: 46px; padding: 0 13px; border: 1px solid var(--control-line); border-radius: 7px; background: var(--paper); }
.search-icon { display: flex; color: var(--muted); flex-shrink: 0; }
.search-box input { width: 100%; min-width: 0; padding: 10px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.search-box input::placeholder { color: var(--muted); }
.search-box:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-box input:focus-visible { outline: none; }
.catalog-options { margin-left: auto; flex-shrink: 0; }
.catalog-options > summary { min-height: 46px; padding: 10px 13px; border: 1px solid var(--control-line); border-radius: 7px; background: var(--paper); color: var(--ink); font-size: .875rem; cursor: pointer; }
.catalog-options[open] > summary { border-color: var(--accent-border); color: var(--accent); background: var(--accent-soft); }
.options-content { position: absolute; top: 55px; right: 0; z-index: 12; width: min(440px,calc(100vw - 32px)); padding: 19px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 8px 28px #172b4d14; }
.options-content h2, .options-content h3, .filter-title { margin-bottom: 10px; font-size: .875rem; font-weight: 600; }
.options-content .note { margin-top: 8px; }
.filter-chip { display: inline-flex; align-items: center; min-height: 39px; margin: 0 5px 7px 0; padding: 6px 10px; border: 1px solid var(--control-line); border-radius: 5px; background: var(--paper); font-size: .875rem; line-height: 1.6; text-align: left; }
.filter-chip:hover { border-color: var(--accent-border); }
.filter-chip[aria-pressed="true"] { border-color: var(--accent-border); color: var(--accent-dark); background: var(--accent-soft); }
.expanded-option { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: .875rem; cursor: pointer; }
.expanded-option input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.catalog-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 13px; }
.result-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: var(--muted); font-size: .875rem; }
.result-summary strong { color: var(--ink-strong); font-size: 1.25rem; }
.result-summary > span { font-size: .8125rem; }
.catalog-help { color: var(--muted); font-size: .875rem; text-align: right; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 15px; font-size: .875rem; }
.active-filters:empty { display: none; }
.active-filters button:not(.reset-button) { padding: 5px 9px; border: 1px solid var(--accent-border); border-radius: 5px; background: var(--accent-soft); color: var(--accent-dark); overflow-wrap: anywhere; }
.reset-button { padding: 5px 3px; border: 0; background: transparent; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }

/* One consistent row format, grouped by the kind of service. */
.service-list { display: block; }
.service-group { margin-bottom: 36px; }
.service-group-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.service-group-heading > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.service-group-heading h2 { position: relative; padding-left: 13px; font-size: 1.375rem; font-weight: 600; letter-spacing: .025em; }
.service-group-heading h2::before { content: ""; position: absolute; top: .32em; left: 0; width: 3px; height: .95em; border-radius: 1px; background: var(--coral); }
.group-count { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.service-group-heading p { flex-basis: 100%; margin: 0; padding-left: 13px; color: var(--muted); font-size: .875rem; }
.directory-columns, .service-row { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.8fr) minmax(0,1fr) 124px; gap: 18px; }
.directory-columns { padding: 9px 16px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .8125rem; letter-spacing: .025em; }
.service-row { position: relative; align-items: center; padding: 17px 16px; border-bottom: 1px solid var(--line); background: var(--paper); transition: background .15s; }
.service-row:hover { background: var(--surface); }
.service-row:has(input:checked) { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--coral); }
.service-identity, .service-heading { min-width: 0; }
.service-title { font-size: 1.125rem; font-weight: 700; line-height: 1.6; letter-spacing: .01em; }
.service-title a { color: var(--accent); }
.service-title a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.service-summary { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.service-facts { min-width: 0; margin: 0; padding: 0; }
.service-row .fact-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.fact-value { color: var(--ink); font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.service-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.details-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 12px; border: 1px solid var(--accent-border); border-radius: 5px; color: var(--accent-dark); background: var(--paper); font-size: .875rem; font-weight: 600; line-height: 1.65; text-align: center; }
.details-link:hover { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.compare-check { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; color: var(--muted); font-size: .875rem; line-height: 1.6; cursor: pointer; }
.compare-check input { flex-shrink: 0; width: 17px; height: 17px; margin: 0; accent-color: var(--accent); }
.compare-check:has(input:checked) { color: var(--accent-dark); }
.service-extra { grid-column: 1 / -1; padding: 11px 0 0; border-top: 1px solid var(--line-soft); font-size: 1rem; line-height: 1.8; }
.service-extra strong { display: inline; color: var(--muted); font-size: .875rem; font-weight: 500; }
.service-extra p { margin: 3px 0 0; }
.service-status, .status-pending { display: inline-block; padding: 2px 6px; border-radius: 4px; color: var(--warning-ink); background: var(--warning-soft); font-size: .875rem; line-height: 1.6; font-weight: 400; }
.service-heading > .service-status { margin-top: 7px; }
.note { color: var(--muted); font-size: .8125rem; line-height: 1.85; }
.list-note { margin: 17px 0 0; }
.pending-section { margin-top: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.pending-section > summary { margin-left: 17px; color: var(--muted); font-size: .875rem; line-height: 1.8; cursor: pointer; }
.pending-section > summary > span { margin-left: 7px; white-space: nowrap; }
.pending-section[open] > summary { margin-bottom: 12px; }
.pending-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); font-size: 1rem; }
.pending-link > span { color: var(--muted); font-size: .875rem; }

/* Reading is secondary to the directory, with quiet, text-first links. */
.eyebrow { margin-bottom: 7px; color: var(--accent); font-size: .875rem; font-weight: 500; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.section-heading h2 { font-size: 1.375rem; }
.section-heading > a { color: var(--accent); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.feature-reading { margin-top: 30px; padding: 27px 0 35px; border-top: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.guide-card { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.guide-card:hover { border-color: var(--accent-border); background: var(--surface); color: inherit; }
.guide-copy { min-width: 0; }
.guide-category { display: inline-block; margin-bottom: 6px; color: var(--accent); font-size: .8125rem; font-weight: 500; line-height: 1.7; }
.guide-copy h3 { font-size: 1.0625rem; line-height: 1.7; }
.guide-copy p { margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.guide-topic-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.guide-topic-tabs .filter-chip { margin: 0; }
.article-library { padding-bottom: 30px; }
.reading-list-heading { margin-bottom: 14px; }
.reading-paths { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 28px; }
.reading-path { display: block; padding: 17px; border-left: 3px solid var(--accent); background: var(--surface); }
.reading-path strong { display: block; margin-bottom: 5px; color: var(--accent-dark); font-size: 1rem; }
.reading-path span { display: block; color: var(--muted); font-size: .875rem; }

/* Shared controls. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 6px; font-size: .9375rem; font-weight: 500; line-height: 1.6; text-align: center; }
.button.primary { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.button.primary:hover { color: var(--paper); background: var(--accent-dark); border-color: var(--accent-dark); }
.button.secondary { color: var(--ink); background: var(--paper); border-color: var(--control-line); }
.button.secondary:hover { border-color: var(--accent-border); background: var(--surface); }
.button.quiet { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-border); }
.compare-tray { position: fixed; z-index: 45; inset: auto 0 0; border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 -4px 22px #172b4d0f; }
.tray-inner { display: flex; align-items: center; gap: 22px; min-height: 88px; padding: 12px 0; }
.tray-inner > div:first-child { flex: 1; min-width: 0; }
.tray-inner > div:first-child > strong { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; }
.tray-selections { display: flex; gap: 7px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.tray-chip { flex-shrink: 0; min-height: 32px; padding: 4px 9px; border: 1px solid var(--accent-border); border-radius: 5px; background: var(--accent-soft); color: var(--accent-dark); font-size: .875rem; white-space: nowrap; }
.tray-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.tray-clear { padding: 5px 0; border: 0; background: transparent; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.tray-button { min-width: 126px; }
body.has-compare-tray { padding-bottom: 110px; }

/* Service pages. */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 21px; margin-bottom: 12px; color: var(--muted); font-size: .875rem; }
.breadcrumb a { color: var(--accent); }
.page-heading { padding: 20px 0 27px; }
.page-heading h1 { font-size: 1.875rem; }
.page-heading > p, .page-heading > div > p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.service-page-heading { display: flex; align-items: flex-start; gap: 17px; }
.service-page-heading > div { min-width: 0; }
.service-mark { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); background: var(--accent-soft); }
.service-mark svg { width: 22px; height: 22px; }
.service-page-heading > .service-mark { width: 56px; height: 56px; margin-top: 4px; }
.service-category { display: block; margin-bottom: 4px; color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 28px; align-items: start; padding-bottom: 35px; }
.detail-main { min-width: 0; }
.detail-sidebar { position: sticky; top: 90px; min-width: 0; }
.detail-card, .detail-section { padding: 24px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.detail-card h2 { margin-bottom: 13px; font-size: 1.1875rem; }
.detail-card .section-heading { align-items: baseline; margin-bottom: 4px; }
.detail-card .section-heading h2 { margin: 0; }
.detail-card .section-heading .guide-category { margin: 0; }
.detail-card .button { width: 100%; margin-top: 13px; }
.detail-card .note { margin-top: 12px; }
.detail-card .article-callout { margin-bottom: 0; }
.detail-card .article-callout p { margin-top: 6px; }
.detail-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 25px; }
.detail-facts > div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.detail-facts dt { margin-bottom: 5px; color: var(--muted); font-size: .875rem; }
.detail-facts dd { font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.detail-section h2 { margin-bottom: 16px; font-size: 1.3125rem; }
.detail-section h3 { margin: 20px 0 10px; font-size: 1.125rem; }
.detail-section p { line-height: 1.95; }
.detail-section li { margin-bottom: 8px; }
.detail-summary { margin-bottom: 20px; padding: 21px 24px; border-left: 3px solid var(--accent); background: var(--surface); }
.detail-summary > .eyebrow { margin-bottom: 13px; }
.detail-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.detail-summary-grid > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.detail-summary-grid h2 { margin-bottom: 5px; color: var(--accent-dark); font-size: .875rem; font-weight: 600; }
.detail-summary-grid p { margin: 0; font-size: 1rem; }
.detail-status { margin-top: 8px; }
.detail-next-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.feature-list { margin: 18px 0 0; padding-left: 1.2em; line-height: 1.9; }
.feature-list li::marker { color: var(--accent); }
.source-list { margin: 12px 0; padding-left: 1.2em; }
.source-list li { margin-bottom: 9px; font-size: .875rem; overflow-wrap: anywhere; }
.source-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.detail-sidebar .compare-check { justify-content: flex-start; margin: 7px 0; min-height: 40px; }
.return-link { display: inline-block; margin: 15px 0; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.related-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; line-height: 1.8; }
.related-list a:first-child { padding-top: 0; }
.related-list a:last-child { padding-bottom: 0; border: 0; }
.related-list small { display: block; margin-top: 4px; color: var(--muted); font-size: .8125rem; }

/* Comparison and candidate selection. */
.compare-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.compare-heading h1 { font-size: 1.875rem; }
.compare-options { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.compare-options .button { min-height: 39px; padding: 7px 11px; font-size: .875rem; }
.compare-options + .note { margin-bottom: 12px; }
.difference-only { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); }
.difference-only input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.comparison-wrap { max-width: 100%; margin-bottom: 28px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 1rem; }
.comparison-table th, .comparison-table td { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; line-height: 1.85; overflow-wrap: anywhere; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: 0; }
.comparison-table tr:last-child th, .comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table thead th { position: sticky; top: 0; z-index: 2; background: var(--surface); }
.comparison-table th:first-child { width: 150px; color: var(--muted); background: var(--surface); font-size: .875rem; }
.comparison-service .service-mark { margin-bottom: 9px; }
.comparison-service > a { display: block; margin-top: 4px; color: var(--accent); font-size: 1.125rem; font-weight: 700; }
.comparison-service > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.comparison-service > button { display: block; margin-top: 8px; padding: 5px 0; border: 0; background: transparent; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.compare-add-bottom { margin-top: 17px; }
.mobile-compare-hint { display: none; }
.compare-empty, .empty-state { padding: 36px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.compare-empty h2, .empty-state h2 { margin-bottom: 10px; font-size: 1.3125rem; }
.compare-empty p, .empty-state p { max-width: 550px; margin: 0 auto 20px; color: var(--muted); }
.compare-empty .return-link { display: block; margin-bottom: 0; }
.sheet { width: min(600px,calc(100% - 32px)); max-height: 88vh; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 100px #172b4d2b; }
.sheet::backdrop { background: #172b4d70; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 17px; border-bottom: 1px solid var(--line); }
.sheet-header > div { min-width: 0; }
.sheet-header h2 { font-size: 1.25rem; }
.sheet-header > .button { flex-shrink: 0; min-height: 40px; padding: 7px 10px; font-size: .875rem; white-space: nowrap; }
.sheet-options { max-height: 58vh; padding: 0 3px 3px; overflow: auto; }
.sheet-options > .note { margin-bottom: 13px; }
.picker-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.picker-list > h3 { grid-column: 1 / -1; margin: 12px 0 2px; color: var(--muted); font-size: .875rem; font-weight: 500; }
.picker-list > h3:first-child { margin-top: 0; }
.picker-item { display: flex; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; font-size: .875rem; line-height: 1.75; cursor: pointer; }
.picker-item:has(input:checked) { border-color: var(--accent-border); background: var(--accent-soft); }
.picker-item input { flex-shrink: 0; width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--accent); }
.picker-item strong { display: block; font-size: 1rem; font-weight: 600; }
.picker-item small { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.picker-status { margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--notice-line); border-radius: 6px; color: var(--notice-ink); background: var(--notice-soft); font-size: .875rem; }
.picker-status:empty { display: none; }
.sheet-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; }

/* V10: show the reason to choose, before the long-form details. */
.fit-summary { margin-bottom: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.fit-summary > h2 { margin-bottom: 15px; font-size: 1.1875rem; }
.fit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.fit-grid > div { min-width: 0; }
.fit-grid > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.fit-grid h3 { margin-bottom: 6px; color: var(--accent-dark); font-size: .875rem; font-weight: 600; }
.fit-grid p { margin: 0; font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.detail-quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: -5px 0 24px; }
.detail-quick-actions > a, .detail-quick-actions .compare-check { min-height: 46px; }
.detail-quick-actions .compare-check { padding: 8px 13px; border: 1px solid var(--control-line); border-radius: 6px; }
.pair-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.pair-card { display: flex; flex-direction: column; gap: 9px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow-wrap: anywhere; }
.pair-card:hover { border-color: var(--accent-border); background: var(--surface); }
.pair-card strong { color: var(--ink-strong); font-size: 1.0625rem; line-height: 1.7; }
.pair-card .pair-description { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.pair-card small { margin-top: auto; padding-top: 5px; color: var(--accent); font-size: .875rem; }
.pair-lead { max-width: 48em; margin: 0 0 20px; font-size: 1rem; line-height: 1.85; }
.mobile-comparison { display: none; }
.compare-jump-links { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 18px; }
.compare-jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--accent-dark); background: var(--surface); font-size: .875rem; }
.tray-summary > strong { display: block; margin-bottom: 3px; font-size: .875rem; line-height: 1.6; }
.tray-names { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.6; overflow-wrap: anywhere; }
.tray-actions > button[data-open-picker] { min-height: 44px; padding: 8px 6px; border: 0; background: transparent; color: var(--accent); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.sheet[open] { display: flex; flex-direction: column; overflow: hidden; max-height: 90vh; max-height: 90dvh; }
.sheet-header, .sheet-actions { flex: 0 0 auto; }
.sheet-options { flex: 1 1 auto; min-height: 0; max-height: none; overscroll-behavior: contain; }
.sheet-header > .button { min-height: 44px; }

/* Articles keep the same readable sans-serif typography. */
.article-heading { max-width: 790px; }
.article-heading h1 { font-size: 1.875rem; line-height: 1.65; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: var(--muted); font-size: .8125rem; }
.article-body { width: 100%; max-width: 790px; padding: 27px 30px; margin: 0 auto 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 1rem; line-height: 2; }
.article-body h2 { margin: 32px 0 16px; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-size: 1.375rem; line-height: 1.7; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 24px 0 12px; font-size: 1.1875rem; }
.article-body p { margin: 0 0 18px; }
.article-body li { margin-bottom: 10px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.article-body .button { text-decoration: none; }
.article-body .button.primary { color: var(--paper); }
.article-lead { font-size: 1rem; line-height: 2; }
.article-toc { margin: 24px 0 29px; padding: 18px 21px; border-radius: 6px; background: var(--surface); }
.article-toc strong { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 600; }
.article-toc a { display: block; padding: 5px 0; font-size: 1rem; text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }
.article-callout { margin: 23px 0; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); font-size: 1rem; }
.article-body .article-callout h2 { margin: 0 0 12px; padding: 0; border: 0; font-size: 1.125rem; }
.article-body .article-callout ul { margin: 0; }
.article-body .article-callout p:last-child { margin-bottom: 0; }
.guide-takeaway { margin: 0 0 24px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--surface); }
.guide-takeaway strong { display: block; margin-bottom: 6px; color: var(--accent-dark); font-size: .875rem; font-weight: 600; }
.guide-takeaway p { margin: 0; font-size: 1rem; }
.standalone { max-width: 850px; margin-inline: 0; }

/* Quiet footer and feedback. */
.site-footer { margin-top: 26px; padding: 30px 0; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-inner .brand-name { font-size: 1.1875rem; }
.footer-inner p { margin-top: 9px; color: var(--muted); font-size: .875rem; }
.footer-inner small { display: block; margin-top: 10px; color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 4px; color: var(--muted); font-size: .875rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 120px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 11px 18px; border-radius: 7px; background: var(--ink-strong); color: var(--paper); font-size: .875rem; line-height: 1.8; text-align: center; }

@media (max-width: 1050px) {
  .brand-sub { display: none; }
  .header-inner { gap: 19px; }
  .primary-nav { gap: 18px; }
  .directory-columns, .service-row { grid-template-columns: minmax(0,1fr) minmax(0,1.45fr) minmax(0,1fr) 116px; gap: 16px; }
  .detail-layout { grid-template-columns: minmax(0,1fr) 235px; gap: 20px; }
  .detail-card, .detail-section { padding: 20px; }
  .comparison-table th, .comparison-table td { padding: 15px; }
  .comparison-table th:first-child { width: 125px; }
}
@media (max-width: 900px) {
  .catalog-help { max-width: 23em; }
  .directory-columns { display: none; }
  .service-row { grid-template-columns: minmax(0,1fr) 144px; gap: 8px 20px; padding: 18px; }
  .service-identity { grid-column: 1; grid-row: 1; }
  .service-summary { grid-column: 1; grid-row: 2; }
  .service-facts { grid-column: 1; grid-row: 3; }
  .service-row .fact { display: grid; grid-template-columns: 5em minmax(0,1fr); gap: 9px; align-items: baseline; }
  .service-row .fact-label { position: static; display: block; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; color: var(--muted); font-size: .875rem; }
  .service-actions { grid-column: 2; grid-row: 1 / span 3; }
  .service-extra { grid-row: 4; }
  .service-group-heading { padding-inline: 18px; }
  .guide-grid { gap: 12px; }
  .guide-card { padding: 16px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .article-body { max-width: none; margin-bottom: 20px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 18px; }
  .site-header { position: static; }
  .container, .header-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 58px; gap: 10px; }
  .brand-name { font-size: 1.1875rem; }
  .primary-nav { display: none; }
  .header-compare { margin-left: auto; min-height: 44px; padding: 8px 9px; }
  .mobile-quick-nav { display: flex; padding: 0 16px; border-top: 1px solid var(--line-soft); }
  .mobile-quick-nav a { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 4px; color: var(--muted); font-size: .875rem; text-align: center; }
  .mobile-quick-nav a.nav-active, .mobile-quick-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
  .mobile-quick-nav a.nav-active::after, .mobile-quick-nav a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 24% 0; height: 2px; background: var(--coral); }
  .catalog-page { padding-top: 17px; }
  .catalog-intro { margin-bottom: 14px; }
  .catalog-intro h1 { font-size: 1.5rem; line-height: 1.6; }
  .catalog-intro p { margin-top: 5px; font-size: .9375rem; line-height: 1.7; }
  .category-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 12px; border-bottom: 0; gap: 5px; }
  .category-tab { justify-content: flex-start; min-height: 44px; padding: 8px 10px; border: 1px solid var(--control-line); border-radius: 5px; font-size: .875rem; gap: 7px; }
  .category-tab[aria-pressed="true"] { border-color: var(--accent); }
  .category-tab > .category-label { flex: 1; }
  .cat-icon { display: none; }
  .catalog-controls { flex-wrap: wrap; gap: 8px; margin-bottom: 11px; }
  .search-box { min-width: 0; flex: 1; min-height: 44px; padding-inline: 10px; }
  .search-box input { padding-block: 9px; }
  .catalog-options > summary { min-height: 46px; padding: 10px; }
  .catalog-options[open] { flex-basis: 100%; width: 100%; margin-left: 0; }
  .catalog-options[open] > summary { width: max-content; margin-left: auto; margin-bottom: 8px; }
  .options-content { position: static; width: 100%; padding: 15px; box-shadow: none; }
  .filter-chip { min-height: 44px; padding-block: 8px; }
  .expanded-option { min-height: 48px; padding-bottom: 4px; }
  .active-filters button { min-height: 44px; }
  .catalog-meta { align-items: flex-start; flex-direction: column; gap: 2px; margin-bottom: 8px; }
  .catalog-help { max-width: none; font-size: .8125rem; text-align: left; }
  .service-group { margin-bottom: 30px; }
  .service-group-heading { padding: 10px 0 11px; gap: 3px 8px; }
  .service-group-heading h2 { font-size: 1.25rem; }
  .service-group-heading > p { display: none; }
  .service-row { display: flex; flex-direction: column; align-items: stretch; gap: 7px; padding: 15px 4px 16px; }
  .service-row:has(input:checked) { padding-inline: 12px; }
  .service-title { font-size: 1.125rem; }
  .service-title a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -5px; }
  .service-summary { font-size: 1rem; line-height: 1.75; }
  .service-facts { padding-top: 0; }
  .fact-value { font-size: 1rem; line-height: 1.7; }
  .service-row .fact { grid-template-columns: 5em minmax(0,1fr); gap: 8px; }
  .service-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 10px; padding-top: 3px; }
  .service-actions .details-link { min-height: 44px; padding-inline: 10px; }
  .compare-check { min-height: 44px; }
  .service-extra { padding-top: 11px; }
  .pending-section { padding: 8px 14px; }
  .pending-section > summary { padding-block: 10px; min-height: 44px; }
  .pending-link { padding: 10px; gap: 8px; }
  .pending-link > span { text-align: right; }
  .section-heading { align-items: flex-start; gap: 12px; margin-bottom: 15px; }
  .section-heading h2 { font-size: 1.25rem; }
  .section-heading > a { display: inline-flex; align-items: center; min-height: 44px; padding: 3px 0; }
  .feature-reading { margin-top: 24px; padding: 24px 0 27px; }
  .guide-grid { grid-template-columns: 1fr; gap: 10px; }
  .guide-card { padding: 16px; }
  .guide-copy h3 { font-size: 1.0625rem; }
  .reading-paths { grid-template-columns: 1fr; gap: 9px; margin-bottom: 23px; }
  .reading-path { padding: 15px 16px; }
  .tray-inner { flex-direction: row; align-items: center; gap: 10px; min-height: 78px; padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); }
  .tray-inner > div:first-child > strong { margin-bottom: 2px; font-size: .875rem; }
  .tray-summary { flex: 1; min-width: 0; }
  .tray-names { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tray-actions { gap: 9px; }
  .tray-actions > button[data-open-picker] { padding-inline: 0; }
  .tray-button { min-width: 100px; min-height: 46px; padding: 10px; }
  .tray-button svg { width: 18px; }
  body.has-compare-tray { padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px)); }
  .breadcrumb { padding-top: 17px; margin-bottom: 10px; gap: 7px; }
  .page-heading { padding: 17px 0 22px; }
  .page-heading h1 { font-size: 1.625rem; }
  .service-page-heading { gap: 12px; }
  .service-page-heading > .service-mark { width: 44px; height: 44px; }
  .service-page-heading h1 { font-size: 1.4375rem; }
  .detail-layout { gap: 0; padding-bottom: 26px; }
  .detail-sidebar { display: block; }
  .detail-card, .detail-section { padding: 19px; margin-bottom: 17px; }
  .detail-card .section-heading { display: block; }
  .detail-card .section-heading .guide-category { display: block; margin-top: 5px; }
  .detail-facts { grid-template-columns: 1fr; }
  .detail-facts > div { padding: 12px 0; }
  .detail-section h2 { font-size: 1.1875rem; }
  .detail-summary { padding: 18px 19px; margin-bottom: 17px; }
  .detail-summary-grid { grid-template-columns: 1fr; gap: 13px; }
  .detail-summary-grid > div + div { border-left: 0; padding-left: 0; padding-top: 13px; border-top: 1px solid var(--line); }
  .compare-heading { display: block; }
  .compare-heading > .button { margin-top: 15px; }
  .compare-options { flex-wrap: wrap; align-items: flex-start; gap: 11px; }
  .compare-options .button, .difference-only { min-height: 44px; }
  .difference-only { cursor: pointer; }
  .comparison-wrap { display: none; }
  .mobile-comparison { display: block; margin-bottom: 24px; }
  .mobile-compare-hint { display: none; }
  .mobile-compare-roster { margin-bottom: 18px; padding: 5px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
  .mobile-compare-roster > * { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); }
  .mobile-compare-roster > *:last-child { border-bottom: 0; }
  .mobile-compare-roster a { display: flex; align-items: center; min-width: 0; min-height: 44px; color: var(--accent); font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
  .mobile-compare-roster button { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 7px 0 7px 7px; border: 0; background: transparent; color: var(--muted); font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
  .compare-jump-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 22px; }
  .compare-jump-links a { padding: 8px 10px; line-height: 1.6; }
  .mobile-compare-section { margin-bottom: 24px; scroll-margin-top: 12px; }
  .mobile-compare-section h2 { padding: 10px 13px; border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--ink-strong); font-size: 1.125rem; font-weight: 600; }
  .mobile-compare-values > div { padding: 13px 2px 15px; border-bottom: 1px solid var(--line); }
  .mobile-compare-values dt { margin-bottom: 4px; color: var(--accent); font-size: .9375rem; font-weight: 600; }
  .mobile-compare-values dt a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -6px -3px; }
  .mobile-compare-values dd { color: var(--ink); font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
  .mobile-detail-links { display: grid; gap: 9px; margin-top: 20px; }
  .mobile-detail-links a { min-height: 46px; }
  .compare-empty, .empty-state { padding: 28px 18px; }
  .sheet { width: calc(100% - 20px); padding: 18px 15px; max-height: 90vh; max-height: 90dvh; }
  .sheet-header { margin-bottom: 14px; padding-bottom: 13px; }
  .sheet-header h2 { font-size: 1.125rem; }
  .sheet-header > .button { min-height: 44px; padding: 8px 9px; }
  .picker-list { grid-template-columns: 1fr; }
  .sheet-options { min-height: 0; max-height: none; padding-inline: 2px; }
  .sheet-actions { gap: 9px; padding-top: 14px; margin-top: 15px; }
  .sheet-actions .button { padding-inline: 13px; }
  .fit-summary { padding: 18px; margin-bottom: 17px; }
  .fit-summary > h2 { font-size: 1.125rem; }
  .fit-grid { grid-template-columns: 1fr; gap: 15px; }
  .fit-grid > div + div { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .detail-quick-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; margin: -3px 0 20px; }
  .detail-quick-actions > a, .detail-quick-actions .compare-check { min-height: 46px; margin: 0; padding: 9px; font-size: .875rem; }
  .pair-grid { grid-template-columns: 1fr; gap: 10px; }
  .pair-card { gap: 7px; padding: 17px; }
  .pair-card small { padding-top: 3px; }
  .article-toc a, .footer-links a { display: flex; align-items: center; min-height: 44px; }
  .article-heading h1 { font-size: 1.625rem; }
  .article-body { padding: 22px 18px; margin-bottom: 20px; }
  .article-body h2 { margin-top: 28px; font-size: 1.25rem; }
  .article-body h3 { font-size: 1.125rem; }
  .article-toc { padding: 16px; margin: 23px 0 26px; }
  .article-callout, .guide-takeaway { padding: 16px; }
  .site-footer { padding: 25px 0 29px; }
  .footer-inner { display: block; }
  .footer-links { margin-top: 18px; gap: 2px 17px; }
  .toast { bottom: 20px; padding: 10px 14px; }
  body.has-compare-tray .toast { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 390px) {
  .container, .header-inner { width: calc(100% - 28px); }
  .brand-name { font-size: 1.125rem; }
  .header-compare { padding-inline: 8px; gap: 6px; }
  .catalog-intro h1 { font-size: 1.4375rem; }
  .category-tab { padding-inline: 8px; }
  .service-row { padding-inline: 2px; }
  .service-group-heading { padding-inline: 0; }
  .service-group-heading h2 { font-size: 1.1875rem; }
  .group-count { font-size: .8125rem; }
  .tray-inner { gap: 8px; }
  .tray-actions { gap: 8px; }
  .tray-button { min-width: 92px; padding-inline: 9px; }
  .tray-button svg { display: none; }
  .tray-summary > strong { font-size: .8125rem; }
  .sheet-header { align-items: flex-start; gap: 8px; }
  .sheet-header h2 { font-size: 1rem; }
  .detail-quick-actions { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Service identity: preserve the supplied artwork and its intrinsic aspect ratio. */
.service-identity { display: flex; align-items: center; gap: 12px; }
.service-identity > .service-heading { flex: 1; }
.service-mark.service-logo { width: 88px; height: 48px; padding: 5px; border: 1px solid var(--line); border-radius: 7px; background: #fff; overflow: hidden; }
.service-logo img.official-logo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.service-logo img.official-logo[hidden] { display: none; }
.service-logo .logo-fallback { display: none; }
.service-logo.logo-failed .logo-fallback { display: inline-flex; align-items: center; justify-content: center; }
.service-mark-placeholder, .service-logo.logo-failed { color: var(--muted); background: var(--surface); }
.service-page-heading > .service-mark.service-logo { width: 112px; height: 64px; margin-top: 3px; padding: 7px; }
.comparison-service > .service-logo { width: 88px; height: 48px; }
.picker-copy { min-width: 0; flex: 1; }
.picker-service-heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
.picker-service-heading > strong { min-width: 0; overflow-wrap: anywhere; }
.picker-service-heading > .service-logo { width: 64px; height: 40px; padding: 4px; }
.picker-service-heading > .service-mark-placeholder { width: 40px; height: 40px; }
.pair-card .pair-logos { display: flex; align-items: center; gap: 9px; min-height: 48px; margin-bottom: 4px; }
.pair-logos > .service-logo { width: 84px; height: 46px; }
.pair-card .pair-logo-divider { color: var(--line); font-size: 1.125rem; font-weight: 400; }
@media (max-width: 700px) {
  .service-identity { gap: 12px; }
  .service-identity > .service-logo { width: 88px; height: 48px; }
  .service-page-heading > .service-mark.service-logo { width: 104px; height: 62px; }
  .service-page-heading { display: grid; grid-template-columns: 104px minmax(0,1fr); align-items: center; gap: 3px 14px; }
  .service-page-heading > .service-mark { grid-column: 1; grid-row: 1 / 3; }
  .service-page-heading > div { display: contents; }
  .service-page-heading > div > .eyebrow { grid-column: 2; grid-row: 1; }
  .service-page-heading h1 { grid-column: 2; grid-row: 2; }
  .service-page-heading > div > p:not(.eyebrow) { grid-column: 1 / -1; margin-top: 9px; }
  .mobile-compare-roster a { gap: 10px; flex: 1; }
  .mobile-compare-roster a > span:last-child { min-width: 0; }
  .mobile-compare-roster .service-logo { width: 64px; height: 40px; padding: 4px; }
  .mobile-compare-roster .service-mark-placeholder { width: 40px; height: 40px; }
  .picker-service-heading { gap: 9px; }
}
@media (max-width: 390px) {
  .service-identity { gap: 10px; }
  .service-page-heading { grid-template-columns: 94px minmax(0,1fr); }
  .service-page-heading > .service-mark.service-logo { width: 94px; height: 58px; }
  .mobile-compare-roster { padding-inline: 10px; }
  .mobile-compare-roster a { gap: 8px; }
  .mobile-compare-roster > * { gap: 8px; }
}

@media (min-width: 901px) {
  .directory-columns, .service-row { grid-template-columns: minmax(220px,1.5fr) minmax(160px,1.5fr) minmax(130px,1fr) 124px; }
}

/* V12: calm surfaces, clear hierarchy, and useful visual cues. */
:root { --card-shadow: 0 2px 7px #172b4d05; }
.site-header { box-shadow: 0 1px 8px #172b4d04; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand-symbol { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; }
.brand-symbol > svg { display: block; width: 100%; height: 100%; }
.header-compare { min-height: 44px; border-color: var(--line); border-radius: 9px; background: var(--surface); }
.count-badge { border-radius: 6px; background: var(--accent-tint); }
.catalog-intro h1 { letter-spacing: .015em; }
.category-tabs { gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: var(--card-shadow); }
.category-tab { border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); }
.category-tab[aria-pressed="true"] { border-color: var(--accent-border); background: var(--accent-soft); color: var(--accent-dark); box-shadow: 0 1px 3px #172b4d06; }
.cat-icon { width: 23px; height: 23px; justify-content: center; }
.cat-count { min-width: 21px; padding: 1px 4px; border-radius: 5px; text-align: center; background: var(--surface); }
.search-box { border-radius: 10px; box-shadow: var(--card-shadow); }
.search-box:focus-within { outline: 3px solid var(--accent-tint); outline-offset: 0; border-color: var(--accent); }
.catalog-options > summary { border-radius: 10px; }
.options-content { border-radius: 12px; }
.service-group-heading { padding-inline: 3px; margin-bottom: 11px; border-bottom: 0; background: transparent; }
.service-group-heading h2::before { border-radius: 2px; }
.directory-columns { margin-bottom: 8px; padding-inline: 18px; border: 0; border-radius: 8px; background: transparent; }
.service-row { margin-bottom: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--card-shadow); }
.service-row:has(input:checked) { border-color: var(--accent-border); background: #fff8f5; box-shadow: inset 3px 0 0 var(--coral),var(--card-shadow); }
.service-title { letter-spacing: .005em; }
.service-title a { color: var(--ink-strong); }
.service-summary { color: var(--ink); }
.service-identity > .service-logo { background: #fff; border-color: var(--line-soft); box-shadow: 0 1px 4px #172b4d04; }
.service-actions { gap: 8px; }
.service-actions .details-link { min-height: 44px; border-radius: 8px; color: #fff; background: var(--accent); border-color: var(--accent); }
.service-actions .compare-check { min-height: 44px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); }
.service-actions .compare-check:has(input:checked) { color: var(--accent-dark); border-color: var(--accent-border); background: var(--accent-soft); }
.service-status { border-radius: 5px; }
.pending-section { border-radius: 12px; background: #f1eeeb; }
.feature-reading { padding-top: 30px; }
.section-heading h2 { font-weight: 700; letter-spacing: .015em; }
.button, .details-link { border-radius: 8px; }
.button.primary { box-shadow: 0 2px 5px #10223d14; }
.pair-card, .guide-card { border-radius: 13px; box-shadow: var(--card-shadow); transition: border-color .15s,box-shadow .15s; }
.pair-card { gap: 11px; padding: 18px; }
.pair-card .pair-logos { justify-content: center; gap: 12px; min-height: 88px; margin: -18px -18px 4px; padding: 17px 13px; border-bottom: 1px solid var(--line-soft); border-radius: 12px 12px 0 0; background: var(--accent-soft); }
.pair-logos > .service-logo { width: 94px; height: 51px; border-color: #eeddd5; box-shadow: 0 2px 4px #172b4d05; }
.pair-card .pair-versus { color: var(--accent); font-size: .875rem; font-weight: 600; letter-spacing: .06em; }
.pair-card > small { margin-top: 0; padding-top: 0; font-size: .8125rem; }
.pair-card > strong { font-size: 1.125rem; line-height: 1.65; }
.pair-card .card-action, .guide-card .card-action { display: block; margin-top: auto; padding-top: 12px; color: var(--accent-dark); font-size: .875rem; font-weight: 600; border-top: 1px solid var(--line-soft); }
.guide-card { padding: 18px; overflow: hidden; }
.guide-art { display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 90px; margin: -18px -18px 17px; padding: 16px; color: var(--accent); background: #fff2ee; border-bottom: 1px solid var(--line-soft); }
.guide-art > svg { width: 35px; height: 35px; flex-shrink: 0; }
.guide-art-label { font-size: 1rem; font-weight: 600; letter-spacing: .04em; }
.guide-art--free, .guide-art--cost { background: #edf1f0; color: #3b625a; }
.guide-art--privacy { background: #eef2f7; color: #435b7c; }
.guide-copy h3 { font-size: 1.125rem; line-height: 1.7; }
.guide-copy p { font-size: 1rem; line-height: 1.8; }
.guide-category { font-size: .8125rem; }
.reading-path { border-radius: 0 10px 10px 0; background: #fff; box-shadow: var(--card-shadow); }
.detail-card, .detail-section, .fit-summary, .article-body { border-color: var(--line); box-shadow: var(--card-shadow); }
.detail-summary { border-radius: 0 12px 12px 0; background: #fff2ee; }
.detail-facts dt { font-weight: 600; color: var(--accent-dark); }
.fit-summary { padding: 22px; }
.fit-grid { gap: 12px; }
.fit-grid > div { padding: 16px; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--surface); }
.fit-grid > div + div { padding: 16px; border: 1px solid var(--line-soft); }
.fit-grid > div:first-child { background: var(--accent-soft); border-color: #eeddd5; }
.fit-grid h3 { font-size: .875rem; font-weight: 700; }
.fit-summary > .note { margin-top: 12px; }
.guide-takeaway { border-radius: 0 10px 10px 0; background: var(--accent-soft); }
.article-callout { border-radius: 10px; }
.compare-options { margin-bottom: 18px; }
.comparison-wrap { border-radius: 12px; box-shadow: var(--card-shadow); }
.comparison-table { background: #fff; }
.comparison-service { gap: 7px; }
.sheet { border-radius: 16px; }
.picker-item { border-radius: 10px; }
.site-footer { background: #f1eeeb; border-top: 1px solid var(--line); }
@media (hover: hover) {
  .service-row:hover { border-color: #b5bfcc; background: #fff; box-shadow: 0 4px 14px #172b4d08; }
  .service-row:has(input:checked):hover { background: #fff8f5; }
  .service-actions .details-link:hover { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); }
  .pair-card:hover, .guide-card:hover { border-color: var(--accent-border); background: #fff; box-shadow: 0 5px 17px #172b4d0a; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .guide-art { margin: -18px -18px 16px; }
}
@media (max-width: 700px) {
  .brand-symbol { width: 24px; height: 24px; flex-basis: 24px; }
  .catalog-page { padding-top: 18px; }
  .catalog-intro { margin-bottom: 14px; }
  .category-tabs { gap: 4px; padding: 4px; margin-bottom: 12px; }
  .category-tab { min-height: 44px; padding: 7px 8px; gap: 6px; }
  .category-tab > .cat-icon { flex: 0 0 20px; display: inline-flex; width: 20px; height: 20px; }
  .category-tab > .category-label { flex: 1; text-align: left; }
  .category-tab .cat-icon svg { width: 17px; height: 17px; }
  .category-tab .cat-count { min-width: 18px; font-size: .8125rem; padding-inline: 3px; }
  .service-group { margin-bottom: 29px; }
  .service-group-heading { padding: 10px 1px 4px; margin-bottom: 10px; }
  .service-group-heading h2 { font-size: 1.1875rem; }
  .service-row, .service-row:has(input:checked) { gap: 11px; padding: 16px; margin-bottom: 11px; }
  .service-identity { gap: 12px; }
  .service-title { font-size: 1.125rem; line-height: 1.5; }
  .service-summary { line-height: 1.75; }
  .service-facts { padding: 9px 11px; border-radius: 7px; background: var(--surface); }
  .service-row .fact { display: grid; grid-template-columns: 4.5em minmax(0,1fr); gap: 8px; }
  .service-row .fact-label { position: static; display: block; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; color: var(--muted); font-size: .875rem; }
  .service-row .fact-value { font-size: .9375rem; line-height: 1.7; }
  .service-actions { gap: 8px; padding-top: 0; }
  .service-actions .details-link, .service-actions .compare-check { min-height: 46px; padding-inline: 8px; }
  .service-extra { padding-top: 11px; }
  .feature-reading { margin-top: 23px; padding-top: 25px; }
  .section-heading h2 { font-size: 1.25rem; }
  .pair-card { padding: 17px; }
  .pair-card .pair-logos { min-height: 82px; margin: -17px -17px 3px; padding: 14px; gap: 16px; }
  .pair-card > strong { font-size: 1.125rem; }
  .pair-logos > .service-logo { width: 96px; height: 49px; }
  .guide-card { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 3px 13px; align-items: start; padding: 16px; }
  .guide-art { grid-column: 1; grid-row: 1 / span 2; min-height: 72px; width: 72px; height: 72px; margin: 0; padding: 9px 4px; gap: 3px; flex-direction: column; border: 0; border-radius: 10px; }
  .guide-art > svg { width: 27px; height: 27px; }
  .guide-art-label { font-size: .875rem; letter-spacing: 0; }
  .guide-copy { display: contents; }
  .guide-copy .guide-category { grid-column: 2; margin: 1px 0 0; }
  .guide-copy h3 { grid-column: 2; font-size: 1rem; line-height: 1.65; }
  .guide-copy p { grid-column: 1 / -1; margin-top: 8px; font-size: 1rem; }
  .guide-copy .card-action { grid-column: 1 / -1; margin-top: 8px; }
  .fit-summary { padding: 18px; }
  .fit-grid { gap: 10px; }
  .fit-grid > div, .fit-grid > div + div { padding: 14px; }
  .detail-card, .detail-section { padding: 18px; }
  .detail-summary { padding: 18px; }
  .mobile-compare-roster { background: #fff; box-shadow: var(--card-shadow); }
  .mobile-compare-section { margin-bottom: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--card-shadow); overflow: hidden; }
  .mobile-compare-section h2 { padding: 12px 15px; border-left: 0; border-bottom: 1px solid #eeddd5; border-radius: 0; font-size: 1rem; }
  .mobile-compare-values { padding-inline: 15px; }
  .mobile-compare-values > div { padding-block: 13px 15px; }
  .mobile-compare-values > div:last-child { border-bottom: 0; }
  .compare-jump-links a { justify-content: center; background: #fff; border-radius: 8px; }
}
@media (max-width: 390px) {
  .category-tab > .cat-icon { display: none; }
  .service-row, .service-row:has(input:checked) { padding: 16px; }
  .service-actions .compare-check { gap: 5px; }
  .pair-card .pair-logos { gap: 10px; }
  .pair-logos > .service-logo { width: 88px; }
}
@media (prefers-contrast: more) {
  .service-row, .guide-card, .pair-card, .mobile-compare-section, .category-tabs { border-color: var(--control-line); box-shadow: none; }
  .service-facts, .guide-art, .fit-grid > div { border: 1px solid var(--control-line); }
}
@media (prefers-reduced-motion: reduce) {
  .service-row, .guide-card, .pair-card { transition: none; }
}

/* V13: service profiles with a clear reading path, scoped away from the directory. */
.service-profile-page { padding-bottom: 36px; }
.service-profile-page .profile-hero { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--card-shadow); }
.service-profile-page .profile-hero-top { display: flex; align-items: center; gap: 24px; }
.service-profile-page .profile-brand-panel { display: flex; align-items: center; justify-content: center; flex: 0 0 176px; min-height: 116px; padding: 15px; border-radius: 12px; background: var(--accent-soft); }
.service-profile-page .profile-brand-panel > .service-logo { width: 144px; height: 84px; padding: 10px; border: 1px solid var(--line-soft); border-radius: 9px; box-shadow: 0 2px 6px #172b4d05; }
.service-profile-page .profile-brand-panel > .service-mark-placeholder { width: 76px; height: 76px; background: #fff; }
.service-profile-page .profile-brand-panel > .service-mark-placeholder svg { width: 30px; height: 30px; }
.service-profile-page .profile-hero-copy { min-width: 0; flex: 1; }
.service-profile-page .profile-hero-copy .eyebrow { margin-bottom: 4px; font-size: .875rem; }
.service-profile-page .profile-hero h1 { font-size: clamp(1.75rem,3vw,2.125rem); line-height: 1.4; letter-spacing: .015em; }
.service-profile-page .profile-lead { max-width: 44em; margin-top: 12px; color: var(--ink); font-size: 1.125rem; line-height: 1.8; }
.service-profile-page .profile-feature-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.service-profile-page .profile-feature-tags li { padding: 5px 10px; border: 1px solid #eeddd5; border-radius: 6px; color: var(--accent-dark); background: #fff8f5; font-size: .875rem; line-height: 1.6; }
.service-profile-page .profile-at-glance { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 20px; padding: 17px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); gap: 12px 25px; }
.service-profile-page .profile-at-glance > div { min-width: 0; }
.service-profile-page .profile-at-glance > div + div { padding-left: 25px; border-left: 1px solid var(--line); }
.service-profile-page .profile-at-glance dt { margin-bottom: 4px; color: var(--muted); font-size: .875rem; }
.service-profile-page .profile-at-glance dd { color: var(--ink-strong); font-size: 1rem; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; }
.service-profile-page .profile-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.service-profile-page .profile-hero-actions > .button { min-width: 220px; min-height: 48px; }
.service-profile-page .profile-hero-actions .compare-check { min-height: 48px; padding: 10px 17px; border: 1px solid var(--control-line); border-radius: 8px; background: #fff; }
.service-profile-page .profile-hero-actions .compare-check:has(input:checked) { border-color: var(--accent-border); color: var(--accent-dark); background: var(--accent-soft); }
.service-profile-page .profile-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 17px 0 25px; padding: 5px; gap: 5px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.service-profile-page .profile-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px; border-radius: 7px; color: var(--accent-dark); font-size: .9375rem; font-weight: 600; line-height: 1.5; text-align: center; }
.service-profile-page .profile-nav a + a { border-left: 1px solid var(--line-soft); }
.service-profile-page .profile-layout { display: grid; grid-template-columns: minmax(0,1fr) 252px; gap: 25px; align-items: start; }
.service-profile-page .profile-main { min-width: 0; }
.service-profile-page .profile-section { margin-bottom: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--card-shadow); scroll-margin-top: 100px; }
.service-profile-page .profile-section.detail-summary { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.service-profile-page .profile-section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.service-profile-page .profile-section-heading h2 { margin: 0; font-size: 1.375rem; line-height: 1.55; }
.service-profile-page .profile-section-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; color: var(--accent); background: var(--accent-soft); }
.service-profile-page .profile-section-icon > svg { width: 21px; height: 21px; }
.service-profile-page .profile-section > p, .service-profile-page .profile-copy { font-size: 1rem; line-height: 1.95; overflow-wrap: anywhere; }
.service-profile-page .profile-copy + .profile-copy, .service-profile-page .profile-copy p + p { margin-top: 16px; }
.service-profile-page .profile-fit { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 23px; }
.service-profile-page .profile-fit-card { min-width: 0; padding: 17px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--surface); }
.service-profile-page .profile-fit-card:first-child { border-color: #eeddd5; background: var(--accent-soft); }
.service-profile-page .profile-fit-label { margin: 0 0 8px; color: var(--accent-dark); font-size: .875rem; font-weight: 700; }
.service-profile-page .profile-fit-card > p:not(.profile-fit-label) { margin: 0; font-size: 1rem; line-height: 1.85; }
.service-profile-page .profile-price-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.service-profile-page .profile-price-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: #fdfbf9; }
.service-profile-page .profile-price-card:first-child { border-color: #dbe5e0; background: #f1f6f3; }
.service-profile-page .profile-price-card > svg { width: 25px; height: 25px; margin-bottom: 8px; color: var(--accent); }
.service-profile-page .profile-price-card:first-child > svg { color: #41685d; }
.service-profile-page .profile-price-card h3 { margin-bottom: 9px; font-size: 1rem; line-height: 1.6; }
.service-profile-page .profile-price-card > p { font-size: 1rem; line-height: 1.85; }
.service-profile-page .profile-plan-details { margin-top: 20px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.service-profile-page .profile-plan-details > summary { padding: 14px 0; min-height: 48px; color: var(--accent-dark); font-size: 1rem; font-weight: 600; cursor: pointer; }
.service-profile-page .profile-plan-details[open] > summary { margin-bottom: 2px; }
.service-profile-page .profile-plan-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0 0 16px; }
.service-profile-page .profile-plan-grid > * { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.service-profile-page .profile-plan-grid span { color: var(--muted); font-size: .875rem; }
.service-profile-page .profile-plan-grid strong { color: var(--ink-strong); font-size: 1.25rem; line-height: 1.6; overflow-wrap: anywhere; }
.service-profile-page .profile-plan-grid small { color: var(--muted); font-size: .875rem; }
.service-profile-page .profile-plan-details > p { margin: 0 0 16px; font-size: 1rem; line-height: 1.85; }
.service-profile-page .profile-check { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px; padding: 16px; border-left: 3px solid var(--accent-border); border-radius: 0 9px 9px 0; background: #faf7f4; }
.service-profile-page .profile-check > svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.service-profile-page .profile-check strong { display: block; margin-bottom: 4px; color: var(--accent-dark); font-size: .875rem; }
.service-profile-page .profile-check p { margin: 0; font-size: 1rem; line-height: 1.8; }
.service-profile-page .profile-section > .details-link, .service-profile-page .profile-section > .return-link { margin-top: 16px; min-height: 44px; }
.service-profile-page .profile-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 17px; }
.service-profile-page .profile-related-card { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; transition: border-color .15s,box-shadow .15s; }
.service-profile-page .profile-related-card > .service-logo { width: 108px; height: 60px; padding: 7px; border-color: var(--line-soft); }
.service-profile-page .profile-related-card > strong { color: var(--ink-strong); font-size: 1rem; line-height: 1.65; }
.service-profile-page .profile-related-card > span:not(.service-mark) { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.service-profile-page .profile-related-card > small { display: block; width: 100%; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line-soft); color: var(--accent-dark); font-size: .875rem; font-weight: 600; }
.service-profile-page .profile-bottom-action { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 24px 0; padding: 23px; border: 1px solid #ecd2c9; border-radius: 13px; background: var(--accent-soft); }
.service-profile-page .profile-bottom-action > .service-logo { width: 104px; height: 60px; padding: 7px; }
.service-profile-page .profile-bottom-action > div { min-width: 0; flex: 1 1 220px; }
.service-profile-page .profile-bottom-action strong { display: block; color: var(--ink-strong); font-size: 1.0625rem; line-height: 1.65; }
.service-profile-page .profile-bottom-action p { margin: 6px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.service-profile-page .profile-bottom-action > .button { width: 100%; min-height: 48px; }
.service-profile-page .profile-sources { margin-bottom: 25px; padding: 0 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.service-profile-page .profile-sources > summary { padding: 14px 0; min-height: 48px; color: var(--muted); font-size: .875rem; cursor: pointer; }
.service-profile-page .profile-sources .source-list { margin: 0 0 14px; }
.service-profile-page .profile-sources .source-list a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 5px; }
.service-profile-page .profile-sources > .note { margin: 0 0 18px; font-size: .875rem; line-height: 1.8; }
.service-profile-page .profile-aside { position: sticky; top: 90px; }
.service-profile-page .profile-aside-card { padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--card-shadow); }
.service-profile-page .profile-aside-card h2 { margin-bottom: 12px; font-size: 1rem; }
.service-profile-page .profile-aside-card nav { display: grid; gap: 3px; margin-bottom: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.service-profile-page .profile-aside-card nav a { display: flex; align-items: center; min-height: 44px; padding: 7px 9px; border-radius: 6px; color: var(--muted); font-size: .875rem; }
.service-profile-page .profile-aside-card > .button { width: 100%; font-size: .875rem; }
.service-profile-page .profile-at-glance dt { display: flex; align-items: center; gap: 6px; }
.service-profile-page .profile-at-glance dt > svg { flex: 0 0 17px; width: 17px; height: 17px; color: var(--accent); }
.service-profile-page .profile-section > .profile-purpose { margin-bottom: 16px; color: var(--ink-strong); font-size: 1.0625rem; font-weight: 600; line-height: 1.8; }
.service-profile-page .profile-section > .note { margin-top: 16px; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.service-profile-page .profile-section-intro { color: var(--muted); }
.service-profile-page .profile-contract { margin: 0 0 17px; }
.service-profile-page .profile-contract > div { display: grid; grid-template-columns: 7em minmax(0,1fr); gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-soft); }
.service-profile-page .profile-contract dt { color: var(--muted); font-size: .875rem; }
.service-profile-page .profile-contract dd { min-width: 0; font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.service-profile-page .profile-guide-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 13px; color: var(--accent-dark); font-size: 1rem; text-decoration: underline; text-underline-offset: 5px; }
.service-profile-page .profile-pair-link { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 3px 10px; min-height: 64px; margin-top: 17px; padding: 14px 16px; border: 1px solid #eeddd5; border-radius: 10px; color: var(--accent-dark); background: var(--accent-soft); }
.service-profile-page .profile-pair-link > svg { grid-row: 1 / 3; width: 22px; height: 22px; }
.service-profile-page .profile-pair-link > span { font-size: 1rem; font-weight: 600; }
.service-profile-page .profile-pair-link > small { grid-column: 2; color: var(--muted); font-size: .875rem; }
.service-profile-page .profile-hero + .profile-section { margin-top: 22px; }
.service-profile-page .profile-hero + .profile-section > h2 { margin-bottom: 14px; font-size: 1.25rem; }
.service-profile-page .profile-hero + .profile-section > .button { margin-top: 18px; }
@media (hover: hover) {
  .service-profile-page .profile-nav a:hover, .service-profile-page .profile-aside-card nav a:hover { color: var(--accent-dark); background: var(--accent-soft); }
  .service-profile-page .profile-related-card:hover { border-color: var(--accent-border); box-shadow: 0 4px 12px #172b4d08; }
}
@media (max-width: 1000px) {
  .service-profile-page .profile-layout { grid-template-columns: minmax(0,1fr); }
  .service-profile-page .profile-aside { display: none; }
}
@media (max-width: 700px) {
  .service-profile-page { padding-bottom: 22px; }
  .service-profile-page .profile-hero { padding: 18px; border-radius: 14px; }
  .service-profile-page .profile-hero-top { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 3px 13px; align-items: center; }
  .service-profile-page .profile-brand-panel { grid-column: 1; grid-row: 1 / 3; min-height: 76px; padding: 4px; border-radius: 10px; }
  .service-profile-page .profile-brand-panel > .service-logo { width: 104px; height: 68px; padding: 8px; }
  .service-profile-page .profile-brand-panel > .service-mark-placeholder { width: 68px; height: 68px; }
  .service-profile-page .profile-hero-copy { display: contents; }
  .service-profile-page .profile-hero-copy > .eyebrow { grid-column: 2; grid-row: 1; align-self: end; margin: 0 0 2px; font-size: .8125rem; }
  .service-profile-page .profile-hero h1 { grid-column: 2; grid-row: 2; align-self: start; font-size: 1.5rem; line-height: 1.45; }
  .service-profile-page .profile-hero-copy > .profile-lead { grid-column: 1 / -1; margin-top: 13px; font-size: 1rem; line-height: 1.85; }
  .service-profile-page .profile-hero-copy > .detail-status { grid-column: 1 / -1; margin-top: 8px; }
  .service-profile-page .profile-feature-tags { margin-top: 14px; gap: 6px; }
  .service-profile-page .profile-feature-tags li { padding: 4px 8px; font-size: .875rem; }
  .service-profile-page .profile-at-glance { grid-template-columns: 1fr; gap: 11px; margin-top: 15px; padding: 13px 0; }
  .service-profile-page .profile-at-glance > div { display: grid; grid-template-columns: 5.5em minmax(0,1fr); gap: 8px; align-items: baseline; }
  .service-profile-page .profile-at-glance > div + div { padding-left: 0; border-left: 0; }
  .service-profile-page .profile-at-glance dt { margin: 0; font-size: .875rem; }
  .service-profile-page .profile-at-glance dt > svg { display: none; }
  .service-profile-page .profile-contract > div { grid-template-columns: 1fr; gap: 5px; }
  .service-profile-page .profile-at-glance dd { font-size: 1rem; line-height: 1.7; }
  .service-profile-page .profile-hero-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 15px; }
  .service-profile-page .profile-hero-actions > .button, .service-profile-page .profile-hero-actions .compare-check { width: 100%; min-width: 0; min-height: 46px; }
  .service-profile-page .profile-hero-actions .compare-check { justify-content: center; padding: 8px 12px; }
  .service-profile-page .profile-nav { margin: 13px 0 18px; padding: 4px; gap: 3px; }
  .service-profile-page .profile-nav a { padding: 7px 4px; font-size: .875rem; }
  .service-profile-page .profile-section, .service-profile-page .profile-section.detail-summary { padding: 19px; margin-bottom: 17px; border-radius: 12px; scroll-margin-top: 15px; }
  .service-profile-page .profile-section-heading { gap: 9px; margin-bottom: 15px; align-items: flex-start; }
  .service-profile-page .profile-section-heading h2 { padding-top: 2px; font-size: 1.1875rem; line-height: 1.6; }
  .service-profile-page .profile-section-icon { flex-basis: 31px; width: 31px; height: 31px; border-radius: 8px; }
  .service-profile-page .profile-section-icon > svg { width: 19px; height: 19px; }
  .service-profile-page .profile-copy { line-height: 1.95; }
  .service-profile-page .profile-fit { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .service-profile-page .profile-fit-card { padding: 15px; }
  .service-profile-page .profile-price-grid { grid-template-columns: 1fr; gap: 11px; }
  .service-profile-page .profile-price-card { padding: 18px; }
  .service-profile-page .profile-price-card > svg { margin-bottom: 6px; }
  .service-profile-page .profile-plan-grid { grid-template-columns: 1fr; gap: 10px; }
  .service-profile-page .profile-plan-grid > * { padding: 16px; }
  .service-profile-page .profile-plan-grid strong { font-size: 1.1875rem; }
  .service-profile-page .profile-check { margin-top: 16px; padding: 14px 13px; gap: 9px; }
  .service-profile-page .profile-related-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 13px; }
  .service-profile-page .profile-related-card { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 8px 12px; padding: 15px; align-items: center; }
  .service-profile-page .profile-related-card > .service-logo { grid-column: 1; grid-row: 1; width: 88px; height: 50px; }
  .service-profile-page .profile-related-card > strong { grid-column: 2; grid-row: 1; }
  .service-profile-page .profile-related-card > span:not(.service-mark), .service-profile-page .profile-related-card > small { grid-column: 1 / -1; }
  .service-profile-page .profile-related-card > span:not(.service-mark) { font-size: 1rem; }
  .service-profile-page .profile-bottom-action { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 12px; margin: 19px 0; padding: 18px; }
  .service-profile-page .profile-bottom-action > .service-logo { width: 88px; height: 54px; }
  .service-profile-page .profile-bottom-action > div { min-width: 0; }
  .service-profile-page .profile-bottom-action strong { font-size: 1rem; }
  .service-profile-page .profile-bottom-action p { font-size: .875rem; }
  .service-profile-page .profile-bottom-action > .button { grid-column: 1 / -1; min-height: 46px; }
  .service-profile-page .profile-sources { padding-inline: 15px; }
}
@media (max-width: 390px) {
  .service-profile-page .profile-hero { padding: 16px; }
  .service-profile-page .profile-hero-top { grid-template-columns: 102px minmax(0,1fr); gap: 3px 11px; }
  .service-profile-page .profile-brand-panel { min-height: 72px; }
  .service-profile-page .profile-brand-panel > .service-logo { width: 94px; height: 64px; }
  .service-profile-page .profile-hero h1 { font-size: 1.375rem; }
  .service-profile-page .profile-section, .service-profile-page .profile-section.detail-summary { padding: 17px; }
  .service-profile-page .profile-nav a { font-size: .875rem; padding-inline: 2px; }
  .service-profile-page .profile-related-card { grid-template-columns: 78px minmax(0,1fr); padding: 13px; gap: 8px 10px; }
  .service-profile-page .profile-related-card > .service-logo { width: 78px; height: 48px; }
  .service-profile-page .profile-bottom-action { grid-template-columns: 76px minmax(0,1fr); padding: 16px; gap: 10px; }
  .service-profile-page .profile-bottom-action > .service-logo { width: 76px; height: 48px; }
}
@media (prefers-contrast: more) {
  .service-profile-page .profile-hero, .service-profile-page .profile-section, .service-profile-page .profile-aside-card, .service-profile-page .profile-related-card, .service-profile-page .profile-nav, .service-profile-page .profile-price-card, .service-profile-page .profile-fit-card { border-color: var(--control-line); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .service-profile-page .profile-related-card { transition: none; }
}

/* V14: six categories and a compact, optional directory of service names. */
.catalog-page .category-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); }
.catalog-page .category-tab { min-width: 0; min-height: 46px; }
.catalog-page .category-tab > .category-label { min-width: 0; overflow-wrap: anywhere; }
.catalog-page .category-tab > .cat-icon, .catalog-page .category-tab > .cat-count { flex-shrink: 0; }
.catalog-page .service-name-index { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.catalog-page .service-name-index > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 17px; color: var(--ink-strong); font-size: 1rem; line-height: 1.6; font-weight: 600; cursor: pointer; list-style: none; border-radius: 10px; }
.catalog-page .service-name-index > summary::-webkit-details-marker { display: none; }
.catalog-page .service-name-index > summary::before { content: "+"; flex: 0 0 18px; width: 18px; color: var(--accent); font-size: 1.25rem; font-weight: 400; text-align: center; line-height: 1; }
.catalog-page .service-name-index[open] > summary { border-bottom: 1px solid var(--line-soft); border-radius: 10px 10px 0 0; background: var(--accent-soft); }
.catalog-page .service-name-index[open] > summary::before { content: "−"; }
.catalog-page .service-name-index > summary > span { margin-left: auto; flex-shrink: 0; color: var(--muted); font-size: .875rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.catalog-page .name-index-groups { display: grid; gap: 22px; padding: 21px; }
.catalog-page .name-index-groups > section { min-width: 0; }
.catalog-page .name-index-groups h2 { margin: 0 0 10px; color: var(--accent-dark); font-size: 1rem; line-height: 1.6; }
.catalog-page .name-index-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.catalog-page .name-index-links > a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; min-width: 0; min-height: 44px; padding: 8px 11px; border: 1px solid var(--line-soft); border-radius: 7px; color: var(--ink); background: var(--surface); font-size: .9375rem; line-height: 1.55; overflow-wrap: anywhere; }
.catalog-page .name-index-links > a > small { color: var(--muted); font-size: .875rem; font-weight: 400; }
@media (hover: hover) {
  .catalog-page .service-name-index > summary:hover { color: var(--accent-dark); background: var(--accent-soft); }
  .catalog-page .name-index-links > a:hover { color: var(--accent-dark); background: var(--accent-soft); border-color: var(--accent-border); }
}
@media (max-width: 900px) {
  .catalog-page .name-index-links { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .catalog-page .category-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-page .category-tab { min-height: 46px; }
  .catalog-page .service-name-index { margin-bottom: 13px; border-radius: 10px; }
  .catalog-page .service-name-index > summary { padding: 11px 12px; gap: 8px; font-size: .9375rem; }
  .catalog-page .name-index-groups { gap: 18px; padding: 15px; }
  .catalog-page .name-index-groups h2 { margin-bottom: 8px; }
  .catalog-page .name-index-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .catalog-page .name-index-links > a { padding: 8px 10px; }
}
@media (max-width: 390px) {
  .catalog-page .service-name-index > summary { gap: 6px; padding-inline: 10px; font-size: .875rem; }
  .catalog-page .name-index-groups { padding: 13px; }
  .catalog-page .name-index-links { gap: 6px; }
  .catalog-page .name-index-links > a { padding-inline: 8px; }
}
@media (prefers-contrast: more) {
  .catalog-page .service-name-index, .catalog-page .name-index-links > a { border-color: var(--control-line); }
}

/* V15: longer service stories, with short chapters and a mobile reading rhythm. */
.service-profile-page .profile-nav { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; }
.service-profile-page .profile-nav a { min-height: 46px; padding: 8px 5px; font-size: .875rem; }
.service-profile-page .profile-nav a + a { border-left: 0; }
.service-profile-page .profile-section > .profile-intro-hook { margin: 0 0 22px; color: var(--ink-strong); font-size: 1.0625rem; font-weight: 500; line-height: 1.95; }
.service-profile-page .profile-highlights { display: grid; gap: 22px; margin-top: 5px; }
.service-profile-page .profile-highlight { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 8px 12px; min-width: 0; }
.service-profile-page .profile-highlight + .profile-highlight { padding-top: 23px; border-top: 1px solid var(--line-soft); }
.service-profile-page .profile-highlight-number { display: flex; align-items: center; justify-content: center; grid-column: 1; grid-row: 1; width: 32px; height: 30px; border-radius: 7px; color: var(--accent-dark); background: var(--accent-soft); font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.service-profile-page .profile-highlight h3 { grid-column: 2; align-self: center; margin: 0; color: var(--ink-strong); font-size: 1.125rem; line-height: 1.65; }
.service-profile-page .profile-highlight p { grid-column: 2; margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.95; overflow-wrap: anywhere; }
.service-profile-page .profile-step-list { display: grid; gap: 25px; margin: 6px 0 0; padding: 0; list-style: none; }
.service-profile-page .profile-step { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: start; gap: 13px; min-width: 0; }
.service-profile-page .profile-step::after { position: absolute; top: 40px; bottom: -19px; left: 16px; width: 1px; background: var(--line); content: ""; }
.service-profile-page .profile-step:last-child::after { display: none; }
.service-profile-page .profile-step-number { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--accent-border); border-radius: 50%; color: var(--accent-dark); background: #fff; font-size: .9375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.service-profile-page .profile-step > div { min-width: 0; }
.service-profile-page .profile-step h3 { margin: 2px 0 7px; color: var(--ink-strong); font-size: 1.0625rem; line-height: 1.7; }
.service-profile-page .profile-step p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.service-profile-page .profile-free-try { margin-top: 20px; padding: 19px 21px; border: 1px solid #dbe5e0; border-radius: 10px; background: #f4f8f5; }
.service-profile-page .profile-free-try h3 { margin: 0 0 8px; color: #355d50; font-size: 1rem; line-height: 1.7; }
.service-profile-page .profile-free-try p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.service-profile-page .profile-faq-list { margin-top: 2px; }
.service-profile-page .profile-faq { border-bottom: 1px solid var(--line-soft); }
.service-profile-page .profile-faq:last-child { border-bottom: 0; }
.service-profile-page .profile-faq > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 54px; padding: 15px 0; color: var(--ink-strong); font-size: 1rem; font-weight: 600; line-height: 1.7; cursor: pointer; list-style: none; }
.service-profile-page .profile-faq > summary::-webkit-details-marker { display: none; }
.service-profile-page .profile-faq > summary::after { display: flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; color: var(--accent-dark); background: var(--accent-soft); content: "+"; font-size: 1.25rem; font-weight: 400; line-height: 1; }
.service-profile-page .profile-faq[open] > summary { color: var(--accent-dark); }
.service-profile-page .profile-faq[open] > summary::after { content: "−"; }
.service-profile-page .profile-faq > p { margin: 0; padding: 0 0 19px; color: var(--ink); font-size: 1rem; line-height: 1.95; overflow-wrap: anywhere; }
.service-profile-page .profile-faq > p + p { margin-top: -5px; }
.service-mark.service-logo.service-logo--dark { border-color: #26342e; background: #26342e; }
.service-mark.service-logo.service-logo--dark.logo-failed { color: #fff; }
@media (hover: hover) {
  .service-profile-page .profile-faq > summary:hover { color: var(--accent-dark); }
}
@media (max-width: 1000px) {
  .service-profile-page .profile-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .service-profile-page .profile-nav { gap: 3px; }
  .service-profile-page .profile-nav a { min-height: 44px; padding: 8px 4px; font-size: .875rem; }
  .service-profile-page .profile-section > .profile-intro-hook { margin-bottom: 18px; font-size: 1rem; line-height: 1.95; }
  .service-profile-page .profile-highlights { gap: 20px; }
  .service-profile-page .profile-highlight { grid-template-columns: 29px minmax(0,1fr); gap: 10px; }
  .service-profile-page .profile-highlight + .profile-highlight { padding-top: 20px; }
  .service-profile-page .profile-highlight-number { width: 29px; height: 28px; border-radius: 6px; }
  .service-profile-page .profile-highlight h3 { font-size: 1.0625rem; line-height: 1.7; }
  .service-profile-page .profile-highlight p { grid-column: 1 / -1; font-size: 1rem; line-height: 1.95; }
  .service-profile-page .profile-step-list { gap: 23px; }
  .service-profile-page .profile-step { grid-template-columns: 30px minmax(0,1fr); gap: 10px; }
  .service-profile-page .profile-step::after { top: 36px; left: 14px; bottom: -17px; }
  .service-profile-page .profile-step-number { width: 30px; height: 30px; font-size: .875rem; }
  .service-profile-page .profile-step h3 { margin-top: 0; font-size: 1rem; }
  .service-profile-page .profile-step p { font-size: 1rem; line-height: 1.9; }
  .service-profile-page .profile-free-try { margin-top: 16px; padding: 16px; }
  .service-profile-page .profile-faq > summary { gap: 10px; padding-block: 14px; min-height: 52px; }
  .service-profile-page .profile-faq > p { padding-bottom: 17px; }
}
@media (prefers-contrast: more) {
  .service-profile-page .profile-highlight + .profile-highlight, .service-profile-page .profile-faq, .service-profile-page .profile-free-try, .service-profile-page .profile-step-number { border-color: var(--control-line); }
  .service-profile-page .profile-step::after { background: var(--control-line); }
}

/* V16: the reading flow follows what each service actually has to tell. */
.service-profile-page .profile-layout--single { grid-template-columns: minmax(0,1fr); }
.service-profile-page .profile-hero + .profile-layout { margin-top: 22px; }
.service-profile-page .profile-nav { grid-template-columns: repeat(auto-fit,minmax(100px,1fr)); }
.service-profile-page .profile-editorial { margin: 24px 0; padding: 21px 23px; border-left: 3px solid var(--coral); border-radius: 0 10px 10px 0; background: linear-gradient(100deg,#fff4ef 0%,#fff 100%); scroll-margin-top: 100px; }
.service-profile-page .profile-editorial-label { margin: 0 0 8px; color: var(--accent-dark); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; }
.service-profile-page .profile-editorial h2 { max-width: 33em; margin: 0 0 15px; color: var(--ink-strong); font-size: 1.25rem; font-weight: 650; letter-spacing: .015em; line-height: 1.65; }
.service-profile-page .profile-editorial-copy { max-width: 43em; }
.service-profile-page .profile-editorial-copy p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.95; overflow-wrap: anywhere; }
.service-profile-page .profile-editorial-copy p + p { margin-top: 14px; }
.service-profile-page .profile-fit-brief { display: grid; grid-template-columns: 6em minmax(0,1fr); align-items: baseline; gap: 11px; margin: 22px 0 0; }
.service-profile-page .profile-fit-brief > strong { color: var(--accent-dark); font-size: .875rem; font-weight: 600; line-height: 1.7; }
.service-profile-page .profile-fit-brief > p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.8; }
.service-profile-page .profile-at-glance > div:only-child { grid-column: 1 / -1; }
.service-profile-page .profile-price-grid > :only-child, .service-profile-page .profile-plan-grid > :only-child { grid-column: 1 / -1; }
.service-profile-page .profile-use-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.service-profile-page .profile-use-note:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.service-profile-page .profile-use-note h3 { margin: 0 0 7px; color: var(--ink-strong); font-size: 1rem; font-weight: 600; line-height: 1.7; }
.service-profile-page .profile-use-note p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.service-profile-page .profile-overview-extra { margin-top: 18px; border-top: 1px solid var(--line-soft); }
.service-profile-page .profile-overview-extra > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 0; color: var(--accent-dark); font-size: .9375rem; font-weight: 500; line-height: 1.7; cursor: pointer; list-style: none; }
.service-profile-page .profile-overview-extra > summary::-webkit-details-marker { display: none; }
.service-profile-page .profile-overview-extra > summary::after { content: "+"; margin-left: auto; font-size: 1.125rem; }
.service-profile-page .profile-overview-extra[open] > summary::after { content: "−"; }
.service-profile-page .profile-overview-extra > .profile-copy { padding: 2px 0 6px; }
.service-profile-page .profile-section > .profile-intro-hook:last-child { margin-bottom: 0; }
@media (min-width: 901px) {
  .service-row > .service-identity { grid-column: 1; }
  .service-row > .service-summary { grid-column: 2; }
  .service-row > .service-facts { grid-column: 3; }
  .service-row > .service-actions { grid-column: 4; grid-row: 1; }
  .service-row--brief > .service-identity { grid-column: 1 / 4; }
}
@media (max-width: 1000px) {
  .service-profile-page .profile-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-profile-page .profile-nav:has(a:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .service-profile-page .profile-editorial { margin: 20px 0; padding: 17px 15px; border-left-width: 2px; border-radius: 0 8px 8px 0; scroll-margin-top: 18px; }
  .service-profile-page .profile-editorial h2 { margin-bottom: 13px; font-size: 1.125rem; line-height: 1.7; }
  .service-profile-page .profile-editorial-copy p { font-size: 1rem; line-height: 1.95; }
  .service-profile-page .profile-editorial-copy p + p { margin-top: 13px; }
  .service-profile-page .profile-fit-brief { grid-template-columns: 1fr; gap: 4px; margin-top: 18px; }
  .service-profile-page .profile-fit-brief > strong { font-size: .875rem; }
  .service-profile-page .profile-use-note { margin-top: 17px; padding-top: 16px; }
  .service-profile-page .profile-bottom-action p { font-size: 1rem; line-height: 1.85; }
  .service-profile-page .profile-hero + .profile-layout { margin-top: 17px; }
}
@media (prefers-contrast: more) {
  .service-profile-page .profile-editorial { border-color: var(--accent-dark); background: #fff; }
  .service-profile-page .profile-overview-extra, .service-profile-page .profile-use-note { border-color: var(--control-line); }
}

/* V17: official pricing and capability tables, readable without sideways scrolling. */
.service-profile-page .profile-fact-tables { display: grid; gap: 27px; min-width: 0; }
.service-profile-page .profile-fact-block { min-width: 0; max-width: 100%; }
.service-profile-page .profile-fact-block > h3 { margin: 0 0 12px; color: var(--ink-strong); font-size: 1.0625rem; font-weight: 650; line-height: 1.7; }
.service-profile-page .profile-fact-table-wrap { max-width: 100%; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.service-profile-page .profile-fact-table { width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; border-spacing: 0; color: var(--ink); background: #fff; font-size: 1rem; line-height: 1.75; }
.service-profile-page .profile-fact-table th, .service-profile-page .profile-fact-table td { padding: 12px 13px; border: 0; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
.service-profile-page .profile-fact-table th + th, .service-profile-page .profile-fact-table td { border-left: 1px solid var(--line-soft); }
.service-profile-page .profile-fact-table thead th { color: var(--accent-dark); background: #fff2ee; font-size: .9375rem; font-weight: 600; }
.service-profile-page .profile-fact-table tbody th { color: var(--ink-strong); font-weight: 600; }
.service-profile-page .profile-fact-table tbody tr:last-child > * { border-bottom: 0; }
.service-profile-page .profile-fact-table tbody tr:nth-child(even) { background: #fdfbf9; }
.service-profile-page .profile-fact-table--pair th:first-child { width: 37%; }
.service-profile-page .profile-fact-table[data-columns="3"] thead th:first-child { width: 31%; }
.service-profile-page .profile-fact-table[data-columns="4"] thead th:first-child { width: 26%; }
.service-profile-page .profile-fact-table[data-columns="5"] thead th:first-child { width: 23%; }
.service-profile-page .fact-cell-label { display: none; }
.service-profile-page .fact-cell-value { display: block; min-width: 0; }
.service-profile-page .profile-fact-notes { display: grid; gap: 6px; margin: 12px 0 0; padding-left: 1.15em; color: var(--ink); font-size: 1rem; line-height: 1.85; }
.service-profile-page .profile-fact-notes > li { padding-left: 2px; overflow-wrap: anywhere; }
.service-profile-page .profile-fact-notes > li::marker { color: var(--coral); }
.service-profile-page .profile-fact-references { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: baseline; gap: 8px; margin-top: 8px; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.service-profile-page .profile-fact-references > span { padding-block: 6px; }
.service-profile-page .profile-fact-references ul { display: flex; flex-wrap: wrap; gap: 0 12px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.service-profile-page .profile-fact-references li { min-width: 0; }
.service-profile-page .profile-fact-references a, .service-profile-page .profile-term-source { display: inline-flex; align-items: center; min-height: 36px; max-width: 100%; padding-block: 6px; color: var(--accent-dark); font-size: .875rem; line-height: 1.7; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.service-profile-page .profile-terms { margin-top: 25px; }
.service-profile-page .profile-terms > h3 { margin: 0 0 12px; color: var(--ink-strong); font-size: 1.0625rem; font-weight: 650; line-height: 1.7; }
.service-profile-page .profile-terms dl { margin: 0; }
.service-profile-page .profile-terms dl > div { display: grid; grid-template-columns: minmax(110px,.32fr) minmax(0,1fr); gap: 17px; padding: 17px 0; border-top: 1px solid var(--line-soft); }
.service-profile-page .profile-terms dt { color: var(--ink-strong); font-size: 1rem; font-weight: 600; line-height: 1.8; overflow-wrap: anywhere; }
.service-profile-page .profile-terms dd { min-width: 0; margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.9; }
.service-profile-page .profile-terms dd > p { margin: 0; overflow-wrap: anywhere; }
.service-profile-page .profile-term-source { margin-top: 3px; }
.service-profile-page .profile-fact-date { margin: 19px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.8; }
@media (max-width: 760px) {
  .service-profile-page .profile-fact-tables { gap: 23px; }
  .service-profile-page .profile-fact-block > h3 { margin-bottom: 10px; font-size: 1rem; }
  .service-profile-page .profile-fact-table th, .service-profile-page .profile-fact-table td { padding: 11px 10px; font-size: 1rem; line-height: 1.8; }
  .service-profile-page .profile-fact-table thead th { font-size: .9375rem; }
  .service-profile-page .profile-fact-table-wrap:has(.profile-fact-table--stack) { border: 0; border-radius: 0; overflow: visible; }
  .service-profile-page .profile-fact-table--stack { display: block; background: transparent; }
  .service-profile-page .profile-fact-table--stack thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); border: 0; white-space: nowrap; }
  .service-profile-page .profile-fact-table--stack tbody { display: grid; gap: 12px; min-width: 0; }
  .service-profile-page .profile-fact-table--stack tbody tr { display: block; min-width: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
  .service-profile-page .profile-fact-table--stack tbody th, .service-profile-page .profile-fact-table--stack tbody td { display: grid; grid-template-columns: minmax(88px,.38fr) minmax(0,1fr); align-items: baseline; gap: 10px; width: auto; padding: 11px 13px; border: 0; border-bottom: 1px solid var(--line-soft); }
  .service-profile-page .profile-fact-table--stack tbody th { grid-template-columns: 1fr; gap: 2px; color: var(--ink-strong); background: #fff2ee; }
  .service-profile-page .profile-fact-table--stack tbody tr:last-child > * { border-bottom: 1px solid var(--line-soft); }
  .service-profile-page .profile-fact-table--stack tbody tr > :last-child { border-bottom: 0; }
  .service-profile-page .profile-fact-table--stack .fact-cell-label { display: block; min-width: 0; color: var(--muted); font-size: .875rem; font-weight: 400; line-height: 1.7; }
  .service-profile-page .profile-fact-table--stack tbody th .fact-cell-label { color: var(--accent-dark); font-size: .875rem; }
  .service-profile-page .profile-fact-table--stack .fact-cell-value { color: var(--ink); font-size: 1rem; font-weight: 400; line-height: 1.8; }
  .service-profile-page .profile-fact-table--stack tbody th .fact-cell-value { color: var(--ink-strong); font-weight: 650; }
  .service-profile-page .profile-fact-notes { gap: 7px; margin-top: 11px; font-size: 1rem; }
  .service-profile-page .profile-fact-references { margin-top: 6px; }
  .service-profile-page .profile-terms { margin-top: 22px; }
  .service-profile-page .profile-terms > h3 { font-size: 1rem; }
  .service-profile-page .profile-terms dl > div { grid-template-columns: 1fr; gap: 5px; padding: 15px 0; }
  .service-profile-page .profile-terms dt, .service-profile-page .profile-terms dd { font-size: 1rem; }
}
@media (max-width: 390px) {
  .service-profile-page .profile-fact-table--pair th, .service-profile-page .profile-fact-table--pair td { padding-inline: 8px; }
  .service-profile-page .profile-fact-table--stack tbody th, .service-profile-page .profile-fact-table--stack tbody td { grid-template-columns: 1fr; gap: 3px; padding-inline: 12px; }
}
@media (prefers-contrast: more) {
  .service-profile-page .profile-fact-table-wrap, .service-profile-page .profile-fact-table th, .service-profile-page .profile-fact-table td, .service-profile-page .profile-terms dl > div, .service-profile-page .profile-fact-table--stack tbody tr { border-color: var(--control-line); }
}

/* V17: audience evidence and review observations stay visibly distinct. */
.service-profile-page .profile-audience-summary { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.service-profile-page .profile-audience-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 19px; }
.service-profile-page .profile-audience-cards:empty { display: none; }
.service-profile-page .profile-audience-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-top: 3px solid var(--coral); border-radius: 9px; background: #fff; }
.service-profile-page .profile-audience-card--official { border-top-color: #789b8c; }
.service-profile-page .profile-audience-card:only-child { grid-column: 1 / -1; }
.service-profile-page .profile-audience-card > h3 { margin: 0 0 17px; color: var(--ink-strong); font-size: 1.0625rem; font-weight: 650; line-height: 1.7; }
.service-profile-page .profile-audience-item + .profile-audience-item { margin-top: 17px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.service-profile-page .profile-audience-item h4 { margin: 0 0 7px; color: var(--ink-strong); font-size: 1rem; font-weight: 600; line-height: 1.75; }
.service-profile-page .profile-audience-item > p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.service-profile-page .profile-audience-item > .profile-audience-basis { margin-top: 9px; color: var(--muted); font-size: .875rem; line-height: 1.85; }
.service-profile-page .profile-audience-source { display: inline-flex; align-items: center; min-height: 36px; max-width: 100%; margin-top: 4px; padding-block: 6px; color: var(--accent-dark); font-size: .875rem; line-height: 1.7; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.service-profile-page .profile-audience-fit { margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.service-profile-page .profile-audience-fit > h3 { margin: 0 0 9px; color: var(--accent-dark); font-size: 1rem; font-weight: 600; line-height: 1.7; }
.service-profile-page .profile-audience-fit > ul { display: grid; gap: 7px; margin: 0; padding-left: 1.2em; color: var(--ink); font-size: 1rem; line-height: 1.85; }
.service-profile-page .profile-audience-fit li { padding-left: 2px; overflow-wrap: anywhere; }
.service-profile-page .profile-audience-fit li::marker { color: var(--coral); }
@media (max-width: 760px) {
  .service-profile-page .profile-audience-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 17px; }
  .service-profile-page .profile-audience-card { padding: 16px; }
  .service-profile-page .profile-audience-card > h3 { margin-bottom: 15px; font-size: 1rem; }
  .service-profile-page .profile-audience-fit { margin-top: 19px; padding-top: 16px; }
}
@media (prefers-contrast: more) {
  .service-profile-page .profile-audience-card, .service-profile-page .profile-audience-item + .profile-audience-item, .service-profile-page .profile-audience-fit { border-color: var(--control-line); }
}

/* V18: readable editorial pages, specific decisions, and compact mobile tables. */
.reading-heading { max-width: 880px; padding-bottom: 26px; }
.reading-heading h1 { max-width: 25em; color: var(--ink-strong); font-size: clamp(1.65rem,3vw,2.35rem); line-height: 1.55; letter-spacing: .015em; }
.reading-heading > p:not(.eyebrow) { max-width: 44em; margin-top: 14px; line-height: 1.9; }
.reading-hub-nav { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.reading-hub-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 1; min-height: 46px; padding: 8px 16px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.reading-hub-nav a[aria-current] { background: #fff; color: var(--accent-dark); box-shadow: 0 2px 7px #172b4d09; }
.reading-hub-nav a span { font-size: .8125rem; padding: 0 7px; border-radius: 20px; background: var(--accent-soft); }
.reading-layout { display: grid; grid-template-columns: minmax(0,780px) minmax(220px,270px); gap: 32px; align-items: start; padding-bottom: 18px; }
.reading-body { min-width: 0; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-size: 1rem; line-height: 1.95; box-shadow: var(--card-shadow); overflow-wrap: anywhere; }
.reading-body p { margin: 0 0 18px; }
.reading-body .reading-intro { margin-bottom: 26px; line-height: 2; }
.reading-body .guide-takeaway p { margin: 0; }
.reading-toc { margin: 24px 0 36px; padding: 16px 18px; }
.reading-toc summary { cursor: pointer; font-weight: 600; line-height: 1.75; }
.reading-toc summary > span { display: inline-block; margin-left: 12px; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.reading-toc nav { padding-top: 12px; }
.reading-toc a { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; color: var(--accent-dark); }
.reading-toc a > span { color: var(--muted); font-size: .8125rem; }
.reading-section { margin-top: 40px; scroll-margin-top: 122px; }
.reading-section-heading { display: flex; gap: 13px; align-items: flex-start; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.reading-section-heading > span { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-dark); font-size: .8125rem; font-weight: 600; }
.reading-section-heading h2 { margin: 0; color: var(--ink-strong); font-size: 1.35rem; line-height: 1.65; }
.reading-bullets { padding-left: 1.25em; margin: 18px 0 22px; }
.reading-bullets li { margin-bottom: 10px; padding-left: 4px; }
.reading-bullets li::marker { color: var(--accent); }
.reading-tip { margin: 22px 0 6px; padding: 18px 20px; border-radius: 11px; background: #f4f6f4; border-left: 3px solid #79958c; }
.reading-tip > strong { display: block; color: #3b625a; font-size: .9375rem; margin-bottom: 7px; }
.reading-tip p { margin: 0; }
.reading-table-wrap { margin: 22px 0 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.reading-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: .9375rem; line-height: 1.85; }
.reading-table th,.reading-table td { padding: 15px 14px; vertical-align: top; text-align: left; overflow-wrap: anywhere; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reading-table thead th { font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); }
.reading-table tbody th { font-weight: 500; background: var(--surface); }
.reading-table th:last-child,.reading-table td:last-child { border-right: 0; }
.reading-table tr:last-child th,.reading-table tr:last-child td { border-bottom: 0; }
.reading-table--pair th:first-child { width: 36%; }
.reading-body .reading-table-note { margin: 7px 0 13px; color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.reading-checklist { padding: 23px 24px; margin-top: 36px; border: 1px solid #eeddd5; border-radius: 12px; background: var(--accent-soft); }
.reading-checklist h2,.reading-faq h2,.reading-services h2 { margin: 0 0 17px; color: var(--ink-strong); font-size: 1.2rem; line-height: 1.7; }
.reading-checklist ul { list-style: none; padding: 0; margin: 0; }
.reading-checklist li { position: relative; padding-left: 26px; margin-top: 11px; }
.reading-checklist li:before { content: '✓'; position: absolute; left: 0; color: var(--accent-dark); font-weight: 600; }
.reading-faq { margin-top: 36px; }
.reading-faq details { border-top: 1px solid var(--line); }
.reading-faq details:last-child { border-bottom: 1px solid var(--line); }
.reading-faq summary { cursor: pointer; min-height: 48px; padding: 16px 2px; font-weight: 500; color: var(--ink-strong); }
.reading-faq details p { margin: 0; padding: 0 2px 20px; }
.reading-services { margin-top: 34px; }
.reading-services > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.reading-services a { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.reading-services a > span:not(.service-mark) { min-width: 0; }
.reading-services .service-mark { width: 76px; height: 42px; flex-shrink: 0; }
.reading-services strong { display: block; font-size: .9375rem; line-height: 1.65; }
.reading-services small { display: block; margin-top: 4px; font-size: .75rem; color: var(--accent-dark); line-height: 1.7; }
.reading-sources { margin: 28px 0; border-top: 1px solid var(--line); padding-top: 14px; font-size: .875rem; }
.reading-sources summary { cursor: pointer; min-height: 44px; display: list-item; color: var(--muted); }
.reading-sources a { color: var(--accent-dark); }
.reading-return { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-dark); font-size: .9375rem; }
.reading-sidebar { position: sticky; top: 96px; min-width: 0; }
.reading-sidebar-card { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.reading-sidebar nav { margin: 12px 0 20px; }
.reading-sidebar nav a { display: flex; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: .875rem; line-height: 1.85; }
.reading-sidebar nav a > span { color: var(--accent); font-size: .75rem; flex-shrink: 0; }
.reading-sidebar .button { width: 100%; }
.reading-more-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; width: min(100%,420px); padding: 12px 20px; margin: 22px auto 0; border: 1px solid var(--accent-border); border-radius: 9px; background: #fff; color: var(--accent-dark); font-size: .9375rem; font-weight: 500; }
.reading-more-link span { white-space: nowrap; }
.reading-pair-logos { display: flex; align-items: center; gap: 24px; width: fit-content; margin: 20px 0 22px; padding: 20px 26px; border-radius: 15px; background: var(--accent-soft); }
.reading-pair-logos > a { display: flex; flex-direction: column; align-items: center; gap: 9px; max-width: 150px; color: var(--ink-strong); font-size: .875rem; line-height: 1.65; text-align: center; }
.reading-pair-logos .service-mark { width: 106px; height: 57px; }
.reading-pair-logos .pair-versus { font-size: .875rem; color: var(--accent); font-weight: 600; }
.pair-decisions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.pair-decision { padding: 20px; border: 1px solid #ecd2c9; border-radius: 12px; background: #fff8f5; }
.pair-decision:nth-child(2) { background: #f4f7f5; border-color: #dbe6df; }
.pair-decision-brand { display: flex; align-items: center; gap: 10px; color: var(--accent-dark); font-size: .875rem; font-weight: 500; }
.pair-decision-brand .service-mark { width: 75px; height: 42px; flex-shrink: 0; }
.pair-decision h2 { margin: 18px 0 10px; font-size: 1.125rem; line-height: 1.7; color: var(--ink-strong); }
.pair-decision p { margin: 0; font-size: .9375rem; line-height: 1.9; }
.reading-deep-compare { margin: 34px 0; padding: 16px; border: 1px solid var(--line); border-radius: 11px; }
.reading-deep-compare > summary { cursor: pointer; font-weight: 500; min-height: 30px; }
.reading-deep-compare[open] > summary { margin-bottom: 22px; }
.reading-deep-compare .comparison-table th:first-child { width: 115px; }
.reading-deep-compare .comparison-table th,.reading-deep-compare .comparison-table td { padding: 11px; font-size: .875rem; }
.comparison-library { padding-bottom: 34px; }
.reading-next { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.reading-next strong { display: block; font-size: 1.125rem; }
.reading-next p { max-width: 45em; margin: 11px 0 20px; line-height: 1.9; }
@media (max-width: 1000px) {
  .reading-layout { grid-template-columns: minmax(0,1fr) 225px; gap: 22px; }
  .reading-body { padding: 26px; }
  .reading-services > div { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .reading-layout { grid-template-columns: minmax(0,1fr); }
  .reading-sidebar { display: none; }
  .reading-body { padding: 30px; }
}
@media (max-width: 640px) {
  .reading-heading { padding: 24px 0; }
  .reading-heading h1 { font-size: 1.7rem; line-height: 1.55; }
  .reading-heading > p:not(.eyebrow) { font-size: 1rem; }
  .reading-body { padding: 23px 18px; border-radius: 12px; line-height: 1.95; }
  .reading-section { margin-top: 34px; scroll-margin-top: 24px; }
  .reading-section-heading { gap: 10px; margin-bottom: 18px; padding-bottom: 14px; }
  .reading-section-heading h2 { font-size: 1.2rem; }
  .reading-section-heading > span { width: 29px; height: 29px; font-size: .75rem; border-radius: 7px; }
  .reading-tip { padding: 15px 16px; }
  .reading-hub-nav { gap: 4px; }
  .reading-hub-nav a { gap: 7px; padding: 8px 9px; font-size: .9375rem; }
  .reading-table { font-size: 1rem; }
  .reading-table th,.reading-table td { padding: 12px; }
  .reading-table--stack,.reading-table--stack tbody,.reading-table--stack tr,.reading-table--stack th,.reading-table--stack td { display: block; width: 100%; }
  .reading-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .reading-table--stack tbody th { border: 0; font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); }
  .reading-table--stack td { display: grid; grid-template-columns: minmax(80px,.7fr) minmax(0,1.3fr); gap: 13px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .reading-table--stack td:before { content: attr(data-label); font-size: .875rem; color: var(--muted); line-height: 1.85; }
  .reading-table--stack tr:last-child td { border-bottom: 1px solid var(--line-soft); }
  .reading-table--stack tr:last-child td:last-child { border: 0; }
  .reading-checklist { padding: 20px 16px; }
  .reading-toc { padding: 14px 16px; }
  .reading-toc summary > span { display: block; margin: 2px 0 0 19px; }
  .pair-decisions { grid-template-columns: 1fr; gap: 11px; }
  .pair-decision { padding: 18px; }
  .pair-decision h2 { margin-top: 13px; }
  .reading-pair-logos { width: 100%; justify-content: center; gap: 18px; padding: 18px; }
  .reading-pair-logos .service-mark { width: 92px; height: 50px; }
  .reading-pair-logos > a { max-width: 125px; }
  .reading-deep-compare { padding: 14px 12px; }
  .reading-services a { padding: 12px; }
  .reading-more-link { width: 100%; }
}
@media (max-width: 375px) {
  .reading-body { padding: 21px 15px; }
  .reading-table--stack td { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .reading-pair-logos { gap: 12px; padding: 16px 10px; }
  .reading-heading h1 { font-size: 1.55rem; }
}

/* V20: the full coral mark and navy wordmark, without clipping. */
.brand-symbol--match-erabi { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; background: transparent; border-radius: 0; overflow: visible; }
.brand-symbol--match-erabi img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border-radius: 0; }
.brand-name { color: #172b4d; font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.footer-brand .brand-symbol--match-erabi { width: 32px; height: 32px; flex-basis: 32px; }
@media (max-width: 700px) {
  .header-inner .brand-symbol--match-erabi { width: 36px; height: 36px; flex-basis: 36px; }
}
/* V19: explicit outbound choices after the reader has enough information. */
.commerce-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; max-width: 100%; line-height: 1.7; text-align: center; white-space: normal; }
.commerce-link > span:not(.sr-only) { min-width: 0; overflow-wrap: anywhere; }
.commerce-link .commerce-pr { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 20px; padding: 0 5px; border: 1px solid currentColor; border-radius: 4px; font-size: .75rem; font-weight: 500; letter-spacing: .03em; line-height: 1.4; }
.advertising-notice { margin: 0 0 17px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--surface); font-size: .875rem; line-height: 1.7; }
.service-profile-page .profile-pricing-action { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: 24px; padding: 21px; border: 1px solid #ecd2c9; border-radius: 11px; background: var(--accent-soft); }
.service-profile-page .profile-pricing-action > div { flex: 1 1 240px; min-width: 0; }
.service-profile-page .profile-pricing-action h3 { margin: 0 0 8px; color: var(--ink-strong); font-size: 1.0625rem; font-weight: 600; line-height: 1.7; }
.service-profile-page .profile-pricing-action p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.service-profile-page .profile-pricing-action > .commerce-link { flex: 1 1 230px; padding-inline: 17px; }
.commerce-choices { margin: 34px 0 25px; padding-top: 25px; border-top: 1px solid var(--line); }
.commerce-choices > h2 { max-width: 35em; margin: 0 0 18px; color: var(--ink-strong); font-size: 1.2rem; line-height: 1.7; }
.commerce-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 14px; }
.commerce-choice-grid[data-count="1"] { grid-template-columns: minmax(0,1fr); }
.commerce-choice-grid[data-count="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
.commerce-choice { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.commerce-choice-brand { display: flex; align-items: center; gap: 13px; min-width: 0; margin-bottom: 15px; }
.commerce-choice-brand > .service-mark { flex: 0 0 88px; width: 88px; height: 50px; }
.commerce-choice-brand > h3 { min-width: 0; margin: 0; color: var(--ink-strong); font-size: 1.0625rem; line-height: 1.65; overflow-wrap: anywhere; }
.commerce-choice > p { margin: 0 0 18px; color: var(--ink); font-size: 1rem; line-height: 1.85; overflow-wrap: anywhere; }
.commerce-choice > .commerce-link { width: 100%; margin-top: auto; padding-inline: 12px; }
.commerce-choice > .commerce-detail-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 7px; color: var(--accent-dark); font-size: .875rem; line-height: 1.7; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) {
  .commerce-choice-grid[data-count="3"] { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 700px) {
  .advertising-notice { margin-bottom: 13px; padding: 9px 11px; }
  .service-profile-page .profile-pricing-action { display: block; margin-top: 20px; padding: 17px; }
  .service-profile-page .profile-pricing-action h3 { font-size: 1rem; }
  .service-profile-page .profile-pricing-action > .commerce-link { width: 100%; margin-top: 16px; }
  .commerce-choices { margin: 28px 0 22px; padding-top: 22px; }
  .commerce-choices > h2 { margin-bottom: 15px; font-size: 1.125rem; }
  .commerce-choice-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .commerce-choice { padding: 17px; }
  .commerce-choice-brand { margin-bottom: 12px; gap: 11px; }
  .commerce-choice-brand > h3 { font-size: 1rem; }
  .commerce-choice > p { margin-bottom: 15px; }
}
@media (max-width: 390px) {
  .commerce-choice { padding: 15px; }
  .commerce-choice-brand > .service-mark { flex-basis: 78px; width: 78px; height: 46px; }
}
@media (prefers-contrast: more) {
  .advertising-notice, .commerce-choices, .commerce-choice, .service-profile-page .profile-pricing-action { border-color: var(--control-line); }
}

/* V21: a compact purpose picker, combined with the existing directory filters. */
.purpose-explorer { margin: 0 0 23px; }
.purpose-explorer-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 13px; margin-bottom: 11px; }
.purpose-explorer-heading h2 { margin: 0; color: var(--ink-strong); font-size: 1.125rem; font-weight: 650; line-height: 1.6; }
.purpose-explorer-heading p { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.purpose-buttons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.purpose-button { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 5px; min-width: 0; min-height: 72px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-strong); background: var(--paper); text-align: left; }
.purpose-button-label { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.5; letter-spacing: 0; overflow-wrap: anywhere; }
.purpose-button-meta { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--muted); font-size: .8125rem; font-weight: 400; line-height: 1.5; }
.purpose-button-icon { display: inline-flex; flex: 0 0 16px; color: var(--coral-dark); }
.purpose-button-icon svg { width: 16px; height: 16px; }
.purpose-button-subtitle { min-width: 0; overflow-wrap: anywhere; }
.purpose-button-count { flex-shrink: 0; margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.purpose-button[aria-pressed="true"] { border-color: var(--accent-border); color: var(--ink-strong); background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--coral); }
.purpose-button[aria-pressed="true"] .purpose-button-label { font-weight: 700; }
.purpose-button[aria-pressed="true"] .purpose-button-count { color: var(--accent-dark); }
.purpose-summary { margin-top: 11px; padding: 12px 15px; border-radius: 8px; background: var(--accent-soft); }
.purpose-summary > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.purpose-summary strong { color: var(--ink-strong); font-size: .9375rem; font-weight: 600; line-height: 1.7; }
.purpose-summary > div > span { color: var(--accent-dark); font-size: .8125rem; line-height: 1.7; white-space: nowrap; }
.purpose-summary > p { margin: 5px 0 0; color: var(--ink); font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.service-purpose-reason { grid-column: 1 / -1; padding: 11px 13px; border-left: 3px solid var(--coral); border-radius: 0 7px 7px 0; background: var(--accent-soft); }
.service-purpose-reason > strong { display: block; margin: 0 0 3px; color: var(--accent-dark); font-size: .8125rem; font-weight: 600; line-height: 1.7; }
.service-purpose-reason > p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.empty-state-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
@media (hover: hover) {
  .purpose-button:hover { border-color: var(--accent-border); background: var(--accent-soft); }
}
@media (min-width: 701px) and (max-width: 900px) {
  .service-purpose-reason { grid-row: 4; }
  .service-row:has(.service-purpose-reason) .service-extra { grid-row: 5; }
}
@media (max-width: 700px) {
  .purpose-explorer { margin-bottom: 19px; }
  .purpose-explorer-heading { margin-bottom: 9px; gap: 2px 10px; }
  .purpose-explorer-heading h2 { font-size: 1.0625rem; }
  .purpose-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .purpose-button { min-height: 66px; padding: 8px 10px; gap: 4px; }
  .purpose-button-label { font-size: .875rem; }
  .purpose-button-subtitle { display: none; }
  .purpose-summary { padding: 11px 12px; }
  .service-purpose-reason { margin-top: 1px; padding: 10px 11px; }
  .empty-state-actions { flex-direction: column; align-items: stretch; }
  .empty-state-actions > .button { min-height: 46px; }
}
@media (max-width: 390px) {
  .purpose-button { padding-inline: 6px; }
}
@media (prefers-contrast: more) {
  .purpose-button, .purpose-button[aria-pressed="true"] { border-color: var(--control-line); }
  .purpose-summary, .service-purpose-reason { border: 1px solid var(--control-line); }
}

/* V22: truthful, compact feedback for browser-local comparison storage. */
.compare-save-status { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 13px; margin: -9px 0 20px; color: var(--muted); font-size: .8125rem; line-height: 1.75; overflow-wrap: anywhere; }
.compare-save-status[data-save-state$="-failed"] { color: var(--warning-ink); }
.compare-save-status > span { min-width: 0; }
.compare-storage-retry { min-height: 44px; max-width: 100%; padding: 7px 11px; border: 1px solid var(--control-line); border-radius: 7px; color: var(--ink-strong); background: var(--paper); font-size: .875rem; line-height: 1.6; text-align: left; }
.tray-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 22px; row-gap: 4px; min-height: 96px; }
.tray-inner > .compare-save-status { grid-column: 1 / -1; margin: 0; font-size: .75rem; line-height: 1.5; }
body.has-compare-tray { padding-bottom: 118px; }
body.has-compare-tray .toast { bottom: 116px; }
@media (max-width: 700px) {
  .compare-save-status { margin-top: -6px; margin-bottom: 17px; }
  .tray-inner { column-gap: 10px; row-gap: 3px; min-height: 90px; }
  body.has-compare-tray { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  body.has-compare-tray .toast { bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 390px) {
  .tray-inner { column-gap: 8px; }
}

/* V23: uncropped official screens, with an accessible native-dialog enlargement. */
.profile-screen-open { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 160px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-strong); background: var(--surface); }
.profile-screen-image { display: block; width: 100%; max-width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.screen-expand-label { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 26px; margin-top: 10px; color: var(--accent-dark); font-size: .875rem; line-height: 1.6; }
.screen-expand-label > svg { width: 16px; height: 16px; }
.screen-frame-caption { margin: 12px 0 0; color: var(--ink); font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.screen-frame-source { margin: 5px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.8; overflow-wrap: anywhere; }
.screen-frame-source > a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.screen-image-fallback { margin: 11px 0 0; }
.screen-image-fallback > a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 8px 11px; border: 1px solid var(--accent-border); border-radius: 7px; color: var(--accent-dark); background: var(--accent-soft); font-size: .875rem; line-height: 1.7; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.screen-dialog { width: min(1000px,calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--paper); overflow: auto; overscroll-behavior: contain; box-shadow: 0 24px 100px #172b4d33; }
.screen-dialog::backdrop { background: #172b4d99; }
.screen-dialog-heading { position: sticky; z-index: 2; top: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 14px; padding: 15px 21px; border-bottom: 1px solid var(--line); background: var(--paper); }
.screen-dialog-heading > h2 { align-self: center; min-width: 0; margin: 0; color: var(--ink-strong); font-size: 1.125rem; line-height: 1.7; overflow-wrap: anywhere; }
.screen-dialog-close { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--control-line); border-radius: 7px; color: var(--ink-strong); background: var(--paper); font-size: .875rem; line-height: 1.6; white-space: nowrap; }
.screen-dialog-close > span { font-size: 1.25rem; line-height: 1; }
.screen-dialog-body { min-width: 0; padding: 21px; }
.screen-dialog-media { display: flex; align-items: flex-start; justify-content: center; min-height: 100px; padding: 12px; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--surface); }
.screen-dialog-image { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
@media (hover: hover) {
  .profile-screen-open:hover { border-color: var(--accent-border); background: var(--accent-soft); }
  .screen-dialog-close:hover { border-color: var(--accent-border); background: var(--surface); }
}
@media (max-width: 700px) {
  .profile-screen-open { padding: 10px; }
  .profile-screen-image { max-height: 480px; }
  .screen-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 10px; }
  .screen-dialog-heading { gap: 10px; padding: 11px 12px; }
  .screen-dialog-heading > h2 { font-size: 1rem; }
  .screen-dialog-close { gap: 6px; padding-inline: 9px; }
  .screen-dialog-body { padding: 13px; }
  .screen-dialog-media { padding: 6px; }
}
@media (prefers-contrast: more) {
  .profile-screen-open, .screen-image-fallback > a, .screen-dialog, .screen-dialog-heading, .screen-dialog-media { border-color: var(--control-line); }
}

/* V24: illustrations live beside their explanation in the opening article. */
.profile-inline-screen { min-width: 0; margin: 23px 0 26px; }
.inline-screen-copy { margin: 0 0 13px; }
.inline-screen-copy > h3 { margin: 0 0 8px; color: var(--ink-strong); font-size: 1.0625rem; font-weight: 650; line-height: 1.75; }
.inline-screen-copy .screen-frame-caption { margin: 0; }
.profile-inline-screen > .profile-screen-open { max-width: 640px; margin-inline: auto; }
.profile-inline-screen .profile-screen-image { max-height: 420px; }
.inline-screen-reference { margin-top: 7px; }
.inline-screen-note { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.screen-image-fallback > p { margin: 0 0 7px; color: var(--muted); font-size: .875rem; line-height: 1.8; }
@media (max-width: 700px) {
  .profile-inline-screen { margin: 19px 0 23px; }
  .inline-screen-copy > h3 { font-size: 1rem; }
  .profile-inline-screen .profile-screen-image { max-height: 390px; }
}

/* V25: compact navigation and readable detail tables on small screens. */
.profile-mobile-toc { display: none; }
@media (max-width: 700px) {
  .service-profile-page .profile-nav { display: none; }
  .profile-mobile-toc { display: block; position: sticky; top: 8px; z-index: 28; margin: 13px 0 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 3px 12px #172b4d0b; }
  .profile-mobile-toc > summary { min-height: 48px; padding: 11px 13px; color: var(--ink-strong); font-size: .9375rem; line-height: 1.7; font-weight: 600; cursor: pointer; }
  .profile-mobile-toc > summary::marker { color: var(--coral-dark); }
  .profile-toc-hint { float: right; margin-left: 8px; color: var(--muted); font-size: .8125rem; font-weight: 400; line-height: 1.95; }
  .profile-mobile-toc[open] > summary { border-bottom: 1px solid var(--line-soft); }
  .profile-mobile-toc > nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; max-height: 50vh; max-height: 50dvh; padding: 8px; overflow-y: auto; overscroll-behavior: contain; }
  .profile-mobile-toc nav a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 9px 7px; border-radius: 6px; color: var(--accent-dark); background: var(--surface); font-size: .9375rem; line-height: 1.6; text-align: center; overflow-wrap: anywhere; }
  .service-profile-page .profile-section, .service-profile-page .profile-section.detail-summary { scroll-margin-top: 72px; }
  .service-profile-page .profile-editorial { padding: 16px 10px 16px 13px; }
  .service-profile-page .profile-audience-card { padding: 14px 12px; }
  .service-profile-page .profile-fact-references a, .service-profile-page .profile-term-source, .service-profile-page .profile-audience-source { min-height: 44px; }
  .tray-actions > .tray-clear { min-width: 44px; min-height: 44px; }
}
@media (max-width: 430px) {
  .profile-toc-hint { font-size: .75rem; }
  .service-profile-page .profile-fact-table-wrap:has(.profile-fact-table--pair) { border: 0; border-radius: 0; overflow: visible; }
  .service-profile-page .profile-fact-table--pair { display: block; background: transparent; }
  .service-profile-page .profile-fact-table--pair thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); border: 0; white-space: nowrap; }
  .service-profile-page .profile-fact-table--pair tbody { display: grid; gap: 10px; min-width: 0; }
  .service-profile-page .profile-fact-table--pair tbody tr { display: block; min-width: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--paper); }
  .service-profile-page .profile-fact-table--pair tbody th, .service-profile-page .profile-fact-table--pair tbody td { display: block; width: auto; padding: 10px 12px; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .service-profile-page .profile-fact-table--pair tbody th { color: var(--ink-strong); background: var(--accent-soft); }
  .service-profile-page .profile-fact-table--pair tbody th:first-child { width: auto; }
  .service-profile-page .profile-fact-table--pair tbody td .fact-cell-label { display: block; margin-bottom: 3px; color: var(--muted); font-size: .8125rem; font-weight: 400; }
  .service-profile-page .profile-fact-table--pair .fact-cell-value { font-size: 1rem; line-height: 1.85; }
}
