/* ==========================================================================
   Design Tokens — imported by components so Webflow bundles them.
   This is the single source of truth for colors, fonts, and typography
   utility classes used inside code components.
   ========================================================================== */

/* ─── Font Faces ─── */

/* Houschka Pro */
@font-face {
  font-family: 'Houschka Pro';
  src: url(https://code-components.website-files.com/69b90cb1bcbc73ba796e9ccd%2Fmodule%2F902456f5493d113a03ff-HouschkaPro-Light.ttf) format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Houschka Pro';
  src: url(https://code-components.website-files.com/69b90cb1bcbc73ba796e9ccd%2Fmodule%2Fb67d7ca3dea6e7a83642-HouschkaPro-Medium.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Houschka Pro';
  src: url(https://code-components.website-files.com/69b90cb1bcbc73ba796e9ccd%2Fmodule%2F145007b7a454fd6af7a7-HouschkaPro-DemiBold.ttf) format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Houschka Pro';
  src: url(https://code-components.website-files.com/69b90cb1bcbc73ba796e9ccd%2Fmodule%2Fcb328a4f9e2492c0835f-HouschkaPro-Bold.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Ubuntu */
@font-face {
  font-family: 'Ubuntu';
  src: url(https://code-components.website-files.com/69b90cb1bcbc73ba796e9ccd%2Fmodule%2F0dd2d5986e2731a16ee7-Ubuntu-Light.ttf) format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url(https://code-components.website-files.com/69b90cb1bcbc73ba796e9ccd%2Fmodule%2Fe37c5546eb1a6efc4818-Ubuntu-Medium.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url(https://code-components.website-files.com/69b90cb1bcbc73ba796e9ccd%2Fmodule%2Ffec2d0f1431a6114a6ce-Ubuntu-Bold.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Inter Display (variable font) */
@font-face {
  font-family: 'Inter Display';
  src: url(https://code-components.website-files.com/69b90cb1bcbc73ba796e9ccd%2Fmodule%2Fe05c5f3d1fa6a3893d84-Inter-VariableFont_opsz_wght.ttf) format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── CSS Custom Properties (Design Tokens) ─── */

:host {
  /* Primary colors */
  --color-primary-100: #3D8EBF;
  --color-primary-200: #0A5B8C;
  --color-primary-300: #003D66;
  --color-primary-400: #002E4D;
  --color-primary-500: #01090E;

  /* Secondary colors */
  --color-secondary-100: #F6DFDF;
  --color-secondary-200: #E8A9A9;
  --color-secondary-300: #D66868;
  --color-secondary-400: #C52727;
  --color-secondary-500: #8A1B1B;
  --color-secondary-600: #4F1010;
  --color-secondary-700: #140404;

  /* Neutral colors */
  --color-neutral-100: #FFFFFF;
  --color-neutral-150: #E6EFF3;
  --color-neutral-200: #CEDEE8;
  --color-neutral-300: #8FADC1;
  --color-neutral-400: #546B7A;
  --color-neutral-500: #475D6B;

  /* Font families */
  --font-heading: 'Ubuntu', sans-serif;
  --font-heading-alt: 'Houschka Pro', sans-serif;
  --font-body: 'Inter Display', sans-serif;
}

/* ─── Typography Utility Classes ─── */

/* H1 — 60/64 */
.heading-h1-400 { font-family: 'Ubuntu', sans-serif; font-size: 60px; font-weight: 300; line-height: 64px; letter-spacing: -2.4px; }
.heading-h1-500 { font-family: 'Ubuntu', sans-serif; font-size: 60px; font-weight: 500; line-height: 64px; letter-spacing: -2.4px; }
.heading-h1-600 { font-family: 'Houschka Pro', sans-serif; font-size: 60px; font-weight: 600; line-height: 64px; letter-spacing: -2.4px; }
.heading-h1-700 { font-family: 'Houschka Pro', sans-serif; font-size: 60px; font-weight: 700; line-height: 64px; letter-spacing: -2.4px; }

/* H2 — 52/52 */
.heading-h2-400 { font-family: 'Ubuntu', sans-serif; font-size: 52px; font-weight: 300; line-height: 52px; letter-spacing: -2.08px; }
.heading-h2-500 { font-family: 'Ubuntu', sans-serif; font-size: 52px; font-weight: 500; line-height: 52px; letter-spacing: -2.08px; }
.heading-h2-600 { font-family: 'Houschka Pro', sans-serif; font-size: 52px; font-weight: 600; line-height: 52px; letter-spacing: -2.08px; }
.heading-h2-700 { font-family: 'Ubuntu', sans-serif; font-size: 52px; font-weight: 700; line-height: 52px; letter-spacing: -2.08px; }

/* H3 — 32/36 */
.heading-h3-400 { font-family: 'Ubuntu', sans-serif; font-size: 32px; font-weight: 300; line-height: 36px; letter-spacing: -0.96px; }
.heading-h3-500 { font-family: 'Ubuntu', sans-serif; font-size: 32px; font-weight: 500; line-height: 36px; letter-spacing: -0.96px; }
.heading-h3-600 { font-family: 'Houschka Pro', sans-serif; font-size: 32px; font-weight: 600; line-height: 36px; letter-spacing: -0.96px; }
.heading-h3-700 { font-family: 'Ubuntu', sans-serif; font-size: 32px; font-weight: 700; line-height: 36px; letter-spacing: -0.96px; }

/* H4 — 24/28 */
.heading-h4-400 { font-family: 'Ubuntu', sans-serif; font-size: 24px; font-weight: 300; line-height: 28px; letter-spacing: -0.72px; }
.heading-h4-500 { font-family: 'Ubuntu', sans-serif; font-size: 24px; font-weight: 500; line-height: 28px; letter-spacing: -0.72px; }
.heading-h4-600 { font-family: 'Houschka Pro', sans-serif; font-size: 24px; font-weight: 600; line-height: 28px; letter-spacing: -0.72px; }
.heading-h4-700 { font-family: 'Ubuntu', sans-serif; font-size: 24px; font-weight: 700; line-height: 28px; letter-spacing: -0.72px; }

/* H5 — 20/26 */
.heading-h5-400 { font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 300; line-height: 26px; letter-spacing: -0.6px; }
.heading-h5-500 { font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 500; line-height: 26px; letter-spacing: -0.6px; }
.heading-h5-600 { font-family: 'Houschka Pro', sans-serif; font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: -0.6px; }
.heading-h5-700 { font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 700; line-height: 26px; letter-spacing: -0.6px; }

/* H6 — 16/20 */
.heading-h6-400 { font-family: 'Ubuntu', sans-serif; font-size: 16px; font-weight: 300; line-height: 20px; letter-spacing: -0.48px; }
.heading-h6-500 { font-family: 'Ubuntu', sans-serif; font-size: 16px; font-weight: 500; line-height: 20px; letter-spacing: -0.48px; }
.heading-h6-600 { font-family: 'Houschka Pro', sans-serif; font-size: 16px; font-weight: 600; line-height: 20px; letter-spacing: -0.48px; }
.heading-h6-700 { font-family: 'Ubuntu', sans-serif; font-size: 16px; font-weight: 700; line-height: 20px; letter-spacing: -0.48px; }

/* Paragraphs — Inter Display */
.paragraph-xxl-400 { font-family: 'Inter Display', sans-serif; font-size: 22px; font-weight: 400; line-height: 34px; letter-spacing: 0; }
.paragraph-xxl-500 { font-family: 'Inter Display', sans-serif; font-size: 22px; font-weight: 500; line-height: 34px; letter-spacing: 0; }
.paragraph-xxl-600 { font-family: 'Inter Display', sans-serif; font-size: 22px; font-weight: 600; line-height: 34px; letter-spacing: 0; }
.paragraph-xxl-700 { font-family: 'Inter Display', sans-serif; font-size: 22px; font-weight: 700; line-height: 34px; letter-spacing: 0; }

.paragraph-xl-400 { font-family: 'Inter Display', sans-serif; font-size: 20px; font-weight: 400; line-height: 32px; letter-spacing: 0; }
.paragraph-xl-500 { font-family: 'Inter Display', sans-serif; font-size: 20px; font-weight: 500; line-height: 32px; letter-spacing: 0; }
.paragraph-xl-600 { font-family: 'Inter Display', sans-serif; font-size: 20px; font-weight: 600; line-height: 32px; letter-spacing: 0; }
.paragraph-xl-700 { font-family: 'Inter Display', sans-serif; font-size: 20px; font-weight: 700; line-height: 32px; letter-spacing: 0; }

.paragraph-lg-400 { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 400; line-height: 28px; letter-spacing: 0; }
.paragraph-lg-500 { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 500; line-height: 24px; letter-spacing: 0; }
.paragraph-lg-600 { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 600; line-height: 28px; letter-spacing: 0; }
.paragraph-lg-700 { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 700; line-height: 28px; letter-spacing: 0; }

.paragraph-md-400 { font-family: 'Inter Display', sans-serif; font-size: 16px; font-weight: 400; line-height: 26px; letter-spacing: 0; }
.paragraph-md-500 { font-family: 'Inter Display', sans-serif; font-size: 16px; font-weight: 500; line-height: 26px; letter-spacing: 0; }
.paragraph-md-600 { font-family: 'Inter Display', sans-serif; font-size: 16px; font-weight: 600; line-height: 26px; letter-spacing: 0; }
.paragraph-md-700 { font-family: 'Inter Display', sans-serif; font-size: 16px; font-weight: 700; line-height: 26px; letter-spacing: 0; }

.paragraph-sm-400 { font-family: 'Inter Display', sans-serif; font-size: 14px; font-weight: 400; line-height: 22px; letter-spacing: 0; }
.paragraph-sm-500 { font-family: 'Inter Display', sans-serif; font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: 0; }
.paragraph-sm-600 { font-family: 'Inter Display', sans-serif; font-size: 14px; font-weight: 600; line-height: 22px; letter-spacing: 0; }
.paragraph-sm-700 { font-family: 'Inter Display', sans-serif; font-size: 14px; font-weight: 700; line-height: 22px; letter-spacing: 0; }

/* Label */
.label { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 500; line-height: 24px; letter-spacing: 0; }

/* ===================================
   Shared field wrapper
   =================================== */
.wf-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
}

/* ===================================
   Label
   =================================== */
.wf-field__label {
  color: var(--color-primary-400);
  cursor: default;
}

/* Select label uses Inter Display Medium instead of Ubuntu */
.wf-field__label--select {
  font-family: var(--font-body);
}

/* Fieldset legend reset */
fieldset.wf-field > legend.wf-field__label {
  padding: 0;
  float: left;
  width: 100%;
}

/* ===================================
   Input base (text input + select)
   =================================== */
.wf-field__input {
  display: flex;
  align-items: center;
  width: 100%;
  height: 56px;
  padding: 16px 24px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 12px;
  background: var(--color-neutral-100);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--color-primary-400);
  text-transform: capitalize;
  box-sizing: border-box;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.wf-field__input::placeholder {
  color: var(--color-primary-400);
  opacity: 1;
}

/* Remove auto-capitalization (e.g. for email fields) */
.wf-field--no-capitalize .wf-field__input {
  text-transform: none;
}

.wf-field__input:hover {
  border-color: var(--color-neutral-400);
}

.wf-field__input:focus {
  border-width: 2px;
  border-color: var(--color-primary-200);
  padding: 15px 23px; /* compensate for 2px border */
}

/* ===================================
   Select wrapper (native)
   =================================== */
.wf-field__select-wrapper {
  position: relative;
  width: 100%;
}

.wf-field__input--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 52px;
  cursor: pointer;
}

.wf-field__input--select:focus {
  border-color: var(--color-primary-300);
  padding-right: 51px; /* compensate 2px border */
}

.wf-field__chevron {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-primary-400);
  transition: transform 0.2s ease;
}

.wf-field__chevron--open {
  transform: translateY(-50%) rotate(180deg);
}

/* ===================================
   Autocomplete wrapper
   =================================== */
.wf-field__ac-wrapper {
  position: relative;
  width: 100%;
}

.wf-field__ac-wrapper > .wf-field__input {
  padding-right: 52px;
}

.wf-field__ac-wrapper > .wf-field__input:focus {
  padding-right: 51px;
}

/* ===================================
   Listbox (autocomplete dropdown)
   =================================== */
.wf-field__listbox {
  position: absolute;
  z-index: 50;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: var(--color-neutral-100);
  border: 1px solid var(--color-neutral-200);
  border-radius: 12px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.08),
    0 2px 4px -2px rgba(0, 0, 0, 0.05);
}

.wf-field__option {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: var(--color-primary-400);
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.wf-field__option--active {
  background: var(--color-neutral-150);
}

.wf-field__option--empty {
  cursor: default;
  color: var(--color-neutral-400);
}

/* ===================================
   Option Grid
   =================================== */
.wf-option-grid__grid {
  display: grid;
  gap: 10px;
  width: 100%;
}

.wf-option-grid__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-secondary-400);
}

.wf-option-grid__icon svg {
  width: 100%;
  height: 100%;
}

.wf-option-grid__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 16px 24px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 12px;
  background: var(--color-neutral-100);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--color-primary-400);
  text-transform: capitalize;
  cursor: pointer;
  box-sizing: border-box;
  outline: none;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.wf-option-grid__btn:hover {
  border-color: var(--color-neutral-400);
}

.wf-option-grid__btn:focus-visible {
  border-width: 2px;
  border-color: var(--color-primary-200);
  padding: 15px 23px;
}

.wf-option-grid__btn--selected {
  border-width: 2px;
  border-color: var(--color-primary-300);
  background: var(--color-neutral-150);
  padding: 15px 23px;
}

.wf-option-grid__btn--selected:hover {
  border-color: var(--color-primary-300);
}

.wf-option-grid__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Stacked variant — icon / title / description vertically */
.wf-option-grid__btn--stacked {
  flex-direction: column;
  height: auto;
  padding: 20px 16px;
  gap: 4px;
}

.wf-option-grid__btn--stacked.wf-option-grid__btn--selected {
  padding: 19px 15px;
}

.wf-option-grid__btn--stacked.wf-option-grid__btn:focus-visible {
  padding: 19px 15px;
}

.wf-option-grid__btn--stacked .wf-option-grid__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}

.wf-option-grid__desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-neutral-400);
}

