:root {
    --canvas: #f5f1ec;
    --surface-1: #ffffff;
    --surface-2: #ede8e1;
    --hairline: #d3cec6;
    --hairline-soft: #e5e1db;
    --ink: #111111;
    --ink-muted: #626260;
    --ink-subtle: #7b7b78;
    --ink-tertiary: #9c9fa5;
    --inverse-canvas: #000000;
    --inverse-ink: #ffffff;
    --error: #dc2626;
    --success: #16a34a;
}

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

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

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

.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 56px;
    display: flex;
    align-items: center;
}

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
}

.nav-logo {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.nav-logo:hover { text-decoration: none; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

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

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

.nav-links a.active {
    color: var(--ink);
    font-weight: 500;
}

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

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

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
    padding: 96px 0;
}

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

.hero-eyebrow {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 16px;
    letter-spacing: 0;
}

.hero-title {
    font-size: 56px;
    font-weight: 500;
    line-height: 1.10;
    letter-spacing: -1.4px;
    color: var(--ink);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.50;
    letter-spacing: -0.1px;
    color: var(--ink-muted);
}

.hero-img-card {
    background: var(--surface-1);
    border-radius: 16px;
    border: 1px solid var(--hairline);
    overflow: hidden;
}

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

.section {
    padding: 96px 0;
}

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

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

.section-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--ink);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--ink-muted);
    max-width: 560px;
    line-height: 1.5;
}

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

.card {
    background: var(--surface-1);
    border-radius: 12px;
    border: 1px solid var(--hairline);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-subtle);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.2px;
    color: var(--ink);
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
    margin-bottom: 20px;
    flex: 1;
}

.card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 2px;
    transition: border-color 0.15s;
    align-self: flex-start;
}

.card-link:hover {
    border-color: var(--ink);
    text-decoration: none;
}

.divider {
    border: none;
    border-top: 1px solid var(--hairline);
}

.info-strip {
    background: var(--surface-1);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 48px 0;
}

.info-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

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

.info-strip-item-text {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
}

.article-hero {
    padding: 64px 0 0;
}

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

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

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

.breadcrumb-sep {
    color: var(--ink-tertiary);
}

.article-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 16px;
}

.article-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.10;
    letter-spacing: -1.2px;
    color: var(--ink);
    margin-bottom: 16px;
    max-width: 860px;
}

.article-meta {
    font-size: 13px;
    color: var(--ink-subtle);
    margin-bottom: 40px;
}

.article-cover {
    background: var(--surface-1);
    border-radius: 16px;
    border: 1px solid var(--hairline);
    overflow: hidden;
    margin-bottom: 64px;
}

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

.article-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    align-items: start;
    padding-bottom: 96px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.20;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin: 44px 0 14px;
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.2px;
    color: var(--ink);
    margin: 28px 0 10px;
}

.article-content p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 18px 24px;
}

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

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

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

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

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

.info-box p,
.info-box li {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
}

.info-box ul {
    margin: 8px 0 0 20px;
}

.info-box li { margin-bottom: 4px; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--surface-1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.data-table th {
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-muted);
    padding: 10px 16px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--hairline-soft);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.4;
}

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

.article-inline-img {
    background: var(--surface-1);
    border-radius: 12px;
    border: 1px solid var(--hairline);
    overflow: hidden;
    margin: 24px 0;
}

.article-inline-img img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.article-inline-img figcaption {
    padding: 10px 16px;
    font-size: 12px;
    color: var(--ink-subtle);
}

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

.sidebar-card {
    background: var(--surface-1);
    border-radius: 12px;
    border: 1px solid var(--hairline);
    padding: 24px;
    margin-bottom: 16px;
}

.sidebar-card-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

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

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

.sidebar-links li:first-child { padding-top: 0; }
.sidebar-links li:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-links a {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.45;
    display: block;
}

.sidebar-links a:hover {
    color: var(--ink);
    text-decoration: none;
}

.sidebar-ref {
    font-size: 12px;
    color: var(--ink-subtle);
    line-height: 1.5;
    margin-bottom: 8px;
}

