*, *::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;
    --signature-coral: #aa2d00;
    --signature-forest: #0a2e0e;
    --signature-cream: #f5e9d4;
    --signature-peach: #fcab79;
    --signature-mint: #a8d8c4;
    --signature-yellow: #f4d35e;
    --signature-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;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --max-width: 1280px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    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 {
    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 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-menu a {
    font-size: 14px;
    color: var(--body);
    text-decoration: none;
    transition: color 0.15s;
}

.nav-menu a:hover { color: var(--ink); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.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: 12px 24px;
    border-radius: var(--rounded-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    min-height: 48px;
}

.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: 12px 24px;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s;
    min-height: 48px;
}

.btn-secondary:active { border-color: var(--primary); color: var(--ink); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    transition: all 0.2s;
}

/* HERO */
.hero-band {
    padding: var(--spacing-section) 0;
    background: var(--canvas);
}

.hero-band .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content { max-width: 560px; }

.hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.hero-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECTION HEADING */
.section-heading {
    padding: var(--spacing-section) 0 var(--spacing-xxl);
    text-align: center;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.section-heading p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
    max-width: 560px;
    margin: 0 auto;
}

/* ARTICLE CARDS GRID */
.articles-section { padding-bottom: var(--spacing-section); }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.article-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: border-color 0.15s;
}

.article-card:active { border-color: var(--primary); }

.article-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--surface-soft);
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-body { padding: var(--spacing-md); }

.article-category {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-xs);
}

.article-card-body h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.article-card-body p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: var(--spacing-sm);
}

.article-meta {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16px;
    color: var(--muted);
}

/* SIGNATURE CORAL CARD */
.signature-coral-card {
    background: var(--signature-coral);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
    margin: 0 0 var(--spacing-section);
}

.signature-coral-card h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
}

.signature-coral-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--spacing-xl);
    max-width: 520px;
}

.btn-secondary-on-dark {
    display: inline-flex;
    align-items: center;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: var(--rounded-lg);
    border: none;
    text-decoration: none;
    min-height: 48px;
}

/* DEMO GRID SECTION */
.demo-grid-section { padding-bottom: var(--spacing-section); }

.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-yellow { background: var(--signature-yellow); }
.demo-card-cream { background: var(--signature-cream); }
.demo-card-forest { background: var(--signature-forest); color: var(--on-primary); }

.demo-card img {
    width: 100%;
    border-radius: var(--rounded-sm);
    margin-bottom: var(--spacing-sm);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.demo-card h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.demo-card-forest h3 { color: var(--on-primary); }

.demo-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
}

.demo-card-forest p { color: rgba(255,255,255,0.8); }

/* SIGNATURE FOREST CARD */
.signature-forest-card {
    background: var(--signature-forest);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    color: var(--on-primary);
    margin-bottom: var(--spacing-section);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.signature-forest-card h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}

.signature-forest-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--spacing-xl);
}

.signature-forest-card img {
    border-radius: var(--rounded-md);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* CREAM CALLOUT */
.cream-callout {
    background: var(--signature-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xxl);
    margin-bottom: var(--spacing-section);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.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.6;
    color: var(--body);
}

.cream-callout-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.cream-callout-list li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    padding-left: var(--spacing-md);
    position: relative;
}

.cream-callout-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--signature-coral);
    font-weight: 500;
}

/* DARK CTA BAND */
.dark-cta-band {
    background: var(--surface-dark);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    margin-bottom: var(--spacing-section);
    text-align: center;
}

.dark-cta-band h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}

.dark-cta-band p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* CONTACT FORM */
.contact-section {
    background: var(--surface-soft);
    padding: var(--spacing-section) 0;
}

.contact-section h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.contact-section > .container > p {
    text-align: center;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
}

.contact-form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group { display: flex; flex-direction: column; gap: var(--spacing-xs); }

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    background: var(--canvas);
    color: var(--ink);
    font-size: 14px;
    font-family: var(--font-family);
    padding: 12px 16px;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-sm);
    height: 44px;
    outline: none;
    transition: border-color 0.15s;
}

.form-group textarea { height: auto; min-height: 100px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus { border-color: #458fff; }

/* CTA LIGHT BAND */
.cta-band-light {
    background: var(--surface-strong);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    margin: 0 0 var(--spacing-section);
    text-align: center;
}

.cta-band-light h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.cta-band-light p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* FOOTER */
footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--spacing-section) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin-top: var(--spacing-sm);
    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 a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p { font-size: 14px; color: var(--muted); }

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal 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-md) var(--spacing-xxl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    flex: 1;
    min-width: 240px;
}

.cookie-banner p a { color: rgba(255,255,255,0.7); 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;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-legal-outline {
    background: transparent;
    color: rgba(255,255,255,0.75);
    font-size: 13.12px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

/* PAGE CONTENT */
.page-hero {
    padding: var(--spacing-section) 0 var(--spacing-xxl);
    border-bottom: 1px solid var(--hairline);
    margin-bottom: var(--spacing-section);
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
    max-width: 720px;
}

.page-hero p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
    max-width: 600px;
}

.page-content { padding-bottom: var(--spacing-section); }

.page-content h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.12px;
    color: var(--ink);
    margin: var(--spacing-xxl) 0 var(--spacing-md);
}

.page-content h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.page-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-md);
    max-width: 720px;
}

.page-content ul, .page-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.page-content li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

/* ARTICLE PAGE */
.article-header {
    padding: var(--spacing-section) 0 var(--spacing-xxl);
}

.article-header .breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}

.article-header .breadcrumb a { color: var(--muted); }
.article-header .breadcrumb span { color: var(--hairline); }

.article-header h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    max-width: 760px;
    margin-bottom: var(--spacing-lg);
}

.article-header .article-meta-full {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.16px;
}

.article-featured-image {
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
    border-radius: var(--rounded-lg);
    margin-bottom: var(--spacing-section);
}

.article-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-xxl);
    padding-bottom: var(--spacing-section);
}

.article-text h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.12px;
    color: var(--ink);
    margin: var(--spacing-xxl) 0 var(--spacing-md);
}

.article-text h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.article-text p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-md);
}

.article-text ul, .article-text ol {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.article-text li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

.article-text img {
    border-radius: var(--rounded-md);
    margin: var(--spacing-xl) 0;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.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 h4 {
    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-sm); }
.sidebar-card a { font-size: 14px; color: var(--link); }

/* RELATED ARTICLES */
.related-section { padding-bottom: var(--spacing-section); border-top: 1px solid var(--hairline); padding-top: var(--spacing-xxl); }

.related-section h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-xl);
}

/* MOBILE NAV SHEET */
.mobile-nav-sheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--canvas);
    flex-direction: column;
    padding: var(--spacing-xxl);
}

.mobile-nav-sheet.open { display: flex; }

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ink);
    margin-bottom: var(--spacing-xl);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    flex: 1;
}

.mobile-nav-links a {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
}

/* DISCLAIMER */
.disclaimer-box {
    background: var(--surface-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-sm);
    padding: var(--spacing-lg);
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
    margin: var(--spacing-xl) 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-band .container { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .signature-forest-card { grid-template-columns: 1fr; }
    .cream-callout { grid-template-columns: 1fr; }
    .article-body { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 var(--spacing-lg); }
    .nav-menu, .nav-actions { display: none; }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 28px; }
    .articles-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .signature-coral-card h2,
    .signature-forest-card h2,
    .dark-cta-band h2,
    .cta-band-light h2,
    .section-heading h2 { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; }
    .page-hero h1,
    .article-header h1 { font-size: 28px; }
    .article-featured-image { aspect-ratio: 16/9; }
}
