/**
 * Shell behaviour, local fonts, and v4 pieces the theme file does not cover.
 */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 600;
  font-display: block;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("fonts/roboto-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.req { color: var(--required-mark, #c0392b); font-weight: 600; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

[data-mobile-only] { display: none; }

@media (max-width: 640px) {
  [data-desktop-only] { display: none !important; }
  [data-mobile-only] { display: flex !important; }
}

.bond-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px clamp(14px, 4vw, 28px) 0;
}
.bond-main .bond-legal-notice {
  max-width: none;
  padding: 0 0 52px;
}
.bond-main.is-complete .bond-legal-notice {
  padding: 24px 0 52px;
}
.bond-declaration[hidden] {
  display: none !important;
}

.screen { display: none; }
.screen.active { display: block; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.choice-grid > .field-error {
  grid-column: 1 / -1;
}
.choice-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.choice-stack .choice-btn {
  width: 66.666%;
  max-width: 100%;
  position: relative;
  text-align: left;
  padding: 20px 52px 20px 22px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: #3a3a3a;
  cursor: pointer;
}
.choice-stack .choice-btn__check {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
@media (max-width: 640px) {
  .choice-stack .choice-btn { width: 100%; }
}

.choice-btn {
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.choice-btn--jurisdiction { width: 100%; }

.form-group { margin: 0; }
.details-stack,
.entity-fields:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.details-stack[hidden],
.entity-fields[hidden] {
  display: none !important;
}
.email-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.email-pair .form-group {
  flex: 1 1 290px;
  max-width: 340px;
}
input.input-wide,
input[type="url"].input-wide,
.people-list {
  max-width: 700px;
  width: 100%;
}
.input-narrow { max-width: 340px; }
input.input-narrow,
input.amount-type-field,
input[type="url"].input-narrow,
select.input-narrow {
  max-width: 340px;
  width: 100%;
}
@media (max-width: 640px) {
  .email-pair {
    flex-direction: column;
    gap: 16px;
  }
  .email-pair .form-group {
    flex: none;
    max-width: none;
    width: 100%;
  }
  .details-stack input.input-wide,
  .details-stack .input-narrow,
  .details-stack .people-list {
    max-width: none;
    width: 100%;
  }
}

.entity-placeholder {
  border: 1px dashed #c2ccd6;
  border-radius: 8px;
  padding: 34px 22px;
  text-align: center;
  background: #fcfcfd;
  font-size: 15px;
  line-height: 1.6;
  color: #8b9199;
}

.people-list { display: flex; flex-direction: column; gap: 10px; }
.people-row { display: flex; gap: 10px; align-items: center; }
.people-row input { flex: 1 1 auto; min-width: 0; }
.btn-remove {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: #6f7479;
  background: #fff;
  border: 1px solid #c2ccd6;
  border-radius: 8px;
  cursor: pointer;
}
.btn-text {
  margin-top: 12px;
  background: none;
  border: none;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
}

.stepper-mobile {
  display: none;
  flex-direction: column;
  gap: 11px;
  margin-top: 24px;
}
.stepper-mobile__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.stepper-mobile__kicker {
  font: 600 11px/1 Montserrat, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f7479;
}
.stepper-mobile__label {
  font-size: 14.5px;
  font-weight: 600;
  color: #315c82;
}
.stepper-mobile__track {
  height: 4px;
  border-radius: 2px;
  background: #dfe3e7;
  overflow: hidden;
}
.stepper-mobile__fill {
  height: 100%;
  border-radius: 2px;
  background: #2974a3;
  transition: width 0.25s;
}

.bond-hero__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.bond-hero__heading .bond-hero__title {
  flex: 1 1 auto;
  min-width: 0;
}
.bond-hero__meta {
  flex: 0 0 auto;
  text-align: right;
  padding-top: 2px;
}
.bond-hero__meta-code {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b0b5ba;
  line-height: 1.2;
}
.bond-hero__meta-agency {
  margin-top: 5px;
  font: 600 11px/1.3 Montserrat, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4c8cc;
}
@media (max-width: 640px) {
  .bond-hero__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .bond-hero__meta { text-align: left; }
}

.bond-hero .stepper-item.upcoming { cursor: default; }
.bond-hero .stepper-item.upcoming .stepper-label { color: #6b7178; }

.submit-error {
  margin: 16px 0 0;
  padding: 14px 16px;
  background: #fdecea;
  color: #8a1f11;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(8px, 2vw, 20px) 0 clamp(30px, 5vw, 56px);
}
.confirm__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eefaef;
  border: 2px solid #00a806;
  color: #00a806;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.confirm--error .confirm__icon {
  background: #fdecea;
  border-color: #c0392b;
  color: #c0392b;
}
.confirm__kicker {
  font: 600 11px/1 Montserrat, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f7479;
  margin-bottom: 12px;
}
.confirm h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 29px);
  letter-spacing: -0.03em;
  color: #3a3a3a;
  line-height: 1.25;
}
.confirm__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #6c7177;
  max-width: 56ch;
  text-wrap: pretty;
}
.confirm__email-notice {
  width: 100%;
  max-width: 56ch;
  margin-top: 20px;
  padding: 16px 18px;
  background: #fdf4f2;
  border-radius: 8px;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.55;
  color: #6e4a44;
}
.confirm__email-notice-title {
  font: 600 11px/1 Montserrat, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b35448;
  margin-bottom: 8px;
}
.confirm__email-notice p { margin: 0; }
.confirm__email-notice a {
  color: #8a3b32;
  font-weight: 600;
  text-decoration: none;
}
.confirm__email-notice a:hover { text-decoration: underline; }
.confirm__meta {
  margin-top: 26px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  padding: 18px 30px;
  background: #f6f7f8;
  border-radius: 8px;
}
.confirm__meta-item { text-align: left; }
.confirm__meta-label {
  font: 600 10.5px/1 Montserrat, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 6px;
}
.confirm__ref {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2974a3;
}
.confirm__when {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #3a3a3a;
}
.confirm__next {
  width: 100%;
  max-width: 640px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #e8eef3;
  text-align: left;
}
.confirm__next-title {
  font: 600 11px/1 Montserrat, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 16px;
}
.confirm__steps { display: flex; flex-direction: column; gap: 14px; }
.confirm__step { display: flex; gap: 14px; align-items: flex-start; }
.confirm__step-num {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eff5f9;
  color: #2974a3;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.confirm__step-text { font-size: 15.5px; line-height: 1.6; color: #4d4d4d; }
.confirm__close {
  width: 100%;
  max-width: 640px;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid #e8eef3;
  font-size: 13.5px;
  color: #6f7479;
}

.btn-next:disabled { opacity: 0.6; cursor: wait; }

.callout__body {
  font-size: 15px;
  line-height: 1.6;
  color: #6b6b6b;
}

.elig-q {
  font-size: 16px;
  font-weight: 600;
  color: #4d4d4d;
  margin-bottom: 11px;
  line-height: 1.5;
}

.choice-btn__check[hidden] { display: none !important; }

input[type="url"] {
  width: 100%;
  max-width: 100%;
  min-height: var(--input-min-height);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
  background: #fff;
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  box-sizing: border-box;
}

#bondAmountBlock .field-error { margin-top: 12px; }

.amount-hero {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 52px);
  letter-spacing: -0.04em;
  color: #2974a3;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transition: transform 0.12s ease-out;
}
.amount-hero.is-ticking { transform: translateY(-2px); }
.amount-hero-sub {
  margin: 6px 0 22px;
  font: 600 11px/1 Montserrat, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f7479;
}

