*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --primary: #f54e00;
    --primary-active: #d04200;
    --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;
    -webkit-text-size-adjust: 100%;
}

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: var(--ink);
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

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

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.site-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
}

.site-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    padding: 6px 10px;
    border-radius: var(--rounded-sm);
    transition: color 0.15s, background 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--ink);
    background: var(--surface-strong);
}

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

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

.hero-band {
    padding: 80px 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline-soft);
}

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

.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(--rounded-pill);
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-image-wrap {
    margin-top: 56px;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    background: var(--surface-card);
}

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

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

.section-sub {
    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(--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;
    display: block;
}

.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;
    display: block;
}

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

.article-card-excerpt {
    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: 1px;
}

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

.feature-band {
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
    border-bottom: 1px solid var(--hairline-soft);
    padding: 80px 0;
}

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

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

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

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

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    background: var(--surface-card);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    height: 44px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.15s;
    width: 100%;
}

.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 .form-error {
    font-size: 13px;
    color: var(--semantic-error);
    display: none;
}

.form-group.has-error .form-error {
    display: block;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--semantic-error);
}

.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: var(--rounded-md);
    padding: 10px 18px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-secondary {
    background: var(--surface-card);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 10px 18px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-secondary:hover {
    background: var(--surface-strong);
}

.form-submit-btn {
    align-self: flex-start;
}

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

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

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

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

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.contact-detail-item {
    font-size: 14px;
    color: var(--body);
}

.contact-detail-item strong {
    color: var(--ink);
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.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: 16px;
    display: block;
}

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

.page-hero-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

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

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

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

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

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

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

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

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

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

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

.article-image {
    margin: 40px 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

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

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

.infobox {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 32px 0;
}

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

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

.article-ref {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--hairline);
}

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

.article-ref ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-ref li {
    font-size: 14px;
    color: var(--body);
}

.article-ref a {
    color: var(--body);
    border-bottom: 1px solid var(--hairline-strong);
}

.article-ref a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

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

.breadcrumb a {
    color: var(--muted);
    border-bottom: 1px solid var(--hairline);
}

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

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

.page-content {
    padding: 56px 0 80px;
    max-width: 720px;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-top: 40px;
    margin-bottom: 12px;
}

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

.page-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

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

.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-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

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

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

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-col 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;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 14px;
    color: var(--muted);
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-card);
    border-top: 1px solid var(--hairline);
    padding: 16px 24px;
    z-index: 200;
}

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

.cookie-inner p {
    font-size: 14px;
    color: var(--body);
}

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

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

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 48px;
    align-items: start;
}

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

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

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

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

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

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

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

.updated-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-block;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .hero-h1 { font-size: 44px; letter-spacing: -1px; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-intro-grid { gap: 40px; }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 16px 24px;
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; gap: 4px; }
    .site-nav a { display: block; padding: 10px 12px; }
    .hero-band { padding: 48px 0; }
    .hero-h1 { font-size: 32px; letter-spacing: -0.5px; }
    .hero-sub { font-size: 16px; }
    .section { padding: 56px 0; }
    .section-title { font-size: 28px; }
    .articles-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-intro-grid { grid-template-columns: 1fr; }
    .topics-grid { grid-template-columns: 1fr; }
    .hero-image-wrap img { height: 240px; }
    .page-hero-title { font-size: 30px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .cookie-inner { flex-direction: column; align-items: flex-start; }
}
