.rne-hdr-scope {
  --rne-hdr-red: #c9202f;
  --rne-hdr-black: #000;
  --rne-hdr-white: #fff;
  --rne-hdr-line: rgba(255, 255, 255, .12);
  --rne-hdr-height: 76px;
  --rne-hdr-max: 1260px;
}

.rne-hdr__sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 30px;
  pointer-events: none;
  visibility: hidden;
}

.rne-hdr__sentinel--fold {
  top: 80vh;
  height: 1px;
}

.rne-hdr__progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 3px;
  background: var(--rne-hdr-red);
  box-shadow: 0 0 12px var(--rne-hdr-red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .rne-hdr__progress {
    animation: rne-hdr-progress linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes rne-hdr-progress {
  to {
    transform: scaleX(1);
  }
}

.rne-hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--rne-hdr-white);
  background: transparent;
  border-bottom: 1px solid transparent;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, border-color .3s ease;
}

.rne-hdr.is-scrolled {
  background: rgba(0, 0, 0, .85);
  border-bottom-color: var(--rne-hdr-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.rne-hdr--editor {
  position: relative;
  background: var(--rne-hdr-black);
}

.rne-hdr__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  max-width: calc(var(--rne-hdr-max) + 40px);
  height: var(--rne-hdr-height);
  margin: 0 auto;
  padding: 0 20px;
}

.rne-hdr__brand {
  display: flex;
  align-items: center;
  min-width: 0;
  line-height: 0;
  text-decoration: none;
}

.rne-hdr__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 40px;
  object-fit: contain;
}

.rne-hdr__btn,
.rne-hdr__btn:hover,
.rne-hdr__btn:focus,
.rne-hdr__btn:active,
.rne-hdr__btn *,
.rne-hdr__btn:hover *,
.rne-hdr__btn:focus * {
  font-weight: 600;
}

.rne-hdr__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 16px 28px;
  border: 0;
  border-radius: 100px;
  background: var(--rne-hdr-red);
  color: var(--rne-hdr-white);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.rne-hdr__btn:hover,
.rne-hdr__btn:focus {
  color: var(--rne-hdr-white);
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(201, 32, 47, .35);
}

.rne-hdr__btn:focus-visible {
  outline: 2px solid var(--rne-hdr-white);
  outline-offset: 3px;
}

.rne-hdr__btn--nav {
  gap: 10px;
  padding: 11px 20px;
  font-size: 14px;
}

.rne-hdr__btn--nav:hover {
  will-change: transform;
  transform: translateY(-2px);
}

.rne-hdr__ar {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rne-hdr-white);
  color: var(--rne-hdr-red);
  font-size: 14px;
  line-height: 1;
  transition: transform .25s ease;
}

.rne-hdr__btn--nav .rne-hdr__ar {
  width: 20px;
  height: 20px;
  font-size: 11px;
}

.rne-hdr__btn:hover .rne-hdr__ar {
  transform: translateX(3px) rotate(-45deg);
}

.rne-hdr__sticky {
  display: none;
}

@media (max-width: 1000px) {
  .rne-hdr__btn--nav {
    display: none;
  }

  .rne-hdr__sticky {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 999;
    transform: translateY(140%);
    transition: transform .4s ease, box-shadow .25s ease;
  }

  .rne-hdr__sticky.is-visible {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rne-hdr,
  .rne-hdr__btn,
  .rne-hdr__ar,
  .rne-hdr__sticky {
    transition: none;
  }

  .rne-hdr__progress {
    animation: none;
  }
}