*, *::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;
    --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;
    --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', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    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: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);
}

/* TOP NAV */
.top-nav {
    height: 64px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

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

.nav-brand a {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.nav-brand span { color: var(--signature-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-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    flex-direction: column;
    gap: 5px;
}

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

/* HERO BAND */
.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 h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
    max-width: 480px;
}

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

/* BUTTONS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: var(--rounded-lg);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
}

.btn-primary:active,
.btn-primary:hover {
    background: var(--primary-active);
    color: var(--on-primary);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    cursor: pointer;
    transition: border-color 0.15s;
    text-decoration: none;
}

.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

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

.btn-legal:hover { background: var(--link-active); color: var(--on-primary); }

.btn-legal-reject {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--muted);
    font-size: 13.12px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: 1px solid var(--hairline);
    cursor: pointer;
    transition: border-color 0.15s;
}

.btn-legal-reject:hover { border-color: var(--ink); color: var(--ink); }

/* SIGNATURE CARDS */
.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);
}

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

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

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

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

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

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

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

/* ARTICLE CARDS */
.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;
    transition: border-color 0.15s;
}

.article-card:hover { border-color: #9297a0; }

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

.article-card-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-xs);
    display: block;
}

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

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

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

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

.demo-card {
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
}

.demo-card-peach { background: var(--signature-peach); }
.demo-card-mint { background: var(--signature-mint); }
.demo-card-cream { background: var(--signature-cream); }

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

.demo-card p {
    font-size: 14px;
    line-height: 1.5;
    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: 0 0 var(--spacing-section);
}

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

.cta-band p {
    font-size: 14px;
    color: var(--body);
    margin-top: var(--spacing-xs);
}

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

/* CONTACT FORM */
.contact-form {
    background: var(--surface-soft);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
}

.contact-form h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.contact-form p {
    font-size: 14px;
    color: var(--body);
    margin-bottom: var(--spacing-xxl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

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

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

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

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

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

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

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

.article-hero .breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--spacing-lg);
}

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

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

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

.article-hero-image {
    border-radius: var(--rounded-md);
    overflow: hidden;
    aspect-ratio: 16/7;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: var(--spacing-section) 0;
}

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

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

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

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

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

.article-content figure {
    margin: var(--spacing-xl) 0;
}

.article-content figure img {
    border-radius: var(--rounded-md);
    width: 100%;
}

.article-content figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: var(--spacing-xs);
    text-align: center;
}

.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);
    border: 1px solid var(--hairline);
}

.sidebar-card h3 {
    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-xs);
}

.sidebar-card ul a {
    font-size: 14px;
    color: var(--link);
    line-height: 1.5;
}

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

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

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

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

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

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

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

.page-content ul,
.page-content ol {
    margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.page-content li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
}

/* 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: 999;
    border-top: 1px solid #2d3240;
}

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

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

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

/* ABOUT PAGE */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.team-card {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xl);
    border: 1px solid var(--hairline);
}

.team-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.team-card .team-role {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--spacing-md);
}

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

/* CONTACT INFO */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: var(--spacing-lg);
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail-item span:first-child {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.contact-detail-item span:last-child,
.contact-detail-item a {
    font-size: 16px;
    color: var(--body);
}

/* UTILITY */
.mt-xl { margin-top: var(--spacing-xl); }
.mt-xxl { margin-top: var(--spacing-xxl); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.text-muted { color: var(--muted); font-size: 13px; }
.updated-date { font-size: 13px; color: var(--muted); margin-top: var(--spacing-xxl); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .article-grid { grid-template-columns: 1fr 1fr; }
    .demo-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .hero-band .container { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 var(--spacing-md); }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: var(--spacing-md); gap: var(--spacing-md); }
    .nav-links.open { display: flex; }
    .nav-hamburger { display: flex; }
    .hero-content h1 { font-size: 28px; }
    .article-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .cta-band h2 { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .signature-coral-card h2, .signature-forest-card h2 { font-size: 24px; }
    .article-hero h1 { font-size: 28px; }
    .page-hero h1 { font-size: 28px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .spacing-section { padding: 48px 0; }
}
