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

:root {
  --blue: #0000ff;
  --blue-dark: #0000b3;
  --blue-light: #9999ff;
  --blue-pale: #eef0fb;
  --text: #424242;
  --muted: #6e6e6e;
  --border: #d5d5d5;
  --footer-bg: #cccccc;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #f4f5fa;
}

header {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #ffffff;
  padding: 56px 24px 76px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(153, 153, 255, 0.25);
}

.hero::before {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}

main {
  max-width: 1100px;
  margin: -40px auto 0;
  padding: 0 24px 56px;
  position: relative;
  z-index: 2;
}

article {
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  padding: 40px 44px;
  overflow-wrap: anywhere;
}

article h2,
article h3,
article h4,
article h5,
article h6 {
  color: var(--blue-dark);
  line-height: 1.25;
  margin: 1.6em 0 0.6em;
}

article h2 { font-size: 1.8rem; }
article h3 { font-size: 1.45rem; }
article h4 { font-size: 1.2rem; }

article > :first-child { margin-top: 0; }

article p { margin: 0 0 1.1em; }

article ul,
article ol { margin: 0 0 1.2em 1.4em; padding: 0; }

article li { margin-bottom: 0.4em; }

article a { color: var(--blue); text-decoration: underline; }
article a:hover { color: var(--muted); }

article blockquote {
  margin: 1.4em 0;
  padding: 0.6em 1.2em;
  border-left: 5px solid var(--blue-light);
  background: var(--blue-pale);
  color: var(--muted);
}

article img { max-width: 100%; height: auto; }

article table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

article th,
article td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }

.transition {
  margin-top: 28px;
  padding: 26px 32px;
  background: var(--blue-pale);
  border: 1px solid #cad3e7;
  border-left: 5px solid var(--blue);
  border-radius: 10px;
  overflow-wrap: anywhere;
}

.transition p { margin: 0 0 1em; }
.transition p:last-child { margin-bottom: 0; }

.links-block {
  margin-top: 28px;
  padding: 32px 36px;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.links-block h3 {
  margin: 1.6em 0 0.7em;
  padding-bottom: 8px;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--blue-dark);
  border-bottom: 2px solid var(--blue-light);
}

.links-block h3:first-child { margin-top: 0; }

.links-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}

.links-block li {
  break-inside: avoid;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  overflow-wrap: anywhere;
}

.links-block a {
  color: var(--blue);
  text-decoration: none;
}

.links-block a:hover {
  color: var(--muted);
  text-decoration: underline;
}

footer {
  background: var(--footer-bg);
  color: #595959;
  text-align: center;
  padding: 30px 24px;
  border-top: 4px solid var(--blue);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.1);
}

footer p { margin: 0 auto; max-width: 800px; font-size: 0.95rem; }

@media (max-width: 767px) {
  .hero { padding: 40px 18px 62px; }
  main { padding: 0 14px 40px; margin-top: -30px; }
  article { padding: 24px 20px; }
  .transition { padding: 20px; }
  .links-block { padding: 24px 20px; }
  .links-block ul { columns: 1; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .header-inner { padding: 14px 16px; }
}
