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

:root {
  --blue: #2ea3f2;
  --blue-dark: #1b7cc0;
  --ink: #1d2a33;
  --text: #4a5560;
  --bg: #f4f7fa;
  --white: #ffffff;
  --line: #dde5ec;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Hero / H1 ---------- */
.hero {
  background: linear-gradient(135deg, #1d2a33 0%, #24414f 55%, var(--blue-dark) 100%);
  color: #fff;
  padding: 90px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: var(--blue);
}
.hero h1 {
  margin: 0 auto;
  max-width: 960px;
  font-size: clamp(30px, 5.5vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* ---------- Layout ---------- */
.container {
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
}

/* ---------- Article ---------- */
article {
  background: var(--white);
  margin: -50px auto 40px;
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 980px;
  padding: 48px 52px;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(29, 42, 51, 0.12);
  border-top: 5px solid var(--blue);
  overflow-wrap: break-word;
}
article h2, article h3, article h4, article h5, article h6 {
  color: var(--ink);
  line-height: 1.25;
  margin: 1.6em 0 0.6em;
  padding: 0;
}
article h2 { font-size: 30px; font-weight: 700; }
article h3 { font-size: 24px; font-weight: 700; }
article h4 { font-size: 20px; font-weight: 600; }
article h5 { font-size: 17px; font-weight: 600; }
article h6 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
article > *:first-child { margin-top: 0; }
article p { margin: 0 0 1.2em; padding: 0; }
article p:last-child { margin-bottom: 0; }
article a { color: var(--blue-dark); text-decoration: underline; }
article a:hover { color: var(--blue); }
article ul, article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
article ul { list-style: disc; }
article li { margin-bottom: 0.4em; }
article blockquote {
  margin: 1.5em 0;
  padding: 12px 22px;
  border-left: 5px solid var(--blue);
  background: var(--bg);
  color: var(--ink);
  font-style: italic;
}
article img { max-width: 100%; height: auto; }
article table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; display: block; overflow-x: auto; }
article th, article td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
article th { background: var(--bg); color: var(--ink); }

/* ---------- Transition paragraph ---------- */
.transition {
  background: linear-gradient(135deg, #24414f 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 56px 0;
  margin: 20px 0 0;
}
.transition .container { text-align: center; font-size: 18px; }
.transition p { margin: 0 0 1em; padding: 0; color: #fff; }
.transition p:last-child { margin-bottom: 0; }
.transition a { color: #fff; text-decoration: underline; }

/* ---------- Links block ---------- */
.links-block { padding: 56px 0 70px; }
.links-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 10px;
  padding: 36px 40px 28px;
  box-shadow: 0 8px 28px rgba(29, 42, 51, 0.08);
}
.links-box h3 {
  margin: 0 0 14px;
  padding: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--line);
  line-height: 1.3;
}
.links-box h3:not(:first-child) { margin-top: 30px; }
.links-box ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  column-count: 2;
  column-gap: 40px;
}
.links-box li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  padding: 7px 0 7px 18px;
  position: relative;
  border-bottom: 1px dashed var(--line);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.links-box li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.links-box a { color: var(--blue-dark); text-decoration: none; }
.links-box a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .hero { padding: 60px 16px 80px; }
  article { padding: 28px 22px; margin-top: -40px; }
  article h2 { font-size: 25px; }
  article h3 { font-size: 21px; }
  .transition { padding: 40px 0; }
  .transition .container { font-size: 16px; }
  .links-box { padding: 24px 20px 18px; }
  .links-box ul { column-count: 1; }
}
