/* Static-host waitlist corrections. Keep these after site.css. */
/* Archived section: Prep System. Markup remains in index.html for restoration. */
.features-section[data-archived="prep-system"] {
  display: none !important;
}

/* Archived section: Your Next Rep. Markup remains in index.html for restoration. */
.offer-machine[data-archived="your-next-rep"] {
  display: none !important;
}

/* Archived section: Home. Markup remains in index.html for restoration. */
.smarter-section[data-archived="home"] {
  display: none !important;
}

/* Archived section: Replace. Markup remains in index.html for restoration. */
.goodbye-section[data-archived="replace-section"] {
  display: none !important;
}

/* Archived divider: Replace items. Markup remains in index.html for restoration. */
.stats-band[data-archived="replace-divider"] {
  display: none !important;
}

/* Archived section: Practice showcase. Markup remains in index.html for restoration. */
.dark-showcase[data-archived="practice"] {
  display: none !important;
}

/* Archived section: Testimonials. Markup remains in index.html for restoration. */
.testimonials[data-archived="testimonials"] {
  display: none !important;
}

/* Simplified home presentation: hero, one product section, then the footer.
   All other lower sections remain in the markup for restoration. */
.site-shell:not(.legal-shell):not(.org-page-shell) > .offer-machine,
.site-shell:not(.legal-shell):not(.org-page-shell) > .smarter-section,
.site-shell:not(.legal-shell):not(.org-page-shell) > .goodbye-section,
.site-shell:not(.legal-shell):not(.org-page-shell) > .stats-band,
.site-shell:not(.legal-shell):not(.org-page-shell) > .dark-showcase,
.site-shell:not(.legal-shell):not(.org-page-shell) > .testimonials {
  display: none !important;
}

.site-shell:not(.legal-shell):not(.org-page-shell) > .features-section {
  display: block !important;
}

.site-shell:not(.legal-shell):not(.org-page-shell) > .site-footer {
  display: flex !important;
}

/* Keep the page shell flush with the viewport; the nav offset belongs inside it. */
.site-shell {
  padding-top: 16px;
}

.site-header {
  margin-top: 0;
}

.site-footer > div:first-child::before {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: #050608 url("/app/footer-logo.png") center / 76% no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(0, 0, 0, 0.22);
  content: "";
}

.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(247, 248, 250, 0.12), rgba(247, 248, 250, 0.035) 58%, rgba(47, 128, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 26px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
}

.site-footer > div > span {
  font-weight: 400;
}

.site-footer .footer-links {
  display: flex;
  align-items: start;
  align-self: start;
  gap: clamp(34px, 6vw, 76px);
}

.site-footer .footer-links > div {
  display: grid;
  gap: 9px;
  min-width: 92px;
}

.site-footer .footer-links .footer-links-title {
  color: rgba(247, 248, 250, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
}

.site-footer .footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
}

/* Keep the organization page as focused and spacious as the home experience. */
.org-page-shell .org-page {
  width: min(1120px, calc(100% - 32px));
  padding: 72px 0 92px;
}

.org-page-shell .org-page .breadcrumbs {
  display: none;
}

.org-page-shell .org-form-stage {
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(44px, 7vw, 96px);
}

.org-page-shell .org-page-copy {
  justify-items: start;
  padding-top: 62px;
  text-align: left;
}

.org-page-shell .org-page-copy .section-label {
  margin-bottom: 20px;
}

.org-page-shell .org-page h1 {
  max-width: 560px;
  letter-spacing: -2.4px;
  font-size: clamp(48px, 5.6vw, 74px);
  line-height: 1.02;
}

.org-page-shell .org-page-copy > p {
  max-width: 500px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.55;
}

