/* Shared appearance. Behavioral selectors and page-specific grids stay in their original modules. */
:root {
    color-scheme: light;
    --layout-max: 77rem;
    --layout-gutter: clamp(18px, 4vw, 56px);
    --section-space: clamp(34px, 5vw, 72px);
    --hi-header-size: 66px;
    --hi-radius: 12px;
    --hi-control-radius: 7px;
    --hi-field-border: #7d89a0;
    --hi-wash: #eef2ff;
    --hi-hover: #edf0f7;
    --hi-focus: #3158ca;
    --hi-blue-hover: #294abf;
    --hi-logo-red: #bd2f3d;
    --hi-float-shadow: 0 12px 32px #20334724;
    --bg-color: #f9fafc;
    --text-color: #161a26;
    --text-color-secondary: #475269;
    --card-bg: #fff;
    --card-bg-rgb: 255, 255, 255;
    --border-color: #dce1eb;
    --primary-blue: #3458d4;
    --primary-blue-glow: #3458d426;
    --text-blue: #294db9;
    --action-blue: #3458d4;
    --text-green: #226648;
    --text-warning: #805000;
    --line-soft: var(--border-color);
    --line-strong: var(--border-color);
    --surface-raised: var(--card-bg);
    --surface-muted: #f3f5fa;
    --shadow-offset: none;
    --body-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
    --display-font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-family: var(--body-font);
}

html.dark-mode {
    color-scheme: dark;
    --hi-field-border: #686e82;
    --hi-wash: #202744;
    --hi-hover: #22242e;
    --hi-focus: #8da4ff;
    --hi-blue-hover: #4d6adc;
    --hi-logo-red: #c83240;
    --hi-float-shadow: 0 12px 32px #0008;
    --bg-color: #101115;
    --text-color: #f1f2f6;
    --text-color-secondary: #b0b3c1;
    --card-bg: #17181e;
    --card-bg-rgb: 23, 24, 30;
    --border-color: #30323e;
    --primary-blue: #627ced;
    --primary-blue-glow: #627ced26;
    --text-blue: #aabaff;
    --action-blue: #4261db;
    --text-green: #a2d3ba;
    --text-warning: #edc582;
    --surface-muted: #121318;
}

