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

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

:root {
  --primary: #181d26;
  --primary-active: #0d1218;
  --canvas: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #e0e2e6;
  --surface-dark: #181d26;
  --hairline: #dddddd;
  --ink: #181d26;
  --body: #333840;
  --muted: #41454d;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --sig-coral: #aa2d00;
  --sig-forest: #0a2e0e;
  --sig-cream: #f5e9d4;
  --sig-peach: #fcab79;
  --sig-mint: #a8d8c4;
  --sig-yellow: #f4d35e;
  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;
  --max-w: 1280px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter Display', 'Inter', -apple-system, sans-serif;
}

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

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--r-md); }

address { font-style: normal; }

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

.top-nav {
  position: sticky; top: 0; z-index: 100;
  height: 64px; background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-xxl);
  height: 100%; display: flex; align-items: center; gap: var(--sp-xl);
}
.nav-brand { font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-brand span { color: var(--sig-coral); }
.nav-links { list-style: none; display: flex; gap: var(--sp-lg); margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--body); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

.hero-band {
  padding: var(--sp-section) 0;
  background: var(--canvas);
}
.hero-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xxl); align-items: center; }
.hero-content h1 { font-family: var(--font-display); font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-lg); }
.hero-content p { font-size: 14px; color: var(--body); line-height: 1.6; margin-bottom: var(--sp-xl); max-width: 480px; }
.hero-content .meta-updated { font-size: 13px; color: var(--muted); margin-bottom: var(--sp-md); }
.hero-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-lg); }

.btn-primary {
  display: inline-block; background: var(--primary); color: var(--on-primary);
  font-size: 16px; font-weight: 500; line-height: 1.4;
  padding: 16px 24px; border-radius: var(--r-lg); border: none; cursor: pointer;
  text-decoration: none; transition: background .15s;
}
.btn-primary:hover { background: var(--primary-active); text-decoration: none; color: var(--on-primary); }

.btn-secondary {
  display: inline-block; background: var(--canvas); color: var(--ink);
  font-size: 16px; font-weight: 500; line-height: 1.4;
  padding: 16px 24px; border-radius: var(--r-lg); border: 1px solid var(--hairline); cursor: pointer;
  text-decoration: none; transition: border-color .15s;
}
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; color: var(--ink); }

.btn-secondary-on-dark {
  display: inline-block; background: var(--canvas); color: var(--ink);
  font-size: 16px; font-weight: 500; line-height: 1.4;
  padding: 16px 24px; border-radius: var(--r-lg); border: none; cursor: pointer;
  text-decoration: none; transition: opacity .15s;
}
.btn-secondary-on-dark:hover { opacity: .9; text-decoration: none; color: var(--ink); }

.btn-legal {
  background: var(--link); color: var(--on-primary);
  font-size: 13px; font-weight: 600; line-height: 1.2;
  padding: 12px 10px; border-radius: var(--r-xs); border: none; cursor: pointer;
}
.btn-legal-secondary { background: var(--surface-strong); color: var(--ink); }

.section-band { padding: var(--sp-section) 0; }
.section-band.surface-soft { background: var(--surface-soft); }
.section-band.surface-strong { background: var(--surface-strong); }
.section-band.surface-dark { background: var(--surface-dark); color: var(--on-primary); }
.section-band.surface-cream { background: var(--sig-cream); }
.section-band.surface-coral { background: var(--sig-coral); color: var(--on-primary); }
.section-band.surface-forest { background: var(--sig-forest); color: var(--on-primary); }

.section-title { font-size: 24px; font-weight: 400; line-height: 1.35; letter-spacing: .12px; color: var(--ink); margin-bottom: var(--sp-lg); }
.section-band.surface-dark .section-title,
.section-band.surface-coral .section-title,
.section-band.surface-forest .section-title { color: var(--on-primary); }

.section-subtitle { font-size: 14px; color: var(--body); max-width: 640px; margin-bottom: var(--sp-xxl); }
.section-band.surface-dark .section-subtitle,
.section-band.surface-coral .section-subtitle { color: rgba(255,255,255,.8); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); }

.article-card {
  background: var(--canvas); border-radius: var(--r-md);
  border: 1px solid var(--hairline); padding: var(--sp-md); overflow: hidden;
}
.article-card-img { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--r-md); margin-bottom: var(--sp-md); }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.article-card-tag { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: var(--sp-xs); }
.article-card-title { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: var(--sp-sm); }
.article-card-title a { color: var(--ink); text-decoration: none; }
.article-card-title a:hover { color: var(--link); }
.article-card-meta { font-size: 13px; color: var(--muted); }

.sig-card {
  border-radius: var(--r-lg); padding: var(--sp-xxl); margin: var(--sp-section) 0;
}
.sig-card.coral { background: var(--sig-coral); color: var(--on-primary); }
.sig-card.forest { background: var(--sig-forest); color: var(--on-primary); }
.sig-card.dark { background: var(--surface-dark); color: var(--on-primary); }
.sig-card.cream { background: var(--sig-cream); color: var(--ink); }
.sig-card h2 { font-family: var(--font-display); font-size: 32px; font-weight: 400; line-height: 1.2; margin-bottom: var(--sp-md); }
.sig-card.cream h2 { color: var(--ink); }
.sig-card p { font-size: 14px; line-height: 1.6; margin-bottom: var(--sp-xl); opacity: .9; max-width: 600px; }
.sig-card.cream p { opacity: 1; color: var(--body); }

