*, *::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 { scroll-behavior: smooth; }

body {
    background: 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;
}

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

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

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
h1 { font-size: 36px; letter-spacing: -0.02em; }
h2 { font-size: 26px; letter-spacing: -0.013px; }
h3 { font-size: 22px; letter-spacing: -0.005em; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: 0; }

p { color: var(--body); line-height: 1.5; }
p + p { margin-top: 16px; }

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

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

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

.nav-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

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

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    transition: color 0.15s;
}
.nav-menu a:hover { color: var(--ink); }

.nav-dropdown { position: relative; }
.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 8px;
    min-width: 260px;
    list-style: none;
    box-shadow: 0 4px 16px rgba(38,37,30,0.08);
    z-index: 200;
}
.nav-dropdown:hover .nav-submenu { display: block; }
.nav-submenu a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--rounded-sm);
    font-size: 14px;
    color: var(--body);
}
.nav-submenu a:hover { background: var(--canvas); color: var(--ink); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s;
}

.hero-band {
    padding: 80px 0;
    border-bottom: 1px solid var(--hairline);
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-content {}
.hero-badge {
    display: inline-block;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--rounded-pill);
    margin-bottom: 24px;
}
.hero-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    color: var(--ink);
}
.hero-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    max-width: 480px;
}
.hero-image {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    aspect-ratio: 4/3;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles-section {
    padding: 80px 0;
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.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-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.article-card:hover .article-card-image img { transform: scale(1.02); }

.article-card-body { padding: 24px; }
.article-card-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
    display: block;
}
.article-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: 0;
}
.article-card-body p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 20px;
}
.article-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    padding-bottom: 2px;
    display: inline-block;
    transition: border-color 0.15s;
}
.article-card-link:hover { border-color: var(--ink); }

.about-band {
    padding: 80px 0;
    border-top: 1px solid var(--hairline);
}
.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; font-size: 16px; }
.about-image {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}
.about-image img { width: 100%; height: auto; }

.features-band {
    background: var(--surface-card);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 80px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.feature-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
}
.feature-card h4 {
    color: var(--ink);
    margin-bottom: 12px;
}
.feature-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.contact-band {
    padding: 80px 0;
    border-top: 1px solid var(--hairline);
}
.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.contact-form {
    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: 8px;
}
.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;
    font-size: 16px;
    color: var(--ink);
    font-family: inherit;
    transition: border-color 0.15s;
    height: 44px;
}
.form-group textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ink);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-soft);
}
.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;
    font-family: inherit;
    transition: background 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    display: none;
}
.form-status.success {
    background: #e8f5f0;
    color: var(--semantic-success);
    border: 1px solid #b8ddd1;
    display: block;
}
.form-status.error {
    background: #fef0f3;
    color: var(--semantic-error);
    border: 1px solid #f0b8c4;
    display: block;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info p { font-size: 16px; margin-bottom: 16px; }
.contact-detail {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin-top: 24px;
}
.contact-detail p { margin: 0; font-size: 14px; color: var(--body); }
.contact-detail p + p { margin-top: 8px; }

.article-hero {
    padding: 64px 0 0;
    border-bottom: 1px solid var(--hairline);
}
.article-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.article-breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
}
.article-breadcrumb a { color: var(--muted); }
.article-breadcrumb a:hover { color: var(--body); }
.article-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.article-hero-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
}
.article-hero-date {
    font-size: 13px;
    color: var(--muted);
}
.article-hero h1 {
    font-size: clamp(28px, 3.5vw, 42px);
    color: var(--ink);
    margin-bottom: 20px;
    max-width: 800px;
}
.article-hero-lead {
    font-size: 18px;
    color: var(--body);
    line-height: 1.6;
    max-width: 720px;
    margin-bottom: 40px;
}
.article-hero-image {
    border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-bottom: none;
    aspect-ratio: 21/8;
}
.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: 64px 0 80px;
}
.article-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
}
.article-content h2 {
    font-size: 26px;
    color: var(--ink);
    margin: 40px 0 16px;
}
.article-content h3 {
    font-size: 20px;
    color: var(--ink);
    margin: 32px 0 12px;
    font-weight: 600;
}
.article-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 20px;
}
.article-content ul,
.article-content ol {
    margin: 0 0 20px 24px;
    color: var(--body);
    font-size: 16px;
    line-height: 1.7;
}
.article-content li + li { margin-top: 8px; }

.article-figure {
    margin: 40px 0;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
}
.article-figure img { width: 100%; height: auto; }
.article-figure figcaption {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--muted);
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
}

.info-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 32px 0;
}
.info-box h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.info-box p, .info-box li { font-size: 14px; color: var(--body); line-height: 1.6; }

.article-sidebar {}
.sidebar-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin-bottom: 24px;
    position: sticky;
    top: 80px;
}
.sidebar-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sidebar-card ul { list-style: none; }
.sidebar-card li + li { margin-top: 12px; }
.sidebar-card a {
    font-size: 14px;
    color: var(--body);
    line-height: 1.4;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 12px;
    display: block;
}
.sidebar-card a:hover { color: var(--ink); }
.sidebar-card li:last-child a { border-bottom: none; padding-bottom: 0; }

.page-band { padding: 80px 0; }
.page-content { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.page-content h1 { margin-bottom: 32px; }
.page-content h2 { font-size: 22px; margin: 40px 0 16px; }
.page-content h3 { font-size: 18px; font-weight: 600; margin: 28px 0 12px; }
.page-content p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; color: var(--body); font-size: 16px; line-height: 1.7; }
.page-content li + li { margin-top: 8px; }
.page-content a { color: var(--ink); border-bottom: 1px solid var(--hairline-strong); padding-bottom: 1px; }
.page-content a:hover { border-color: var(--ink); }
.page-updated {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}
.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}
.footer-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .footer-links li {
    font-size: 14px;
    color: var(--body);
    line-height: 1.4;
}
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: 24px;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: var(--canvas);
    padding: 20px 24px;
    z-index: 999;
    display: none;
}
.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-text { font-size: 14px; color: var(--canvas); line-height: 1.5; }
.cookie-text a { color: #c0a8dd; border-bottom: 1px solid rgba(192,168,221,0.4); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-cookie-accept {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.btn-cookie-accept:hover { background: var(--primary-active); }
.btn-cookie-reject {
    background: transparent;
    color: var(--canvas);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s;
}
.btn-cookie-reject:hover { border-color: rgba(255,255,255,0.6); }

.schema-disclaimer {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    margin-top: 40px;
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-inner { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { display: none; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu a { padding: 12px 24px; display: block; }
    .nav-submenu { display: none !important; }
    .nav-toggle { display: flex; }
    .articles-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 28px; }
    .article-hero h1 { font-size: 26px; }
    .article-hero-lead { font-size: 16px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .cookie-inner { flex-direction: column; }
    .cookie-actions { width: 100%; }
}
