@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;
}

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;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAV */
.site-nav {
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    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: 600;
    color: var(--ink);
    letter-spacing: -0.3px;
}

.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;
}

.nav-links a:hover { color: var(--ink); }

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: all 0.2s;
}

/* HERO */
.hero {
    padding: 80px 0;
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline-soft);
}

.hero-label {
    display: inline-block;
    background-color: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -2.16px;
    max-width: 800px;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.5;
    margin-bottom: 32px;
}

.hero-image {
    margin-top: 48px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--hairline);
    max-height: 480px;
    object-fit: cover;
    width: 100%;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--body);
    max-width: 600px;
    line-height: 1.5;
    margin-bottom: 48px;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 24px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.4;
}

.card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.card-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    height: 180px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ARTICLE CARDS */
.article-card {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.15s;
}

.article-card:hover { border-color: var(--hairline-strong); }

.article-card-img {
    height: 200px;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-body {
    padding: 24px;
}

.article-card-body .tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-card-body h3 a {
    color: var(--ink);
}

.article-card-body h3 a:hover { color: var(--primary); }

.article-card-body p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

/* DIVIDER */
.divider {
    border: none;
    border-top: 1px solid var(--hairline);
}

/* SAFETY TABLE */
.safety-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    overflow: hidden;
}

.safety-table th {
    background-color: var(--canvas-soft);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--hairline);
}

.safety-table td {
    padding: 12px 16px;
    color: var(--body);
    border-bottom: 1px solid var(--hairline-soft);
}

.safety-table tr:last-child td { border-bottom: none; }
.safety-table tr:hover td { background-color: var(--canvas-soft); }

/* FORM */
.contact-form {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
}

.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);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    height: 44px;
    outline: none;
    transition: border-color 0.15s;
}

.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::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-soft);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    height: 40px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s;
}

.btn-primary:hover { background-color: var(--primary-active); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.form-message.success {
    background-color: #e6f4ef;
    color: var(--semantic-success);
    border: 1px solid #b2d8ca;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    background-color: var(--ink);
    color: var(--canvas);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(38,37,30,0.15);
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--canvas);
}

#cookie-banner p a {
    color: var(--canvas);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background-color: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.cookie-btn-reject {
    background-color: transparent;
    color: var(--canvas);
    border: 1px solid rgba(247,247,244,0.3);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

/* FOOTER */
.site-footer {
    background-color: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 48px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-top: 12px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    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);
}

.footer-col ul a:hover { color: var(--ink); }

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

/* ARTICLE PAGE */
.article-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.article-header .breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.article-header .breadcrumb a { color: var(--muted); }
.article-header .breadcrumb a:hover { color: var(--ink); }

.article-header h1 {
    font-size: 48px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -1.2px;
    line-height: 1.15;
    max-width: 800px;
    margin-bottom: 16px;
}

.article-header .meta {
    font-size: 13px;
    color: var(--muted);
}

.article-body {
    padding: 64px 0;
}

.article-content {
    max-width: 720px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    line-height: 1.25;
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.article-content li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.article-content a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--hairline-strong);
}

.article-content a:hover { color: var(--primary); }

.article-content .article-img {
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-content .article-img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.article-content .article-img figcaption {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--muted);
    background-color: var(--canvas-soft);
}

.info-box {
    background-color: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.info-box h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.info-box p {
    font-size: 14px;
    color: var(--body);
    margin-bottom: 0;
}

/* PAGE HEADER */
.page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--body);
    max-width: 560px;
}

.page-body {
    padding: 64px 0;
    max-width: 720px;
}

.page-body h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 28px;
    margin-bottom: 10px;
}

.page-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.page-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.page-body li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.updated-date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 { font-size: 56px; letter-spacing: -1.5px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 16px 24px;
        gap: 16px;
    }
    .hero h1 { font-size: 36px; letter-spacing: -1px; }
    .hero p { font-size: 16px; }
    .section-title { font-size: 28px; }
    .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .article-header h1, .page-header h1 { font-size: 32px; letter-spacing: -0.5px; }
    .contact-form { padding: 24px; }
    #cookie-banner { flex-direction: column; align-items: flex-start; bottom: 0; left: 0; right: 0; border-radius: 12px 12px 0 0; }
}

@media (max-width: 640px) {
    .hero { padding: 48px 0; }
    .section { padding: 48px 0; }
}
