*, *::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;
    --sig-coral: #aa2d00;
    --sig-forest: #0a2e0e;
    --sig-cream: #f5e9d4;
    --sig-peach: #fcab79;
    --sig-mint: #a8d8c4;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    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 { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

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

nav.top-nav .nav-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}

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

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    flex: 1;
}

.nav-links a {
    color: var(--body);
    font-size: 14px;
    font-weight: 400;
}

.nav-links a:hover { color: var(--ink); text-decoration: none; }

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

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

.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { font-size: 18px; color: var(--ink); font-weight: 500; }

.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    line-height: 1.4;
}

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

.btn-secondary {
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--hairline);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    line-height: 1.4;
}

.btn-secondary:hover { text-decoration: none; }

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

.hero-band {
    padding: 96px 0;
    background: var(--canvas);
}

.hero-band h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    max-width: 720px;
    margin-bottom: 24px;
}

.hero-band p {
    font-size: 14px;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-band .btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.section-band {
    padding: 96px 0;
}

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

.section-band .section-lead {
    font-size: 14px;
    color: var(--body);
    max-width: 640px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.sig-coral {
    background: var(--sig-coral);
    padding: 96px 0;
}

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

.sig-coral p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.sig-forest {
    background: var(--sig-forest);
    padding: 96px 0;
}

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

.sig-forest p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.sig-dark {
    background: var(--surface-dark);
    padding: 96px 0;
    border-radius: 12px;
    margin: 0 48px;
}

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

.sig-dark p {
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    line-height: 1.6;
}

.cream-callout {
    background: var(--sig-cream);
    border-radius: 10px;
    padding: 24px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--canvas);
    border-radius: 10px;
    border: 1px solid var(--hairline);
    overflow: hidden;
}

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

.card-body {
    padding: 16px;
}

.card-tag {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 8px;
}

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

.card-excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 12px;
}

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

.card-body a.card-title-link {
    color: var(--ink);
    text-decoration: none;
}

.card-body a.card-title-link:hover { text-decoration: underline; }

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.demo-card {
    border-radius: 10px;
    padding: 16px;
}

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

.demo-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.4;
}

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

.cta-band-light {
    background: var(--surface-strong);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    margin: 0 48px;
}

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

footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 96px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.6;
    max-width: 220px;
}

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

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

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

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

.footer-legal p, .footer-legal a {
    font-size: 14px;
    color: var(--muted);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--on-primary);
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 200;
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
}

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

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.page-hero {
    padding: 96px 0 48px;
    background: var(--canvas);
}

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

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

.article-content {
    padding: 48px 0 96px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin: 48px 0 16px;
    line-height: 1.2;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: 32px 0 12px;
    line-height: 1.35;
}

.article-content p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 720px;
}

.article-content ul, .article-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

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

.article-content figure {
    margin: 32px 0;
}

.article-content figure img {
    border-radius: 10px;
    width: 100%;
    max-width: 720px;
}

.article-content figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

.article-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 16px;
}

.page-content {
    padding: 48px 0 96px;
    max-width: 800px;
}

.page-content h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: 32px 0 12px;
    line-height: 1.35;
}

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

.page-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

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

.contact-form {
    background: var(--surface-soft);
    border-radius: 10px;
    padding: 32px;
    max-width: 560px;
    margin: 32px 0;
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.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%;
    height: 44px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--ink);
    font-family: var(--font);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

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

.disclaimer-box {
    background: var(--sig-cream);
    border-radius: 10px;
    padding: 24px;
    margin: 32px 0;
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.two-col img {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .sig-dark { margin: 0 24px; }
    .cta-band-light { margin: 0 24px; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .hero-band { padding: 64px 0; }
    .hero-band h1 { font-size: 28px; }
    .section-band { padding: 64px 0; }
    .section-band h2 { font-size: 24px; }
    .sig-coral, .sig-forest { padding: 64px 0; }
    .sig-coral h2, .sig-forest h2 { font-size: 24px; }
    .sig-dark { margin: 0 16px; padding: 48px 24px; }
    .sig-dark h2 { font-size: 24px; }
    .cta-band-light { margin: 0 16px; padding: 32px 24px; }
    .cta-band-light h2 { font-size: 24px; }
    .card-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal { flex-direction: column; align-items: flex-start; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .cookie-banner { padding: 20px 24px; }
    .page-hero h1 { font-size: 28px; }
    .article-content h2 { font-size: 24px; }
    .article-content h3 { font-size: 20px; }
}
