:root {
  color-scheme: dark;
  background: #000000;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 76px;
  --gutter: clamp(20px, 3.3vw, 64px);
  --surface: #19191c;
  --muted: #92929a;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: #000000;
}
body {
  min-height: 100dvh;
}
.site-content {
  /* Футер начинается внизу первого экрана даже на пустой странице. */
  min-height: 100dvh;
  padding-top: var(--header-height);
}
@media (max-width: 600px) {
  :root {
    --header-height: 64px;
  }
}
[hidden]{
  display:none!important
}
button,input,select,textarea{
  font-family:inherit
}
button,a,input,select,textarea{
  -webkit-tap-highlight-color:transparent
}
button{
  touch-action:manipulation
}
button:not(:disabled),a,select{
  touch-action:manipulation
}
input[type=range]{
  touch-action:pan-y
}
.muted{
  color:var(--muted)
}
.eyebrow{
  font-size:12px;
  color:#aaaab2
}
.text-button{
  padding:0;
  border:0;
  background:transparent;
  color:#aaaab2;
  font:inherit;
  font-size:12px;
  cursor:pointer
}
.text-button:hover{
  color:#fff
}
.icon-button{
  display:inline-grid;
  place-items:center;
  width:40px;
  min-width:40px;
  height:40px;
  padding:0;
  border:0;
  border-radius:12px;
  background:transparent;
  color:#a0a0a8;
  text-decoration:none;
  cursor:pointer
}
.icon-button:hover{
  color:#fff;
  background:#252529
}
.icon-button svg{
  pointer-events:none
}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:2px solid #d8d8df;
  outline-offset:3px
}
input[type=checkbox]{
  accent-color:#fff
}
dialog{
  overscroll-behavior:contain
}
body:has(dialog[open]){
  overflow:hidden
}
html{
  scroll-behavior:smooth
}
h1,h2,h3{
  overflow-wrap:anywhere
}
a,button{
  color:inherit
}
.skip-link{
  position:fixed;
  z-index:100;
  top:8px;
  left:20px;
  transform:translateY(-200%);
  padding:12px 16px;
  border-radius:10px;
  background:#fff;
  color:#000;
  text-decoration:none
}
.skip-link:focus{
  transform:none
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  *,*::before,*::after{
    animation-duration:.01ms!important;
    transition-duration:.01ms!important
  }
}
