:root {
  --apply-blue: #0d65fc;
  --apply-blue-dark: #0754db;
  --apply-navy: #0a2270;
  --apply-cream: #f4f4e9;
  --apply-white: #fff;
  --apply-muted: #566387;
  --apply-line: rgba(10, 34, 112, 0.13);
  --apply-gutter: clamp(24px, 4vw, 64px);
  --apply-max: 1240px;
  /* Cal's month height grows with its width. Bound the booking column by
     available screen height without clipping or scaling the embedded UI. */
  --apply-booking-width: clamp(420px, calc(100svh - 312px), 560px);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  max-width: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.apply-now-experience *,
.apply-now-explainer * {
  box-sizing: border-box;
}

.apply-now-experience,
.apply-now-explainer {
  overflow-wrap: anywhere;
}

/* This page already is the application CTA. Repeating it in the header adds a
   competing target without helping the visitor move forward. */
#header .header-actions-action--cta {
  display: none !important;
}

#header .header-announcement-bar-wrapper {
  padding: 16px var(--apply-gutter) !important;
}

#header .header-inner {
  max-width: var(--apply-max);
  margin-inline: auto;
  padding: 0 !important;
}

#header .header-title-logo img {
  max-height: 52px;
  width: auto;
}

.apply-now-shell {
  width: min(100%, var(--apply-max));
  margin-inline: auto;
}

.apply-now-experience {
  padding: clamp(108px, 14svh, 144px) var(--apply-gutter) clamp(48px, 5vw, 72px);
  background: var(--apply-cream);
  color: var(--apply-navy);
  font-family: "Sharp Grotesk", sans-serif;
}

.apply-now-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(48%, var(--apply-booking-width)));
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "pitch booking"
    "proof booking";
  column-gap: clamp(32px, 4vw, 64px);
  row-gap: 28px;
  align-items: start;
}

.apply-now-pitch {
  grid-area: pitch;
  position: static;
  min-width: 0;
  padding-top: 4px;
}

.apply-now-eyebrow {
  margin: 0 0 14px;
  color: var(--apply-blue-dark);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

#apply-now-title {
  max-width: none;
  margin: 0;
  color: var(--apply-navy);
  font-size: clamp(2.375rem, 3.3vw, 3.25rem) !important;
  font-weight: 400 !important;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

#apply-now-title span {
  display: block;
  color: var(--apply-blue);
  font-weight: 600;
}

.apply-now-lead {
  max-width: 37rem;
  margin: 24px 0 0;
  color: var(--apply-navy);
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.apply-now-primary-action {
  display: inline-flex;
  max-width: 100%;
  min-height: 50px;
  margin-top: 24px;
  padding: 13px 19px 13px 22px;
  border-radius: 999px;
  background: var(--apply-blue);
  color: var(--apply-white);
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.apply-now-primary-action svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apply-now-primary-action:hover {
  background: var(--apply-blue-dark);
  transform: translateY(-1px);
}

.apply-now-primary-action:focus-visible,
.apply-now-calendar-fallback a:focus-visible {
  outline: 3px solid var(--apply-navy);
  outline-offset: 4px;
}

.apply-now-fit {
  max-width: 36rem;
  margin: 20px 0 0;
  color: var(--apply-muted);
  font-size: clamp(0.94rem, 1.08vw, 1.02rem);
  font-weight: 400;
  line-height: 1.55;
  text-wrap: pretty;
}

.apply-now-proof {
  grid-area: proof;
  max-width: 37rem;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--apply-line);
}

.apply-now-proof blockquote {
  margin: 0;
  color: var(--apply-navy);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.apply-now-proof figcaption {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  margin-top: 18px;
  align-items: center;
  gap: 12px;
  color: var(--apply-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.apply-now-proof__portrait {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}

.apply-now-proof__author {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.apply-now-proof figcaption strong {
  color: var(--apply-navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.apply-now-booking {
  grid-area: booking;
  min-width: 0;
  width: 100%;
  padding: 20px;
  border: 1px solid var(--apply-line);
  border-radius: clamp(28px, 3vw, 38px);
  background: var(--apply-white);
  box-shadow: 0 12px 36px rgba(10, 34, 112, 0.045);
}

.apply-now-booking__intro {
  padding: 0;
}

.apply-now-booking__intro .apply-now-eyebrow {
  margin-bottom: 8px;
  font-size: 0.8125rem;
}

.apply-now-booking h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--apply-navy);
  font-size: 1.875rem !important;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.apply-now-booking__intro > p:not(.apply-now-eyebrow) {
  max-width: 38rem;
  margin: 8px 0 0;
  color: var(--apply-muted);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  text-wrap: pretty;
}

.apply-now-booking__points {
  display: flex;
  margin: 12px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
}

.apply-now-booking__points li {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  gap: 7px;
  color: var(--apply-navy);
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
}

.apply-now-booking__points li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--apply-blue);
  flex-shrink: 0;
}

.apply-now-calendar-frame {
  position: relative;
  min-height: 340px;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--apply-line);
  border-radius: 18px;
  background: #fff;
}

#my-cal-inline-talk-with-clad {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 0;
  overflow: auto;
  background: transparent;
  scrollbar-width: thin;
}

.apply-now-calendar-frame.is-ready {
  min-height: 0;
}

#my-cal-inline-talk-with-clad iframe {
  display: block;
}

.apply-now-calendar-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  color: var(--apply-muted);
  align-content: center;
  justify-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  transition: opacity 160ms ease;
}

.apply-now-calendar-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(13, 101, 252, 0.15);
  border-top-color: var(--apply-blue);
  border-radius: 50%;
  animation: apply-spin 800ms linear infinite;
}

.apply-now-calendar-loading p {
  margin: 0;
}

