*, *::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;
    --coral:          #aa2d00;
    --forest:         #0a2e0e;
    --cream:          #f5e9d4;
    --peach:          #fcab79;
    --mint:           #a8d8c4;
    --yellow:         #f4d35e;
    --section:        96px;
    --r-sm:           6px;
    --r-md:           10px;
    --r-lg:           12px;
    --r-xs:           2px;
    --max-w:          1280px;
}

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-weight: 400;
    font-size: 14px;
    line-height: 1.25;
    color: var(--body);
    background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 48px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ─── TOP NAV ─────────────────────────────────────────────── */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-logo span { color: var(--muted); font-weight: 400; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}
.nav-menu a {
    font-size: 14px;
    color: var(--muted);
    transition: color .15s;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--ink); }
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 6px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}

/* ─── HERO BAND ───────────────────────────────────────────── */
.hero-band {
    padding: var(--section) 0;
    background: var(--canvas);
}
.hero-band .container { max-width: 860px; }
.hero-kicker {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero-band h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 20px;
}
.hero-band .hero-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 620px;
    margin-bottom: 36px;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    padding: 16px 24px;
    border-radius: var(--r-lg);
    border: none;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary:active, .btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    padding: 15px 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--hairline);
    cursor: pointer;
    transition: border-color .15s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.btn-secondary-on-dark {
    display: inline-flex;
    align-items: center;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    padding: 15px 24px;
    border-radius: var(--r-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

/* ─── SECTION BANDS ───────────────────────────────────────── */
.band { padding: var(--section) 0; }
.band-soft { background: var(--surface-soft); }
.band-cream { background: var(--cream); }
.band-dark {
    background: var(--surface-dark);
    color: var(--on-primary);
}
.band-dark h2, .band-dark p { color: var(--on-primary); }
.band-coral {
    background: var(--coral);
    color: var(--on-primary);
}
.band-coral h2, .band-coral p { color: var(--on-primary); }

/* ─── SECTION TYPOGRAPHY ──────────────────────────────────── */
.section-kicker {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}
.section-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 16px;
}
.section-title-lg {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 16px;
}
.section-body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
    max-width: 640px;
}
.on-dark .section-kicker,
.on-dark .section-title,
.on-dark .section-body { color: var(--on-primary); }

/* ─── ARTICLE CARDS (3-UP GRID) ───────────────────────────── */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.article-card {
    background: var(--canvas);
    border-radius: var(--r-md);
    border: 1px solid var(--hairline);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.article-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.article-card-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16px;
    text-transform: uppercase;
    color: var(--muted);
}
.article-card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}
.article-card-meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: auto;
    padding-top: 8px;
}
.article-card a.card-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--link);
}
.article-card a.card-link:hover { color: var(--link-active); }

/* ─── SIGNATURE CORAL CARD ────────────────────────────────── */
.sig-coral-card {
    background: var(--coral);
    border-radius: var(--r-lg);
    padding: 48px;
    color: var(--on-primary);
}
.sig-coral-card h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: 16px;
    max-width: 540px;
}
.sig-coral-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--on-primary);
    max-width: 540px;
    margin-bottom: 28px;
}

/* ─── DARK CARD ───────────────────────────────────────────── */
.hero-card-dark {
    background: var(--surface-dark);
    border-radius: var(--r-lg);
    padding: 48px;
    color: var(--on-primary);
    margin-top: 40px;
}
.hero-card-dark h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--on-primary);
    margin-bottom: 16px;
    max-width: 540px;
}
.hero-card-dark p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,.75);
    max-width: 540px;
    margin-bottom: 28px;
}

/* ─── DEMO GRID CARDS ─────────────────────────────────────── */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.demo-card {
    border-radius: var(--r-md);
    padding: 16px;
    overflow: hidden;
}
.demo-card img {
    width: 100%;
    border-radius: var(--r-md);
    margin-bottom: 12px;
    object-fit: cover;
}
.demo-card h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
}
.demo-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--body);
}
.demo-card-peach { background: var(--peach); }
.demo-card-mint  { background: var(--mint); }
.demo-card-yellow{ background: var(--yellow); }

/* ─── CTA BAND LIGHT ──────────────────────────────────────── */
.cta-band-light {
    background: var(--surface-strong);
    border-radius: var(--r-lg);
    padding: 48px;
    text-align: center;
    margin: var(--section) 0;
}
.cta-band-light h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 16px;
}
.cta-band-light p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
    max-width: 520px;
    margin: 0 auto 28px;
}

