@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;1,14..32,400&display=swap');

*, *::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;
    --link-active: #1a3866;
    --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;
    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 96px;
    --max-width: 1280px;
}

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);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--link);
    text-decoration: none;
}

a:active {
    color: var(--link-active);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.top-nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-logo {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo:active {
    color: var(--primary-active);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
    flex: 1;
}

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

.nav-menu a:active {
    color: var(--ink);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.btn-primary {
    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;
    display: inline-block;
    white-space: nowrap;
}

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

.btn-secondary {
    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;
    display: inline-block;
    white-space: nowrap;
}

.btn-secondary:active {
    border-color: var(--primary);
    color: var(--ink);
}

.btn-secondary-on-dark {
    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: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    flex-direction: column;
    gap: 5px;
}

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

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

.hero-band .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.16px;
    text-transform: uppercase;
}

.hero-h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: -0.02em;
}

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

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* SECTION GENERIC */
.section {
    padding: var(--spacing-section) 0;
}

.section-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: 0.12px;
    margin-bottom: var(--spacing-xl);
}

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

/* ARTICLE CARD GRID */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.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: var(--spacing-md);
}

.article-card-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.16px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
}

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

.article-card-meta {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: var(--spacing-sm);
}

.article-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: var(--spacing-md);
}

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

.article-card-link:active {
    color: var(--link-active);
}

/* SIGNATURE CORAL CARD */
.signature-coral {
    background: var(--signature-coral);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
}

.signature-coral h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}

.signature-coral p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--spacing-xl);
    max-width: 560px;
}

/* SIGNATURE FOREST CARD */
.signature-forest {
    background: var(--signature-forest);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
}

.signature-forest h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}

.signature-forest p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--spacing-xl);
    max-width: 540px;
}

/* SIGNATURE CREAM CARD */
.cream-callout {
    background: var(--signature-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xxl);
}

.cream-callout h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

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

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

.dark-band h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}

.dark-band p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--spacing-xl);
    max-width: 560px;
}

/* LIGHT GRAY CTA BAND */
.cta-band-light {
    background: var(--surface-strong);
    padding: var(--spacing-section) 0;
}

.cta-band-light .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.cta-band-light h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
}

/* DEMO GRID */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.demo-card {
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
    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: var(--spacing-sm);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.demo-card-label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-xxs);
}

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

/* SURFACE SOFT SECTION */
.surface-soft {
    background: var(--surface-soft);
}

/* FOOTER */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--spacing-section) 0 var(--spacing-xl);
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin-top: var(--spacing-md);
    max-width: 260px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-col ul a {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
}

.footer-col ul a:active {
    color: var(--ink);
}

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

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

.footer-legal-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-dark);
    color: var(--on-primary);
    padding: var(--spacing-lg) var(--spacing-xxl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    z-index: 9999;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
    display: none;
}

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

.cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    flex: 1;
}

.cookie-banner p a {
    color: #fff;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.btn-legal {
    background: var(--link);
    color: var(--on-primary);
    font-size: 13.12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
}

.btn-legal-reject {
    background: transparent;
    color: rgba(255,255,255,0.75);
    font-size: 13.12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
}

/* ARTICLE PAGE */
.article-hero {
    padding: var(--spacing-section) 0 var(--spacing-xl);
    background: var(--canvas);
}

.article-hero-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16px;
    margin-bottom: var(--spacing-md);
}

.article-hero-h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    max-width: 800px;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.article-meta {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: var(--spacing-xl);
}

.article-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--rounded-md);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--spacing-xxl);
    padding: var(--spacing-xl) 0 var(--spacing-section);
}

.article-content h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: 0.12px;
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-md);
}

.article-content h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.article-content p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--body);
    margin-bottom: var(--spacing-md);
}

.article-content ul, .article-content ol {
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.article-content li {
    font-size: 15px;
    line-height: 1.65;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

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

.article-content figure {
    margin: var(--spacing-xl) 0;
}

.article-content figure img {
    width: 100%;
    border-radius: var(--rounded-md);
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article-content figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: var(--spacing-xs);
}

.article-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.sidebar-card {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.sidebar-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.sidebar-card ul a {
    font-size: 14px;
    color: var(--link);
    line-height: 1.4;
}

.sidebar-contact {
    background: var(--signature-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xl);
}

.sidebar-contact h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.sidebar-contact p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
}

/* CONTACT FORM */
.contact-form-section {
    padding: var(--spacing-section) 0;
    background: var(--surface-soft);
}

.contact-form {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

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

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

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

.text-input:focus {
    border-color: #458fff;
    box-shadow: 0 0 0 2px rgba(69,143,255,0.15);
}

/* PAGE GENERIC */
.page-hero {
    padding: var(--spacing-section) 0 var(--spacing-xl);
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.page-hero p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.5;
    max-width: 600px;
}

.page-content {
    padding: var(--spacing-section) 0;
    max-width: 720px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.12px;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.page-content p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--body);
    margin-bottom: var(--spacing-md);
}

.page-content ul, .page-content ol {
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.page-content li {
    font-size: 15px;
    line-height: 1.65;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

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

/* DISCLAIMER */
.disclaimer-bar {
    background: var(--surface-soft);
    border-top: 1px solid var(--hairline);
    padding: var(--spacing-md) 0;
}

.disclaimer-bar p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

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

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

.breadcrumb span {
    margin: 0 var(--spacing-xxs);
}

/* MOBILE NAV OVERLAY */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--canvas);
    z-index: 200;
    flex-direction: column;
    padding: var(--spacing-xl);
}

.nav-overlay.open {
    display: flex;
}

.nav-overlay-close {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--ink);
    margin-bottom: var(--spacing-xl);
}

.nav-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.nav-overlay ul a {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    .nav-menu, .nav-actions {
        display: none;
    }
    .nav-hamburger {
        display: flex;
        margin-left: auto;
    }
    .hero-h1 {
        font-size: 28px;
    }
    .article-hero-h1 {
        font-size: 26px;
    }
    .hero-band .container {
        max-width: 100%;
    }
    .article-grid {
        grid-template-columns: 1fr;
    }
    .demo-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cta-band-light .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
    }
    .signature-coral h2, .signature-forest h2, .cream-callout h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-legal-links {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
}
