@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;
    --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;
}

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; }

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

/* TOP NAV */
.top-nav { background: 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); text-decoration: none; letter-spacing: -0.3px; }
.nav-logo span { color: var(--brand-teal); }
.nav-menu { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-menu a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color 0.2s; }
.nav-menu a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.3s; }
.nav-mobile-menu { display: none; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu ul { list-style: none; padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.nav-mobile-menu a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }

/* BUTTONS */
.btn-primary { 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: 12px; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background 0.2s; }
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }
.btn-secondary { 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: 12px; border: 1px solid var(--hairline); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: border-color 0.2s; }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-on-color { 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: 12px; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.btn-on-color:hover { background: var(--surface-soft); color: var(--ink); }

/* HERO */
.hero-band { background: var(--canvas); padding: 96px 0; }
.hero-inner { 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; }
.hero-band h1 { font-family: 'Inter', sans-serif; font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -2.5px; color: var(--ink); margin-bottom: 24px; }
.hero-band .hero-sub { font-size: 18px; font-weight: 400; line-height: 1.55; color: var(--body); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-illustration-card { background: var(--surface-soft); border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
.hero-illustration-card img { width: 100%; height: 100%; object-fit: cover; }

/* SECTIONS */
.section { padding: 96px 0; }
.section-label { 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(--body); max-width: 560px; line-height: 1.55; margin-bottom: 48px; }

/* FEATURE CARDS */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { border-radius: 24px; padding: 32px; }
.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; }
.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 .card-icon { font-size: 28px; margin-bottom: 16px; }

/* ARTICLES GRID */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: 16px; overflow: hidden; transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: 0 4px 24px rgba(10,10,10,0.08); }
.article-card-img { aspect-ratio: 16/9; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.article-card:hover .article-card-img img { transform: scale(1.03); }
.article-card-body { padding: 24px; }
.article-card-tag { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.article-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); margin-bottom: 10px; }
.article-card h3 a { text-decoration: none; color: var(--ink); }
.article-card h3 a:hover { text-decoration: underline; }
.article-card p { font-size: 14px; color: var(--body); line-height: 1.55; }
.article-card-meta { font-size: 13px; color: var(--muted-soft); margin-top: 16px; font-weight: 500; }

/* CONTENT BAND */
.content-band { background: var(--surface-soft); padding: 96px 0; }
.content-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.content-two-col img { border-radius: 16px; }

/* CTA BAND */
.cta-band { background: var(--surface-soft); border-radius: 24px; padding: 80px; margin: 0 24px 96px; text-align: center; }
.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: 16px; color: var(--body); margin-bottom: 32px; }

