.home-hero .hero-copy {
  max-width: none;
  text-align: center;
}

.site-shell {
  width: 80%;
  max-width: none;
}

body {
  overflow-x: clip;
}

.home-hero h1 {
  max-width: none;
  text-align: center;
  text-wrap: balance;
}

.home-hero .hero-subhead,
.home-hero .hero-trust {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-hero .hero-trust {
  margin-top: 22px;
  padding-bottom: 0;
  color: #8fdbaf;
  font-size: 22px !important;
  font-weight: 700;
}

.home-hero .trial-form {
  margin: 40px auto 0;
}

.home-hero .qualifier {
  max-width: 620px;
  margin: 20px auto 0 !important;
  font-size: 22px;
  text-align: center;
}

.home-hero .hero-subscribe {
  margin: 0 auto;
  padding-bottom: 0;
  color: #c4c4c4;
}

.home-hero .hero-subscribe a {
  color: #6cc6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-hero .hero-subscribe a:hover {
  color: #fff;
}

/* Hero: what the 3-week trial includes. */
.trial-preview {
  max-width: 760px;
  margin: 44px auto 0;
  padding: 32px 36px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(0, 0, 0, .22);
  text-align: left;
}

.home-hero .trial-preview h2 {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 28px;
  text-shadow: none;
}

.trial-preview__list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.trial-preview__list li {
  position: relative;
  padding-left: 34px;
  color: #e3ebee;
  line-height: 1.45;
}

/* Drawn checkmark: the bundled Font Awesome subset has no check icon. */
.trial-preview__list li::before {
  position: absolute;
  top: .25em;
  left: 7px;
  width: 8px;
  height: 15px;
  border-right: 3px solid #78dda0;
  border-bottom: 3px solid #78dda0;
  content: '';
  transform: rotate(45deg);
}

.trial-preview__terms {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.trial-preview__terms p {
  margin: 0;
  padding-bottom: 0;
  color: #e3ebee;
}

.trial-preview__terms strong {
  color: #fff;
}

@media (max-width: 767px) {
  .home-hero .hero-subhead,
  .home-hero .hero-trust,
  .home-hero .qualifier {
    max-width: none;
  }

  .home-hero .hero-trust {
    margin-top: 14px;
    font-size: 20px !important;
  }

  .home-hero .trial-form {
    margin-top: 30px;
  }

  .home-hero .hero-subscribe {
    margin-top: 14px;
  }

  .trial-preview {
    margin-top: 28px;
    padding: 22px 18px;
  }

  .home-hero .trial-preview h2 {
    font-size: 22px;
  }
}

/* Separate the footer from the green closing section above it. */
.site-footer {
  background: #002a18;
}

.scroll-focus-frame {
  margin: 20px auto 0;
  padding: 36px 0;
}

.home-hero .scroll-focus-frame .trial-form {
  margin: 0 auto;
  /* Clears the sticky header when "#free" links jump back to the form. */
  scroll-margin-top: 140px;
}

.scroll-focus-box {
  --scroll-scale: 1;
  transform: scale(var(--scroll-scale));
  transform-origin: center;
  will-change: transform;
}

/* Homepage hero: email field with the submit button beside it. */
.trial-form--inline #af-form-1921306198 .af-body {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0;
}

.trial-form--inline #af-form-1921306198 .af-element {
  margin-top: 0;
  padding: 0;
}

.trial-form--inline #af-form-1921306198 .af-element:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.trial-form--inline #af-form-1921306198 .af-textWrap {
  width: 100%;
}

.trial-form--inline #af-form-1921306198 input.text,
.trial-form--inline #af-form-1921306198 input.submit {
  display: block;
  height: 58px;
  margin-top: 0 !important;
}

.trial-form--inline #af-form-1921306198 input.text {
  padding: 0 1.1rem !important;
}

.trial-form--inline #af-form-1921306198 input.submit {
  width: auto !important;
  padding: 0 26px !important;
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-weight: 700;
}

/* Repeat trial button further down the homepage, styled to match the hero submit. */
.section-cta {
  margin-top: 40px;
  text-align: center;
}

.section-cta .button {
  display: inline-flex;
  align-items: center;
  height: 58px;
  padding: 0 26px;
  background: #fe6e51;
}

@media (max-width: 560px) {
  .trial-form--inline #af-form-1921306198 .af-body {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .trial-form--inline #af-form-1921306198 input.text,
  .trial-form--inline #af-form-1921306198 input.submit {
    height: 50px;
  }

  .trial-form--inline #af-form-1921306198 input.submit {
    width: 100% !important;
  }

  .section-cta {
    margin-top: 28px;
  }

  .section-cta .button {
    height: 50px;
  }
}

