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

:root {
    --primary: #181d26;
    --primary-active: #0d1218;
    --canvas: #ffffff;
    --surface-soft: #f8fafc;
    --surface-strong: #e0e2e6;
    --surface-dark: #181d26;
    --hairline: #dddddd;
    --ink: #181d26;
    --body: #333840;
    --muted: #41454d;
    --on-primary: #ffffff;
    --link: #1b61c9;
    --signature-coral: #aa2d00;
    --signature-forest: #0a2e0e;
    --signature-cream: #f5e9d4;
    --signature-peach: #fcab79;
    --signature-mint: #a8d8c4;
    --rounded-xs: 2px;
    --rounded-sm: 6px;
    --rounded-md: 10px;
    --rounded-lg: 12px;
    --section: 96px;
}

html { font-size: 16px; scroll-behavior: smooth; }

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

a { color: var(--link); 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 48px; }

/* TOP NAV */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    display: flex;
    align-items: center;
}
.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.nav-brand {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.3px;
}
.nav-brand span { color: var(--signature-coral); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--body); font-weight: 400; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { font-size: 14px; font-weight: 500; color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); padding: 8px 20px; }
.nav-cta:hover { text-decoration: none; background: var(--surface-soft); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu { display: none; }

/* HERO */
.hero-band {
    padding: var(--section) 0;
    background: var(--canvas);
}
.hero-inner { max-width: 680px; }
.hero-tag {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-band h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 20px;
}
.hero-band p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: 36px;
    max-width: 560px;
}
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    padding: 16px 24px;
    border-radius: var(--rounded-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-primary:active, .btn-primary:hover { background: var(--primary-active); text-decoration: none; color: var(--on-primary); }
.btn-secondary {
    display: inline-block;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    padding: 16px 24px;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    cursor: pointer;
    text-decoration: none;
    margin-left: 12px;
    transition: background 0.15s;
}
.btn-secondary:hover { background: var(--surface-soft); text-decoration: none; color: var(--ink); }
.btn-secondary-on-dark {
    display: inline-block;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: var(--rounded-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-secondary-on-dark:hover { background: var(--surface-soft); text-decoration: none; color: var(--ink); }

/* SECTION LABELS */
.section-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ARTICLES GRID */
.articles-section { padding: var(--section) 0; background: var(--canvas); }
.articles-section h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 48px;
}
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    border: 1px solid var(--hairline);
    overflow: hidden;
}
.article-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.article-card-body { padding: 16px; }
.article-card-cat {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.article-card-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 10px;
}
.article-card-title a { color: var(--ink); }
.article-card-title a:hover { color: var(--signature-coral); text-decoration: none; }
.article-card-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.article-card-excerpt { font-size: 14px; line-height: 1.5; color: var(--body); }

/* SIGNATURE CORAL CARD */
.signature-coral-card {
    background: var(--signature-coral);
    border-radius: var(--rounded-lg);
    padding: 48px;
    color: var(--on-primary);
    margin: var(--section) 0;
}
.signature-coral-card h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: 16px;
    max-width: 560px;
}
.signature-coral-card p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 520px;
}

/* SIGNATURE FOREST CARD */
.signature-forest-card {
    background: var(--signature-forest);
    border-radius: var(--rounded-lg);
    padding: 48px;
    color: var(--on-primary);
}
.signature-forest-card h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--on-primary);
    margin-bottom: 16px;
}
.signature-forest-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 520px;
    line-height: 1.5;
}

/* CREAM CALLOUT */
.cream-callout {
    background: var(--signature-cream);
    border-radius: var(--rounded-md);
    padding: var(--section) 0;
}
.cream-callout .container { display: flex; gap: 48px; align-items: flex-start; }
.cream-callout-text { flex: 1; }
.cream-callout-text h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 16px;
}
.cream-callout-text p { font-size: 14px; line-height: 1.6; color: var(--body); margin-bottom: 12px; }
.cream-callout-img { flex: 1; }
.cream-callout-img img { border-radius: var(--rounded-md); width: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* DEMO GRID */
.demo-grid-section { padding: var(--section) 0; background: var(--canvas); }
.demo-grid-section h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
}
.demo-grid-section > .container > p { font-size: 14px; color: var(--body); margin-bottom: 40px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.demo-card {
    border-radius: var(--rounded-md);
    padding: 16px;
    overflow: hidden;
}
.demo-card-peach { background: var(--signature-peach); }
.demo-card-mint { background: var(--signature-mint); }
.demo-card-cream { background: var(--signature-cream); }
.demo-card img { width: 100%; border-radius: var(--rounded-sm); margin-bottom: 12px; aspect-ratio: 4/3; object-fit: cover; }
.demo-card h3 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.demo-card p { font-size: 13px; line-height: 1.4; color: var(--body); }

/* DARK CTA */
.dark-cta-band {
    background: var(--surface-dark);
    padding: var(--section) 0;
}
.dark-cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.dark-cta-text h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--on-primary);
    margin-bottom: 12px;
    max-width: 540px;
}
.dark-cta-text p { font-size: 14px; color: rgba(255,255,255,0.75); max-width: 480px; line-height: 1.5; }
.dark-cta-actions { flex-shrink: 0; }

