:root {
    --ink: #082f3b;
    --muted: #5a737b;
    --line: #cfe6ec;
    --surface: #ffffff;
    --soft: #eef9fb;
    --blue: #0587a6;
    --blue-dark: #043b4c;
    --blue-soft: #dff5f8;
    --aqua: #24bfd5;
}

* {
    box-sizing: border-box;
}

html {
    color: var(--ink);
    background:
        linear-gradient(180deg, #e8f8fc 0, #f7fbfc 320px, #f7fbfc 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    margin: 0;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 253, 254, .94);
    backdrop-filter: blur(18px);
}

.site-nav {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 82px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    margin-right: auto;
    color: var(--blue-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    display: block;
    width: clamp(230px, 22vw, 270px);
    max-width: 52vw;
    max-height: 70px;
    height: auto;
    object-fit: contain;
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-button {
    display: none;
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    color: #324c55;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 22px 72px;
}

.breadcrumb {
    margin-bottom: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--blue);
    font-weight: 750;
    text-decoration: none;
}

.hero {
    min-height: 430px;
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 0;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(229,248,252,.92)),
        var(--surface);
    color: var(--ink);
}

.hero-content {
    padding: clamp(30px, 6vw, 58px);
    align-self: end;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1;
    letter-spacing: 0;
}

.hero p {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    font-weight: 850;
    text-decoration: none;
    background: white;
}

.button-primary {
    border-color: var(--aqua);
    background: var(--aqua);
    color: #172226;
}

.hero-media {
    margin: 0;
    min-height: 100%;
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: block;
}

.section {
    margin-top: 58px;
}

.split {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 34px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.04;
    letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-list p {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    padding: 18px 18px 18px 52px;
    color: #29434b;
    line-height: 1.55;
    position: relative;
}

.check-list p::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--aqua);
}

.quick-access {
    margin-top: 28px;
}

.quick-access .section-heading h2 {
    font-size: clamp(28px, 3vw, 38px);
}

.quick-access-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.quick-access-card {
    border: 1px solid #94dce7;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(36, 191, 213, .14), rgba(255, 255, 255, .96)),
        white;
    padding: 20px;
    color: var(--blue-dark);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.quick-access-card:hover {
    border-color: var(--blue);
    box-shadow: 0 18px 40px rgba(5, 135, 166, .12);
    transform: translateY(-2px);
}

.quick-access-card span {
    display: block;
    color: var(--blue);
    font-size: 13px;
    font-weight: 850;
}

.quick-access-card strong {
    display: block;
    margin-top: 10px;
    font-size: 22px;
    line-height: 1.2;
}

.silo-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.silo-card,
.topic-card,
.related-grid a {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.silo-card {
    min-height: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.silo-card__image {
    width: 100%;
    aspect-ratio: 2.15 / 1;
    object-fit: cover;
    display: block;
    background: var(--soft);
}

.silo-card span,
.silo-card h3,
.silo-card p {
    margin-left: 22px;
    margin-right: 22px;
}

.silo-card span {
    display: block;
    margin-top: 18px;
}

.silo-card:hover,
.related-grid a:hover {
    border-color: #78cddb;
    box-shadow: 0 18px 40px rgba(5, 135, 166, .12);
    transform: translateY(-2px);
}

.silo-card span,
.topic-card span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 850;
}

.silo-card h3 {
    margin-top: auto;
    margin-bottom: 12px;
    font-size: 27px;
    line-height: 1.1;
    letter-spacing: 0;
}

.silo-card p {
    margin-top: 0;
    margin-bottom: 22px;
    color: var(--muted);
    line-height: 1.6;
}

.expert-block {
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(4, 59, 76, .96), rgba(5, 135, 166, .82)),
        #063f51;
    color: white;
    padding: clamp(28px, 5vw, 52px);
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 34px;
}

.expert-block h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
}

.expert-block p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 20px;
    line-height: 1.7;
}

.faq-list {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 18px 20px;
}

summary {
    cursor: pointer;
    color: #17343c;
    font-weight: 850;
}

details p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.topic-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.topic-card {
    padding: 20px;
    min-height: 130px;
    background:
        linear-gradient(135deg, rgba(36, 191, 213, .12), rgba(5, 135, 166, .06)),
        white;
    color: inherit;
    text-decoration: none;
}

.topic-card h3 {
    margin: 22px 0 0;
    font-size: 22px;
    line-height: 1.15;
}

.topic-card p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.related-grid {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-grid a {
    padding: 14px 16px;
    color: var(--blue-dark);
    font-weight: 800;
}

.article-layout {
    max-width: 100%;
}

.article-header {
    border-bottom: 1px solid var(--line);
    padding-bottom: 34px;
}

.article-header--media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 34px;
    align-items: end;
}

.article-header h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    letter-spacing: 0;
}

