:root {
    --navy: #062746;
    --navy-deep: #031d36;
    --text: #071f3d;
    --muted: #53657a;
    --card-bg: rgba(255, 255, 255, 0.88);
    --card-border: rgba(7, 31, 61, 0.12);
    --shadow: 0 18px 45px rgba(7, 31, 61, 0.16);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: #ffffff;
}

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

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 28px clamp(22px, 5vw, 80px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-link img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(7, 31, 61, 0.18);
}

.header-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(7, 31, 61, 0.10);
    font-weight: 700;
    color: var(--text);
    box-shadow: 0 10px 28px rgba(7, 31, 61, 0.08);
    backdrop-filter: blur(12px);
}

.header-links img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 120px clamp(22px, 5vw, 80px) 80px;
    background-image: url("../images/50-cabbages-hero-montage.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 680px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
    font-weight: 750;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 32px rgba(7, 31, 61, 0.08);
}

.eyebrow img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

/*
h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
    color: var(--text);
}*/

h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(1.62rem, 3.12vw, 2.82rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--text);
}



.hero-copy {
    max-width: 600px;
    margin: 26px 0 34px;
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    line-height: 1.45;
    color: var(--muted);
    font-weight: 540;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 760px;
}

.product-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 20px;
    min-height: 132px;
    border-radius: var(--radius);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 55px rgba(7, 31, 61, 0.22);
}

.product-card img {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(7, 31, 61, 0.18);
}

.product-card h2 {
    margin: 0 0 6px;
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.product-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 530;
}

.site-footer {
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    color: #ffffff;
    padding: 64px clamp(22px, 5vw, 80px);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    max-width: 1180px;
    margin: 0 auto;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 850;
    letter-spacing: -0.06em;
}

.footer-brand img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.footer-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    line-height: 1.45;
    font-weight: 530;
}

.footer-links {
    display: grid;
    gap: 14px;
    min-width: 180px;
    align-content: start;
    font-size: 1.15rem;
    font-weight: 750;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

@media (max-width: 860px) {
    .site-header {
        position: static;
        padding: 20px;
        background: #ffffff;
    }

    .header-inner,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-links {
        justify-content: flex-start;
    }

    .hero {
        min-height: 680px;
        padding-top: 70px;
        background-position: 58% center;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: 720px;
        align-items: flex-start;
        padding-top: 58px;
    }

    .product-card {
        grid-template-columns: auto 1fr;
        padding: 16px;
    }

    .product-card img {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }
}

/* ---------------------------------------------------------
   50Cabbages text/legal pages
   --------------------------------------------------------- */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

.text-page .site-header {
    position: static;
    background: #ffffff;
    border-bottom: 1px solid rgba(7, 31, 61, 0.10);
}

.no-brand-icon .brand-link img,
.no-brand-icon .footer-brand img {
    display: none;
}

.text-page main {
    width: 100%;
    max-width: 100%;
}

.legal-page {
    width: 100%;
    padding: 72px clamp(18px, 5vw, 80px);
    background: #ffffff;
}

.legal-content {
    width: min(100%, 920px);
    margin: 0 auto;
    overflow-wrap: anywhere;
    word-break: normal;
}

.legal-content h1 {
    max-width: 100%;
    margin: 0 0 16px;
    font-size: clamp(2.25rem, 7vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.legal-content h2 {
    margin: 42px 0 12px;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--text);
}

.legal-content p,
.legal-content li {
    font-size: clamp(1rem, 2.4vw, 1.18rem);
    line-height: 1.65;
    color: var(--muted);
}

.legal-content ul {
    margin: 12px 0 24px;
    padding-left: 1.35rem;
}

.legal-content a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.legal-updated {
    margin: 0 0 34px;
    color: var(--muted);
    font-weight: 700;
}

.header-links a.active,
.footer-links a.active {
    text-decoration: underline;
    text-underline-offset: 5px;
}

@media (max-width: 860px) {
    .text-page .site-header {
        position: static;
    }

    .brand-link {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .header-links {
        width: 100%;
    }

    .header-links a {
        max-width: 100%;
    }

    .legal-page {
        padding-top: 44px;
        padding-bottom: 52px;
    }
}

@media (max-width: 560px) {
    .header-links {
        gap: 10px;
    }

    .header-links a {
        padding: 9px 12px;
        font-size: 0.95rem;
    }

    .footer-brand {
        font-size: clamp(1.7rem, 9vw, 2.5rem);
    }
}

/* Final header nav layout */
.text-page .site-header {
    position: static;
    background: #ffffff;
    border-bottom: 1px solid rgba(7, 31, 61, 0.10);
    padding: 24px clamp(22px, 5vw, 80px);
}

.text-page .header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.text-page .header-links {
    width: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
    flex-wrap: wrap;
}

.text-page .header-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 10px 22px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(7, 31, 61, 0.10);
    box-shadow: 0 10px 26px rgba(7, 31, 61, 0.08);

    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

/* Final override: nav icons */
.site-header nav a img,
.site-header .header-links a img,
.site-header .header-icon-links .nav-pill img,
.site-header .site-nav a img,
.nav-pill img,
.nav-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;

    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    display: block;
}

.text-page .header-links a span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}