.amount-slider-block {
  position: relative;
  max-width: 700px;
}
.amount-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 700px;
  height: 6px;
  margin: 0;
  background: #dfe3e7;
  border-radius: 3px;
  outline: none;
}
.amount-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2974a3;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #2974a3;
  cursor: pointer;
}
.amount-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2974a3;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #2974a3;
  cursor: pointer;
}
.amount-slider:focus-visible {
  outline: 2px solid #2974a3;
  outline-offset: 6px;
}

.amount-tick-marks,
.amount-ticks {
  position: relative;
  margin-left: 12px;
  margin-right: 12px;
}
.amount-tick-marks {
  height: 10px;
  margin-top: 6px;
}
.amount-tick-marks i {
  position: absolute;
  top: 0;
  width: 2px;
  height: 10px;
  background: #b7bec6;
  transform: translateX(-50%);
}
.amount-ticks {
  height: 22px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #8b9199;
}
.amount-ticks span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}

.amount-type-field { font-variant-numeric: tabular-nums; }

.amount-range-note {
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #2974a3;
  font-weight: 600;
}
.amount-range-note.is-warn { color: #8a3b32; }

.callout--notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  background: #fbf6e4;
  color: #5c4e2a;
}
.callout--notice[hidden] {
  display: none !important;
}
.callout--notice .callout__label {
  color: #a67c09;
}
.callout--notice .callout__body {
  color: #5c4e2a;
}
.callout-notice__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: #e4b423;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}
.callout-notice__body {
  min-width: 0;
  flex: 1 1 auto;
}
.details-stack .callout--notice {
  margin-top: 0;
}
.callout-list {
  margin: 0;
  padding-left: 1.15em;
}
.callout-list li + li {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .amount-slider-block,
  .amount-slider,
  .details-stack input[type="url"] {
    max-width: none;
    width: 100%;
  }
}

.addr-kicker {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #3a3a3a;
  margin: 6px 0 0;
}
#busCountryOtherWrap[hidden] {
  display: none !important;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.5;
  color: #4d4d4d;
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  accent-color: #2974a3;
  cursor: pointer;
}
