.tpusa-loi-page {
  --tpusa-red: #ed0000;
  --tpusa-blue: #084fdc;
  --tpusa-navy: #07143b;
  --tpusa-border: #d9deea;
  --tpusa-muted: #5d6681;
  font-family: Poppins, Arial, sans-serif;
  color: var(--tpusa-navy);
  background: #f5f7fb;
  padding: 0 16px 48px;
}

.tpusa-loi-page * { box-sizing: border-box; }

.tpusa-loi-hero,
.tpusa-loi-form,
.tpusa-loi-alert,
.tpusa-loi-print-card,
.tpusa-loi-footer-note {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.tpusa-loi-hero {
  background: #fff;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(7, 20, 59, .12);
  margin-bottom: 24px;
}

.tpusa-loi-hero__bar {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  background: #fff;
}

.tpusa-loi-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tpusa-red);
  background: #fff;
  font-weight: 900;
  font-size: clamp(28px, 3.1vw, 42px);
  font-style: italic;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 22px 24px 10px;
  line-height: 1;
  text-align: center;
  white-space: normal;
}

.tpusa-loi-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  color: #fff;
  background: linear-gradient(100deg, var(--tpusa-red) 0%, #98256d 48%, var(--tpusa-blue) 100%);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: clamp(22px, 2.65vw, 34px);
  font-weight: 600;
  text-align: center;
  padding: 14px 24px;
  white-space: nowrap;
}

.tpusa-loi-hero__content {
  padding: clamp(28px, 5vw, 56px);
}

.tpusa-loi-kicker {
  font-style: italic;
  font-weight: 700;
  max-width: 880px;
}

.tpusa-loi-hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.tpusa-loi-hero p {
  font-size: 17px;
  line-height: 1.55;
}


.tpusa-loi-print-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--tpusa-border);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(7, 20, 59, .07);
}

.tpusa-loi-print-card h2 {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
}

.tpusa-loi-print-card p {
  margin: 0;
  color: var(--tpusa-muted);
  line-height: 1.5;
}

.tpusa-loi-print-card__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--tpusa-blue);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
  text-decoration: none;
  padding: 13px 20px;
}

.tpusa-loi-print-card__button:hover,
.tpusa-loi-print-card__button:focus {
  color: #fff;
  background: #063da9;
}

.tpusa-loi-alert {
  padding: 16px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-weight: 700;
}

.tpusa-loi-alert--success {
  background: #eaf8ef;
  border: 1px solid #b7e4c7;
}

.tpusa-loi-alert--error {
  background: #fff0f0;
  border: 1px solid #ffc9c9;
}

.tpusa-loi-form {
  display: grid;
  gap: 18px;
}

.tpusa-loi-card {
  background: #fff;
  border: 1px solid var(--tpusa-border);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 12px 32px rgba(7, 20, 59, .07);
}

.tpusa-loi-section-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.tpusa-loi-section-heading span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--tpusa-blue);
  color: #fff;
  font-weight: 800;
}

.tpusa-loi-card h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}

.tpusa-loi-card p {
  margin: 0;
  color: var(--tpusa-muted);
  line-height: 1.55;
}

.tpusa-loi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tpusa-loi-form label,
.tpusa-loi-fieldset legend {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: var(--tpusa-navy);
}

.tpusa-loi-form input[type="text"],
.tpusa-loi-form input[type="email"],
.tpusa-loi-form input[type="tel"],
.tpusa-loi-form input[type="date"],
.tpusa-loi-form textarea {
  width: 100%;
  border: 1px solid #c7cfde;
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 500;
  color: var(--tpusa-navy);
  background: #fff;
}

.tpusa-loi-form input:focus,
.tpusa-loi-form textarea:focus {
  outline: 3px solid rgba(8, 79, 220, .18);
  border-color: var(--tpusa-blue);
}

.tpusa-loi-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tpusa-loi-checkbox-grid label,
.tpusa-loi-ack {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--tpusa-border);
  border-radius: 12px;
  background: #fbfcff;
}

.tpusa-loi-checkbox-grid input,
.tpusa-loi-ack input,
.tpusa-loi-fieldset input {
  margin-top: 3px;
  transform: scale(1.15);
}

