/* Step 60.1 — sign-up pages: 10/12 of the screen. Left: brand, video (plays by itself, muted), and the slideshow in
   the header's place. Right: the form — on a computer only the form scrolls, never the whole page. */
.gd-join-main { display: flex; justify-content: center; padding: 24px 0; min-height: 100vh; min-height: 100dvh; }
.gd-join { width: 83.333vw; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 32px; }
.gd-join__left { display: flex; flex-direction: column; gap: 20px; color: #fff; border-radius: 28px; padding: 28px 30px; overflow-y: auto;
    background: radial-gradient(120% 70% at 100% 0%, rgba(18, 184, 134, .32), transparent 60%), linear-gradient(170deg, #000E36 0%, #0A1E5C 62%, #0b3b6e 100%);
    box-shadow: 0 30px 60px -30px rgba(0, 14, 54, .55); scrollbar-width: thin; }
.gd-join__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gd-join__left .gd-join__brand, .gd-join__left .gd-join__brand:hover { color: #fff !important; }
.gd-join__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.gd-join__brand b { font-weight: 500; background: linear-gradient(90deg, #12B886, #4FA3FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gd-join__kicker { padding: 5px 12px; border-radius: 999px; background: rgba(18, 184, 134, .18); color: #7EE2C0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gd-join__video { margin: 0; }
.gd-join__video video, .gd-join__video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 20px; background: #000; object-fit: cover; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); }

/* The slideshow where the header was: every slide sits in the same place, the tallest sets the height. */
.gd-join__slides { position: relative; display: grid; outline: none; padding-bottom: 30px; }
.gd-join__slides:focus-visible { box-shadow: 0 0 0 3px rgba(18, 184, 134, .6); border-radius: 12px; }
.gd-join__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease, visibility .55s; }
.gd-join__slide.is-on { opacity: 1; visibility: visible; transform: none; }
.gd-join__icon { display: inline-flex; width: 44px; height: 44px; border-radius: 14px; align-items: center; justify-content: center; margin-bottom: 12px;
    background: linear-gradient(135deg, #12B886, #0064BD); color: #fff; box-shadow: 0 12px 24px -12px rgba(18, 184, 134, .8); }
.gd-join__title { font-size: clamp(1.6rem, 2.3vw, 2.5rem); line-height: 1.12; font-weight: 600; margin: 0 0 10px; color: #fff; letter-spacing: -.02em; }
.gd-join__lead { color: rgba(255, 255, 255, .8); font-size: 1.02rem; margin: 0 0 14px; max-width: 38rem; }
.gd-join__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-join__chips span { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: .8rem; color: #fff; }
.gd-join__dots { position: absolute; left: 0; bottom: 0; display: flex; gap: 8px; }
.gd-join__dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); transition: width .3s, background .3s; cursor: pointer; }
.gd-join__dots button.is-on { width: 26px; background: #12B886; }

/* The form side: wider; its own scroll. */
.gd-join__formcol { min-width: 0; padding: 0 6px 6px 0; scrollbar-width: thin; }
.gd-join__formcol > .card { max-width: none; }
.gd-join__credit { font-size: .78rem; }

/* "Who are you?": two choices on each line. */
.gd-join-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gd-join-choice { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px; border: 1px solid #E6EAF0; border-radius: 20px; background: #fff; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.gd-join-choice:hover, .gd-join-choice:focus { border-color: #12B886; box-shadow: 0 14px 30px -18px rgba(0, 14, 54, .35); transform: translateY(-2px); color: inherit; }
.gd-join-choice__icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #E9F7F2; color: #0d8a64; }
.gd-join-choice strong { font-size: 1.1rem; }
.gd-join-choice .btn { margin-top: auto; align-self: flex-start; }

@media (min-width: 992px) {
    body.gd-join-page { overflow: hidden; }
    .gd-join-main { height: 100vh; height: 100dvh; min-height: 0; }
    .gd-join { height: 100%; }
    .gd-join__formcol { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
}
/* Phones and tablets: brand + slides, then the form, then the video; the page scrolls normally. */
@media (max-width: 991.98px) {
    .gd-join-main { padding: 16px 0 24px; }
    .gd-join { width: calc(100% - 28px); max-width: 38rem; grid-template-columns: 1fr; gap: 0; grid-template-areas: "top" "slides" "form" "video"; }
    .gd-join__left { display: contents; }
    .gd-join__top { grid-area: top; padding: 20px 22px 10px; border-radius: 24px 24px 0 0; background: #000E36; }
    .gd-join__slides { grid-area: slides; padding: 6px 22px 46px; border-radius: 0 0 24px 24px; background: linear-gradient(180deg, #000E36, #0A1E5C); color: #fff; }
    .gd-join__dots { left: 22px; bottom: 18px; }
    .gd-join__title { font-size: 1.5rem; }
    .gd-join__formcol { grid-area: form; margin-top: 20px; }
    .gd-join__video { grid-area: video; margin-top: 20px; }
    .gd-join-choices { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .gd-join__slide { transition: none; } }

/* Fill the page: the video + slides sit in the middle of the left panel; the right card stretches to the bottom. */
@media (min-width: 992px) {
    .gd-join__left > .gd-join__top + * { margin-top: auto; }
    .gd-join__left > .gd-join__slides { margin-bottom: auto; }
    .gd-join__formcol { display: flex; flex-direction: column; }
    .gd-join__formcol > .card { flex: 1 0 auto; }
    .gd-join__formcol > .gd-join__credit { flex: 0 0 auto; }
}
.gd-join-choice strong { color: #000E36; }
.gd-join-choices { grid-auto-rows: 1fr; }
@media (min-width: 992px) {
    .gd-join-fill { display: flex; flex-direction: column; }
    .gd-join-fill > .card-body { flex: 1; display: flex; flex-direction: column; }
    .gd-join-fill .gd-join-choices { flex: 1; }
    .gd-join-fill .gd-join-choice { justify-content: center; }
    .gd-join-fill .gd-join-choice .btn { margin-top: 6px; }
}
