.editorial-guide {
  margin-top: 34px;
  padding: 34px;
  border: 1px solid #e1e8f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 65, 125, 0.055);
}

.editorial-guide__head {
  max-width: 850px;
  margin-bottom: 27px;
}

.editorial-guide__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #0864f7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.editorial-guide h2,
.editorial-guide h3,
.editorial-guide p {
  margin-top: 0;
}

.editorial-guide h2 {
  margin-bottom: 12px;
  color: #101b2d;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.editorial-guide h3 {
  margin-bottom: 10px;
  color: #17243a;
  font-size: 17px;
  line-height: 1.3;
}

.editorial-guide p,
.editorial-guide li,
.editorial-guide summary {
  color: #586981;
  font-size: 14px;
  line-height: 1.75;
}

.editorial-guide p:last-child {
  margin-bottom: 0;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.editorial-card {
  padding: 23px;
  border: 1px solid #e4eaf3;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f9fbff);
}

.editorial-card ul {
  margin: 13px 0 0;
  padding-left: 20px;
}

.editorial-card li + li {
  margin-top: 6px;
}

.editorial-faq {
  margin-top: 24px;
  padding-top: 25px;
  border-top: 1px solid #e5ebf3;
}

.editorial-faq > h3 {
  margin-bottom: 14px;
}

.editorial-faq details {
  border-top: 1px solid #e5ebf3;
}

.editorial-faq details:last-child {
  border-bottom: 1px solid #e5ebf3;
}

.editorial-faq summary {
  position: relative;
  padding: 15px 34px 15px 0;
  color: #1a2a42;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.editorial-faq summary::-webkit-details-marker {
  display: none;
}

.editorial-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 5px;
  color: #0864f7;
  font-size: 20px;
  transform: translateY(-50%);
}

.editorial-faq details[open] summary::after {
  content: "−";
}

.editorial-faq details p {
  max-width: 930px;
  padding: 0 34px 16px 0;
}

.trust-footer {
  margin-top: 38px;
  border-top: 1px solid #e2e9f2;
  background: #071424;
  color: #dce7f5;
}

.trust-footer__inner {
  display: grid;
  grid-template-columns: minmax(210px, 1.3fr) repeat(2, minmax(150px, .7fr));
  gap: 35px;
  padding-top: 34px;
  padding-bottom: 28px;
}

.trust-footer__brand {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.trust-footer__brand span {
  color: #2c7fff;
}

.trust-footer p {
  max-width: 360px;
  margin: 0;
  color: #9fb0c6;
  font-size: 12px;
  line-height: 1.65;
}

.trust-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 12px;
}

.trust-footer nav {
  display: grid;
  gap: 9px;
}

.trust-footer a {
  color: #aebdd0;
  font-size: 12px;
  text-decoration: none;
}

.trust-footer a:hover {
  color: #fff;
}

.trust-footer .cookie-settings-button {
  width: max-content;
  padding: 0;
  color: #aebdd0;
  font: inherit;
  font-size: 12px;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.trust-footer .cookie-settings-button:hover,
.trust-footer .cookie-settings-button:focus-visible {
  color: #fff;
}

.trust-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 17px;
  padding-bottom: 19px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8191a6;
  font-size: 11px;
}

.error-page {
  min-height: calc(100vh - 360px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding-top: 70px;
  padding-bottom: 90px;
}

.error-page__card {
  width: 100%;
  min-width: 0;
  max-width: 720px;
  padding: clamp(32px, 7vw, 66px);
  text-align: center;
  border: 1px solid #e0e8f3;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0, #eff6ff, #fff 58%);
  box-shadow: 0 24px 60px rgba(25, 67, 135, .09);
}

.error-page__code {
  display: block;
  color: #176cff;
  font-size: clamp(64px, 13vw, 112px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.08em;
}

.error-page h1 {
  margin: 24px 0 12px;
  color: #101b2d;
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.error-page p {
  max-width: 570px;
  margin: 0 auto;
  color: #5c6d85;
  line-height: 1.7;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.error-page__actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #1764e8;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #bad0f8;
  border-radius: 10px;
  background: #fff;
}

.error-page__actions a:first-child {
  color: #fff;
  border-color: #1764e8;
  background: #1764e8;
  box-shadow: 0 12px 26px rgba(23, 100, 232, .2);
}

.contact-intro {
  padding: 36px;
  border: 1px solid #dde7f3;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f4f8ff);
  box-shadow: 0 16px 38px rgba(27, 69, 137, .07);
}

.contact-intro h1 {
  margin: 0 0 12px;
  color: #101b2d;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -.055em;
}

.contact-intro p {
  max-width: 760px;
  margin: 0;
  color: #586981;
  line-height: 1.75;
}

.contact-email-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #dbe6f5;
  border-radius: 13px;
  background: #fff;
}

.contact-email-card strong,
.contact-email-card small {
  display: block;
}

.contact-email-card small {
  margin-bottom: 6px;
  color: #677891;
}

.contact-email-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9px;
  background: #1764e8;
}

@media (max-width: 640px) {
  .contact-intro { padding: 27px 21px; }
  .contact-email-card { align-items: stretch; flex-direction: column; }
  .contact-email-card a { justify-content: center; }
  .error-page { width: calc(100% - 24px); padding-top: 46px; padding-bottom: 62px; }
  .error-page__card { padding: 34px 18px; }
  .error-page__actions { align-items: stretch; flex-direction: column; }
  .error-page__actions a { width: 100%; }
}

@media (max-width: 760px) {
  .editorial-guide {
    margin-top: 24px;
    padding: 24px 20px;
  }

  .editorial-grid,
  .trust-footer__inner {
    grid-template-columns: 1fr;
  }

  .trust-footer__inner {
    gap: 24px;
  }

  .trust-footer__bottom {
    flex-direction: column;
  }
}
