*, *::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;
    --on-primary: #ffffff;
    --link: #1b61c9;
    --link-active: #1a3866;
    --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;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 96px;
    --max-w: 1280px;
}

html { font-size: 16px; 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 { color: var(--link-active); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

address { font-style: normal; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--spacing-xxl);
}

.top-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: var(--max-w);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-xxl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.nav-logo {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-word { color: var(--ink); }
.logo-accent { color: var(--sig-coral); }

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links li a {
    font-size: 14px;
    font-weight: 400;
    color: var(--body);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-links li a:hover { color: var(--ink); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-sm);
    cursor: pointer;
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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 { 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-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;
    transition: border-color 0.15s;
}

.btn-legal {
    display: inline-flex;
    align-items: center;
    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;
    text-decoration: none;
}

.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-content { max-width: 560px; }

.hero-eyebrow {
    font-size: 13.12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16px;
    margin-bottom: var(--spacing-md);
}

.hero-h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.hero-sub {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    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-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-band {
    padding: var(--spacing-section) 0;
}

.section-band--soft { background: var(--surface-soft); }
.section-band--cream { background: var(--sig-cream); }
.section-band--dark { background: var(--surface-dark); color: var(--on-primary); }
.section-band--strong { background: var(--surface-strong); }

.section-heading {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.section-band--dark .section-heading,
.section-band--coral .section-heading { color: var(--on-primary); }

.section-sub {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.section-band--dark .section-sub { color: rgba(255,255,255,0.75); }

.section-label {
    font-size: 13.12px;
    font-weight: 600;
    letter-spacing: 0.16px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-sm);
}

.section-band--dark .section-label,
.section-band--coral .section-label { color: rgba(255,255,255,0.6); }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.article-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    overflow: hidden;
    border: 1px solid var(--hairline);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s;
}

.article-card:hover { border-color: var(--primary); }

.article-card__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.article-card__thumb 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: 600;
    text-transform: uppercase;
    letter-spacing: 0.16px;
    color: var(--sig-coral);
    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__excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
    margin-bottom: var(--spacing-md);
}

.article-card__meta {
    font-size: 13.12px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.16px;
}

.signature-coral-card {
    background: var(--sig-coral);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
}

.signature-coral-card .section-heading { color: var(--on-primary); font-size: 32px; }
.signature-coral-card .section-sub { color: rgba(255,255,255,0.85); }

.signature-forest-card {
    background: var(--sig-forest);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.demo-card {
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
    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__label {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.demo-card__text {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.demo-card__img {
    margin-top: var(--spacing-md);
    border-radius: var(--rounded-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.demo-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xl);
    max-width: 560px;
}

.form-group { margin-bottom: var(--spacing-md); }

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.form-input {
    width: 100%;
    height: 44px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--ink);
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

.form-input:focus { border-color: #458fff; }

.cta-band {
    background: var(--surface-strong);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    text-align: center;
}

.cta-band .section-heading { margin-bottom: var(--spacing-md); }

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--spacing-section) 0 var(--spacing-xl);
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--spacing-xxl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.footer-brand {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    max-width: 340px;
}

.footer-contact p { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.footer-contact a { color: var(--muted); text-decoration: none; }
.footer-contact a:hover { color: var(--link); }

.footer-heading {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.footer-col ul li { margin-bottom: var(--spacing-xs); }
.footer-col ul li a { font-size: 14px; color: var(--muted); }
.footer-col ul li a:hover { color: var(--link); }

.footer-bottom { border-top: 1px solid var(--hairline); padding-top: var(--spacing-xl); }

.footer-legal {
    font-size: 13.12px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 4px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    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);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
}

.cookie-banner p a { color: rgba(255,255,255,0.7); text-decoration: underline; }

.cookie-buttons { display: flex; gap: var(--spacing-xs); flex-shrink: 0; }

.article-hero {
    background: var(--surface-dark-elevated);
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(170,45,0,0.4) 0%, rgba(10,46,14,0.35) 20%,
        rgba(248,250,252,0.1) 40%, rgba(244,211,94,0.25) 60%,
        rgba(168,216,196,0.3) 80%, rgba(170,45,0,0.2) 100%);
    pointer-events: none;
}

.article-hero .container { position: relative; }

.article-hero h1 {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--on-primary);
    max-width: 700px;
    margin-bottom: var(--spacing-md);
}

.article-hero .hero-meta {
    font-size: 13.12px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.16px;
    text-transform: uppercase;
}

.article-content {
    padding: var(--spacing-section) 0;
}

.article-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

.article-body h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-md);
    line-height: 1.2;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
    line-height: 1.35;
    letter-spacing: 0.12px;
}

.article-body p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.article-body ul {
    list-style: disc;
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.article-body ul li {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
}

.article-body a { color: var(--link); }

.article-body .article-img {
    border-radius: var(--rounded-md);
    overflow: hidden;
    margin: var(--spacing-xl) 0;
}

.article-sidebar {
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.sidebar-card h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card ul li { margin-bottom: var(--spacing-xs); }
.sidebar-card ul li a { font-size: 14px; color: var(--link); }

.page-hero {
    background: var(--surface-soft);
    padding: var(--spacing-section) 0;
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.page-hero p {
    font-size: 14px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.6;
}

.page-content {
    padding: var(--spacing-section) 0;
}

.page-content h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-md);
    line-height: 1.2;
}

.page-content h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
    line-height: 1.35;
    letter-spacing: 0.12px;
}

.page-content p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.page-content ul {
    list-style: disc;
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.page-content ul li {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--spacing-xs);
}

.page-content a { color: var(--link); }

.breadcrumb {
    font-size: 13.12px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.16px;
    margin-bottom: var(--spacing-section);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--hairline);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb span { margin: 0 6px; }

@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; }
    .article-content .container { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .hero-band .container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --spacing-section: 64px; --spacing-xxl: 24px; }
    .nav-links { display: none; flex-direction: column; position: fixed; inset: 64px 0 0 0; background: var(--canvas); padding: var(--spacing-xl); gap: var(--spacing-lg); z-index: 99; border-top: 1px solid var(--hairline); }
    .nav-links.is-open { display: flex; }
    .nav-hamburger { display: flex; }
    .articles-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-h1 { font-size: 32px; }
    .article-hero h1 { font-size: 32px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
}
