@font-face {
  font-family: CapSmall;
  src: url('assets/Capsmall.ttf') format('truetype');
  font-display: swap;
}

html { scroll-padding-top: 84px; }
#top { scroll-margin-top: 0; }
.site-header, .site-footer {
  background: #0b0b0c;
  color: #f6f7f8;
  font: 400 14px/1.45 Inter, system-ui, sans-serif;
}
.site-header {
  position: sticky;
  top: 0;
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
  z-index: 50;
  border-bottom: 1px solid #383839;
  font-weight: 650;
}
.site-header .header-inner {
  box-sizing: border-box;
  width: min(1680px, calc(100% - clamp(88px, 8vw, 160px)));
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
}
.site-header .site-brand, .site-footer .site-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 9px;
  color: #fff;
  font: 400 clamp(33px, 2.8vw, 43px)/1 CapSmall, Inter, sans-serif;
  white-space: nowrap;
  text-decoration: none;
}
.site-brand img { width: clamp(34px, 2.8vw, 41px); height: auto; border-radius: 6px; }
.site-brand b { color: #15b9c1; font-weight: inherit; }
.site-header a { color: inherit; text-decoration: none; }
.site-header a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .22em; }
.site-header :is(a, summary):focus-visible, .site-footer a:focus-visible { outline: 2px solid #ffb586; outline-offset: 3px; }
.site-header details { flex: 1; }
.site-header summary { display: none; }
.site-header nav {
  position: static;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: clamp(10px, 1.25vw, 20px);
  background: transparent;
  border: 0;
}
.site-header nav a { white-space: nowrap; }
.site-header nav .nav-pulse { color: #ff6b5e; }
.site-header nav [aria-current] { text-decoration: underline; text-underline-offset: .33em; }
.site-header .site-account-actions { display: flex; align-items: center; gap: 10px; }
.site-header .site-account-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #68707c;
  border-radius: 5px;
  white-space: nowrap;
}
.site-header .site-account-actions .nav-create { border-color: #265be0; background: #265be0; color: white; }

.site-footer { border-top: 1px solid #383839; padding: clamp(24px, 4vw, 44px) 0 20px; }
.site-footer-inner, .site-footer-context { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.site-footer-context { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-block: 22px; font: 600 14px/1.45 Inter, system-ui, sans-serif; }
.site-footer-context a { text-underline-offset: .22em; }
.site-footer .footer-main { display: grid; grid-template-columns: minmax(170px, .85fr) minmax(0, 2.15fr); gap: clamp(20px, 5vw, 60px); }
.site-footer .footer-brand { display: grid; align-content: start; justify-items: start; gap: 8px; }
.site-footer .footer-brand .site-brand { font-size: 31px; }
.site-footer .footer-brand img { width: 28px; }
.site-footer .footer-brand p { margin: 0; color: #c4cad2; }
.site-footer .footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px clamp(14px, 5vw, 58px); }
.site-footer .footer-links > div { display: grid; gap: 5px; align-content: start; }
.site-footer .footer-links h4 { margin: 0 0 6px; color: #f6f7f8; font: 700 14px/1.45 Inter, system-ui, sans-serif; }
.site-footer .footer-links a, .site-footer .footer-review a { color: #c4cad2; }
.site-footer .footer-review { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #383839; font-size: 13px; }
.site-footer .footer-review small { color: #aeb7c5; font-size: 12px; }

@media (min-width: 1241px) and (max-width: 1359px) {
  .site-header .header-inner { width: min(1220px, calc(100% - 88px)); }
}
@media (max-width: 1240px) {
  html { scroll-padding-top: 74px; }
  .site-header .header-inner, .site-footer-inner, .site-footer-context { width: calc(100% - 46px); }
  .site-header .header-inner { gap: 11px; min-height: 61px; }
  .site-header .site-brand { margin-right: auto; }
  .site-header details { flex: none; }
  .site-header summary {
    display: flex;
    gap: 7px;
    align-items: center;
    list-style: none;
    min-height: 44px;
    cursor: pointer;
  }
  .site-header summary::-webkit-details-marker { display: none; }
  .site-header summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); }
  .site-header details[open] summary::after { transform: rotate(225deg) translate(-2px,-1px); }
  .site-header nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px 14px;
    padding: 12px 23px 20px;
    max-height: 72vh;
    overflow: auto;
    border-top: 1px solid #383839;
    background: #171718;
    box-shadow: 0 12px 20px #0005;
  }
  .site-header nav a { display: flex; align-items: center; min-height: 44px; white-space: normal; }
  .site-header .site-account-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 9px; }
}
@media (max-width: 680px) {
  .site-header .header-inner, .site-footer-inner, .site-footer-context { width: calc(100% - 36px); }
  .site-header nav { padding-inline: 18px; }
  .site-footer .footer-main { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .site-header .site-brand { font-size: clamp(29px, 8.8vw, 34px); }
  .site-header .site-brand img { width: clamp(29px, 8.5vw, 34px); }
}