/* ─── CONTACT FORM ────────────────────────────────────────── */
.contact-form { max-width: 560px; }
.form-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-field label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}
.form-field input,
.form-field textarea {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--ink);
    font-family: inherit;
    height: 44px;
    outline: none;
    transition: border-color .15s;
}
.form-field textarea { height: auto; min-height: 100px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-color: #458fff; }

/* ─── ARTICLE PAGE ────────────────────────────────────────── */
.article-hero {
    padding: var(--section) 0 48px;
}
.article-hero .container { max-width: 780px; }
.article-hero h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 16px;
}
.article-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
}
.article-body { max-width: 780px; margin: 0 auto; padding: 0 48px 96px; }
.article-body h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: 40px 0 12px;
    line-height: 1.35;
}
.article-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin: 28px 0 10px;
}
.article-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 18px;
}
.article-body ul, .article-body ol {
    padding-left: 22px;
    margin-bottom: 18px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 6px;
}
.article-body a { color: var(--link); }
.article-img {
    margin: 32px 0;
    border-radius: var(--r-md);
    overflow: hidden;
}
.article-img img { width: 100%; object-fit: cover; }
.article-img figcaption {
    font-size: 12px;
    color: var(--muted);
    padding: 8px 0 0;
}
.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    padding: 20px 48px 0;
    max-width: var(--max-w);
    margin: 0 auto;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--link); }

/* ─── RELATED ARTICLES ────────────────────────────────────── */
.related-articles {
    background: var(--surface-soft);
    padding: 64px 0;
}
.related-articles .container { max-width: 780px; }
.related-articles h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 24px;
}

/* ─── PAGES (ABOUT / PRIVACY / TERMS) ────────────────────── */
.page-hero {
    padding: var(--section) 0 48px;
    background: var(--canvas);
}
.page-hero .container { max-width: 780px; }
.page-hero h1 {
    font-size: 40px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
}
.page-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 48px 96px;
}
.page-body h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: 40px 0 12px;
}
.page-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin: 28px 0 10px;
}
.page-body p, .page-body li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 14px;
}
.page-body ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--section) 0 0;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 48px;
}
.footer-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.footer-brand span { color: var(--muted); font-weight: 400; }
.footer-tagline {
    font-size: 13px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: 16px;
}
.footer-contact {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--link); }
.footer-col-heading {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: .12px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
    font-size: 14px;
    color: var(--muted);
}
.footer-col ul a:hover { color: var(--link); }
.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding: 24px 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}
.footer-legal-links { margin-left: auto; }
.footer-legal-links a { font-size: 13px; color: var(--muted); }
.footer-legal-links a:hover { color: var(--link); }
.footer-disclaimer { width: 100%; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ─── COOKIE BANNER ───────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-dark-elevated);
    color: var(--on-primary);
    padding: 20px 48px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.1);
}
.cookie-banner p {
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
    min-width: 260px;
}
.cookie-banner a { color: #7ab4ff; }
.cookie-btn-row { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
    background: var(--link);
    color: var(--on-primary);
    font-size: 13.12px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--r-xs);
    border: none;
    cursor: pointer;
}
.btn-cookie-reject {
    background: transparent;
    color: rgba(255,255,255,.7);
    font-size: 13.12px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: var(--r-xs);
    border: 1px solid rgba(255,255,255,.3);
    cursor: pointer;
}

/* ─── TWO-COL LAYOUT ──────────────────────────────────────── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.two-col-img { border-radius: var(--r-md); overflow: hidden; }
.two-col-img img { width: 100%; object-fit: cover; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section: 64px; }
    .container { padding: 0 20px; }
    .nav-inner { padding: 0 20px; }
    .nav-menu {
        display: none;
        position: fixed;
        inset: 64px 0 0 0;
        background: var(--canvas);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 24px 20px;
        z-index: 99;
    }
    .nav-menu.open { display: flex; }
    .nav-menu li { width: 100%; border-bottom: 1px solid var(--hairline); }
    .nav-menu a { display: block; padding: 16px 0; font-size: 16px; }
    .nav-hamburger { display: flex; }
    .hero-band h1 { font-size: 28px; }
    .hero-band .hero-sub { font-size: 15px; }
    .section-title { font-size: 24px; }
    .section-title-lg { font-size: 28px; }
    .article-grid { grid-template-columns: 1fr; }
    .demo-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .footer-inner { padding: 0 20px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-legal-links { margin-left: 0; }
    .sig-coral-card { padding: 32px 24px; }
    .sig-coral-card h2 { font-size: 24px; }
    .hero-card-dark { padding: 32px 24px; }
    .hero-card-dark h2 { font-size: 24px; }
    .cta-band-light { padding: 32px 24px; }
    .cta-band-light h2 { font-size: 24px; }
    .article-hero { padding: 48px 0 32px; }
    .article-hero h1 { font-size: 28px; }
    .article-hero .container,
    .article-body { padding-left: 20px; padding-right: 20px; }
    .page-hero .container,
    .page-body { padding-left: 20px; padding-right: 20px; }
    .breadcrumb { padding: 16px 20px 0; }
    .cookie-banner { padding: 16px 20px; }
}