/* ===================================
   Error state
   =================================== */
.wf-field--error .wf-field__input,
.wf-field--error .wf-option-grid__btn {
  border-color: var(--color-secondary-400);
}

.wf-field--error .wf-field__input:focus {
  border-color: var(--color-secondary-400);
}

.wf-field__error {
  color: var(--color-secondary-400);
}

/* ===================================
   Helper text
   =================================== */
.wf-field__helper {
  color: var(--color-neutral-400);
}

/* ===================================
   Slider + Input composite
   =================================== */
.wf-slider {
  gap: 12px;
}

.wf-slider--disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ─── Text input row ─── */
.wf-slider__input-row {
  width: 100%;
}

.wf-slider__text-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.wf-slider__text-wrap--prefix .wf-slider__text {
  padding-left: 44px;
}

.wf-slider__text-wrap--prefix .wf-slider__text:focus {
  padding-left: 43px;
}

.wf-slider__prefix {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-neutral-400);
  pointer-events: none;
  z-index: 1;
}

.wf-slider__text {
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

.wf-slider__suffix {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-neutral-400);
  pointer-events: none;
  white-space: nowrap;
}

/* ─── Range track ─── */
.wf-slider__track-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.wf-slider__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--color-primary-200) 0%,
    var(--color-primary-200) var(--slider-pct, 0%),
    var(--color-neutral-200) var(--slider-pct, 0%),
    var(--color-neutral-200) 100%
  );
  transition: background 0.1s ease;
}

