/* Freedom Under Sail — participant reassurance and conversion refinement. */

.button-secondary {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(4, 27, 30, .36);
  color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #b6ff52;
  background: #fff;
  color: #071b1e;
}

.section-jump {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding: 18px clamp(24px, 7.5vw, 124px);
  border-bottom: 1px solid rgba(17, 42, 44, .16);
  background: #fbfaf5;
  color: #112a2c;
  font-size: .72rem;
}

.section-jump span {
  color: #456c00;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.section-jump a {
  padding: 8px 0;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

.section-jump a:hover,
.section-jump a:focus-visible {
  color: #345300;
  text-decoration-color: #78b915;
}

.section-jump a:focus-visible {
  outline: 3px solid #456c00;
  outline-offset: 4px;
}

.ibd-practical {
  background: #f3efe5;
}

.ibd-practical-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
}

.ibd-practical-heading h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.4vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .96;
}

.ibd-practical-heading > p {
  margin: 0;
  color: #526664;
  line-height: 1.8;
}

.ibd-practical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 6vw, 78px);
  border: 1px solid rgba(17, 42, 44, .18);
  background: rgba(17, 42, 44, .18);
}

.ibd-practical-grid article {
  min-width: 0;
  padding: clamp(28px, 3vw, 42px);
  background: #fbfaf5;
}

.ibd-practical-grid span {
  color: #456c00;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.ibd-practical-grid h3 {
  margin: 54px 0 18px;
  color: #112a2c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 400;
  line-height: 1.1;
}

.ibd-practical-grid p {
  margin: 0;
  color: #526664;
  font-size: .88rem;
  line-height: 1.72;
}

.ibd-practical-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 28px 32px;
  background: #0d292b;
  color: #fff;
}

.ibd-practical-note strong {
  color: #b6ff52;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.ibd-practical-note p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  line-height: 1.7;
}

.ibd-practical-note a {
  color: #b6ff52;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ibd-practical-note a:focus-visible {
  outline: 3px solid #b6ff52;
  outline-offset: 5px;
}

.mobile-register-cta {
  display: none;
}

@media (max-width: 980px) {
  .section-jump {
    justify-content: flex-start;
    overflow-x: auto;
    padding-inline: 24px;
    -webkit-overflow-scrolling: touch;
  }

  .section-jump > * {
    flex: 0 0 auto;
  }

  .ibd-practical-heading,
  .ibd-practical-note {
    grid-template-columns: 1fr;
  }

  .ibd-practical-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-location {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  .hero-actions .button {
    width: min(100%, 330px);
  }

  .section-jump {
    gap: 22px;
    padding-block: 14px;
  }

  .ibd-practical-grid {
    grid-template-columns: 1fr;
  }

  .ibd-practical-grid h3 {
    margin-top: 34px;
  }

  .ibd-practical-note {
    padding: 28px 24px;
  }

  .mobile-register-cta {
    position: fixed;
    z-index: 1000;
    right: 14px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border: 2px solid #071b1e;
    background: #b6ff52;
    color: #071b1e;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .mobile-register-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }
}

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