:root {
  --site-red: #e60012;
  --site-ink: #121826;
}

*:focus-visible {
  outline: 3px solid #ff9eaa;
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #fff;
  color: var(--site-ink);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.logo {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  line-height: 1;
  white-space: nowrap;
}

.logo::after {
  content: "INVESTMENT & M&A PLATFORM";
  position: absolute;
  bottom: 0;
  left: 0;
  color: currentColor;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .025em;
  opacity: .78;
}

.header .nav .contact-btn,
.header .nav .contact-btn.active {
  color: #fff;
}

.form-status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #f2c7cc;
  border-radius: 6px;
  background: #fff8f8;
  color: #8f1d28;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

button:disabled,
button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .62;
}

@media (hover: hover) {
  .nav a:not(.contact-btn):hover,
  .footer a:hover,
  .detail:hover,
  .more:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .header-inner {
    position: relative;
  }

  .header .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none !important;
    margin: 0;
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid #eceef1;
    border-top: 0;
    box-shadow: 0 14px 30px rgba(16, 24, 40, .12);
  }

  .header .nav.is-open {
    display: flex !important;
  }

  .header .nav a {
    display: block;
    padding: 12px 8px;
  }

  .header .nav a.active::after {
    display: none;
  }

  .header .nav .contact-btn {
    margin-top: 8px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 70px;
    height: 70px;
  }

  .logo {
    font-size: 21px;
  }

  .logo::after {
    font-size: 6px;
  }
}
