:root {
    --bg: #f6f1e8;
    --panel: #ffffff;
    --text: #1f2933;
    --accent: #0f766e;
    --accent-hover: #115e59;
    --border: #d8e1dc;
    --muted: #5b6570;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: linear-gradient(180deg, #fffdf8 0%, var(--bg) 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.top-nav {
    max-width: 1000px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible,
.menu a.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    outline: none;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    margin: 0;
    padding: 8px;
    padding-top: 16px;
    list-style: none;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(31, 41, 51, 0.12);
    z-index: 20;
}

.menu > li.has-dropdown:hover > .dropdown,
.menu > li.has-dropdown:focus-within > .dropdown {
    display: block;
}

.dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 999px;
    white-space: nowrap;
    color: var(--text);
    text-decoration: none;
    border: 1px solid transparent;
}

.dropdown a:hover,
.dropdown a:focus-visible {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    outline: none;
}

.dropdown .sub-dropdown {
    top: -8px;
    left: 100%;
    padding-left: 16px;
}

.dropdown li.has-dropdown:hover > .sub-dropdown,
.dropdown li.has-dropdown:focus-within > .sub-dropdown {
    display: block;
}

.menu > li.has-dropdown > a::after {
    content: "▾";
    font-size: 0.65em;
    margin-left: 6px;
    vertical-align: middle;
}

.dropdown li.has-dropdown > a::after {
    content: "▸";
    float: right;
    margin-left: 10px;
    font-size: 0.65em;
}

.has-dropdown > .dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 20px 64px;
}

h1,
h2,
p {
    margin-top: 0;
}

.intro-panel,
.info-card,
.page-panel {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--panel);
}

.info-card {
    padding: 18px 16px;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.intro-panel {
    max-width: 100%;
    box-shadow: 0 18px 40px rgba(31, 41, 51, 0.08);
}

.eyebrow {
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.intro-panel h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

.intro-panel p,
.info-card p,
.page-panel p {
    color: var(--muted);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.info-card h2,
.page-panel h2 {
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.info-card h2,
.info-card p {
    margin: 0;
}

@media (max-width: 860px) {
    .top-nav {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 560px) {
    main {
        padding: 28px 16px 48px;
    }

    .menu,
    .menu a {
        width: 100%;
    }

    .dropdown {
        position: static;
        display: none;
        padding-top: 8px;
        margin-top: 4px;
        box-shadow: none;
    }

    .menu > li.has-dropdown:hover > .dropdown,
    .menu > li.has-dropdown:focus-within > .dropdown {
        display: block;
    }

    .dropdown .sub-dropdown {
        position: static;
        padding-left: 8px;
    }
}