@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Inter+Display:wght@400;475;500&display=swap');

*, *::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;
    --signature-coral: #aa2d00;
    --signature-forest: #0a2e0e;
    --signature-cream: #f5e9d4;
    --link: #1b61c9;
    --info-border: #458fff;
    --rounded-xs: 2px;
    --rounded-sm: 6px;
    --rounded-md: 10px;
    --rounded-lg: 12px;
    --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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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;
}

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;
}

.top-nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Inter Display', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 400;
    color: var(--body);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.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;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-primary:active {
    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;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s;
    white-space: nowrap;
}

/* HERO BAND */
.hero-band {
    background: var(--canvas);
    padding: var(--spacing-section) 0;
}

.hero-band .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-text h1 {
    font-family: 'Inter Display', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.hero-text p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
    max-width: 460px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    border-radius: var(--rounded-lg);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
}

/* DISPLAY TYPOGRAPHY */
.display-xl {
    font-family: 'Inter Display', sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--ink);
}

.display-lg {
    font-family: 'Inter Display', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
}

.display-md {
    font-family: 'Inter Display', sans-serif;
    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);
}

/* SECTION */
.section {
    padding: var(--spacing-section) 0;
}

.section-header {
    margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
    font-family: 'Inter Display', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 14px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.6;
}

/* 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-family: 'Inter Display', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}

.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 {
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: var(--rounded-lg);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

/* 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-family: 'Inter Display', sans-serif;
    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.8);
    margin-bottom: var(--spacing-xl);
}

/* 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-family: 'Inter Display', sans-serif;
    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;
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--spacing-xl);
    max-width: 540px;
}

/* CREAM CALLOUT */
.cream-callout-card {
    background: var(--signature-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
}

/* DEMO GRID */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.demo-grid-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
    border: 1px solid var(--hairline);
}

.demo-grid-card.peach { background: #fcab79; }
.demo-grid-card.mint { background: #a8d8c4; }
.demo-grid-card.cream { background: var(--signature-cream); }

.demo-grid-card img {
    border-radius: var(--rounded-md);
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
}

.demo-grid-card h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.demo-grid-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

/* ARTICLE CARDS */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.article-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body {
    padding: var(--spacing-md);
}

.article-card-tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    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);
}

.article-card-meta {
    font-size: 13px;
    color: var(--muted);
}

/* 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-family: 'Inter Display', sans-serif;
    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);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* LOGO STRIP */
.logo-strip {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.logo-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.logo-strip-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.logo-strip-logos {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.logo-strip-logos span {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

/* STATS ROW */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-item {
    padding: var(--spacing-xl);
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    text-align: center;
}

.stat-number {
    font-family: 'Inter Display', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 14px;
    color: var(--body);
    line-height: 1.4;
}

/* FEATURE CARD */
.feature-card-tabbed {
    background: var(--surface-soft);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xl);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--spacing-xl);
    min-height: 360px;
}

.tab-rail {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.tab-item {
    font-size: 20px;
    font-weight: 400;
    color: var(--muted);
    cursor: pointer;
    padding: var(--spacing-sm) 0;
    border-left: 2px solid transparent;
    padding-left: var(--spacing-md);
    transition: color 0.15s;
}

.tab-item.active {
    color: var(--ink);
    border-left-color: var(--primary);
}

.tab-content {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

.tab-content h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
    line-height: 1.35;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* FORM */
.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%;
    font-family: inherit;
    outline: none;
}

.text-input:focus {
    border-color: var(--info-border);
}

.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);
}

/* 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(4, 1fr);
    gap: var(--spacing-xl);
    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: 240px;
}

.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-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--muted);
}

/* ARTICLE PAGE */
.article-hero {
    padding: var(--spacing-section) 0 var(--spacing-xxl);
    background: var(--canvas);
}

.article-hero .container {
    max-width: 800px;
}

.article-tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-md);
}

.article-hero h1 {
    font-family: 'Inter Display', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.article-hero-meta {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: var(--spacing-xl);
}

.article-hero-image {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
}

.article-body {
    padding: var(--spacing-xxl) 0 var(--spacing-section);
}

.article-body .container {
    max-width: 800px;
}

.article-body h2 {
    font-family: 'Inter Display', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--ink);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-md);
}

.article-body h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.article-body p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--body);
    margin-bottom: var(--spacing-md);
}

.article-body ul, .article-body ol {
    margin-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.article-body li {
    font-size: 14px;
    line-height: 1.75;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

.article-body a {
    color: var(--link);
}

.article-body .info-box {
    background: var(--signature-cream);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.article-body .info-box h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.article-body figure {
    margin: var(--spacing-xl) 0;
}

.article-body figure img {
    border-radius: var(--rounded-md);
    width: 100%;
}

.article-body figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: var(--spacing-xs);
    text-align: center;
}

/* BREADCRUMB */
.breadcrumb {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--hairline);
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    color: var(--muted);
    flex-wrap: wrap;
}

.breadcrumb-inner a { color: var(--muted); }
.breadcrumb-inner span { color: var(--body); }

/* CONTACT FORM */
.contact-section {
    background: var(--surface-soft);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
}

.contact-form {
    max-width: 560px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

/* PAGE SECTIONS */
.page-hero {
    padding: var(--spacing-section) 0 var(--spacing-xxl);
    background: var(--canvas);
}

.page-hero h1 {
    font-family: 'Inter Display', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.page-hero p {
    font-size: 14px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.6;
}

.page-content {
    padding: var(--spacing-xxl) 0 var(--spacing-section);
}

.page-content h2 {
    font-family: 'Inter Display', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-md);
    line-height: 1.35;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.page-content p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--body);
    margin-bottom: var(--spacing-md);
    max-width: 720px;
}

.page-content ul, .page-content ol {
    margin-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    max-width: 720px;
}

.page-content li {
    font-size: 14px;
    line-height: 1.75;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

/* 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);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    max-width: 640px;
}

.cookie-banner p a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
}

.cookie-buttons {
    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;
    font-family: inherit;
    white-space: nowrap;
}

.btn-legal-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;
    font-family: inherit;
    white-space: nowrap;
}

/* HAMBURGER */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* DISCLAIMER */
.disclaimer {
    background: var(--surface-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.disclaimer p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 var(--spacing-md); }

    .nav-menu, .nav-right { display: none; }
    .nav-hamburger { display: flex; }

    .hero-band .container { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero-text h1 { font-size: 28px; }

    .display-md, .section-header h2 { font-size: 24px; }

    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .feature-card-tabbed { grid-template-columns: 1fr; }
    .tab-rail { flex-direction: row; flex-wrap: wrap; overflow-x: auto; }

    .cookie-banner { flex-direction: column; gap: var(--spacing-md); }

    .contact-form .form-row { grid-template-columns: 1fr; }

    .article-hero h1 { font-size: 28px; }
    .article-hero-image { height: 240px; }

    .logo-strip-inner { flex-direction: column; align-items: flex-start; }

    .signature-coral-card, .signature-forest-card, .hero-card-dark, .cta-band-light {
        padding: var(--spacing-xl);
    }

    .signature-coral-card h2, .signature-forest-card h2, .hero-card-dark h2 { font-size: 24px; }
}