/* ─── Webkit thumb ─── */
.wf-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary-200);
  border: 4px solid var(--color-neutral-100);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.wf-slider__range::-webkit-slider-thumb:hover {
  background: var(--color-primary-300);
  transform: scale(1.1);
}

.wf-slider__range:focus-visible::-webkit-slider-thumb {
  background: var(--color-primary-300);
  box-shadow:
    0 0 0 4px rgba(10, 91, 140, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.15);
}

.wf-slider__range:active::-webkit-slider-thumb {
  background: var(--color-primary-400);
  transform: scale(1.15);
}

/* ─── Firefox thumb ─── */
.wf-slider__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary-200);
  border: 4px solid var(--color-neutral-100);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.wf-slider__range::-moz-range-thumb:hover {
  background: var(--color-primary-300);
}

.wf-slider__range:focus-visible::-moz-range-thumb {
  background: var(--color-primary-300);
  box-shadow:
    0 0 0 4px rgba(10, 91, 140, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Firefox track */
.wf-slider__range::-moz-range-track {
  height: 8px;
  border-radius: 100px;
  background: var(--color-neutral-200);
}

.wf-slider__range::-moz-range-progress {
  height: 8px;
  border-radius: 100px;
  background: var(--color-primary-200);
}

/* ─── Min / Max labels ─── */
.wf-slider__range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--color-neutral-400);
}

