@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --primary: #f54e00;
    --primary-active: #d04200;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --on-primary: #ffffff;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --semantic-success: #1f8a65;
    --semantic-error: #cf2d56;

    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-pill: 9999px;

    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-base: 16px;
    --spacing-md: 20px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 80px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--canvas);
    color: var(--body);
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ink);
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.2px;
    text-decoration: none;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--body);
    transition: color 0.15s ease;
}

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

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: var(--spacing-xs);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: all 0.2s ease;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: var(--spacing-lg);
    z-index: 99;
}

.nav-mobile.open {
    display: block;
}

.nav-mobile ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
}

.nav-mobile ul a {
    font-size: 15px;
    font-weight: 500;
    color: var(--body-strong);
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* HERO */
.hero-band {
    padding: var(--spacing-section) 0;
    background-color: var(--canvas);
}

.hero-content {
    max-width: 760px;
}

.hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background-color: var(--surface-strong);
    border-radius: var(--rounded-pill);
    padding: var(--spacing-xxs) var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.hero-h1 {
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.hero-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--body);
    max-width: 600px;
    margin-bottom: var(--spacing-xxl);
}

/* SECTIONS */
.section {
    padding: var(--spacing-section) 0;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-base);
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 600px;
    margin-bottom: var(--spacing-xxl);
}

.section-divider {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: 0;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-lg);
}

.feature-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--rounded-md);
    margin-bottom: var(--spacing-base);
}

.feature-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-xs);
}

.feature-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.feature-card-body {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
}

/* ARTICLE CARD */
.article-card {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.article-card:hover {
    border-color: var(--hairline-strong);
}

.article-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-card-body {
    padding: var(--spacing-lg);
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.article-card-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background-color: var(--surface-strong);
    border-radius: var(--rounded-pill);
    padding: 3px var(--spacing-sm);
}

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

.article-card-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

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

/* ARTICLE PAGE */
.article-header {
    padding: var(--spacing-section) 0 var(--spacing-xxl);
    border-bottom: 1px solid var(--hairline);
    margin-bottom: var(--spacing-xxl);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-base);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.article-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background-color: var(--surface-strong);
    border-radius: var(--rounded-pill);
    padding: 3px var(--spacing-sm);
}

.article-date {
    font-size: 13px;
    color: var(--muted);
}

.article-h1 {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
}

.article-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--body);
    max-width: 700px;
}

.article-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--rounded-lg);
    margin-bottom: var(--spacing-xxl);
}

.article-content {
    max-width: 760px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-base);
}

.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.article-content p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    margin-bottom: var(--spacing-base);
}

.article-content ul,
.article-content ol {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-base);
}

.article-content li {
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(245, 78, 0, 0.3);
}

.article-content a:hover {
    text-decoration-color: var(--primary);
}

.article-content blockquote {
    border-left: 3px solid var(--hairline-strong);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.info-box {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.info-box-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box p, .info-box li {
    font-size: 14px;
    color: var(--body);
}

/* LAYOUT: SIDEBAR */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-section);
    align-items: start;
}

.article-sidebar {
    position: sticky;
    top: 88px;
}

.sidebar-card {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.sidebar-card-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-base);
}

.sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.sidebar-list li a {
    font-size: 14px;
    line-height: 1.4;
    color: var(--body);
    transition: color 0.15s;
}

.sidebar-list li a:hover {
    color: var(--ink);
}

/* ABOUT / INFO SECTIONS */
.page-header {
    padding: var(--spacing-section) 0 var(--spacing-xxl);
    border-bottom: 1px solid var(--hairline);
    margin-bottom: var(--spacing-xxl);
}

.page-h1 {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: var(--spacing-base);
}

.page-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--body);
    max-width: 600px;
}

.page-content {
    max-width: 760px;
    padding-bottom: var(--spacing-section);
}

.page-content h2 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-base);
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

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

.page-content ul, .page-content ol {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-base);
}

.page-content li {
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

.page-content a {
    color: var(--primary);
}

/* FORM */
.contact-section {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    max-width: 600px;
    margin: 0 auto;
}

.contact-section-title {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.contact-section-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-base);
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--surface-card);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    height: 44px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 0.15s;
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--semantic-error);
}

.field-error {
    font-size: 12px;
    color: var(--semantic-error);
    margin-top: var(--spacing-xxs);
    display: none;
}

.field-error.visible {
    display: block;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    transition: background-color 0.15s;
    font-family: inherit;
}

.btn-primary:hover {
    background-color: var(--primary-active);
    color: var(--on-primary);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    display: none;
    padding: var(--spacing-base);
    border-radius: var(--rounded-md);
    font-size: 14px;
    margin-top: var(--spacing-base);
}

.form-status.success {
    display: block;
    background-color: #e8f5f0;
    color: var(--semantic-success);
    border: 1px solid #b3ddc8;
}

/* FOOTER */
.footer {
    background-color: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.footer-brand-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.footer-brand-name span {
    color: var(--primary);
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    max-width: 240px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-base);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    font-size: 14px;
    color: var(--body);
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-bottom {
    border-top: 1px solid var(--hairline-soft);
    padding-top: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-base);
}

.footer-copy {
    font-size: 13px;
    color: var(--muted);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--muted);
    transition: color 0.15s;
}

.footer-bottom-links a:hover {
    color: var(--ink);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ink);
    color: var(--canvas);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    max-width: 680px;
    width: calc(100% - var(--spacing-xxl));
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    box-shadow: 0 4px 24px rgba(38, 37, 30, 0.15);
}

.cookie-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--canvas);
    flex: 1;
}

.cookie-text a {
    color: var(--canvas);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s;
}

.btn-cookie-accept:hover {
    background-color: var(--primary-active);
}

.btn-cookie-reject {
    background-color: transparent;
    color: var(--canvas);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--rounded-md);
    border: 1px solid rgba(247, 247, 244, 0.3);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s;
}

.btn-cookie-reject:hover {
    border-color: rgba(247, 247, 244, 0.6);
}

/* BREADCRUMBS */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    list-style: none;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.breadcrumbs li {
    font-size: 13px;
    color: var(--muted);
}

.breadcrumbs li a {
    color: var(--muted);
    transition: color 0.15s;
}

.breadcrumbs li a:hover {
    color: var(--ink);
}

.breadcrumbs li.sep {
    color: var(--hairline-strong);
}

/* DISCLAIMER */
.disclaimer-bar {
    background-color: var(--surface-strong);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--hairline);
}

.disclaimer-bar p {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}

/* UPDATED LABEL */
.updated-label {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--spacing-sm);
}

/* RELATED ARTICLES */
.related-section {
    padding-top: var(--spacing-xxl);
    border-top: 1px solid var(--hairline);
    margin-top: var(--spacing-xxl);
}

.related-title {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-bottom: var(--spacing-xl);
}

/* TWO COLUMN INFO */
.two-col-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.info-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.info-item-body {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

/* INTRO BAND */
.intro-band {
    background-color: var(--surface-card);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: var(--spacing-xxl) 0;
}

.intro-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-section);
    align-items: center;
}

.intro-band-img {
    border-radius: var(--rounded-lg);
    overflow: hidden;
}

.intro-band-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

    .two-col-info {
        grid-template-columns: 1fr;
    }

    .intro-band-inner {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-h1 {
        font-size: 28px;
    }

    .page-h1 {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-base);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-section {
        padding: var(--spacing-lg);
    }
}
