:root {
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --surface-card: #ffffff;
  --surface-strong: #e6e5e0;
  --primary: #f54e00;
  --primary-active: #d04200;
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;
  --ink: #26251e;
  --body: #5a5852;
  --muted: #807d72;
  --muted-soft: #a09c92;
  --on-primary: #ffffff;
  --semantic-success: #1f8a65;
  --semantic-error: #cf2d56;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-base: 16px;
  --space-md: 20px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 80px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--canvas);
  color: var(--body);
  line-height: 1.5;
  font-weight: 400;
}

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

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

/* NAV */
.site-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}
.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* HERO */
.hero {
  padding: var(--space-section) 0;
  border-bottom: 1px solid var(--hairline);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-section);
  align-items: center;
}
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-strong);
  border-radius: var(--radius-pill);
  padding: var(--space-xxs) var(--space-sm);
  margin-bottom: var(--space-md);
}
.hero h1 {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}
.hero-desc {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: var(--space-xxl);
  max-width: 480px;
}
.hero-meta {
  font-size: 13px;
  color: var(--muted);
}
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* SECTIONS */
.section { padding: var(--space-section) 0; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-md);
}
.section-title {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--space-base);
}
.section-desc {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  max-width: 600px;
}

/* CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xxl);
}
.card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--hairline-strong); }
.card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}
.card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}
.card-link {
  display: inline-block;
  margin-top: var(--space-base);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}
.card-link:hover { color: var(--primary-active); }

/* ARTICLE CARD */
.article-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s;
}
.article-card:hover { border-color: var(--hairline-strong); }
.article-card-img { aspect-ratio: 16/9; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: var(--space-lg); }
.article-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-xs);
}
.article-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.2px;
}
.article-card-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}
.article-card-footer {
  padding: var(--space-base) var(--space-lg);
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.article-card-date { font-size: 13px; color: var(--muted); }
.article-card-read {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

/* INFO BAND */
.info-band {
  background: var(--surface-card);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--space-section) 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xxl);
  align-items: start;
}
.info-grid img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
}
.info-content h2 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.64px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--space-base);
}
.info-content p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: var(--space-base);
}
.info-list { margin-top: var(--space-base); }
.info-list li {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--hairline-soft);
  display: flex;
  gap: var(--space-sm);
}
.info-list li::before {
  content: '—';
  color: var(--muted-soft);
  flex-shrink: 0;
}

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-base);
  margin-top: var(--space-xxl);
}
.stat-item {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
}
.stat-value {
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* CONTACT FORM */
.contact-section { padding: var(--space-section) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xxl);
  align-items: start;
}
.contact-info h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.64px;
  line-height: 1.2;
  margin-bottom: var(--space-base);
}
.contact-info p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: var(--space-base);
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}
.contact-detail span {
  font-size: 14px;
  color: var(--muted);
}
.contact-detail a {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.contact-form-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
}
.form-group { margin-bottom: var(--space-base); }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s;
  outline: none;
  height: 44px;
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--ink); }
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  height: 40px;
  transition: background 0.15s;
  width: 100%;
}
.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message {
  margin-top: var(--space-base);
  padding: var(--space-sm) var(--space-base);
  border-radius: var(--radius-md);
  font-size: 14px;
  display: none;
}
.form-message.success {
  background: #e8f5f0;
  color: var(--semantic-success);
  border: 1px solid #b8ddd0;
  display: block;
}
.form-message.error {
  background: #fdf0f2;
  color: var(--semantic-error);
  border: 1px solid #f0c0c8;
  display: block;
}

