:root {
  --blue: #0d8ed1;
  --blue-dark: #087fbd;
  --text: #777d84;
  --heading: #31363b;
  --footer: #202322;
  --line: #e4e6e8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-middle { background: #fff; }

.header-grid {
  display: grid;
  grid-template-columns: 210px 1fr 190px;
  gap: 26px;
  align-items: start;
  padding: 16px 0 18px;
}

.logo img { width: 200px; height: auto; }

.header-info {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: center;
  color: #7b8188;
  font-size: 15px;
  margin-bottom: 12px;
}

.header-info span:last-child {
  color: #3b4046;
  font-weight: 600;
  text-align: right;
}

.search {
  height: 40px;
  border: 1px solid #d0d4d8;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 190px 1fr 48px;
  overflow: hidden;
}

.search-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f3f3;
  color: #9aa0a7;
}

.search-tabs span,
.search-tabs b {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

.search-tabs b {
  color: #147fbd;
  text-decoration: underline;
  background: #fff;
}

.search input {
  border: 0;
  outline: 0;
  padding: 0 24px;
  color: #868c92;
  font-size: 13px;
  text-transform: uppercase;
}

.search button {
  border: 0;
  background: #fff;
  position: relative;
}

.search button::before {
  content: "";
  width: 13px;
  height: 13px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  position: absolute;
  top: 12px;
  left: 14px;
}

.search button::after {
  content: "";
  width: 7px;
  height: 1px;
  background: var(--blue);
  position: absolute;
  top: 25px;
  left: 26px;
  transform: rotate(45deg);
}

.header-actions {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: end;
  gap: 7px;
}

.top-link {
  background: var(--blue);
  color: #fff;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 15px;
  letter-spacing: .3px;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--blue-dark);
  border-top: 1px solid #e7f4fb;
}

.main-nav a {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .7px;
  padding: 18px 10px;
  border-right: 1px solid rgba(255,255,255,.35);
}

.main-nav a:hover { background: #0673ad; }

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #969ca2;
  padding: 22px 0;
  font-size: 14px;
}

.breadcrumbs span::before {
  content: "›";
  color: #b4b8bc;
}

.breadcrumbs b {
  font-weight: 400;
}

.article-shell {
  padding: 20px 0 0;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 46px;
  align-items: center;
  margin: 20px 0 58px;
}

.article-hero-image {
  min-height: 420px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff 0%, #f7f9fa 100%);
  border: 1px solid #eef1f3;
}

.article-hero-image img {
  width: min(760px, 92%);
}

.hero-card {
  background: #fff;
  border-top: 4px solid var(--blue);
  box-shadow: 0 14px 34px rgba(29, 47, 61, .12);
  padding: 32px;
}

.hero-card span {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-card h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-card p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.hero-card ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.hero-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  color: #525960;
  line-height: 1.45;
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--blue);
}

.hero-card a {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 0 28px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
}

.article {
  width: 895px;
  margin: 0 auto;
  padding-bottom: 55px;
  border-bottom: 1px solid var(--line);
}

.article-title {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: start;
  margin-bottom: 18px;
}

.date-badge {
  width: 46px;
  text-align: center;
  background: #f2f2f2;
  color: #333;
}

.date-badge b {
  display: block;
  font-size: 16px;
  padding: 8px 0 3px;
}

.date-badge span {
  display: block;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  line-height: 22px;
}

h1, h2, h3 {
  margin: 0;
  color: var(--heading);
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  color: var(--blue);
  font-size: 30px;
  letter-spacing: .5px;
}

.meta {
  margin: 8px 0 0;
  color: #8d9399;
  font-size: 14px;
}

.article-toc {
  display: grid;
  gap: 7px;
  margin: 28px 0;
}

.article-toc a {
  color: #536b7b;
  text-decoration: underline;
}

.article p,
.article li {
  font-size: 18px;
  letter-spacing: .2px;
  color: #7b8086;
}

.article p {
  margin: 0 0 24px;
}

.article h2 {
  font-size: 27px;
  margin: 42px 0 20px;
}

.article h3 {
  font-size: 22px;
  margin: 36px 0 18px;
}

.article ul {
  padding-left: 0;
  margin: 0 0 26px;
  list-style: none;
}

.article li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.article li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #8f969c;
  position: absolute;
  left: 0;
  top: 15px;
}

.lead-band {
  background: linear-gradient(180deg, #f4f7f9 0%, #eef3f6 100%);
  padding: 64px 0;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 70px;
  align-items: start;
}

.section-kicker {
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .8px;
}

.lead-band h2,
.legal h2,
.related h2 {
  color: var(--heading);
  font-size: 28px;
  margin: 5px 0 16px;
  text-transform: uppercase;
}

.lead-band p {
  max-width: 650px;
  font-size: 17px;
}

.lead-form {
  display: grid;
  gap: 12px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 12px 32px rgba(29, 47, 61, .1);
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid #d5dadd;
  background: #fff;
  min-height: 45px;
  padding: 11px 13px;
  color: #555;
  font: inherit;
}

.lead-form textarea {
  min-height: 98px;
  resize: vertical;
}

.lead-form label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.45;
}

