*, *::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;
    --signature-coral: #aa2d00;
    --signature-forest: #0a2e0e;
    --signature-cream: #f5e9d4;
    --signature-peach: #fcab79;
    --signature-mint: #a8d8c4;
    --signature-yellow: #f4d35e;
    --link: #1b61c9;
    --link-active: #1a3866;
    --info-border: #458fff;
    --border-strong: #9297a0;

    --rounded-xs: 2px;
    --rounded-sm: 6px;
    --rounded-md: 10px;
    --rounded-lg: 12px;
    --rounded-full: 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: -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);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }

.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;
}
.top-nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}
.nav-brand {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    text-decoration: none;
}
.nav-brand:hover { color: var(--ink); }
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}
.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);
}
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 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;
    color: var(--ink);
    font-weight: 400;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--hairline);
}

/* 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;
    min-height: 48px;
}
.btn-primary:hover { background: var(--primary); color: var(--on-primary); }
.btn-primary:active { background: var(--primary-active); }

.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;
    min-height: 48px;
}
.btn-secondary:hover { color: var(--ink); border-color: var(--border-strong); }

.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;
    min-height: 48px;
}
.btn-secondary-on-dark:hover { color: var(--ink); }

/* TYPOGRAPHY */
.display-xl { font-size: 48px; font-weight: 500; line-height: 1.1; }
.display-lg { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); }
.display-md { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--ink); }
.title-lg { font-size: 24px; font-weight: 400; line-height: 1.35; letter-spacing: 0.12px; color: var(--ink); }
.title-md { font-size: 20px; font-weight: 400; line-height: 1.5; color: var(--ink); }
.title-sm { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.label-md { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.body-md { font-size: 14px; font-weight: 400; line-height: 1.25; color: var(--body); }
.caption { font-size: 14px; font-weight: 500; line-height: 1.35; letter-spacing: 0.16px; }

/* HERO BAND */
.hero-band {
    padding: var(--spacing-section) 0;
    background: var(--canvas);
}
.hero-band .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xl);
    max-width: 680px;
}
.hero-band h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
}
.hero-band p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--body);
}
.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* SECTIONS */
.section {
    padding: var(--spacing-section) 0;
    background: var(--canvas);
}
.section-title {
    margin-bottom: var(--spacing-xl);
}

/* SIGNATURE CORAL CARD */
.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;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}
.signature-coral-card p {
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--spacing-xl);
    font-size: 14px;
    line-height: 1.25;
}

/* SIGNATURE FOREST CARD */
.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;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}
.signature-forest-card p {
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--spacing-xl);
    font-size: 14px;
    line-height: 1.25;
}

/* HERO CARD DARK */
.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 {
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--spacing-xl);
    font-size: 14px;
    line-height: 1.25;
}

/* CREAM CALLOUT */
.cream-callout-card {
    background: var(--signature-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
}
.cream-callout-card h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}
.cream-callout-card p { font-size: 14px; color: var(--body); line-height: 1.25; }

/* DEMO GRID */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}
.demo-grid-card {
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
    overflow: hidden;
}
.demo-grid-card img {
    width: 100%;
    border-radius: var(--rounded-md);
    display: block;
    margin-bottom: var(--spacing-sm);
    aspect-ratio: 4/3;
    object-fit: cover;
}
.demo-grid-card.peach { background: var(--signature-peach); }
.demo-grid-card.mint { background: var(--signature-mint); }
.demo-grid-card.yellow { background: var(--signature-yellow); }
.demo-grid-card.canvas { background: var(--canvas); border: 1px solid var(--hairline); }
.demo-grid-card .label-md { margin-bottom: var(--spacing-xs); }
.demo-grid-card .body-md { font-size: 13px; }

/* ARTICLE CARD */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}
.article-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
    border: 1px solid var(--hairline);
}
.article-card img {
    width: 100%;
    border-radius: var(--rounded-md);
    display: block;
    margin-bottom: var(--spacing-sm);
    aspect-ratio: 16/9;
    object-fit: cover;
}
.article-card .tag {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-bottom: var(--spacing-xs);
}
.article-card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--link); }
.article-card .meta { font-size: 13px; color: var(--muted); margin-top: var(--spacing-sm); }

/* LOGO STRIP */
.logo-strip {
    padding: var(--spacing-xl) 0;
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
.logo-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}
.logo-strip span {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}

/* CTA BAND LIGHT */
.cta-band-light {
    background: var(--surface-strong);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    text-align: center;
}
.cta-band-light h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}
.cta-band-light p {
    font-size: 14px;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
}