.cta-band {
  background: var(--surface-strong); border-radius: var(--r-lg); padding: var(--sp-xxl);
  text-align: center; margin: var(--sp-section) auto; max-width: var(--max-w);
}
.cta-band h2 { font-family: var(--font-display); font-size: 32px; font-weight: 400; color: var(--ink); margin-bottom: var(--sp-md); }
.cta-band p { font-size: 14px; color: var(--body); margin-bottom: var(--sp-xl); }

.contact-form { max-width: 600px; }
.contact-form label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-xs); }
.contact-form input,
.contact-form textarea {
  width: 100%; background: var(--canvas); color: var(--ink);
  font-family: var(--font); font-size: 14px;
  padding: 12px 16px; border: 1px solid var(--hairline); border-radius: var(--r-sm); height: 44px;
  margin-bottom: var(--sp-md); outline: none; transition: border-color .15s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #458fff; }
.contact-form textarea { height: auto; min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }

.site-footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: var(--sp-section) 0 var(--sp-xl); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-xxl); display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--sp-xl); }
.footer-brand { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: var(--sp-sm); }
.footer-brand span { color: var(--sig-coral); }
.footer-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.footer-heading { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--sp-sm); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--sp-xs); }
.footer-col ul li a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-col ul li a:hover { color: var(--ink); }
.footer-col address p { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.footer-col address a { color: var(--muted); }
.footer-legal { max-width: var(--max-w); margin: var(--sp-xl) auto 0; padding: var(--sp-md) var(--sp-xxl) 0; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.footer-legal a { color: var(--muted); }

.cookie-banner {
  display: none; position: fixed; bottom: var(--sp-lg); left: 50%; transform: translateX(-50%);
  background: var(--surface-dark); color: var(--on-primary); border-radius: var(--r-lg);
  padding: var(--sp-md) var(--sp-xl); max-width: 640px; width: calc(100% - 32px);
  align-items: center; gap: var(--sp-lg); z-index: 9999;
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { font-size: 14px; color: rgba(255,255,255,.85); flex: 1; }
.cookie-banner a { color: var(--sig-peach); }
.cookie-btns { display: flex; gap: var(--sp-xs); flex-shrink: 0; }

.article-header { padding: var(--sp-section) 0 var(--sp-xxl); }
.article-header .container { max-width: 800px; }
.article-tag { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: var(--sp-sm); }
.article-header h1 { font-family: var(--font-display); font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-md); }
.article-header .article-meta { font-size: 13px; color: var(--muted); }
.article-body { padding-bottom: var(--sp-section); }
.article-body .container { max-width: 800px; }
.article-hero-img { margin-bottom: var(--sp-xxl); }
.article-hero-img img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16/9; object-fit: cover; }
.article-body h2 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--ink); margin: var(--sp-xxl) 0 var(--sp-md); line-height: 1.35; }
.article-body h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin: var(--sp-xl) 0 var(--sp-sm); }
.article-body p { font-size: 14px; line-height: 1.8; color: var(--body); margin-bottom: var(--sp-md); }
.article-body ul, .article-body ol { margin: 0 0 var(--sp-md) var(--sp-xl); }
.article-body li { font-size: 14px; line-height: 1.8; color: var(--body); margin-bottom: 4px; }
.article-body a { color: var(--link); }
.article-body blockquote { border-left: 3px solid var(--sig-coral); padding-left: var(--sp-md); margin: var(--sp-xl) 0; font-size: 16px; color: var(--muted); }
.article-related { padding: var(--sp-section) 0; background: var(--surface-soft); }

.page-header { padding: var(--sp-section) 0 var(--sp-xl); }
.page-header h1 { font-family: var(--font-display); font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--sp-md); }
.page-header p { font-size: 14px; color: var(--muted); }
.page-body { padding-bottom: var(--sp-section); }
.page-body .container { max-width: 800px; }
.page-body h2 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--ink); margin: var(--sp-xxl) 0 var(--sp-md); }
.page-body h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin: var(--sp-xl) 0 var(--sp-sm); }
.page-body p { font-size: 14px; line-height: 1.8; color: var(--body); margin-bottom: var(--sp-md); }
.page-body ul, .page-body ol { margin: 0 0 var(--sp-md) var(--sp-xl); }
.page-body li { font-size: 14px; line-height: 1.8; color: var(--body); margin-bottom: 4px; }
.page-body a { color: var(--link); }

.disclaimer-box { background: var(--surface-soft); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: var(--sp-md); margin: var(--sp-xl) 0; font-size: 13px; color: var(--muted); }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: var(--sp-md); }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; }

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-md); }
  .nav-inner { padding: 0 var(--sp-md); }
  .nav-links { display: none; position: fixed; inset: 64px 0 0 0; background: var(--canvas); flex-direction: column; padding: var(--sp-xl) var(--sp-md); gap: var(--sp-md); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-band .container { gap: var(--sp-xl); }
  .hero-content h1 { font-size: 28px; }
  .sig-card h2 { font-size: 24px; }
  .footer-inner { grid-template-columns: 1fr; padding: 0 var(--sp-md); }
  .footer-legal { flex-direction: column; gap: var(--sp-sm); padding: var(--sp-md) var(--sp-md) 0; }
  .form-row { grid-template-columns: 1fr; }
  .article-header h1, .page-header h1 { font-size: 28px; }
  .cta-band { margin: var(--sp-section) var(--sp-md); }
  .sig-card { margin: var(--sp-xxl) 0; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: var(--sp-sm); }
}
