@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;
    --surface-soft-light: #f7f7f7;
    --surface-strong-light: #ebebeb;
    --primary: #da291c;
    --primary-active: #b01e0a;
    --ink: #ffffff;
    --body: #969696;
    --body-on-light: #181818;
    --muted: #666666;
    --hairline: #303030;
    --hairline-on-light: #d2d2d2;
    --on-primary: #ffffff;

    --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;
    --font: 'Inter', -apple-system, system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--canvas);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

/* ===== NAV ===== */
.site-nav {
    background: var(--canvas);
    height: 64px;
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--body);
    letter-spacing: 0.65px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: var(--sp-xxs);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
}

/* ===== HERO ===== */
.hero-band {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 560px;
    overflow: hidden;
    background: var(--canvas);
}

.hero-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(24,24,24,0.85) 100%);
}

.hero-content {
    position: absolute;
    bottom: var(--sp-xxl);
    left: 0;
    right: 0;
    padding: 0 var(--sp-md);
    max-width: var(--max-w);
    margin: 0 auto;
}

.hero-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-xs);
}

.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-sub {
    font-size: 16px;
    font-weight: 400;
    color: var(--body);
    max-width: 560px;
    margin-bottom: var(--sp-lg);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 14px 32px;
    height: 48px;
    line-height: 20px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-primary:hover {
    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: 14px 32px;
    height: 48px;
    line-height: 20px;
    border-radius: 0;
    border: 1px solid var(--ink);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--canvas);
}

.btn-group {
    display: flex;
    gap: var(--sp-sm);
    flex-wrap: wrap;
}

/* ===== SECTION LAYOUTS ===== */
.section-dark {
    background: var(--canvas);
    padding: var(--sp-xxl) 0;
}

.section-elevated {
    background: var(--canvas-elevated);
    padding: var(--sp-xxl) 0;
}

.section-light {
    background: var(--surface-soft-light);
    padding: var(--sp-xxl) 0;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--sp-xs);
}

.section-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.36px;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
}

.section-title-dark {
    color: var(--body-on-light);
}

.section-body {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    max-width: 640px;
    margin-bottom: var(--sp-lg);
}

.section-body-dark {
    color: var(--body-on-light);
}

/* ===== CARDS GRID ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
}

.feature-card {
    background: var(--canvas-elevated);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.feature-card-light {
    background: var(--canvas-light);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--hairline-on-light);
}

.feature-card img,
.feature-card-light img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: var(--sp-sm);
}

.card-badge {
    display: inline-block;
    background: var(--canvas-elevated);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    border-radius: 9999px;
    padding: 4px 12px;
    margin-bottom: var(--sp-xxs);
}

.card-badge-light {
    display: inline-block;
    background: var(--surface-strong-light);
    color: var(--body-on-light);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    border-radius: 9999px;
    padding: 4px 12px;
    margin-bottom: var(--sp-xxs);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--sp-xxs);
    line-height: 1.2;
}

.card-title-dark {
    color: var(--body-on-light);
}

.card-excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: var(--sp-sm);
}

.card-excerpt-dark {
    color: var(--body-on-light);
    opacity: 0.7;
}

.card-meta {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0;
}

.card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.65px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--sp-xs);
}

.card-link-dark {
    color: var(--primary);
}

/* ===== ACCENT BAND ===== */
.accent-band {
    background: var(--primary);
    padding: var(--sp-xxl) 0;
    text-align: center;
}

.accent-band .section-title {
    color: var(--on-primary);
}

.accent-band .section-body {
    color: rgba(255,255,255,0.85);
    margin: 0 auto var(--sp-lg);
}

/* ===== ARTICLE PAGE ===== */
.article-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(24,24,24,0.9) 100%);
}

.article-hero-content {
    position: absolute;
    bottom: var(--sp-xl);
    left: 0;
    right: 0;
    padding: 0 var(--sp-md);
    max-width: var(--max-w);
    margin: 0 auto;
}

.article-hero-content h1 {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.12px;
    color: var(--ink);
    max-width: 720px;
}

.article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: var(--sp-xxl) var(--sp-md);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-xl);
    padding-bottom: var(--sp-md);
    border-bottom: 1px solid var(--hairline);
}

.article-meta-item {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.65px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
    line-height: 1.5;
    letter-spacing: 0.195px;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: var(--sp-md) 0 var(--sp-xs);
    line-height: 1.2;
}

.article-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
}

.article-content ul,
.article-content ol {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
    padding-left: var(--sp-md);
}

