*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --header-bg: #121317;
  --btn-gold: #ebcc9d;
  --btn-gold-dk: #d4b580;
  --btn-text: #5a3e1b;
  --navy: #212d52;
  --white: #ffffff;
  --bg: #eef0f4;
  --gray-100: #f5f5f7;
  --gray-200: #e4e5ec;
  --gray-300: #d0d0d8;
  --gray-400: #9a9bab;
  --gray-500: #d9d9d9;
  --gray-600: #5a5b6a;
  --gray-900: #18192a;
  --danger: #e24b4a;
  --success: #2d8c4e;
  --success-bg: #f0faf4;
  --success-border: #a8d5b7;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-xs: 2px;
  --container: 42rem;
}

/* UTILITIES */
.rounded-sm {
  border-radius: var(--radius-sm);
}
.rounded-xs {
  border-radius: var(--radius-xs);
}

body {
  font-family: "canada-type-gibson", sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--gray-900);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Skip link visible on focus for keyboard users */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: top 0.2s ease;
  z-index: 1000;
}
.skip-link:focus {
  top: 1rem;
}

/* PAGE WRAP */
.page-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding-bottom: 2.5rem;
}

/* TOP BAR */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 8px;
  padding-top: 2.5rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-900);
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: color 0.2s;
  line-height: 1;
}
.back-btn:hover {
  color: var(--navy);
}
.back-btn.hidden {
  visibility: hidden;
  pointer-events: none;
}

.pct-text {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--gray-900);
}

.adv-disc-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "gibson", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--gray-900);
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s;
}
.adv-disc-btn:hover {
  color: var(--navy);
}

/* PROGRESS BAR */
.progress-track {
  width: 100%;
  height: 8px;
  background: #dbdbdb;
  border-radius: 2.5rem;
}
.progress-fill {
  height: 100%;
  background: var(--gray-900);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  border-radius: var(--radius);
}

/* MAIN */
main {
  flex: 1;
  padding: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CARD */
.card {
  width: 100%;
  overflow: hidden;
}

/* CARD HEADER */
.card-header {
  background: var(--header-bg);
  padding: 1.25rem 1.5rem;
  border-start-start-radius: var(--radius);
  display: flex;
  justify-content: center;
  align-items: var(--radius);
  border-start-end-radius: var(--radius);
}
.card-header img {
  height: 2.8125rem;
}

/* CARD BODY */
.card-body {
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 0.25rem 1.5rem rgba(0, 0, 0, 0.09);
  margin-bottom: 1.5625rem;
  background: var(--white);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}

/* STEP VISIBILITY */
.step {
  display: none;
  width: 100%;
}
.step.active {
  display: block;
  animation: fadeUp 0.28s ease both;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* STEP 1 – LANDING */
.landing-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.2;
}
.landing-sub {
  font-size: 1.125rem;
  font-weight: 400;
  color: #121317;
  text-align: center;
  margin-bottom: 1.125rem;
}

/* TrustPilot inline row */

.tp-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 1.5625rem;
  flex-wrap: wrap;
  margin-top: 1.5625rem;
}
.tp-inline-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-900);
}
.tp-stars-row {
  display: flex;
  gap: 2px;
}
.tp-s {
  width: 1.1875rem;
  height: 1.1875rem;
  background: #00b67a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-logo-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #191919;
}

/* Feature icons */
.feature-icons {
  display: flex;
  justify-content: center;
  gap: 3.75rem;
  margin-bottom: 1.875rem;
  margin-top: 1.875rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 5.625rem;
}
.feature-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--gray-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.feature-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-400);
  text-align: center;
}

/* CTA BUTTON */
.btn-cta {
  width: 100%;
  height: 4.0625rem;
  background: var(--btn-gold);
  color: var(--gray-900);
  border: none;
  border-radius: var(--radius);
  font-family: "gibson", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  margin-bottom: 0.875rem;
}
.btn-cta:hover {
  background: var(--btn-gold-dk);
}
.btn-cta:active {
  transform: scale(0.99);
}

