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

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

:root {
    --primary: #0a0a0a;
    --primary-active: #1f1f1f;
    --primary-disabled: #e5e5e5;
    --ink: #0a0a0a;
    --body: #3a3a3a;
    --body-strong: #1a1a1a;
    --muted: #6a6a6a;
    --muted-soft: #9a9a9a;
    --hairline: #e5e5e5;
    --hairline-soft: #f0f0f0;
    --canvas: #fffaf0;
    --surface-soft: #faf5e8;
    --surface-card: #f5f0e0;
    --surface-strong: #ebe6d6;
    --surface-dark: #0a1a1a;
    --on-primary: #ffffff;
    --on-dark: #ffffff;
    --on-dark-soft: #a0a0a0;
    --brand-pink: #ff4d8b;
    --brand-teal: #1a3a3a;
    --brand-lavender: #b8a4ed;
    --brand-peach: #ffb084;
    --brand-ochre: #e8b94a;
    --brand-mint: #a4d4c5;
    --brand-coral: #ff6b5a;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    --rounded-xs: 6px;
    --rounded-sm: 8px;
    --rounded-md: 12px;
    --rounded-lg: 16px;
    --rounded-xl: 24px;
    --rounded-pill: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--body);
    background-color: var(--canvas);
}

a {
    color: var(--ink);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-sm {
    padding: 48px 0;
}

/* NAV */
.top-nav {
    background-color: var(--canvas);
    height: 64px;
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
    text-decoration: none;
}

.nav-logo span {
    color: var(--brand-teal);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
    text-decoration: none;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background-color: var(--ink);
    display: block;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
    z-index: 99;
}

.nav-mobile.open {
    display: block;
}

.nav-mobile ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-mobile a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

/* HERO */
.hero-band {
    background-color: var(--canvas);
    padding: 96px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
}

.hero-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    display: block;
}

.hero-band h1 {
    font-size: 72px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2.5px;
    color: var(--ink);
    margin-bottom: 24px;
}

.hero-band p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--body);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-illustration-card {
    background-color: var(--surface-soft);
    border-radius: var(--rounded-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hero-illustration-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BUTTONS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 20px;
    height: 44px;
    border-radius: var(--rounded-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-active);
    text-decoration: none;
    color: var(--on-primary);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--canvas);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 20px;
    height: 44px;
    border-radius: var(--rounded-md);
    text-decoration: none;
    border: 1px solid var(--hairline);
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: var(--surface-card);
    text-decoration: none;
}

/* BADGE */
.badge-pill {
    display: inline-block;
    background-color: var(--surface-card);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--rounded-pill);
}

/* FEATURE CARDS */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    border-radius: var(--rounded-xl);
    padding: 32px;
}

.feature-card-pink { background-color: var(--brand-pink); color: var(--on-primary); }
.feature-card-teal { background-color: var(--brand-teal); color: var(--on-dark); }
.feature-card-lavender { background-color: var(--brand-lavender); color: var(--ink); }
.feature-card-peach { background-color: var(--brand-peach); color: var(--ink); }
.feature-card-ochre { background-color: var(--brand-ochre); color: var(--ink); }
.feature-card-cream { background-color: var(--surface-card); color: var(--ink); }

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    opacity: 0.85;
}

.feature-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--rounded-md);
    margin-bottom: 20px;
}

/* ARTICLE CARDS */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background-color: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    transition: border-color 0.2s;
}

.article-card:hover {
    border-color: var(--muted-soft);
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-card-body .badge-pill {
    margin-bottom: 12px;
}

.article-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 8px;
}

.article-card-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.article-card-body a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: underline;
}

/* SECTION HEADERS */
.section-header {
    margin-bottom: 48px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
}

/* ARTICLE PAGE */
.article-page {
    padding: 64px 0 96px;
}

.article-header {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: left;
}

.article-header h1 {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--ink);
    margin: 16px 0 20px;
}

.article-header .article-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-hero-img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 48px;
    height: 420px;
    object-fit: cover;
    border-radius: var(--rounded-xl);
    display: block;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: 48px 0 16px;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 0 0 20px 20px;
}

.article-body li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 8px;
}

.article-body a {
    color: var(--ink);
    text-decoration: underline;
}

.article-body blockquote {
    border-left: 3px solid var(--brand-ochre);
    padding: 16px 24px;
    background-color: var(--surface-soft);
    border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
    margin: 32px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--body-strong);
    line-height: 1.5;
}

.article-body .info-box {
    background-color: var(--surface-card);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 32px 0;
}

.article-body .info-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.article-related {
    max-width: 760px;
    margin: 64px auto 0;
    border-top: 1px solid var(--hairline);
    padding-top: 48px;
}

.article-related h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 24px;
}

.related-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: underline;
}

/* CTA BAND */
.cta-band-illustrated {
    background-color: var(--surface-soft);
    border-radius: var(--rounded-xl);
    padding: 80px;
    text-align: center;
    margin: 0 24px;
}

.cta-band-illustrated h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 16px;
}

.cta-band-illustrated p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 32px;
}

/* FORM */
.contact-form {
    max-width: 560px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--body-strong);
}

.form-group input,
.form-group textarea {
    background-color: var(--canvas);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 12px 16px;
    height: 44px;
    border-radius: var(--rounded-md);
    border: 1px solid var(--hairline);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-success {
    display: none;
    background-color: var(--surface-card);
    border-radius: var(--rounded-md);
    padding: 16px;
    text-align: center;
    font-weight: 500;
    color: var(--ink);
}

/* FOOTER */
footer {
    background-color: var(--surface-soft);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 12px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--body);
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--ink);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted-soft);
}

.footer-bottom a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: underline;
}

/* ABOUT / POLICY PAGES */
.page-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 0 96px;
}

.page-content h1 {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--ink);
    margin-bottom: 8px;
}

.page-content .page-updated {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 48px;
    display: block;
}

.page-content h2 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: 48px 0 16px;
}

.page-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 12px;
}

.page-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 16px;
}

.page-content ul {
    margin: 0 0 16px 20px;
}

.page-content ul li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 6px;
}

.page-content a {
    color: var(--ink);
    text-decoration: underline;
}

.contact-details {
    background-color: var(--surface-card);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 32px 0;
}

.contact-details p {
    margin-bottom: 6px;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--surface-dark);
    color: var(--on-dark);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    z-index: 1000;
}

.cookie-banner p {
    font-size: 14px;
    color: var(--on-dark-soft);
    max-width: 680px;
    line-height: 1.5;
}

.cookie-banner p a {
    color: var(--on-dark);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-accept {
    background-color: var(--on-primary);
    color: var(--ink);
    border: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--rounded-md);
    cursor: pointer;
}

.cookie-reject {
    background-color: transparent;
    color: var(--on-dark-soft);
    border: 1px solid #333;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: var(--rounded-md);
    cursor: pointer;
}

/* BREADCRUMB */
.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--ink);
}

.breadcrumb span {
    color: var(--hairline);
}

/* TWO COL LAYOUT */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.two-col-img {
    border-radius: var(--rounded-xl);
    overflow: hidden;
    height: 400px;
}

.two-col-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.two-col-text h2 {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 16px;
}

.two-col-text p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .feature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-band h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

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

    .hero-illustration-card {
        display: none;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-band-illustrated {
        padding: 48px 24px;
        margin: 0 12px;
    }

    .cta-band-illustrated h2 {
        font-size: 28px;
    }

    .article-header h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .article-hero-img {
        height: 240px;
    }

    .page-content h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