.article-header p:not(.eyebrow) {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
}

.article-media {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.article-media img {
    width: 100%;
    aspect-ratio: 1.35 / 1;
    object-fit: cover;
    display: block;
}

.article-body {
    display: grid;
    gap: 30px;
    margin-top: 34px;
    max-width: 860px;
}

.article-followups {
    margin-top: 30px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(223, 245, 248, .82), rgba(255, 255, 255, .96));
}

.article-followups h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.12;
}

.article-body h2 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.12;
}

.article-body p {
    margin: 0;
    color: #29434b;
    font-size: 18px;
    line-height: 1.72;
}

.lexicon-link {
    color: var(--blue-dark);
    font-weight: 800;
    text-decoration-color: rgba(36, 191, 213, .65);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.lexicon-link:hover {
    color: var(--blue);
}

.article-body p + p {
    margin-top: 14px;
}

.lexicon-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 8px;
}

.lexicon-index a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 800;
    text-decoration: none;
}

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

.lexicon-term {
    padding: 18px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: #f8fbff;
}

.lexicon-term h3 {
    margin: 0 0 8px;
    color: #075985;
    font-size: 1.05rem;
}

.lexicon-term p {
    margin: 0;
}

.pro-note {
    max-width: 880px;
    margin: 26px 0 0;
    border: 1px solid #b8e2ea;
    border-left: 5px solid var(--aqua);
    border-radius: 8px;
    background: linear-gradient(135deg, #f6fcfd, #ffffff);
    box-shadow: 0 14px 34px rgba(6, 74, 102, .08);
    padding: 20px 22px;
}

.pro-note strong {
    display: block;
    margin: 0 0 8px;
    color: var(--blue-dark);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pro-note p {
    margin: 0;
    color: #29434b;
    font-size: 18px;
    line-height: 1.65;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.comparison-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 18px;
}

.comparison-grid h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.15;
}

.comparison-grid p {
    font-size: 16px;
    line-height: 1.55;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    color: #29434b;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    vertical-align: top;
}

.comparison-table th {
    color: var(--blue-dark);
    background: var(--soft);
    font-weight: 800;
}

.comparison-table tr:last-child td {
    border-bottom: 0;
}

.article-checklist {
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--soft);
    padding: 24px;
}

.article-checklist p + p {
    margin-top: 12px;
}

.error-page {
    min-height: calc(100vh - 150px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(223, 245, 248, .9)),
        white;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: end;
    padding: clamp(30px, 6vw, 58px);
}

.error-page__content h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1;
    letter-spacing: 0;
}

.error-page__content p:not(.eyebrow) {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.65;
}

.error-page__links {
    display: grid;
    gap: 12px;
}

.error-page__links a {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 16px 18px;
    color: var(--blue-dark);
    font-weight: 850;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.error-page__links a:hover {
    border-color: #78cddb;
    box-shadow: 0 18px 40px rgba(5, 135, 166, .12);
    transform: translateY(-2px);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #f0f9fb;
}

.site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 22px 34px;
    color: #48616a;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer__inner p {
    max-width: 980px;
    margin: 0;
}

.site-footer__inner p + p {
    margin-top: 8px;
}

@media (max-width: 960px) {
    .hero,
    .split,
    .expert-block,
    .article-header--media,
    .error-page {
        grid-template-columns: 1fr;
    }

    .silo-grid,
    .topic-grid,
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .site-nav {
        min-height: 74px;
        padding: 10px 16px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 14px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: min(210px, calc(100vw - 110px));
        max-width: none;
        max-height: 56px;
    }

    .nav-toggle-button {
        position: relative;
        min-height: 44px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: white;
        padding: 0 12px 0 38px;
        display: inline-flex;
        align-items: center;
        color: var(--blue-dark);
        font-size: 13px;
        font-weight: 850;
        cursor: pointer;
    }

    .nav-toggle-button span {
        position: absolute;
        left: 12px;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--blue-dark);
        display: block;
    }

    .nav-toggle-button span:nth-child(1) {
        top: 14px;
    }

    .nav-toggle-button span:nth-child(2) {
        top: 21px;
    }

    .nav-toggle-button span:nth-child(3) {
        top: 28px;
    }

    .nav-links {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 255, 255, .98);
        padding: 8px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links a {
        border-radius: 6px;
        padding: 13px 12px;
        font-size: 15px;
    }

    .nav-links a + a {
        border-top: 1px solid #e4f2f5;
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    main {
        padding: 26px 16px 58px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 26px 20px;
    }

    .hero-media img {
        min-height: 260px;
        max-height: 320px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 17px;
    }

    .silo-grid,
    .topic-grid,
    .comparison-grid,
    .quick-access-grid,
    .lexicon-grid {
        grid-template-columns: 1fr;
    }
}