html { scroll-padding-top: calc(var(--hi-header-size) + 20px); scrollbar-color: var(--hi-field-border) var(--bg-color); }
.site-page :focus-visible { outline: 2px solid var(--hi-focus); outline-offset: 3px; }
.site-page ::selection { background: var(--action-blue); color: #fff; }
.site-page h1, .site-page h2, .site-page h3, .site-page h4 { font-weight: 690; }
.site-page h1 { font-size: clamp(2rem, 4.3vw, 4.05rem); letter-spacing: -.045em; line-height: 1.06; }
.site-page h2 { font-size: clamp(1.6rem, 2.8vw, 2.45rem); letter-spacing: -.04em; line-height: 1.12; }
.site-page h3 { line-height: 1.18; }
.site-page .subtitle, .site-page .page-subtitle { font-size: clamp(1rem, 1.45vw, 1.16rem); }
.site-page .scroll-progress-bar { height: 2px; background: var(--action-blue); }
.hi-skip { position: fixed; z-index: 2000; inset: 10px auto auto 10px; padding: 9px 13px; border-radius: var(--hi-control-radius); background: var(--card-bg); color: var(--text-blue); }
.hi-skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
span#hi-page-content { display: block; height: 0; width: 0; }

.site-page .hi-header {
    z-index: 1100;
    min-height: var(--hi-header-size);
    overflow: visible;
    border-bottom-color: var(--line-soft);
    background: var(--bg-color);
    backdrop-filter: none;
}
.site-page .hi-header .hi-header-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(148px, 1fr) auto minmax(84px, 1fr);
    align-items: center;
    gap: clamp(8px, 1.5vw, 22px);
    min-height: var(--hi-header-size);
}
.site-page .hi-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-width: 0;
    color: var(--text-color);
    text-decoration: none;
}
.hi-brand-mark { display: block; width: 28px; height: 30px; flex: none; }
.hi-brand-slots { stroke: var(--bg-color); }
.hi-brand-word { display: inline-flex; align-items: center; gap: 4px; font: 800 1.02rem/1 var(--display-font); letter-spacing: -.045em; }
.hi-brand-zone { padding: 3px 4px 4px; border-radius: 2px; background: var(--hi-logo-red); color: #fff; font: 750 .64rem/1 var(--body-font); }

.site-page .hi-header .hi-primary-nav {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}
.site-page .hi-primary-nav ul { height: auto; margin: 0; padding: 0; border: 0; list-style: none; }
.site-page .hi-primary-nav .hi-nav-list { display: flex; flex-direction: row; align-items: center; gap: 4px; }
.site-page .hi-primary-nav li { display: block; width: auto; margin: 0; border: 0; opacity: 1; transform: none; }
.site-page .hi-primary-nav a, .site-page .hi-primary-nav summary {
    display: flex;
    align-items: center;
    gap: 7px;
    width: auto;
    min-height: 40px;
    padding: 7px clamp(8px, 1vw, 14px);
    border-radius: var(--hi-control-radius);
    color: var(--text-color-secondary);
    font: 580 .875rem/1.3 var(--body-font);
    letter-spacing: normal;
    text-decoration: none;
    text-transform: none;
}
.site-page .hi-primary-nav :is(a, summary):hover,
.site-page .hi-primary-nav :is(a, summary):focus-visible,
.site-page .hi-primary-nav [aria-current="page"],
.site-page .hi-primary-nav [open] > summary {
    background: var(--hi-hover);
    color: var(--text-color);
}
.hi-nav-disclosure > summary, .hi-report-pages > summary { list-style: none; cursor: pointer; }
.hi-nav-disclosure > summary::-webkit-details-marker, .hi-report-pages > summary::-webkit-details-marker { display: none; }
.hi-nav-disclosure > summary::after, .hi-report-pages > summary::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: -3px 1px 0 1px;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    transform: rotate(45deg);
}
.hi-nav-disclosure[open] > summary::after, .hi-report-pages[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.hi-nav-disclosure:not([open]) > .hi-nav-panel { display: none; }
.hi-nav-panel {
    position: absolute;
    z-index: 3;
    inset: calc(100% + 6px) auto auto 50%;
    width: min(52rem, 100%);
    max-height: min(38rem, calc(100dvh - var(--hi-header-size) - 25px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 13px;
    overflow: auto;
    border: 1px solid var(--line-soft);
    border-radius: var(--hi-radius);
    background: var(--card-bg);
    box-shadow: var(--hi-float-shadow);
    transform: translateX(-50%);
}
.hi-nav-panel--compact { width: min(31rem, 100%); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hi-nav-group { min-width: 0; }
.hi-nav-group > p { margin: 3px 7px 5px; color: var(--text-color); font-size: .8rem; font-weight: 680; }
.site-page .hi-primary-nav .hi-nav-group ul { display: grid; gap: 2px; }
.site-page .hi-primary-nav .hi-nav-group a { min-height: 38px; padding: 7px; overflow-wrap: anywhere; font-size: .82rem; }

.hi-header-controls { display: flex; justify-self: end; align-items: center; gap: 7px; }
.site-page .hi-header .hi-theme-control { position: relative; display: block; margin: 0; border: 0; order: initial; }
.site-page .hi-header .hi-header-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 41px;
    min-height: 41px;
    min-width: 41px;
    padding: 5px 9px;
    gap: 6px;
    border: 1px solid var(--line-soft);
    border-radius: var(--hi-control-radius);
    background: var(--card-bg);
    color: var(--text-color-secondary);
    font: 600 .82rem/1.2 var(--body-font);
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}
.site-page .hi-header .hi-header-button:hover,
.site-page .hi-header .hi-header-button[aria-expanded="true"] { background: var(--hi-hover); color: var(--text-color); }
.hi-header-icon { width: 18px; height: 18px; display: block; flex: none; }
.site-page .hi-header .menu-toggle, .hi-menu-close, .menu-toggle.is-active .hi-menu-open { display: none; }
.menu-toggle.is-active .hi-menu-close { display: block; }
.hi-theme-options {
    position: absolute;
    inset: calc(100% + 9px) 0 auto auto;
    z-index: 3;
    width: 166px;
    min-width: 0;
    margin: 0;
    padding: 5px;
    border: 1px solid var(--line-soft);
    border-radius: 9px;
    background: var(--card-bg);
    box-shadow: var(--hi-float-shadow);
}
.hi-theme-options[hidden] { display: none; }
.hi-theme-options legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hi-theme-options label { display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 5px 7px; border-radius: 5px; color: var(--text-color); font-size: .875rem; cursor: pointer; }
.hi-theme-options label:hover, .hi-theme-options label:has(:checked) { background: var(--hi-wash); color: var(--text-blue); }
.hi-theme-options input { flex: none; width: 14px; height: 14px; margin: 0; accent-color: var(--action-blue); }

.site-page .hi-footer {
    padding-block: clamp(27px, 4vw, 52px) 20px;
    border-top: 1px solid var(--line-soft);
    background: var(--bg-color);
    color: var(--text-color-secondary);
    text-align: left;
}
.site-page .hi-footer .hi-footer-inner { display: block; }
.hi-footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 20px clamp(16px, 3vw, 45px); }
.site-page .hi-footer p { margin: 0; font: 400 .86rem/1.5 var(--body-font); overflow-wrap: break-word; }
.site-page .hi-footer .hi-footer-brand p { margin-top: 10px; }
.site-page .hi-footer-grid > nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 7px;
}
.site-page .hi-footer .hi-footer-title { margin-bottom: 4px; color: var(--text-color); font-weight: 680; }
.site-page .hi-footer a:not(.hi-brand) { max-width: 100%; color: var(--text-color-secondary); font-size: .86rem; font-weight: 500; text-decoration: none; overflow-wrap: normal; }
.site-page .hi-footer a:not(.hi-brand):hover { color: var(--text-blue); text-decoration: underline; }
.site-page .hi-footer .roadmap-link { width: fit-content; display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; border: 0; }
.hi-footer .roadmap-rocket { flex: none; transition: transform .18s ease-out; }
.hi-footer .roadmap-link:is(:hover, :focus-visible) .roadmap-rocket { transform: translate(3px, -3px) rotate(-10deg); }
@media (prefers-reduced-motion: reduce) {
    .hi-footer .roadmap-link:is(:hover, :focus-visible) .roadmap-rocket { transition: none; transform: none; }
}
.hi-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.site-page .hi-footer-bottom p { font-size: .78rem; }
.site-page .hi-footer-bottom a:not(.hi-brand) { font-size: inherit; text-decoration: underline; }
.site-page .cookie-consent:not(.is-visible) { visibility: hidden; }

/* Primary action and report. IDs and controls are used by the existing scan client. */
.page--home .hero.hi-check-hero {
    padding-block: clamp(32px, 5.2vw, 86px) 29px;
    border: 0;
    overflow: visible;
}
.page--home .hi-check-hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
    align-items: center;
    row-gap: 14px;
    column-gap: clamp(22px, 4.1vw, 62px);
}
.page--home .hi-check-hero .container::before { display: none; }
.page--home .hi-check-hero .hi-home-copy { min-width: 0; }
.page--home .hi-check-hero h1 { margin: 0; font-size: clamp(2.45rem, 4.7vw, 4.38rem); line-height: 1.02; letter-spacing: -.053em; text-wrap: initial; }
.hi-home-accent { display: block; color: var(--text-blue); }
.page--home .hi-check-hero .hi-home-copy .subtitle { max-width: 33rem; margin: 17px 0 0; color: var(--text-color-secondary); }
.hi-check-panel { min-width: 0; padding: clamp(13px, 2.1vw, 27px); border: 1px solid var(--line-soft); border-radius: var(--hi-radius); background: var(--card-bg); }
.hi-check-intro { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.hi-icon-tile { display: grid; place-items: center; width: 39px; height: 39px; flex: none; border: 1px solid var(--line-soft); border-radius: 8px; color: var(--text-blue); background: var(--surface-muted); }
.page--home .hi-check-hero .pre-form-title { margin: 0; font: 680 1.16rem/1.2 var(--display-font); letter-spacing: -.025em; text-transform: none; }
.hi-check-description { margin: 4px 0 0; color: var(--text-color-secondary); font-size: .84rem; }
.page--home .hi-check-hero .check-form {
    grid-template-columns: minmax(0, 1fr) auto 44px;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    max-width: none;
}
.page--home .hi-check-hero #site-check-form input[type="url"] {
    min-height: 46px;
    padding: 7px 10px;
    border: 1px solid var(--hi-field-border);
    border-radius: var(--hi-control-radius);
    background: var(--surface-muted);
    font: 450 1rem/1.3 var(--body-font);
}
.page--home .hi-check-hero .check-form input:focus { box-shadow: none; outline: 2px solid var(--hi-focus); outline-offset: 1px; }
.page--home .hi-check-hero .check-form button[type="submit"] { min-width: 0; min-height: 46px; padding-inline: 12px; }
.page--home .hi-check-hero .form-help-icon {
    width: 44px;
    height: auto;
    min-height: 46px;
    margin: 0;
    border: 1px solid var(--hi-field-border);
    border-radius: var(--hi-control-radius);
    background: var(--surface-muted);
    color: var(--text-blue);
    box-shadow: none;
}
.page--home .hi-check-hero .form-help-icon:hover, .page--home .hi-check-hero .form-help-icon[aria-expanded="true"] { background: var(--hi-wash); }
.hi-check-panel .form-tooltip { display: none; }
.page--home .hi-check-hero #form-help-info { grid-column: 2; grid-row: auto; max-width: none; max-height: none; min-width: 0; width: 100%; margin: 0; padding: 13px 45px 13px 13px; border: 1px solid var(--line-soft); border-radius: var(--hi-radius); background: var(--card-bg); box-shadow: none; font-size: .875rem; }
.page--home .hi-check-hero #form-help-info.is-hidden { display: none; }
.page--home .hi-check-hero .check-url-feedback {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--text-red, var(--text-color));
    font-size: .875rem;
    line-height: 1.4;
}
.page--home .hi-check-hero .check-url-feedback:empty { position: absolute; }
.page--home .hi-check-hero .check-form .check-connection-note { margin: 4px 0 0; font-size: .81rem; }
.page--home .hi-check-hero .check-form .check-hosting-credit { margin: 4px 0 0; padding: 0; border: 0; color: var(--text-color-secondary); font-size: .81rem; }
.page--home .hi-check-hero .check-hosting-credit small { display: inline; margin-left: 4px; font-size: .75rem; }
.page--home .hi-check-hero .hero-benefits { grid-column: 1 / -1; grid-row: auto; min-width: 0; width: 100%; padding: 14px 0 0; }
.page--home .hi-check-hero .hero-benefits-title { margin: 0 0 4px; font: 650 .92rem/1.35 var(--body-font); letter-spacing: normal; text-transform: none; }
.page--home .hi-check-hero .hero-benefits p:not(.hero-benefits-title) { margin: 0; font-size: .875rem; }
.site-page .form-field-label { display: block; margin-bottom: 5px; color: var(--text-color); font-size: .875rem; font-weight: 650; }
.page--home #results[aria-busy="true"] + .hi-sample-report,
.page--home #results:has(#results-container:not(:empty)) + .hi-sample-report { display: none; }
.page--home main > .hi-sample-report { padding-block: 16px var(--section-space); border-top: 0; }
.hi-sample-heading, .hi-report-top { display: flex; justify-content: space-between; align-items: center; gap: 9px 16px; flex-wrap: wrap; }
.site-page .hi-sample-heading h2 { margin: 0 0 5px; }
.hi-sample-heading p { margin: 0; color: var(--text-color-secondary); font-size: .91rem; }
.hi-demo-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border: 1px solid var(--line-soft); border-radius: 5px; background: var(--surface-muted); color: var(--text-color-secondary); font-size: .77rem; }
.hi-demo-tag::before { content: ""; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; }
.hi-report-board { margin-top: 15px; min-width: 0; border: 1px solid var(--line-soft); border-radius: var(--hi-radius); background: var(--card-bg); }
.hi-report-top { padding: 14px clamp(11px, 2vw, 24px); }
.hi-report-top span { display: block; margin-top: 1px; color: var(--text-color-secondary); font-size: .82rem; }
.hi-report-pages { position: relative; }
.hi-report-pages summary { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border: 1px solid var(--line-soft); border-radius: 5px; background: var(--surface-muted); color: var(--text-color-secondary); font-size: .84rem; }
.hi-report-pages p { position: absolute; z-index: 1; right: 0; width: min(17rem, 85vw); margin: 5px 0 0; padding: 8px; border: 1px solid var(--line-soft); border-radius: 5px; background: var(--card-bg); box-shadow: var(--hi-float-shadow); overflow-wrap: anywhere; }
.hi-report-snapshot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line-soft); background: var(--surface-muted); }
.hi-report-snapshot > div { padding: 12px clamp(9px, 2vw, 21px); min-width: 0; }
.hi-report-snapshot > div + div { border-left: 1px solid var(--line-soft); }
.hi-report-snapshot dt { color: var(--text-color-secondary); font-size: .84rem; }
.hi-report-snapshot dd { margin: 3px 0 0; font-weight: 650; line-height: 1.3; }
.hi-report-good { color: var(--text-green); }
.hi-report-attention { color: var(--text-warning); }
.hi-report-finding { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 2fr); align-items: baseline; gap: 6px 12px; padding: 13px clamp(11px, 2vw, 24px); font-size: .875rem; }
.hi-report-finding code, .hi-report-finding p { margin: 0; overflow-wrap: anywhere; }
.hi-report-finding code { color: var(--text-blue); }
.hi-report-finding p { color: var(--text-color-secondary); }

