@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;
    --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 {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--canvas);
    color: var(--body);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--ink);
    text-decoration: underline;
}

a:hover {
    opacity: 0.75;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* TOP NAV */
.top-nav {
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-logo span {
    color: var(--brand-coral);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--rounded-pill);
    transition: background-color 0.15s, color 0.15s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--surface-card);
    color: var(--ink);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 20px;
    height: 44px;
    border: none;
    border-radius: var(--rounded-md);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.15s;
}

.btn-primary:hover {
    background-color: var(--primary-active);
    color: var(--on-primary);
    opacity: 1;
}

.btn-secondary {
    background-color: var(--canvas);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 20px;
    height: 44px;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: border-color 0.15s;
}

.btn-secondary:hover {
    border-color: var(--ink);
    opacity: 1;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* HERO BAND */
.hero-band {
    background-color: var(--canvas);
    padding: 96px 0;
}

.hero-band .container {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: center;
}

.hero-content {}

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    background-color: var(--surface-card);
    padding: 4px 12px;
    border-radius: var(--rounded-pill);
    margin-bottom: 24px;
}

.hero-h1 {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--ink);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--body);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-illustration {
    background-color: var(--surface-soft);
    border-radius: var(--rounded-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 32px;
}

.hero-illustration img {
    max-height: 280px;
    width: auto;
    margin: 0 auto;
}

/* SECTION LAYOUT */
.section {
    padding: 96px 0;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 48px;
}

/* FEATURE CARDS GRID */
.feature-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-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.85;
}

.feature-card a {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
}

/* ARTICLES GRID */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.article-card {
    background-color: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--surface-strong);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-card-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-bottom: 12px;
}

.article-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.55;
    flex: 1;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
}

.article-card-date {
    font-size: 13px;
    color: var(--muted-soft);
}

.article-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.article-card-link:hover {
    text-decoration: underline;
    opacity: 1;
}

/* ARTICLE PAGE */
.article-page {
    padding: 64px 0 96px;
}

.article-page .container {
    max-width: 800px;
}

.article-header {
    margin-bottom: 48px;
}

.article-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    background-color: var(--surface-card);
    padding: 4px 12px;
    border-radius: var(--rounded-pill);
    margin-bottom: 20px;
    text-decoration: none;
}

.article-h1 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--muted-soft);
    margin-bottom: 32px;
}

.article-hero-img {
    width: 100%;
    border-radius: var(--rounded-lg);
    margin-bottom: 48px;
    background-color: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    min-height: 280px;
}

.article-hero-img img {
    max-height: 240px;
    width: auto;
    margin: 0 auto;
}

.article-body h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-top: 36px;
    margin-bottom: 12px;
}

.article-body p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--body);
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-body li {
    font-size: 16px;
    line-height: 1.55;
    color: var(--body);
    margin-bottom: 8px;
}

.article-body a {
    color: var(--ink);
    text-decoration: underline;
}

.article-body strong {
    font-weight: 600;
    color: var(--body-strong);
}

.article-callout {
    background-color: var(--surface-card);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 32px 0;
    border-left: 4px solid var(--brand-ochre);
}

.article-callout p {
    margin-bottom: 0;
}

/* CONTACT FORM */
.contact-section {
    background-color: var(--surface-soft);
    border-radius: var(--rounded-xl);
    padding: 48px;
    margin-top: 64px;
}

.contact-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin-bottom: 8px;
}

.contact-section p {
    color: var(--muted);
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.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;
    line-height: 1.55;
    padding: 12px 16px;
    height: 44px;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
}

.form-group textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-submit {
    margin-top: 16px;
}

.form-success {
    display: none;
    background-color: #dcfce7;
    color: #15803d;
    padding: 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
}

/* CTA BAND */
.cta-band {
    background-color: var(--surface-soft);
    border-radius: var(--rounded-xl);
    padding: 80px;
    text-align: center;
    margin: 64px 0;
}

.cta-band h2 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 16px;
}

.cta-band p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 32px;
}

/* RELATED ARTICLES */
.related-section {
    padding: 64px 0;
    border-top: 1px solid var(--hairline);
}

.related-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin-bottom: 32px;
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted-soft);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--ink);
    opacity: 1;
}

.breadcrumb-sep {
    color: var(--hairline);
}

/* FOOTER */
.site-footer {
    background-color: var(--surface-soft);
    padding: 80px 0 40px;
    border-top: 1px solid var(--hairline);
    margin-top: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.3px;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--brand-coral);
}

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-contact p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.footer-contact a {
    color: var(--muted);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--ink);
    opacity: 1;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted-soft);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--ink);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted-soft);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--muted-soft);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--ink);
    opacity: 1;
}

/* PAGE INNER */
.page-inner {
    padding: 64px 0 96px;
}

.page-inner .container {
    max-width: 800px;
}

.page-inner h1 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 8px;
}

.page-inner .updated {
    font-size: 13px;
    color: var(--muted-soft);
    margin-bottom: 40px;
}

.page-inner h2 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-top: 40px;
    margin-bottom: 12px;
}

.page-inner p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--body);
    margin-bottom: 16px;
}

.page-inner ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-inner li {
    font-size: 16px;
    line-height: 1.55;
    color: var(--body);
    margin-bottom: 8px;
}

.page-inner a {
    color: var(--ink);
}

/* ABOUT */
.about-hero {
    background-color: var(--surface-soft);
    border-radius: var(--rounded-xl);
    padding: 64px;
    margin-bottom: 64px;
}

.about-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 18px;
    color: var(--body);
    max-width: 600px;
    line-height: 1.55;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}

.stat-card {
    background-color: var(--surface-card);
    border-radius: var(--rounded-lg);
    padding: 32px;
    text-align: center;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--muted);
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--surface-dark);
    color: var(--on-dark);
    border-radius: var(--rounded-xl);
    padding: 24px 32px;
    max-width: 600px;
    width: calc(100% - 48px);
    z-index: 999;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.8);
    flex: 1;
}

#cookie-banner a {
    color: var(--on-dark);
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: var(--on-primary);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: var(--rounded-md);
    cursor: pointer;
    white-space: nowrap;
}

.btn-cookie-reject {
    background: none;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 500;
    padding: 4px 0;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero-band .container { grid-template-columns: 1fr; }
    .hero-h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-illustration { display: none; }

    .section-title { font-size: 32px; }
    .feature-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }

    .nav-menu { display: none; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 16px 24px;
        gap: 4px;
    }
    .hamburger { display: flex; }
    .nav-right .btn-primary { display: none; }

    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
    .about-stats { grid-template-columns: 1fr; }

    .cta-band { padding: 48px 24px; }
    .cta-band h2 { font-size: 28px; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-section { padding: 32px 24px; }
    .about-hero { padding: 40px 24px; }

    #cookie-banner { flex-direction: column; bottom: 0; border-radius: var(--rounded-xl) var(--rounded-xl) 0 0; width: 100%; }
    .cookie-actions { flex-direction: row; }
}
