/* Portal2B: visual and readability layer, loaded after style.css and portal.css. */
:root {
  --ink: #17283f;
  --muted: #52627a;
  --blue: #1761e8;
  --line: #dce4ef;
  --soft: #f5f8fc;
  --radius: 14px;
  --focus: #155bd7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { color: var(--ink); font-size: 16px; line-height: 1.6; background: #fff; }
body.page-catalog, body.page-service { background: #f7f9fc; }
button, input, select, textarea { font: inherit; }
a { text-underline-offset: 3px; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: #1761e815; }
button, a, summary { touch-action: manipulation; }
button, .button, summary { -webkit-user-select: none; user-select: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.shell { width: min(1280px, calc(100% - 64px)); }
.button { min-height: 46px; padding: 11px 18px; border-radius: 10px; font-size: 15px; line-height: 1.55; gap: 10px; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: #0e50c9; }
.secondary { color: #304b70; background: #fff; border: 1px solid #cdd9e8; }
.secondary:hover { background: #eef4ff; border-color: #a5bfe5; }
.text-link, .text-button { font-size: 15px; }
.text-button { min-height: 44px; }
.muted { color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Header and search use the same controls as the catalogue. */
.header { background: #fff; border-bottom-color: #e3e9f1; }
.header-inner { min-height: 88px; gap: 28px; padding-block: 16px; }
.brand { align-items: center; gap: 10px; font-size: 26px; letter-spacing: -.8px; }
.wordmark { color: var(--ink); font-weight: 750; }
.wordmark > span { color: var(--blue); }
.p-logo { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 36px; color: var(--blue); }
.p-logo svg, svg.p-logo { display: block; width: 36px; height: 36px; }
.header nav { gap: 22px; align-items: center; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.5; color: #3d506b; }
.header nav a:hover, .compare-nav:hover { color: var(--blue); }
.compare-nav { min-height: 44px; display: inline-flex; align-items: center; gap: 4px; color: #3d506b; font-size: 14px; }
.quick-search { border-radius: 10px; background: #f6f8fc; border-color: #d5dfec; }
.quick-search input { min-height: 44px; font-size: 14px; padding: 10px 12px; }
.quick-search button { min-height: 44px; min-width: 44px; font-size: 14px; }
.hero-search, .catalog-search { border-radius: 12px; border-color: #b8c9df; padding: 5px; gap: 8px; }
.hero-search input, .catalog-search input { min-height: 46px; padding: 11px 14px; font-size: 16px; line-height: 1.5; }
.hero-search input::placeholder, .catalog-search input::placeholder { color: #62728a; opacity: 1; font-size: 16px; }
.hero-search:focus-within, .catalog-search:focus-within, .quick-search:focus-within {
  border-color: #5689dd; box-shadow: 0 0 0 3px #1761e812;
}
.suggestions { border-radius: 12px; border-color: #ccd9eb; box-shadow: 0 12px 32px #213b601a; }
.suggestions a { min-height: 58px; padding: 14px 16px; }
.suggestions strong { font-size: 16px; line-height: 1.5; }
.suggestions span { font-size: 14px; line-height: 1.6; color: var(--muted); }
.suggestions .all-results { font-size: 15px; min-height: 46px; }

/* Main page: clear starting point, coloured calculation cards, useful categories. */
.home-intro { padding-block: 56px 34px; }
.home-intro h1 { max-width: 840px; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.12; letter-spacing: -1.65px; margin-bottom: 22px; }
.home-intro > p { max-width: 780px; font-size: 18px; line-height: 1.65; color: var(--muted); margin-bottom: 28px; }
.intro-meta { align-items: center; gap: 12px 26px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.intro-meta a { margin-left: 0; min-height: 36px; display: inline-flex; align-items: center; }
.section, .editorial-section { padding-block: 44px; }
.section-heading { align-items: center; margin-bottom: 24px; gap: 20px; }
.section-heading h2 { font-size: 29px; line-height: 1.25; letter-spacing: -.7px; }
.section-heading > a { font-size: 15px; line-height: 1.6; min-height: 44px; display: inline-flex; align-items: center; }
.directory-section { padding-block: 28px 44px; }
.directory-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; border-top: 0; }
.directory-group { min-width: 0; padding-top: 4px; }
.directory-group h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.55; color: #263d5b; }
.directory-group ul { padding: 0; border: 0; }
.directory-group li > a {
  display: flex; align-items: center; justify-content: flex-start; gap: 11px;
  min-height: 54px; padding: 8px 10px 8px 0; border-radius: 10px;
  color: #304968; font-size: 15px; line-height: 1.5;
  transition: color 140ms ease, background-color 140ms ease;
}
.directory-group li > a:hover { background: #f2f6fd; color: #1258cc; }
.directory-group li > a > span:not(.category-icon):not(.directory-count) { flex: 1; min-width: 0; }
.category-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px;
  background: #edf3ff; color: #2466cf;
}
.category-icon svg { display: block; width: 23px; height: 23px; flex: 0 0 23px; }
.directory-group:nth-child(3n + 2) .category-icon { background: #e9f7f0; color: #20815c; }
.directory-group:nth-child(3n + 3) .category-icon { background: #f1edfc; color: #7254b5; }
.directory-group:nth-child(5n) .category-icon { background: #fff3e3; color: #a96a17; }
.directory-count { margin-left: auto; padding-left: 4px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.category-grid, .category-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 36px; }
.category-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0;
  min-height: 170px; padding: 24px; border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); background: #fff; transition: border-color 150ms ease, box-shadow 150ms ease;
}
.category-tile:hover { border-color: #a7c2eb; box-shadow: 0 6px 18px #243e650a; }
.category-tile .category-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 12px; }
.category-tile h2, .category-tile h3, .category-tile strong { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 650; }
.category-tile p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.category-tile small, .category-tile .directory-count { margin-left: 0; padding: 0; color: var(--muted); font-size: 14px; }
.category-tile:nth-child(4n + 2) .category-icon { background: #e8f7f0; color: #218563; }
.category-tile:nth-child(4n + 3) .category-icon { background: #f2edfc; color: #7957bb; }
.category-tile:nth-child(4n) .category-icon { background: #fff3e4; color: #a97125; }

/* Eight calculators: one featured card and six peer cards form a three-column grid. */
.tool-grid, .home-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tool-card, .tool-card.wide {
  --tool-surface: #eef4ff; --tool-tone: #2a66d5; --tool-art-light: #fbfdff; --tool-art-dark: #b7d1ff;
  position: relative; display: flex; align-items: flex-start; isolation: isolate; overflow: hidden;
  grid-column: auto; min-height: 240px; padding: 32px; border: 1px solid #e0e9f7;
  border-radius: 20px; color: var(--ink); background: var(--tool-surface);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.tool-card.blue, .tool-card[data-tool="smtp"] { --tool-surface: #edf4ff; --tool-tone: #2665dd; --tool-art-dark: #b3ceff; }
.tool-card.green, .tool-card[data-tool="payments"] { --tool-surface: #eaf8f0; --tool-tone: #16835c; --tool-art-light: #f8fffc; --tool-art-dark: #a6dfc5; border-color: #d9ecdf; }
.tool-card.purple, .tool-card.violet, .tool-card[data-tool="cloud"] { --tool-surface: #f2edfc; --tool-tone: #7756c2; --tool-art-light: #fdfbff; --tool-art-dark: #cebef1; border-color: #e5ddf2; }
.tool-card.cyan, .tool-card.sky, .tool-card[data-tool="storage"] { --tool-surface: #eaf7fa; --tool-tone: #267f9c; --tool-art-light: #faffff; --tool-art-dark: #acdce8; border-color: #d9eaf0; }
.tool-card.orange, .tool-card[data-tool="subscriptions"] { --tool-surface: #fff4e6; --tool-tone: #b77722; --tool-art-light: #fffdf7; --tool-art-dark: #f0d09d; border-color: #f0e4d0; }
.tool-card.pink, .tool-card[data-tool="ai"] { --tool-surface: #fff0f5; --tool-tone: #bb5f82; --tool-art-light: #fffaff; --tool-art-dark: #efbdd0; border-color: #f2dfe6; }
.tool-card.mint, .tool-card[data-tool="ads"] { --tool-surface: #eaf7f5; --tool-tone: #2c8c7e; --tool-art-light: #f9fffd; --tool-art-dark: #b1dfd4; border-color: #d8eae5; }
.tool-card[data-tool="partners"] { --tool-surface: #f1f3fc; --tool-tone: #5d6cc4; --tool-art-dark: #c2c9ef; }
.tool-card:hover { transform: translateY(-2px); border-color: #afc5e5; box-shadow: 0 8px 22px #23477312; }
.tool-copy, .tool-card.wide .tool-copy { position: relative; z-index: 2; width: 100%; max-width: 65%; padding-bottom: 18px; }
.tool-card :is(h2, h3), .tool-card.wide :is(h2, h3) { max-width: 230px; margin: 0 0 13px; font-size: 23px; line-height: 1.22; letter-spacing: -.55px; font-weight: 700; }
.tool-card p, .tool-card.wide p { max-width: 225px; margin: 0; font-size: 16px; line-height: 1.65; color: #465b75; }
.tool-tag { margin-bottom: 12px; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; color: #4c6282; }
.tool-art, .tool-card.wide .tool-art {
  display: grid !important; place-items: center; position: absolute; z-index: 1;
  right: 24px; bottom: 24px; width: 90px; height: 90px; margin: 0;
  color: var(--tool-tone); border: 1px solid #ffffffb3; border-radius: 27px;
  background: linear-gradient(140deg, var(--tool-art-light) 4%, var(--tool-art-dark) 100%);
  box-shadow: inset 2px 3px 2px #ffffffc7, inset -3px -4px 8px #28406a13, 5px 7px 0 #2347780d, 0 14px 22px #254a7b12;
  transform: rotate(-9deg); opacity: 1; pointer-events: none;
}
.tool-art > svg, .tool-art .art-object svg { display: block; width: 70%; height: 70%; filter: drop-shadow(0 2px 0 #ffffffb3); }
.tool-art .art-object { display: contents; color: inherit; background: none; box-shadow: none; transform: none; }
.tool-art .art-shadow { opacity: .08; }
.tool-card.featured, .tool-card.wide { grid-column: span 2; min-height: 260px; padding: 30px; }
.tool-card.featured .tool-copy, .tool-card.wide .tool-copy { max-width: 62%; padding-bottom: 0; }
.tool-card.featured :is(h2, h3), .tool-card.wide :is(h2, h3) { max-width: 380px; font-size: 32px; line-height: 1.18; letter-spacing: -.8px; }
.tool-card.featured p, .tool-card.wide p { max-width: 350px; font-size: 16px; }
.tool-card.featured .tool-art, .tool-card.wide .tool-art { width: 158px; height: 148px; right: 38px; bottom: 35px; border-radius: 34px; }
.tool-art .art-pill { top: -12px; left: -21px; padding: 7px 12px; font-size: 14px; }
.tool-art .art-coin { width: 44px; height: 44px; bottom: -7px; right: -13px; font-size: 25px; }
.tool-card .card-go { display: none; }
.related-tools { gap: 18px; }
.related-tools .tool-card { min-height: 230px; }
.related-tools .tool-card.featured, .related-tools .tool-card.wide { grid-column: auto; }
.related-tools .tool-copy { max-width: 76%; }
.related-tools .tool-card :is(h2, h3) { font-size: 22px; }
.related-tools .tool-card .tool-art { width: 100px; height: 100px; right: 18px; bottom: 18px; }

/* Service cards: a small identity tile, readable description, and the actual price context. */
.catalog-band { padding-block: 40px; background: #f6f8fc; border-color: #e4eaf3; }
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.service-card { padding: 24px; border-radius: 14px; border-color: #dce4ef; background: #fff; animation: none; box-shadow: 0 2px 3px #223d5f03; transition: border-color 150ms ease, box-shadow 150ms ease, opacity 140ms ease; }
.service-card:hover { transform: none; border-color: #adc5e8; box-shadow: 0 6px 20px #24446f08; }
.service-top { align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.service-brand { display: flex; flex: 1; min-width: 0; gap: 12px; align-items: center; }
.service-identity { min-width: 0; flex: 1; }
.service-avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: #edf3fe; color: #295fae; font-size: 19px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.service-category { margin: 0 0 5px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.service-card h3 { margin: 0; font-size: 21px; line-height: 1.3; letter-spacing: -.35px; overflow-wrap: anywhere; }
.service-card h3 > a { color: var(--ink); }
.service-card h3 > a:hover { color: var(--blue); }
.compare-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; min-width: 44px; padding: 9px 11px; font-size: 14px; line-height: 1.5; color: #435e82; border: 1px solid #d6e0ed; border-radius: 9px; background: #fff; }
.compare-toggle input, .compare-control input { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.compare-control { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: #435e82; cursor: pointer; }
.compare-toggle[aria-pressed="true"] { color: #1253ba; background: #edf4ff; border-color: #8eafe5; }
.service-summary { font-size: 16px; line-height: 1.65; color: #43566f; margin: 0 0 16px; }
.feature-line { font-size: 14px; line-height: 1.65; color: var(--muted); gap: 6px 16px; margin: 0 0 20px; }
.feature-line li { border: 0; }
.service-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; padding-top: 18px; border-top-color: #e8edf4; }
.service-bottom strong { font-size: 19px; line-height: 1.45; letter-spacing: -.15px; font-weight: 650; color: var(--ink); }
.service-bottom small { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 5px; }
.card-link { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 44px; padding: 8px 0; font-size: 14px; line-height: 1.5; color: #1559c8; white-space: nowrap; }
.service-card .service-actions, .service-card-actions { display: flex; gap: 10px; margin-top: 16px; padding: 0; min-width: 0; }

/* Progressive catalogue controls: the primary row stays short. */
.breadcrumbs { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 24px; flex-wrap: wrap; }
.breadcrumbs a { color: #425d80; }
.page-heading { max-width: 940px; padding-block: 32px 26px; }
.page-heading h1 { font-size: 40px; line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px; }
.page-heading > p, .catalog-intro { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0; max-width: 820px; }
.catalog-explanation { font-size: 15px; color: var(--muted); margin-top: 12px; }
.catalog-explanation > summary { min-height: 44px; display: list-item; width: fit-content; color: #335d95; padding-block: 10px; }
.catalog-explanation p { margin: 12px 0 0; font-size: 16px; line-height: 1.75; }
.catalog-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 28px; }
.catalog-layout > aside { position: sticky; top: 20px; }
.catalog-sections { border: 1px solid var(--line); background: #fff; border-radius: 12px; overflow: clip; }
.catalog-sections > summary { min-height: 52px; padding: 14px 16px; font-size: 16px; font-weight: 600; line-height: 1.5; color: #2c4568; }
.catalog-sections[open] > summary { border-bottom: 1px solid #e5ebf3; }
.category-navigation { display: flex; flex-direction: column; max-height: 560px; overflow: auto; padding: 7px; gap: 2px; border: 0; scrollbar-width: thin; }
.category-navigation a { align-items: center; flex-shrink: 0; min-height: 44px; padding: 10px; font-size: 14px; line-height: 1.5; color: #435b7c; border-radius: 8px; max-width: none; }
.category-navigation a > span:last-child { display: inline; color: var(--muted); font-size: 14px; }
.category-navigation a[aria-current="page"] { background: #edf3ff; color: #1559c5; font-weight: 600; }
.catalog-filter-panel { padding: 20px; margin: 16px 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.catalog-filter-panel .catalog-filters { padding: 0; border: 0; background: none; margin: 0; }
.catalog-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 20px; border-radius: 12px; border-color: var(--line); background: #fff; }
.filter-field { font-size: 14px; line-height: 1.55; color: #425975; gap: 8px; }
.filter-field select { min-height: 46px; padding: 10px 12px; font-size: 15px; line-height: 1.5; color: var(--ink); border-color: #cbd8e8; border-radius: 9px; background: #fff; }
.advanced-filters { margin-top: 18px; border-top: 1px solid #e3eaf3; }
.advanced-filters > summary { min-height: 46px; padding-block: 12px; font-size: 15px; color: #345d91; font-weight: 550; }
.advanced-filters[open] > summary { margin-bottom: 8px; }
.advanced-filters .catalog-filters { gap: 16px; }
.checkbox-filters { grid-column: 1 / -1; padding-top: 16px; gap: 12px 24px; border-top-color: #e3eaf3; }
.checkbox-filters label { min-height: 44px; font-size: 14px; line-height: 1.6; color: #425975; gap: 9px; }
.checkbox-filters input { width: 18px; height: 18px; flex: 0 0 18px; }
.filter-toolbar { gap: 14px; margin-block: 18px 16px; font-size: 14px; flex-wrap: wrap; }
.filter-toolbar .button { min-height: 44px; padding: 9px 14px; font-size: 14px; }
.filter-toolbar > label { font-size: 14px; line-height: 1.6; color: var(--muted); gap: 10px; }
.filter-toolbar select { min-height: 44px; padding: 9px 10px; font-size: 14px; line-height: 1.5; border-color: #cdd9e8; color: #344e70; border-radius: 8px; }
.result-count { color: #435b7c; font-size: 14px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.active-filters { gap: 8px; margin-bottom: 16px; }
.active-filters button { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 1.55; color: #315f9f; background: #eef4ff; border-color: #d5e2f7; }
.load-more { margin-block: 28px; min-width: 190px; }
.empty-state { padding: 30px; border-radius: 14px; background: #f2f6fe; border-color: #d8e4f6; }
.empty-state h2 { font-size: 25px; line-height: 1.3; }
.empty-state p { font-size: 16px; line-height: 1.7; color: var(--muted); }

/* Product details, tariff accordions and evidence disclosures. */
.service-heading { padding-block: 34px 28px; gap: 36px; }
.service-heading h1 { font-size: 42px; line-height: 1.2; letter-spacing: -1px; }
.service-heading p { font-size: 17px; line-height: 1.75; color: var(--muted); }
.service-categories { gap: 10px 16px; font-size: 14px; line-height: 1.6; }
.service-categories a { color: #47638a; min-height: 32px; display: inline-flex; align-items: center; }
.service-actions .button { font-size: 15px; }
.section-nav { gap: 24px; padding-block: 12px; margin-bottom: 26px; scrollbar-width: thin; }
.section-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.5; color: #425b7c; }
.service-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 26px; }
.content-panel { border-radius: 14px; border-color: var(--line); background: #fff; padding: 28px; margin-bottom: 20px; }
.content-panel h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.5px; margin-bottom: 20px; }
.content-panel h3 { font-size: 19px; line-height: 1.4; margin-top: 24px; }
.content-panel p, .content-panel li { color: #435975; font-size: 16px; line-height: 1.75; }
.content-panel li { margin-bottom: 10px; }
.panel-heading > span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.capabilities { column-gap: 30px; }
.tariff-plans, .tariff-list { display: grid; gap: 12px; }
.tariff-plan { border: 1px solid #d9e3ef; border-radius: 12px; background: #fff; margin: 0 0 12px; overflow: clip; }
.tariff-plan > summary { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 18px 20px; list-style: none; color: #213b5b; }
.tariff-plan > summary::-webkit-details-marker { display: none; }
.tariff-plan > summary::after { content: "+"; display: inline-flex; justify-content: center; align-items: center; width: 24px; height: 24px; flex: 0 0 24px; font-size: 22px; font-weight: 400; color: #587393; }
.tariff-plan[open] > summary::after { content: "−"; }
.tariff-plan > summary:hover { background: #f7faff; }
.tariff-plan[open] > summary { background: #f7faff; border-bottom: 1px solid #e3eaf3; }
.tariff-plan > summary h3, .tariff-name { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 650; }
.tariff-price { display: block; margin-left: auto; max-width: 53%; color: var(--ink); font-size: 18px; line-height: 1.5; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.tariff-price small { display: block; margin-top: 5px; font-size: 14px; line-height: 1.6; color: var(--muted); font-weight: 400; }
.tariff-details { padding: 18px 20px 20px; }
.tariff-details p, .tariff-details li { font-size: 16px; line-height: 1.7; }
.tariff-details dl { margin: 16px 0 0; }
.tariff-details dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(90px, 1fr); gap: 16px; padding-block: 9px; border-top: 1px solid #e9eef5; }
.tariff-details dt { color: var(--muted); font-size: 14px; line-height: 1.6; }
.tariff-details dd { color: #314d70; font-size: 15px; line-height: 1.6; margin: 0; }
.tariff-table { min-width: 580px; }
.tariff-table th, .tariff-table td { font-size: 15px; line-height: 1.7; padding: 18px 14px; }
.tariff-table th, .tariff-table dt { color: var(--muted); font-size: 14px; }
.tariff-table small, .tariff-table p, .tariff-table dd { font-size: 14px; line-height: 1.65; color: var(--muted); }
.fact-list > div { grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding-block: 15px; font-size: 16px; line-height: 1.7; }
.fact-list dt { color: var(--muted); }
.fact-list dd { color: #3d5777; }
.integration-list { gap: 9px; }
.integration-list > span { padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 1.55; color: #435e82; background: #f8faff; }
.source-inline { padding-top: 18px; font-size: 14px; line-height: 1.8; }
.source-inline a { min-height: 36px; display: inline-flex; align-items: center; margin-top: 0; }
.sources-list li { padding-block: 14px; font-size: 15px !important; }
.sources-list span { font-size: 14px; line-height: 1.6; color: var(--muted); }
.content-panel > summary { min-height: 44px; font-size: 21px; line-height: 1.5; font-weight: 600; color: #2d496c; }
.content-panel[open] > summary { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid #e3eaf3; }
.service-sidebar { top: 20px; }
.sidebar-card { padding: 24px; border-radius: 14px; background: #fff; border-color: #d8e3f1; }
.sidebar-card h2 { font-size: 25px; line-height: 1.4; margin-bottom: 14px; }
.sidebar-card h3 { font-size: 18px; line-height: 1.5; }
.sidebar-card p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.sidebar-card a { min-height: 36px; font-size: 15px; line-height: 1.7; }
.sidebar-card .button { min-height: 46px; font-size: 15px; }
.review-stats, .review-detail { font-size: 15px; line-height: 1.7; color: #425c7d; }
.review-stats { padding: 18px; border-radius: 10px; }
.native-review > header { font-size: 14px; line-height: 1.7; color: var(--muted); }
.native-review h3 { font-size: 19px; }
.editorial-note { font-size: 14px !important; line-height: 1.7 !important; color: var(--muted) !important; }
.review-form-wrap label { font-size: 15px; line-height: 1.65; color: #425b7b; }
.review-form-wrap input:not([type="checkbox"]), .review-form-wrap select, .review-form-wrap textarea { min-height: 46px; padding: 12px; border-radius: 9px; font-size: 16px; }
.review-form-wrap .review-consent { font-size: 14px !important; line-height: 1.65; }
.review-consent input { width: 18px; height: 18px; flex-shrink: 0; }
.review-message { font-size: 15px; line-height: 1.65; }

/* Calculation workspaces retain the same readable scale on every screen. */
.tool-heading { padding-block: 34px 28px; }
.tool-heading h1 { font-size: 40px; line-height: 1.2; letter-spacing: -1px; }
.tool-heading p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.heading-art { display: grid !important; width: 88px; height: 88px; flex: 0 0 88px; border-radius: 24px; background: #edf4ff; color: #2f6ccc; transform: rotate(-6deg); }
.heading-art svg { width: 58px; height: 58px; }
.calc-layout { gap: 26px; }
.mail-layout { grid-template-columns: 360px minmax(0, 1fr); }
.input-panel { padding: 26px; border-radius: 16px; background: #f5f8fc; border-color: #e0e7f1; }
.panel-title h2, .panel-title h3 { font-size: 20px; line-height: 1.4; }
.step-badge { width: 30px; height: 30px; font-size: 15px; }
.input-panel label, .generic-form label { display: block; min-height: 0; margin-bottom: 9px; font-size: 16px; line-height: 1.55; font-weight: 550; }
.number-field { min-height: 54px; height: auto; padding-inline: 13px; border-color: #cbd8e9; border-radius: 10px; }
.number-field input, .generic-form .number-field input { font-size: 20px; line-height: 1.5; padding-block: 10px; }
.number-field > span, .generic-form .number-field > span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.field-help, .generic-form .field-help, .calc-footnote, .result-note { font-size: 14px !important; line-height: 1.65; color: var(--muted); }
.range-labels { font-size: 14px; line-height: 1.55; color: var(--muted); margin-bottom: 25px; }
.input-panel input[type="range"] { margin-block: 20px 8px; }
.presets { flex-wrap: wrap; gap: 8px; }
.presets button { min-height: 44px; padding: 9px 12px; border-radius: 9px; font-size: 14px; line-height: 1.5; }
.privacy-line { font-size: 14px; line-height: 1.65; color: var(--muted); }
.fields-grid { gap: 24px 20px; }
.form-actions { gap: 12px 18px; }
.form-actions .button, .form-actions .text-button { font-size: 15px; min-height: 44px; }
.result-panel { padding: 30px; border-radius: 16px; background: #edf4ff; border-color: #dbe7fc; }
.total-label { font-size: 16px; line-height: 1.6; color: #425d83; }
.total { font-size: 46px; line-height: 1.2; letter-spacing: -1.25px; margin-block: 14px 28px; }
.metric-list > div { gap: 18px; padding-block: 16px; font-size: 15px; line-height: 1.6; }
.metric-list span { color: #425d7e; }
.metric-list strong { font-size: 16px; line-height: 1.6; white-space: normal; }
.local-note, .print-button, .snapshot { font-size: 14px; line-height: 1.65; color: var(--muted); }
.print-button { min-height: 44px; }
.results-heading { gap: 16px; padding-bottom: 18px; }
.results-heading h3 { font-size: 18px; line-height: 1.5; }
.results-heading > span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.offer { padding: 22px; border-radius: 14px; }
.offer h3 { font-size: 18px; line-height: 1.4; }
.offer-plan, .per-month { font-size: 14px; line-height: 1.6; color: var(--muted); }
.offer-price { font-size: 30px; line-height: 1.3; letter-spacing: -.6px; }
.offer-link { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.offer details { font-size: 14px; line-height: 1.7; padding-top: 16px; }
.offer details summary { min-height: 44px; }
.badge { font-size: 13px; line-height: 1.5; white-space: normal; max-width: 135px; padding: 6px 9px; }
.stale-note, .error { font-size: 15px; line-height: 1.65; }
.explain-grid { gap: 36px; padding-block: 34px; }
.explain-grid h2 { font-size: 23px; line-height: 1.4; }
.explain-grid p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.explain-grid a { min-height: 36px; font-size: 15px; }
.cohorts { font-size: 14px; line-height: 1.6; }
.cohorts table, .table-scroll table { font-size: 14px; line-height: 1.6; }

/* Reading and comparison. */
.guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 24px; transition: border-color 150ms ease, box-shadow 150ms ease; }
.guide-card:hover { border-color: #afc5e7; box-shadow: 0 5px 18px #233d6008; }
.guide-card h3 { font-size: 21px; line-height: 1.4; margin-bottom: 13px; }
.guide-card p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.category-guide { max-width: 920px; margin-top: 42px; padding-block: 36px; }
.category-guide h2 { font-size: 28px; line-height: 1.35; }
.category-guide h3 { font-size: 21px; line-height: 1.4; }
.category-guide p, .category-guide li { color: #465b76; font-size: 16px; line-height: 1.8; }
.category-guide details { padding-block: 18px; font-size: 17px; line-height: 1.65; }
.category-guide details > summary { min-height: 44px; color: #2f4e78; }
.category-guide details p { font-size: 16px; }
.related-categories a, .scenario-services { font-size: 15px; line-height: 1.7; }
.related-categories p { font-size: 15px; }
.scenario { padding-left: 20px; border-left-color: #c8daf4; }
.article { max-width: 800px; }
.article h1 { font-size: 42px; line-height: 1.2; letter-spacing: -1px; }
.article h2 { font-size: 28px; line-height: 1.35; }
.article p, .article li { font-size: 17px; line-height: 1.85; color: #435974; }
.article-date, .article-sources a, .source-card a { font-size: 14px; line-height: 1.65; color: var(--muted); }
.source-card { border-radius: 14px; padding: 24px; }
.source-card p { font-size: 16px; line-height: 1.75; }
.guides-directory > a { min-height: 44px; font-size: 16px; line-height: 1.65; }
.compare-tray { min-height: 72px; padding: 12px 18px; border-radius: 12px; gap: 18px; box-shadow: 0 8px 30px #213f6521; }
.compare-tray > span { font-size: 14px; line-height: 1.6; color: #425d7f; }
.compare-tray > .button, .compare-tray > button { min-height: 44px; font-size: 14px; padding: 9px 13px; }
.compare-tray > button { color: #3d5d86; }
.comparison-empty { padding: 30px; border-radius: 14px; }
.comparison-empty h2 { font-size: 27px; line-height: 1.3; }
.comparison-empty p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.comparison-context { font-size: 15px; line-height: 1.65; color: var(--muted); }
.comparison-scroll { border-radius: 14px; border-color: #d4e0ef; overscroll-behavior-inline: contain; }
.comparison-table { min-width: 960px; }
.comparison-table th, .comparison-table td { padding: 22px; font-size: 15px; line-height: 1.75; color: #435c7e; }
.comparison-table th { width: 165px; font-size: 14px; font-weight: 550; color: #425d81; background: #f3f7fd; }
.comparison-table h2 { font-size: 21px; line-height: 1.35; }
.comparison-table small, .comparison-table button { font-size: 14px; line-height: 1.65; color: var(--muted); }
.comparison-table button { min-height: 44px; }
.comparison-actions .button { font-size: 15px; }
.footer { padding-block: 36px 24px; margin-top: 40px; }
.footer-main { gap: 32px; }
.footer-main > p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.footer-main nav { gap: 12px 24px; font-size: 14px; line-height: 1.7; }
.footer-main nav a { min-height: 36px; display: inline-flex; align-items: center; color: #425b7c; }
.footer-note { padding-top: 22px; margin-top: 24px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.toast { padding: 13px 18px; font-size: 15px; line-height: 1.6; border-radius: 10px; }

/* Loading feedback is attached to real pending work by the client. */
.interaction-status { min-height: 24px; margin: 10px 0; color: #49617f; font-size: 14px; line-height: 1.65; }
.loading-state { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-height: 260px; }
.loading-shape { display: block; min-height: 16px; border-radius: 6px; background: linear-gradient(100deg, #eaf0f7 20%, #f6f9fd 42%, #eaf0f7 64%); background-size: 240% 100%; animation: ux-shimmer 1.3s ease-in-out infinite; }
.loading-state > .loading-shape { min-height: 250px; border: 1px solid #e0e8f2; border-radius: 14px; }
.loading-state .loading-title { min-height: 24px; width: 60%; }
.loading-state .loading-line { margin-top: 14px; min-height: 14px; }
.services-grid.is-loading, .services-grid.is-updating, .is-loading > .services-grid, .is-updating > .services-grid { min-height: 250px; opacity: .6; transition: opacity 140ms ease; }
.page-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 3px; overflow: hidden; background: #dce9ff; pointer-events: none; }
.page-progress:not([hidden])::after { content: ""; display: block; position: absolute; width: 32%; height: 100%; left: -32%; background: #1761e8; border-radius: 3px; animation: ux-progress 1.05s ease-in-out infinite; }
@keyframes ux-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes ux-progress { from { transform: translateX(0); } to { transform: translateX(420%); } }

@media (max-width: 1150px) {
  .header-inner { gap: 20px; }
  .header nav { gap: 16px; }
  .quick-search { max-width: 250px; min-width: 150px; }
  .catalog-layout { grid-template-columns: 205px minmax(0, 1fr); gap: 22px; }
  .service-card { padding: 22px; }
  .service-bottom { display: block; }
  .card-link { margin-top: 10px; }
  .tool-copy, .tool-card.wide .tool-copy { max-width: 65%; }
  .tool-art, .tool-card.wide .tool-art { width: 92px; height: 92px; right: 16px; bottom: 18px; }
  .tool-card.featured .tool-copy, .tool-card.wide .tool-copy { max-width: 62%; }
  .tool-card.featured .tool-art, .tool-card.wide .tool-art { width: 146px; height: 136px; right: 27px; bottom: 34px; }
  .service-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 22px; }
  .mail-layout { grid-template-columns: 330px minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .shell { width: min(1280px, calc(100% - 40px)); }
  .quick-search { display: none; }
  .header nav { margin-left: auto; }
  .header nav a { font-size: 15px; }
  .tool-grid, .home-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card.featured, .tool-card.wide { grid-column: span 2; }
  .tool-card, .tool-card.wide { min-height: 238px; }
  .tool-card.featured, .tool-card.wide { min-height: 260px; }
  .tool-copy { max-width: 65%; }
  .directory-groups, .category-grid, .category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .catalog-layout > aside { position: static; }
  .catalog-sections { margin-bottom: 0; }
  .category-navigation { flex-direction: column; max-height: 400px; }
  .category-navigation a { background: transparent; }
  .category-navigation a > span:last-child { display: inline; }
  .catalog-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-bottom { display: flex; }
  .card-link { margin-top: 0; }
  .service-layout { grid-template-columns: minmax(0, 1fr); }
  .service-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { flex-wrap: wrap; }
  .footer-main nav { margin-left: 0; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mail-layout { grid-template-columns: 300px minmax(0, 1fr); }
  .results-heading { flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; min-height: 0; padding-block: 15px 12px; }
  .brand { font-size: 25px; }
  .p-logo, .p-logo svg, svg.p-logo { width: 34px; height: 34px; }
  .p-logo { flex-basis: 34px; }
  .header nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: flex-start; gap: 24px; width: 100%; margin: 0; overflow: auto; }
  .header nav a { min-height: 44px; flex-shrink: 0; font-size: 14px; }
  .compare-nav { grid-column: 2; grid-row: 1; font-size: 14px; }
  .home-intro { padding-block: 34px 25px; }
  .home-intro h1 { font-size: 36px; line-height: 1.14; letter-spacing: -1.05px; margin-bottom: 20px; }
  .home-intro > p { font-size: 17px; line-height: 1.65; margin-bottom: 22px; }
  .home-intro > p br { display: none; }
  .hero-search, .catalog-search { gap: 4px; }
  .hero-search input, .catalog-search input { min-height: 46px; padding: 10px; font-size: 16px; }
  .hero-search input::placeholder, .catalog-search input::placeholder { font-size: 15px; }
  .hero-search .button, .catalog-search .button { min-height: 46px; padding-inline: 14px; font-size: 15px; }
  .intro-meta { gap: 6px 18px; font-size: 14px; margin-top: 14px; }
  .section, .editorial-section { padding-block: 32px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 27px; line-height: 1.3; letter-spacing: -.55px; }
  .section-heading > a { font-size: 15px; min-height: 40px; padding: 0; }
  .directory-section { padding-block: 23px 32px; }
  .directory-groups { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .directory-group h3 { font-size: 17px; margin-bottom: 10px; }
  .directory-group li > a { min-height: 56px; font-size: 16px; gap: 12px; }
  .directory-count { font-size: 14px; }
  .category-grid, .category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-tile { min-height: 178px; padding: 18px; gap: 10px; }
  .category-tile h2, .category-tile h3, .category-tile strong { font-size: 17px; line-height: 1.4; }
  .category-tile p, .category-tile small { font-size: 14px; line-height: 1.6; }
  .tool-grid, .home-tools { gap: 14px; }
  .tool-card, .tool-card.wide { grid-column: auto; min-height: 250px; padding: 22px; border-radius: 18px; }
  .tool-card.featured, .tool-card.wide { grid-column: span 2; min-height: 260px; }
  .tool-copy, .tool-card.wide .tool-copy { max-width: 100%; padding-bottom: 74px; }
  .tool-card :is(h2, h3), .tool-card.wide :is(h2, h3) { max-width: none; font-size: 21px; line-height: 1.28; margin-bottom: 11px; }
  .tool-card p, .tool-card.wide p { font-size: 15px; line-height: 1.65; max-width: none; }
  .tool-tag { font-size: 14px; margin-bottom: 10px; }
  .tool-art, .tool-card.wide .tool-art { width: 80px; height: 80px; right: 17px; bottom: 17px; border-radius: 22px; }
  .tool-card.featured .tool-copy, .tool-card.wide .tool-copy { max-width: 70%; padding-bottom: 0; }
  .tool-card.featured :is(h2, h3), .tool-card.wide :is(h2, h3) { font-size: 27px; line-height: 1.22; }
  .tool-card.featured p, .tool-card.wide p { font-size: 16px; }
  .tool-card.featured .tool-art, .tool-card.wide .tool-art { width: 106px; height: 106px; right: 25px; bottom: 30px; border-radius: 27px; }
  .tool-art .art-pill, .tool-art .art-coin { visibility: hidden; }
  .catalog-band { padding-block: 30px; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service-card { padding: 22px; border-radius: 14px; }
  .service-top { gap: 10px; }
  .service-brand { gap: 11px; }
  .service-avatar { width: 42px; height: 42px; flex-basis: 42px; font-size: 18px; border-radius: 11px; }
  .service-card h3 { font-size: 21px; line-height: 1.3; }
  .service-category { font-size: 14px; line-height: 1.55; }
  .compare-toggle { font-size: 14px; padding: 9px; }
  .service-summary { font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
  .feature-line { font-size: 14px; line-height: 1.7; gap: 6px 16px; }
  .service-bottom { display: block; padding-top: 17px; }
  .service-bottom strong { font-size: 19px; line-height: 1.5; }
  .service-bottom small { font-size: 14px; line-height: 1.65; }
  .card-link { margin-top: 12px; font-size: 15px; }
  .breadcrumbs { margin-top: 20px; font-size: 14px; line-height: 1.6; }
  .page-heading { padding-block: 26px 22px; }
  .page-heading h1 { font-size: 32px; line-height: 1.22; letter-spacing: -.7px; }
  .page-heading > p, .catalog-intro { font-size: 16px; line-height: 1.7; }
  .catalog-layout { gap: 16px; }
  .catalog-sections > summary { font-size: 16px; }
  .category-navigation a { font-size: 15px; }
  .catalog-filter-panel { padding: 17px; }
  .catalog-filters { grid-template-columns: minmax(0, 1fr); padding: 17px; gap: 16px; }
  .advanced-filters .catalog-filters { grid-template-columns: minmax(0, 1fr); }
  .filter-field { font-size: 14px; gap: 7px; }
  .filter-field select { font-size: 16px; min-height: 48px; padding: 11px 12px; }
  .checkbox-filters { flex-direction: column; gap: 10px; padding-top: 14px; }
  .checkbox-filters label { font-size: 14px; min-height: 44px; }
  .filter-toolbar { gap: 12px; margin-block: 16px; }
  .filter-toolbar > label { margin-left: 0; justify-content: space-between; width: 100%; flex: 0 0 100%; font-size: 14px; }
  .filter-toolbar select { max-width: none; font-size: 15px; min-height: 44px; }
  .result-count { font-size: 14px; }
  .active-filters button { min-height: 44px; font-size: 14px; }
  .load-more { width: 100%; margin-block: 24px; }
  .empty-state { padding: 24px; }
  .empty-state h2 { font-size: 25px; }
  .empty-state p { font-size: 16px; }
  .service-heading { display: block; padding-block: 27px 24px; }
  .service-heading h1 { font-size: 34px; line-height: 1.25; letter-spacing: -.8px; }
  .service-heading p { font-size: 16px; line-height: 1.75; }
  .service-categories { font-size: 14px; line-height: 1.6; gap: 6px 14px; }
  .service-actions { gap: 10px; padding-top: 20px; }
  .service-actions .button { font-size: 15px; }
  .section-nav { gap: 20px; padding-block: 10px; margin-bottom: 22px; }
  .section-nav a { font-size: 15px; min-height: 44px; }
  .content-panel { padding: 22px; border-radius: 14px; }
  .content-panel h2 { font-size: 25px; line-height: 1.35; }
  .content-panel h3 { font-size: 20px; line-height: 1.4; }
  .content-panel p, .content-panel li { font-size: 16px; line-height: 1.75; }
  .capabilities { columns: 1; }
  .panel-heading { display: block; }
  .panel-heading > span { display: block; margin: -6px 0 18px; font-size: 14px; }
  .tariff-plan > summary { align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; padding: 17px; min-height: 80px; }
  .tariff-plan > summary::after { margin-left: auto; order: 1; }
  .tariff-plan > summary > :first-child { flex: 1; order: 0; min-width: 0; }
  .tariff-plan > summary .tariff-price { flex: 0 0 100%; max-width: 100%; margin-left: 0; order: 2; text-align: left; font-size: 18px; }
  .tariff-price small { font-size: 14px; line-height: 1.65; }
  .tariff-details { padding: 17px; }
  .tariff-details dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tariff-details dt { font-size: 14px; }
  .tariff-details dd { font-size: 16px; }
  .fact-list > div { grid-template-columns: minmax(0, 1fr); gap: 5px; font-size: 16px; }
  .fact-list dt { font-size: 14px; }
  .sources-list li { font-size: 15px !important; }
  .sources-list span { font-size: 14px; }
  .source-inline { font-size: 14px; line-height: 1.75; }
  .service-sidebar { display: block; }
  .sidebar-card { padding: 23px; }
  .sidebar-card h2 { font-size: 25px; }
  .sidebar-card p, .sidebar-card a { font-size: 15px; }
  .review-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .review-form-wrap label { font-size: 15px; }
  .review-form-wrap .review-consent { font-size: 14px !important; }
  .native-review > header { display: block; font-size: 14px; }
  .tool-heading { align-items: flex-start; padding-block: 28px 24px; gap: 16px; }
  .tool-heading h1 { font-size: 31px; line-height: 1.25; letter-spacing: -.7px; }
  .tool-heading p { font-size: 16px; line-height: 1.7; }
  .heading-art { width: 64px; height: 64px; flex-basis: 64px; border-radius: 18px; }
  .heading-art svg { width: 43px; height: 43px; }
  .calc-layout, .mail-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .input-panel { padding: 22px; border-radius: 14px; }
  .fields-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .input-panel label, .generic-form label { font-size: 16px; line-height: 1.55; min-height: 0; }
  .generic-form .number-field input { font-size: 20px; }
  .number-field > span, .generic-form .number-field > span { font-size: 14px; }
  .field-help, .generic-form .field-help, .result-note, .calc-footnote { font-size: 14px !important; line-height: 1.7; }
  .form-actions .button, .form-actions .text-button { font-size: 15px; min-height: 44px; }
  .results-heading h3 { font-size: 18px; }
  .results-heading > span { font-size: 14px; }
  .offer { padding: 20px; border-radius: 14px; }
  .offer h3 { font-size: 18px; }
  .offer-plan, .per-month { font-size: 14px; line-height: 1.6; }
  .offer-bottom { align-items: flex-start; flex-wrap: wrap; gap: 15px; }
  .offer-price { font-size: 30px; }
  .offer-link { font-size: 14px; min-height: 44px; }
  .offer .badge { font-size: 13px; max-width: 120px; white-space: normal; }
  .offer details { font-size: 14px; line-height: 1.75; }
  .snapshot { font-size: 14px; line-height: 1.65; gap: 8px; }
  .snapshot a { margin-left: 0; min-height: 36px; }
  .output-column { position: static; }
  .result-panel { padding: 24px; border-radius: 14px; }
  .total { font-size: 39px; line-height: 1.2; letter-spacing: -1px; }
  .total-label { font-size: 16px; }
  .metric-list > div { font-size: 15px; line-height: 1.6; }
  .metric-list strong { font-size: 16px; line-height: 1.6; }
  .local-note, .print-button { font-size: 14px; }
  .explain-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-block: 30px; }
  .explain-grid h2 { font-size: 23px; }
  .explain-grid p { font-size: 16px; line-height: 1.75; }
  .explain-grid a { font-size: 15px; }
  .related-tools { grid-template-columns: minmax(0, 1fr); }
  .related-tools .tool-card { min-height: 235px; }
  .related-tools .tool-card :is(h2, h3) { font-size: 23px; }
  .related-tools .tool-card .tool-copy { max-width: 74%; padding-bottom: 0; }
  .related-tools .tool-card .tool-art { width: 94px; height: 94px; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .guide-card { padding: 23px; }
  .guide-card h3 { font-size: 21px; }
  .guide-card p { font-size: 16px; }
  .category-guide { padding-top: 30px; margin-top: 30px; }
  .category-guide h2 { font-size: 27px; }
  .category-guide h3 { font-size: 21px; }
  .category-guide p, .category-guide li, .category-guide details p { font-size: 16px; line-height: 1.8; }
  .category-guide details { font-size: 17px; line-height: 1.65; }
  .article { margin-block: 30px 42px; }
  .article h1 { font-size: 34px; line-height: 1.25; }
  .article h2 { font-size: 27px; line-height: 1.35; }
  .article p, .article li { font-size: 17px; line-height: 1.8; }
  .source-card { padding: 22px; }
  .source-card p { font-size: 16px; }
  .compare-tray { bottom: 10px; width: calc(100% - 24px); max-width: calc(100% - 24px); padding: 12px; gap: 8px 12px; flex-wrap: wrap; }
  .compare-tray > span { font-size: 14px; }
  .compare-tray > .button, .compare-tray > button { font-size: 14px; min-height: 44px; padding: 9px 12px; }
  .has-compare { padding-bottom: 132px; }
  .comparison-empty { padding: 24px; }
  .comparison-empty h2 { font-size: 26px; }
  .comparison-empty p { font-size: 16px; }
  .comparison-context { font-size: 14px; line-height: 1.7; }
  .comparison-table th, .comparison-table td { padding: 18px; font-size: 15px; }
  .comparison-actions { flex-wrap: wrap; gap: 10px; }
  .comparison-actions .button { font-size: 15px; }
  .footer { padding-block: 30px 22px; }
  .footer-main { gap: 20px; }
  .footer-main > p { font-size: 14px; }
  .footer-main nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; font-size: 14px; margin-top: 0; }
  .footer-note { font-size: 14px; line-height: 1.8; }
  .toast { font-size: 15px; line-height: 1.65; }
  .loading-state { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 430px) {
  .category-grid, .category-tiles { grid-template-columns: minmax(0, 1fr); }
  .category-tile { min-height: 142px; }
  .tool-grid, .home-tools { grid-template-columns: minmax(0, 1fr); }
  .tool-card, .tool-card.featured, .tool-card.wide { grid-column: auto; min-height: 245px; padding: 24px; }
  .tool-copy, .tool-card.featured .tool-copy, .tool-card.wide .tool-copy { max-width: 76%; padding-bottom: 20px; }
  .tool-card :is(h2, h3), .tool-card.featured :is(h2, h3), .tool-card.wide :is(h2, h3) { font-size: 25px; line-height: 1.22; max-width: 250px; }
  .tool-card p, .tool-card.featured p, .tool-card.wide p { font-size: 16px; line-height: 1.65; }
  .tool-art, .tool-card.featured .tool-art, .tool-card.wide .tool-art { width: 88px; height: 88px; right: 20px; bottom: 25px; border-radius: 24px; }
  .tool-card.featured, .tool-card.wide { min-height: 260px; }
  .tool-card.featured .tool-art, .tool-card.wide .tool-art { width: 96px; height: 96px; }
  .service-top { flex-wrap: wrap; }
  .service-top .service-brand { flex-basis: calc(100% - 54px); }
  .service-top > .compare-toggle { margin-left: auto; }
  .service-card .service-top .compare-toggle { max-width: 100%; }
  .service-actions { flex-wrap: wrap; }
  .service-actions .primary { flex: 1 0 100%; }
  .service-actions .secondary { flex: 1; }
  .heading-art { width: 56px; height: 56px; flex-basis: 56px; border-radius: 15px; }
  .heading-art svg { width: 38px; height: 38px; }
  .tool-heading h1 { font-size: 29px; }
  .total { font-size: 36px; }
  .offer-heading { flex-wrap: wrap; }
  .offer .badge { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .tool-card:hover { transform: none; }
  .page-progress:not([hidden])::after { left: 0; width: 100%; opacity: .55; transform: none; }
}

/* Final markup hooks: identity, progressive controls, and asynchronous feedback. */
.p-logo {
  position: relative; background: linear-gradient(145deg, #4a8bfc, #1f60d8);
  color: #fff; border-radius: 10px; font-size: 29px; font-weight: 800; line-height: 1;
  padding-bottom: 3px; box-shadow: inset 1px 2px 0 #ffffff54, 0 3px 7px #245caf16;
}
.p-logo > span { position: absolute; right: -5px; bottom: -3px; display: grid; place-items: center; width: 22px; height: 17px; border: 2px solid #fff; border-radius: 5px; background: #163f86; color: #fff; font-size: 9px; line-height: 1; letter-spacing: -.2px; }
.category-icon.blue, .directory-group .category-icon.blue, .category-tile .category-icon.blue, .service-avatar.blue { background: #eaf2ff; color: #2868cf; }
.category-icon.green, .directory-group .category-icon.green, .category-tile .category-icon.green, .service-avatar.green { background: #e6f6ed; color: #23845d; }
.category-icon.purple, .directory-group .category-icon.purple, .category-tile .category-icon.purple, .service-avatar.purple { background: #f0eafb; color: #7753b8; }
.category-icon.cyan, .directory-group .category-icon.cyan, .category-tile .category-icon.cyan, .service-avatar.cyan { background: #e6f5fa; color: #287f9a; }
.category-icon.orange, .directory-group .category-icon.orange, .category-tile .category-icon.orange, .service-avatar.orange { background: #fff0dc; color: #a96c20; }
.category-icon.pink, .directory-group .category-icon.pink, .category-tile .category-icon.pink, .service-avatar.pink { background: #fcebf1; color: #ad5579; }
.tool-action { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--tool-tone); }
.service-price { margin-top: auto; padding-block: 3px 19px; }
.service-price strong { display: block; color: var(--ink); font-size: 20px; line-height: 1.45; letter-spacing: -.2px; font-weight: 650; }
.service-price small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-card .service-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 0; gap: 10px; }
.service-card .service-bottom > .card-link { min-height: 44px; margin: 0; padding: 9px 13px; font-size: 14px; border-radius: 9px; }
.service-card .service-bottom > .compare-toggle { margin-left: auto; }
.service-title-line { display: flex; align-items: center; gap: 16px; margin-block: 14px; }
.service-title-line h1 { margin: 0; }
.service-title-line .service-avatar { width: 56px; height: 56px; flex-basis: 56px; border-radius: 15px; font-size: 23px; }
.catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.catalog-layout > aside { position: static; }
.catalog-sections > summary { padding-block: 14px; }
.catalog-sections > summary > span { display: inline-block; margin-left: 8px; color: var(--muted); font-size: 14px; font-weight: 400; }
.catalog-sections .category-navigation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 440px; gap: 3px 10px; padding: 12px; }
.primary-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.catalog-filter-panel #catalog-filters .catalog-filters { padding-top: 20px; border-top: 1px solid #e3eaf3; border-radius: 0; }
.catalog-filter-panel .filter-toolbar { margin-bottom: 0; }
.catalog-filter-panel .result-count { margin-left: auto; }
.catalog-results-heading { margin: 26px 0 6px; font-size: 25px; line-height: 1.35; letter-spacing: -.4px; }
.catalog-help { margin: -3px 0 24px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 28px 0 34px; }
.catalog-pagination > a { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; padding: 9px 12px; border: 1px solid #d7e1ef; border-radius: 9px; background: #fff; color: #345c91; font-size: 15px; line-height: 1.5; }
.catalog-pagination > a:hover { border-color: #a6bfe4; background: #f1f6ff; }
.catalog-pagination > a[aria-current="page"] { background: #1761e8; color: #fff; border-color: #1761e8; }
.catalog-pagination > span { padding: 8px 12px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.section-help { color: var(--muted); font-size: 14px; line-height: 1.65; }
.more-tariffs { margin: 14px 0; }
.more-tariffs > summary, .price-notes > summary, .source-details > summary, .review-details > summary { min-height: 44px; padding-block: 10px; color: #315c93; font-size: 15px; line-height: 1.6; }
.more-tariffs > summary { margin-bottom: 12px; padding: 12px 15px; border: 1px solid #d4e1f2; border-radius: 10px; background: #f5f9ff; }
.source-details .sources-list { margin-bottom: 0; }
.comparison-display { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin: 16px 0 20px; padding: 13px 18px; border: 1px solid #dbe4f0; border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.6; }
.comparison-display label { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; }
.comparison-display input { width: 18px; height: 18px; accent-color: var(--blue); }
#catalog-feedback { font-size: 14px; line-height: 1.65; }
#catalog-error { margin-block: 16px; padding: 18px 20px; border: 1px solid #eed7ce; border-radius: 12px; background: #fff7f2; color: #7b4634; font-size: 16px; line-height: 1.7; }
#catalog-error p { margin: 0 0 12px; }
#services-grid[aria-busy="true"] { min-height: 250px; opacity: .6; transition: opacity 140ms ease; }
.route-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; overflow: hidden; pointer-events: none; background: #dce9ff; }
.route-progress:not([hidden])::after { content: ""; position: absolute; left: -32%; top: 0; width: 32%; height: 100%; background: #1761e8; border-radius: 3px; animation: ux-progress 1.05s ease-in-out infinite; }

@media (max-width: 960px) {
  .catalog-sections .category-navigation { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 440px; }
}
@media (max-width: 700px) {
  .catalog-sections .category-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 6px; padding: 8px; }
  .primary-filters { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .catalog-filter-panel .result-count { margin-left: 0; }
  .catalog-pagination > span { flex: 0 0 100%; text-align: center; }
  .service-title-line { gap: 13px; }
  .service-title-line .service-avatar { width: 48px; height: 48px; flex-basis: 48px; font-size: 20px; }
  .comparison-display { padding: 13px 16px; }
}
@media (max-width: 600px) {
  .tool-grid, .home-tools { grid-template-columns: minmax(0, 1fr); }
  .tool-card, .tool-card.featured, .tool-card.wide { grid-column: auto; padding: 25px; min-height: 230px; }
  .tool-card.featured, .tool-card.wide { min-height: 260px; }
  .tool-copy, .tool-card.featured .tool-copy, .tool-card.wide .tool-copy { max-width: 76%; padding-bottom: 0; }
  .tool-card :is(h2, h3), .tool-card.featured :is(h2, h3), .tool-card.wide :is(h2, h3) { font-size: 25px; line-height: 1.23; max-width: 290px; }
  .tool-card p, .tool-card.featured p, .tool-card.wide p { font-size: 16px; line-height: 1.65; max-width: none; }
  .tool-card .tool-art, .tool-card.featured .tool-art, .tool-card.wide .tool-art { width: 56px; height: 56px; right: 19px; bottom: 25px; border-radius: 16px; }
  .tool-card.featured .tool-art { width: 68px; height: 68px; right: 21px; bottom: 28px; border-radius: 19px; }
  .tool-action { margin-top: 12px; min-height: 44px; }
}
@media (max-width: 430px) {
  .catalog-sections .category-navigation { grid-template-columns: minmax(0, 1fr); max-height: 400px; }
  .service-card .service-top .service-brand { flex-basis: auto; }
  .service-price strong { font-size: 19px; }
  .service-card .service-bottom > .card-link { padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .route-progress:not([hidden])::after { left: 0; width: 100%; opacity: .55; animation: none; transform: none; }
}

/* Calculator headings keep their semantic h3 while sharing the original card treatment. */
.tool-card :is(h2, h3) { color: var(--tool-tone); font-size: 24px; }
.tool-card.featured :is(h2, h3), .tool-card.wide :is(h2, h3) { color: var(--tool-tone); font-size: 32px; }
.tool-action { margin-top: 14px; min-height: 40px; padding: 8px 12px; border: 1px solid #ffffffb8; border-radius: 9px; background: #ffffffbf; color: #2c496e; font-size: 14px; font-weight: 650; line-height: 1.5; }
.p-logo { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; font-size: 30px; }
.p-logo > span { width: 24px; height: 18px; font-size: 10px; }
.header-inner { column-gap: 24px; }
.header nav { flex-shrink: 0; }
.header nav a { white-space: nowrap; }
.quick-search { flex: 1 1 250px; min-width: 180px; max-width: 320px; }
.quick-search input { flex: 1 1 0; min-width: 0; width: 0; }
.quick-search button { flex: 0 0 auto; min-width: 72px; width: auto; white-space: nowrap; word-break: normal; overflow-wrap: normal; padding-inline: 12px; }
.catalog-sections:not([open]) > .category-navigation { display: none; }
@media (max-width: 1150px) {
  .header-inner { column-gap: 20px; }
  .quick-search { min-width: 170px; max-width: 260px; }
}
@media (max-width: 700px) {
  .header-inner { column-gap: 16px; }
  .tool-card :is(h2, h3) { font-size: 23px; }
  .tool-card.featured :is(h2, h3), .tool-card.wide :is(h2, h3) { font-size: 28px; }
}
@media (max-width: 600px) {
  .tool-card :is(h2, h3) { font-size: 25px; }
  .tool-card.featured :is(h2, h3), .tool-card.wide :is(h2, h3) { font-size: 28px; }
}

/* Keep closed disclosure content out of both visual and accessibility layouts. */
details:not([open]) > :not(summary){display:none!important}
.review-form-wrap > summary{font-size:16px;font-weight:600;line-height:1.6;padding-block:15px;cursor:pointer}
.source-groups > details{border-bottom:1px solid #dce4ef;padding:14px 0}
.source-groups > details > summary{font-size:16px;font-weight:600;line-height:1.6;min-height:44px;cursor:pointer}
.page-catalog .page-heading{padding-block:24px 18px}

.nav-mobile{display:none}
@media(max-width:600px){
 .nav-desktop{display:none}.nav-mobile{display:inline}
 .header nav{justify-content:space-between;gap:12px;overflow:visible}
 .header nav a{font-size:14px;white-space:nowrap}
 .tool-card .tool-copy,.tool-card.featured .tool-copy{width:100%;max-width:100%}
 .tool-card p,.tool-card.featured p{max-width:none}
 .tool-card{min-height:230px}.tool-card.featured{min-height:250px}
 .tool-action{margin-right:74px}
 .primary-filters>label:nth-child(n+2){display:none}
 .catalog-filter-panel.filters-expanded .primary-filters>label,
 .catalog-filter-panel:has(#catalog-filters:not([hidden])) .primary-filters>label{display:flex}
}

.mobile-primary-extras:empty{display:none}.mobile-primary-extras{margin-bottom:14px}