/* DISCLAIMER */
.disclaimer {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-400);
  line-height: 1.2;
}
.disclaimer a {
  color: inherit;
  text-decoration: underline;
}

/* TRUSTPILOT – step 1 bottom */
.tp-widget-wrap {
  padding: 1.25rem;
}
.tp-widget-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tp-widget-score {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
}
.tp-widget-score strong {
  color: var(--gray-900);
}
.tp-underline {
  text-decoration: underline;
  color: var(--gray-900);
}

/* TRUSTPILOT – step 3+ footer */
.tp-footer-widget {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tp-footer-score {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
}
.tp-footer-score strong {
  color: var(--gray-900);
}

.footer-disclaimer a {
  color: var(--gray-400);
  text-decoration: none;
}

/* Q STEP TITLES */
.q-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.3;
}
.q-sub {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 1.375rem;
  line-height: 1.5;
}

/* FORM FIELDS */
.field-wrap {
  margin-bottom: 1rem;
}
label.field-label {
  display: block;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 6px;
}
label.field-label .req {
  color: var(--danger);
  margin-left: 2px;
}

.field-input {
  width: 100%;
  height: 3rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0 0.875rem;
  font-family: "gibson", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field-input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}
.field-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(33, 45, 82, 0.1);
}
.field-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(226, 75, 74, 0.1);
}

.field-error {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--danger);
  margin-top: 5px;
  display: none;
}
.field-error.show {
  display: block;
}

/* select arrow */
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 0.8125rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gray-400);
  pointer-events: none;
}
.select-wrap .field-input {
  padding-right: 2rem;
  cursor: pointer;
}

/* DOB row */
.dob-row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 0.9fr;
  gap: 10px;
}

/* Phone */
.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  height: 3rem;
  overflow: hidden;
}
.phone-input-wrap:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(33, 45, 82, 0.1);
}
.phone-input-wrap.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(226, 75, 74, 0.1);
}
.phone-flag {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  flex-shrink: 0;
}
.phone-flag-emoji {
  align-self: flex-end;
}
.phone-flag img {
  aspect-ratio: 20/15;
}
.phone-code {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--gray-600);
}
.phone-divider {
  display: block;
  width: 1px;
  height: 1.375rem;
  background: var(--gray-300);
  margin-left: 6px;
}
.phone-actual {
  flex: 1;
  border: none;
  outline: none;
  font-family: "gibson", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-900);
  padding: 0 0.75rem;
  background: transparent;
  height: 100%;
}
.phone-actual::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

/* TCPA */
.tcpa-text {
  font-size: 0.71875rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: 0.75rem;
}
.tcpa-text a {
  color: var(--navy);
  text-decoration: underline;
}

/* TRUST BADGES */
.trust-badges {
  display: flex;
  justify-content: space-around;
  gap: 0.9375rem;
  margin-bottom: 0.625rem;
}
.trust-badge {
  padding: 1.25rem 8px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
}
.trust-badge:last-child {
  border-right: none;
}
.trust-badge-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.trust-badge-sub {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--gray-600);
}

/* THANK YOU */
.thankyou-body {
  text-align: center;
  padding: 2rem 1.75rem 1.75rem;
}
.ty-check-circle {
  width: 4.25rem;
  height: 4.25rem;
  border: 2.5px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.125rem;
  background: rgba(45, 140, 78, 0.06);
}
.ty-title {
  font-size: 1.6875rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.ty-desc {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.ty-next-box {
  background: var(--success-bg);
  border: 1.5px solid var(--success-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  text-align: left;
}
.ty-next-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.875rem;
  text-align: center;
}
.ty-next-list {
  list-style: none;
}
.ty-next-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--success-border);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--gray-900);
  line-height: 1.5;
}
.ty-next-item:first-child {
  border-top: none;
  padding-top: 0;
}
.ty-check-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: rgba(45, 140, 78, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* FOOTER */
footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 2.1875rem 1rem;
}
.footer-inner {
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0.75rem;
  margin-bottom: 0.875rem;
}
.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--navy);
}
.footer-sep {
  font-size: 0.8125rem;
  color: var(--gray-300);
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0.875rem;
}
.social-icon {
  width: 2rem;
  height: 2rem;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}
