@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;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --on-primary: #ffffff;
    --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);
    line-height: 1.5;
    font-weight: 400;
}

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; }

.site-header {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.site-logo span { color: var(--primary); }

.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body-strong);
    line-height: 1.4;
    transition: color 0.15s;
}

.site-nav a:hover { color: var(--primary); }

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s;
}

.hero {
    padding: 80px 0;
    background: var(--canvas);
}

.hero-inner { max-width: 760px; }

.hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-strong);
    border-radius: var(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--body);
    line-height: 1.5;
    max-width: 600px;
    margin-bottom: 32px;
}

.hero-meta {
    font-size: 13px;
    color: var(--muted);
}

.section { padding: 80px 0; }
.section-alt { background: var(--canvas-soft); }

.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);
    line-height: 1.2;
    letter-spacing: -0.72px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 48px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    transition: border-color 0.15s;
}

.article-card:hover { border-color: var(--hairline-strong); }

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body { padding: 24px; }

.article-card-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-strong);
    border-radius: var(--rounded-pill);
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 10px;
}

.article-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 16px;
}

.article-card-meta {
    font-size: 13px;
    color: var(--muted);
}

.article-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.info-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 12px;
}

.info-card p { font-size: 14px; color: var(--body); line-height: 1.5; }

.info-card ul { list-style: none; padding: 0; }
.info-card ul li {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}
.info-card ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--muted);
}

.image-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.image-feature-img {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.image-feature-img img { width: 100%; height: 360px; object-fit: cover; }

.image-feature-content h2 {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.72px;
    margin-bottom: 16px;
}

.image-feature-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 16px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    background: var(--surface-card);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.data-table th {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--canvas-soft);
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--hairline);
}

.data-table td {
    font-size: 14px;
    color: var(--body);
    padding: 12px 16px;
    border-bottom: 1px solid var(--hairline-soft);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table td:first-child { font-weight: 500; color: var(--ink); }

.contact-section {
    background: var(--canvas);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.72px;
    margin-bottom: 16px;
}

.contact-info p { font-size: 16px; color: var(--body); line-height: 1.5; margin-bottom: 24px; }

.contact-detail { margin-bottom: 16px; }
.contact-detail strong { display: block; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-detail span { font-size: 15px; color: var(--ink); }

.form-card {
    background: 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: var(--surface-card);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    height: 44px;
    font-size: 14px;
    color: var(--ink);
    font-family: inherit;
    transition: border-color 0.15s;
    outline: none;
}

.form-group textarea { height: 100px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--ink); }

.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
    font-family: inherit;
}

.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    display: none;
}

.form-message.success {
    background: #e8f5f0;
    color: var(--semantic-success);
    border: 1px solid #b8dfd2;
    display: block;
}

.form-message.error {
    background: #fde8ed;
    color: var(--semantic-error);
    border: 1px solid #f5b8c8;
    display: block;
}

.site-footer {
    background: 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: 32px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    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; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--body); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--ink); }

.footer-bottom {
    border-top: 1px solid var(--hairline-soft);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom a { font-size: 13px; color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--surface-card);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-lg);
    padding: 20px 24px;
    width: 560px;
    max-width: calc(100vw - 48px);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 24px rgba(38,37,30,0.08);
}

.cookie-banner p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
}

.cookie-banner p a { color: var(--ink); text-decoration: underline; }

.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.btn-cookie-accept {
    background: var(--ink);
    color: var(--canvas);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.btn-cookie-accept:hover { opacity: 0.85; }

.btn-cookie-reject {
    background: transparent;
    color: var(--body);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: 1px solid var(--hairline-strong);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s;
    white-space: nowrap;
}

.btn-cookie-reject:hover { border-color: var(--ink); color: var(--ink); }

.page-hero {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -1.2px;
    margin-bottom: 16px;
}

.page-hero p { font-size: 16px; color: var(--body); max-width: 560px; }

.prose { max-width: 760px; }
.prose h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.5px;
    margin: 48px 0 16px;
}

.prose h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 12px;
}

.prose p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.prose ul, .prose ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.prose li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.prose a { color: var(--primary); text-decoration: underline; }
.prose strong { font-weight: 600; color: var(--ink); }

.article-page-hero {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.article-page-hero .breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.article-page-hero .breadcrumb a { color: var(--muted); }
.article-page-hero .breadcrumb a:hover { color: var(--ink); }

.article-page-hero h1 {
    font-size: 48px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
    max-width: 720px;
}

.article-page-hero .article-meta {
    font-size: 14px;
    color: var(--muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    padding: 64px 0;
    align-items: start;
}

.article-body img {
    width: 100%;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    margin: 32px 0;
}

.article-body figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: -24px;
    margin-bottom: 32px;
    text-align: center;
}

.article-sidebar { position: sticky; top: 80px; }

.sidebar-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-card h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 16px;
}

.sidebar-card ul { list-style: none; }
.sidebar-card ul li { margin-bottom: 10px; }
.sidebar-card ul li a { font-size: 14px; color: var(--body); }
.sidebar-card ul li a:hover { color: var(--primary); }

.highlight-box {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 20px 24px;
    margin: 24px 0;
}

.highlight-box p { font-size: 15px; color: var(--body-strong); margin: 0; }

.disclaimer {
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline);
    padding: 16px 0;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .image-feature { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; gap: 16px; }
    .site-nav.open { display: flex; }
    .nav-hamburger { display: flex; }
    .hero h1 { font-size: 36px; letter-spacing: -0.8px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .section-title { font-size: 28px; }
    .page-hero h1 { font-size: 36px; }
    .article-page-hero h1 { font-size: 36px; }
}

@media (max-width: 640px) {
    .articles-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; }
    .cookie-actions { width: 100%; }
    .btn-cookie-accept, .btn-cookie-reject { flex: 1; text-align: center; }
    .hero h1 { font-size: 32px; }
    .image-feature-img img { height: 240px; }
}