/* Forms, reports and reusable catalog and article surfaces. */
.site-page :is(.button, button[type="submit"], input[type="submit"]),
.page--home .hi-check-hero .check-form button[type="submit"] {
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: var(--hi-control-radius);
    background: var(--action-blue);
    color: #fff;
    box-shadow: none;
    font: 660 .88rem/1.25 var(--body-font);
    letter-spacing: normal;
    text-transform: none;
}
.site-page :is(.button, button[type="submit"], input[type="submit"]):hover,
.page--home .hi-check-hero .check-form button[type="submit"]:hover {
    background: var(--hi-blue-hover);
    color: #fff;
    transform: none;
    box-shadow: none;
}
.site-page :is(.button, button[type="submit"], input[type="submit"]):disabled { opacity: .66; cursor: not-allowed; }
.site-page .tariff-card .button { min-height: 44px; padding-block: 9px; }
.site-page .tariff-card .button:not(:hover) { background: var(--action-blue); }
.site-page :is(.features-grid, .tariffs-grid, .team-grid, .hosting-grid, .reviews-grid, .articles-grid, .faq-grid) {
    gap: 10px;
    border: 0;
}
.site-page :is(.feature-card, .tariff-card, .team-card, .hosting-card, .review-card, .article-card, .info-card, .faq-item, .generator-section, .form-section, .timeline-content) {
    border: 1px solid var(--line-soft);
    border-radius: var(--hi-radius);
    box-shadow: none;
}
.site-page :is(.feature-card, .tariff-card, .team-card, .hosting-card, .review-card) { padding: clamp(14px, 2.25vw, 27px); }
.site-page :is(.feature-card, .tariff-card, .hosting-card, .article-card)::before { display: none; }
.site-page :is(.feature-card, .tariff-card, .hosting-card, .review-card, .article-card):hover { border-color: var(--hi-field-border); box-shadow: none; transform: none; }
.site-page .feature-card .icon, .site-page .tariff-card-icon { margin: 0 auto 12px; border: 0; }
.site-page .team-name { overflow-wrap: anywhere; }
.site-page .faq-item { padding: 0; }
.site-page .faq-item .faq-question { border-radius: var(--hi-radius); color: var(--text-color); font-weight: 660; }
.site-page .faq-item :is(.faq-question, .faq-answer) { min-width: 0; }
.site-page .faq-item .faq-answer { color: var(--text-color-secondary); }

