/* Free Job Applier v3 landing page (index_17.php). Everything is scoped to .fja3
   so the shared header, footer and Bootstrap theme are left alone. */

/* ---------- Design tokens ---------- */
.fja3 {
  --fja3-primary: #2563EB;
  --fja3-primary-dark: #1D4ED8;
  --fja3-tint: #DCE7FF;
  --fja3-tint-2: #EAF1FE;
  --fja3-tint-3: #F5F8FF;
  --fja3-navy: #0B1B3F;
  --fja3-ink: #0F172A;
  --fja3-body: #334155;
  --fja3-body-2: #1E293B;
  --fja3-muted: #3B475C;
  --fja3-muted-2: #56607A;
  --fja3-section: #F4F7FB;
  --fja3-panel: #F8FAFC;
  --fja3-border: #E2E8F0;
  --fja3-border-2: #D5DCE8;
  --fja3-input-border: #B6C1D3;
  --fja3-error: #B42318;
  /* The site's golden yellow (header Get Started button), for the sign-up buttons */
  --fja3-yellow: #FFD166;
  --fja3-yellow-dark: #FFC43D;
  /* Soft green for the hero's "Free Job Applier" pill, as in the reference design */
  --fja3-green: #166534;
  --fja3-green-bg: #DCFCE7;
  --fja3-shadow: 0 1px 0 #E2E8F0, 0 24px 48px -32px rgba(11, 27, 63, 0.30);
  --fja3-display: 'Space Grotesk', system-ui, sans-serif;

  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fja3-ink);
  background: #FFFFFF;
  /* clip, not hidden: hidden makes this a scroll box, and AOS pushing the last section
     100px down then shows a second scrollbar on the right */
  overflow-x: clip;
}

/* ---------- Resets for the theme's defaults ---------- */
.fja3 p,
.fja3 ul,
.fja3 ol,
.fja3 dl,
.fja3 dd,
.fja3 figure,
.fja3 blockquote,
.fja3 label,
.fja3 fieldset {
  margin: 0;
}

/* Long paragraphs never end on a single orphaned word */
.fja3 p {
  text-wrap: pretty;
}

.fja3 h1,
.fja3 h2,
.fja3 h3 {
  margin: 0;
  color: inherit;
  font-family: var(--fja3-display);
  text-wrap: balance;
}

.fja3 dt {
  font-weight: 400;
}

.fja3 a {
  color: var(--fja3-ink);
  text-decoration: underline;
}

.fja3 a:hover {
  color: var(--fja3-primary-dark);
}

/* Visible keyboard focus on everything interactive */
.fja3 :focus-visible,
.fja3-prompt :focus-visible {
  outline: 3px solid var(--fja3-primary);
  outline-offset: 2px;
}

/* Anchored sections clear the sticky site header */
.fja3 [id] {
  scroll-margin-top: 96px;
}

