.site-nav:has(.buyer-menu) { gap: clamp(15px, 2.7vw, 44px); }
.buyer-menu { position: relative; }
.buyer-menu summary {
  display: flex;
  align-items: center;
  gap: .55em;
  padding-block: 7px;
  font-size: clamp(.92rem, 1.45vw, 1.14rem);
  font-weight: 560;
  cursor: pointer;
  list-style: none;
}
.buyer-menu summary::-webkit-details-marker { display: none; }
.buyer-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--pale);
  border-bottom: 1.5px solid var(--pale);
  transform: rotate(45deg);
}
.buyer-menu[open] summary::after { transform: rotate(225deg); }
.buyer-menu[open] summary, .buyer-menu summary:hover { color: var(--pale); }
.buyer-menu-links {
  position: absolute;
  z-index: 3;
  top: calc(100% + 4px);
  right: 0;
  width: max-content;
  max-width: calc(100vw - 28px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #161326;
  box-shadow: 0 14px 30px #07051191;
}
.buyer-menu-links a {
  display: block;
  padding: 8px 11px;
  border-radius: 7px;
  font-size: .97rem;
}
.buyer-menu-links a:hover, .buyer-menu-links a:focus-visible { background: #28203e; }
.buyer-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 23px;
  padding-block: 15px 21px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .96rem;
}
.buyer-footer a, .buyer-nav a { text-decoration: none; }
.buyer-footer a:hover, .buyer-footer a:focus-visible, .buyer-nav a:hover, .buyer-nav a:focus-visible { color: var(--pale); }

.buyer-page { min-height: 100vh; display: flex; flex-direction: column; }
.buyer-header { background: #0c0b19; border-bottom: 1px solid var(--line); }
.buyer-shell { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.buyer-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.buyer-nav { display: flex; flex-wrap: wrap; gap: 6px 21px; font-size: .98rem; }
.buyer-nav a { padding-block: 4px; }
.buyer-nav [aria-current="page"] { color: var(--pale); text-decoration: underline; text-underline-offset: .37em; }
.buyer-content { flex: 1; padding-block: clamp(40px, 7vw, 92px); }
.buyer-content > h1 { font-size: clamp(2.15rem, 5.6vw, 4.2rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 760; }
.buyer-content > p:first-of-type { margin-top: 15px; max-width: 68ch; font-size: 1.12rem; color: var(--muted); }
.buyer-document { max-width: 74ch; margin-top: 34px; }
.buyer-document h2 { font-size: 1.35rem; line-height: 1.2; font-weight: 650; }
.buyer-document section + section { margin-top: 29px; }
.buyer-document p, .buyer-document ol, .buyer-document ul { margin-top: 9px; }
.buyer-document li + li { margin-top: 10px; }
.buyer-document a, .buyer-requisites a { color: var(--pale); text-underline-offset: .2em; }
.buyer-footer-shell { border-top: 1px solid var(--line); }
.buyer-footer-shell .buyer-footer { border-top: 0; }
.buyer-notice {
  margin-top: 25px;
  padding: 12px 15px;
  border-left: 3px solid var(--violet);
  border-radius: 0 8px 8px 0;
  background: #201833;
  color: var(--muted);
}
.buyer-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: 14px; margin-top: 33px; }
.buyer-plan {
  padding: clamp(16px, 2.5vw, 25px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #171328;
}
.buyer-plan h2 { font-size: 1.3rem; }
.buyer-plan-price { margin-block: 6px; color: var(--pale); font-size: clamp(1.5rem, 3.8vw, 2rem); font-weight: 660; }
.buyer-plan p:last-child { color: var(--muted); }
.buyer-requisites {
  display: grid;
  grid-template-columns: minmax(125px, max-content) minmax(0, 1fr);
  gap: 11px 20px;
  max-width: 760px;
  margin: 29px 0 0;
}
.buyer-requisites dt { color: var(--muted); }
.buyer-requisites dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 820px) {
  .site-nav:has(.buyer-menu) { gap: 4px 17px; }
  .buyer-menu { position: static; }
  .buyer-menu-links { top: 100%; right: max(14px, 4.75vw); }
  .buyer-header-inner { flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .buyer-shell { width: calc(100% - 28px); }
  .buyer-nav { line-height: 1.35; gap: 4px 15px; }
  .buyer-requisites { grid-template-columns: 1fr; row-gap: 3px; }
  .buyer-requisites dd { margin-bottom: 11px; }
}
