/* ============================================================================
   Корпоративная светлая тема
   Полная замена прежнего тёмного CSS-файла.
   ============================================================================ */

:root {
    --bg: #f3f7fa;
    --surface: #ffffff;
    --surface-soft: #f8fbfd;
    --surface-blue: #eef7fb;
    --line: #d9e5eb;
    --line-strong: #bfd4de;
    --text: #172d3b;
    --text-soft: #486371;
    --muted: #708793;
    --primary: #087fa9;
    --primary-dark: #056789;
    --primary-soft: #e6f5fa;
    --success: #147a54;
    --success-soft: #edf9f3;
    --footer: #173b4d;
    --footer-deep: #102d3c;
    --max: 1240px;
    --radius: 18px;
    --radius-sm: 11px;
    --shadow-sm: 0 5px 16px rgba(30, 63, 80, .05);
    --shadow: 0 13px 34px rgba(30, 63, 80, .09);
    --shadow-lg: 0 22px 58px rgba(20, 51, 66, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 94% -5%, rgba(24, 155, 193, .13), transparent 28%),
        radial-gradient(circle at 3% 35%, rgba(39, 138, 179, .055), transparent 27%),
        var(--bg);
    color: var(--text);
    font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--primary-dark);
}


button,
input {
    font: inherit;
}