.apply-now-calendar-frame.is-ready .apply-now-calendar-loading {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.apply-now-calendar-frame.is-stalled {
  min-height: 220px;
}

.apply-now-calendar-frame.is-stalled #my-cal-inline-talk-with-clad {
  min-height: 220px;
}

.apply-now-calendar-frame.is-stalled .apply-now-calendar-spinner {
  display: none;
}

.apply-now-calendar-fallback {
  margin: 8px 0 0;
  color: var(--apply-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.45;
}

.apply-now-calendar-fallback a {
  display: inline-flex;
  min-height: 44px;
  margin-left: 4px;
  padding: 4px 0;
  color: var(--apply-navy);
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.apply-now-calendar-noscript {
  margin: 14px 4px 0;
  color: var(--apply-muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}

.apply-now-calendar-noscript a {
  color: var(--apply-blue);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.apply-now-trust {
  display: flex;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--apply-line);
  align-items: center;
  justify-content: space-between;
  gap: 24px 36px;
}

.apply-now-trust__heading p {
  margin: 0;
  color: var(--apply-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apply-now-trust__heading h2 {
  margin: 5px 0 0;
  color: var(--apply-navy);
  font-size: 1rem !important;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.apply-now-trust__providers,
.apply-now-provider {
  display: flex;
  align-items: center;
}

.apply-now-trust__providers {
  gap: clamp(18px, 2.5vw, 34px);
}

.apply-now-trust__providers > i {
  width: 1px;
  height: 34px;
  background: var(--apply-line);
}

.apply-now-provider {
  gap: 12px;
  flex-wrap: wrap;
}

.apply-now-provider span {
  color: var(--apply-muted);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

.apply-now-provider img {
  display: block;
  width: auto;
  max-width: 126px;
  max-height: 36px;
  filter: brightness(0) saturate(100%) invert(35%) sepia(99%) saturate(4380%)
    hue-rotate(216deg) brightness(102%) contrast(106%);
  object-fit: contain;
}

.apply-now-provider:first-child img {
  max-width: 82px;
}

.apply-now-explainer {
  padding: clamp(64px, 6vw, 96px) var(--apply-gutter);
  background: var(--apply-white);
  color: var(--apply-navy);
  font-family: "Sharp Grotesk", sans-serif;
}

.apply-now-explainer__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 6vw, 92px);
  align-items: center;
}

.apply-now-explainer__copy h2 {
  max-width: 20ch;
  margin: 0;
  color: var(--apply-navy);
  font-size: clamp(1.75rem, 2.4vw, 2.5rem) !important;
  font-weight: 400 !important;
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.apply-now-video {
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--apply-line);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--apply-cream);
}

.apply-now-video .native-video-player {
  overflow: hidden;
  border-radius: clamp(17px, 2.2vw, 26px);
  background: var(--apply-navy);
}

.apply-now-video video {
  object-fit: cover !important;
}

/* These legacy provider blocks live in the captured footer. The dedicated
   trust row above owns this relationship on the Apply Now page. */
.fe-block-eabcef3245a2e60462d3,
.fe-block-076180c718aa1cba4a90,
.fe-block-yui_3_17_2_1_1771977427766_15785 {
  display: none !important;
}

@keyframes apply-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 999px) {
  .apply-now-experience .apply-now-shell {
    max-width: 640px;
  }

  .apply-now-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "pitch"
      "booking"
      "proof";
    gap: 36px;
  }

  .apply-now-pitch {
    position: static;
    max-width: none;
    padding-top: 0;
  }

  .apply-now-booking {
    max-width: 560px;
  }

  .apply-now-trust {
    align-items: flex-start;
    flex-direction: column;
  }

  #header .header-title-logo img {
    max-height: 44px;
  }
}

@media (max-width: 900px) {
  .apply-now-explainer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .apply-now-explainer__copy h2 { max-width: 28ch; }
}

@media (max-width: 767px) {
  :root {
    --apply-gutter: clamp(20px, 5.8vw, 28px);
  }

  html {
    scroll-padding-top: 100px;
  }

  .apply-now-experience {
    padding-top: 116px;
    padding-bottom: 48px;
  }

  .apply-now-eyebrow {
    margin-bottom: 13px;
    font-size: 0.84rem;
  }

  #apply-now-title {
    max-width: none;
    font-size: clamp(2.125rem, 9.75vw, 2.875rem) !important;
    letter-spacing: -0.04em;
  }

  .apply-now-lead {
    margin-top: 24px;
    font-size: 1.06rem;
  }

  .apply-now-primary-action {
    width: 100%;
    min-height: 54px;
    justify-content: center;
  }

  .apply-now-proof {
    max-width: none;
  }

  .apply-now-booking {
    padding: 24px 16px 12px;
    border-radius: 26px;
  }

  .apply-now-booking h2 {
    max-width: none;
    font-size: 1.875rem !important;
  }

  .apply-now-calendar-frame {
    border-radius: 18px;
  }

  .apply-now-trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .apply-now-explainer {
    padding-block: 48px;
  }

  .apply-now-explainer__grid {
    gap: 24px;
  }

  .apply-now-explainer__copy h2 {
    font-size: clamp(1.5rem, 6.6vw, 1.875rem) !important;
  }

  .apply-now-video {
    padding: 8px;
    border-radius: 22px;
  }
}

@media (max-width: 500px) {
  .apply-now-trust__providers {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .apply-now-trust__providers > i {
    width: 100%;
    height: 1px;
  }

  .apply-now-provider {
    width: 100%;
    justify-content: space-between;
  }
}

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

  .apply-now-primary-action,
  .apply-now-calendar-loading {
    transition: none;
  }

  .apply-now-calendar-spinner {
    animation: none;
  }
}
