@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..900;1,14..32,300..900&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;
    --surface-dark-elevated: #1d1f25;
    --hairline: #dddddd;
    --ink: #181d26;
    --body: #333840;
    --muted: #41454d;
    --border-strong: #9297a0;
    --on-primary: #ffffff;
    --signature-coral: #aa2d00;
    --signature-forest: #0a2e0e;
    --signature-cream: #f5e9d4;
    --signature-peach: #fcab79;
    --signature-mint: #a8d8c4;
    --signature-yellow: #f4d35e;
    --signature-mustard: #d9a441;
    --link: #1b61c9;
    --link-active: #1a3866;
    --info: #254fad;
    --info-border: #458fff;
    --success: #006400;
    --rounded-xs: 2px;
    --rounded-sm: 6px;
    --rounded-md: 10px;
    --rounded-lg: 12px;
    --rounded-pill: 9999px;
    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 96px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    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: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xxl);
}

.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 {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-logo {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-logo span { color: var(--signature-coral); }

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
    flex: 1;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--body);
    text-decoration: none;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--on-primary);
    font-family: var(--font);
    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;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.btn-primary:active { background: var(--primary-active); color: var(--on-primary); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font);
    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;
    white-space: nowrap;
}

.btn-secondary:active { background: var(--surface-soft); color: var(--ink); }

.btn-secondary-on-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font);
    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;
    white-space: nowrap;
}

.btn-legal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--link);
    color: var(--on-primary);
    font-family: var(--font);
    font-size: 13.12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-reject {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--muted);
    font-family: var(--font);
    font-size: 13.12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: 1px solid var(--border-strong);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--canvas);
    z-index: 99;
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-xxl);
    gap: var(--spacing-lg);
    overflow-y: auto;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--hairline);
}

.hero-band {
    padding: var(--spacing-section) 0;
    background: var(--canvas);
}

.hero-band .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-text h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.hero-text p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    border-radius: var(--rounded-md);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signature-coral-card {
    background: var(--signature-coral);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
}

.signature-coral-card h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--on-primary);
}

.signature-coral-card p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: var(--on-primary);
    opacity: 0.9;
    max-width: 560px;
}

.signature-forest-card {
    background: var(--signature-forest);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
}

.signature-forest-card h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--on-primary);
}

.signature-forest-card p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: var(--on-primary);
    opacity: 0.9;
    max-width: 560px;
}

.hero-card-dark {
    background: var(--surface-dark);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
}

.hero-card-dark h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--on-primary);
}

.hero-card-dark p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: var(--on-primary);
    opacity: 0.9;
    max-width: 560px;
}

.cream-callout-card {
    background: var(--signature-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
}

.cream-callout-card h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.12px;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.cream-callout-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

.section {
    padding: var(--spacing-section) 0;
}

.section-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.12px;
    color: var(--ink);
    margin-bottom: var(--spacing-xl);
}

.section-title-lg {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.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;
    display: flex;
    flex-direction: column;
}

.article-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-body {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    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);
    text-decoration: none;
    display: block;
}

.article-card-meta {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.16px;
    color: var(--muted);
    margin-top: auto;
    padding-top: var(--spacing-sm);
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    flex: 1;
}

.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 img {
    width: 100%;
    border-radius: var(--rounded-sm);
    margin-bottom: var(--spacing-sm);
}

.demo-card-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.demo-card-text {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

.demo-card-peach { background: var(--signature-peach); }
.demo-card-mint { background: var(--signature-mint); }
.demo-card-yellow { background: var(--signature-yellow); }
.demo-card-cream { background: var(--signature-cream); }
.demo-card-mustard { background: var(--signature-mustard); }

.cta-band-light {
    background: var(--surface-strong);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    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);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

.two-col-wide {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

.text-input {
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    border-radius: var(--rounded-sm);
    padding: 12px 16px;
    height: 44px;
    border: 1px solid var(--hairline);
    width: 100%;
    outline: none;
}

.text-input:focus { border-color: var(--info-border); }

textarea.text-input {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.contact-form {
    background: var(--surface-soft);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--hairline);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.12px;
    color: var(--ink);
    margin-bottom: var(--spacing-xl);
}

.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;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-section);
}

.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: var(--spacing-md);
    max-width: 280px;
}

.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-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}

.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);
    z-index: 200;
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    flex: 1;
    min-width: 220px;
}

.cookie-banner p a { color: rgba(255,255,255,0.7); text-decoration: underline; }

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.cookie-banner.hidden { display: none; }

.article-hero {
    background: var(--surface-dark-elevated);
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.article-hero-stripes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    display: flex;
    gap: 8px;
    opacity: 0.35;
}

.stripe { flex: 1; }
.stripe-1 { background: var(--signature-coral); }
.stripe-2 { background: var(--signature-forest); }
.stripe-3 { background: var(--signature-mint); }
.stripe-4 { background: var(--signature-yellow); }
.stripe-5 { background: var(--signature-peach); }

.article-hero-content { position: relative; z-index: 1; max-width: 700px; }

.article-hero-content h1 {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--on-primary);
    margin-bottom: var(--spacing-lg);
}

.article-hero-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.article-hero-meta {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16px;
    color: rgba(255,255,255,0.55);
}

.article-body {
    padding: var(--spacing-section) 0;
}

.article-content {
    max-width: 740px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin: var(--spacing-xxl) 0 var(--spacing-lg);
}

.article-content h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.12px;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-md);
}

.article-content p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.article-content ul, .article-content ol {
    margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.article-content li {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

.article-content figure {
    margin: var(--spacing-xl) 0;
}

.article-content figure img {
    border-radius: var(--rounded-md);
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article-content figcaption {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16px;
    color: var(--muted);
    margin-top: var(--spacing-xs);
}

.article-content a { color: var(--link); }
.article-content a:active { color: var(--link-active); }

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
    border: 1px solid var(--hairline);
}

.sidebar-card h4 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.sidebar-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.sidebar-card ul a {
    font-size: 14px;
    color: var(--link);
    display: block;
}

.updated-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.16px;
    margin-bottom: var(--spacing-lg);
    display: block;
}

.page-hero {
    padding: var(--spacing-section) 0;
    background: var(--canvas);
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.page-hero p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    max-width: 600px;
}

.prose h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin: var(--spacing-xxl) 0 var(--spacing-lg);
}

.prose h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-md);
}

.prose p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.prose ul, .prose ol {
    margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.prose li {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

.prose a { color: var(--link); }

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-sm);
}

.breadcrumb {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
    list-style: none;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.breadcrumb li {
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb li + li::before {
    content: '/';
    margin-right: var(--spacing-xs);
    color: var(--border-strong);
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.disclaimer {
    background: var(--surface-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.disclaimer p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

@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; }
    .two-col-wide { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 64px;
        --spacing-xxl: 24px;
    }

    .container { padding: 0 var(--spacing-md); }

    .nav-links { display: none; }
    .nav-right { display: none; }
    .hamburger { display: flex; }

    .hero-band .container { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero-text h1 { font-size: 32px; }

    .article-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .cta-band-light {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-band-light h2 { font-size: 24px; }

    .signature-coral-card h2,
    .signature-forest-card h2,
    .hero-card-dark h2 { font-size: 24px; }

    .article-hero-content h1 { font-size: 32px; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .cookie-banner { flex-direction: column; gap: var(--spacing-md); }

    .article-body .container { display: block; }
    .article-sidebar { display: none; }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}