/* ---------- Layout ---------- */
.fja3-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.fja3-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.fja3-stack-40,
.fja3-stack-48 {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fja3-stack-48 {
  gap: 32px;
}

.fja3-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

/* Centered section heading, as the reference shows over the steps */
.fja3-head-center {
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

/* Even line lengths, so a centered intro never ends on one lonely word */
.fja3-head-center p {
  text-wrap: balance;
}

.fja3-mw-480 { max-width: 480px; }

/* Light grey band between white sections */
.fja3-band {
  background: var(--fja3-section);
  border-top: 1px solid var(--fja3-border);
  border-bottom: 1px solid var(--fja3-border);
}

/* ---------- Type ---------- */
.fja3-h1 {
  font-weight: 700;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.fja3-h2 {
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.fja3-h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.fja3-h-card {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.fja3-lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--fja3-body-2);
  max-width: 560px;
}

.fja3-body {
  font-size: 17px;
  color: var(--fja3-body);
}

.fja3-body-lg {
  font-size: 18px;
  color: var(--fja3-body);
}

.fja3-small {
  font-size: 13px;
  color: var(--fja3-muted);
}

/* Small uppercase section label, in the body font */
.fja3-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--fja3-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Key phrase of a heading in a solid accent color */
.fja3 .fja3-accent {
  color: var(--fja3-primary);
}

.fja3 .fja3-accent-yellow {
  color: var(--fja3-yellow);
}

/* "Free Job Applier" pill over the hero headline: flat soft green, so it stands out on the blue wash */
.fja3-pill {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: -8px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fja3-green);
  background: var(--fja3-green-bg);
  border-radius: 999px;
}

/* ---------- Buttons ---------- */
.fja3 .fja3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.fja3 .fja3-btn-primary {
  color: #FFFFFF;
  background: var(--fja3-primary);
}

.fja3 .fja3-btn-primary:hover {
  color: #FFFFFF;
  background: var(--fja3-primary-dark);
}

.fja3 .fja3-btn-primary:disabled {
  opacity: 0.75;
  cursor: progress;
}

.fja3 .fja3-btn-outline {
  color: var(--fja3-ink);
  background: #FFFFFF;
  border: 1.5px solid var(--fja3-input-border);
}

.fja3 .fja3-btn-outline:hover {
  color: var(--fja3-ink);
  border-color: var(--fja3-primary);
}

/* Yellow for every "sign up free" action; blue stays with Full Service */
.fja3 .fja3-btn-yellow {
  color: var(--fja3-ink);
  background: var(--fja3-yellow);
  box-shadow: inset 0 -2px 0 rgba(15, 23, 42, 0.12);
}

.fja3 .fja3-btn-yellow:hover {
  color: var(--fja3-ink);
  background: var(--fja3-yellow-dark);
}

.fja3 .fja3-btn-yellow:disabled {
  opacity: 0.75;
  cursor: progress;
}

.fja3 .fja3-btn-start {
  align-self: flex-start;
}

.fja3-arrow {
  flex: none;
  transition: transform 0.2s ease;
}

.fja3 .fja3-btn:hover .fja3-arrow {
  transform: translateX(3px);
}

.fja3 .fja3-btn-lg {
  min-height: 56px;
  padding: 18px 28px;
  font-size: 17px;
  border-radius: 10px;
}

/* Plan card buttons sit left, a little apart from the list above them */
.fja3 .fja3-btn-end {
  margin-top: 6px;
  align-self: flex-start;
}

.fja3 .fja3-btn.disabled {
  pointer-events: none;
  opacity: 0.7;
}

/* ---------- Bullet lists ---------- */
.fja3-ticks {
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.fja3-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.fja3-tick {
  flex: none;
  margin-top: 3px;
}

.fja3-ticks-lg {
  gap: 12px;
  font-size: 17px;
}

.fja3-ticks-lg .fja3-tick {
  margin-top: 4px;
}

/* ---------- Hero ---------- */
/* Full width blue wash that fades to white, so it runs straight into the steps.
   isolation keeps the dot texture (z-index -1) above the wash but under the content. */
.fja3-hero-band {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(55% 65% at 92% 6%, rgba(37, 99, 235, 0.18), transparent 70%),
    radial-gradient(40% 50% at 0% 45%, rgba(255, 209, 102, 0.18), transparent 70%),
    linear-gradient(180deg, #EEF3FF 0%, #F7F9FF 60%, #FFFFFF 100%);
}

/* Dot texture, top right, fading out toward the copy */
.fja3-hero-band::before,
.fja3-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(37, 99, 235, 0.22) 1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(45% 60% at 95% 10%, #000, transparent 75%);
  mask-image: radial-gradient(45% 60% at 95% 10%, #000, transparent 75%);
  pointer-events: none;
}

/* Extra top padding clears the site header, which sits over the page. No bottom padding:
   the next section's top padding alone sets the gap, like every other section. */
.fja3-hero {
  padding-top: 136px;
  padding-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.fja3-hero-copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Side by side, centering against the much taller form left the headline low.
   The bottom margin lifts the copy 64px (half of it) while it stays centered. */
@media (min-width: 1024px) {
  .fja3-hero-copy {
    margin-bottom: 128px;
  }
}

/* Stat row: label under the number, as the design shows */
.fja3-facts {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--fja3-border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
}

.fja3-facts div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fja3-facts dt {
  order: 2;
  font-size: 13px;
  color: var(--fja3-muted);
}

/* Tabular digits keep the numbers from jittering while they count up */
.fja3-facts dd {
  font-family: var(--fja3-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Cards ---------- */
.fja3-card {
  border: 1px solid var(--fja3-border-2);
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: var(--fja3-shadow);
}

/* ---------- Sign-up form ---------- */
/* Blue tinted border and glow so the card lifts off the hero wash */
.fja3-signup {
  flex: 1 1 440px;
  min-width: 0;
  max-width: 540px;
  border-color: #CBD8F6;
  box-shadow: 0 1px 0 #E2E8F0, 0 32px 64px -32px rgba(37, 99, 235, 0.4);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fja3-signup-head,
.fja3-signup-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
}

.fja3-signup-head {
  align-items: baseline;
}

.fja3-signup-foot {
  font-size: 12px;
  color: var(--fja3-muted-2);
}

.fja3-signin {
  font-size: 13px;
  color: var(--fja3-muted);
}

.fja3-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--fja3-muted-2);
}

.fja3-divider::before,
.fja3-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--fja3-border);
}

/* Two columns that drop to one when the card gets narrow. 200px keeps the
   longest paired label ("Base salary you want per year", 189px) on one line. */
.fja3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

/* A field that takes the whole row */
.fja3-full {
  grid-column: 1 / -1;
}

.fja3-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fja3-label,
.fja3-legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--fja3-ink);
}

/* Inputs, selects and the $ box share one look */
.fja3 .fja3-input,
.fja3-prompt .fja3-input {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 44px;
  padding: 0 12px;
  font: inherit;
  font-size: 15px;
  color: var(--fja3-ink);
  background: #FFFFFF;
  border: 1.5px solid var(--fja3-input-border);
  border-radius: 8px;
  box-shadow: none;
}

.fja3 select.fja3-input,
.fja3-prompt select.fja3-input {
  padding: 0 10px;
}

.fja3 .fja3-input::placeholder,
.fja3-prompt .fja3-input::placeholder {
  color: #6B7588;
  opacity: 1;
}

.fja3 .fja3-input:focus,
.fja3-prompt .fja3-input:focus {
  border-color: var(--fja3-primary);
}

.fja3-money {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1.5px solid var(--fja3-input-border);
  border-radius: 8px;
  background: #FFFFFF;
  overflow: hidden;
}

.fja3-money span {
  padding: 0 2px 0 12px;
  font-size: 15px;
  color: var(--fja3-muted);
}

/* The input inside the $ box drops its own border; the box shows focus instead */
.fja3 .fja3-money .fja3-input,
.fja3-prompt .fja3-money .fja3-input {
  flex: 1;
  min-height: 41px;
  padding-left: 2px;
  border: 0;
  border-radius: 0;
  outline: none;
}

.fja3-money:focus-within {
  border-color: var(--fja3-primary);
  outline: 3px solid var(--fja3-primary);
  outline-offset: 2px;
}

/* "Where do you want to work?" legend with the remote toggle on the right */
.fja3-where {
  padding: 0;
  border: 0;
  min-width: 0;
}

.fja3-legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 12px;
  line-height: 1.55;
}

.fja3-where .fja3-grid {
  clear: both;
}

.fja3-where .fja3-error {
  margin-top: 4px;
}

.fja3-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  font-weight: 500;
  color: var(--fja3-body);
  cursor: pointer;
}

