.hero {
  height: 100dvh;
  min-height: 620px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  border-bottom-color: transparent;
  background: transparent;
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 100%;
  border-bottom: 1px solid #ffffff4d;
}

.site-header.scrolled {
  border-bottom-color: #ffffff1f;
  background: rgba(11, 35, 29, 0.76);
  box-shadow: 0 12px 34px rgba(9, 34, 27, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.site-header.scrolled .header-inner {
  border-bottom-color: transparent;
}

.next-section {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: #dce7e2;
  font-size: 13px;
  white-space: nowrap;
}

.next-section::after {
  content: "↓";
  font-size: 16px;
  transition: transform 0.2s;
}

.next-section:hover::after {
  transform: translateY(3px);
}

.support-dialog {
  width: min(420px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(7, 30, 24, 0.28);
}

.support-dialog::backdrop {
  background: rgba(7, 24, 19, 0.62);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.support-dialog-content {
  position: relative;
  padding: 28px;
  text-align: center;
}

.support-dialog-content > p {
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
}

.support-dialog-content h2 {
  margin-top: 7px;
  font-size: 24px;
}

.support-dialog-content img {
  width: 100%;
  height: auto;
  margin-top: 20px;
  border: 1px solid var(--line);
}

.support-dialog-content > span {
  display: block;
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef2ef;
  color: var(--ink);
  font: inherit;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.dialog-close:hover {
  background: #e2e9e5;
}

.dialog-close:focus-visible {
  outline: 3px solid #efbd69;
  outline-offset: 2px;
}

body.dialog-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .site-header {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 66px;
  }

  .header-inner {
    gap: 14px;
  }

  .hero {
    height: 100dvh;
    min-height: 650px;
  }

  .support-dialog-content {
    padding: 24px 18px 20px;
  }

  .support-dialog-content h2 {
    padding-right: 28px;
    padding-left: 28px;
    font-size: 21px;
  }
}
