:root {
    --color-text: #202938;
    --color-muted: #5b6574;
    --color-primary: #155eef;
    --color-border: #dfe4ec;
    --color-surface: #f6f8fb;
    --color-white: #ffffff;
    --content-width: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-white);
    color: var(--color-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(var(--content-width), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: var(--color-text);
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

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

.main-nav a {
    color: #374151;
    font-size: 0.94rem;
    font-weight: 600;
}

.breadcrumbs {
    margin: 24px 0 14px;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #98a2b3;
}

h1 {
    margin: 12px 0 16px;
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

h2 {
    margin: 30px 0 12px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.3;
}

h3 {
    margin: 22px 0 8px;
    font-size: 1.12rem;
    line-height: 1.4;
}

p {
    margin: 0 0 16px;
}

.intro {
    max-width: 820px;
    margin-bottom: 20px;
    color: #465264;
    font-size: 1.06rem;
}

.content-section,
.data-section,
.related-section,
.faq-section {
    margin: 30px 0;
}

.table-wrap {
    width: 100%;
    margin: 18px 0 24px;
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.dimensions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
}

.dimensions-table th,
.dimensions-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.dimensions-table th {
    background: var(--color-surface);
    color: #344054;
    font-weight: 700;
}

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

.dimensions-table tbody tr:hover {
    background: #f9fbff;
}

.facts-list {
    padding-left: 22px;
}

.facts-list li {
    margin: 7px 0;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-left: 20px;
}

.faq-section details {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.faq-section summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-section details p {
    margin: 10px 0 0;
    color: var(--color-muted);
}

.ad-slot {
    display: flex;
    min-height: 100px;
    margin: 28px 0;
    padding: 12px;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cbd3df;
    border-radius: 8px;
    background: #fafbfc;
    color: #7b8493;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-align: center;
}

.ad-slot-top {
    margin-top: 26px;
    margin-bottom: 30px;
}

.ad-slot-mid {
    margin-top: 34px;
    margin-bottom: 34px;
}

.ad-slot-bottom {
    margin-top: 36px;
    margin-bottom: 30px;
}

.site-footer {
    margin-top: 56px;
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-muted);
    font-size: 0.9rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 12px 0;
}

.site-footer p {
    margin-bottom: 10px;
}

@media (max-width: 700px) {
    .container {
        width: calc(100% - 28px);
    }

    .header-inner {
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .main-nav {
        width: 100%;
        gap: 10px 16px;
    }

    .main-nav a {
        font-size: 0.88rem;
    }

    .breadcrumbs {
        margin-top: 18px;
        font-size: 0.82rem;
    }

    h1 {
        font-size: 1.9rem;
    }

    .intro {
        font-size: 1rem;
    }

    .dimensions-table {
        font-size: 0.9rem;
    }

    .dimensions-table th,
    .dimensions-table td {
        padding: 11px 12px;
    }

    .ad-slot {
        min-height: 90px;
        margin-top: 24px;
        margin-bottom: 24px;
    }
}