.fja3-check input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--fja3-primary);
}

/* Remote toggle: a 44px tall hit area that takes no extra room in the layout */
.fja3-legend .fja3-check {
  min-height: 44px;
  margin: -10px 0;
}

.fja3-consent {
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
}

.fja3-consent input {
  margin-top: 2px;
}

/* Resume upload: the whole dashed box is the label, the real input is visually hidden */
.fja3-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border: 1.5px dashed var(--fja3-input-border);
  border-radius: 8px;
  background: var(--fja3-panel);
  font-size: 14px;
  color: var(--fja3-body);
  cursor: pointer;
}

.fja3-upload svg {
  flex: none;
}

.fja3-upload strong {
  font-weight: 600;
  color: var(--fja3-ink);
}

.fja3-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.fja3-upload:focus-within {
  border-color: var(--fja3-primary);
  outline: 3px solid var(--fja3-primary);
  outline-offset: 2px;
}

.fja3-upload:hover {
  border-color: var(--fja3-primary);
}

/* The picked resume: file icon, name (cut short with ...), size, and an x to remove it */
.fja3-file {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 0 0 12px;
  border: 1.5px solid #C7D7FB;
  border-radius: 8px;
  background: var(--fja3-tint-3);
}

/* hidden has to beat the display: flex above */
.fja3-upload[hidden],
.fja3-file[hidden] {
  display: none;
}

.fja3-file > svg {
  flex: none;
  color: var(--fja3-primary);
}

.fja3-file-text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
}

.fja3-file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--fja3-ink);
}

.fja3-file-size {
  flex: none;
  font-size: 12px;
  color: var(--fja3-muted-2);
}

