@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --canvas:          #181818;
    --canvas-elevated: #303030;
    --canvas-light:    #ffffff;
    --primary:         #da291c;
    --primary-active:  #b01e0a;
    --ink:             #ffffff;
    --body-color:      #969696;
    --body-on-light:   #181818;
    --muted:           #666666;
    --hairline:        #303030;
    --hairline-light:  #d2d2d2;
    --surface-soft:    #f7f7f7;
    --surface-strong:  #ebebeb;

    --sp-xxxs: 4px;
    --sp-xxs:  8px;
    --sp-xs:   16px;
    --sp-sm:   24px;
    --sp-md:   32px;
    --sp-lg:   48px;
    --sp-xl:   64px;
    --sp-xxl:  96px;
    --sp-super:128px;

    --max-w: 1280px;
    --radius-sm: 4px;
    --radius-full: 9999px;
    --font: 'Inter', -apple-system, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--body-color); font-family: var(--font); font-size: 14px; font-weight: 400; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
ul { list-style: none; }

/* ── NAV ───────────────────────────────────────────── */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 var(--sp-md);
    height: 100%; display: flex; align-items: center; gap: var(--sp-md);
}
.nav-logo {
    font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: 0;
    flex-shrink: 0;
}
.nav-logo span { color: var(--primary); }
.nav-links {
    display: flex; gap: var(--sp-md); margin-left: auto;
}
.nav-links a {
    font-size: 13px; font-weight: 600; color: var(--body-color);
    text-transform: uppercase; letter-spacing: 0.65px;
    padding: var(--sp-xxs) 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--ink); border-color: var(--primary); }
.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: var(--sp-xxs);
    margin-left: auto;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }

/* ── HERO ──────────────────────────────────────────── */
.hero {
    position: relative; width: 100%; height: 580px; overflow: hidden;
    background: var(--canvas);
}
.hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    filter: brightness(0.55);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: var(--max-w); margin: 0 auto;
    padding: 0 var(--sp-md);
    height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
    padding-bottom: var(--sp-xxl);
}
.hero-badge {
    display: inline-block;
    font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase;
    background: var(--canvas-elevated); color: var(--body-color);
    padding: var(--sp-xxxs) var(--sp-xs); border-radius: var(--radius-full);
    margin-bottom: var(--sp-sm);
}
.hero h1 {
    font-size: 80px; font-weight: 500; line-height: 1.05; letter-spacing: -1.6px;
    color: var(--ink); max-width: 820px; margin-bottom: var(--sp-sm);
}
.hero p {
    font-size: 16px; color: var(--body-color); max-width: 540px;
    margin-bottom: var(--sp-lg);
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: var(--primary); color: #fff;
    font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    padding: 14px 32px; height: 48px; line-height: 20px;
    border: none; border-radius: 0; cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:active { background: var(--primary-active); }
.btn-outline {
    display: inline-block;
    background: transparent; color: var(--ink);
    font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    padding: 13px 32px; height: 48px; line-height: 20px;
    border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
    transition: background 0.2s;
}
.hero-ctas { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }

/* ── SECTION LABELS ────────────────────────────────── */
.section-label {
    font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase;
    color: var(--muted); margin-bottom: var(--sp-sm);
}

/* ── CONTENT BAND (dark) ───────────────────────────── */
.band { padding: var(--sp-xxl) var(--sp-md); }
.band-inner { max-width: var(--max-w); margin: 0 auto; }
.band-heading {
    font-size: 36px; font-weight: 500; letter-spacing: -0.36px;
    color: var(--ink); margin-bottom: var(--sp-lg);
}

/* ── ARTICLE CARD GRID ─────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
}
.card {
    background: var(--canvas-elevated);
    border: 1px solid var(--hairline);
    display: flex; flex-direction: column;
}
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: var(--sp-md); flex: 1; display: flex; flex-direction: column; }
.card-body .section-label { margin-bottom: var(--sp-xs); }
.card-title {
    font-size: 18px; font-weight: 700; color: var(--ink);
    line-height: 1.2; margin-bottom: var(--sp-xs);
}
.card-excerpt { font-size: 14px; color: var(--body-color); line-height: 1.5; flex: 1; margin-bottom: var(--sp-md); }
.card-link {
    font-size: 13px; font-weight: 600; letter-spacing: 0.65px; text-transform: uppercase;
    color: var(--primary); border-bottom: 1px solid var(--primary);
    padding-bottom: 2px; align-self: flex-start;
}

/* ── LIGHT BAND ────────────────────────────────────── */
.band-light { background: var(--canvas-light); }
.band-light .band-heading { color: var(--body-on-light); }
.band-light p { color: var(--body-on-light); }
.band-light .section-label { color: var(--muted); }

/* ── ACCENT BAND ───────────────────────────────────── */
.band-accent { background: var(--primary); text-align: center; padding: var(--sp-xxl) var(--sp-md); }
.band-accent .band-heading { color: #fff; margin-bottom: var(--sp-sm); }
.band-accent p { color: rgba(255,255,255,0.82); font-size: 16px; margin-bottom: var(--sp-lg); }

/* ── SPEC CELLS ────────────────────────────────────── */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); margin-top: var(--sp-xl); }
.spec-cell { border-left: 2px solid var(--hairline); padding-left: var(--sp-sm); }
.spec-value { font-size: 56px; font-weight: 700; letter-spacing: -1.12px; color: var(--ink); line-height: 1.1; }
.spec-desc { font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); margin-top: var(--sp-xxxs); }