.site-page :is(.tool-catalog-card, .calculator-card-shell, .calculator-panel, .widget-card, .widget-builder, .private-report-panel, .article-card-mini) {
    border-radius: var(--hi-radius);
    box-shadow: none;
}
.site-page :is(.tool-catalog-card:hover, .calculator-card-shell:hover, .widget-card:hover) { box-shadow: none; transform: none; }
.site-page :is(.catalog-hero, .tool-hero, .calculators-hero, .calculator-detail-hero, .widgets-hero, .private-reports-hero) h1 {
    font-family: var(--display-font);
    font-weight: 690;
    font-size: clamp(2rem, 4.35vw, 4rem);
    line-height: 1.08;
    letter-spacing: -.044em;
}
.site-page :is(.catalog-hero, .tool-hero, .calculators-hero, .calculator-detail-hero, .widgets-hero, .private-reports-hero) { padding-block: clamp(27px, 4.4vw, 62px); }
.site-page:not(.page--home) main .hero, .site-page .hero-section, .site-page .article-hero { padding-block: clamp(26px, 4.7vw, 68px); }
.site-page:not(.page--home) main .hero h1, .site-page .hero-section h1 { margin-bottom: 14px; }
.site-page:not(.page--home) main .hero .subtitle { margin-bottom: 0; }
.site-page :is(.hero, .article-hero) .breadcrumb-nav { padding-block: 0 10px; margin-bottom: 12px; }
.site-page :is(.hero, .article-hero) .breadcrumb-nav ol { justify-content: flex-start; }
.site-page .article-hero__meta { border-top: 1px solid var(--line-soft); }
.site-page :is(.article-hero, .article-header) h1 { font-family: var(--display-font); font-weight: 690; font-size: clamp(2rem, 4vw, 3.9rem); line-height: 1.07; letter-spacing: -.045em; }
.site-page :is(.article-content, .article-body, .editorial-article) { overflow-wrap: break-word; }
.site-page :is(.tool-catalog-card, .widget-card, .calculator-card-shell) { min-width: 0; overflow-wrap: break-word; }
.site-page :is(.results-box, #results-container > div, .loading-process, .report-section) { border-color: var(--line-soft); border-radius: var(--hi-radius); }
.site-page .result-header { padding-bottom: 13px; }
.site-page .result-header h2 { font-size: clamp(1.32rem, 3vw, 2.43rem); line-height: 1.12; }
.site-page .loader { border-radius: 50%; border-top-color: var(--primary-blue); }
.site-page .summary-box { background: var(--surface-muted); border: 1px solid var(--line-soft); border-radius: 9px; }
.site-page .report-section h3, .site-page .results-box .report-section h3 { border-bottom: 1px solid var(--line-soft); }
.site-page .report-preview-toggle { border: 1px solid var(--hi-field-border); border-radius: var(--hi-control-radius); }
.site-page .private-report-layout { border-color: var(--line-soft); border-radius: var(--hi-radius); background: var(--card-bg); }
.site-page .private-report-login input:not([type="hidden"]) { min-height: 46px; border: 1px solid var(--hi-field-border); border-radius: var(--hi-control-radius); background: var(--surface-muted); }
.site-page :is(.table-wrapper, .table-responsive-wrapper) { border-radius: 8px; }
.site-page th { background: var(--surface-muted); color: var(--text-color-secondary); font: 650 .83rem/1.35 var(--body-font); letter-spacing: normal; text-transform: none; }
.site-page :is(input:not([type]), input[type="url"], input[type="text"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], textarea, select) {
    border-radius: var(--hi-control-radius);
}
.site-page select option { background: var(--card-bg); color: var(--text-color); }
.site-page .tool-tabs { border-radius: var(--hi-control-radius); }
.site-page .tool-tabs button { min-width: 0; min-height: 44px; }
.site-page :is(.legal-page, .article-body, .article-content) a { color: var(--text-blue); }

.site-page :is(.calculators-page, .calculator-detail-page) { --calc-line: var(--line-soft); --calc-line-soft: var(--line-soft); }
.site-page.page--widgets { --widget-line: var(--line-soft); }
.site-page .calculators-hero__control {
    padding: clamp(12px, 2vw, 22px);
    border: 1px solid var(--line-soft);
    border-radius: var(--hi-radius);
    background: var(--card-bg);
}
.site-page .calculators-hero__label { padding: 0 0 9px; font: 650 .82rem/1.35 var(--body-font); letter-spacing: normal; text-transform: none; }
body.site-page label.calculator-search {
    min-height: 46px;
    border-color: var(--hi-field-border);
    border-radius: var(--hi-control-radius);
    background: var(--surface-muted);
}
body.site-page label.calculator-search input[type="search"] { height: 44px; padding-inline: 8px; font: 450 .95rem/1.2 var(--body-font); }
.site-page .calculator-search:focus-within { box-shadow: none; transform: none; outline: 2px solid var(--hi-focus); outline-offset: 2px; }
.site-page .calculator-search__icon { width: 17px; height: 17px; margin-left: 9px; }
.site-page .calculator-search kbd { padding: 3px 6px; margin-right: 7px; }
.site-page .widgets-hero__meta { padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }

@media (max-width: 1049px) {
    .hi-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hi-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
    .hi-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 829px) {
    :root { --hi-header-size: 61px; }
    .site-page .hi-header .hi-header-row { grid-template-columns: minmax(0, 1fr) auto; }
    .site-page .hi-header .menu-toggle { display: flex; }
    .site-page .hi-header .hi-primary-nav {
        position: absolute;
        inset: calc(100% + 6px) 0 auto;
        display: none;
        max-height: calc(100dvh - var(--hi-header-size) - 16px);
        padding: 5px;
        overflow: auto;
        overscroll-behavior: contain;
        border: 1px solid var(--line-soft);
        border-radius: var(--hi-radius);
        background: var(--card-bg);
        box-shadow: var(--hi-float-shadow);
    }
    .site-page .hi-header .hi-primary-nav.is-open { display: block; }
    .site-page .hi-primary-nav .hi-nav-list { display: grid; gap: 2px; }
    .site-page .hi-primary-nav :is(a, summary) { min-height: 44px; padding: 7px 9px; }
    .hi-nav-panel, .hi-nav-panel--compact {
        position: static;
        width: auto;
        max-height: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 3px;
        padding: 6px;
        box-shadow: none;
        transform: none;
    }
    .site-page .hi-primary-nav .hi-nav-group a { min-height: 42px; }
    .page--home .hi-check-hero .container { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
    .page--home .hi-check-hero h1 { font-size: clamp(2.15rem, 7.6vw, 3.75rem); }
    .page--home .hi-check-hero .hi-home-copy .subtitle { margin-top: 11px; }
    .page--home .hi-check-hero #form-help-info { grid-column: 1; }
    .hi-check-panel { max-width: 36rem; }
    .page--home .hi-check-hero .hero-benefits { padding-top: 11px; }
}
@media (max-width: 499px) {
    .hi-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .site-page .hi-header .theme-toggle > span { display: none; }
    .page--home .hero.hi-check-hero { padding-block: 23px 14px; }
    .page--home .hi-check-hero h1 { font-size: clamp(1.88rem, 8.35vw, 2.85rem); letter-spacing: -.048em; }
    .page--home .hi-check-hero .hi-home-copy .subtitle { font-size: .9625rem; }
    .page--home .hi-check-hero .check-form { grid-template-columns: minmax(0, 1fr) 44px; }
    .page--home .hi-check-hero #site-check-form input[type="url"] { grid-column: 1 / -1; grid-row: 1; }
    .page--home .hi-check-hero .check-form button[type="submit"] { grid-column: 1; grid-row: 2; }
    .page--home .hi-check-hero #form-help-icon { grid-column: 2; grid-row: 2; }
    .page--home .hi-check-hero .check-form .check-hosting-credit small { margin-left: 0; }
    .page--home .hi-check-hero .pre-form-title { font-size: 1.04rem; }
    .hi-check-intro { margin-bottom: 9px; gap: 8px; }
    .hi-icon-tile { width: 33px; height: 33px; }
    .hi-report-finding { grid-template-columns: minmax(0, 1fr); gap: 3px; }
    .hi-report-snapshot { grid-template-columns: minmax(0, 1fr); }
    .hi-report-snapshot > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
    .site-page .tool-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        overflow: visible;
    }
    .site-page .tool-tabs button { padding: 7px 5px; white-space: normal; overflow-wrap: anywhere; font-size: .85rem; }
}
@media (max-width: 359px) {
    .hi-nav-panel, .hi-nav-panel--compact { grid-template-columns: minmax(0, 1fr); }
    .hi-footer-grid { gap: 15px; }
}

@media (orientation: landscape) and (max-height: 500px) and (max-width: 1049px) {
    .page--home .hero.hi-check-hero { padding-block: 15px 13px; }
    .page--home .hi-check-hero .container { row-gap: 9px; }
    .page--home .hi-check-hero h1 { font-size: clamp(1.85rem, 4.5vw, 2.7rem); }
    .page--home .hi-check-hero .hi-home-copy .subtitle { margin-top: 7px; font-size: .9rem; }
    .page--home .hi-check-panel { padding: 12px; }
    .page--home .hi-check-intro { margin-bottom: 8px; }
    .page--home .hi-icon-tile { width: 33px; height: 33px; }
}

@media (orientation: landscape) and (max-height: 440px) and (max-width: 829px) {
    .page--home .hi-check-hero .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        column-gap: 14px;
    }
    .page--home .hi-check-hero .check-form { grid-template-columns: minmax(0, 1fr) 44px; }
    .page--home .hi-check-hero #site-check-form input[type="url"] { grid-column: 1 / -1; grid-row: 1; }
    .page--home .hi-check-hero .check-form button[type="submit"] { grid-column: 1; grid-row: 2; }
    .page--home .hi-check-hero #form-help-icon { grid-column: 2; grid-row: 2; }
    .page--home .hi-check-hero #form-help-info { grid-column: 1 / -1; }
}