.article-content li {
    margin-bottom: var(--sp-xxs);
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content img {
    width: 100%;
    margin: var(--sp-md) 0;
    border: 1px solid var(--hairline);
}

.article-image-caption {
    font-size: 12px;
    color: var(--muted);
    margin-top: -var(--sp-xxs);
    margin-bottom: var(--sp-md);
    line-height: 1.4;
}

/* ===== ABOUT/PAGES ===== */
.page-hero {
    background: var(--canvas-elevated);
    padding: var(--sp-xxl) 0;
    border-bottom: 1px solid var(--hairline);
}

.page-hero h1 {
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -1.12px;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
}

.page-hero p {
    font-size: 16px;
    color: var(--body);
    max-width: 620px;
}

.page-container {
    max-width: 860px;
    margin: 0 auto;
    padding: var(--sp-xxl) var(--sp-md);
}

.page-container h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--ink);
    margin: var(--sp-xl) 0 var(--sp-sm);
    letter-spacing: 0.195px;
    line-height: 1.5;
}

.page-container h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: var(--sp-md) 0 var(--sp-xs);
}

.page-container p {
    font-size: 15px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
}

.page-container ul {
    font-size: 15px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
    padding-left: var(--sp-md);
}

.page-container li {
    margin-bottom: var(--sp-xxs);
}

.page-container a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===== CONTACT FORM ===== */
.contact-section {
    background: var(--canvas-elevated);
    padding: var(--sp-xxl) 0;
    border-top: 1px solid var(--hairline);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xxl);
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
    letter-spacing: -0.36px;
    line-height: 1.2;
}

.contact-info p {
    font-size: 15px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-md);
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
    margin-top: var(--sp-md);
}

.contact-detail-item {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.contact-detail-item strong {
    color: var(--ink);
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xxs);
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--body);
    letter-spacing: 0.65px;
    text-transform: uppercase;
}

.form-input,
.form-textarea {
    background: var(--canvas);
    color: var(--ink);
    border: 1px solid var(--hairline);
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 14px;
    font-family: var(--font);
    height: 48px;
    outline: none;
    transition: border-color 0.15s;
}

.form-textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--sp-xl) 0 var(--sp-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--sp-xl);
    margin-bottom: var(--sp-xl);
}

.footer-brand p {
    font-size: 13px;
    color: var(--body);
    line-height: 1.6;
    margin-top: var(--sp-sm);
    max-width: 280px;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
}

.footer-links a {
    font-size: 13px;
    color: var(--body);
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: var(--sp-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-sm);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--muted);
}

.footer-bottom-links {
    display: flex;
    gap: var(--sp-md);
    list-style: none;
}

.footer-bottom-links a {
    font-size: 12px;
    color: var(--muted);
    transition: color 0.15s;
}

.footer-bottom-links a:hover {
    color: var(--body);
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--canvas-elevated);
    border-top: 1px solid var(--hairline);
    padding: var(--sp-md) var(--sp-md);
    z-index: 999;
    display: none;
}

#cookie-banner.visible {
    display: block;
}

.cookie-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 13px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
    min-width: 260px;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--sp-xs);
}

/* ===== SPECS BAND ===== */
.specs-band {
    background: var(--canvas-elevated);
    padding: var(--sp-xxl) 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-md);
    text-align: center;
}

.spec-cell {
    padding: var(--sp-md) 0;
}

.spec-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.0;
    letter-spacing: -1.12px;
    display: block;
}

.spec-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--body);
    margin-top: var(--sp-xxs);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: var(--sp-sm) 0;
    border-bottom: 1px solid var(--hairline);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--sp-xxs);
}

.breadcrumb li {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: var(--sp-xxs);
}

.breadcrumb li::after {
    content: '/';
    color: var(--hairline);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--body);
    transition: color 0.15s;
}

.breadcrumb a:hover {
    color: var(--ink);
}

/* ===== DIVIDER ===== */
.divider {
    height: 1px;
    background: var(--hairline);
    margin: var(--sp-xl) 0;
}

/* ===== DISCLAIMER ===== */
.disclaimer-bar {
    background: var(--canvas-elevated);
    border-top: 1px solid var(--hairline);
    padding: var(--sp-sm) 0;
    text-align: center;
}

.disclaimer-bar p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: var(--sp-md);
        gap: var(--sp-md);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-hamburger {
        display: flex;
    }
    .site-nav {
        position: relative;
    }
    .hero-h1 {
        font-size: 36px;
        letter-spacing: -0.5px;
    }
    .hero-content {
        bottom: var(--sp-lg);
    }
    .hero-sub {
        font-size: 14px;
    }
    .article-hero-content h1 {
        font-size: 32px;
        letter-spacing: -0.3px;
    }
    .section-title {
        font-size: 26px;
    }
    .cards-grid,
    .cards-grid-2 {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-hero h1 {
        font-size: 36px;
    }
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-band {
        height: 70vh;
    }
    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