/* ARTICLE PAGE */
.article-hero {
  padding: var(--space-xxl) 0 0;
  border-bottom: 1px solid var(--hairline);
}
.article-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.article-hero-inner .article-card-tag {
  display: block;
  margin-bottom: var(--space-base);
}
.article-hero h1 {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: var(--space-base);
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--space-xxl);
  display: flex;
  gap: var(--space-base);
}
.article-cover {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: var(--space-xxl);
  border: 1px solid var(--hairline);
  border-bottom: none;
}
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-xl);
}
.article-body h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  line-height: 1.25;
  margin: var(--space-xxl) 0 var(--space-base);
}
.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: var(--space-xl) 0 var(--space-sm);
}
.article-body p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: var(--space-base);
}
.article-body ul,
.article-body ol {
  margin: var(--space-base) 0 var(--space-base) var(--space-xl);
}
.article-body ul li,
.article-body ol li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
  list-style: disc;
}
.article-body ol li { list-style: decimal; }
.article-body a { color: var(--primary); text-decoration: underline; }
.article-body a:hover { color: var(--primary-active); }
.article-note {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-base) var(--space-lg);
  margin: var(--space-xl) 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  font-size: 14px;
}
.article-table th {
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 600;
  text-align: left;
  padding: var(--space-sm) var(--space-base);
  border-bottom: 1px solid var(--hairline-strong);
}
.article-table td {
  padding: var(--space-sm) var(--space-base);
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--body);
}
.article-table tr:last-child td { border-bottom: none; }
.article-related {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-section);
}
.article-related h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-base);
}
.related-links { display: flex; flex-direction: column; gap: var(--space-sm); }
.related-links a {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--hairline-soft);
  padding-bottom: var(--space-sm);
}
.related-links a:last-child { border-bottom: none; padding-bottom: 0; }
.related-links a:hover { color: var(--primary); }

/* BREADCRUMB */
.breadcrumb {
  padding: var(--space-base) 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.breadcrumb-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb-inner a { color: var(--muted); }
.breadcrumb-inner a:hover { color: var(--ink); }
.breadcrumb-sep { color: var(--muted-soft); }

/* PAGE CONTENT */
.page-hero { padding: var(--space-xxl) 0; border-bottom: 1px solid var(--hairline); }
.page-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.page-hero h1 {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: var(--space-base);
}
.page-hero p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
}
.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-section) var(--space-xl);
}
.page-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin: var(--space-xxl) 0 var(--space-base);
  line-height: 1.25;
}
.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: var(--space-xl) 0 var(--space-sm);
}
.page-content p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: var(--space-base);
}
.page-content ul { margin: var(--space-base) 0 var(--space-base) var(--space-xl); }
.page-content ul li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
  list-style: disc;
  margin-bottom: var(--space-xs);
}
.page-content a { color: var(--primary); }
.page-content a:hover { color: var(--primary-active); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, calc(100vw - 32px));
  background: var(--ink);
  color: var(--canvas);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  z-index: 999;
  box-shadow: 0 4px 24px rgba(38,37,30,0.18);
}
.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  color: #d0cfc8;
}
.cookie-banner a { color: var(--canvas); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: var(--space-xs); flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cookie-accept:hover { background: var(--primary-active); }
.btn-cookie-reject {
  background: transparent;
  color: var(--muted-soft);
  border: 1px solid #444;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cookie-reject:hover { color: var(--canvas); }
.cookie-banner.hidden { display: none; }

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xxl);
}
.footer-brand {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-bottom: var(--space-sm);
}
.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-heading {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-base);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col ul li a {
  font-size: 14px;
  color: var(--muted);
}
.footer-col ul li a:hover { color: var(--ink); }
.footer-bottom {
  max-width: 1200px;
  margin: var(--space-xxl) auto 0;
  padding: var(--space-lg) var(--space-xl) 0;
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

/* DISCLAIMER */
.disclaimer {
  background: var(--surface-strong);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-base);
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--space-base);
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    padding: var(--space-base) var(--space-xl);
    gap: var(--space-base);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-xxl); }
  .hero h1 { font-size: 32px; letter-spacing: -0.8px; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .article-hero h1 { font-size: 28px; }
  .section-title { font-size: 26px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: var(--space-base); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-base); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-xs); }
  .hero-inner { padding: 0 var(--space-base); }
  .article-body { padding: var(--space-xl) var(--space-base); }
}