::selection {
    background: #ccecf5;
    color: #123342;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: -80px;
    left: 14px;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.skip-link:focus {
    top: 14px;
}

.header-bar,
.hero > div,
.site-main,
.footer-top,
.footer-bottom {
    width: min(var(--max), calc(100% - 36px));
    margin-inline: auto;
}

/* ============================================================================
   Header and hero
   ============================================================================ */

.site-header {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #d8e6ec;
    background:
        radial-gradient(circle at 97% 3%, rgba(23, 158, 196, .14), transparent 27%),
        linear-gradient(135deg, #ffffff 0%, #eef8fb 100%);
}

.site-header::after {
    position: absolute;
    top: -350px;
    right: -180px;
    width: 610px;
    height: 610px;
    border: 1px solid rgba(8, 127, 169, .13);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(8, 127, 169, .022),
        0 0 0 140px rgba(8, 127, 169, .012);
    content: "";
    pointer-events: none;
}

.header-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 88px;
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--text);
    text-decoration: none;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand b,
.footer-brand b {
    display: block;
    color: #15374a;
    font-size: 1.2rem;
    letter-spacing: .13em;
    line-height: 1.15;
}

.brand small,
.footer-brand small {
    display: block;
    margin-top: 3px;
    color: #718895;
    font-size: .77rem;
    line-height: 1.35;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    padding: 10px 13px;
    border-radius: 9px;
    color: #4b6574;
    font-size: .9rem;
    font-weight: 730;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: #e7f5f9;
    color: var(--primary);
    outline: none;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #cbdde5;
    border-radius: 10px;
    background: #fff;
    color: #244858;
    font-size: 1.25rem;
    cursor: pointer;
}

.hero {
    border-top: 1px solid rgba(21, 63, 83, .04);
}

.hero > div {
    position: relative;
    z-index: 1;
    padding: 28px 0 68px;
}

.eyebrow,
.section-kicker {
    color: var(--primary);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 960px;
    margin: .23em 0;
    color: #132f3f;
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -.047em;
    line-height: 1.04;
}

.hero-text {
    max-width: 800px;
    margin: 0;
    color: #55707d;
    font-size: 1.08rem;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-links a {
    padding: 8px 13px;
    border: 1px solid #c8dce5;
    border-radius: 999px;
    background: rgba(255, 255, 255, .73);
    color: #41606f;
    font-size: .9rem;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.hero-links a:hover {
    border-color: #79bfd4;
    background: #fff;
    color: var(--primary);
}

.hero-links strong {
    margin-left: 7px;
    color: var(--success);
}

/* ============================================================================
   Main and search
   ============================================================================ */

.site-main {
    padding: 38px 0 85px;
}

.search-panel {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr minmax(440px, 1.25fr);
    align-items: center;
    gap: 24px;
    margin-top: -75px;
    padding: 22px 24px;
    border: 1px solid #d3e3ea;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 17px 42px rgba(23, 58, 76, .11);
    backdrop-filter: blur(12px);
}

.search-panel h2 {
    margin: 0;
    color: #183747;
    font-size: 1.12rem;
}

.search-panel p {
    margin: 0;
    color: #6c838f;
    font-size: .87rem;
}

.search-panel form {
    display: flex;
    gap: 8px;
}

.search-panel input {
    min-width: 0;
    flex: 1;
    padding: 14px 15px;
    border: 1px solid #bdd3de;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #183846;
}

.search-panel input::placeholder {
    color: #94a7b0;
}

.search-panel input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 127, 169, .13);
}

.search-panel button {
    padding: 0 23px;
    border: 1px solid var(--primary);
    border-radius: 12px;
    background: linear-gradient(135deg, #0c93bd, var(--primary));
    color: #fff;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 5px 13px rgba(8, 127, 169, .19);
    transition: background .18s ease, transform .18s ease;
}

.search-panel button:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateY(-1px);
}

.section-tabs {
    display: flex;
    gap: 8px;
    margin: 30px 0 18px;
    overflow: auto;
    scrollbar-width: thin;
}

.section-tabs a {
    flex: 0 0 auto;
    padding: 10px 14px;
    border: 1px solid #d2e1e8;
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: #5a727f;
    font-size: .91rem;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.section-tabs a.active,
.section-tabs a:hover {
    border-color: #7cc2d5;
    background: #eaf7fa;
    color: var(--primary);
}

.results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 28px 2px 14px;
}

.results-heading h2 {
    margin: 0;
    color: #173747;
    font-size: 1.28rem;
}

.results-heading p {
    margin: 0;
    color: #6d8490;
}

/* ============================================================================
   Cards and PHP .item compatibility
   ============================================================================ */

.company-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.company-grid.single {
    grid-template-columns: minmax(0, 920px);
    justify-content: center;
}

.company-card,
.company-grid > .item {
    min-width: 0;
    padding: 23px;
    border: 1px solid #d7e4ea;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 100% 0, rgba(24, 155, 193, .055), transparent 40%),
        #fff;
    color: var(--text);

    box-shadow: none;

    transition: border-color .18s ease, background-color .18s ease;
}

.company-card:hover,
.company-grid > .item:hover {
    transform: none;
    border-color: #83c6d8;
    background-color: #fbfeff;
    box-shadow: none;
}

.card-label {
    display: inline-flex;
    padding: 4px 9px;
    border: 1px solid #b9e4d0;
    border-radius: 999px;
    background: var(--success-soft);
    color: var(--success);
    font-size: .71rem;
    font-weight: 820;
}

.company-card h2,
.company-grid > .item h2 {
    margin: 15px 0 5px;
    color: #183847;
    font-size: 1.25rem;
    line-height: 1.28;
}

.company-grid > .item h2 {
    margin: 0 0 10px;
}

.company-card h2 a {
    color: #183847;
    text-decoration: none;
}

.company-card h2 a:hover {
    color: var(--primary);
}

.legal,
.company-card .legal {
    margin: 0 0 14px;
    color: #6a818d;
}

.company-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
    margin: 17px 0;
}

.company-card dl div {
    min-width: 0;
    padding-top: 9px;
    border-top: 1px solid #e3ecef;
}

.company-card dt {
    color: #78909b;
    font-size: .67rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.company-card dd {
    margin: 1px 0;
    color: #264756;
    overflow-wrap: anywhere;
}

.address,
.codes {
    color: #58727f;
    font-size: .88rem;
    overflow-wrap: anywhere;
}

.company-grid > .item p {
    margin: 8px 0;
    color: #59727f;
    font-size: .9rem;
    overflow-wrap: anywhere;
}

.company-grid > .item p strong {
    color: #183a4a;
}

.company-grid > .item a,
.card-actions a {
    color: var(--primary);
    text-decoration: none;
}

.company-grid > .item a:hover,
.card-actions a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 15px 0;
}

