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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--body);
    background: var(--canvas);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

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

@media (max-width: 768px) {
    .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-brand {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    flex-shrink: 0;
    letter-spacing: -0.3px;
}

.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-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

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

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

.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;
    text-decoration: none;
    display: inline-block;
}

.btn-legal {
    background: var(--link);
    color: var(--on-primary);
    font-size: 13.12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--canvas);
    z-index: 99;
    padding: var(--spacing-xl);
    flex-direction: column;
    gap: var(--spacing-lg);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-size: 18px;
    font-weight: 400;
    color: var(--body);
    text-decoration: none;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--hairline);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* 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: 14px;
    font-weight: 400;
    color: var(--body);
    max-width: 520px;
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.hero-meta {
    margin-top: var(--spacing-xl);
    font-size: 13px;
    color: var(--muted);
}

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

.signature-coral h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-lg);
}

.signature-coral p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--spacing-xl);
    max-width: 520px;
    line-height: 1.6;
}

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

.signature-forest h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-lg);
}

.signature-forest p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--spacing-xl);
    max-width: 520px;
    line-height: 1.6;
}

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

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

.hero-card-dark p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--spacing-xl);
    max-width: 520px;
    line-height: 1.6;
}

.btn-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;
    text-decoration: none;
    display: inline-block;
}

/* SECTION */
.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-lg);
}

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

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

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

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

.article-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    overflow: hidden;
    border: 1px solid var(--hairline);
    text-decoration: none;
    display: block;
    transition: border-color 0.15s;
}

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

.article-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

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

.article-card-tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    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);
    margin-top: var(--spacing-xs);
}

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

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

.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: 6px;
    margin-bottom: var(--spacing-sm);
    display: block;
}

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

.demo-card-text {
    font-size: 13px;
    color: var(--body);
    line-height: 1.5;
}

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

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

.cream-callout h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.cream-callout p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    max-width: 600px;
}

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

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

/* FULL SIGNATURE SECTIONS */
.section-coral { padding: var(--spacing-section) 0; background: var(--canvas); }
.section-dark { padding: var(--spacing-section) 0; background: var(--canvas); }

/* FORM */
.contact-form {
    max-width: 480px;
}

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

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

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

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

.form-group input:focus,
.form-group textarea: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: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

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

.footer-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    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);
    text-decoration: none;
}

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

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

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

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

.footer-bottom-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}

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

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

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

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

/* ARTICLE PAGE */
.article-hero-img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--rounded-md);
    display: block;
    margin-bottom: var(--spacing-xxl);
}

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

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

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

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

.article-content ul, .article-content ol {
    font-size: 14px;
    color: var(--body);
    line-height: 1.75;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
}

.article-content li { margin-bottom: 6px; }

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

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

.article-content blockquote {
    border-left: 3px solid var(--signature-coral);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    font-size: 16px;
    color: var(--ink);
    line-height: 1.6;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
}

.article-meta-bar .tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--surface-soft);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 4px;
}

/* PROSE PAGES */
.prose-content {
    max-width: 740px;
}

.prose-content h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: var(--spacing-xxl) 0 var(--spacing-md);
}

.prose-content h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}

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

.prose-content ul {
    font-size: 14px;
    color: var(--body);
    line-height: 1.75;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
}

.prose-content li { margin-bottom: 6px; }

.prose-content a {
    color: var(--link);
    text-decoration: none;
}

/* BREADCRUMB */
.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--spacing-xl);
    display: flex;
    gap: 6px;
    align-items: center;
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--hairline); }

/* RELATED ARTICLES */
.related-section { padding: var(--spacing-section) 0; background: var(--surface-soft); }

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

.cookie-banner p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    line-height: 1.5;
}

.cookie-banner p a {
    color: #fff;
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .cookie-banner { padding: var(--spacing-md); }
    .cookie-banner p { font-size: 12px; }
}

/* UTILS */
.text-muted { color: var(--muted); }
.text-ink { color: var(--ink); }
.mt-section { margin-top: var(--spacing-section); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-xxl { margin-bottom: var(--spacing-xxl); }
.gap-xl { gap: var(--spacing-xl); }

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

@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; }
    .hero-band h1 { font-size: 28px; }
    .page-hero h1 { font-size: 28px; }
    .signature-coral h2, .signature-forest h2, .hero-card-dark h2 { font-size: 24px; }
    .cta-band h2 { font-size: 24px; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .articles-grid { grid-template-columns: 1fr; }
    .site-footer { padding: var(--spacing-xl) 0; }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

hr.divider {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: var(--spacing-xxl) 0;
}
