@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --chalk: #f1efe8;
    --paper: #faf8f1;
    --sage: #1e312e;
    --malachite: #2b574f;
    --green: #13ec5b;
    --copper: #a95724;
    --line: rgba(30, 49, 46, 0.14);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--chalk);
    color: var(--sage);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.skip-link {
    background: var(--sage);
    color: white;
    left: 16px;
    padding: 10px 16px;
    position: fixed;
    top: -80px;
    transition: top 0.2s ease;
    z-index: 2000;
}

.skip-link:focus {
    top: 12px;
}

.resource-header {
    align-items: center;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 99px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    left: 50%;
    max-width: 1500px;
    padding: 16px 30px;
    position: fixed;
    top: 24px;
    transform: translateX(-50%);
    width: 92%;
    z-index: 1000;
}

.logo {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-decoration: none;
}

.logo span {
    color: var(--green);
    text-shadow: 0 0 10px rgba(19, 236, 91, 0.35);
}

.resource-nav,
.resource-nav ul {
    align-items: center;
    display: flex;
}

.resource-nav ul {
    gap: 8px;
    list-style: none;
}

.nav-pill {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(30, 49, 46, 0.1);
    border-radius: 99px;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 9px 16px;
    text-decoration: none;
    transition: 0.25s ease;
}

.nav-pill:hover,
.nav-pill:focus-visible,
.nav-pill.active {
    border-color: var(--green);
    color: #087d32;
    outline: none;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    color: var(--sage);
    cursor: pointer;
    font-family: inherit;
}

.nav-dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(30, 49, 46, 0.1);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
    left: 50%;
    min-width: 242px;
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 12px);
    transform: translateX(-50%) translateY(8px);
    transition: 0.22s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    border-radius: 8px;
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    padding: 11px 13px;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a[aria-current='page'] {
    background: rgba(19, 236, 91, 0.11);
    color: #087d32;
    outline: none;
}

.header-cta,
.hero-cta {
    background: linear-gradient(135deg, var(--malachite), var(--sage));
    border: 1px solid var(--malachite);
    border-radius: 4px;
    color: white;
    font-size: 0.72rem;
    letter-spacing: 1.6px;
    padding: 11px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.header-cta:hover,
.hero-cta:hover {
    border-color: var(--green);
    box-shadow: 0 10px 28px rgba(19, 236, 91, 0.22);
}

.resource-hero {
    background:
        radial-gradient(circle at 16% 20%, rgba(19, 236, 91, 0.12), transparent 34%),
        linear-gradient(140deg, #ffffff 0%, var(--chalk) 72%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 190px 24px 100px;
    position: relative;
}

.resource-hero::after {
    border: 1px solid rgba(43, 87, 79, 0.1);
    border-radius: 50%;
    content: '';
    height: 520px;
    position: absolute;
    right: -180px;
    top: -120px;
    width: 520px;
}

.hero-inner {
    margin: 0 auto;
    max-width: 1040px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.eyebrow {
    color: #087d32;
    font-family: 'Courier New', monospace;
    font-size: 0.74rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 28px;
}

h1 span {
    color: #07963c;
}

.hero-copy {
    color: rgba(30, 49, 46, 0.72);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    margin: 0 auto 36px;
    max-width: 760px;
}

.safety-note {
    align-items: flex-start;
    background: rgba(169, 87, 36, 0.08);
    border: 1px solid rgba(169, 87, 36, 0.24);
    border-radius: 12px;
    display: flex;
    gap: 14px;
    margin: 32px auto 0;
    max-width: 780px;
    padding: 16px 20px;
    text-align: left;
}

.safety-note strong {
    color: var(--copper);
    flex: 0 0 auto;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
}

.safety-note p {
    color: rgba(30, 49, 46, 0.76);
    font-size: 0.86rem;
}

.guide {
    padding: 90px 24px 110px;
}

.guide-intro {
    margin: 0 auto 48px;
    max-width: 900px;
    text-align: center;
}

.guide-intro h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 16px;
}

.guide-intro p {
    color: rgba(30, 49, 46, 0.66);
}

.guide-list {
    display: grid;
    gap: 38px;
    list-style: none;
    margin: 0 auto;
    max-width: 1086px;
}

.guide-card {
    background: var(--paper);
    border: 1px solid rgba(30, 49, 46, 0.12);
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(30, 49, 46, 0.1);
    overflow: hidden;
    position: relative;
}

.guide-card::before {
    background: linear-gradient(90deg, var(--copper), var(--green));
    content: '';
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.card-label {
    align-items: center;
    display: flex;
    gap: 18px;
    padding: 24px 28px;
}

.card-number {
    align-items: center;
    background: var(--sage);
    border-radius: 50%;
    color: white;
    display: inline-flex;
    flex: 0 0 42px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    height: 42px;
    justify-content: center;
    letter-spacing: 1px;
}

.card-label h3 {
    font-size: clamp(1.15rem, 2.4vw, 1.65rem);
    font-weight: 400;
    line-height: 1.25;
}

.guide-card img {
    background: #eee8d8;
    display: block;
    height: auto;
    width: 100%;
}

.resource-footer {
    background: linear-gradient(180deg, var(--sage), #0a1211);
    color: white;
    padding: 58px 24px;
    text-align: center;
}

.resource-footer .logo {
    display: inline-block;
    margin-bottom: 14px;
}

.resource-footer p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
}

@media (max-width: 980px) {
    .resource-header {
        border-radius: 18px;
        padding: 13px 18px;
        top: 12px;
        width: calc(100% - 24px);
    }

    .resource-nav li:not(.nav-dropdown),
    .header-cta {
        display: none;
    }

    .resource-hero {
        padding-top: 150px;
    }
}

@media (max-width: 620px) {
    .resource-header {
        justify-content: space-between;
    }

    .logo {
        font-size: 0.82rem;
        letter-spacing: 1.5px;
    }

    .nav-pill {
        font-size: 0.64rem;
        padding: 8px 11px;
    }

    .nav-dropdown-menu {
        left: auto;
        right: 0;
        transform: translateY(8px);
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu,
    .nav-dropdown.open .nav-dropdown-menu {
        transform: translateY(0);
    }

    .resource-hero {
        padding: 132px 18px 70px;
    }

    .safety-note {
        display: block;
    }

    .safety-note strong {
        display: block;
        margin-bottom: 7px;
    }

    .guide {
        padding: 64px 12px 80px;
    }

    .guide-list {
        gap: 22px;
    }

    .guide-card {
        border-radius: 14px;
    }

    .card-label {
        gap: 12px;
        padding: 16px;
    }

    .card-number {
        flex-basis: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}
