*, *::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;
    --sig-mustard: #d9a441;
    --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;
}

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

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

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

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

/* 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;
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
}

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

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

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

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

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

.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;
    display: inline-block;
    transition: background 0.15s;
}

.btn-primary:hover, .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;
    display: inline-block;
    transition: border-color 0.15s;
}

.btn-secondary:hover { border-color: var(--ink); 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;
    display: inline-block;
}

.btn-legal {
    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;
    display: inline-block;
}

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

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

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

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-content {}

.hero-tag {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.16px;
    color: var(--muted);
    text-transform: uppercase;
    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;
    font-weight: 400;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
}

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

.hero-image img {
    border-radius: var(--rounded-md);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/10;
}

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

.sig-forest-card {
    background: var(--sig-forest);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
}

.sig-dark-card {
    background: var(--surface-dark);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
}

.sig-cream-card {
    background: var(--sig-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
}

.sig-card-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.16px;
    opacity: 0.7;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

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

.sig-card-body {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.85;
}

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

.section-band-soft {
    padding: var(--spacing-section) 0;
    background: var(--surface-soft);
}

.section-band-dark {
    padding: var(--spacing-section) 0;
    background: var(--surface-dark);
}

.section-band-cream {
    padding: var(--spacing-section) 0;
    background: var(--sig-cream);
}

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

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

.section-header {
    margin-bottom: var(--spacing-xl);
}

/* ARTICLE CARDS 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);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.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;
    letter-spacing: 0.16px;
    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);
}

.article-card-title a { color: var(--ink); }
.article-card-title a:hover { color: var(--link); }

.article-card-meta {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.16px;
    color: var(--muted);
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-top: var(--spacing-xs);
}

/* 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 img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    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-xxs);
}

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

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

/* CTA BAND */
.cta-band {
    background: var(--surface-strong);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    text-align: center;
}

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

/* CONTACT FORM */
.contact-form-wrap {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xl);
    max-width: 560px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-xxs);
}

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

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

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

/* 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;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.footer-brand-name span { color: var(--sig-coral); }

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.footer-contact {
    font-size: 14px;
    color: var(--muted);
    line-height: 2;
}

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

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

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

.footer-links a:hover { color: var(--ink); }

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

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

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

.footer-legal-links a {
    font-size: 14px;
    color: var(--muted);
}

/* COOKIE BANNER */
.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-lg);
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
}

.cookie-banner p a {
    color: #6eb0ff;
}

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

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

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

.article-breadcrumb a { color: var(--muted); }
.article-breadcrumb a:hover { color: var(--link); }

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

.article-meta {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.16px;
    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-body-wrap {
    padding: var(--spacing-xxl) 0 var(--spacing-section);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-xxl);
    align-items: start;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-md);
}

.article-content h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

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

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

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

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

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

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

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

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

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.sidebar-links a {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.sidebar-links a:hover { color: var(--link); }

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

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

.page-sub {
    font-size: 14px;
    color: var(--muted);
}

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

.page-content h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.page-content h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin: var(--spacing-lg) 0 var(--spacing-xs);
}

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

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

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

.disclaimer-box {
    background: var(--sig-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

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

.mobile-nav.active { display: flex; }

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

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

.mobile-nav-links a {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
}

/* ABOUT GRID */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.two-col img {
    border-radius: var(--rounded-md);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* 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; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 var(--spacing-lg); }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .article-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-h1 { font-size: 32px; }
    .sig-card-h2 { font-size: 24px; }
    .article-h1 { font-size: 28px; }
    .page-h1 { font-size: 28px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