/* INPUT */
.text-input {
    background: var(--canvas);
    color: var(--ink);
    font-size: 14px;
    font-weight: 400;
    border-radius: var(--rounded-sm);
    padding: 12px 16px;
    height: 44px;
    border: 1px solid var(--hairline);
    width: 100%;
    outline: none;
}
.text-input:focus { border-color: var(--info-border); }

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 480px;
}
.form-group { display: flex; flex-direction: column; gap: var(--spacing-xs); }
.form-label { font-size: 14px; font-weight: 500; color: var(--ink); }

/* ARTICLE PAGE */
.article-hero {
    padding: var(--spacing-section) 0 var(--spacing-xl);
    background: var(--canvas);
}
.article-hero h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    max-width: 760px;
    margin-bottom: var(--spacing-md);
}
.article-hero .article-meta {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: var(--spacing-xl);
}
.article-hero img {
    width: 100%;
    border-radius: var(--rounded-lg);
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.article-body {
    padding: var(--spacing-xl) 0 var(--spacing-section);
    background: var(--canvas);
}
.article-body .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-xxl);
    align-items: start;
}
.article-content h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}
.article-content h3 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    margin: var(--spacing-lg) 0 var(--spacing-xs);
}
.article-content p {
    font-size: 14px;
    line-height: 1.6;
    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.6;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}
.article-content a { color: var(--link); }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-box {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}
.sidebar-box h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}
.sidebar-box ul { list-style: none; padding: 0; }
.sidebar-box li { margin-bottom: var(--spacing-xs); }
.sidebar-box a { font-size: 14px; color: var(--link); }

/* PAGE CONTENT */
.page-content {
    padding: var(--spacing-section) 0;
    background: var(--canvas);
}
.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: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: var(--spacing-xl) 0 var(--spacing-sm);
}
.page-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: var(--spacing-md);
    max-width: 760px;
}
.page-content ul {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    max-width: 760px;
}
.page-content li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

/* FOOTER */
.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 repeat(5, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}
.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    margin-top: var(--spacing-sm);
    max-width: 220px;
}
.footer-col h5 {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--spacing-xs); }
.footer-col a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-legal {
    border-top: 1px solid var(--hairline);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}
.footer-legal p { font-size: 14px; color: var(--muted); }
.footer-legal-links { display: flex; gap: var(--spacing-md); }
.footer-legal-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-legal-links 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-md) var(--spacing-xxl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    z-index: 200;
    flex-wrap: wrap;
}
.cookie-banner p { font-size: 14px; color: rgba(255,255,255,0.85); max-width: 700px; }
.cookie-banner p a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--spacing-sm); flex-shrink: 0; }
.btn-cookie-accept {
    background: var(--canvas);
    color: var(--ink);
    font-size: 13.12px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-cookie-reject {
    background: transparent;
    color: rgba(255,255,255,0.7);
    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;
    white-space: nowrap;
}

/* DISCLAIMER */
.disclaimer {
    background: var(--surface-soft);
    border-left: 3px solid var(--hairline);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* BREADCRUMB */
.breadcrumb {
    font-size: 14px;
    color: var(--muted);
    padding: var(--spacing-md) 0;
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--border-strong); }

/* INFO BOX */
.info-box {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}
.info-box h4 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-sm); }
.info-box p, .info-box li { font-size: 14px; color: var(--body); line-height: 1.6; }
.info-box ul { padding-left: var(--spacing-lg); }
.info-box li { margin-bottom: var(--spacing-xs); }

/* RELATED ARTICLES */
.related-articles { margin-top: var(--spacing-xl); }
.related-articles h3 { font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-lg); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }
.related-card {
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
}
.related-card .tag { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin-bottom: var(--spacing-xs); }
.related-card h4 { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.related-card h4 a { color: var(--ink); text-decoration: none; }
.related-card h4 a:hover { color: var(--link); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .container { padding: 0 var(--spacing-lg); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .article-body .container { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .nav-hamburger { display: flex; }
    .hero-band h1, .article-hero h1 { font-size: 28px; }
    .display-md { font-size: 24px; }
    .display-xl { font-size: 32px; }
    .demo-grid { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-band { padding: var(--spacing-xxl) 0; }
    .section { padding: var(--spacing-xxl) 0; }
    .signature-coral-card, .signature-forest-card, .hero-card-dark { padding: var(--spacing-xl); }
    .signature-coral-card h2, .signature-forest-card h2, .hero-card-dark h2 { font-size: 24px; }
    .cookie-banner { padding: var(--spacing-md); }
    .logo-strip .container { justify-content: center; }
    .logo-strip span:nth-child(n+4) { display: none; }
}
@media (min-width: 1440px) {
    .container { padding: 0 var(--spacing-xxl); }
}
