
:root {
  --primary: #d54327;
  --primary-dark: #b0341c;
  --ink: #1a1a1f;
  --text: #33343b;
  --muted: #6b6d78;
  --bg: #f6f5f3;
  --card: #ffffff;
  --line: #e6e3de;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  background: var(--ink);
  border-bottom: 4px solid var(--primary);
}
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
}
.brand span { color: var(--primary); }
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, #2b2b33 60%, var(--primary-dark) 140%);
  color: #fff;
  padding: 72px 24px 80px;
  text-align: center;
}
.hero__inner { max-width: 900px; margin: 0 auto; }
h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(30px, 5.5vw, 54px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #fff;
}
.hero__bar {
  width: 80px;
  height: 5px;
  background: var(--primary);
  border-radius: 3px;
  margin: 26px auto 0;
}
main {
  max-width: 900px;
  margin: -40px auto 0;
  padding: 0 20px 60px;
  position: relative;
}
article {
  background: var(--card);
  border-radius: 14px;
  padding: 44px 48px;
  box-shadow: 0 12px 40px rgba(20, 20, 30, 0.08);
  overflow-wrap: break-word;
}
article h2, article h3, article h4, article h5, article h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 1.8em 0 0.6em;
}
article h2 { font-size: 30px; color: var(--primary); }
article h3 { font-size: 24px; }
article h4 { font-size: 20px; }
article > :first-child { margin-top: 0; }
article p { margin: 0 0 1.2em; }
article ul, article ol { padding-left: 1.4em; margin: 0 0 1.2em; }
article li { margin-bottom: 0.4em; }
article a { color: var(--primary); text-decoration: underline; }
article img { max-width: 100%; height: auto; border-radius: 8px; }
article blockquote {
  margin: 1.5em 0;
  padding: 14px 22px;
  border-left: 4px solid var(--primary);
  background: #faf6f4;
  color: var(--ink);
}
article table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
article th, article td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
article th { background: var(--ink); color: #fff; }
.transition {
  margin-top: 32px;
  padding: 30px 40px;
  background: #fff;
  border-radius: 14px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 8px 28px rgba(20, 20, 30, 0.06);
  overflow-wrap: break-word;
}
.transition p { margin: 0 0 1em; }
.transition p:last-child { margin-bottom: 0; }
.links-section {
  margin-top: 32px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 40px 44px;
  overflow: hidden;
}
.links-section h3 {
  margin: 32px 0 14px;
  padding-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid var(--primary);
}
.links-section h3:first-child { margin-top: 0; }
.links-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: 2;
  column-gap: 40px;
}
.links-section li {
  break-inside: avoid;
  page-break-inside: avoid;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-wrap: anywhere;
}
.links-section a {
  color: #f2d9d3;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.links-section a:hover, .links-section a:focus {
  color: #fff;
  text-decoration: underline;
  padding-left: 4px;
}
.site-footer {
  background: var(--ink);
  border-top: 4px solid var(--primary);
  color: #b9bac4;
  text-align: center;
  padding: 32px 24px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.site-footer strong { color: #fff; }
@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero { padding: 52px 20px 64px; }
  article { padding: 28px 22px; }
  .transition { padding: 24px 22px; }
  .links-section { padding: 28px 22px; }
  .links-section ul { column-gap: 24px; }
}
@media (max-width: 480px) {
  main { padding: 0 12px 40px; }
  .links-section ul { column-count: 1; }
  .site-header__inner { justify-content: center; }
}