.fja3-file-remove {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--fja3-muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.fja3-file-remove:hover {
  color: var(--fja3-error);
  background: #FEF3F2;
}

.fja3-hint {
  font-size: 12px;
  line-height: 1.4;
  color: var(--fja3-muted-2);
}

.fja3-hint:empty {
  display: none;
}

/* ---------- Validation ---------- */
.fja3-error {
  font-size: 13px;
  line-height: 1.4;
  color: var(--fja3-error);
}

.fja3-field.is-invalid .fja3-input,
.fja3-field.is-invalid .fja3-money,
.fja3-field.is-invalid .fja3-upload {
  border-color: var(--fja3-error);
}

/* Server errors at the top of the card */
.fja3-alert {
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fja3-error);
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  border-radius: 8px;
}

.fja3 .fja3-alert a {
  color: var(--fja3-error);
  font-weight: 600;
}

/* Checkbox reCAPTCHA is 304px wide, so it shrinks to fit narrow cards */
.fja3-recaptcha {
  max-width: 100%;
  overflow: hidden;
}

.fja3-recaptcha .g-recaptcha {
  transform-origin: left top;
}

@media (max-width: 400px) {
  .fja3-recaptcha .g-recaptcha {
    transform: scale(0.86);
    height: 67px;
  }
}

/* 360px phones leave about 260px inside the card, less with a desktop scrollbar */
@media (max-width: 374px) {
  .fja3-recaptcha .g-recaptcha {
    transform: scale(0.78);
    height: 61px;
  }
}

/* Password eye button from js/password_toggle.js, grown to a 44px touch target */
.fja3 .pw-toggle-wrap .fja3-input {
  padding-right: 48px;
}

.fja3 .pw-toggle {
  right: 0;
  width: 44px;
  height: 44px;
}

/* ---------- From applications to interviews ---------- */
/* Sits between the hero and the steps, so the steps' top padding is the only gap below it.
   Paired with .fja3-section so the phone padding further down can't put it back. */
.fja3-section.fja3-value {
  padding-bottom: 0;
}

/* Three benefits, each an icon beside its text; they stack on phones */
.fja3-values {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px 40px;
}

.fja3-values li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fja3-values li > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fja3-value-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--fja3-primary);
  background: var(--fja3-tint-2);
  box-shadow: inset 0 0 0 1px var(--fja3-tint);
}

/* ---------- How it works ---------- */
/* Icon cards: one per row on phones, two on tablets, four with arrows on desktop */
.fja3-steps {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .fja3-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fja3-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: #FFFFFF;
  border: 1px solid var(--fja3-border-2);
  border-radius: 12px;
  box-shadow: 0 14px 28px -24px rgba(11, 27, 63, 0.35);
}

/* The last step is the payoff, so it gets the tinted card */
.fja3-steps li:last-child {
  background: var(--fja3-tint-2);
  border-color: var(--fja3-tint);
}

.fja3-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--fja3-primary);
  background: var(--fja3-tint-2);
}

.fja3-steps li:last-child .fja3-step-icon {
  background: #FFFFFF;
}

.fja3 .fja3-step-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.fja3-step-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fja3-body);
}

/* Four in a row, with an arrow centered in each 40px gap */
@media (min-width: 1024px) {
  .fja3-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }

  .fja3-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -31px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* ---------- Free plan band ---------- */
/* Navy with blue glows in two corners for depth */
.fja3-navy {
  background:
    radial-gradient(45% 75% at 100% 0%, rgba(37, 99, 235, 0.45), transparent 70%),
    radial-gradient(35% 60% at 0% 100%, rgba(37, 99, 235, 0.25), transparent 70%),
    var(--fja3-navy);
  color: #FFFFFF;
}

.fja3-free {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.fja3-free-copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fja3-navy .fja3-body-lg {
  color: #E2E8F5;
}

.fja3-eyebrow-light {
  color: #A9C1FF;
}

.fja3-plan {
  flex: 1 1 440px;
  min-width: 0;
  border: 1px solid #2A3D6B;
  border-radius: 12px;
  overflow: hidden;
}

.fja3-plan div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #1E3060;
}

.fja3-plan dt {
  color: #C7D1E6;
}