.sidebar-ref a {
    color: var(--ink-muted);
    text-decoration: underline;
    text-underline-offset: 1px;
}

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

.page-title {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -0.8px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 600px;
    line-height: 1.5;
}

.page-updated {
    font-size: 13px;
    color: var(--ink-subtle);
    margin-top: 10px;
}

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

.prose {
    max-width: 720px;
}

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

.prose h2:first-child { margin-top: 0; }

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

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

.prose ul, .prose ol {
    margin: 0 0 16px 24px;
}

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

.prose a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose strong { font-weight: 500; }

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

.about-img-card {
    background: var(--surface-1);
    border-radius: 16px;
    border: 1px solid var(--hairline);
    overflow: hidden;
    position: sticky;
    top: 72px;
}

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

.about-img-caption {
    padding: 14px 20px;
    font-size: 12px;
    color: var(--ink-subtle);
}

.form-card {
    background: var(--surface-1);
    border-radius: 12px;
    border: 1px solid var(--hairline);
    padding: 40px;
    margin-top: 48px;
}

.form-title {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--ink);
    margin-bottom: 6px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s;
    min-height: 44px;
    -webkit-appearance: none;
}

.form-input:focus { border-color: var(--ink); }
.form-input::placeholder { color: var(--ink-tertiary); }
.form-input.invalid { border-color: var(--error); }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--inverse-ink);
    background: var(--ink);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.15s;
    min-height: 40px;
}

.btn-primary:hover { opacity: 0.82; }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

.form-status {
    margin-top: 14px;
    font-size: 14px;
    display: none;
    line-height: 1.4;
}

.form-status.success { color: var(--success); display: block; }
.form-status.error { color: var(--error); display: block; }

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

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

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

.footer-brand { max-width: 280px; }

.footer-logo {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 10px;
    display: block;
}

.footer-logo:hover { text-decoration: none; }

.footer-tagline {
    font-size: 13px;
    color: var(--ink-subtle);
    line-height: 1.55;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 14px;
}

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

.footer-col-links li { margin-bottom: 8px; }

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

.footer-col-links a:hover {
    color: var(--ink);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--hairline-soft);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--ink-tertiary);
    flex-shrink: 0;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--ink-tertiary);
    max-width: 600px;
    text-align: right;
    line-height: 1.5;
}

#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 420px;
    background: var(--inverse-canvas);
    color: var(--inverse-ink);
    border-radius: 12px;
    padding: 24px;
    z-index: 1000;
    display: none;
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.55;
    color: #cccccc;
    margin-bottom: 16px;
}

#cookie-banner a {
    color: var(--inverse-ink);
    text-decoration: underline;
    text-underline-offset: 1px;
}

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

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

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

.btn-cookie-reject {
    padding: 8px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--inverse-ink);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s;
    min-height: 36px;
}

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

@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero-title { font-size: 44px; letter-spacing: -1.0px; }
    .article-title { font-size: 40px; letter-spacing: -1.0px; }
    .info-strip-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero { padding: 56px 0; }
    .section { padding: 56px 0; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 36px; letter-spacing: -0.8px; }
    .article-title { font-size: 32px; letter-spacing: -0.5px; }
    .section-title { font-size: 30px; letter-spacing: -0.5px; }
    .cards-grid { grid-template-columns: 1fr; }
    .article-body { grid-template-columns: 1fr; gap: 40px; }
    .article-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; }
    .footer-disclaimer { text-align: left; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-card { position: static; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 16px 20px;
        gap: 14px;
        z-index: 99;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .nav-links.open { display: flex; }
    .top-nav { position: relative; }
    .hamburger { display: flex; }
    .form-card { padding: 24px; }
    .info-strip-grid { grid-template-columns: 1fr; gap: 28px; }
    #cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; }
    .page-title { font-size: 30px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; letter-spacing: -0.5px; }
    .article-title { font-size: 26px; letter-spacing: -0.3px; }
    .section-title { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-card { padding: 20px; }
}
