:root {
    --bg: #eef3f6;
    --surface: #ffffff;
    --surface-alt: #f7fafc;
    --navy: #12304a;
    --navy-dark: #0c2236;
    --blue: #246b8f;
    --accent: #d9902f;
    --text: #21303c;
    --muted: #657684;
    --border: #d8e2e8;
    --good: #2d7b55;
    --warning: #a96418;
    --shadow: 0 8px 24px rgba(18, 48, 74, 0.09);
    --radius: 14px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--blue);
}

a:hover {
    text-decoration-thickness: 2px;
}

.site-header {
    color: #fff;
    background:
        linear-gradient(rgba(10, 34, 54, 0.78), rgba(18, 48, 74, 0.92)),
        linear-gradient(135deg, #2a6f91, #10283f);
    border-bottom: 4px solid var(--accent);
}

.header-inner,
.nav-inner,
.page-width,
.footer-inner {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.header-inner {
    min-height: 170px;
    padding: 34px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

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

.branding h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -0.04em;
}

.branding p {
    margin: 5px 0 0;
    color: #d9e9f3;
    font-size: 1.05rem;
}

.tagline {
    max-width: 430px;
    margin: 0;
    color: #d9e9f3;
    text-align: right;
}

.site-nav {
    background: var(--navy-dark);
    color: #fff;
}

.nav-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    width: 100%;
    border: 0;
    padding: 15px 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 15px 14px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.page-width {
    padding: 28px 0 54px;
}

.hero {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 22px;
}

.hero-copy,
.weather-summary,
.card,
.content-panel,
.link-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-copy {
    min-height: 360px;
    padding: clamp(28px, 5vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background:
        linear-gradient(rgba(15, 54, 79, 0.76), rgba(12, 34, 54, 0.94)),
        radial-gradient(circle at top right, #70b8d6, #163653 70%);
}

.eyebrow {
    margin: 0 0 8px;
    color: #cae9f8;
    font-size: 0.82rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h2 {
    margin: 0;
    max-width: 700px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 650px;
    margin: 20px 0 0;
    color: #deedf5;
    font-size: 1.1rem;
}

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

.button {
    display: inline-block;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--accent);
    color: #1b2833;
    font-weight: bold;
    text-decoration: none;
}

.button.secondary {
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
}

.weather-summary {
    padding: 26px;
}

.weather-summary h2,
.section-heading h2,
.content-panel h1,
.content-panel h2,
.link-panel h2 {
    margin-top: 0;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 20px 0;
}

.weather-icon {
    font-size: 4rem;
}

.temperature {
    margin: 0;
    font-size: 3.4rem;
    font-weight: bold;
    line-height: 1;
}

.condition {
    margin: 8px 0 0;
    color: var(--muted);
}

.weather-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.weather-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.weather-row:last-child {
    border-bottom: 0;
}

.weather-row dt {
    color: var(--muted);
}

.weather-row dd {
    margin: 0;
    font-weight: bold;
    text-align: right;
}

.updated {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.section {
    margin-top: 32px;
}

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

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.card {
    padding: 22px;
}

.card h3 {
    margin: 0 0 8px;
}

.card p {
    margin: 0 0 14px;
    color: var(--muted);
}

.card-link {
    font-weight: bold;
    text-decoration: none;
}

.icon-tile {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #e8f2f7;
    font-size: 1.5rem;
}

.two-column {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
}

.content-panel,
.link-panel {
    padding: 26px;
}

.link-list {
    margin: 0;
    padding-left: 20px;
}

.link-list li {
    margin: 10px 0;
}

.external-link::after {
    content: " ↗";
    font-size: 0.8em;
}

.notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-left: 5px solid var(--accent);
    border-radius: 8px;
    background: #fff6e5;
    color: #6a4b16;
}

.page-intro {
    margin-bottom: 24px;
}

.page-intro h1 {
    margin-bottom: 8px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-intro p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.placeholder {
    min-height: 180px;
    border: 2px dashed #b7c8d4;
    border-radius: 10px;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    color: var(--muted);
    background: var(--surface-alt);
}

.site-footer {
    background: var(--navy-dark);
    color: #d6e3eb;
}

.footer-inner {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-inner p {
    margin: 0;
}

.small {
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 920px) {
    .hero,
    .two-column {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .header-inner {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
    }

    .tagline {
        text-align: left;
    }

    .menu-toggle {
        display: block;
    }

    .nav-inner {
        display: block;
    }

    .nav-links {
        display: none;
        padding-bottom: 10px;
    }

    .nav-links.open {
        display: block;
    }

    .nav-links a {
        padding: 12px 4px;
    }

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

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