*, *::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;
    --surface-dark-elevated: #1a2a2a;
    --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;

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

    --sp-xxs: 4px;
    --sp-xs: 8px;
    --sp-sm: 12px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 32px;
    --sp-xxl: 48px;
    --sp-section: 96px;

    --container: 1280px;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--body);
    background-color: var(--canvas);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
address { font-style: normal; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

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

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--sp-xl);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--on-primary);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
    margin-left: auto;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.nav-link:hover { color: var(--muted); text-decoration: none; }

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    padding: var(--sp-xs) 0;
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    z-index: 50;
}

.nav-dropdown-menu li a {
    display: block;
    padding: var(--sp-xs) var(--sp-md);
    font-size: 14px;
    color: var(--ink);
    transition: background 0.1s;
}

.nav-dropdown-menu li a:hover {
    background: var(--surface-soft);
    text-decoration: none;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-xs);
    margin-left: auto;
}

.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;
    height: 44px;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--on-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
}

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

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

.btn-secondary:hover { border-color: var(--primary); text-decoration: none; }

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--surface-card);
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--r-pill);
}

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

.hero-band {
    padding: var(--sp-section) 0;
    background: var(--canvas);
}

.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: var(--sp-xxl);
    align-items: center;
}

.hero-content { display: flex; flex-direction: column; gap: var(--sp-lg); }

.hero-badge { margin-bottom: var(--sp-xs); }

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

.hero-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 520px;
}

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

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

.articles-section {
    padding: var(--sp-section) 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
    margin-bottom: var(--sp-xxl);
}

.section-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
}

.section-body {
    font-size: 16px;
    line-height: 1.55;
    color: var(--body);
    max-width: 600px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}

.feature-card {
    border-radius: var(--r-xl);
    padding: var(--sp-xl);
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.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-img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: var(--sp-xs);
}

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

.feature-card-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.75;
}

.feature-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.feature-card-body {
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.85;
    flex: 1;
}

.feature-card-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    opacity: 0.9;
}

.feature-card-link:hover { opacity: 1; }

.topics-section {
    padding: var(--sp-section) 0;
    background: var(--surface-soft);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-lg);
}

.topic-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: var(--sp-lg);
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.topic-icon {
    width: 44px;
    height: 44px;
    background: var(--surface-card);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.topic-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.topic-body {
    font-size: 14px;
    color: var(--body);
    line-height: 1.55;
    flex: 1;
}

.contact-section {
    padding: var(--sp-section) 0;
}

.contact-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xxl);
    align-items: start;
}

.contact-intro { display: flex; flex-direction: column; gap: var(--sp-md); }

.contact-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--ink);
}

.contact-body { font-size: 16px; color: var(--body); line-height: 1.55; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.form-group { display: flex; flex-direction: column; gap: var(--sp-xs); }

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.form-input {
    height: 44px;
    padding: 12px 16px;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
}

.form-input:focus { border-color: var(--primary); }
.form-input.textarea { height: auto; min-height: 100px; resize: vertical; padding-top: 12px; }

.form-submit { margin-top: var(--sp-xs); align-self: flex-start; }

.form-success {
    display: none;
    padding: var(--sp-md);
    background: var(--surface-card);
    border-radius: var(--r-md);
    color: var(--ink);
    font-size: 14px;
}

.cta-band {
    padding: var(--sp-section) 0;
    background: var(--surface-soft);
}

.cta-band-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px var(--sp-xl);
    background: var(--surface-strong);
    border-radius: var(--r-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-lg);
}

.cta-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -1px;
    color: var(--ink);
    max-width: 600px;
}

.cta-body { font-size: 18px; color: var(--body); max-width: 500px; }

.footer {
    background: var(--surface-soft);
    padding: 80px 0 var(--sp-xxl);
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-xxl);
    margin-bottom: var(--sp-xxl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    text-decoration: none;
    margin-bottom: var(--sp-md);
}

.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: var(--sp-md); }

.footer-contact { font-size: 13px; color: var(--muted); line-height: 1.8; }
.footer-contact a { color: var(--muted); text-decoration: underline; }
.footer-contact a:hover { color: var(--ink); }

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

.footer-links { display: flex; flex-direction: column; gap: var(--sp-xs); }
.footer-links a { font-size: 14px; color: var(--body); }
.footer-links a:hover { color: var(--ink); text-decoration: none; }

.footer-body { font-size: 14px; color: var(--body); margin-bottom: var(--sp-md); }

.footer-cta-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: underline;
}

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

.footer-copy, .footer-updated { font-size: 13px; color: var(--muted-soft); }

