:root {
    --brand: #167c72;
    --accent: #d7a449;
    --dark: #111827;
    --text: #172033;
    --muted: #64748b;
    --line: #dbe3ea;
    --soft: #f4f7f7;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--soft);
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px clamp(16px, 4vw, 56px);
    background:
        linear-gradient(110deg, rgba(17, 24, 39, .98), rgba(22, 124, 114, .96)),
        var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
    backdrop-filter: blur(10px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 7px 12px 7px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.logo img {
    width: auto;
    max-width: 120px;
    height: 36px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .28));
}

.logo span {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.main-nav,
.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.main-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.main-nav a.active,
.main-nav a:hover {
    color: #ffffff;
}

.main-nav a.active {
    color: #111827;
    background: var(--accent);
    border-radius: 6px;
    padding: 4px 8px;
}

.site-footer a {
    text-decoration: none;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.site-footer a:hover {
    color: #ffffff;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
    align-items: center;
    gap: clamp(24px, 5vw, 56px);
    color: var(--white);
    background:
        linear-gradient(120deg, rgba(22, 124, 114, .96), rgba(17, 24, 39, .96)),
        radial-gradient(circle at 80% 20%, rgba(215, 164, 73, .35), transparent 34%);
    padding: clamp(42px, 7vw, 86px) clamp(16px, 4vw, 56px);
}

.hero-media {
    min-height: 260px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
}

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

.hero.compact {
    min-height: 54vh;
    display: grid;
    align-items: center;
}

.hero-content {
    max-width: 980px;
}

.eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

h1 {
    margin: 0;
    max-width: 980px;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.05;
}

.hero-text {
    max-width: 820px;
    margin: 18px 0 0;
    font-size: clamp(17px, 2vw, 21px);
    color: rgba(255, 255, 255, .88);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 6px;
    background: var(--accent);
    color: #111;
    text-decoration: none;
    font-weight: 800;
}

.button:nth-child(2),
.button:nth-child(3) {
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .26);
}

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

.hero-facts span {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    font-size: 14px;
}

.content-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 56px;
}

.article-content {
    padding: 28px 0 4px;
}

.article-section {
    max-width: 920px;
    padding: 0 0 28px;
}

.article-section h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.18;
}

.article-section p {
    margin: 0 0 14px;
    color: #26364d;
    font-size: 17px;
}

.article-section ul {
    margin: 12px 0 0;
    padding-left: 22px;
    color: #26364d;
}

.article-section li + li {
    margin-top: 6px;
}

.section {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.section-head {
    margin-bottom: 16px;
}

.section h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.18;
}

.section-intro {
    max-width: 860px;
    margin: 0 0 16px;
    color: #334155;
    font-size: 17px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.card,
.faq-item,
.next-link {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
}

.card h3,
.faq-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.25;
}

.card p,
.faq-item p {
    margin: 0;
    color: #334155;
}

.slot-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.slot-filters span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(22, 124, 114, .1);
    color: #0f5f58;
    border: 1px solid rgba(22, 124, 114, .2);
    font-size: 13px;
    font-weight: 700;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.slot-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    min-height: 150px;
}

.slot-thumb {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--brand), var(--dark));
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
    overflow: hidden;
}

.slot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slot-thumb span {
    display: none;
    font-size: 26px;
    font-weight: 900;
}

.slot-body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
}

.slot-body p {
    margin: 5px 0 10px;
    color: #475569;
    font-size: 14px;
}

.slot-body dl {
    display: grid;
    gap: 6px;
    margin: 0;
}

.slot-body dl div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #eef2f6;
    padding-top: 6px;
}

.slot-body dt {
    color: #64748b;
    font-size: 13px;
}

.slot-body dd {
    margin: 0;
    color: #172033;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.note {
    margin: 16px 0 0;
    color: #334155;
    background: #fff7df;
    border-left: 4px solid var(--accent);
    padding: 12px 14px;
    border-radius: 4px;
}

.table-wrap {
    overflow: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    width: 260px;
    background: #f8fafc;
}

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

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.next-link {
    display: block;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease;
}

.next-link:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.next-link strong,
.next-link span {
    display: block;
}

.next-link span {
    color: var(--muted);
    margin-top: 4px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 28px clamp(16px, 4vw, 56px);
    background: var(--dark);
    color: var(--white);
}

.site-footer p {
    margin: 8px 0 0;
    max-width: 620px;
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 820px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

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

    th {
        width: 170px;
    }
}