.org-page-shell .org-form-panel {
  max-width: 560px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(247, 248, 250, 0.1), rgba(247, 248, 250, 0.035) 58%, rgba(47, 128, 255, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 26px 80px rgba(0, 0, 0, 0.3);
}

.org-page-shell .org-form-header {
  padding: 16px 20px;
}

.org-page-shell .org-form {
  gap: 19px;
  padding: 20px;
}

@media (max-width: 900px) {
  .org-page-shell .org-page {
    padding: 48px 0 72px;
  }

  .org-page-shell .org-form-stage {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .org-page-shell .org-page-copy {
    padding-top: 0;
  }

  .org-page-shell .org-form-panel {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .org-page-shell .org-page {
    width: min(100% - 24px, 560px);
  }

  .org-page-shell .org-page h1 {
    letter-spacing: -1.6px;
    font-size: clamp(42px, 12vw, 58px);
  }

  .org-page-shell .org-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep the hero center calm while three soft gradient forms drift around it. */
.background-elements {
  z-index: -2;
}

.background-elements::before,
.background-elements::after {
  position: absolute;
  width: 38vw;
  height: 30vw;
  min-width: 300px;
  min-height: 240px;
  border-radius: 58% 42% 64% 36%;
  content: "";
  filter: blur(54px);
  opacity: 0.36;
  pointer-events: none;
}

.background-elements::before {
  top: 48%;
  left: -12%;
  background: radial-gradient(ellipse at 32% 48%, rgba(25, 179, 138, 0.54), transparent 58%), radial-gradient(ellipse at 68% 58%, rgba(47, 128, 255, 0.4), transparent 64%);
  animation: hero-gradient-bottom-left 18s ease-in-out infinite alternate;
}

.background-elements::after {
  top: -8%;
  right: -10%;
  border-radius: 36% 64% 42% 58%;
  background: radial-gradient(ellipse at 34% 38%, rgba(216, 77, 255, 0.42), transparent 55%), radial-gradient(ellipse at 68% 62%, rgba(47, 128, 255, 0.48), transparent 62%);
  animation: hero-gradient-top-right 21s ease-in-out infinite alternate;
}

.aurora-one {
  top: -10%;
  left: -10%;
  width: 42vw;
  height: 34vw;
  border-radius: 62% 38% 46% 54%;
  background: radial-gradient(ellipse at 38% 42%, rgba(47, 128, 255, 0.52), transparent 56%), radial-gradient(ellipse at 68% 62%, rgba(25, 179, 138, 0.3), transparent 62%);
  animation: hero-gradient-top-left 19s ease-in-out infinite alternate;
}

.aurora-two {
  top: 34%;
  right: -18%;
  left: auto;
  display: block;
  width: 32vw;
  height: 28vw;
  border-radius: 44% 56% 62% 38%;
  background: radial-gradient(ellipse at 42% 42%, rgba(216, 77, 255, 0.34), transparent 58%), radial-gradient(ellipse at 64% 64%, rgba(25, 179, 138, 0.28), transparent 62%);
  animation: hero-gradient-right-drift 23s ease-in-out infinite alternate;
}

@keyframes hero-gradient-top-left {
  from { transform: translate3d(-2%, -1%, 0) rotate(-4deg) scale(0.98); }
  to { transform: translate3d(7%, 5%, 0) rotate(5deg) scale(1.06); }
}

@keyframes hero-gradient-top-right {
  from { transform: translate3d(2%, -2%, 0) rotate(4deg) scale(1.02); }
  to { transform: translate3d(-7%, 6%, 0) rotate(-6deg) scale(0.96); }
}

@keyframes hero-gradient-right-drift {
  from { transform: translate3d(3%, -2%, 0) rotate(3deg); }
  to { transform: translate3d(-8%, 8%, 0) rotate(-5deg); }
}

@keyframes hero-gradient-bottom-left {
  from { transform: translate3d(-3%, 2%, 0) rotate(5deg) scale(0.96); }
  to { transform: translate3d(8%, -6%, 0) rotate(-5deg) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-one,
  .aurora-two,
  .background-elements::before,
  .background-elements::after {
    animation: none !important;
  }
}

/* The first section now leads with the supplied product phone render. */
.features-section .feature-grid {
  display: none !important;
}

.image-feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  align-items: center;
  gap: clamp(32px, 7vw, 100px);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.curriculum-hero-feature {
  position: relative;
  display: block;
  width: min(100%, 900px);
  min-height: 760px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

.curriculum-hero-feature::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 44%;
  background: linear-gradient(to bottom, transparent 0%, rgba(5, 6, 8, 0.48) 52%, var(--app-background) 92%);
  content: "";
  pointer-events: none;
}

.curriculum-hero-feature .image-feature-copy {
  position: absolute;
  top: 54px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.curriculum-hero-feature .image-feature-copy h2,
.curriculum-hero-feature .image-feature-copy p {
  display: none;
}

.curriculum-hero-feature .image-feature-copy .section-label {
  display: none;
  width: max-content;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(247, 248, 250, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.curriculum-hero-feature .image-feature-visual {
  min-height: 760px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.curriculum-hero-feature .image-feature-visual img {
  width: min(100%, 760px);
  height: 820px;
}

.features-section .section-label {
  display: none;
}

.features-section {
  padding-top: 18px;
}

.features-section .section-copy {
  padding-inline: clamp(18px, 6vw, 110px);
}

.image-feature-copy {
  max-width: 470px;
}

.image-feature-copy h2 {
  margin-top: 20px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -2.6px;
}

.image-feature-copy p {
  max-width: 430px;
  margin-top: 22px;
  padding-inline: clamp(18px, 4vw, 72px);
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

.image-feature-visual {
  display: grid;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: radial-gradient(circle at 50% 42%, rgba(47, 128, 255, 0.2), transparent 48%), rgba(247, 248, 250, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 30px 90px rgba(0, 0, 0, 0.32);
}

.image-feature-visual img {
  display: block;
  width: min(100%, 650px);
  height: 700px;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.46));
}

.mock-feature {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 0.9fr);
}

.mock-feature .image-feature-copy {
  order: 2;
}

.mock-feature .image-feature-copy p {
  padding-inline: 0;
}

@media (min-width: 901px) {
  .news-feature .image-feature-copy {
    padding-left: clamp(18px, 3.5vw, 58px);
  }

  .mock-feature .image-feature-copy {
    padding-right: clamp(18px, 3.5vw, 58px);
  }
}

.mock-feature .image-feature-visual {
  order: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.news-feature .image-feature-visual {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.news-feature .image-feature-visual::after {
  display: none;
}

.news-feature .image-feature-visual img {
  transform: translateY(-58px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, 0.82) 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0, 0, 0, 0.82) 76%, transparent 100%);
}

.news-feature .image-feature-copy p {
  line-height: 1.9;
  padding-inline: 0;
}

.news-feature .image-feature-copy p .news-point {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}

.news-feature .image-feature-copy p .news-point + .news-point {
  margin-top: 12px;
}

.news-feature .image-feature-copy p .news-point::before {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(247, 248, 250, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  content: "";
}

@media (max-width: 900px) {
  .curriculum-hero-feature {
    min-height: 650px;
  }

  .curriculum-hero-feature .image-feature-visual {
    min-height: 650px;
  }

  .curriculum-hero-feature .image-feature-visual img {
    height: 700px;
  }

  .image-feature-section,
  .mock-feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 66px 0;
  }

  .mock-feature .image-feature-copy,
  .mock-feature .image-feature-visual {
    order: initial;
  }

  .image-feature-copy {
    max-width: 620px;
  }

  .image-feature-visual {
    min-height: 520px;
  }

  .image-feature-visual img {
    height: 580px;
  }
}

@media (max-width: 560px) {
  .curriculum-hero-feature {
    width: 100%;
    min-height: 510px;
  }

  .curriculum-hero-feature .image-feature-copy {
    top: 24px;
  }

  .curriculum-hero-feature .image-feature-visual {
    min-height: 510px;
  }

  .curriculum-hero-feature .image-feature-visual img {
    height: 550px;
  }

  .news-feature .image-feature-visual img {
    transform: translateY(-28px);
  }

  .curriculum-hero-feature::after {
    height: 52%;
    background: linear-gradient(to bottom, transparent 0%, rgba(5, 6, 8, 0.55) 44%, var(--app-background) 84%);
  }

  .image-feature-section,
  .mock-feature {
    width: min(100% - 24px, 390px);
    padding: 54px 0;
  }

  .image-feature-copy h2 {
    font-size: clamp(36px, 11vw, 50px);
    letter-spacing: -2px;
  }

  .image-feature-copy p {
    font-size: 15px;
  }

  .image-feature-visual {
    min-height: 460px;
    border-radius: 26px;
  }

  .image-feature-visual img {
    height: 510px;
  }

  .site-footer .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 24px;
  }
}


/* Keep both download CTAs calm and predictable on hover. */
.header-cta,
.hero-button {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}

.hero-button {
  color: #f7f8fa !important;
  background: rgba(247, 248, 250, 0.12) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 36px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.header-cta:hover,
.header-cta:focus-visible,
.hero-button:hover,
.hero-button:focus-visible {
  color: #050608 !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #050608 !important;
  border-color: rgba(255, 255, 255, 0.46) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 30px rgba(0, 0, 0, 0.34) !important;
  transform: translateY(-2px) !important;
}

.hero-button::before,
.hero-button::after {
  display: none !important;
}

.hero .social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
}

.hero-stars {
  color: #84e6f6;
  font-size: 17px;
  letter-spacing: 0.18em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(132, 230, 246, 0.24);
}

.hero .social-proof .hero-stars {
  color: #84e6f6 !important;
}

/* Give the two-line hero lockup enough line box height for descenders. */
.hero h1 {
  line-height: 1.12 !important;
}

@media (max-width: 809.98px) {
  .hero {
    height: 530px !important;
    min-height: 530px !important;
    padding-top: 108px !important;
  }

  .hero h1 {
    line-height: 1.14 !important;
  }

  .hero .bank-carousel {
    display: block !important;
    width: 100vw;
    margin-top: 28px;
  }

  .hero .bank-track {
    gap: 20px;
  }

  .hero .bank-tile,
  .hero .bank-tile img {
    width: 58px;
    height: 58px;
  }
}

@media (min-width: 810px) and (max-width: 900px) {
  .hero {
    padding-top: 112px !important;
  }
}

.hero-button:hover .hero-button-apple,
.hero-button:focus-visible .hero-button-apple {
  filter: invert(1) !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .header-cta:hover,
  .header-cta:focus-visible,
  .hero-button:hover,
  .hero-button:focus-visible {
    transform: none !important;
  }
}

.hero-button .hero-button-apple {
  color: transparent !important;
  fill: transparent !important;
  stroke: transparent !important;
  background: url("/apple-logo.svg") center / contain no-repeat !important;
  transition: filter 180ms ease !important;
}

#analyst-waitlist-layer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  overflow: hidden !important;
  overscroll-behavior: contain !important;
  isolation: isolate !important;
}

#analyst-waitlist-layer.is-open,
#analyst-waitlist-layer.is-closing {
  pointer-events: auto !important;
}

#analyst-waitlist-layer .waitlist-scrim {
  z-index: 0 !important;
  opacity: 0 !important;
  backdrop-filter: blur(14px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.08) !important;
  transition: opacity 360ms ease !important;
  animation: none !important;
}

#analyst-waitlist-layer.is-open .waitlist-scrim {
  opacity: 1 !important;
}

#analyst-waitlist-layer.is-closing .waitlist-scrim {
  opacity: 0 !important;
}

#analyst-waitlist-layer .waitlist-panel {
  position: relative !important;
  z-index: 1 !important;
  width: min(456px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100dvh - 48px) !important;
  overflow: hidden !important;
  backdrop-filter: blur(28px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.35) !important;
}

#analyst-waitlist-layer .waitlist-form {
  display: grid !important;
  gap: 12px !important;
  width: 100% !important;
}

