:root {
  --bg: #f8fafc;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #cbd5e1;
  --steel: #0369a1;
  --steel-soft: #e0f2fe;
  --olive: #65a30d;
  --olive-soft: #ecfccb;
  --max: 1160px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.68 "Inter", "Segoe UI", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: #3f6212; }

.site-header { background: var(--paper); border-bottom: 3px solid var(--steel); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.brand-text strong { font-size: 19px; display: block; line-height: 1.1; color: var(--ink); }
.brand-text small { font-size: 12px; color: var(--muted); display: block; }
.main-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.main-nav a.nav-cta { background: var(--steel); color: #fff; padding: 8px 14px; border-radius: 6px; font-weight: 700; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px; font-weight: 800; }
h1 { font-size: clamp(30px, 3.5vw, 44px); }
h2 { font-size: clamp(23px, 2.4vw, 30px); }

.dir-hero { background: linear-gradient(135deg, var(--steel-soft) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); padding: 42px 0 36px; }
.dir-grid { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.olive-tag { display: inline-block; background: var(--olive-soft); color: #365314; border: 1px solid #bef264; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.lead { font-size: 18.5px; color: var(--muted); margin: 0 0 20px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; padding: 12px 19px; border-radius: 6px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-steel { background: var(--steel); color: #fff; }
.btn-line { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }

.dir-visual { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.dir-visual img, .visual-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }

.dir-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.dir-card { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--olive); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.dir-card a { font-weight: 700; text-decoration: none; }

.article-dir { max-width: 840px; margin: 0 auto; padding: 28px 24px 50px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.answer-box { background: var(--steel-soft); border-left: 5px solid var(--steel); padding: 18px 20px; border-radius: 6px; margin: 20px 0; }
.answer-box strong { display: block; font-size: 12px; text-transform: uppercase; color: var(--steel); letter-spacing: 0.06em; margin-bottom: 6px; }
.answer-box p { margin: 0; }
.visual-figure { margin: 24px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.visual-figure figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.article-dir h2 { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }

table.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }
table.spec-table th, table.spec-table td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: left; }
table.spec-table th { background: var(--steel-soft); }

.faq-list { display: grid; gap: 10px; margin: 16px 0; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 13px 16px; }
.faq-list summary { font-weight: 700; cursor: pointer; }
.faq-list details p { margin: 8px 0 0; color: var(--muted); }

.uwe-call-card { margin: 30px 0; background: var(--ink); color: #f8fafc; border-left: 5px solid var(--olive); border-radius: 8px; padding: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.uwe-call-card h2, .uwe-call-card h3 { color: #fff; }
.uwe-call-card p { color: #cbd5e1; margin: 0; max-width: 56ch; font-size: 15.5px; }
.call-actions { display: flex; flex-direction: column; gap: 10px; min-width: 230px; }
.call-btn { display: inline-flex; justify-content: center; padding: 12px 18px; border-radius: 6px; background: var(--olive); color: #fff; font-weight: 800; text-decoration: none; }
.call-btn-sec { display: inline-flex; justify-content: center; padding: 10px 16px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.35); color: #fff; text-decoration: none; font-size: 14px; }

.ecosystem-strip { width: 100%; max-width: var(--max); margin: 24px auto; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--steel); border-radius: 8px; padding: 22px; }
.eco-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.eco-card { display: block; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 13.5px; }
.eco-card strong { display: block; color: var(--steel); margin-bottom: 4px; }
.legal-box { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 28px; margin: 24px 0; }

.site-footer { background: var(--ink); color: #cbd5e1; padding: 34px 0; margin-top: 44px; font-size: 14px; }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.footer-grid h3 { color: #fff; font-size: 15.5px; }
.footer-grid a { color: #7dd3fc; text-decoration: none; display: block; margin: 5px 0; }

@media (max-width: 960px) {
  .dir-grid, .dir-cards, .footer-grid { grid-template-columns: 1fr; }
  .eco-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) { .eco-links { grid-template-columns: 1fr; } }

/* Mobile safety guard */
.article-main, .article-side, .eco-card { min-width: 0; }
@media (max-width: 640px) {
  .article-main { padding: 18px; }
  table.spec-table { display: block; overflow-x: auto; max-width: 100%; font-size: 13.5px; }
  .uwe-call-card { padding: 18px; }
  .call-actions { min-width: 0; width: 100%; }
}
