/* Secondary pages in the Freedom 3500 static recreation. */
.details-page {
  min-height: 100vh;
  background: #08243a url("assets/details-background.jpg") center center / cover fixed no-repeat;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
}

.details-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 36px 18px;
}

.details-card {
  width: min(100%, 605px);
  padding: 42px 44px 40px;
  border-radius: 17px;
  background: radial-gradient(ellipse at 52% 42%, #075992 0%, #06243d 52%, #04111d 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.details-card h1 {
  margin: 0 0 40px;
  color: #f5f7fa;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-transform: uppercase;
}

.presentation-frame,
.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #07131e;
  aspect-ratio: 16 / 9;
}

.presentation-frame iframe,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.details-note {
  margin: 13px 0 30px;
  color: #e7edf3;
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  text-transform: uppercase;
}

.details-button,
.accept-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 33px;
  background: #031475;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.details-button:hover,
.accept-button:hover {
  filter: brightness(1.18);
  transform: translateY(-1px);
}

.details-button:focus-visible,
.accept-button:focus-visible,
.page-links a:focus-visible,
.blueprint-link:focus-visible {
  outline: 3px solid #58ce10;
  outline-offset: 3px;
}

.recap-page {
  min-height: 100vh;
  background: #eadbe5 url("assets/tplash.jpg") center top / cover fixed no-repeat;
  color: #1c2028;
  font-family: "Raleway", Arial, sans-serif;
}

.recap-shell {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 26px 22px 56px;
}

.recap-section {
  margin: 0 auto 32px;
}

.recap-section h1,
.recap-section h2 {
  color: #25252c;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(21px, 3vw, 28px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.recap-intro h1 {
  margin: 0 0 18px;
}

.video-frame {
  border: 1px solid rgba(16, 23, 36, 0.65);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.17);
}

.recap-main-video {
  width: min(100%, 685px);
  margin: 0 auto;
}

.questions h2,
.success-stories h2,
.blueprint h2 {
  margin: 0 0 18px;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.question-video h3 {
  margin: 0 0 8px;
  color: #25303d;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.question-video-last {
  grid-column: 1 / -1;
  width: min(100%, 420px);
  justify-self: center;
}

.success-stories,
.action-card,
.blueprint {
  padding: 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.success-stories audio {
  display: block;
  width: min(100%, 540px);
  margin: 0 auto;
}

.action-card h2 {
  margin-bottom: 12px;
  font-weight: 700;
}

.action-card p {
  margin: 0 auto 15px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
}

.action-card .action-lead {
  color: #102b59;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.45;
}

.inviter strong {
  color: #142e62;
}

.inviter a {
  color: #092e95;
  font-weight: 700;
}

.blueprint {
  text-align: center;
}

.blueprint-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #092e95;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.blueprint-link img {
  display: block;
  width: min(100%, 450px);
  height: auto;
}

.powered-title {
  margin-top: 28px !important;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin: 22px auto 0;
  font-size: 13px;
}

.page-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.welcome-page {
  min-height: 100vh;
  background: #0673a7 url("assets/welcome-background.jpg") center top / cover fixed no-repeat;
  color: #171717;
  font-family: Arial, sans-serif;
}

.welcome-shell {
  min-height: 100vh;
  padding: 42px 18px;
}

.welcome-card {
  width: min(100%, 691px);
  margin: 0 auto;
  padding: 11px 16px 18px;
  overflow: auto;
  border: 1px solid rgba(12, 113, 195, 0.75);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
  font-size: 13px;
  line-height: 1.62;
}

.welcome-card h1,
.welcome-card h2 {
  margin: 0 0 8px;
  color: #101010;
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.welcome-card h2 {
  margin: 12px 0 10px;
  text-align: center;
}

.welcome-card p {
  margin: 0 0 12px;
}

.welcome-photo {
  float: left;
  width: min(36%, 176px);
  height: auto;
  margin: 1px 12px 6px 0;
  border-radius: 2px;
}

.welcome-card .accept-button {
  display: flex;
  width: max-content;
  min-width: 108px;
  margin: 0 auto;
  border-radius: 33px;
  font-size: 14px;
}

.welcome-card .page-links {
  clear: both;
  padding-top: 8px;
}

@media (max-width: 640px) {
  .details-shell {
    padding: 20px 12px;
  }

  .details-card {
    padding: 30px 18px;
  }

  .details-card h1 {
    margin-bottom: 25px;
  }

  .recap-shell {
    padding: 22px 12px 38px;
  }

  .question-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .question-video-last {
    grid-column: auto;
    width: 100%;
  }

  .success-stories,
  .action-card,
  .blueprint {
    padding: 18px 14px;
  }

  .action-card p {
    font-size: 14px;
  }

  .welcome-shell {
    padding: 18px 10px;
  }

  .welcome-card {
    padding: 10px 12px 16px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .welcome-photo {
    float: none;
    display: block;
    width: min(100%, 240px);
    margin: 4px auto 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .details-button,
  .accept-button {
    transition-duration: 0.01ms;
  }
}