.social-panel__x-icon {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.faq-section .faq-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 48px;
}

.faq-section .faq-help,
.faq-section .faq-list {
  grid-column: 1 / -1;
}

.faq-section .faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  max-width: none;
  border-top: 0;
}

.faq-section .faq-item {
  border-top: 1px solid #4d4c47;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown__link {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.nav-dropdown__link:hover,
.nav-dropdown__link.is-current {
  color: #fff;
  opacity: .72;
}

/* Keeps the hover target connected to the flyout on desktop. */
@media (min-width: 768px) {
  .nav-dropdown::before {
    position: absolute;
    top: 100%;
    right: 0;
    width: max(170px, 100%);
    height: 14px;
    content: '';
  }
}

.testimonials-page .testimonial-card {
  border-radius: 16px;
}

.testimonials-page .testimonial-grid {
  margin-top: 60px;
}

.nav-dropdown__toggle {
  display: flex;
  gap: 0;
  align-items: center;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.nav-dropdown__toggle::after {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: '';
  transform: rotate(45deg);
  transition: transform .2s;
}

.nav-dropdown__toggle:hover {
  color: #fff;
  opacity: .72;
}

.nav-dropdown__toggle[aria-expanded='true']::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  min-width: 170px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: #172127;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}

.nav-submenu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--white);
  font-weight: 600;
  line-height: 1.35;
}