.lead-form button,
.footer-button,
.cookie button {
  background: var(--blue);
  color: #fff;
  border: 0;
  min-height: 36px;
  padding: 0 28px;
  cursor: pointer;
  font-size: 15px;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--blue);
  font-size: 13px;
}

.advantages {
  padding: 48px 0;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.advantage {
  text-align: center;
  padding: 24px 18px;
  border: 1px solid #e9edf0;
  background: #fff;
}

.advantage img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.advantage b {
  display: block;
  color: #333;
  text-transform: uppercase;
}

.advantage p {
  margin: 6px 0 0;
  line-height: 1.45;
}

.related {
  padding: 42px 0 72px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 30px;
}

.related-card img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}

.related-card {
  border: 1px solid #e9edf0;
  background: #fff;
  padding-bottom: 18px;
}

.card-title {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  margin: 18px 18px 0;
}

.card-title span {
  width: 46px;
  text-align: center;
  background: #f2f2f2;
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  background-image: linear-gradient(to bottom, #f2f2f2 0 30px, var(--blue) 30px);
}

.card-title span b {
  display: block;
  color: #333;
  font-size: 16px;
  line-height: 30px;
}

.card-title h3 {
  color: var(--blue);
  font-size: 20px;
}

.related-card p {
  margin: 22px 18px 0;
  color: #8d9399;
}

.legal {
  padding: 58px 0 70px;
  background: #f6f7f8;
}

.legal-intro {
  margin-top: 0;
  font-size: 17px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 25px 0 0;
  background: #dde2e5;
}

.legal-grid div {
  background: #fff;
  padding: 18px 20px;
}

.legal-grid dt {
  color: #333;
  font-weight: 700;
  margin-bottom: 4px;
}

.legal-grid dd {
  margin: 0;
}

.footer {
  background: var(--footer);
  color: #9fa4a8;
  padding: 0 0 38px;
}

.footer-ribbon {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  padding: 9px 18px;
  margin-top: -18px;
  position: relative;
}

.footer-ribbon::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 0;
  border-right: 15px solid var(--blue);
  border-top: 18px solid transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 55px;
  padding: 42px 0;
}

.footer h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer p {
  margin: 0 0 10px;
  line-height: 1.45;
}

.footer a {
  display: block;
  color: #a8adb1;
  margin-bottom: 7px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}

.contact-list li {
  margin-bottom: 12px;
  line-height: 1.45;
}

.contact-list b {
  color: #fff;
  text-transform: uppercase;
  display: block;
  font-size: 12px;
}

.footer .footer-button {
  display: inline-grid;
  place-items: center;
  width: 185px;
  color: #fff;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid #363a39;
  padding-top: 26px;
  font-size: 12px;
}

.cookie {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  width: min(1170px, calc(100% - 64px));
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 22px;
  align-items: center;
  padding: 16px 25px;
  z-index: 20;
}

.cookie p {
  color: #252525;
  margin: 0;
  line-height: 1.35;
}

.cookie.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .header-grid { grid-template-columns: 200px 1fr; }
  .header-actions { grid-column: 1 / -1; grid-template-columns: 180px 180px; justify-content: start; align-items: center; }
  .top-link { grid-column: auto; }
  .article { width: 100%; margin-left: 0; }
  .article-hero { grid-template-columns: 1fr; gap: 24px; }
  .article-hero-image { min-height: 340px; }
  .hero-card { max-width: 620px; }
}

@media (max-width: 760px) {
  body { font-size: 13px; }
  .container { width: calc(100% - 28px); }
  .header-grid,
  .header-info,
  .search,
  .lead-grid,
  .advantage-grid,
  .related-grid,
  .legal-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-middle { min-height: auto; padding-bottom: 18px; }
  .header-actions { grid-template-columns: 1fr; }
  .header-info span:last-child { text-align: left; }
  .main-nav { grid-template-columns: repeat(2, 1fr); }
  .breadcrumbs { flex-wrap: wrap; }
  .article-shell { padding-top: 0; }
  .article-hero { margin: 0 0 36px; }
  .article-hero-image { min-height: 220px; }
  .hero-card { padding: 24px 20px; }
  .hero-card h2 { font-size: 23px; }
  .article p, .article li { font-size: 16px; letter-spacing: 0; }
  h1 { font-size: 22px; letter-spacing: 0; }
  .article h2 { font-size: 22px; }
  .article h3 { font-size: 20px; }
  .cookie { grid-template-columns: 1fr; width: calc(100% - 24px); bottom: 12px; }
}
