/* Safe homepage. Colors, type, and buttons follow the public homepage. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.sfw-page {
  margin: 0;
  background: #000;
  color: #f9f9f9;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img {
  border-radius: 5px;
  max-width: 100%;
  height: auto;
}

a {
  color: #a960f7;
  text-decoration: none;
}

a:hover {
  color: #f9f9f9;
}

button,
input {
  font-family: inherit;
}

.sfw-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sfw-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(to bottom, #7b0eba, rgba(0, 0, 0, 0.94) 74%);
  text-shadow: 0 2px 1px rgba(0, 0, 0, 0.3);
}

.sfw-nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.sfw-header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 69px;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 15px;
}

.sfw-logo {
  display: block;
  flex: 0 0 auto;
  width: 318px;
  margin: 0;
}

.sfw-logo img {
  display: block;
  width: 318px;
  height: auto;
}

.sfw-nav-desktop {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 8px;
}

.sfw-nav-desktop a,
.sfw-login {
  color: #f9f9f9;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sfw-nav-desktop a:hover,
.sfw-login:hover {
  color: #f9f9f9;
  text-decoration: underline;
}

.sfw-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.sfw-join {
  display: inline-block;
  background: #1bb112;
  color: #f9f9f9 !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none !important;
  text-shadow: 0 1px 1px #000;
  text-transform: uppercase;
}

.sfw-join:hover,
.sfw-join:focus {
  background: #16820f;
  color: #f9f9f9 !important;
}

.sfw-header .sfw-join {
  font-size: 22px;
  padding: 6px 14px;
}

.sfw-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 4px;
  cursor: pointer;
}

.sfw-burger,
.sfw-burger::before,
.sfw-burger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #f9f9f9;
  position: relative;
}

.sfw-burger::before,
.sfw-burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.sfw-burger::before {
  top: -7px;
}

.sfw-burger::after {
  top: 7px;
}

.sfw-nav-panel {
  display: none;
  background: rgba(0, 0, 0, 0.94);
  padding-bottom: 8px;
}

.sfw-nav-check:checked ~ .sfw-nav-panel {
  display: block;
}

.sfw-nav-panel a {
  display: block;
  color: #f9f9f9;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sfw-nav-panel a:hover {
  background: rgba(0, 0, 0, 0.15);
  color: #f9f9f9;
}

.sfw-main {
  padding-top: 69px;
}

.sfw-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 8px 20px 10px;
}

.sfw-hero {
  position: relative;
  max-width: 1380px;
  margin: 8px auto 8px;
  padding: 0 20px;
}

.sfw-hero-media {
  display: block;
}

.sfw-hero-media picture,
.sfw-hero-media img {
  display: block;
  width: 100%;
}

.sfw-hero-media img {
  height: 420px;
  object-fit: cover;
  object-position: center center;
  background: #191919;
}

.sfw-hero-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  padding: 28px 28px 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0));
  border-radius: 0 0 5px 5px;
  pointer-events: none;
}

.sfw-hero-copy a {
  pointer-events: auto;
}

.sfw-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 14px;
}

.sfw-section-head h2,
.sfw-block-title {
  margin: 0;
  color: #f9f9f9;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.sfw-arrows {
  display: flex;
  gap: 8px;
  --swiper-navigation-size: 18px;
}

.sfw-arrows .swiper-button-next,
.sfw-arrows .swiper-button-prev {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 36px;
  height: 36px;
  margin: 0;
  color: #f9f9f9;
  background: #111;
  border: 1px solid #333;
  border-radius: 5px;
}

.sfw-arrows .swiper-button-next:hover,
.sfw-arrows .swiper-button-prev:hover {
  border-color: #7b0eba;
  background: #7b0eba;
  color: #f9f9f9;
}

.sfw-arrows .swiper-button-disabled {
  opacity: 0.35;
}

.sfw-swiper {
  width: 100%;
  overflow: hidden;
}

.sfw-swiper .swiper-wrapper,
.sfw-swiper .swiper-slide {
  height: auto;
}

.sfw-swiper .swiper-slide {
  width: 280px;
}

.sfw-swiper-models .swiper-slide {
  width: 220px;
}

.sfw-card,
.sfw-model {
  display: block;
  width: 100%;
  color: #f9f9f9;
}

.sfw-model {
  text-align: center;
}

.sfw-card img,
.sfw-model img,
.sfw-cat img,
.sfw-promo-row img {
  display: block;
  width: 100%;
  background: #191919;
}

.sfw-promo-row img {
  aspect-ratio: 1324 / 1104;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

.sfw-card img,
.sfw-model img {
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

.sfw-card-title,
.sfw-model-name {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.sfw-card:hover .sfw-card-title,
.sfw-model:hover .sfw-model-name,
.sfw-cat:hover .sfw-cat-name {
  color: #fff;
}

.sfw-plans-head {
  margin-top: 34px;
  margin-bottom: 0;
  text-align: center;
}

.sfw-wrap .tube-signup-pricing {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.sfw-promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sfw-promo-row a {
  position: relative;
  display: block;
  overflow: hidden;
  color: #f9f9f9;
}

.sfw-promo-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 12px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9), 0 1px 2px #000;
  pointer-events: none;
}

.sfw-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sfw-cat {
  position: relative;
  display: block;
  color: #fff;
  overflow: hidden;
  border-radius: 5px;
  min-height: 148px;
  background: #191919;
}

.sfw-cat picture {
  display: block;
}

.sfw-cat img {
  height: 168px;
  object-fit: cover;
  object-position: center;
}

.sfw-cat-name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: clamp(18px, 2vw, 32px);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9), 0 1px 2px #000;
}

.sfw-closing {
  display: flex;
  justify-content: center;
  margin: 36px 0 18px;
}

.sfw-join-large {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 14px 28px;
}

.sfw-help {
  margin: 8px 0 18px;
  color: #d6d6d6;
  font-size: 15px;
  text-align: center;
}

.sfw-help a {
  color: #a960f7;
}

a:focus-visible,
button:focus-visible,
.sfw-nav-toggle:focus-visible {
  outline: 2px solid #ffde03;
  outline-offset: 3px;
}

.footerba {
  margin-top: 10px;
  background: #000;
  text-align: center;
}

#nav-footer.nav-container {
  background: #000;
}

.nav-footer-toggle,
#nav-footer-text {
  display: none !important;
}

.nav-footer-wrap,
#nav-footer .nav-wrap {
  height: auto !important;
  overflow: visible !important;
  float: none;
  width: auto;
}

#menu-bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 22px 16px 8px;
}

#menu-bot a {
  color: #f9f9f9;
  font-size: 15px;
}

#menu-bot a:hover {
  color: #ccc;
}

#footer-bottom {
  padding: 8px 16px 32px;
}

#footer-bottom .container-inner,
#footer-bottom .grid,
#footer-bottom .one-half {
  width: auto;
  float: none;
  display: block;
}

#footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

#footer-bottom a:hover {
  color: #fff;
}

#footer-bottom #copyright,
#footer-bottom #copyright p {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}

.footer-rta {
  width: 72px;
  height: 36px;
  border-radius: 0;
}

@media (max-width: 1100px) {
  .sfw-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .sfw-logo,
  .sfw-logo img {
    width: 190px;
  }

  .sfw-logo {
    margin: 8px 0 0;
  }

  .sfw-nav-desktop,
  .sfw-login {
    display: none;
  }

  .sfw-nav-toggle {
    display: inline-flex;
  }

  .sfw-header .sfw-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    padding: 0 12px;
  }

  .sfw-header-inner {
    height: auto;
    gap: 8px;
    padding: 7px 10px 0 0;
  }

  .sfw-main {
    padding-top: 51px;
  }

  .sfw-wrap,
  .sfw-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .sfw-hero-copy {
    position: static;
    left: auto;
    right: auto;
    margin-top: 10px;
    padding: 0;
    background: none;
  }

  .sfw-hero-media img {
    height: 220px;
    object-position: center center;
  }

  .sfw-section-head h2,
  .sfw-block-title {
    font-size: 24px;
  }

  .sfw-swiper .swiper-slide {
    width: 78vw;
  }

  .sfw-swiper-models .swiper-slide {
    width: 62vw;
  }

  .sfw-promo-row,
  .sfw-cats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .sfw-join-large {
    font-size: 22px;
    padding: 12px 18px;
  }
}

@media (max-width: 390px) {
  .sfw-header-inner {
    gap: 6px;
    padding-right: 6px;
  }

  .sfw-header .sfw-join {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