.fja3-plan dd {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.fja3-plan .fja3-plan-total {
  align-items: center;
  padding: 16px 24px;
  background: #132650;
  border-bottom: 0;
}

.fja3-plan-total dt {
  font-weight: 600;
  color: #FFFFFF;
}

.fja3-plan-total dd {
  font-family: var(--fja3-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--fja3-yellow);
}

/* ---------- Testimonials ---------- */
.fja3-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.fja3-quote {
  background: #FFFFFF;
  border: 1px solid var(--fja3-border-2);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Big opening quote mark in the heading font */
.fja3-quote::before {
  content: '\201C';
  height: 30px;
  font-family: var(--fja3-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: var(--fja3-primary);
}

.fja3-quote blockquote {
  font-size: 17px;
  line-height: 1.5;
}

.fja3-quote figcaption {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--fja3-muted-2);
}

/* Candidate photo: round, with a white ring and a thin blue outline so it reads on white and tinted cards */
.fja3-avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--fja3-tint-2);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px var(--fja3-tint);
}

.fja3-quote-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Wide screens: the first quote takes the tall left column, the other two stack beside it */
@media (min-width: 900px) {
  .fja3-quotes {
    grid-template-columns: 1.4fr 1fr;
  }

  .fja3-quote:first-child {
    grid-row: span 2;
    padding: 36px;
    background: var(--fja3-tint-2);
    border-color: var(--fja3-tint);
  }

  .fja3-quote:first-child::before {
    height: 48px;
    font-size: 104px;
  }

  .fja3-quote:first-child blockquote {
    font-family: var(--fja3-display);
    font-weight: 600;
    font-size: clamp(22px, 2.4vw, 31px);
    line-height: 1.3;
    letter-spacing: -0.01em;
  }
}

.fja3-quote-name {
  font-weight: 600;
  color: var(--fja3-ink);
}

/* ---------- Plans ---------- */
/* Intro over the cards on small screens, beside them from 1024px */
.fja3-plans-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .fja3-plans-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
    align-items: start;
    gap: 40px;
  }
}

/* Smaller heading to suit the narrow intro column */
.fja3 .fja3-h2-side {
  font-size: clamp(26px, 2.6vw, 34px);
}

/* 280px keeps the two cards side by side down to 1024px; min() lets a card shrink on the narrowest phones.
   align-items: start lets each card keep its own height, so Free doesn't stretch to match Full Service. */
.fja3-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  align-items: start;
}

.fja3-plan-card {
  background: #FFFFFF;
  border: 1px solid var(--fja3-border-2);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Full Service: blue border, tinted top and a blue glow, with its badge on the top edge */
.fja3-plan-card-featured {
  position: relative;
  border: 2px solid var(--fja3-primary);
  background: linear-gradient(180deg, var(--fja3-tint-2) 0%, #FFFFFF 60%);
  box-shadow: 0 28px 56px -32px rgba(37, 99, 235, 0.55);
}

.fja3-plan-badge {
  position: absolute;
  top: 0;
  left: 26px;
  transform: translateY(-50%);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--fja3-primary);
  border-radius: 999px;
}

.fja3-plan-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.fja3-price {
  font-family: var(--fja3-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fja3-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--fja3-muted);
}

.fja3-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--fja3-body);
  background: #E9EEF5;
  padding: 4px 10px;
  border-radius: 999px;
}

.fja3-tag-blue {
  color: var(--fja3-primary-dark);
  background: var(--fja3-tint);
}

/* Placement fee under the Full Service price, tucked close to it */
.fja3-plan-fee {
  margin-top: -6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fja3-muted);
}

/* "Everything in Free, plus:" over the Full Service list, tucked close to it */
.fja3-plan-lead {
  margin-bottom: -4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fja3-ink);
}

/* ---------- Book a call ---------- */
/* One tinted panel: calendar icon, copy, then the button. They wrap into a column on phones.
   No padding of its own: the testimonials above and the FAQ below already give it the usual gap.
   Paired with .fja3-section so the phone padding further down can't put it back. */
.fja3-section.fja3-call {
  padding-top: 0;
  padding-bottom: 0;
}

.fja3-call-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--fja3-tint-3);
  border: 1px solid var(--fja3-tint);
  border-radius: 16px;
}

.fja3-call-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--fja3-primary);
  background: #FFFFFF;
  box-shadow: 0 10px 24px -14px rgba(37, 99, 235, 0.6);
}

.fja3-call-copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fja3-call-box .fja3-btn {
  flex: none;
}

/* ---------- FAQ ---------- */
/* Two columns side by side, one under the other below about 890px */
.fja3-faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 12px 24px;
  align-items: start;
}

