:root {
    --primary: #003D40;
    --primary-soft: #0a575b;
    --accent: #FFD100;
    --bg: #f4f8f8;
    --surface: #ffffff;
    --surface-alt: #ecf4f4;
    --text: #112628;
    --muted: #597173;
    --border: rgba(0, 61, 64, 0.10);
    --shadow: 0 18px 40px rgba(0, 61, 64, 0.10);
    --radius: 22px;
    --radius-sm: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f7fbfb 0%, #eef5f5 100%);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(0, 61, 64, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand img {
    flex-shrink: 0;
}

.brand .brand-mark {
    width: 54px;
    height: 54px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 209, 0, 0.12);
    border: 1px solid rgba(255, 209, 0, 0.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.1;
}

.brand span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.2;
    margin-top: 4px;
}

.main-nav,
.header-actions,
.hero-actions,
.cta-actions,
.meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.main-nav {
    margin-left: auto;
}

.main-nav a {
    font-weight: 600;
    color: #fff;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.header-actions {
    margin-left: 28px;
    flex-shrink: 0;
}

.meta-row a,
.link-more,
.sidebar-links a,
.article-card h3 a:hover {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #1d1d1d;
    box-shadow: 0 10px 24px rgba(255, 209, 0, 0.28);
}

.btn-secondary,
.btn-ghost {
    background: var(--surface);
    color: var(--primary);
    border-color: var(--border);
}

.btn-block {
    width: 100%;
}

.hero {
    padding: 72px 0 26px;
}

.hero-grid,
.footer-grid,
.article-layout {
    display: grid;
    gap: 28px;
}

.hero-grid {
    grid-template-columns: 1.3fr .7fr;
    align-items: center;
}

.eyebrow,
.section-kicker,
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.eyebrow,
.section-kicker {
    color: var(--primary);
    background: rgba(0, 61, 64, 0.08);
}

.pill {
    color: var(--primary);
    background: rgba(255, 209, 0, 0.28);
}

.hero h1,
.page-heading h1,
.article-header h1 {
    margin: 14px 0 12px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
}

.hero-text,
.page-heading p,
.article-intro {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.06rem;
}

.search-bar {
    margin-top: 28px;
    margin-bottom: 28px;
    display: flex;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px;
    box-shadow: var(--shadow);
}

.search-bar input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0 14px;
    font-size: 16px;
    outline: none;
}

.search-bar button {
    border: 0;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 14px 20px;
    cursor: pointer;
}

.hero-card,
.cta-box,
.article-card,
.category-card,
.sidebar-card,
.knowledge-article,
.empty-state {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 22px;
    display: grid;
    gap: 14px;
}

.stat-card {
    padding: 18px;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%);
    border: 1px solid rgba(0, 61, 64, 0.06);
}

.stat-card strong {
    display: block;
    font-size: 1.9rem;
    color: var(--primary);
}

.stat-card span,
.meta-row span,
.article-meta,
.note-box,
.footer-bottom,
.page-badge {
    color: var(--muted);
}

.section {
    padding: 28px 0 34px;
}

.section-alt {
    background: rgba(255, 255, 255, 0.45);
}

.section-head,
.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.section-head h2,
.cta-box h2,
.content-section h2 {
    margin: 8px 0 0;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.card-grid {
    display: grid;
    gap: 20px;
}

.category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.article-card {
    padding: 22px;
    transition: .2s ease;
}

.category-card:hover,
.article-card:hover {
    transform: translateY(-3px);
}

.category-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.category-card p,
.article-card p,
.cta-box p,
.sidebar-card p,
.content-section p,
.content-section li {
    color: var(--muted);
}

.category-card span,
.meta-row a {
    font-weight: 700;
}

.article-card h3,
.category-card h3,
.sidebar-card h3 {
    margin: 12px 0 8px;
}

.meta-row {
    justify-content: space-between;
    margin-top: 18px;
}

.cta-box {
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.92);
    margin-top: 30px;
}

.footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 42px 0;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin-top: 0;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 14px 0;
}

.page-top {
    padding-top: 38px;
}

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

.page-badge {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 999px;
    font-weight: 700;
}

.article-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.knowledge-article,
.sidebar-card,
.empty-state {
    padding: 24px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 14px;
    margin-top: 16px;
}

.content-section + .content-section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.step-list {
    padding-left: 20px;
}

pre {
    background: #0d2224;
    color: #e7f6f6;
    padding: 18px;
    border-radius: 18px;
    overflow: auto;
}

.info-box,
.note-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 209, 0, 0.18);
    border: 1px solid rgba(255, 209, 0, 0.32);
}

.note-box {
    margin-top: 14px;
}

.sidebar-card + .sidebar-card {
    margin-top: 18px;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li + li {
    margin-top: 10px;
}

.empty-state {
    text-align: center;
}

.search-inline {
    margin-top: 0;
    max-width: 780px;
}

@media (max-width: 1080px) {
    .hero-grid,
    .article-layout,
    .footer-grid,
    .category-grid,
    .article-grid {
        grid-template-columns: 1fr 1fr;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        margin-left: 0;
    }

    .header-actions {
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    .hero-grid,
    .footer-grid,
    .category-grid,
    .article-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .search-bar,
    .hero-actions,
    .header-actions,
    .main-nav,
    .section-head,
    .page-heading,
    .cta-box,
    .meta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero,
    .section {
        padding-top: 22px;
    }

    .btn {
        width: 100%;
    }
}

.site-footer p {
    margin-top: 10px;
    line-height: 1.6;
}

.site-footer ul {
    margin-top: 10px;
}

.site-footer .container {
    max-width: 900px;
}

.footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.suggestion-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(0, 61, 64, 0.30);
    box-shadow: 0 0 0 4px rgba(0, 61, 64, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

@media (max-width: 720px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}