:root {
    color-scheme: light;
    --ink: #14313d;
    --muted: #526773;
    --surface: #ffffff;
    --surface-soft: #f4f8f9;
    --line: #d7e2e6;
    --accent: #d99b26;
    --accent-dark: #8a5b00;
    --teal: #0b5b70;
    --teal-dark: #08394a;
    --shadow: 0 18px 50px rgba(8, 57, 74, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--surface-soft);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: var(--surface-soft);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

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

.topbar {
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 14px clamp(18px, 5vw, 64px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(215, 226, 230, 0.8);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 800;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(8, 57, 74, 0.18);
}

.brand-name {
    font-size: 1rem;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.nav-links a {
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--teal);
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(68svh, 640px);
    padding: 130px clamp(18px, 5vw, 64px) 70px;
    background: #d9ecf0 url("/weatherimage.png") right clamp(18px, 8vw, 110px) center / min(44vw, 520px) no-repeat;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(244, 248, 249, 0.78);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent-dark);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 11ch;
    margin: 0;
    color: var(--teal-dark);
    font-size: 6.2rem;
    line-height: 0.95;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 620px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 1.24rem;
    line-height: 1.55;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
}

.button.primary {
    color: #ffffff;
    background: var(--teal);
    box-shadow: 0 12px 26px rgba(11, 91, 112, 0.22);
}

.button.secondary {
    color: var(--teal-dark);
    background: rgba(255, 255, 255, 0.82);
    border-color: var(--line);
}

.button:hover,
.button:focus-visible,
.action-card:hover,
.action-card:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.actions-band {
    padding: 28px clamp(18px, 5vw, 64px) 34px;
    background: var(--surface);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto;
}

.action-card {
    display: grid;
    gap: 8px;
    min-height: 116px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(8, 57, 74, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.action-card:hover,
.action-card:focus-visible {
    border-color: rgba(11, 91, 112, 0.35);
    box-shadow: var(--shadow);
}

.action-label {
    color: var(--teal-dark);
    font-size: 1rem;
    font-weight: 900;
}

.action-detail {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.4;
}

.status-band {
    padding: 24px clamp(18px, 5vw, 64px) 44px;
    background: var(--surface-soft);
}

.status-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto;
}

.status-item {
    min-width: 0;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.status-label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.status-value {
    display: block;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.45;
}

@media (max-width: 820px) {
    .topbar {
        position: sticky;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        min-height: 0;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero {
        min-height: 580px;
        padding-top: 78px;
        background: #d9ecf0 url("/weatherimage.png") center bottom 24px / min(78vw, 360px) no-repeat;
    }

    .hero-content {
        align-self: flex-start;
    }

    h1 {
        max-width: 9ch;
        font-size: 4.2rem;
    }

    .hero-copy {
        max-width: 34rem;
        font-size: 1.08rem;
    }

    .actions-grid,
    .status-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 460px) {
    .brand-name {
        font-size: 0.95rem;
    }

    .nav-links {
        gap: 18px;
        justify-content: flex-start;
        font-size: 0.9rem;
    }

    .hero {
        min-height: 620px;
    }

    h1 {
        font-size: 3.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .action-card {
        min-height: 104px;
    }
}