.fja3-faq-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each question is its own bordered box; the open one picks up a blue edge */
.fja3-faq details {
  background: #FFFFFF;
  border: 1px solid var(--fja3-border-2);
  border-radius: 10px;
  box-shadow: 0 6px 16px -14px rgba(11, 27, 63, 0.4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fja3-faq details[open] {
  border-color: #C7D7FB;
  box-shadow: 0 14px 28px -20px rgba(37, 99, 235, 0.5);
}

.fja3-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.fja3-faq summary::-webkit-details-marker {
  display: none;
}

/* Chevron flips up when the answer is open */
.fja3-chevron {
  flex: none;
  transition: transform 0.2s ease;
}

.fja3-faq details[open] .fja3-chevron {
  transform: rotate(180deg);
  color: var(--fja3-primary);
}

.fja3-faq details p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 15px;
  color: var(--fja3-muted);
}

/* ---------- Sign-up CTA (after the steps) ---------- */
/* No top padding: the steps section above already ends with its own */
.fja3-cta {
  padding: 0 24px 56px;
}

/* Brand blue, with a light glow top right and the hero's dot texture, in white */
.fja3-cta-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1152px;
  margin: 0 auto;
  color: #FFFFFF;
  background:
    radial-gradient(50% 90% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(45% 90% at 0% 100%, rgba(11, 27, 63, 0.35), transparent 70%),
    var(--fja3-primary);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.fja3-cta-copy {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fja3-cta-copy p {
  font-size: 19px;
  color: #E3EBFF;
}

.fja3-cta-box::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.6px);
}

.fja3 .fja3-h2-cta {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* ---------- Google prompt (Bootstrap modal, restyled) ---------- */
.fja3-prompt {
  padding: 24px;
  gap: 12px;
  border: 1px solid var(--fja3-border-2);
  border-radius: 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fja3-ink);
}

.fja3-prompt p,
.fja3-prompt label,
.fja3-prompt fieldset {
  margin: 0;
}

.fja3-prompt .fja3-h-card {
  margin: 0 0 4px;
  font-family: var(--fja3-display);
  color: var(--fja3-ink);
}

.fja3-prompt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.fja3-close {
  flex: none;
  width: 44px;
  height: 44px;
  margin: -10px -10px 0 0;
  font-size: 28px;
  line-height: 1;
  color: var(--fja3-muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.fja3-close:hover {
  color: var(--fja3-ink);
}

/* The modal sits outside .fja3, so its buttons need the same look */
.fja3-prompt .fja3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

.fja3-prompt .fja3-btn-outline {
  color: var(--fja3-ink);
  background: #FFFFFF;
  border: 1.5px solid var(--fja3-input-border);
}

.fja3-prompt .fja3-btn-outline:hover {
  border-color: var(--fja3-primary);
}

.fja3-prompt .fja3-btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .fja3-facts {
    display: none;
  }

  .fja3-hero {
    padding-top: 112px;
  }

  .fja3-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .fja3-cta {
    padding-bottom: 40px;
  }

  /* Full width with slimmer sides, so "Start auto applying" stays on one line on 360px phones */
  .fja3 .fja3-cta-box .fja3-btn {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ---------- Motion ---------- */
/* Hero rises in on load. CSS only, so the form shows even if a script fails. --fja3-delay staggers it. */
@keyframes fja3-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.fja3-rise {
  animation: fja3-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--fja3-delay, 0s);
}

/* Buttons lift a little on hover and settle when pressed */
.fja3 .fja3-btn,
.fja3-prompt .fja3-btn {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fja3 .fja3-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.fja3 .fja3-btn-primary:hover:not(:disabled) {
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.6);
}

.fja3 .fja3-btn:active,
.fja3-prompt .fja3-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Fields ease into their focus and error colors */
.fja3 .fja3-input,
.fja3-prompt .fja3-input,
.fja3-money,
.fja3-upload {
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.fja3-upload:hover {
  background: var(--fja3-tint-3);
}

/* Errors and the server alert fade in rather than pop */
@keyframes fja3-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.fja3-error:not([hidden]),
.fja3-alert:not([hidden]),
.fja3-faq details[open] > p {
  animation: fja3-fade-in 0.25s ease both;
}

.fja3-faq summary {
  transition: color 0.15s ease;
}

.fja3-faq summary:hover {
  color: var(--fja3-primary-dark);
}

/* Visitors who ask for less motion get the page without any of it, AOS reveals included */
@media (prefers-reduced-motion: reduce) {
  .fja3 *,
  .fja3-prompt * {
    animation: none !important;
    transition: none !important;
  }

  .fja3 [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  .fja3 .fja3-btn:hover:not(:disabled),
  .fja3 .fja3-btn:hover .fja3-arrow {
    transform: none;
  }
}