/* ── ARTICLE PAGE ──────────────────────────────────── */
.article-hero { position: relative; height: 420px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.article-hero-content {
    position: absolute; inset: 0; z-index: 2;
    max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-md);
    display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: var(--sp-xl);
}
.article-hero-content h1 { font-size: 56px; font-weight: 500; letter-spacing: -1.12px; color: var(--ink); max-width: 720px; }

.article-meta { font-size: 12px; color: var(--muted); margin-bottom: var(--sp-md); }
.article-body { max-width: 760px; margin: 0 auto; padding: var(--sp-xxl) var(--sp-md); color: var(--body-color); }
.article-body h2 { font-size: 26px; font-weight: 500; color: var(--ink); letter-spacing: 0.195px; margin: var(--sp-xl) 0 var(--sp-sm); }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: var(--sp-lg) 0 var(--sp-xs); }
.article-body p { font-size: 14px; line-height: 1.7; margin-bottom: var(--sp-sm); }
.article-body ul, .article-body ol { padding-left: var(--sp-md); margin-bottom: var(--sp-sm); }
.article-body li { font-size: 14px; line-height: 1.7; margin-bottom: var(--sp-xxs); }
.article-body a { color: var(--primary); border-bottom: 1px solid transparent; }
.article-body a:hover { border-color: var(--primary); }
.article-body img { width: 100%; margin: var(--sp-lg) 0; }
.article-body .infobox {
    background: var(--canvas-elevated); border-left: 3px solid var(--primary);
    padding: var(--sp-sm) var(--sp-md); margin: var(--sp-lg) 0;
}
.article-body .infobox p { margin: 0; }

/* ── STATIC PAGE ───────────────────────────────────── */
.page-body { max-width: 860px; margin: 0 auto; padding: var(--sp-xxl) var(--sp-md); color: var(--body-color); }
.page-body h1 { font-size: 56px; font-weight: 500; letter-spacing: -1.12px; color: var(--ink); margin-bottom: var(--sp-lg); }
.page-body h2 { font-size: 26px; font-weight: 500; color: var(--ink); margin: var(--sp-xl) 0 var(--sp-sm); }
.page-body p { line-height: 1.7; margin-bottom: var(--sp-sm); }
.page-body ul { padding-left: var(--sp-md); margin-bottom: var(--sp-sm); }
.page-body li { line-height: 1.7; margin-bottom: var(--sp-xxs); }
.page-body a { color: var(--primary); }
.page-updated { font-size: 12px; color: var(--muted); margin-bottom: var(--sp-xl); }

