@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

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

:root {
  --canvas: #f5f1ec;
  --surface-1: #ffffff;
  --surface-2: #ede9e3;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --ink-tertiary: #9c9fa5;
  --hairline: #d3cec6;
  --hairline-soft: #e5e1da;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }

h1 { font-size: 56px; font-weight: 500; line-height: 1.10; letter-spacing: -1.4px; color: var(--ink); }
h2 { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; color: var(--ink); }
h3 { font-size: 28px; font-weight: 500; line-height: 1.20; letter-spacing: -0.5px; color: var(--ink); }
h4 { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.3px; color: var(--ink); }
p { font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--ink-muted); }
.lead { font-size: 18px; line-height: 1.5; letter-spacing: -0.1px; color: var(--ink-muted); }
.eyebrow { font-size: 14px; font-weight: 500; line-height: 1.30; color: var(--ink-muted); margin-bottom: 12px; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

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

.nav { background: var(--canvas); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 100; height: 56px; display: flex; align-items: center; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.nav-logo { font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -0.3px; }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; align-items: center; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--ink-muted); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 4px; }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: 0.2s; }
.nav-mobile { display: none; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 0 32px; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 12px 0; font-size: 15px; color: var(--ink-muted); border-bottom: 1px solid var(--hairline-soft); text-decoration: none; }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; line-height: 1.2; padding: 10px 18px; border-radius: 8px; cursor: pointer; transition: opacity 0.15s; border: none; text-decoration: none; font-family: var(--font); }
.btn-primary { background: var(--ink); color: var(--inverse-ink); }
.btn-primary:hover { opacity: 0.85; text-decoration: none; color: var(--inverse-ink); }
.btn-secondary { background: var(--surface-1); color: var(--ink); border: 1px solid var(--hairline); }
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; color: var(--ink); }

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

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

.article-card { background: var(--surface-1); border-radius: 12px; border: 1px solid var(--hairline); overflow: hidden; transition: border-color 0.15s; display: flex; flex-direction: column; }
.article-card:hover { border-color: var(--ink); }
.article-card a { text-decoration: none; color: inherit; }
.article-card a:hover { text-decoration: none; }
.article-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-card-body .eyebrow { margin-bottom: 8px; }
.article-card-body h3 { font-size: 20px; margin-bottom: 8px; }
.article-card-body p { font-size: 14px; line-height: 1.5; flex: 1; }

.hero { padding: 80px 0 64px; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; max-width: 520px; }
.hero-image { border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline); }
.hero-image img { width: 100%; height: 420px; object-fit: cover; display: block; }

.article-header { padding: 48px 0 32px; }
.article-header h1 { font-size: 44px; margin-bottom: 16px; }
.article-meta { font-size: 14px; color: var(--ink-subtle); margin-bottom: 24px; display: flex; gap: 16px; flex-wrap: wrap; }
.article-hero-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline); margin-bottom: 48px; }
.article-hero-img img { width: 100%; height: 460px; object-fit: cover; display: block; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.article-body { max-width: 100%; }
.article-body h2 { font-size: 28px; margin-bottom: 16px; margin-top: 40px; }
.article-body h3 { font-size: 20px; margin-bottom: 12px; margin-top: 28px; }
.article-body p { font-size: 16px; line-height: 1.7; color: var(--ink-muted); margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 20px; margin-bottom: 16px; }
.article-body li { font-size: 16px; line-height: 1.7; color: var(--ink-muted); margin-bottom: 6px; }
.article-body a { color: var(--ink); text-decoration: underline; }
.info-box { background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 12px; padding: 24px; margin: 28px 0; }
.info-box h4 { font-size: 16px; font-weight: 500; margin-bottom: 12px; color: var(--ink); }
.info-box p, .info-box li { font-size: 15px; }
.info-box-alt { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 12px; padding: 24px; margin: 28px 0; }
.info-box-alt h4 { font-size: 16px; font-weight: 500; margin-bottom: 12px; }

.article-sidebar { position: sticky; top: 72px; }
.sidebar-card { background: var(--surface-1); border-radius: 12px; border: 1px solid var(--hairline); padding: 24px; margin-bottom: 24px; }
.sidebar-card h4 { font-size: 15px; font-weight: 500; margin-bottom: 16px; color: var(--ink); }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card li a { font-size: 14px; color: var(--ink-muted); display: block; padding: 8px 0; border-bottom: 1px solid var(--hairline-soft); text-decoration: none; }
.sidebar-card li:last-child a { border-bottom: none; }
.sidebar-card li a:hover { color: var(--ink); }

.feature-card { background: var(--surface-1); border-radius: 12px; padding: 24px; border: 1px solid var(--hairline); }
.feature-icon { width: 40px; height: 40px; background: var(--canvas); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-icon svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; }
.feature-card h4 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; }