.nav-submenu a:hover,
.nav-submenu a.is-current {
  background: rgba(255, 255, 255, .1);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.testimonial-marquee {
  margin-top: 35px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.testimonial-marquee__track {
  display: flex;
  width: max-content;
  animation: testimonial-marquee-scroll 90s linear infinite;
  will-change: transform;
}

.testimonial-marquee:hover .testimonial-marquee__track,
.testimonial-marquee:focus-within .testimonial-marquee__track {
  animation-play-state: paused;
}

.testimonial-marquee__group {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 44px 14px 10px;
}

.testimonial-marquee__card {
  flex: 0 0 clamp(320px, 36vw, 560px);
  min-height: 0;
}

.testimonial-marquee__follow-up {
  margin-top: 22px;
  font-weight: 700;
}

@keyframes testimonial-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-marquee {
    overflow-x: auto;
  }

  .testimonial-marquee__track {
    animation: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 56px;
  }

  .mobile-action-bar {
    isolation: isolate;
    min-height: 56px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    background: linear-gradient(180deg, #26343e 0%, #10181f 100%);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .08);
  }

  .mobile-action {
    position: relative;
    overflow: hidden;
    min-height: 56px;
    padding: 6px 2px 5px;
    border-right: 1px solid rgba(255, 255, 255, .09);
    background: linear-gradient(155deg, #263640 0%, #18242d 45%, #10181f 100%);
    box-shadow: inset 0 1px rgba(255, 255, 255, .09), inset 0 -5px 9px rgba(0, 0, 0, .22);
    transition: transform .16s ease, filter .16s ease;
  }

  .mobile-action::before {
    position: absolute;
    top: 0;
    right: -55%;
    bottom: 44%;
    left: -55%;
    z-index: 0;
    background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, .16) 50%, transparent 66%);
    content: '';
    transform: translateX(-34%);
  }

  .mobile-action i,
  .mobile-action span {
    position: relative;
    z-index: 1;
  }

  .mobile-action span {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-action .fa-solid {
    font-size: 19px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, .28);
  }

  .mobile-action.is-active {
    color: #fff;
    background: linear-gradient(145deg, #10c65d 0%, #008a35 52%, #006624 100%);
    box-shadow: inset 0 1px rgba(255, 255, 255, .42), inset 0 -5px 9px rgba(0, 55, 20, .42), 0 2px 8px rgba(0, 0, 0, .22);
  }

  .mobile-action::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 0;
    height: 1px;
    background: rgba(255, 255, 255, .18);
    content: '';
  }

  .mobile-action:active {
    filter: brightness(.94);
    transform: translateY(1px);
  }

  .home-hero {
    padding: 16px 0 22px;
  }

  .home-hero .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: .065em;
  }

  .home-hero h1 {
    margin-bottom: 10px;
    font-size: 29px;
    line-height: 1.08;
  }

  .home-hero .hero-subhead {
    font-size: 16px;
    line-height: 1.32;
  }

  .home-hero .home-hero__lead {
    margin: 13px 0 0;
    font-size: 14px;
    line-height: 1.42;
  }

  .scroll-focus-frame {
    margin-top: 12px;
    padding: 0;
  }

  .home-hero .scroll-focus-box {
    --scroll-scale: 1 !important;
  }

  .home-hero .trial-form {
    max-width: 100%;
    padding: 12px 8px 8px;
  }

  #af-form-1921306198 .af-body {
    padding: 6px 0;
  }

  #af-form-1921306198 .af-element {
    margin-top: .55rem;
    padding: 0 10px 2px;
  }

  #af-form-1921306198 input.text {
    padding: .5rem 1rem !important;
    font-size: 16px !important;
  }

  #af-form-1921306198 input.submit {
    min-height: 44px;
    padding: 10px 6px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .trial-form .cta-note {
    margin-top: 8px !important;
    font-size: 12px !important;
  }

  .trial-form .compliance-note {
    margin-top: 8px !important;
    font-size: 10px !important;
    line-height: 1.35;
  }

  .social-panel__x-icon {
    width: 31px;
    height: 31px;
  }

  .faq-section .faq-layout,
  .faq-section .faq-list {
    grid-template-columns: 1fr;
  }

  .faq-section .faq-list {
    gap: 0;
  }

  /* Phone menu: About and its arrow share a row; Social and Video Vault open on their own rows below. */
  .site-nav .nav-dropdown {
    flex-wrap: wrap;
    width: 100%;
  }

  .nav-dropdown__link {
    flex: 1;
    padding: 12px 0;
    font-size: 16px;
    line-height: 1.7;
  }

  .nav-dropdown__toggle {
    justify-content: flex-end;
    width: auto;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0;
    padding: 0 4px 0 16px;
    font-size: 16px;
  }

  .nav-submenu {
    position: static;
    display: none;
    flex-basis: 100%;
    min-width: 0;
    margin: 0 0 8px 2px;
    padding: 0 0 0 16px;
    border: 0;
    border-left: 2px solid rgba(255, 255, 255, .16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.is-open .nav-submenu {
    display: block;
  }

  .nav-submenu a {
    padding: 10px 0;
    border-radius: 0;
    font-size: 16px;
  }

  .nav-submenu a:hover,
  .nav-submenu a.is-current {
    background: transparent;
    opacity: .72;
  }

  .testimonial-marquee {
    margin-top: 24px;
  }

  .testimonial-marquee__group {
    gap: 16px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .testimonial-marquee__card {
    flex-basis: min(82vw, 390px);
  }
}

/* Homepage hero: headline and trial form on the left, Jeff's photo on the right. Phones stack it under the headline. */
.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.hero-photo figcaption {
  margin-top: 12px;
  color: #c4c4c4;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 768px) {
  .home-hero .eyebrow {
    text-align: left;
  }

  .hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 320px);
    grid-template-rows: auto auto 1fr;
    gap: 0 clamp(36px, 5vw, 72px);
    align-items: start;
  }

  .hero-top > * {
    grid-column: 1;
  }

  .hero-top .hero-photo {
    grid-column: 2;
    grid-row: 1 / -1;
  }

  .home-hero .hero-top h1,
  .home-hero .hero-top .hero-subhead,
  .home-hero .hero-top .hero-trust {
    max-width: none;
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .hero-top .hero-photo {
    width: min(48vw, 180px);
    margin: 14px auto 12px;
  }

  .hero-photo figcaption {
    margin-top: 8px;
    font-size: 14px !important;
  }
}

/* Homepage: small gray text link to /subscribe under the $20,000 line. */
.home-hero .hero-subscribe {
  margin-top: 10px;
}

.home-hero .hero-subscribe a {
  color: #9aa4ab;
  font-size: 16px !important;
  font-weight: 400;
}

.home-hero .hero-subscribe a:hover {
  color: #c4c4c4;
}

/* Two-card version of the numbered points. */
.problem-points--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .problem-points--two {
    grid-template-columns: 1fr;
  }
}

/* Homepage testimonials: three fixed cards (no slider). */
.testimonials-home .testimonial-grid {
  margin-top: 60px;
}

@media (max-width: 767px) {
  .testimonials-home .testimonial-grid {
    gap: 50px;
    margin-top: 50px;
  }
}

/* Subscribe page: small link back to the free trial. */
.subscribe-trial-link {
  margin-top: 36px;
  padding-bottom: 0;
  color: #c4c4c4;
  text-align: center;
}

.subscribe-trial-link a {
  color: #6cc6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Quarterly plan: full orange ring. */
.price-card--featured {
  border: 3px solid var(--orange);
}

/* Phone action bar: three buttons; the trial label may wrap to two lines. */
@media (max-width: 767px) {
  .mobile-action-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-action span {
    white-space: normal;
  }
}

/* Desktop menu gained a Subscribe link; tighter spacing keeps it on one line on common laptop widths. */
@media (min-width: 981px) {
  .site-nav {
    gap: 0 18px;
  }
}
