*, *::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;
    --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;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", 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 { display: block; max-width: 100%; height: auto; }

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

@media (max-width: 767px) {
    .container { padding: 0 var(--spacing-md); }
}

/* 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 {
    display: flex;
    align-items: center;
    height: 100%;
    gap: var(--spacing-xl);
}

.nav-logo {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

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

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

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

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    color: var(--ink);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 4px 0;
    transition: transform 0.2s;
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--canvas);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-xl) var(--spacing-md);
        gap: var(--spacing-lg);
        z-index: 99;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 18px; }
    .nav-hamburger { display: block; margin-left: auto; }
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    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:hover { background: var(--primary-active); color: var(--on-primary); }

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

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

.btn-legal {
    display: inline-block;
    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 */
.hero-band {
    padding: var(--spacing-section) 0;
    background: var(--canvas);
}

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

.hero-band p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 520px;
    margin-bottom: var(--spacing-xl);
}

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

/* SECTIONS */
.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-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-xxl);
}

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

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

.sig-coral-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    max-width: 560px;
    opacity: 0.9;
}

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

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

.sig-forest-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    max-width: 560px;
    opacity: 0.9;
}

/* DARK CARD */
.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;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}

.hero-card-dark p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    max-width: 560px;
    opacity: 0.85;
}

/* CREAM CALLOUT */
.cream-callout {
    background: var(--sig-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
}

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

@media (max-width: 1023px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .articles-grid { grid-template-columns: 1fr; }
}

.article-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: var(--spacing-md);
}

.article-card-cat {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    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-title:hover { color: var(--link); }

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

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

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

.article-header .article-cat {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-md);
}

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

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

.article-header .article-lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--body);
    max-width: 680px;
}

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

.article-content {
    max-width: 720px;
}

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

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

.article-content p {
    font-size: 16px;
    line-height: 1.7;
    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: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

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

/* FEATURES LIST */
.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

@media (max-width: 1023px) {
    .features-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .features-list { grid-template-columns: 1fr; }
}

.feature-item {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xl);
}

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

.feature-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
}

/* CTA BAND */
.cta-band {
    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);
    margin: var(--spacing-section) 0;
    flex-wrap: wrap;
}

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

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

.contact-form {
    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-xs);
}

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

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

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

@media (max-width: 1023px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin-top: var(--spacing-sm);
    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; }

.footer-col ul li { margin-bottom: var(--spacing-xs); }

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

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

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

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

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

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

/* 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: 200;
    flex-wrap: wrap;
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 680px;
}

#cookie-banner p a { color: #7aabff; }

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

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

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

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

.page-content h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.page-content p {
    font-size: 16px;
    line-height: 1.7;
    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: 16px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

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

/* BREADCRUMB */
.breadcrumb {
    padding: var(--spacing-md) 0;
    font-size: 14px;
    color: var(--muted);
    border-bottom: 1px solid var(--hairline);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 var(--spacing-xs); }

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

@media (max-width: 1023px) {
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .demo-grid { grid-template-columns: 1fr; }
}

.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.cream { background: var(--sig-cream); }

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

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

/* ABOUT PAGE */
.about-hero {
    padding: var(--spacing-section) 0;
    background: var(--canvas);
}

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

.about-hero p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--body);
    max-width: 600px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-section);
    padding: var(--spacing-section) 0;
    align-items: start;
}

@media (max-width: 767px) {
    .two-col { grid-template-columns: 1fr; gap: var(--spacing-xl); padding: var(--spacing-xl) 0; }
    .hero-band h1 { font-size: 28px; }
    .hero-band p { font-size: 16px; }
    .sig-coral-card h2, .sig-forest-card h2, .hero-card-dark h2 { font-size: 24px; }
    .article-header h1 { font-size: 28px; }
    .page-content h1 { font-size: 28px; }
    .about-hero h1 { font-size: 28px; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    #cookie-banner { padding: var(--spacing-md); }
}