.cookie-banner {
    position: fixed;
    bottom: var(--sp-xl);
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-dark);
    color: var(--on-dark);
    border-radius: var(--r-lg);
    padding: var(--sp-lg) var(--sp-xl);
    display: none;
    z-index: 9999;
    max-width: 560px;
    width: calc(100% - 48px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.cookie-banner.visible { display: block; }

.cookie-inner { display: flex; flex-direction: column; gap: var(--sp-md); }
.cookie-inner p { font-size: 14px; line-height: 1.55; }
.cookie-inner a { color: var(--brand-ochre); text-decoration: underline; }

.cookie-actions { display: flex; gap: var(--sp-sm); }

.cookie-actions .btn-primary {
    background: var(--on-primary);
    color: var(--primary);
}

.cookie-actions .btn-primary:hover { background: var(--surface-card); }

.cookie-actions .btn-secondary {
    background: transparent;
    color: var(--on-dark-soft);
    border-color: rgba(255,255,255,0.2);
}

.cookie-actions .btn-secondary:hover { border-color: rgba(255,255,255,0.5); }

.page-hero {
    padding: var(--sp-section) 0 var(--sp-xxl);
    background: var(--canvas);
}

.page-hero .container { max-width: 800px; margin: 0 auto; padding: 0 var(--sp-xl); }

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

.page-lead {
    font-size: 18px;
    line-height: 1.55;
    color: var(--body-strong);
}

.page-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
    flex-wrap: wrap;
}

.page-meta-date { font-size: 13px; color: var(--muted); }

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--sp-xxl) var(--sp-xl) var(--sp-section);
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: var(--sp-xxl) 0 var(--sp-md);
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
}

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

.article-body ul, .article-body ol {
    list-style: disc;
    padding-left: var(--sp-xl);
    margin-bottom: var(--sp-md);
}

.article-body ol { list-style: decimal; }

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

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

.article-img-wrap {
    margin: var(--sp-xxl) 0;
    border-radius: var(--r-lg);
    overflow: hidden;
}

.article-img-wrap img { width: 100%; height: auto; }
.article-img-caption { font-size: 13px; color: var(--muted-soft); margin-top: var(--sp-xs); text-align: center; }

.article-links {
    padding: var(--sp-section) 0;
    border-top: 1px solid var(--hairline);
    margin-top: var(--sp-section);
}

.article-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg);
}

.article-link-card {
    background: var(--surface-card);
    border-radius: var(--r-lg);
    padding: var(--sp-lg);
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
}

.article-link-card span { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.article-link-card a { font-size: 16px; font-weight: 600; color: var(--ink); }
.article-link-card a:hover { text-decoration: underline; }

.prose-section {
    padding: var(--sp-section) 0;
}

.prose-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

.prose-container h1 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -2px;
    color: var(--ink);
    margin-bottom: var(--sp-lg);
}

.prose-container h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: var(--sp-xxl) 0 var(--sp-md);
}

.prose-container h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
}

.prose-container p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--sp-md);
}

.prose-container ul, .prose-container ol {
    list-style: disc;
    padding-left: var(--sp-xl);
    margin-bottom: var(--sp-md);
}

.prose-container ol { list-style: decimal; }

.prose-container li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--sp-xs);
}

.prose-container a { color: var(--ink); text-decoration: underline; }
.prose-container a:hover { color: var(--muted); }

.prose-updated { font-size: 13px; color: var(--muted-soft); margin-bottom: var(--sp-xxl); }

.disclaimer {
    background: var(--surface-card);
    border-radius: var(--r-md);
    padding: var(--sp-lg);
    margin: var(--sp-xxl) 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
    .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --sp-section: 64px; }

    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: var(--sp-md) var(--sp-xl);
        gap: var(--sp-sm);
    }
    .nav-menu.open { display: flex; }
    .nav-dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        padding-left: var(--sp-md);
        background: transparent;
        display: block;
    }

    .hero-inner { grid-template-columns: 1fr; }
    .hero-illustration { display: none; }
    .hero-h1 { font-size: 40px; letter-spacing: -1px; }

    .cards-grid { grid-template-columns: 1fr; }
    .topics-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .article-links-grid { grid-template-columns: 1fr; }

    .page-h1 { font-size: 36px; letter-spacing: -0.5px; }
    .section-title { font-size: 28px; }
    .cta-title { font-size: 28px; }

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

    .container { padding: 0 var(--sp-md); }
    .hero-inner { padding: 0 var(--sp-md); }
    .contact-inner { padding: 0 var(--sp-md); }
    .article-body { padding: var(--sp-xxl) var(--sp-md) var(--sp-section); }
    .prose-container { padding: 0 var(--sp-md); }
}
