@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 {
    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;
    -webkit-font-smoothing: antialiased;
}

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-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.11px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

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

.site-nav 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;
}

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

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

.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;
    border-radius: var(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

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

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

.section-band {
    padding: 80px 0;
}

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

.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;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.72px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: 48px;
}

.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;
    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__category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 12px;
}

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

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

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

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

.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-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.feature-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.4;
}

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

.contact-section {
    padding: 80px 0;
}

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

.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;
    font-size: 16px;
    color: var(--ink);
    font-family: inherit;
    height: 44px;
    transition: border-color 0.15s;
    outline: none;
}

.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.error,
.form-group textarea.error {
    border-color: var(--semantic-error);
}

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

.btn-primary {
    background-color: 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: 6px;
    transition: background-color 0.15s;
    font-family: inherit;
}

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

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

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

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

.contact-info h3 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin-bottom: 16px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
}

.contact-detail__icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.contact-detail__value {
    font-size: 14px;
    color: var(--ink);
}

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

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

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

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.88px;
    text-transform: uppercase;
    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);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

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

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

.page-hero__title {
    font-size: 48px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -1.2px;
    margin-bottom: 16px;
}

.page-hero__subtitle {
    font-size: 18px;
    color: var(--body);
    line-height: 1.6;
    max-width: 640px;
}

.page-content {
    padding: 64px 0;
}

.article-content {
    max-width: 720px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.5px;
    margin: 48px 0 16px;
    line-height: 1.25;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 12px;
    line-height: 1.35;
}

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

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

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

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

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

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

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hairline);
}

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

.article-meta__category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    background-color: var(--surface-strong);
    color: var(--ink);
    padding: 3px 10px;
    border-radius: var(--rounded-pill);
}

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

.sidebar-card {
    background-color: 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.88px;
    color: var(--muted);
    margin-bottom: 16px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    border-bottom: 1px solid var(--hairline-soft);
    padding: 10px 0;
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-card ul li a {
    font-size: 14px;
    color: var(--body);
}

.sidebar-card ul li a:hover {
    color: var(--ink);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.infobox {
    background-color: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
    padding: 20px 24px;
    margin: 24px 0;
}

.infobox p {
    font-size: 15px;
    color: var(--body-strong);
    line-height: 1.6;
    margin-bottom: 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.data-table th {
    background-color: var(--surface-strong);
    color: var(--ink);
    font-weight: 600;
    padding: 10px 16px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--hairline-soft);
    color: var(--body);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table th:first-child,
.data-table td:first-child {
    border-radius: var(--rounded-xs) 0 0 var(--rounded-xs);
}

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

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

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

.breadcrumb__sep {
    color: var(--hairline-strong);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--ink);
    color: var(--canvas);
    padding: 16px 24px;
    z-index: 1000;
    display: none;
}

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

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

.cookie-banner__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-cookie-reject {
    background-color: transparent;
    color: var(--canvas-soft);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--rounded-md);
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    font-family: inherit;
}

.disclaimer-bar {
    background-color: var(--canvas-soft);
    border-bottom: 1px solid var(--hairline);
    padding: 8px 0;
    text-align: center;
}

.disclaimer-bar p {
    font-size: 12px;
    color: var(--muted);
}

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

.prose h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.3px;
    margin: 40px 0 12px;
    line-height: 1.3;
}

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

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

.prose ul, .prose ol {
    padding-left: 24px;
    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;
    text-underline-offset: 2px;
}

.updated-note {
    font-size: 13px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 32px;
}

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

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
    .hero-image-wrap {
        display: none;
    }
    .site-nav ul {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
    }
    .site-nav ul.is-open {
        display: flex;
    }
    .site-nav ul li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--hairline-soft);
    }
    .nav-hamburger {
        display: flex;
    }
    .section-title {
        font-size: 28px;
    }
    .page-hero__title {
        font-size: 36px;
    }
    .contact-inner {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-band {
        padding: 48px 0;
    }
    .section-band {
        padding: 48px 0;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }
}
