
:root {
    /* core palette */
    --clr-bg-dark: rgb(7, 33, 11);
    --clr-bg-mid: rgb(8, 39, 12);
    --clr-bg-light: rgb(20, 92, 30);
    --clr-accent: #000000;
    --clr-highlight: #1a0e68;
    --clr-border: rgb(118 118 118 / 36%);
    --clr-shadow: rgba(0, 0, 0, 0.8);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--clr-accent);
    background: linear-gradient(150deg,
            var(--clr-bg-dark) 0%,
            var(--clr-bg-mid) 50%,
            var(--clr-bg-light) 100%);
    min-height: 100vh;
    padding: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    background-color: rgb(231, 229, 223);
    border-radius: 2rem;
}

.header {
    text-align: center;
    padding: 1rem 0 1rem;
    border-bottom: 2px solid var(--clr-border);
    margin-bottom: 2rem;
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.logo-title img {
    height: 8rem;
    filter: drop-shadow(0 2px 4px var(--clr-shadow));
}

.logo-title h1 {
    color: rgb(18, 81, 26);
    font-size: 6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px var(--clr-shadow);
}

.subtitle {
    font-size: 1.1rem;
    color: black;
    margin-top: 0.5rem;
}

/* —— GRIDS —— */
.content-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tool-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

/* —— CARDS —— */
.card {
    background: rgb(232, 226, 210);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px var(--clr-shadow);
}

.card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: black;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card h2::before {
    content: "";
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(45deg, var(--clr-highlight), #81c784);
    border-radius: 2px;
}

.card p {
    margin-bottom: 1rem;
    color: black;
    line-height: 1.7;
}

.card ul, .card ol {
    margin: 1rem 0 1.5rem 1rem;
}

.card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: black;
    line-height: 1.6;
}

.card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--clr-highlight);
    font-weight: bold;
    font-size: 1.1rem;
}

.card ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

.card ol li {
    padding-left: 0.5rem;
}

.card a {
    color: #00379e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.card a:hover {
    color: #2913ba;
    text-decoration: underline;
}

.tool-link {
    background: rgba(247, 247, 247, 0.666);
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    margin: 0 -1rem;
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tool-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-highlight);
}

.tool-link div:not(.tool-name) {
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.85);
}

/* —— HIGHLIGHT BOX —— */
.highlight {
    background: rgba(165, 214, 167, 0.2);
    border-left: 4px solid var(--clr-highlight);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 1rem -1rem;
}

.highlight .highlight-label {
    color: #004d04;
    font-weight: 700;
    font-size: 1.1rem;
}

/* —— CONTACT INFO —— */
.contact-info {
    background: rgba(165, 214, 167, 0.1);
    border: 1px solid rgba(165, 214, 167, 0.3);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    margin: 0 -1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-method {
    display: inline-block;
    background: rgba(165, 214, 167, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.25rem;
    font-weight: 500;
    color: #c8e6c9;
}

/* —— NEW PAGE ELEMENTS —— */
.instruction-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 2px solid var(--clr-border);
}

/* —— RESPONSIVE —— */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }

    .logo-title h1 {
        font-size: 2.5rem;
    }

    .logo-title img {
        height: 5rem;
    }

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

    .card {
        padding: 1.5rem;
    }

    .header {
        padding: 1.5rem 0 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.5rem;
    }

    .logo-title h1 {
        font-size: 2rem;
    }

    .card {
        padding: 1rem;
    }

    .resources-grid,
    .tool-grid {
        grid-template-columns: 1fr;
    }
}