/* CONTACT FORM */
.form-section { background: var(--surface-card); border-radius: 24px; padding: 48px; max-width: 600px; margin: 0 auto; }
.form-section h2 { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 8px; }
.form-section p { font-size: 15px; color: var(--body); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--body-strong); 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; border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 16px; height: 44px; outline: none; transition: border-color 0.2s; }
.form-group textarea { height: auto; min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--ink); }
.form-success { display: none; background: var(--surface-card); border: 1px solid var(--success); border-radius: 12px; padding: 16px; color: var(--success); font-size: 15px; margin-top: 16px; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--surface-card); border-radius: 16px; padding: 24px; }
.testimonial-card blockquote { font-size: 15px; line-height: 1.6; color: var(--body); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 9999px; background: var(--surface-strong); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; color: var(--muted); flex-shrink: 0; }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* ARTICLE PAGE */
.article-header { background: var(--canvas); padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); }
.article-header .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.article-header .breadcrumb a { color: var(--muted); text-decoration: none; }
.article-header .breadcrumb a:hover { color: var(--ink); }
.article-header h1 { font-family: 'Inter', sans-serif; font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 20px; max-width: 800px; }
.article-header .article-meta { font-size: 14px; color: var(--muted); display: flex; gap: 20px; flex-wrap: wrap; }
.article-hero-img { width: 100%; border-radius: 16px; overflow: hidden; margin: 48px 0; aspect-ratio: 16/6; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 760px; }
.article-body h2 { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 48px 0 16px; line-height: 1.15; }
.article-body h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 32px 0 12px; line-height: 1.3; }
.article-body p { font-size: 16px; color: var(--body); line-height: 1.65; margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { font-size: 16px; color: var(--body); line-height: 1.65; margin-bottom: 8px; }
.article-body a { color: var(--ink); }
.article-body strong { font-weight: 600; color: var(--body-strong); }
.article-info-box { background: var(--surface-card); border-radius: 16px; padding: 24px 28px; margin: 32px 0; border-left: 4px solid var(--brand-ochre); }
.article-info-box p { margin: 0; font-size: 15px; color: var(--body-strong); }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; padding: 48px 0 96px; align-items: start; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-card { background: var(--surface-card); border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.sidebar-card h4 { font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li { margin-bottom: 12px; }
.sidebar-card ul li a { font-size: 14px; color: var(--ink); text-decoration: none; line-height: 1.4; }
.sidebar-card ul li a:hover { text-decoration: underline; }
.sidebar-toc-link { font-size: 14px; color: var(--muted); text-decoration: none; display: block; padding: 6px 0; border-bottom: 1px solid var(--hairline-soft); }
.sidebar-toc-link:hover { color: var(--ink); }
.sidebar-toc-link:last-child { border-bottom: none; }

/* PAGES */
.page-header { padding: 80px 0 48px; border-bottom: 1px solid var(--hairline); }
.page-header h1 { font-family: 'Inter', sans-serif; font-size: 56px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 16px; }
.page-header p { font-size: 18px; color: var(--body); max-width: 560px; }
.page-content { padding: 64px 0 96px; max-width: 800px; }
.page-content h2 { font-size: 28px; font-weight: 600; color: var(--ink); margin: 40px 0 14px; letter-spacing: -0.3px; }
.page-content h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.page-content p { font-size: 16px; color: var(--body); line-height: 1.65; margin-bottom: 18px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 18px; }
.page-content li { font-size: 16px; color: var(--body); line-height: 1.65; margin-bottom: 8px; }
.page-content a { color: var(--ink); }
.page-content strong { font-weight: 600; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.about-grid img { border-radius: 16px; }
.contact-info { background: var(--surface-card); border-radius: 16px; padding: 32px; margin-bottom: 32px; }
.contact-info p { margin-bottom: 10px; font-size: 15px; }
.contact-info strong { color: var(--ink); font-weight: 600; }

/* FOOTER */
.footer { background: var(--surface-soft); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { display: inline-block; margin-bottom: 16px; font-size: 18px; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 260px; }
.footer-col h5 { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); 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(--body); text-decoration: none; }
.footer-col ul li 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; 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: none; }
.footer-bottom a:hover { color: var(--ink); }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: calc(100% - 48px); max-width: 760px; background: var(--surface-dark); color: var(--on-dark); border-radius: 16px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 999; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.cookie-banner p { font-size: 14px; color: var(--on-dark-soft); line-height: 1.5; }
.cookie-banner p a { color: var(--on-dark); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--canvas); color: var(--ink); border: none; border-radius: 8px; padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; }
.cookie-reject { background: transparent; color: var(--on-dark-soft); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 10px 18px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: 'Inter', sans-serif; }

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

/* DIVIDER */
.divider { height: 1px; background: var(--hairline); margin: 0; }

/* RELATED ARTICLES */
.related-articles { padding: 64px 0 96px; background: var(--surface-soft); }

@media (max-width: 1024px) {
    .hero-band h1 { font-size: 52px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-band h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-illustration-card { display: none; }
    .section-title { font-size: 28px; }
    .feature-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .content-two-col { grid-template-columns: 1fr; }
    .cta-band { padding: 48px 24px; margin: 0 0 64px; border-radius: 0; }
    .cta-band h2 { font-size: 28px; }
    .article-header h1 { font-size: 32px; letter-spacing: -0.5px; }
    .page-header h1 { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .nav-menu { display: none; }
    .nav-cta { display: none; }
    .nav-hamburger { display: block; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
}
