@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;
  --hairline: #d3cec6;
  --hairline-soft: #e2ddd7;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-xxl: 24px;
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;
  --max-width: 1280px;
  --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

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

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--sp-xl); }

.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--canvas); border-bottom: 1px solid var(--hairline);
  height: 56px; display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--sp-xl);
}
.nav-logo {
  font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: -0.3px;
}
.nav-links { display: flex; gap: var(--sp-xl); align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-muted); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: var(--sp-xs); }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; transition: 0.2s; }
.nav-mobile { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: var(--sp-lg); flex-direction: column; gap: var(--sp-md); }
.nav-mobile a { font-size: 15px; font-weight: 500; color: var(--ink-muted); padding: var(--sp-xs) 0; }
.nav-mobile.open { display: flex; }

.site-footer {
  background: var(--canvas); border-top: 1px solid var(--hairline);
  padding: 64px var(--sp-xl);
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-xxl); }
.footer-brand p { font-size: 13px; color: var(--ink-subtle); margin-top: var(--sp-sm); max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-md); }
.footer-col a { display: block; font-size: 13px; color: var(--ink-subtle); margin-bottom: var(--sp-xs); transition: color 0.15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { max-width: var(--max-width); margin: var(--sp-xl) auto 0; padding-top: var(--sp-lg); border-top: 1px solid var(--hairline-soft); font-size: 12px; color: var(--ink-subtle); display: flex; justify-content: space-between; align-items: center; }

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

.hero {
  padding: var(--sp-section) 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xxl); align-items: center;
}
.hero-text { max-width: 560px; }
.hero-eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-muted); margin-bottom: var(--sp-lg); }
.hero-title { font-size: 56px; font-weight: 500; line-height: 1.10; letter-spacing: -1.4px; color: var(--ink); margin-bottom: var(--sp-lg); }
.hero-subtitle { font-size: 18px; font-weight: 400; line-height: 1.5; color: var(--ink-muted); margin-bottom: var(--sp-xl); }
.hero-img-wrap { background: var(--surface-1); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--hairline); }
.hero-img-wrap img { width: 100%; height: 380px; object-fit: cover; }

.section { padding: var(--sp-section) 0; }
.section-alt { background: var(--surface-2); }
.section-eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-muted); margin-bottom: var(--sp-sm); }
.section-title { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; color: var(--ink); margin-bottom: var(--sp-md); }
.section-lead { font-size: 18px; color: var(--ink-muted); line-height: 1.5; max-width: 620px; margin-bottom: var(--sp-xxl); }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }
.card {
  background: var(--surface-1); border-radius: var(--r-lg);
  border: 1px solid var(--hairline); padding: var(--sp-lg);
  display: flex; flex-direction: column;
}
.card-img { border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--sp-md); }
.card-img img { width: 100%; height: 200px; object-fit: cover; }
.card-label { font-size: 12px; font-weight: 500; color: var(--ink-muted); margin-bottom: var(--sp-xs); text-transform: uppercase; letter-spacing: 0.5px; }
.card-title { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.3px; color: var(--ink); margin-bottom: var(--sp-sm); }
.card-excerpt { font-size: 14px; color: var(--ink-muted); line-height: 1.5; flex: 1; margin-bottom: var(--sp-md); }
.card-link { font-size: 14px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.card-link::after { content: '→'; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xxl); align-items: center; }
.info-img { background: var(--surface-1); border-radius: var(--r-xl); border: 1px solid var(--hairline); overflow: hidden; }
.info-img img { width: 100%; height: 320px; object-fit: cover; }
.info-text h2 { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; margin-bottom: var(--sp-md); }
.info-text p { font-size: 16px; color: var(--ink-muted); line-height: 1.6; margin-bottom: var(--sp-md); }
.info-list { margin-top: var(--sp-md); }
.info-list li { font-size: 15px; color: var(--ink-muted); padding: var(--sp-xs) 0; border-bottom: 1px solid var(--hairline-soft); display: flex; gap: var(--sp-sm); }
.info-list li::before { content: '–'; color: var(--ink-subtle); flex-shrink: 0; }

.contact-section { background: var(--inverse-canvas); padding: var(--sp-section) 0; }
.contact-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.contact-inner h2 { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; color: var(--inverse-ink); margin-bottom: var(--sp-md); }
.contact-inner p { font-size: 16px; color: #9c9fa5; margin-bottom: var(--sp-xxl); }

.form-wrap { background: var(--surface-1); border-radius: var(--r-xxl); padding: var(--sp-xxl); text-align: left; }
.form-group { margin-bottom: var(--sp-lg); }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-xs); }
.form-group input, .form-group textarea {
  width: 100%; padding: 10px 14px;
  background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: var(--r-md); font-size: 16px; font-family: var(--font); color: var(--ink);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-subtle); }