.social-icon:hover {
  background: #1a2441;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin-bottom: 0.875rem;
}
.footer-legal-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover {
  color: var(--navy);
}
.footer-disclaimer {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-400);
}
.bbb-badge {
  margin-top: 1.5rem;
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5rem 1rem;
  overflow-y: auto;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 37.5rem;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.25);
  position: relative;
  margin: auto;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray-900);
}
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--gray-900);
}
.modal-body {
  padding: 1.25rem 1.5rem 1.75rem;
}
.modal-body p {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.modal-body p:last-child {
  margin-bottom: 0;
}

/* ── LIST-STYLE RADIO OPTIONS ── */
.radio-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.radio-list-option {
  position: relative;
}
.radio-list-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-list-label {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  background: var(--white);
  transition:
    border-color 0.15s,
    background 0.15s;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.radio-list-label:hover {
  border-color: var(--gray-300);
}
.radio-list-option input[type="radio"]:checked + .radio-list-label {
  border-color: var(--btn-gold);
  background: #fdf9f0;
  box-shadow: 0 0 0 1px var(--btn-gold);
}
.radio-list-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radio-list-option input[type="radio"]:checked + .radio-list-label .radio-list-icon {
}
.radio-list-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.radio-list-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-900);
  line-height: 1.3;
  display: block;
}
.radio-list-sub {
  font-size: 0.8125rem;
  color: var(--gray-400);
  font-weight: 400;
  line-height: 1.3;
  display: block;
}

/* ── RANGE SLIDER WITH +/- BUTTONS ── */
.slider-wrap {
  margin-bottom: 1.25rem;
}
.slider-amount-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.slider-btn {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  color: var(--gray-900);
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
  line-height: 1;
  padding-bottom: 2px;
}
.slider-btn:hover {
  background: var(--gray-300);
}
.slider-btn:active {
  transform: scale(0.94);
}
.slider-amount {
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--gray-900);
  text-align: center;
  line-height: 1.1;
  min-width: 9rem;
  letter-spacing: -1px;
}
.slider-amount span {
  font-size: 1.75rem;
  font-weight: 500;
  vertical-align: top;
  margin-top: 0.3rem;
  display: inline-block;
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--gray-400);
  margin-bottom: 0.625rem;
  margin-top: 0.375rem;
}
input[type="range"].styled-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  background: var(--gray-200);
}
input[type="range"].styled-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--btn-gold);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.15s;
}
input[type="range"].styled-range::-webkit-slider-thumb:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
input[type="range"].styled-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--btn-gold);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.slider-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-top: 1rem;
}

/* ── ADDRESS FIELDS ── */
.field-row {
  display: grid;
  grid-template-columns: 0.6fr 0.8fr;
  gap: 0.75rem;
}
.field-row-3 {
  display: grid;
  grid-template-columns: 1fr 0.6fr 0.8fr;
  gap: 0.75rem;
}

/* ── RADIO ERROR ── */
.radio-error {
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: -0.375rem;
  margin-bottom: 0.75rem;
  display: none;
}
.radio-error.show {
  display: block;
}

.radio-error.show {
  display: block;
}

a.tele {
  color: #439788 !important;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .page-wrap {
    padding-inline: 0.9375rem;
  }
}
@media (max-width: 480px) {
  .card-body {
    padding: 1.375rem 1.125rem 1.25rem;
  }
  .thankyou-body {
    padding: 1.625rem 1.125rem 1.375rem;
  }
  .landing-title {
    font-size: 1.375rem;
  }
  .q-title {
    font-size: 1.125rem;
  }
  .feature-icons {
    gap: 0.75rem;
  }
  .dob-row {
    grid-template-columns: 1fr 1.5fr 0.9fr;
    gap: 8px;
  }
  .trust-badge-title {
    font-size: 0.6875rem;
  }
  .trust-badge-sub {
    font-size: 0.625rem;
  }
  .modal-body {
    padding: 1rem 1.125rem 1.375rem;
  }
}