/* ── FOOTER ────────────────────────────────────────── */
.site-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: var(--sp-xl) var(--sp-md) var(--sp-md); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr; gap: var(--sp-xl); }
.footer-brand { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: var(--sp-xs); }
.footer-brand span { color: var(--primary); }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-heading { font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); margin-bottom: var(--sp-sm); }
.footer-col ul li { margin-bottom: var(--sp-xxs); }
.footer-col ul a { font-size: 13px; color: var(--body-color); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--ink); }
.footer-col address p { font-size: 13px; color: var(--body-color); margin-bottom: var(--sp-xxs); }
.footer-col address a { color: var(--body-color); }
.footer-col address a:hover { color: var(--ink); }
.footer-bottom { max-width: var(--max-w); margin: var(--sp-xl) auto 0; padding-top: var(--sp-sm); border-top: 1px solid var(--hairline); }
.footer-bottom p { font-size: 12px; color: var(--muted); margin-bottom: var(--sp-xxs); }
.footer-disclaimer { font-size: 11px; color: var(--muted); opacity: 0.7; }

/* ── CONTACT FORM ──────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-xxs); }
.contact-form input {
    background: var(--canvas); color: var(--ink);
    border: 1px solid var(--hairline); border-radius: var(--radius-sm);
    padding: 14px var(--sp-xs); font-family: var(--font); font-size: 14px; height: 48px;
    width: 100%;
}
.contact-form input::placeholder { color: var(--muted); }
.contact-form input:focus { outline: 2px solid var(--primary); }
.contact-form button {
    background: var(--primary); color: #fff;
    border: none; border-radius: 0; cursor: pointer;
    font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    padding: 14px; height: 48px;
}

/* ── COOKIE BANNER ─────────────────────────────────── */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--canvas-elevated); border-top: 1px solid var(--hairline);
    padding: var(--sp-sm) var(--sp-md);
    display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md);
}
.cookie-banner p { font-size: 13px; color: var(--body-color); max-width: 700px; }
.cookie-actions { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.cookie-banner .btn-outline { height: 40px; padding: 10px 24px; font-size: 13px; }
.cookie-banner .btn-primary { height: 40px; padding: 10px 24px; font-size: 13px; }

/* ── TWO-COL LAYOUT ────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xl); align-items: center; }
.two-col-text h2 { font-size: 36px; font-weight: 500; letter-spacing: -0.36px; color: var(--ink); margin-bottom: var(--sp-sm); }
.two-col-text p { font-size: 14px; color: var(--body-color); line-height: 1.7; margin-bottom: var(--sp-sm); }
.two-col img { width: 100%; height: 360px; object-fit: cover; }

/* ── RELATED ARTICLES ──────────────────────────────── */
.related { background: var(--canvas-elevated); border-top: 1px solid var(--hairline); padding: var(--sp-xxl) var(--sp-md); }
.related-inner { max-width: var(--max-w); margin: 0 auto; }
.related .band-heading { margin-bottom: var(--sp-lg); font-size: 26px; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero h1 { font-size: 56px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); padding: var(--sp-md); border-bottom: 1px solid var(--hairline); gap: var(--sp-sm); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero { height: 420px; }
    .hero h1 { font-size: 36px; letter-spacing: -0.36px; }
    .card-grid { grid-template-columns: 1fr; }
    .article-hero h1 { font-size: 36px; }
    .footer-inner { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
    .spec-grid { grid-template-columns: 1fr 1fr; }
    .spec-value { font-size: 36px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .band-heading { font-size: 24px; }
}
