*, *::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;
    --sig-coral: #aa2d00;
    --sig-forest: #0a2e0e;
    --sig-cream: #f5e9d4;
    --sig-peach: #fcab79;
    --sig-mint: #a8d8c4;
    --sig-yellow: #f4d35e;
    --rounded-xs: 2px;
    --rounded-sm: 6px;
    --rounded-md: 10px;
    --rounded-lg: 12px;
    --section: 96px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, 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 { display: block; max-width: 100%; height: auto; }

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

@media (max-width: 768px) {
    .container { padding: 0 20px; }
}

/* NAV */
.top-nav {
    height: 64px;
    background: var(--canvas);
    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: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-logo span { color: var(--sig-coral); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--body);
    text-decoration: none;
}

.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--canvas);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        font-size: 18px;
        z-index: 99;
    }
    .nav-links.open { display: flex; }
    .nav-hamburger { display: flex; }
}

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

.hero-band h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    max-width: 700px;
    margin-bottom: 20px;
}

.hero-band p {
    font-size: 16px;
    color: var(--body);
    max-width: 540px;
    line-height: 1.6;
    margin-bottom: 36px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: var(--rounded-lg);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.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;
    padding: 16px 24px;
    border-radius: var(--rounded-lg);
    text-decoration: none;
    border: 1px solid var(--hairline);
    cursor: pointer;
    margin-left: 12px;
}

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

/* SIGNATURE CARDS */
.sig-coral {
    background: var(--sig-coral);
    color: var(--on-primary);
    padding: var(--section) 0;
}

.sig-coral h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    max-width: 640px;
    margin-bottom: 16px;
}

.sig-coral p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-secondary-on-dark {
    display: inline-block;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: var(--rounded-lg);
    text-decoration: none;
    border: none;
}

.btn-secondary-on-dark:hover { text-decoration: none; color: var(--ink); opacity: 0.9; }

.sig-forest {
    background: var(--sig-forest);
    color: var(--on-primary);
    padding: var(--section) 0;
}

.sig-forest h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    max-width: 640px;
    margin-bottom: 16px;
}

.sig-forest p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* SECTIONS */
.section-white { padding: var(--section) 0; background: var(--canvas); }
.section-soft { padding: var(--section) 0; background: var(--surface-soft); }
.section-cream { padding: var(--section) 0; background: var(--sig-cream); }

.section-title {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 48px;
}

/* ARTICLE CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .cards-grid { grid-template-columns: 1fr; } }

.article-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    overflow: hidden;
    border: 1px solid var(--hairline);
    padding: 0;
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.article-card-body {
    padding: 16px;
}

.article-card-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--sig-coral);
    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 8px;
}

.article-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--link);
    text-decoration: none;
}

.read-more:hover { text-decoration: underline; }

/* DEMO GRID */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}

@media (max-width: 1024px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-card {
    border-radius: var(--rounded-md);
    padding: 16px;
    overflow: hidden;
}

.demo-card.peach { background: var(--sig-peach); }
.demo-card.mint { background: var(--sig-mint); }
.demo-card.yellow { background: var(--sig-yellow); }

.demo-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--rounded-sm);
    margin-bottom: 12px;
}

.demo-card h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}

.demo-card p {
    font-size: 13px;
    color: var(--body);
    line-height: 1.5;
}

/* HERO WITH IMAGE */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-split { grid-template-columns: 1fr; gap: 32px; }
    .hero-split-img { order: -1; }
}

.hero-split-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
}

/* DARK CTA BAND */
.cta-band-dark {
    background: var(--surface-dark);
    padding: var(--section) 0;
    color: var(--on-primary);
}

.cta-band-dark h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--on-primary);
    max-width: 600px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-band-dark p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* CTA BAND LIGHT */
.cta-band-light {
    background: var(--surface-strong);
    padding: 48px;
    border-radius: var(--rounded-lg);
    margin: var(--section) 0;
}

.cta-band-light h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
}

.cta-band-light p {
    font-size: 14px;
    color: var(--body);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* CREAM CALLOUT */
.cream-callout {
    background: var(--sig-cream);
    border-radius: var(--rounded-md);
    padding: 24px;
}

.cream-callout h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 10px;
}

.cream-callout p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

/* CONTACT FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
}

.contact-form input,
.contact-form textarea {
    background: var(--canvas);
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
    padding: 12px 16px;
    height: 44px;
    border-radius: var(--rounded-sm);
    border: 1px solid var(--hairline);
    outline: none;
    width: 100%;
}

.contact-form textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #458fff;
}

.contact-form button {
    align-self: flex-start;
}

/* ARTICLE PAGE */
.article-hero {
    padding: 64px 0 48px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
}

.article-hero h1 {
    font-size: 40px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    max-width: 780px;
    margin-bottom: 16px;
}

.article-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--sig-coral);
    margin-bottom: 16px;
}

.article-content {
    padding: 56px 0;
    max-width: 780px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: 40px 0 14px;
    line-height: 1.35;
    letter-spacing: 0.12px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    margin: 28px 0 10px;
    line-height: 1.5;
}

.article-content p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-content li {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 6px;
}

.article-content img {
    width: 100%;
    border-radius: var(--rounded-md);
    margin: 24px 0;
}

.article-content a { color: var(--link); }

/* BREADCRUMB */
.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); text-decoration: none; }

/* PAGE HEADER */
.page-header {
    padding: 64px 0 48px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
}

.page-header h1 {
    font-size: 40px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    max-width: 560px;
}

/* PAGE CONTENT */
.page-content {
    padding: var(--section) 0;
    max-width: 780px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: 36px 0 12px;
    line-height: 1.35;
}

.page-content h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    margin: 24px 0 10px;
}

.page-content p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.page-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-content li {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 6px;
}

/* 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: 48px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 8px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    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); text-decoration: none; }

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

.footer-bottom a {
    font-size: 13px;
    color: var(--muted);
}

/* COOKIE BANNER */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--on-primary);
    padding: 20px 48px;
    z-index: 1000;
    border-top: 2px solid var(--sig-coral);
}

#cookie-banner.show { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

#cookie-banner p {
    font-size: 13px;
    line-height: 1.5;
    max-width: 700px;
    color: rgba(255,255,255,0.85);
}

#cookie-banner p a { color: var(--sig-mint); }

.cookie-btns { display: flex; gap: 10px; }

.btn-cookie-accept, .btn-cookie-reject {
    font-size: 13.12px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
}

.btn-cookie-accept { background: var(--link); color: var(--on-primary); }
.btn-cookie-reject { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); }

@media (max-width: 768px) {
    #cookie-banner { padding: 20px; }
    #cookie-banner.show { flex-direction: column; }
}

/* SCHEMA / INTERNAL LINK BLOCKS */
.related-articles {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--hairline);
}

.related-articles h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

.related-card {
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: 16px;
    text-decoration: none;
}

.related-card:hover { border-color: #b0b3b8; text-decoration: none; }

.related-card-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--sig-coral);
    margin-bottom: 6px;
}

.related-card h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

.info-box {
    background: var(--sig-cream);
    border-radius: var(--rounded-md);
    padding: 24px;
    margin: 24px 0;
}

.info-box h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 10px;
}

.info-box p, .info-box li {
    font-size: 13px;
    color: var(--body);
    line-height: 1.6;
}

.info-box ul { padding-left: 20px; }
.info-box li { margin-bottom: 4px; }

.disclaimer {
    background: var(--surface-soft);
    border-left: 3px solid var(--sig-coral);
    padding: 16px 20px;
    margin: 32px 0;
    border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0;
}

.disclaimer p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}
