@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;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 9999px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

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

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

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

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

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--ink);
    padding: 4px;
}

.hero-band {
    padding: 80px 0;
    background: var(--canvas);
}

.hero-band .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.hero-text p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.5;
    max-width: 440px;
}

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

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

.section {
    padding: 80px 0;
}

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

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

.section-subtitle {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.5;
}

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

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.article-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-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-tag {
    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(--radius-pill);
    padding: 4px 10px;
    margin-bottom: 12px;
}

.article-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 10px;
}

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

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

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

.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(--radius-lg);
    padding: 24px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

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

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.text-block h2 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.72px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 16px;
}

.text-block p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 14px;
}

.text-block ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--body);
    font-size: 15px;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    transition: background 0.15s;
}

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

.btn-secondary {
    display: inline-block;
    background: var(--surface-card);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--hairline-strong);
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    transition: border-color 0.15s;
}

.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.article-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--hairline);
}

.article-header .article-tag {
    margin-bottom: 16px;
}

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

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

.article-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    padding: 48px 0 80px;
    align-items: start;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.33px;
    color: var(--ink);
    line-height: 1.25;
    margin: 40px 0 14px;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 28px 0 10px;
}

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

.article-content ul, .article-content ol {
    padding-left: 22px;
    color: var(--body);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    margin: 32px 0;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

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

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

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

.sidebar-card h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.sidebar-card ul li {
    font-size: 14px;
    color: var(--body);
    padding: 6px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a { color: var(--body); }
.sidebar-card ul li a:hover { color: var(--ink); }

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

.page-header h1 {
    font-size: 46px;
    font-weight: 400;
    letter-spacing: -1.2px;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: var(--muted);
}

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

.page-content h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.33px;
    color: var(--ink);
    margin: 40px 0 14px;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 24px 0 8px;
}

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

.page-content ul {
    list-style: disc;
    padding-left: 22px;
    color: var(--body);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 16px;
}

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

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

.contact-form h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.33px;
    color: var(--ink);
    margin-bottom: 24px;
}

.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(--canvas);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    height: 44px;
    font-size: 15px;
    color: var(--ink);
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

.form-group textarea {
    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);
}

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

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

.form-message.success {
    background: #e6f5f0;
    color: var(--semantic-success);
    border: 1px solid #b3dfd2;
    display: block;
}

.form-message.loading {
    background: var(--surface-strong);
    color: var(--muted);
    display: block;
}

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

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: 10px;
}

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

.footer-col strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: 12px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.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);
    padding: 20px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--canvas);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 700px;
    width: calc(100% - 48px);
    z-index: 999;
    box-shadow: 0 4px 24px rgba(38,37,30,0.18);
}

.cookie-banner p {
    font-size: 14px;
    color: var(--canvas);
    flex: 1;
}

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

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner .btn-primary {
    background: var(--primary);
}

.cookie-banner .btn-secondary {
    background: transparent;
    border-color: var(--canvas-soft);
    color: var(--canvas);
}

.cookie-banner .btn-secondary:hover {
    border-color: var(--canvas);
    color: var(--canvas);
}

.cookie-hidden { display: none !important; }

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

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

.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-band .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-text h1 { font-size: 40px; }
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .two-col.reverse { direction: ltr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .article-body { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
}

@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: 16px 24px; gap: 16px; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .site-nav { position: relative; }
    .hero-band { padding: 48px 0; }
    .hero-text h1 { font-size: 32px; }
    .section { padding: 48px 0; }
    .section-title { font-size: 28px; }
    .articles-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .article-header h1 { font-size: 32px; }
    .page-header h1 { font-size: 32px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
    .hero-text h1 { font-size: 26px; }
    .section-title { font-size: 24px; }
}