#analyst-waitlist-layer .waitlist-field {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 60px !important;
  min-height: 60px !important;
  padding: 0 18px !important;
  box-sizing: border-box !important;
  grid-template-columns: unset !important;
}

#analyst-waitlist-layer .waitlist-field > svg,
#analyst-waitlist-layer .waitlist-field > .waitlist-field-icon {
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  overflow: visible !important;
}

#analyst-waitlist-layer .waitlist-field input {
  flex: 1 1 auto !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #f7f8fa !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  overflow: visible !important;
}

#analyst-waitlist-layer .waitlist-submit {
  width: 100% !important;
}

@media (max-width: 900px) {
  #analyst-waitlist-layer {
    align-items: end !important;
    justify-items: stretch !important;
    align-content: end !important;
    justify-content: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  #analyst-waitlist-layer .waitlist-panel {
    align-self: end !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: min(438px, calc(100dvh - 80px)) !important;
    max-height: min(560px, calc(100dvh - 32px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 16px 20px max(24px, env(safe-area-inset-bottom)) !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-radius: 30px 30px 0 0 !important;
    transform: translateY(105%);
  }

  #analyst-waitlist-layer.is-open .waitlist-panel {
    transform: translateY(0);
  }

  #analyst-waitlist-layer.is-closing .waitlist-panel {
    transform: translateY(105%);
  }

  #analyst-waitlist-layer .waitlist-grabber {
    display: block !important;
  }
}