/* ─── Error state override ─── */
.wf-field--error .wf-slider__range {
  background: linear-gradient(
    to right,
    var(--color-secondary-400) 0%,
    var(--color-secondary-400) var(--slider-pct, 0%),
    var(--color-neutral-200) var(--slider-pct, 0%),
    var(--color-neutral-200) 100%
  );
}

.wf-field--error .wf-slider__range::-webkit-slider-thumb {
  background: var(--color-secondary-400);
}

.wf-field--error .wf-slider__range::-moz-range-thumb {
  background: var(--color-secondary-400);
}

.wf-field--error .wf-slider__range::-moz-range-progress {
  background: var(--color-secondary-400);
}

/* ===================================
   Button – Base
   =================================== */
.wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 16px 28px;
  border: 2px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0;
  text-transform: capitalize;
  white-space: nowrap;
  position: relative;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}

/* ===================================
   Variant: Blue (Primary)
   =================================== */
.wf-btn--blue {
  background: var(--color-primary-200);
  border-color: var(--color-primary-200);
  color: var(--color-neutral-100);
}

.wf-btn--blue:hover {
  background: var(--color-primary-300);
  border-color: var(--color-primary-300);
}

.wf-btn--blue:focus-visible {
  background: var(--color-primary-200);
  border-color: var(--color-primary-200);
  outline: none;
  box-shadow: inset 0 0 0 4px var(--color-neutral-100);
}

