﻿:root {
  --ink: #17202a;
  --muted: #5d6b78;
  --line: #d8e0e8;
  --paper: #fbfcfe;
  --soft: #eef6f4;
  --blue: #1155cc;
  --green: #0c8f68;
  --amber: #b26100;
  --night: #111827;
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { margin: 0 auto; max-width: 1180px; padding: 0 24px; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav { align-items: center; display: flex; gap: 24px; min-height: 74px; }
.brand { align-items: center; display: flex; font-weight: 800; gap: 10px; margin-right: auto; }
.brand img { height: 42px; width: 54px; }
.navlinks { align-items: center; color: var(--muted); display: flex; font-size: 14px; font-weight: 650; gap: 18px; }
.button { align-items: center; background: var(--night); border: 1px solid var(--night); border-radius: var(--radius); color: #fff; display: inline-flex; font-size: 14px; font-weight: 750; min-height: 42px; padding: 0 16px; }
.button.secondary { background: #fff; color: var(--ink); }
.article-hero { border-bottom: 1px solid var(--line); padding: 76px 0 58px; }
.article-grid { display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr); }
.eyebrow, .mini-label { color: var(--green); font-size: 13px; font-weight: 850; letter-spacing: 0; margin: 0 0 16px; text-transform: uppercase; }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 0.98; letter-spacing: 0; margin: 0; max-width: 860px; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.55; margin: 24px 0 0; max-width: 720px; }
.meta-row { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 13px; gap: 14px; margin-top: 24px; }
.hero-card { align-self: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 22px 60px rgba(17, 24, 39, 0.1); overflow: hidden; }
.hero-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.hero-card img[src*="36c8cc_d4d20586d9b44b34b715908deb43c112"] { background: #fff; object-fit: contain; padding: clamp(28px, 6vw, 72px); }
section { padding: 66px 0; }
.section-head { align-items: end; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 24px; }
.section-head h2 { font-size: 34px; letter-spacing: 0; line-height: 1.1; margin: 0; }
.section-head p { color: var(--muted); line-height: 1.5; margin: 0; max-width: 540px; }
.topics { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.topic { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-height: 166px; padding: 18px; }
.topic b { display: block; font-size: 18px; line-height: 1.2; }
.topic p { color: var(--muted); font-size: 14px; line-height: 1.45; margin: 12px 0 0; }

.category-list {
  display: grid;
  gap: 16px;
}
.category-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.category-item h2 {
  font-size: 24px;
  line-height: 1.22;
  margin: 8px 0 10px;
}
.category-item p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
  margin: 0;
}
.category-meta {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.feature-band { background: var(--soft); border-block: 1px solid var(--line); }
.articles { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article-body { padding: 18px; }
.tag { color: var(--blue); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.article h3 { font-size: 21px; line-height: 1.2; margin: 9px 0 10px; }
.article p { color: var(--muted); line-height: 1.5; margin: 0; }
.content-layout { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 280px; }
.content-card, .toc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.content-card { font-size: 18px; line-height: 1.7; }
.content-card h2 { font-size: 30px; line-height: 1.15; margin: 34px 0 12px; }
.content-card p, .content-card li { color: var(--muted); }
.answer { color: var(--ink) !important; font-size: 21px; line-height: 1.55; }
.toc-card { align-self: start; position: sticky; top: 94px; }
.toc-card b { display: block; margin-bottom: 12px; }
.toc-card a { border-top: 1px solid var(--line); color: var(--muted); display: block; font-size: 14px; padding: 12px 0; }
.footer { background: var(--night); color: #fff; padding: 38px 0; }
.footer .shell { align-items: center; display: flex; gap: 18px; justify-content: space-between; }
.footer p { color: #cdd6e1; margin: 0; }
@media (max-width: 920px) {
  .navlinks { display: none; }
  .article-grid, .content-layout { grid-template-columns: 1fr; }
  .topics, .articles { grid-template-columns: 1fr 1fr; }
  .toc-card { position: static; }
}
@media (max-width: 620px) {
  .shell { padding: 0 18px; }
  h1 { font-size: 42px; }
  .lead { font-size: 18px; }
  .topics, .articles { grid-template-columns: 1fr; }
  .footer .shell { align-items: start; flex-direction: column; }
}

.article-content {
  max-width: 820px;
}
.article-content > * + * {
  margin-top: 1.15rem;
}
.article-content p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.78;
  margin-bottom: 0;
}
.article-content h2 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.22;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}
.article-content h3 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.3;
  margin-top: 2rem;
}
.article-content ul,
.article-content ol {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
  margin: 1rem 0 0 1.4rem;
  padding: 0;
}
.article-content li + li {
  margin-top: 0.55rem;
}
.author-bio {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  margin-top: 3rem;
  padding: 24px;
}
.author-bio h2 {
  font-size: 24px;
  margin-top: 0;
}
.author-bio p:last-child {
  color: var(--muted);
}
.answer-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  padding: 24px;
}
.answer-card p:last-child {
  font-size: 20px;
  line-height: 1.65;
}
.article-figure {
  margin: 2rem 0;
}
.article-figure img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: auto;
  width: 100%;
}
.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}
.table-wrap table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}
.table-wrap td {
  border: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
  padding: 12px;
  vertical-align: top;
}
@media (max-width: 620px) {
  .article-content p,
  .article-content ul,
  .article-content ol {
    font-size: 17px;
    line-height: 1.72;
  }
  .answer-card {
    padding: 18px;
  }
}

.article-content pre {
  background: #0f172a;
  border-radius: var(--radius);
  color: #e5edf7;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: auto;
  padding: 18px;
  white-space: pre-wrap;
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 1.5rem;
}
.contact-form label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