.tpusa-loi-fieldset {
  border: 1px solid var(--tpusa-border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.tpusa-loi-fieldset legend {
  padding: 0 6px;
}

.tpusa-loi-fieldset label {
  display: inline-flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.tpusa-loi-conditional {
  display: none;
  border-left: 5px solid var(--tpusa-blue);
}

.tpusa-loi-conditional.is-active {
  display: block;
}

.tpusa-loi-disclaimer {
  margin-top: 14px !important;
  padding: 14px;
  border-left: 4px solid var(--tpusa-red);
  background: #fff8f8;
}

.tpusa-loi-ack {
  margin-top: 18px;
}

.tpusa-loi-submit {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--tpusa-red);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 16px 28px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(237, 0, 0, .25);
}

.tpusa-loi-submit:hover,
.tpusa-loi-submit:focus {
  background: #cc0000;
}

.tpusa-loi-footer-note {
  margin-top: 28px;
  background: var(--tpusa-blue);
  color: #fff;
  border-radius: 18px;
  padding: 24px 28px;
  line-height: 1.5;
}

.tpusa-loi-footer-note a { color: #fff; font-weight: 800; }

.tpusa-loi-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .tpusa-loi-brand {
    font-size: clamp(27px, 3.4vw, 36px);
    padding-top: 20px;
  }
  .tpusa-loi-title {
    min-height: 60px;
    font-size: clamp(21px, 2.9vw, 30px);
    letter-spacing: .17em;
  }
}

@media (max-width: 800px) {
  .tpusa-loi-page { padding-left: 12px; padding-right: 12px; }

  .tpusa-loi-brand {
    font-size: clamp(26px, 7vw, 34px);
    padding: 18px 18px 10px;
  }

  .tpusa-loi-title {
    min-height: 58px;
    font-size: clamp(18px, 5vw, 24px);
    letter-spacing: .12em;
    padding: 14px 18px;
  }

  .tpusa-loi-grid,
  .tpusa-loi-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .tpusa-loi-section-heading {
    flex-direction: column;
  }

  .tpusa-loi-print-card {
    flex-direction: column;
    align-items: stretch;
  }

  .tpusa-loi-print-card__button,
  .tpusa-loi-submit {
    width: 100%;
  }
}


/* v1.0.4 header reset: force stacked, full-width layout and override older cached/legacy header styles. */
.tpusa-loi-page .tpusa-loi-hero__bar {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  grid-template-columns: none !important;
  align-items: stretch !important;
  position: relative !important;
  background: #fff !important;
}

.tpusa-loi-page .tpusa-loi-brand,
.tpusa-loi-page .tpusa-loi-title {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.tpusa-loi-page .tpusa-loi-brand {
  min-height: 70px !important;
  padding: 18px 24px 10px !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.05 !important;
}

.tpusa-loi-page .tpusa-loi-title {
  min-height: 60px !important;
  padding: 14px 24px !important;
  font-size: clamp(20px, 2.5vw, 34px) !important;
  letter-spacing: .2em !important;
  white-space: normal !important;
}

@media (max-width: 700px) {
  .tpusa-loi-page .tpusa-loi-brand {
    min-height: auto !important;
    font-size: 26px !important;
    padding: 18px 16px 10px !important;
  }

  .tpusa-loi-page .tpusa-loi-title {
    min-height: auto !important;
    font-size: 18px !important;
    letter-spacing: .16em !important;
    padding: 14px 16px !important;
  }
}

/* v1.0.5 validation + scroll targets */
.tpusa-loi-error-field {
  border-color: #e6002d !important;
  box-shadow: 0 0 0 3px rgba(230, 0, 45, .12) !important;
  background: #fff7f8 !important;
}

.tpusa-loi-form label.tpusa-loi-error-field {
  border: 1px solid #e6002d;
  border-radius: 12px;
  padding: 10px;
  background: #fff7f8;
}

.tpusa-loi-error-field input,
.tpusa-loi-error-field textarea,
.tpusa-loi-form input[aria-invalid="true"],
.tpusa-loi-form textarea[aria-invalid="true"] {
  border-color: #e6002d !important;
  background: #fffafa !important;
}

.tpusa-loi-error-field:focus-within,
.tpusa-loi-form input[aria-invalid="true"]:focus,
.tpusa-loi-form textarea[aria-invalid="true"]:focus {
  outline: 3px solid rgba(230, 0, 45, .18) !important;
}

.tpusa-loi-alert:focus {
  outline: 3px solid rgba(8, 79, 220, .25);
  outline-offset: 4px;
}

/* v1.0.7 standalone page: remove theme chrome by rendering outside the theme template. */
body.tpusa-loi-standalone {
  margin: 0 !important;
  background: #f5f7fb !important;
}

body.tpusa-loi-standalone .tpusa-loi-standalone-main {
  width: 100%;
  min-height: 100vh;
}

body.tpusa-loi-standalone .tpusa-loi-page {
  min-height: 100vh;
  padding-top: 32px;
}

body.tpusa-loi-standalone .tpusa-loi-hero {
  border-radius: 22px;
}

@media (max-width: 800px) {
  body.tpusa-loi-standalone .tpusa-loi-page {
    padding-top: 16px;
  }
}

/* v1.0.8 HubSpot form wrapper */
.tpusa-loi-hubspot-card {
  max-width: 1040px;
  margin: 0 auto 20px;
  background: #fff;
  border: 1px solid var(--tpusa-border);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 12px 32px rgba(7, 20, 59, .07);
}

.tpusa-loi-hubspot-card .hs-form-frame {
  margin-top: 24px;
  width: 100%;
}

.tpusa-loi-hubspot-card iframe {
  max-width: 100% !important;
  width: 100% !important;
}

.tpusa-loi-hubspot-card h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.tpusa-loi-hubspot-card p {
  margin: 0;
  color: var(--tpusa-muted);
  line-height: 1.55;
}

.tpusa-loi-hubspot-card .hs-form-field {
  margin-bottom: 20px;
}

.tpusa-loi-hubspot-card label {
  font-weight: 800;
  color: var(--tpusa-navy);
}

.tpusa-loi-hubspot-card .hs-input {
  width: 100% !important;
  min-height: 48px;
  border: 1px solid #c7cfde;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--tpusa-navy);
  background: #fff;
}

.tpusa-loi-hubspot-card textarea.hs-input {
  min-height: 120px;
}

.tpusa-loi-hubspot-card .hs-input:focus {
  outline: 3px solid rgba(8, 79, 220, .18);
  border-color: var(--tpusa-blue);
}

.tpusa-loi-hubspot-card .hs-error-msgs,
.tpusa-loi-hubspot-card .hs-error-msg {
  color: #e6002d !important;
  font-weight: 800;
}

.tpusa-loi-hubspot-card .inputs-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.tpusa-loi-hubspot-card .inputs-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}

.tpusa-loi-hubspot-card input[type="checkbox"],
.tpusa-loi-hubspot-card input[type="radio"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.tpusa-loi-hubspot-card .hs-button {
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(100deg, var(--tpusa-red), var(--tpusa-blue)) !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  padding: 15px 28px !important;
  cursor: pointer !important;
}

.tpusa-loi-hubspot-card .hs-button:hover,
.tpusa-loi-hubspot-card .hs-button:focus {
  filter: brightness(.96);
}