/* ===================================
   Variant: Light Blue
   =================================== */
.wf-btn--light-blue {
  background: var(--color-neutral-150);
  border-color: var(--color-neutral-150);
  color: var(--color-primary-300);
}

.wf-btn--light-blue:hover {
  background: var(--color-neutral-200);
  border-color: var(--color-neutral-200);
  color: var(--color-primary-400);
}

.wf-btn--light-blue:focus-visible {
  background: var(--color-neutral-150);
  border-color: var(--color-primary-200);
  color: var(--color-primary-400);
  outline: none;
  box-shadow: inset 0 0 0 4px var(--color-neutral-100);
}

/* ===================================
   Variant: Red
   =================================== */
.wf-btn--red {
  background: var(--color-secondary-400);
  border-color: var(--color-secondary-400);
  color: var(--color-neutral-100);
}

.wf-btn--red:hover {
  background: var(--color-secondary-500);
  border-color: var(--color-secondary-500);
}

.wf-btn--red:focus-visible {
  background: var(--color-secondary-400);
  border-color: var(--color-secondary-400);
  outline: none;
  box-shadow: inset 0 0 0 4px var(--color-neutral-100);
}

/* ===================================
   Variant: Outline White (for dark backgrounds)
   =================================== */
.wf-btn--outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-neutral-100);
}

.wf-btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.5);
}

.wf-btn--outline-white:focus-visible {
  background: transparent;
  border-color: var(--color-neutral-100);
  outline: none;
}

/* ===================================
   Variant: Outline Blue
   =================================== */