.form-submit { width: 100%; }
.form-message { margin-top: var(--sp-md); padding: var(--sp-md); border-radius: var(--r-md); font-size: 14px; display: none; }
.form-message.success { background: #f0faf4; border: 1px solid #b8e0c8; color: #1a5c35; }
.form-message.error { background: #fff5f5; border: 1px solid #f5c5c5; color: #8b1a1a; }
.form-loading { display: none; text-align: center; padding: var(--sp-md); color: var(--ink-muted); font-size: 14px; }

.article-hero { padding: var(--sp-section) 0 var(--sp-xxl); }
.article-meta { display: flex; gap: var(--sp-md); align-items: center; margin-bottom: var(--sp-xl); }
.article-meta .tag { font-size: 12px; font-weight: 500; color: var(--ink-muted); background: var(--surface-2); border-radius: var(--r-xs); padding: 4px 10px; }
.article-meta .date { font-size: 13px; color: var(--ink-subtle); }
.article-title { font-size: 56px; font-weight: 500; line-height: 1.10; letter-spacing: -1.4px; margin-bottom: var(--sp-lg); }
.article-intro { font-size: 20px; color: var(--ink-muted); line-height: 1.4; letter-spacing: -0.2px; max-width: 720px; }
.article-img-wrap { background: var(--surface-1); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--hairline); margin: var(--sp-xl) 0; }
.article-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.article-img-wrap figcaption { font-size: 12px; color: var(--ink-subtle); padding: var(--sp-sm) var(--sp-lg); border-top: 1px solid var(--hairline); }

.article-body { max-width: 740px; }
.article-body h2 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -0.5px; margin: var(--sp-xxl) 0 var(--sp-md); }
.article-body h3 { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.3px; margin: var(--sp-xl) 0 var(--sp-sm); }
.article-body p { font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: var(--sp-md); }
.article-body ul, .article-body ol { margin-bottom: var(--sp-md); padding-left: var(--sp-xl); }
.article-body li { font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: var(--sp-xs); }
.article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { opacity: 0.7; }

.callout-box {
  background: var(--surface-1); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: var(--sp-xl); margin: var(--sp-xl) 0;
}
.callout-box h4 { font-size: 16px; font-weight: 500; margin-bottom: var(--sp-sm); }
.callout-box p { font-size: 15px; color: var(--ink-muted); margin: 0; }

.data-table { width: 100%; border-collapse: collapse; margin: var(--sp-xl) 0; }
.data-table th { background: var(--surface-2); font-size: 13px; font-weight: 500; color: var(--ink); padding: var(--sp-sm) var(--sp-md); text-align: left; border-bottom: 1px solid var(--hairline); }
.data-table td { font-size: 14px; color: var(--ink-muted); padding: var(--sp-sm) var(--sp-md); border-bottom: 1px solid var(--hairline-soft); }
.data-table tr:last-child td { border-bottom: none; }

.related-articles { padding: var(--sp-section) 0; border-top: 1px solid var(--hairline); }
.related-articles h3 { font-size: 22px; font-weight: 500; margin-bottom: var(--sp-xl); letter-spacing: -0.3px; }

.page-hero { padding: var(--sp-section) 0 var(--sp-xxl); border-bottom: 1px solid var(--hairline); }
.page-hero h1 { font-size: 56px; font-weight: 500; line-height: 1.10; letter-spacing: -1.4px; margin-bottom: var(--sp-md); }
.page-hero .updated { font-size: 13px; color: var(--ink-subtle); }
.page-content { max-width: 740px; padding: var(--sp-section) 0; }
.page-content h2 { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -0.5px; margin: var(--sp-xxl) 0 var(--sp-md); }
.page-content h3 { font-size: 20px; font-weight: 500; margin: var(--sp-xl) 0 var(--sp-sm); }
.page-content p { font-size: 16px; line-height: 1.7; color: var(--ink-muted); margin-bottom: var(--sp-md); }
.page-content ul { margin-bottom: var(--sp-md); padding-left: var(--sp-xl); }
.page-content li { font-size: 16px; line-height: 1.7; color: var(--ink-muted); margin-bottom: var(--sp-xs); }
.page-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.cookie-banner {
  position: fixed; bottom: var(--sp-xl); left: 50%; transform: translateX(-50%);
  background: var(--inverse-canvas); color: var(--inverse-ink);
  border-radius: var(--r-lg); padding: var(--sp-lg) var(--sp-xl);
  max-width: 600px; width: calc(100% - var(--sp-xl) * 2);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-lg);
  z-index: 1000; box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.cookie-banner p { font-size: 14px; color: #b0b0b0; line-height: 1.5; flex: 1; }
.cookie-banner p a { color: var(--inverse-ink); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.cookie-accept { background: var(--inverse-ink); color: var(--inverse-canvas); border: none; border-radius: var(--r-md); padding: 8px 16px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: var(--font); }
.cookie-reject { background: transparent; color: #b0b0b0; border: 1px solid #444; border-radius: var(--r-md); padding: 8px 16px; font-size: 14px; cursor: pointer; font-family: var(--font); }
.cookie-reject:hover { color: var(--inverse-ink); border-color: #888; }

.disclaimer-bar { background: var(--surface-2); border-top: 1px solid var(--hairline); padding: var(--sp-sm) var(--sp-xl); }
.disclaimer-bar p { max-width: var(--max-width); margin: 0 auto; font-size: 12px; color: var(--ink-subtle); text-align: center; }

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .hero-title { font-size: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; flex-direction: column; justify-content: center; }
  .hero-title { font-size: 32px; letter-spacing: -0.8px; }
  .article-title { font-size: 36px; letter-spacing: -0.8px; }
  .section-title { font-size: 28px; }
  .info-text h2 { font-size: 28px; }
  .page-hero h1 { font-size: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .footer-bottom { flex-direction: column; gap: var(--sp-sm); text-align: center; }
  .contact-inner h2 { font-size: 28px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .sp-section { padding: 48px 0; }
  .section { padding: 48px 0; }
  .hero { padding: 48px 0; }
  .container { padding: 0 var(--sp-md); }
  .article-title { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .article-title { font-size: 28px; }
}
