*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ink: #181d26;
    --body: #333840;
    --muted: #41454d;
    --canvas: #ffffff;
    --surface-soft: #f8fafc;
    --surface-strong: #e0e2e6;
    --surface-dark: #181d26;
    --hairline: #dddddd;
    --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 { 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.6;
    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;
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
}

/* NAV */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    display: flex;
    align-items: center;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo span { color: var(--signature-coral); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--body);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 500; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--ink);
    padding: 8px;
}

@media (max-width: 768px) {
    .nav-inner { padding: 0 20px; }
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: fixed;
        inset: 64px 0 0 0;
        background: var(--canvas);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 20px;
        border-top: 1px solid var(--hairline);
        overflow-y: auto;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 18px; }
}

/* HERO BAND */
.hero-band {
    padding: var(--section) 0;
    background: var(--canvas);
}

.hero-band .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-img {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero-band .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-text h1 { font-size: 32px; }
    .hero-img { max-width: 600px; }
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background: var(--ink);
    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;
    line-height: 1.4;
    transition: background 0.15s;
}

.btn-primary:hover { background: #0d1218; text-decoration: none; }

.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);
    border: 1px solid var(--hairline);
    text-decoration: none;
    cursor: pointer;
    line-height: 1.4;
    transition: border-color 0.15s;
}

.btn-secondary:hover { border-color: var(--ink); text-decoration: none; }

.btn-legal {
    display: inline-block;
    background: var(--link);
    color: var(--on-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-legal-outline {
    background: var(--canvas);
    color: var(--ink);
    border: 1px solid var(--hairline);
}

.btn-pair { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* SECTION BANDS */
.band { padding: var(--section) 0; }

.band-soft { background: var(--surface-soft); }

.band-coral {
    background: var(--signature-coral);
    color: var(--on-primary);
    padding: var(--section) 0;
}

.band-coral h2,
.band-coral p { color: var(--on-primary); }

.band-dark {
    background: var(--surface-dark);
    color: var(--on-primary);
    padding: var(--section) 0;
}

.band-dark h2,
.band-dark p { color: var(--on-primary); }

.band-cream {
    background: var(--signature-cream);
    padding: var(--section) 0;
}

.band-strong {
    background: var(--surface-strong);
    padding: var(--section) 0;
}

/* SECTION HEADER */
.section-header { margin-bottom: 48px; }

.section-header h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 12px;
}

.band-coral .section-header h2,
.band-dark .section-header h2 { color: var(--on-primary); }

.section-header p {
    font-size: 16px;
    color: var(--body);
    max-width: 600px;
}

.band-coral .section-header p,
.band-dark .section-header p { color: rgba(255,255,255,0.8); }

/* ARTICLE CARDS */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    overflow: hidden;
    border: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
}

.article-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-card-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 10px;
}

.article-card-body p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.article-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.article-card-body .read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-card-body .read-more:hover { text-decoration: underline; }

/* DEMO GRID (info cards) */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-card {
    border-radius: var(--rounded-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-card-peach { background: var(--signature-peach); }
.demo-card-mint  { background: var(--signature-mint); }
.demo-card-cream { background: var(--signature-cream); }

.demo-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}

.demo-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

/* CONTACT FORM */
.contact-form {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}

.contact-form input {
    width: 100%;
    height: 44px;
    padding: 12px 16px;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-sm);
    font-size: 14px;
    color: var(--ink);
    background: var(--canvas);
    outline: none;
    transition: border-color 0.15s;
}

.contact-form input:focus { border-color: #458fff; }

.contact-form .form-group { display: flex; flex-direction: column; }

/* COOKIE BANNER */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--on-primary);
    padding: 20px 28px;
    border-radius: var(--rounded-lg);
    max-width: 560px;
    width: calc(100% - 40px);
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.cookie-banner.visible { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }

.cookie-banner p { font-size: 14px; flex: 1; line-height: 1.5; }
.cookie-banner p a { color: rgba(255,255,255,0.75); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ARTICLE PAGE */
.article-hero {
    padding: var(--section) 0 48px;
    background: var(--canvas);
}

.article-hero h1 {
    font-size: 40px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 760px;
}

.article-hero .article-meta { font-size: 14px; color: var(--muted); }

.article-hero-img {
    margin: 40px 0 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    max-height: 480px;
}

.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.article-body {
    padding: 64px 0 var(--section);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
}

.article-content h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--ink);
    margin: 40px 0 16px;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    margin: 28px 0 12px;
    line-height: 1.4;
}

.article-content p {
    font-size: 15px;
    color: var(--body);
    line-height: 1.75;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px 24px;
}

.article-content li {
    font-size: 15px;
    color: var(--body);
    line-height: 1.75;
    margin-bottom: 8px;
}

.article-content a { color: var(--link); }

.article-sidebar-card {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: 24px;
    border: 1px solid var(--hairline);
}

.article-sidebar-card h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 14px;
}

.article-sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.article-sidebar-card li a {
    font-size: 14px;
    color: var(--body);
    text-decoration: none;
    line-height: 1.4;
}

.article-sidebar-card li a:hover { color: var(--link); text-decoration: underline; }

/* PAGE CONTENT */
.page-hero {
    padding: var(--section) 0 48px;
    background: var(--canvas);
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-body {
    padding: 0 0 var(--section);
    max-width: 760px;
}

.page-body h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: 40px 0 14px;
    line-height: 1.35;
}

.page-body p, .page-body li {
    font-size: 15px;
    color: var(--body);
    line-height: 1.75;
    margin-bottom: 16px;
}

.page-body ul, .page-body ol { margin-left: 24px; margin-bottom: 20px; }

.page-body a { color: var(--link); }

/* FOOTER */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--section) 0 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
}

@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; padding: 0 20px 48px; } }

.footer-brand .nav-logo { display: block; margin-bottom: 16px; }

.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h3 {
    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 li a {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
}

.footer-col li a:hover { color: var(--ink); }

.footer-col address {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    font-style: normal;
}

.footer-col address a { color: var(--muted); text-decoration: none; }
.footer-col address a:hover { color: var(--ink); }

.footer-legal {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 48px;
    border-top: 1px solid var(--hairline);
}

@media (max-width: 600px) { .footer-legal { padding: 24px 20px; } }

.footer-legal p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

.footer-disclaimer {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

/* CTA BAND */
.cta-band {
    background: var(--surface-strong);
    border-radius: var(--rounded-lg);
    padding: 48px;
    text-align: center;
}

.cta-band h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 16px;
}

.cta-band p {
    font-size: 15px;
    color: var(--body);
    margin-bottom: 28px;
}

/* STAT ROW */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media (max-width: 768px) { .stat-row { grid-template-columns: 1fr; } }

.stat-item {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    padding: 32px;
    border: 1px solid var(--hairline);
    text-align: center;
}

.stat-item .stat-num {
    font-size: 40px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* BREADCRUMB */
.breadcrumb {
    padding: 16px 0 0;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 6px;
    align-items: center;
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb-sep { color: var(--hairline); }

/* UTILITY */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
