*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ink: #181d26;
    --body: #333840;
    --muted: #41454d;
    --canvas: #ffffff;
    --surface-soft: #f8fafc;
    --surface-strong: #e0e2e6;
    --surface-dark: #181d26;
    --hairline: #dddddd;
    --link: #1b61c9;
    --link-active: #1a3866;
    --coral: #aa2d00;
    --forest: #0a2e0e;
    --cream: #f5e9d4;
    --peach: #fcab79;
    --mint: #a8d8c4;
    --yellow: #f4d35e;
    --on-primary: #ffffff;
    --r-xs: 2px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 12px;
    --section: 96px;
    --max-w: 1280px;
}

html { scroll-behavior: smooth; }

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "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); }
img { display: block; max-width: 100%; height: auto; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 48px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}

.site-logo {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    flex-shrink: 0;
}

.site-nav { margin-left: auto; }

.site-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }

.site-nav > ul > li > a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--body);
    border-radius: var(--r-sm);
    transition: background .15s;
}

.site-nav > ul > li > a:hover { background: var(--surface-soft); color: var(--ink); }

.has-dropdown { position: relative; }

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    padding: 8px 0;
    box-shadow: 0 4px 16px rgba(24,29,38,.08);
    z-index: 200;
    flex-direction: column;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: flex; }

.dropdown li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--body);
}
.dropdown li a:hover { background: var(--surface-soft); color: var(--ink); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.btn-primary {
    display: inline-block;
    background: var(--ink);
    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;
}
.btn-primary:hover { background: #0d1218; 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(--r-lg);
    border: 1px solid var(--hairline);
    cursor: pointer;
    transition: border-color .15s;
}
.btn-secondary:hover { border-color: #9297a0; 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(--r-lg);
    border: 1px solid var(--hairline);
    cursor: pointer;
}

.btn-legal {
    display: inline-block;
    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;
}

.hero-band {
    padding: var(--section) 0;
    background: var(--canvas);
}

.hero-band h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    max-width: 700px;
    margin-bottom: 24px;
}

.hero-band .hero-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-band .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-img-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    margin-top: 64px;
}

.hero-img-row img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--r-md);
}

.section-body { padding: var(--section) 0; background: var(--canvas); }

.section-dark {
    padding: var(--section) 0;
    background: var(--surface-dark);
    color: var(--on-primary);
}

.section-coral {
    padding: var(--section) 0;
    background: var(--coral);
    color: var(--on-primary);
}

.section-cream {
    padding: var(--section) 0;
    background: var(--cream);
}

.section-soft {
    padding: var(--section) 0;
    background: var(--surface-soft);
}

.section-cta-light {
    padding: var(--section) 0;
    background: var(--surface-strong);
}

.section-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .16px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-dark .section-h2,
.section-coral .section-h2 { color: var(--on-primary); }

.section-body-text {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 32px;
}

.section-dark .section-body-text,
.section-coral .section-body-text { color: rgba(255,255,255,.8); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--canvas);
    border-radius: var(--r-md);
    padding: 24px;
    border: 1px solid var(--hairline);
}

.card-mint { background: var(--mint); border-color: transparent; }
.card-peach { background: var(--peach); border-color: transparent; }
.card-yellow { background: var(--yellow); border-color: transparent; }

.card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 12px;
}

.card p { font-size: 14px; color: var(--body); line-height: 1.6; }

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--canvas);
    border-radius: var(--r-md);
    padding: 16px;
    border: 1px solid var(--hairline);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--r-md);
    margin-bottom: 16px;
}

.article-card .tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 8px;
}

.article-card p { font-size: 14px; color: var(--body); line-height: 1.5; margin-bottom: 12px; }

.article-card .meta { font-size: 14px; font-weight: 500; color: var(--muted); }

.article-card a.read-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--link);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.two-col img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: var(--r-lg);
}

.sig-card {
    border-radius: var(--r-lg);
    padding: 48px;
}

.sig-card h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: 16px;
    max-width: 560px;
}

.sig-card p {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 32px;
}

.sig-coral { background: var(--coral); }
.sig-forest { background: var(--forest); }
.sig-dark { background: var(--surface-dark); }

.contact-form {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    padding: 48px;
    max-width: 600px;
}

.contact-form h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 8px;
}

.contact-form p { font-size: 14px; color: var(--body); margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    height: 44px;
    background: var(--canvas);
    color: var(--ink);
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-sm);
    font-family: inherit;
    transition: border-color .15s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #458fff;
}

.form-group textarea { height: auto; min-height: 100px; resize: vertical; }

.page-hero {
    padding: var(--section) 0 48px;
    background: var(--canvas);
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 16px;
}

.page-hero .meta { font-size: 14px; color: var(--muted); }

.article-body { padding: 48px 0 var(--section); }

.article-body .prose { max-width: 740px; }

.prose h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin: 48px 0 16px;
}

.prose h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    margin: 32px 0 12px;
}

.prose p { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: 20px; }

.prose ul, .prose ol { padding-left: 24px; margin-bottom: 20px; }

.prose li { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: 8px; }

.prose a { color: var(--link); }

.prose img {
    width: 100%;
    border-radius: var(--r-md);
    margin: 32px 0;
    height: 380px;
    object-fit: cover;
}

.prose .callout {
    background: var(--cream);
    border-radius: var(--r-md);
    padding: 24px;
    margin: 32px 0;
}

.prose .callout p { margin-bottom: 0; }

.related-articles { padding: var(--section) 0; background: var(--surface-soft); }

.related-articles h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 32px;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 860px;
    background: var(--ink);
    color: var(--on-primary);
    border-radius: var(--r-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

.cookie-banner p { font-size: 14px; line-height: 1.5; flex: 1; }

.cookie-banner p a { color: var(--peach); }

.cookie-banner .cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }

.cookie-banner.hidden { display: none; }

.page-prose { max-width: 740px; padding: var(--section) 0; }

.page-prose h1 {
    font-size: 40px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 32px;
}

.page-prose h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin: 40px 0 12px;
}

.page-prose p { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: 16px; }

.page-prose ul { padding-left: 24px; margin-bottom: 16px; }

.page-prose li { font-size: 14px; color: var(--body); line-height: 1.7; margin-bottom: 6px; }

.page-prose .updated { font-size: 14px; color: var(--muted); margin-bottom: 32px; }

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding-top: var(--section);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.footer-col p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }

.footer-contact { font-size: 13px; color: var(--muted); line-height: 1.8; }

.footer-contact a { color: var(--link); }

.footer-col strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col li a { font-size: 14px; color: var(--muted); }

.footer-col li a:hover { color: var(--ink); }

.footer-legal {
    border-top: 1px solid var(--hairline);
    padding: 24px 0;
}

.footer-legal .container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-legal span { font-size: 14px; color: var(--muted); }

.footer-disclaimer { flex: 1; }

@media (max-width: 1024px) {
    .card-grid { grid-template-columns: 1fr 1fr; }
    .article-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }

    .site-nav { display: none; position: fixed; inset: 64px 0 0; background: var(--canvas); padding: 24px 16px; overflow-y: auto; z-index: 99; }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav > ul > li > a { padding: 14px 0; border-bottom: 1px solid var(--hairline); border-radius: 0; }
    .dropdown { display: none !important; position: static; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 16px; }
    .has-dropdown.open .dropdown { display: flex !important; }
    .nav-toggle { display: flex; }

    .hero-band h1 { font-size: 28px; }
    .hero-img-row { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .sig-card { padding: 32px 24px; }
    .contact-form { padding: 24px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
    :root { --section: 64px; }
}
