/* Installments page v2 (2026-11-01): homepage-v2 identity (dark + gold), the
   request form right after the hero, optional fields folded away. Light on
   phones: no backdrop blur, no looping animations. */
.fx-page {
  --fx-dark: #171715;
  --fx-gold: #c9a15d;
  --fx-gold-soft: #f0d9a6;
  --fx-ink: #1b1813;
  --fx-line: rgb(27 24 19 / 10%);
  --fx-radius: 1.15rem;
  display: grid;
  gap: 1.25rem;
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
  padding-block: 1rem 7rem;
}

/* Hero */
.fx-page .fx-hero {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.35rem 1.4rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(201 161 93 / 26%), transparent 60%),
    linear-gradient(160deg, #22201c, var(--fx-dark) 70%);
  color: #fff;
  box-shadow: 0 18px 40px -22px rgb(0 0 0 / 55%);
}
.fx-page .fx-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -3rem;
  bottom: -3rem;
  width: 11rem;
  aspect-ratio: 1;
  border: 1px solid rgb(201 161 93 / 30%);
  border-radius: 50%;
  pointer-events: none;
}
.fx-page .fx-kicker {
  display: inline-block;
  color: var(--fx-gold);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.fx-page .fx-hero h1 {
  margin: .35rem 0 .6rem;
  font-size: clamp(1.75rem, 7.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  background: linear-gradient(100deg, #fff 35%, var(--fx-gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fx-page .fx-lead { margin: 0; color: rgb(255 255 255 / 78%); font-size: .98rem; line-height: 1.8; }
.fx-page .fx-perks { display: grid; gap: .45rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.fx-page .fx-perks li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 700; }
.fx-page .fx-perks svg {
  flex: none;
  width: 1.55rem;
  height: 1.55rem;
  padding: .3rem;
  border-radius: 50%;
  background: rgb(201 161 93 / 18%);
  fill: none;
  stroke: var(--fx-gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fx-page .fx-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.fx-page .fx-cta,
.fx-page .fx-wa {
  display: inline-flex;
  flex: 1 1 10rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3.1rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.fx-page .fx-cta { background: var(--fx-gold); color: var(--fx-ink); }
.fx-page .fx-cta:hover { background: #d8b36f; }
.fx-page .fx-wa { border: 1px solid rgb(255 255 255 / 28%); color: #fff; }
.fx-page .fx-wa svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.fx-page .fx-cta:active,
.fx-page .fx-wa:active { transform: scale(.98); }
.fx-page .fx-partners {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
}
.fx-page .fx-partners span {
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 85%);
  font-size: .78rem;
  font-weight: 700;
}

/* Steps strip */
.fx-page .fx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fx-page .fx-steps li {
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: .8rem .4rem;
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  background: #fff;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
}
.fx-page .fx-steps b {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--fx-dark);
  color: var(--fx-gold);
  font-size: .85rem;
}

/* Form card */
.fx-page .fx-form {
  margin: 0;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--fx-line);
  border-top: 3px solid var(--fx-gold);
  border-radius: var(--fx-radius);
  background: #fff;
  box-shadow: 0 14px 34px -26px rgb(0 0 0 / 40%);
  scroll-margin-top: 1rem;
}
.fx-page .fx-form-head h2 { margin: .25rem 0 .35rem; font-size: 1.35rem; font-weight: 900; }
.fx-page .fx-form-head p { margin: 0 0 1rem; color: #6b655b; font-size: .9rem; }
.fx-page .fx-more {
  margin-top: 1rem;
  border: 1px dashed rgb(201 161 93 / 55%);
  border-radius: var(--fx-radius);
  background: #fbf8f2;
}
.fx-page .fx-more > summary,
.fx-page .fx-term > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .95rem 1rem;
  cursor: pointer;
  list-style: none;
}
.fx-page .fx-more > summary::-webkit-details-marker,
.fx-page .fx-term > summary::-webkit-details-marker { display: none; }
.fx-page .fx-more > summary span { display: grid; gap: .15rem; }
.fx-page .fx-more > summary strong { font-size: .95rem; }
.fx-page .fx-more > summary small { color: #7a7368; font-size: .78rem; }
.fx-page .fx-more > summary i,
.fx-page .fx-term > summary i {
  flex: none;
  width: .6rem;
  height: .6rem;
  border-inline-end: 2px solid var(--fx-gold);
  border-bottom: 2px solid var(--fx-gold);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.fx-page details[open] > summary i { transform: rotate(-135deg); }
.fx-page .fx-more[open] { padding-bottom: 1rem; }
.fx-page .fx-more > :not(summary) { margin-inline: 1rem; }
.fx-page .fx-form .finance-form-footer { margin-top: 1.1rem; }
.fx-page .fx-form .finance-submit {
  width: 100%;
  min-height: 3.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--fx-dark);
  color: var(--fx-gold-soft);
  font-size: 1.02rem;
  font-weight: 900;
}

/* Terms */
.fx-page .fx-terms { display: grid; gap: .8rem; }
.fx-page .fx-terms-head h2 { margin: .2rem 0 0; font-size: 1.2rem; font-weight: 900; }
.fx-page .fx-terms-list { display: grid; gap: .5rem; }
.fx-page .fx-term {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  background: #fff;
}
.fx-page .fx-term > summary span { font-weight: 800; }
.fx-page .fx-term ul { margin: 0; padding: 0 1.1rem 1rem 1.1rem; padding-inline-start: 2.2rem; line-height: 1.9; font-size: .9rem; }
.fx-page .fx-note { margin: 0; color: #7a7368; font-size: .78rem; line-height: 1.8; }

/* The old source-car card sits inside the new column. */
.fx-page .finance-source-car { margin: 0; }

@media (min-width: 900px) {
  .fx-page { width: min(100% - 3rem, 60rem); padding-bottom: 4rem; }
  .fx-page .fx-hero { padding: 2.6rem 2.4rem 2rem; }
  .fx-page .fx-perks { grid-template-columns: 1fr 1fr; }
  .fx-page .fx-actions { max-width: 30rem; }
  .fx-page .fx-form { padding: 2rem; }
}

/* Hero v1.1 (2026-11-01): compact card, gold "24 hours" seal, speed lines.
   Everything static except a one-time seal pop (transform/opacity only). */
.fx-page .fx-hero {
  padding: 1.15rem 1.15rem 1.05rem;
  border-radius: 1.3rem;
  background:
    repeating-linear-gradient(115deg, transparent 0 22px, rgb(201 161 93 / 6%) 22px 23px),
    radial-gradient(90% 120% at 0% 0%, rgb(201 161 93 / 22%), transparent 55%),
    linear-gradient(160deg, #24211c, var(--fx-dark) 70%);
}
.fx-page .fx-hero::after { display: none; }
.fx-page .fx-hero-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.fx-page .fx-hero h1 { margin: .15rem 0 0; font-size: clamp(1.45rem, 6.4vw, 2.2rem); line-height: 1.3; }
.fx-page .fx-seal {
  position: relative;
  flex: none;
  display: grid;
  place-content: center;
  justify-items: center;
  width: 4.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #f4e2b8, var(--fx-gold) 55%, #8f6a2c);
  color: var(--fx-ink);
  box-shadow: 0 0 0 3px rgb(201 161 93 / 25%), 0 10px 22px -10px rgb(0 0 0 / 70%);
  transform: rotate(-8deg);
}
.fx-page .fx-seal::before {
  content: "";
  position: absolute;
  inset: .3rem;
  border: 1.5px dashed rgb(27 24 19 / 45%);
  border-radius: 50%;
}
.fx-page .fx-seal b { font-size: 1.65rem; font-weight: 900; line-height: 1; }
.fx-page .fx-seal small { font-size: .68rem; font-weight: 800; }
.fx-page .fx-fast {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: .8rem 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: .84rem;
  font-weight: 700;
}
.fx-page .fx-fast svg { flex: none; width: 1rem; height: 1rem; fill: var(--fx-gold); }
.fx-page .fx-actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: .5rem; margin-top: .95rem; }
.fx-page .fx-cta,
.fx-page .fx-wa { min-height: 2.85rem; padding: 0 .8rem; font-size: .95rem; }
.fx-page .fx-actions > :only-child { grid-column: 1 / -1; }
@media (prefers-reduced-motion: no-preference) {
  .fx-page .fx-seal { animation: fx-seal-in .7s cubic-bezier(.3, 1.5, .5, 1) .15s both; }
}
@keyframes fx-seal-in {
  from { opacity: 0; transform: rotate(-30deg) scale(.6); }
  to { opacity: 1; transform: rotate(-8deg) scale(1); }
}
@media (min-width: 900px) {
  .fx-page .fx-hero { padding: 1.8rem 2rem 1.6rem; }
  .fx-page .fx-seal { width: 5.6rem; }
  .fx-page .fx-seal b { font-size: 2rem; }
}
