*,
*::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;
    --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-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 96px;
    --max-width: 1280px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

html {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.25;
    color: var(--body);
    background: var(--canvas);
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
}

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

a:active {
    color: var(--link-active);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

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

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xxl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: var(--spacing-lg);
}

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

.nav-logo span {
    color: var(--muted);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex: 1;
    justify-content: flex-end;
}

.nav-menu li a {
    font-size: 14px;
    font-weight: 400;
    color: var(--body);
    text-decoration: none;
    padding: var(--spacing-xxs) 0;
}

.nav-menu li a.active {
    color: var(--ink);
    font-weight: 500;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-sm);
    cursor: pointer;
}

.nav-burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.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-text {
    max-width: 580px;
}

.hero-kicker {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.16px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

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

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

.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);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:active {
    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);
    text-decoration: none;
    border: 1px solid var(--hairline);
    cursor: pointer;
}

.btn-secondary:active {
    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);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

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

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

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

.section-band--soft {
    background: var(--surface-soft);
}

.section-band--strong {
    background: var(--surface-strong);
}

.section-band--cream {
    background: var(--signature-cream);
}

.section-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

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

.card-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;
    display: flex;
    flex-direction: column;
}

.article-card__thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.article-card__body {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16px;
    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:active {
    color: var(--link-active);
}

.article-card__excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.article-card__meta {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.16px;
}

.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);
    max-width: 560px;
}

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

.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 {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--spacing-xl);
}

.signature-cards-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

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

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

.dark-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
}

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

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

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

.demo-card__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
}

.demo-card__img {
    margin-top: var(--spacing-md);
    border-radius: var(--rounded-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.demo-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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;
    line-height: 1.2;
    color: var(--ink);
    max-width: 480px;
}

.contact-form-section {
    background: var(--canvas);
}

.contact-form {
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxs);
}

.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: var(--font);
    padding: 12px 16px;
    height: 44px;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-sm);
    outline: none;
    width: 100%;
}

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

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

.form-disclaimer {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--spacing-section) 0 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-xxl);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xxl);
}

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

.footer-brand span {
    color: var(--muted);
    font-weight: 400;
}

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: var(--spacing-md);
}

.footer-address {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

.footer-address a {
    color: var(--muted);
    text-decoration: none;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

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

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-xxl);
    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 a {
    color: var(--muted);
    text-decoration: none;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    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-lg);
    flex-wrap: wrap;
}

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

.cookie-banner p a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
}

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

.btn-cookie {
    font-size: 13.12px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
}

.btn-cookie--accept {
    background: var(--link);
    color: var(--on-primary);
}

.btn-cookie--reject {
    background: transparent;
    color: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.3);
}

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

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

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

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

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

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

.article-content ul {
    list-style: disc;
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.article-content ul li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-xxs);
}

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

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

.article-meta {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.16px;
    margin-bottom: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.article-hero-img {
    margin-bottom: var(--spacing-xxl);
    border-radius: var(--rounded-md);
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.article-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

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

.sidebar-card h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.sidebar-card ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.sidebar-card ul li a {
    font-size: 13px;
    color: var(--link);
}

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

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

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

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

.page-content ul {
    list-style: disc;
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.page-content ul li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-xxs);
}

.page-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--spacing-xxl);
}

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

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

.breadcrumb span {
    color: var(--muted);
}

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .signature-cards-grid {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .article-page .container {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
    }
    .hero-band .container {
        grid-template-columns: 1fr;
    }
    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 64px;
        --spacing-xxl: 24px;
    }

    .nav-burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--canvas);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: var(--spacing-xl) var(--spacing-xxl);
        gap: var(--spacing-xl);
        transform: translateX(100%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        z-index: 99;
    }

    .nav-menu.is-open {
        transform: translateX(0);
    }

    .nav-menu li a {
        font-size: 20px;
    }

    .hero-h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .demo-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-band h2 {
        font-size: 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .signature-coral-card h2,
    .signature-forest-card h2,
    .dark-card h2 {
        font-size: 24px;
    }

    .article-content h1 {
        font-size: 28px;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}