.wf-btn--outline-blue {
  background: transparent;
  border: 1px solid var(--color-neutral-200);
  color: var(--color-primary-400);
}

.wf-btn--outline-blue:hover {
  background: rgba(0, 61, 102, 0.05);
  border-color: var(--color-neutral-300);
}

.wf-btn--outline-blue:focus-visible {
  background: transparent;
  border: 2px solid var(--color-primary-300);
  outline: none;
}

/* ===================================
   Variant: Subscribe (Red, square-ish)
   =================================== */
.wf-btn--subscribe {
  background: var(--color-secondary-400);
  border-color: var(--color-secondary-400);
  border-radius: 12px;
  color: var(--color-neutral-100);
}

.wf-btn--subscribe:hover {
  background: var(--color-secondary-500);
  border-color: var(--color-secondary-500);
}

.wf-btn--subscribe:focus-visible {
  background: var(--color-secondary-400);
  border-color: var(--color-secondary-400);
  outline: none;
  box-shadow: inset 0 0 0 4px var(--color-neutral-100);
}

/* ===================================
   Social Proof — Trust bar
   =================================== */
.sp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 48px;
  background: var(--color-neutral-100);
  border-top: 1px solid var(--color-neutral-200);
}

.sp__secure {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp__shield-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary-200);
}

.sp__secure-text {
  color: var(--color-neutral-400);
  white-space: nowrap;
}

.sp__secure-text strong {
  color: var(--color-primary-300);
}

.sp__divider {
  width: 1px;
  height: 24px;
  background: var(--color-neutral-200);
  flex-shrink: 0;
}

.sp__badges {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sp__badge {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.sp__badge:hover {
  opacity: 1;
}

.sp__badge--bbb {
  width: 75px;
}

.sp__badge--shopper {
  width: 95px;
}

.sp__badge--trusted {
  width: 70px;
}

/* ===================================
   Compact variant — vertical, no border
   =================================== */
.sp--compact {
  flex-direction: column;
  gap: 12px;
  padding: 0;
  background: transparent;
  border-top: none;
}

.sp--compact .sp__divider {
  display: none;
}

.sp--compact .sp__badge {
  height: 36px;
}

.sp--compact .sp__badge--bbb {
  width: 95px;
}

.sp--compact .sp__badge--shopper {
  width: 120px;
}

.sp--compact .sp__badge--trusted {
  width: 90px;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 860px) {
  .sp {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
  }

  .sp__divider {
    width: 100%;
    height: 1px;
  }
}

/* ===================================
   Income Calculator – Layout
   =================================== */
.ic {
  width: 100%;
}

/* Override heading font to Inter Display inside the calculator */
.ic [class^="heading-"],
.ic [class*=" heading-"] {
  font-family: 'Inter Display', sans-serif;
}

/* ===================================
   Hero banner
   =================================== */
.ic__hero {
  background: var(--color-primary-400);
  padding: 56px 48px;
  border-bottom: 4px solid var(--color-primary-200);
}

.ic__hero h2 {
  color: var(--color-neutral-100);
  margin-bottom: 16px;
}

.ic__hero p {
  color: var(--color-neutral-300);
  max-width: 640px;
}

.ic__hero strong {
  color: var(--color-neutral-100);
}

/* ===================================
   Body — two-column grid
   =================================== */
.ic__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}

/* Left — form inputs */
.ic__inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 48px;
  border-right: 1px solid var(--color-neutral-200);
}

.ic__section-icon {
  color: var(--color-secondary-400);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-bottom: -20px;
}

.ic__section-title {
  color: var(--text-primary);
}

.ic__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Remove native number spinners */
.ic__inputs input[type='number']::-webkit-outer-spin-button,
.ic__inputs input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ic__inputs input[type='number'] {
  -moz-appearance: textfield;
}


/* ===================================
   Right — result panel
   =================================== */
.ic__result-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 48px;
  background: var(--color-neutral-150);
}

/* Big result card */
.ic__result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-400);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}

.ic__result-label {
  color: var(--color-neutral-100);
}