/* CONTACT FORM */
.contact-section { padding: var(--section) 0; background: var(--surface-soft); }
.contact-section h2 { font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 12px; }
.contact-section > .container > p { font-size: 14px; color: var(--body); margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--ink); }
.form-group input, .form-group textarea {
    background: var(--canvas);
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-sm);
    padding: 12px 16px;
    height: 44px;
    outline: none;
    transition: border-color 0.15s;
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: #458fff; }
.contact-info h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 20px; }
.contact-info p { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: 10px; }
.contact-info a { color: var(--link); }

/* LIGHT CTA BAND */
.light-cta-band { background: var(--surface-strong); padding: var(--section) 0; }
.light-cta-band .container { text-align: center; }
.light-cta-band h2 { font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: 16px; }
.light-cta-band p { font-size: 14px; color: var(--body); margin-bottom: 28px; }

/* FOOTER */
footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--section) 0 48px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 500; color: var(--ink); 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(--muted); }
.footer-col ul li a:hover { color: var(--ink); text-decoration: none; }
.footer-legal { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-legal p { font-size: 13px; color: var(--muted); }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 13px; color: var(--muted); }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--on-primary);
    padding: 16px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 9999;
    font-size: 13px;
}
.cookie-banner p { max-width: 640px; line-height: 1.5; color: rgba(255,255,255,0.85); }
.cookie-banner p a { color: #7cb3ff; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-legal {
    background: var(--link);
    color: var(--on-primary);
    font-size: 13.12px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
    min-width: 80px;
}
.btn-legal-reject {
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 13.12px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    min-width: 80px;
}

/* ARTICLE PAGE */
.article-hero { padding: var(--section) 0 48px; background: var(--canvas); }
.article-hero .breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.article-hero .breadcrumb a { color: var(--muted); }
.article-hero .breadcrumb span { margin: 0 6px; }
.article-hero h1 { font-size: 40px; font-weight: 400; color: var(--ink); line-height: 1.2; margin-bottom: 16px; max-width: 720px; }
.article-hero-meta { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.article-hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--rounded-md); margin-bottom: 48px; max-height: 480px; }
.article-body { display: grid; grid-template-columns: 1fr 320px; gap: 64px; padding-bottom: var(--section); }
.article-content h2 { font-size: 28px; font-weight: 400; color: var(--ink); margin: 36px 0 16px; }
.article-content h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin: 28px 0 12px; }
.article-content p { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: 18px; }
.article-content ul { margin: 0 0 18px 20px; }
.article-content ul li { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: 6px; }
.article-content a { color: var(--link); }
.article-content figure { margin: 28px 0; }
.article-content figure img { width: 100%; border-radius: var(--rounded-md); }
.article-content figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-card { background: var(--surface-soft); border-radius: var(--rounded-md); padding: 24px; margin-bottom: 24px; border: 1px solid var(--hairline); }
.sidebar-card h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 14px; }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-card ul li a { font-size: 14px; color: var(--body); line-height: 1.4; }
.sidebar-card ul li a:hover { color: var(--link); text-decoration: none; }
.sidebar-updated { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ABOUT / PAGES */
.page-hero { padding: var(--section) 0 64px; background: var(--canvas); }
.page-hero h1 { font-size: 40px; font-weight: 400; color: var(--ink); margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--body); max-width: 560px; line-height: 1.5; }
.page-content { padding: 0 0 var(--section); }
.page-content h2 { font-size: 28px; font-weight: 400; color: var(--ink); margin: 36px 0 16px; }
.page-content h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin: 24px 0 10px; }
.page-content p { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: 16px; }
.page-content ul { margin: 0 0 16px 20px; }
.page-content ul li { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: 6px; }
.page-content a { color: var(--link); }

/* DISCLAIMER BANNER */
.disclaimer-bar {
    background: var(--signature-cream);
    border-bottom: 1px solid #ddd5c0;
    padding: 10px 0;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .article-body { grid-template-columns: 1fr; gap: 40px; }
    .article-sidebar { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .dark-cta-band .container { flex-direction: column; text-align: center; }
    .cream-callout .container { flex-direction: column; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .mobile-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--canvas);
        padding: 32px 20px;
        gap: 24px;
        z-index: 99;
    }
    .mobile-menu.open a { font-size: 20px; color: var(--ink); font-weight: 400; }
    .hero-band h1 { font-size: 28px; }
    .hero-band p { font-size: 16px; }
    .articles-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .signature-coral-card { padding: 32px 24px; }
    .signature-coral-card h2 { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal { flex-direction: column; gap: 12px; text-align: center; }
    .cookie-banner { flex-direction: column; padding: 20px; text-align: center; }
    .article-hero h1 { font-size: 26px; }
    .page-hero h1 { font-size: 28px; }
}