.tags span {
    padding: 4px 8px;
    border: 1px solid #b9dfe9;
    border-radius: 999px;
    background: #effafd;
    color: var(--primary);
    font-size: .73rem;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e1ebef;
}

.card-actions a {
    font-size: .86rem;
    font-weight: 760;
}

.external {
    margin-left: 4px;
}

.company-grid > .item .pod-button {
    margin-top: 12px;
    padding: 9px 14px;
    border: 1px solid #abd8e5;
    border-radius: 10px;
    background: #e9f7fa;
    color: var(--primary);
    font-size: .84rem;
    font-weight: 850;
    cursor: pointer;
}

.company-grid > .item .pod-button:hover {
    border-color: #65bad1;
    background: #dcf2f7;
}

.company-grid > .item .social-icons {
    margin-top: 8px;
}

.company-grid > .item .social-icons > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 0;
}

.company-grid > .item .social-icons a {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #cadde5;
    border-radius: 9px;
    background: #f9fcfd;
    color: var(--primary);
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
}

.company-grid > .item .social-icons a:hover {
    border-color: #77c0d4;
    background: #e8f7fb;
    color: var(--primary-dark);
    text-decoration: none;
}

.company-grid > .item .social-icons .iconify {
    display: block;
}

/* ============================================================================
   Archive cards
   ============================================================================ */

.company-grid.archive-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1080px;
    margin: 0 auto;
    gap: 16px;
}

.company-grid.archive-grid .company-card.archive-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "meta action"
        "name action";
    align-items: center;
    min-height: 132px;
    padding: 23px 25px;
    column-gap: 34px;
    row-gap: 10px;
    border-color: #cfe2ea;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(24, 155, 193, .085), transparent 38%),
        #fff;
    box-shadow: 0 10px 27px rgba(27, 64, 83, .075);
}

.company-grid.archive-grid .company-card.archive-card:hover {
    border-color: #7fc4d7;
    box-shadow: 0 17px 37px rgba(27, 64, 83, .12);
}

.company-grid.archive-grid .archive-card > .card-label {
    grid-area: meta;
    align-self: center;
    justify-self: start;
    margin: 0;
    padding: 5px 9px;
    border-color: #b9e4d0;
    background: var(--success-soft);
    color: var(--success);
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .045em;
    line-height: 1;
}

.company-grid.archive-grid .archive-card > .legal {
    grid-area: meta;
    align-self: center;
    justify-self: start;
    margin: 0 0 0 58px;
    color: #68818e;
    font-size: .84rem;
    line-height: 1.4;
}

