:root {
    --col-slate-900: #0f172a;
    --col-slate-800: #1e293b;
    --col-slate-300: #cbd5e1;
    --col-slate-50: #f8fafc;
    --col-emerald-500: #10b981;
    --col-emerald-600: #059669;
    --col-emerald-900: #064e3b;
    --radius-soft: 6px;
    --border-color: #334155;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-stretch: condensed;
    background-color: var(--col-slate-50);
    color: var(--col-slate-900);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1410px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

img {
    aspect-ratio: 16/9;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-soft);
}

.header-dark {
    background-color: var(--col-slate-900);
    color: var(--col-slate-50);
    border-bottom: 1px solid var(--border-color);
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--col-slate-50);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-icon svg {
    height: 32px;
    width: auto;
    color: var(--col-emerald-500);
}

.desktop-nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--col-slate-300);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--col-emerald-500);
}
.activ_link {
    color: var(--col-emerald-400);
    font-weight: 700;
    position: relative;
}
.activ_link::after{
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background: var(--col-emerald-500);
    border-radius: 3px;
    margin-top: 6px;
    opacity: 0.95;
}
.mobile-nav-link.activ_link {
    color: var(--col-emerald-400);
    font-weight: 700;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--col-emerald-600);
    color: var(--col-slate-50);
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-soft);
    font-weight: 600;
    border: 1px solid var(--col-emerald-500);
    transition: background-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--col-emerald-500);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.w-full {
    width: 100%;
}

.burger-btn,
.close-btn {
    background: none;
    border: none;
    color: var(--col-slate-50);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.icon {
    width: 24px;
    height: 24px;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--col-slate-900);
    border-left: 1px solid var(--border-color);
    z-index: 100;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--col-slate-50);
    font-weight: 700;
}

.mobile-nav {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--col-slate-300);
    font-size: 1.125rem;
    font-weight: 500;
    display: block;
}

.mobile-nav-link:hover {
    color: var(--col-emerald-500);
}

.mobile-cta {
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .burger-btn {
        display: none;
    }
}

.site-footer {
    background-color: var(--col-slate-900);
    color: var(--col-slate-300);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-heading {
    color: var(--col-slate-50);
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.footer-tagline {
    color: var(--col-emerald-500);
    font-weight: 600;
    margin: 0;
}

.footer-desc,
.footer-text {
    margin: 0;
    line-height: 1.6;
}

.text-sm {
    font-size: 0.875rem;
}

.mt-spacing {
    margin-top: 1rem;
}

.mb-spacing {
    margin-bottom: 1rem;
}

.inline-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    color: var(--col-emerald-500);
}

.footer-link {
    color: var(--col-slate-300);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    vertical-align: middle;
}

.footer-link:hover {
    color: var(--col-emerald-500);
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--col-slate-800);
    border: 1px solid var(--border-color);
    color: var(--col-slate-50);
    border-radius: var(--radius-soft);
    box-sizing: border-box;
    outline: none;
}

.form-input:focus {
    border-color: var(--col-emerald-500);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

/* footer extras */
.footer__extras {
    margin-top: 16px;
}

.footer__extrasInner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.footer__social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-social {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    text-decoration: none;
}

.footer-social__icon {
    display: block;
}

.footer__poemWrap {
    max-width: 520px;
}

.footer-poem {
    opacity: 0.9;
    font-size: 0.95em;
    line-height: 1.35;
}

/* --- injected by logo step --- */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.brand-logo {
    width: 28px;
    height: 28px;
    display: inline-block;
    flex: 0 0 auto
}

.brand-logo * {
    vector-effect: non-scaling-stroke
}

/* --- /injected by logo step --- */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.privacy-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-light-grey);
    border-radius: 4px;
    margin-bottom: 0;
    margin-right: 8px;
}

.flex-wrap {
    flex-wrap: wrap;
}
