.demo-fit-page {
  --demo-fit-orange: #f97316;
  --demo-fit-ink: #0f172a;
  --demo-fit-muted: #64748b;
}

.demo-fit-hero {
  align-items: start;
}

.demo-fit-hero-note {
  margin-top: 1.25rem;
  max-width: 42rem;
  border-left: 3px solid rgba(249, 115, 22, 0.65);
  padding-left: 1rem;
  color: #475569;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.65;
}

.demo-fit-panel-links {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.demo-fit-panel-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  font-size: 0.86rem;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.demo-fit-panel-links a:hover,
.demo-fit-panel-links a:focus-visible {
  border-color: rgba(249, 115, 22, 0.55);
  color: #c2410c;
  transform: translateY(-1px);
  outline: none;
}

.demo-fit-form {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.demo-fit-section {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.055);
}

.demo-fit-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.demo-fit-step {
  display: grid;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.75rem;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.8rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px #fed7aa;
}

.demo-fit-section-heading h2 {
  color: var(--demo-fit-ink);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.demo-fit-section-heading p {
  margin-top: 0.3rem;
  color: var(--demo-fit-muted);
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.55;
}

.demo-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.demo-fit-field--wide {
  grid-column: 1 / -1;
}

.demo-fit-label,
.demo-fit-legend {
  display: block;
  margin-bottom: 0.45rem;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.45;
}

.demo-fit-label small,
.demo-fit-legend small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 650;
}

.demo-fit-required {
  color: #dc2626;
}

.demo-fit-help {
  margin-top: 0.42rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
}

.demo-fit-page .demo-fit-control {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.72rem 0.9rem;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.demo-fit-page textarea.demo-fit-control {
  min-height: 7rem;
  resize: vertical;
}

.demo-fit-page .demo-fit-control:focus {
  border-color: var(--demo-fit-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
  outline: none;
}

.demo-fit-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.demo-fit-choice-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-fit-choice {
  position: relative;
  display: block;
  min-height: 100%;
  cursor: pointer;
}

.demo-fit-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.demo-fit-choice span {
  display: flex;
  min-height: 3.35rem;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid #dbe2ea;
  border-radius: 0.85rem;
  background: #f8fafc;
  padding: 0.75rem 0.85rem;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.demo-fit-choice span::before {
  content: "";
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid #94a3b8;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}

.demo-fit-choice--check span::before {
  border-radius: 0.3rem;
}

.demo-fit-choice:hover span {
  border-color: #fdba74;
  background: #fffaf5;
}

.demo-fit-choice input:focus-visible + span {
  border-color: var(--demo-fit-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
  outline: none;
}

.demo-fit-choice input:checked + span {
  border-color: #fb923c;
  background: #fff7ed;
  color: #9a3412;
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.18);
}

.demo-fit-choice input:checked + span::before {
  border-color: var(--demo-fit-orange);
  background: var(--demo-fit-orange);
}

.demo-fit-choice--check input:checked + span::before {
  background-color: var(--demo-fit-orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m5 10 3 3 7-7'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

.demo-fit-consent > span {
  min-height: auto;
  align-items: flex-start;
  background: #fff;
  line-height: 1.55;
}

.demo-fit-consent > span::before {
  margin-top: 0.12rem;
}

.demo-fit-consent a {
  color: #c2410c;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.demo-fit-consent a:hover,
.demo-fit-consent a:focus-visible {
  color: #9a3412;
}

.demo-fit-country-button {
  min-height: 3rem;
}

.demo-fit-country-menu {
  z-index: 80;
}

.demo-fit-error {
  margin-top: 0.5rem;
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 750;
}

.demo-fit-submit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  border-radius: 1.25rem;
  background: #0f172a;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  color: #fff;
  box-shadow: 0 22px 65px rgba(15, 23, 42, 0.2);
}

.demo-fit-page .fiq-redesign-section .demo-fit-submit-card h2 {
  color: #fff !important;
  font-size: 1.18rem;
  font-weight: 900;
}

.demo-fit-submit-card p {
  margin-top: 0.32rem;
  max-width: 50rem;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.55;
}

.demo-fit-submit {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: var(--demo-fit-orange);
  padding: 0.8rem 1.4rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  white-space: nowrap;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.demo-fit-submit:hover,
.demo-fit-submit:focus-visible {
  background: #ea580c;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.28);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 900px) {
  .demo-fit-choice-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .demo-fit-grid,
  .demo-fit-choice-grid,
  .demo-fit-choice-grid--three,
  .demo-fit-submit-card {
    grid-template-columns: 1fr;
  }

  .demo-fit-submit {
    width: 100%;
  }
}