.ic__result-value {
  color: var(--color-neutral-100);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.ic__result-period {
  color: var(--color-neutral-300);
}

/* Breakdown details */
.ic__breakdown {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ic__breakdown h4 {
  color: var(--text-primary);
}

.ic__details {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.ic__detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-neutral-200);
}

.ic__detail-row:last-child {
  border-bottom: none;
}

.ic__detail-row dt {
  color: var(--color-neutral-400);
}

.ic__detail-row dd {
  margin: 0;
  color: var(--text-primary);
  text-align: right;
}

/* ===================================
   CTA (right panel bottom)
   =================================== */
.ic__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.ic__cta .sp {
  margin-top: 8px;
}

.ic__cta .wf-btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  height: auto;
  min-height: 56px;
  padding: 16px 28px;
}

.ic__cta-hint {
  color: var(--color-neutral-400);
  text-align: center;
}

/* ===================================
   Disclaimer
   =================================== */
.ic__disclaimer {
  padding: 24px 48px;
  background: var(--color-neutral-100);
  border-top: 1px solid var(--color-neutral-200);
}

.ic__disclaimer p {
  color: var(--color-neutral-400);
  max-width: 800px;
}

.ic__disclaimer strong {
  color: var(--text-primary);
}

/* ===================================
   Lead Capture Form
   =================================== */
.ic__lead-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
}

.ic__lead-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.ic__lead-header h3 {
  color: var(--text-primary);
}

.ic__lead-header p {
  color: var(--color-neutral-400);
}


.ic__lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ic__lead-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.ic__agents-found {
  color: var(--color-neutral-400);
  text-align: center;
}

.ic__agents-count {
  color: var(--color-primary-400);
  font-weight: 600;
}

.ic__lead-actions .wf-btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  height: auto;
  min-height: 56px;
  padding: 16px 28px;
}

.ic__lead-back {
  background: none;
  border: none;
  color: var(--color-primary-300);
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s ease;
}

.ic__lead-back:hover {
  color: var(--color-primary-400);
}

.ic__lead-back:focus-visible {
  outline: 2px solid var(--color-primary-200);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Inline variant — fits inside right panel */
.ic__lead-form--inline {
  padding: 0;
  max-width: none;
  gap: 20px;
}

.ic__lead-form--inline .ic__lead-row--stacked {
  grid-template-columns: 1fr;
}

.ic__lead-form--inline .ic__lead-actions {
  margin-top: 4px;
}

/* ===================================
   Thank You Screen
   =================================== */
.ic__thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 48px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* Inline variant — fits inside right panel */
.ic__thank-you--inline {
  padding: 0;
  max-width: none;
  justify-content: center;
  flex: 1;
}

.ic__thank-you-icon {
  color: var(--color-secondary-400);
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.ic__thank-you h3 {
  color: var(--text-primary);
}

.ic__thank-you-desc {
  color: var(--color-neutral-400);
}

.ic__thank-you-desc strong {
  color: var(--text-primary);
}

.ic__thank-you-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  width: 100%;
  max-width: 400px;
}

.ic__thank-you-actions .wf-btn {
  flex: 1;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
  height: auto;
  min-height: 48px;
  padding: 12px 24px;
}

/* Centered disclaimer (fullscreen lead form) */
.ic__disclaimer--centered {
  text-align: center;
}

.ic__disclaimer--centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 860px) {
  .ic__hero {
    padding: 40px 24px;
  }

  .ic__body {
    grid-template-columns: 1fr;
  }

  .ic__inputs {
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid var(--color-neutral-200);
  }

  .ic__row {
    grid-template-columns: 1fr;
  }

  .ic__result-panel {
    padding: 32px 24px;
  }

  .ic__disclaimer {
    padding: 24px;
  }

  .ic__lead-form {
    padding: 32px 24px;
  }

  .ic__lead-row {
    grid-template-columns: 1fr;
  }

  .ic__thank-you {
    padding: 48px 24px;
  }

  .ic__thank-you-actions {
    flex-direction: column;
  }

  /* Remove divider between text and badges on mobile */
  .sp__divider {
    display: none;
  }
}