.contact-section { background: var(--surface-1); border-radius: 16px; border: 1px solid var(--hairline); padding: 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 24px; }
.contact-detail { font-size: 14px; color: var(--ink-muted); margin-bottom: 8px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.form-control { width: 100%; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: 8px; padding: 10px 14px; font-size: 16px; color: var(--ink); font-family: var(--font); transition: border-color 0.15s; outline: none; min-height: 44px; }
.form-control:focus { border-color: var(--ink); }
.form-control::placeholder { color: var(--ink-tertiary); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#form-message { display: none; background: var(--canvas); border: 1px solid var(--hairline); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: var(--ink-muted); margin-top: 16px; }
#form-message.show { display: block; }

.page-header { padding: 48px 0 32px; border-bottom: 1px solid var(--hairline); margin-bottom: 48px; }
.page-header h1 { font-size: 44px; margin-bottom: 8px; }
.page-content { max-width: 780px; }
.page-content h2 { font-size: 24px; margin-bottom: 12px; margin-top: 36px; }
.page-content p { margin-bottom: 14px; font-size: 15px; line-height: 1.7; }
.page-content ul { padding-left: 20px; margin-bottom: 14px; }
.page-content li { font-size: 15px; line-height: 1.7; color: var(--ink-muted); margin-bottom: 4px; }

.footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 64px 0 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.3px; display: block; margin-bottom: 12px; text-decoration: none; }
.footer-brand p { font-size: 14px; color: var(--ink-subtle); max-width: 280px; }
.footer-col h5 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--ink-muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--hairline-soft); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: var(--ink-subtle); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 12px; color: var(--ink-subtle); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--ink); }

#cookie-banner { position: fixed; bottom: 24px; left: 24px; max-width: 520px; background: var(--inverse-canvas); border-radius: 16px; padding: 24px 28px; display: flex; align-items: flex-start; gap: 20px; z-index: 999; }
#cookie-banner.hidden { display: none; }
#cookie-banner p { color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.5; flex: 1; }
#cookie-banner p a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.cookie-actions { display: flex; flex-direction: column; gap: 8px; min-width: 96px; }
#cookie-accept { background: var(--inverse-ink); color: var(--ink); border: none; border-radius: 8px; padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: var(--font); white-space: nowrap; }
#cookie-reject { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; padding: 8px 14px; font-size: 14px; cursor: pointer; font-family: var(--font); white-space: nowrap; }
#cookie-accept:hover { opacity: 0.9; }
#cookie-reject:hover { border-color: rgba(255,255,255,0.6); color: rgba(255,255,255,0.9); }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-subtle); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-subtle); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--hairline); }

.section-title { margin-bottom: 8px; }
.section-intro { max-width: 560px; margin-bottom: 48px; }

.disclaimer { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 8px; padding: 16px 20px; margin-top: 32px; }
.disclaimer p { font-size: 13px; color: var(--ink-subtle); line-height: 1.5; }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  h1 { font-size: 36px; letter-spacing: -0.8px; }
  h2 { font-size: 28px; letter-spacing: -0.5px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero-image img { height: 280px; }
  .contact-section { padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { padding: 0 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  #cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; max-width: unset; }
  .cookie-actions { flex-direction: row; min-width: unset; }
  .article-header h1 { font-size: 30px; }
  .article-hero-img img { height: 260px; }
  .page-header h1 { font-size: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 28px; }
  .hero h1 { font-size: 26px; }
  .section { padding: 48px 0; }
  .nav-inner { padding: 0 16px; }
  .nav-mobile { padding: 0 16px; }
}
