*, *::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;
    --on-primary: #ffffff;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --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 {
    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: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.top-nav {
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.logo-dot { color: var(--primary); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.4;
    transition: color 0.15s;
}

.nav-link:hover { color: var(--ink); }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s;
}

.hero-band {
    background-color: var(--canvas);
    padding: 80px 0 80px;
    border-bottom: 1px solid var(--hairline);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}

.hero-h1 {
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2.16px;
    color: var(--ink);
    max-width: 820px;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.15s;
}

.btn-primary:hover { background-color: var(--primary-active); }

.btn-secondary {
    background-color: var(--surface-card);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: 1px solid var(--hairline-strong);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.15s;
}

.btn-secondary:hover { background-color: var(--surface-strong); }

.btn-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-text:hover { color: var(--primary); }

.hero-image-wrap {
    margin-top: 56px;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.hero-image-wrap img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    display: block;
}

.section-heading {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 48px;
    max-width: 600px;
}

.section-heading-center {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 48px;
    text-align: center;
}

.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-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-body { padding: 24px; }

.article-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
    display: block;
}

.article-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 10px;
}

.article-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: 18px;
}

.article-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.article-card-link:hover { color: var(--primary-active); }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
}

.benefit-icon {
    font-size: 24px;
    margin-bottom: 14px;
}

.benefit-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 8px;
}

.benefit-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
}

.cta-band {
    background-color: var(--canvas);
    padding: 96px 0;
    text-align: center;
    border-bottom: 1px solid var(--hairline-soft);
}

.cta-heading {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background-color: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-link {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: 8px;
    transition: color 0.15s;
}

a.footer-link:hover { color: var(--ink); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.article-header {
    background-color: var(--canvas);
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.article-breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.article-breadcrumb a { color: var(--muted); }
.article-breadcrumb a:hover { color: var(--ink); }
.article-breadcrumb span { margin: 0 6px; }

.article-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.44px;
    color: var(--ink);
    max-width: 800px;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-body p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-body li { margin-bottom: 6px; }

.article-body a { color: var(--primary); }
.article-body a:hover { color: var(--primary-active); }

.article-body figure {
    margin: 32px 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-body figure img { width: 100%; max-height: 420px; object-fit: cover; }

.article-body figcaption {
    font-size: 13px;
    color: var(--muted);
    padding: 10px 16px;
    background: var(--canvas-soft);
    font-family: 'JetBrains Mono', monospace;
}

.code-block {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink);
    overflow-x: auto;
    margin-bottom: 20px;
}

.info-box {
    background-color: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 20px 24px;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
}

.info-box strong { color: var(--ink); }

.related-section {
    background-color: var(--canvas-soft);
    border-top: 1px solid var(--hairline);
    padding: 56px 0;
}

.related-heading {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-bottom: 28px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-card {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    transition: border-color 0.15s;
}

.related-card:hover { border-color: var(--hairline-strong); }

.related-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
    display: block;
}

.related-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

.page-header {
    background-color: var(--canvas);
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.page-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.44px;
    color: var(--ink);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--body);
    line-height: 1.4;
    max-width: 580px;
}

.page-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.page-body h2 {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 24px;
    margin-bottom: 10px;
}

.page-body p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 20px;
}

.page-body ul, .page-body ol {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 20px;
    padding-left: 24px;
}

.page-body li { margin-bottom: 6px; }

.page-body a { color: var(--primary); }

.contact-form-section {
    background-color: var(--canvas-soft);
    border-top: 1px solid var(--hairline);
    padding: 64px 0;
}

.contact-form-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-heading {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-bottom: 8px;
}

.contact-sub {
    font-size: 16px;
    color: var(--body);
    margin-bottom: 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);
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    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.error, .form-group textarea.error {
    border-color: var(--semantic-error);
}

.form-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 16px;
}

#form-status {
    display: none;
    background-color: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: 14px 18px;
    font-size: 15px;
    color: var(--semantic-success);
    margin-top: 16px;
}

.badge-pill {
    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;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - 48px);
    max-width: 720px;
}

.cookie-inner {
    background-color: var(--surface-card);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 4px 24px rgba(38,37,30,0.08);
}

.cookie-inner p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    flex: 1;
    min-width: 200px;
}

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split-section img {
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.split-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
    display: block;
}

.split-section-heading {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-bottom: 16px;
}

.split-section-body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .hero-h1 { font-size: 56px; letter-spacing: -1.5px; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
    .split-section { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 8px 0;
    }
    .nav-menu.open { display: flex; }
    .nav-link {
        padding: 12px 24px;
        width: 100%;
        border-bottom: 1px solid var(--hairline-soft);
    }
    .nav-burger { display: flex; }
    .top-nav { position: relative; }
}

@media (max-width: 640px) {
    .hero-h1 { font-size: 32px; letter-spacing: -0.8px; }
    .section-heading, .section-heading-center { font-size: 26px; }
    .articles-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; }
    .article-title { font-size: 32px; }
    .page-title { font-size: 32px; }
    .cta-heading { font-size: 26px; }
}
