*, *::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;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --on-primary: #ffffff;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --success: #1f8a65;
    --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 {
    background: var(--canvas);
    color: var(--body);
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

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

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

.site-nav {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}

.site-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.11px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    margin-left: auto;
}

.nav-links li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    padding: 8px 14px;
    display: block;
    border-radius: var(--radius-sm);
    transition: color 0.15s;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s;
}

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

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

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

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

.hero-img-wrap {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    max-height: 480px;
}

.hero-img-wrap img {
    width: 100%;
    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: 12px;
}

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

.section-desc {
    font-size: 16px;
    color: var(--body);
    max-width: 620px;
    line-height: 1.6;
}

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

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

.article-card-excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.55;
    margin-bottom: 20px;
}

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

.article-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    padding-bottom: 1px;
    margin-top: 16px;
}

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

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

.info-card-icon {
    font-size: 24px;
    margin-bottom: 16px;
}

.info-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

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

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

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

.two-col-text p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 16px;
}

.two-col-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.two-col-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

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

.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;
    border-radius: var(--radius-md);
    border: 1px solid var(--hairline-strong);
    cursor: pointer;
    height: 40px;
    line-height: 18px;
    transition: border-color 0.15s;
    text-decoration: none;
}

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

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

.contact-wrap {
    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;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.contact-form {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-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(--canvas-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-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: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-soft);
}

.form-submit {
    width: 100%;
    height: 44px;
}

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

.form-msg.success {
    background: #eaf6f1;
    color: var(--success);
    border: 1px solid #c3e9d9;
    display: block;
}

.form-msg.error-msg {
    background: #fdf0f3;
    color: var(--error);
    border: 1px solid #f5c6d0;
    display: block;
}

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

.article-hero .hero-label { margin-bottom: 20px; }

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

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

.article-hero-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
}

.article-body {
    padding: 64px 0 80px;
}

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

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

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

.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.65;
    margin-bottom: 8px;
}

.article-content a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    transition: border-color 0.15s;
}

.article-content a:hover { border-color: var(--ink); }

.article-aside {
    padding-left: 48px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0;
}

.aside-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    position: sticky;
    top: 88px;
}

.aside-card-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.aside-links { list-style: none; }
.aside-links li { margin-bottom: 10px; }
.aside-links a {
    font-size: 14px;
    color: var(--body);
    line-height: 1.45;
}
.aside-links a:hover { color: var(--ink); }

.fact-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 32px 0;
}

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

.mid-img {
    margin: 32px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.mid-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.mid-img figcaption {
    font-size: 13px;
    color: var(--muted);
    padding: 10px 16px;
    border-top: 1px solid var(--hairline-soft);
    background: var(--canvas-soft);
}

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

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

.page-subtitle {
    font-size: 16px;
    color: var(--body);
    max-width: 580px;
    line-height: 1.6;
}

.page-body {
    padding: 64px 0 80px;
}

.page-content {
    max-width: 760px;
}

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

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

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

.page-content ul {
    padding-left: 24px;
    margin-bottom: 20px;
}

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

.page-content a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
}

.update-date {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 40px;
}

.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;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--body);
}

.footer-links a {
    font-size: 14px;
    color: var(--body);
    transition: color 0.15s;
}

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

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: 24px;
    font-size: 14px;
    color: var(--muted);
}

.footer-disclaimer {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted-soft);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: var(--canvas);
    z-index: 999;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cookie-inner p {
    font-size: 14px;
    line-height: 1.55;
    color: #d4d3cf;
    flex: 1;
    min-width: 280px;
}

.cookie-inner a { color: var(--canvas); border-bottom: 1px solid rgba(255,255,255,0.4); }

.cookie-btns {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

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

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

.related-articles {
    border-top: 1px solid var(--hairline);
    padding-top: 48px;
    margin-top: 48px;
}

.related-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.11px;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@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; gap: 32px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { padding-left: 0; padding-top: 40px; }
    .aside-card { position: static; }
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 36px; letter-spacing: -0.8px; }
    .section-title { font-size: 28px; }
    .page-title { font-size: 32px; }
    .article-title { font-size: 32px; }
    .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;
        margin: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li a { padding: 10px 0; }
    .nav-toggle { display: flex; }
    .site-nav { position: relative; }
    .articles-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-img-wrap img { height: 240px; }
    .cookie-inner { flex-direction: column; gap: 16px; }
}