.company-grid.archive-grid .archive-card > .archive-file-name {
    grid-area: name;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: #254857;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: clamp(.74rem, 1.1vw, .87rem);
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.company-grid.archive-grid .archive-card > .card-actions {
    grid-area: action;
    align-self: center;
    justify-self: end;
    margin: 0;
    padding: 0;
    border: 0;
}

.company-grid.archive-grid .archive-card > .card-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 152px;
    min-height: 42px;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid #88cada;
    border-radius: 11px;
    background: #ebf8fb;
    color: var(--primary);
    font-size: .8rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.company-grid.archive-grid .archive-card > .card-actions a:hover,
.company-grid.archive-grid .archive-card > .card-actions a:focus-visible {
    transform: translateY(-1px);
    border-color: var(--primary);
    background: #dbf2f7;
    color: var(--primary-dark);
    text-decoration: none;
}

/* ============================================================================
   Tags, pagination, content sections, FAQ
   ============================================================================ */

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 7px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border: 1px solid #d5e1e7;
    border-radius: 999px;
    background: #f6f9fb;
    color: #4d6572;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.service-tag--hosting { background: #ebf6ff; border-color: #bedfff; color: #176ba7; }
.service-tag--domains { background: #f4f0ff; border-color: #dbceff; color: #6743ac; }
.service-tag--vds { background: #ecfbf4; border-color: #b9e8d2; color: #16794d; }
.service-tag--cloud { background: #fff7e8; border-color: #ffdaab; color: #9c5b08; }
.service-tag--dedicated { background: #f1f5f8; border-color: #cad7e0; color: #435d6c; }
.service-tag--colocation { background: #fff0f6; border-color: #f3c0d5; color: #a63867; }
.service-tag--ddos { background: #fff2f2; border-color: #ffc5c5; color: #b42318; }
.service-tag--cdn { background: #eafaff; border-color: #b0e6ef; color: #09778d; }
.service-tag--ssl { background: #edf9f0; border-color: #c1e8ca; color: #28783e; }
.service-tag--mail { background: #fff9e8; border-color: #f5e0a8; color: #876000; }
.service-tag--backup { background: #f6f0ff; border-color: #ddcbff; color: #6544a2; }
.service-tag--managed { background: #fff2ea; border-color: #ffd1ad; color: #a64d08; }
.service-tag--default { background: #f6f9fb; border-color: #d5e1e7; color: #4d6572; }

.pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 30px;
}

.pagination a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #d3e1e8;
    border-radius: 10px;
    background: #fff;
    color: #55717e;
    text-decoration: none;
}

.pagination a:hover {
    border-color: #86c7d8;
    background: #eaf7fa;
    color: var(--primary);
}

.pagination a.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    font-weight: 900;
}

.notice,
.seo-intro {
    padding: 35px;
    border: 1px solid #d7e4ea;
    border-radius: var(--radius);
    background: #fff;
    color: #5b7481;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 920px;
    margin: 25px auto 0;
    color: #708692;
    font-size: .85rem;
}

.breadcrumbs a {
    color: var(--primary);
}

.faq-section {
    margin-top: 5px;
    padding-top: 5px;
}

.faq-section h2 {
    margin: .25em 0;
    color: #173747;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1.15;
}

.section-lead {
    max-width: 680px;
    color: #617a87;
}

.faq-list {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.faq-list details {
    overflow: hidden;
    border: 1px solid #d8e5eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(30, 65, 83, .04);
}

.faq-list summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 19px;
    color: #1d4151;
    font-weight: 800;
    cursor: pointer;
}

.faq-list summary:hover {
    background: #f8fbfc;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary b {
    color: var(--primary);
    font-size: 1.25rem;
    transition: transform .2s ease;
}

.faq-list details[open] summary b {
    transform: rotate(45deg);
}

.faq-list details > div {
    padding: 0 19px 18px;
    color: #58727f;
}

.faq-list p {
    margin: 0;
}

/* ============================================================================
   Modal
   ============================================================================ */

.modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: none;
    overflow: auto;
    padding: 24px;
    background: rgba(16, 47, 61, .46);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: min(760px, 100%);
    margin: 7vh auto;
    padding: 30px;
    border: 1px solid #d4e2e8;
    border-radius: 19px;
    background:
        radial-gradient(circle at 100% 0, rgba(24, 155, 193, .09), transparent 35%),
        #fff;
    color: #183846;
    box-shadow: var(--shadow-lg);
}

.modal-title {
    margin: 0 35px 20px 0;
    color: #173948;
    font-size: 1.35rem;
    line-height: 1.3;
}

.modal-body p {
    margin: 8px 0;
    color: #5a7380;
}

.modal-body p strong {
    color: #1a3d4d;
}

.modal-body hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #dfebef;
}

.modal-body h3 {
    margin: 0 0 12px;
    color: #214554;
    font-size: 1rem;
}

.close {
    position: absolute;
    top: 9px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #69818e;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.close:hover {
    color: var(--primary);
}

.modal .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal .social-icons a {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #c9dce5;
    border-radius: 9px;
    background: #f8fcfd;
    color: var(--primary);
    font-size: 1.1rem;
    text-decoration: none;
}

.modal .social-icons a:hover {
    border-color: var(--primary);
    background: #e5f7fb;
}

/* ============================================================================
   Footer
   ============================================================================ */

.site-footer {
    border-top: 1px solid #205166;
    background: linear-gradient(145deg, var(--footer), var(--footer-deep));
    color: #dcecf1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr .9fr;
    gap: 44px;
    padding: 55px 0 42px;
}

.footer-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.footer-brand b {
    color: #f0fbfd;
}

.footer-brand small {
    color: #a4c5cf;
}

.footer-about > p,
.footer-top section > p {
    color: #abc4cd;
    font-size: .87rem;
}

.footer-top h2 {
    margin: 5px 0 14px;
    color: #ecf9fc;
    font-size: .78rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer-top nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-top nav a {
    color: #b7cfd7;
    font-size: .87rem;
    text-decoration: none;
}

.footer-top nav a:hover {
    color: #7be1ee;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0 24px;
    border-top: 1px solid #28596d;
    color: #99b8c2;
    font-size: .78rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #c0dce4;
}

.footer-bottom a:hover {
    color: #7be1ee;
}

/* ============================================================================
   Accessibility and responsive layout
   ============================================================================ */

.menu-button:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(8, 127, 169, .28);
    outline-offset: 3px;
}

@media (max-width: 950px) {
    .main-nav {
        position: absolute;
        top: 76px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 9px;
        border: 1px solid #d4e4ea;
        border-radius: 15px;
        background: #fff;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open {
        display: flex;
    }

    .menu-button {
        display: block;
    }

    .search-panel {
        grid-template-columns: 1fr;
        margin-top: -55px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .company-grid.archive-grid {
        gap: 12px;
    }

    .company-grid.archive-grid .company-card.archive-card {
        min-height: 118px;
        padding: 19px 18px;
        column-gap: 18px;
    }

    .company-grid.archive-grid .archive-card > .archive-file-name {
        font-size: .72rem;
    }

    .company-grid.archive-grid .archive-card > .card-actions a {
        min-width: auto;
        padding: 10px 12px;
        font-size: .74rem;
    }
}

@media (max-width: 720px) {
    .header-bar,
    .hero > div,
    .site-main,
    .footer-top,
    .footer-bottom {
        width: min(var(--max), calc(100% - 22px));
    }

    .header-bar {
        min-height: 76px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand small {
        font-size: .73rem;
    }

    .hero > div {
        padding: 25px 0 44px;
    }

    .hero h1 {
        font-size: clamp(2.05rem, 11vw, 3.2rem);
    }

    .hero-text {
        font-size: .98rem;
    }

    .search-panel {
        padding: 17px;
    }

    .search-panel form {
        display: grid;
    }

    .search-panel button {
        min-height: 46px;
        padding: 13px;
    }

    .company-grid {
        grid-template-columns: 1fr;
    }

    .company-card dl {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .faq-section {
        margin-top: 5px;
    }

    .results-heading {
        align-items: start;
        flex-direction: column;
        gap: 4px;
    }

    .company-grid > .item {
        padding: 18px;
    }

    .modal {
        padding: 12px;
    }

    .modal-content {
        margin: 4vh auto;
        padding: 23px 18px;
    }

    .modal-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 560px) {
    .company-grid.archive-grid {
        gap: 12px;
    }

    .company-grid.archive-grid .company-card.archive-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "meta"
            "name"
            "action";
        min-height: 0;
        gap: 12px;
        padding: 17px 16px;
    }

    .company-grid.archive-grid .archive-card > .card-label {
        grid-area: meta;
        justify-self: start;
    }

    .company-grid.archive-grid .archive-card > .legal {
        grid-area: meta;
        justify-self: start;
        margin-left: 61px;
        padding-top: 4px;
        font-size: .78rem;
    }

    .company-grid.archive-grid .archive-card > .archive-file-name {
        grid-area: name;
        font-size: .69rem;
        line-height: 1.5;
    }

    .company-grid.archive-grid .archive-card > .card-actions {
        grid-area: action;
        width: 100%;
        margin-top: 2px;
        padding-top: 14px;
        border-top: 1px solid #e0eaee;
    }

    .company-grid.archive-grid .archive-card > .card-actions a {
        width: 100%;
        min-height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.provider-site {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    white-space: nowrap;
}

.provider-site img {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.provider-site a {
    min-width: 0;
}