@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

: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;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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;
}

a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--primary-active); }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.top-nav {
    background: var(--canvas);
    height: 64px;
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    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 ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--rounded-pill);
    transition: background 0.15s, color 0.15s;
}
.nav-menu a:hover {
    background: var(--surface-card);
    color: var(--ink);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: 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-radius: var(--rounded-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: 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-radius: var(--rounded-md);
    text-decoration: none;
    border: 1px solid var(--hairline);
    cursor: pointer;
    transition: background 0.15s;
}
.btn-secondary:hover { background: var(--surface-card); }

.badge-pill {
    display: inline-block;
    background: var(--surface-card);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--rounded-pill);
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

h1, .display-xl {
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--ink);
}
h2, .display-lg {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--ink);
}
h3, .display-md {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--ink);
}
h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 12px;
}

.hero-band {
    background: var(--canvas);
    padding: 96px 0;
}
.hero-inner {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: center;
}
.hero-content { max-width: 640px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--body-strong);
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img-card {
    background: var(--surface-soft);
    border-radius: var(--rounded-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.hero-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    border-radius: var(--rounded-xl);
    padding: 32px;
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 14px;
    line-height: 1.55;
}
.feature-card-pink  { background: var(--brand-pink);    color: var(--on-primary); }
.feature-card-teal  { background: var(--brand-teal);    color: var(--on-dark); }
.feature-card-lavender { background: var(--brand-lavender); color: var(--ink); }
.feature-card-peach { background: var(--brand-peach);   color: var(--ink); }
.feature-card-ochre { background: var(--brand-ochre);   color: var(--ink); }
.feature-card-cream { background: var(--surface-card);  color: var(--ink); }

.feature-card-pink h3, .feature-card-teal h3 { color: var(--on-primary); }
.feature-card-lavender h3, .feature-card-peach h3,
.feature-card-ochre h3, .feature-card-cream h3 { color: var(--ink); }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s;
}
.article-card:hover { border-color: var(--muted); }
.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;
    line-height: 1.4;
    letter-spacing: 0;
    color: var(--ink);
    margin-bottom: 8px;
}
.article-card-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}
.article-card-meta {
    padding: 12px 24px;
    border-top: 1px solid var(--hairline-soft);
    font-size: 13px;
    color: var(--muted-soft);
}

.cta-band {
    background: var(--surface-soft);
    border-radius: var(--rounded-xl);
    padding: 80px;
    text-align: center;
    margin: 0 24px;
}
.cta-band h2 { margin-bottom: 16px; font-size: 40px; }
.cta-band p { font-size: 18px; color: var(--body); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

.contact-form-section { background: var(--surface-soft); padding: 96px 0; }
.contact-form-wrap {
    max-width: 560px;
    margin: 0 auto;
}
.contact-form-wrap h2 { font-size: 40px; margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 16px; color: var(--muted); margin-bottom: 32px; }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--canvas);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    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;
}
.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: var(--success);
    color: #fff;
    padding: 12px 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
}

.page-hero {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}
.page-hero .badge-pill { margin-bottom: 16px; }
.page-hero h1 { font-size: 48px; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--body-strong); max-width: 680px; }

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}
.article-body { min-width: 0; }
.article-body h2 { font-size: 32px; margin: 48px 0 16px; }
.article-body h3 { font-size: 24px; margin: 32px 0 12px; letter-spacing: -0.3px; }
.article-body p { margin-bottom: 20px; font-size: 16px; line-height: 1.7; }
.article-body ul, .article-body ol { padding-left: 20px; margin-bottom: 20px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; font-size: 16px; line-height: 1.7; }
.article-body img {
    width: 100%;
    border-radius: var(--rounded-lg);
    margin: 32px 0;
}
.article-body .article-updated {
    font-size: 13px;
    color: var(--muted-soft);
    margin-bottom: 32px;
}
.article-body a { color: var(--ink); }

.article-sidebar { position: sticky; top: 80px; }
.sidebar-card {
    background: var(--surface-card);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.sidebar-card h4 { margin-bottom: 12px; }
.sidebar-card ul { list-style: none; }
.sidebar-card ul li { margin-bottom: 8px; }
.sidebar-card ul li a { font-size: 14px; color: var(--ink); }

.info-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.info-table th, .info-table td {
    padding: 10px 14px;
    border: 1px solid var(--hairline);
    text-align: left;
}
.info-table th { background: var(--surface-strong); font-weight: 600; color: var(--ink); }
.info-table tr:nth-child(even) td { background: var(--surface-soft); }

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

.page-content { padding: 64px 0 96px; }
.page-content h2 { font-size: 28px; margin: 40px 0 12px; letter-spacing: -0.5px; }
.page-content h3 { font-size: 20px; margin: 24px 0 8px; }
.page-content p { margin-bottom: 16px; font-size: 16px; line-height: 1.7; }
.page-content ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.page-content ul li { margin-bottom: 6px; line-height: 1.7; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin: 48px 0;
}
.about-grid img { border-radius: var(--rounded-xl); }

.footer {
    background: var(--surface-soft);
    padding: 80px 0 40px;
    border-top: 1px solid var(--hairline);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}
.footer-brand span { color: var(--brand-coral); }
.footer p { font-size: 14px; color: var(--body); line-height: 1.55; margin-bottom: 8px; }
.footer-updated { font-size: 13px; color: var(--muted-soft); }
.footer h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer ul li a:hover { color: var(--ink); }
.footer address p { font-size: 14px; color: var(--body); margin-bottom: 6px; }
.footer address a { color: var(--muted); text-decoration: none; }
.footer address a:hover { color: var(--ink); }
.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p, .footer-bottom .footer-links {
    font-size: 13px;
    color: var(--muted-soft);
}
.footer-links a { color: var(--muted-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-dark);
    color: var(--on-dark);
    border-radius: var(--rounded-lg);
    padding: 20px 28px;
    max-width: 600px;
    width: calc(100% - 48px);
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.cookie-inner p { font-size: 14px; color: var(--on-dark-soft); margin-bottom: 16px; }
.cookie-inner a { color: var(--brand-mint); }
.cookie-btns { display: flex; gap: 10px; }

.disclaimer {
    background: var(--surface-strong);
    border-left: 4px solid var(--brand-ochre);
    border-radius: var(--rounded-sm);
    padding: 16px 20px;
    margin: 32px 0;
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    h1, .display-xl { font-size: 48px; }
    h2, .display-lg { font-size: 36px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-img-card { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1, .display-xl { font-size: 36px; }
    h2, .display-lg { font-size: 28px; }
    .section { padding: 64px 0; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 12px 0;
    }
    .nav-menu.open { display: block; }
    .nav-menu ul { flex-direction: column; gap: 0; }
    .nav-menu a { display: block; padding: 10px 24px; border-radius: 0; }
    .features-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .cta-band { padding: 48px 24px; margin: 0; border-radius: var(--rounded-lg); }
    .cta-band h2 { font-size: 28px; }
    .page-hero h1 { font-size: 32px; }
}
