:root {
    --canvas: #f5f1ec;
    --surface: #ffffff;
    --surface-2: #ede8e1;
    --ink: #111111;
    --ink-muted: #626260;
    --ink-subtle: #7b7b78;
    --ink-tertiary: #9c9fa5;
    --hairline: #d3cec6;
    --accent: #ff5600;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-xxl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.15s;
}

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

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

ul, ol {
    list-style: none;
}

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

nav.top-nav {
    background: var(--canvas);
    position: sticky;
    top: 0;
    z-index: 200;
    height: 56px;
    border-bottom: 1px solid var(--hairline);
}

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

.nav-brand {
    font-weight: 500;
    font-size: 15px;
    color: var(--ink);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.nav-brand:hover {
    color: var(--ink);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    color: var(--ink-muted);
    font-weight: 400;
    white-space: nowrap;
}

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

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

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

@media (max-width: 767px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--canvas);
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--hairline);
        gap: 20px;
        align-items: flex-start;
        box-shadow: 0 8px 16px rgba(0,0,0,0.06);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-hamburger {
        display: flex;
    }
    nav.top-nav {
        position: relative;
    }
}

.hero {
    padding: 96px 0;
}

.hero-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-subtle);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.8px;
    max-width: 720px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 56px;
        letter-spacing: -1.4px;
    }
}

.hero-lead {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 560px;
    line-height: 1.55;
    margin-bottom: 48px;
}

.hero-image {
    margin-top: 64px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

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

section {
    padding: 96px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-subtle);
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 12px;
    max-width: 640px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 40px;
    }
}

.section-subtitle {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 520px;
    line-height: 1.55;
}

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

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

@media (max-width: 1023px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.card-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16 / 9;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover .card-image img {
    transform: scale(1.03);
}

.card-meta {
    font-size: 12px;
    color: var(--ink-subtle);
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.card-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ink-tertiary);
    display: inline-block;
}

.card h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
}

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

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    transition: gap 0.15s;
}

.card-link:hover {
    gap: 10px;
    color: var(--ink);
}

.card-link::after {
    content: '→';
    font-size: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
    text-decoration: none;
    min-height: 40px;
    line-height: 1.2;
    font-family: inherit;
}

.btn:hover {
    opacity: 0.82;
    color: #ffffff;
}

.btn-secondary {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--hairline);
}

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

.info-strip {
    background: var(--surface-2);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    border: 1px solid var(--hairline);
}

@media (max-width: 767px) {
    .info-strip {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }
}

.info-strip-item h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.info-strip-item p {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.6;
}

.article-layout {
    padding: 64px 0 96px;
}

.article-header {
    max-width: 760px;
    margin-bottom: 40px;
}

.article-header .breadcrumb {
    font-size: 13px;
    color: var(--ink-subtle);
    margin-bottom: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.article-header .breadcrumb a {
    color: var(--ink-subtle);
}

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

.article-header .breadcrumb span {
    color: var(--ink-tertiary);
}

.article-header h1 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .article-header h1 {
        font-size: 48px;
        letter-spacing: -1.2px;
    }
}

.article-meta {
    font-size: 13px;
    color: var(--ink-subtle);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}

.article-featured-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 56px;
    border: 1px solid var(--hairline);
}

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

.article-body {
    max-width: 760px;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-top: 56px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hairline);
}

.article-body h3 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.2px;
    margin-top: 36px;
    margin-bottom: 14px;
}

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

.article-body ul,
.article-body ol {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}

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

.article-body li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
}

.article-body a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--ink-muted);
}

.article-body strong {
    font-weight: 500;
}

.info-box {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin: 36px 0;
}

.info-box h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 14px;
    color: var(--ink);
}

.info-box p, .info-box li {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-box ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 0;
}

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

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

.article-image-caption {
    font-size: 12px;
    color: var(--ink-subtle);
    margin-top: 8px;
    text-align: center;
}

.related-section {
    padding: 64px 0;
    border-top: 1px solid var(--hairline);
    margin-top: 64px;
}

.related-section h2 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: -0.3px;
}

.form-section {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1px solid var(--hairline);
    max-width: 640px;
}

@media (max-width: 639px) {
    .form-section {
        padding: 32px 24px;
    }
}

.form-section h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.form-section .form-desc {
    font-size: 15px;
    color: var(--ink-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.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: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 15px;
    color: var(--ink);
    font-family: inherit;
    min-height: 44px;
    transition: border-color 0.15s, background 0.15s;
    outline: none;
    -webkit-appearance: none;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-status {
    display: none;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.5;
}

.form-status.success {
    background: #f0faf0;
    color: #1a6f1a;
    border: 1px solid #b8ddb8;
}

.form-loading {
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-muted);
    margin-top: 16px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--hairline);
    border-top-color: var(--ink);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.page-header {
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 64px;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -0.8px;
    line-height: 1.15;
    max-width: 640px;
    margin-bottom: 16px;
}

.page-header .page-desc {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 520px;
    line-height: 1.55;
}

.update-date {
    font-size: 13px;
    color: var(--ink-subtle);
    margin-top: 16px;
}

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

.page-content h2 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.3px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 500;
    margin-top: 32px;
    margin-bottom: 12px;
}

.page-content p {
    margin-bottom: 16px;
    line-height: 1.75;
    color: var(--ink);
}

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

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

.page-content li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.page-content a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

@media (max-width: 767px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-intro h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-muted);
    margin-bottom: 16px;
}

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

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 1023px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 639px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }
}

.footer-brand-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--ink-subtle);
    line-height: 1.65;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: var(--ink-subtle);
    transition: color 0.15s;
}

.footer-col ul li a:hover {
    color: var(--ink);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 32px 0;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 639px) {
    .footer-bottom {
        padding: 24px 24px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer-bottom p {
    font-size: 12px;
    color: var(--ink-subtle);
    line-height: 1.5;
}

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

.footer-bottom-links a {
    font-size: 12px;
    color: var(--ink-subtle);
}

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

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: #ffffff;
    padding: 20px 0;
    z-index: 500;
    display: none;
}

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

.cookie-text {
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
    min-width: 200px;
}

.cookie-text a {
    color: rgba(255,255,255,0.75);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: #ffffff;
}

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

.btn-cookie-accept {
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    min-height: 40px;
    font-family: inherit;
    transition: opacity 0.15s;
}

.btn-cookie-accept:hover {
    opacity: 0.88;
}

.btn-cookie-reject {
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 400;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    min-height: 40px;
    font-family: inherit;
    transition: border-color 0.15s, color 0.15s;
}

.btn-cookie-reject:hover {
    border-color: rgba(255,255,255,0.5);
    color: #ffffff;
}

.disclaimer-bar {
    background: var(--surface-2);
    border-bottom: 1px solid var(--hairline);
    padding: 10px 0;
}

.disclaimer-bar p {
    font-size: 12px;
    color: var(--ink-subtle);
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .hero {
        padding: 64px 0;
    }
    section {
        padding: 64px 0;
    }
    .info-strip {
        padding: 32px 24px;
    }
    .article-layout {
        padding: 48px 0 80px;
    }
}
