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

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

: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;
}

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

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

a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAVIGATION */
.site-nav {
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    line-height: 1.4;
    text-decoration: none;
}

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

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.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: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
}

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

.nav-mobile ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

/* HERO */
.hero {
    padding: 80px 0;
    background-color: var(--canvas);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2.16px;
    color: var(--ink);
    max-width: 820px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-image {
    margin-top: 56px;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    max-height: 460px;
}

.hero-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--surface-card);
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    line-height: 1.5;
    color: var(--body);
    max-width: 540px;
    margin-bottom: 48px;
}

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

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

.feature-card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--surface-strong);
    border-radius: var(--rounded-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 8px;
}

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

/* ARTICLES GRID */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.article-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

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

.article-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 8px;
}

.article-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: 16px;
    flex: 1;
}

.article-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.article-card-link:hover {
    color: var(--primary-active);
}

/* ARTICLE PAGE */
.article-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    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);
    padding: 4px 10px;
    border-radius: var(--rounded-pill);
}

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

.article-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--ink);
    max-width: 760px;
    margin-bottom: 20px;
}

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

.article-hero-image {
    margin: 40px 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-content {
    padding: 48px 0 80px;
    max-width: 720px;
}

.article-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: 40px 0 16px;
}

.article-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
    margin: 28px 0 12px;
}

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

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

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

.article-content strong {
    color: var(--ink);
    font-weight: 600;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.info-box {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--primary);
    border-radius: var(--rounded-md);
    padding: 20px 24px;
    margin: 28px 0;
}

.info-box p {
    margin-bottom: 0;
    font-size: 15px;
    color: var(--body-strong);
}

.article-image-inline {
    margin: 32px 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-image-inline img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.image-caption {
    font-size: 13px;
    color: var(--muted);
    padding: 10px 0 0;
    font-style: italic;
}

/* CHECKLIST */
.checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--hairline-soft);
    font-size: 16px;
    color: var(--body);
}

.checklist li:last-child {
    border-bottom: none;
}

.checklist li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 1px;
}

/* FORM */
.contact-section {
    padding: 80px 0;
    background-color: var(--canvas-soft);
    border-top: 1px solid var(--hairline);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--body);
}

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

.form-group {
    margin-bottom: 20px;
}

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

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

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

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-soft);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--on-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease;
    width: 100%;
}

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

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

.form-message {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    font-weight: 500;
}

.form-message.success {
    background-color: #e8f7f2;
    color: var(--semantic-success);
    border: 1px solid #b3e6d6;
}

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

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
    margin-top: 12px;
    max-width: 260px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--body);
    text-decoration: none;
    line-height: 1.4;
}

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

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

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

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
}

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

/* BREADCRUMB */
.breadcrumb {
    padding: 20px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.breadcrumb li {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb li::after {
    content: '/';
    color: var(--hairline-strong);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

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

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    background-color: var(--ink);
    color: var(--canvas);
    border-radius: var(--rounded-lg);
    padding: 20px 24px;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 24px rgba(38, 37, 30, 0.18);
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--canvas-soft);
    margin-bottom: 16px;
}

#cookie-banner a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    background-color: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: var(--rounded-md);
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

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

.btn-cookie-reject {
    background-color: transparent;
    color: var(--muted-soft);
    border: 1px solid rgba(207, 205, 196, 0.3);
    border-radius: var(--rounded-md);
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-cookie-reject:hover {
    color: var(--canvas);
    border-color: rgba(207, 205, 196, 0.6);
}

/* DISCLAIMER */
.disclaimer-bar {
    background-color: var(--surface-strong);
    padding: 10px 24px;
    text-align: center;
    border-bottom: 1px solid var(--hairline);
}

.disclaimer-bar p {
    font-size: 12px;
    color: var(--muted);
    max-width: 1200px;
    margin: 0 auto;
}

/* PAGE CONTENT */
.page-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--hairline);
}

.page-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--ink);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 16px;
    color: var(--body);
    max-width: 540px;
}

.page-content {
    padding: 48px 0 80px;
    max-width: 760px;
}

.page-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: 40px 0 16px;
}

.page-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 28px 0 12px;
}

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

.page-content ul,
.page-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

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

.page-content strong {
    color: var(--ink);
    font-weight: 600;
}

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

/* RELATED ARTICLES */
.related-articles {
    padding: 64px 0;
    border-top: 1px solid var(--hairline);
    background-color: var(--canvas-soft);
}

.related-articles h2 {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-bottom: 32px;
}

/* ABOUT PAGE */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
}

.about-grid img {
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.about-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    margin-bottom: 20px;
}

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

    .cards-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

    .nav-hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -0.9px;
    }

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

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

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

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

    .page-header h1 {
        font-size: 32px;
    }

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

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

    #cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .container,
    .hero-inner,
    .nav-inner {
        padding: 0 16px;
    }

    .hero {
        padding: 48px 0;
    }

    .section {
        padding: 48px 0;
    }

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