.lr-shell {
  --lr-ink: #0a1738;
  --lr-navy: #014080;
  --lr-navy-deep: #011042;
  --lr-red: #e81c2e;
  --lr-red-dark: #c3101f;
  --lr-muted: #6b7280;
  --lr-line: #e5e7eb;
  --lr-soft: #f5f7fb;
  --lr-white: #fff;
  color: var(--lr-ink);
  margin: clamp(28px, 5vw, 64px) auto;
  max-width: 880px;
  font-family: Inter, sans-serif;
}

.lr-shell *, .lr-shell *::before, .lr-shell *::after { box-sizing: border-box; }
.lr-intro { margin: 0 auto 24px; max-width: 720px; text-align: center; }
.lr-eyebrow { color: var(--lr-red); display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; margin-bottom: 8px; text-transform: uppercase; }
.lr-intro h2 { color: var(--lr-navy-deep); font-family: Archivo, sans-serif; font-size: clamp(28px, 5vw, 44px); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 12px; }
.lr-intro p { color: var(--lr-muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.6; margin: 0; }

.lr-card { background: var(--lr-white); border: 1px solid var(--lr-line); border-radius: 16px; box-shadow: 0 18px 50px rgba(1, 16, 66, .09); overflow: hidden; }
.lr-progress { align-items: flex-start; background: var(--lr-navy-deep); color: rgba(255,255,255,.62); display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 20px clamp(18px, 5vw, 56px); }
.lr-progress li { align-items: center; display: flex; font-size: 13px; gap: 10px; margin: 0; min-width: 0; position: relative; }
.lr-progress li:not(:last-child)::after { background: rgba(255,255,255,.24); content: ""; height: 1px; left: calc(50% + 25px); position: absolute; top: 15px; width: calc(100% - 50px); }
.lr-progress span { align-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: inline-flex; flex: 0 0 30px; font-size: 13px; height: 30px; justify-content: center; position: relative; z-index: 1; }
.lr-progress b { font-weight: 700; }
.lr-progress .is-active { color: #fff; }
.lr-progress .is-active span { background: var(--lr-red); border-color: var(--lr-red); box-shadow: 0 0 0 4px rgba(232,28,46,.2); }
.lr-progress .is-complete { color: #fff; }
.lr-progress .is-complete span { background: #fff; border-color: #fff; color: var(--lr-navy-deep); font-size: 0; }
.lr-progress .is-complete span::after { content: "✓"; font-size: 14px; font-weight: 900; }

.lr-alert { background: rgba(232,28,46,.07); border: 1px solid rgba(232,28,46,.25); border-radius: 10px; color: var(--lr-red-dark); font-size: 14px; font-weight: 700; margin: 24px clamp(20px, 6vw, 64px) 0; padding: 12px 14px; }
.lr-step { animation: lr-fade .2s ease-out; padding: clamp(28px, 6vw, 56px) clamp(20px, 7vw, 72px); }
.lr-step[hidden] { display: none !important; }
@keyframes lr-fade { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.lr-step-heading { margin-bottom: 24px; }
.lr-step-heading > span { color: var(--lr-red); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lr-step-heading h3 { color: var(--lr-navy-deep); font-family: Archivo, sans-serif; font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; margin: 5px 0 0; }
.lr-step-heading p { color: var(--lr-muted); margin: 8px 0 0; }

.lr-terms { display: grid; gap: 10px; margin-bottom: 26px; }
.lr-term { align-items: center; background: #fff; border: 2px solid var(--lr-line); border-radius: 12px; cursor: pointer; display: grid; gap: 14px; grid-template-columns: 22px 1fr auto; min-height: 72px; padding: 13px 16px; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.lr-term:hover { border-color: var(--lr-navy); transform: translateY(-1px); }
.lr-term.is-selected { background: var(--lr-soft); border-color: var(--lr-navy); }
.lr-term.is-full { background: var(--lr-soft); color: var(--lr-muted); cursor: not-allowed; }
.lr-term input { accent-color: var(--lr-red); height: 18px; margin: 0; width: 18px; }
.lr-term-date { display: flex; flex-direction: column; line-height: 1.25; }
.lr-term-date b { color: var(--lr-ink); font-size: 15px; }
.lr-term-date small { color: var(--lr-muted); font-size: 12px; margin-top: 3px; }
.lr-term-status { background: var(--lr-soft); border-radius: 999px; color: var(--lr-navy); font-size: 12px; font-weight: 800; padding: 6px 10px; white-space: nowrap; }
.lr-term.is-full .lr-term-status { background: var(--lr-line); color: var(--lr-muted); }
.lr-loader, .lr-empty { background: var(--lr-soft); border-radius: 12px; color: var(--lr-muted); padding: 28px; text-align: center; }
.lr-terms-year { color: var(--lr-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; margin: 10px 0 0; text-transform: uppercase; }
.lr-terms-year:first-child { margin-top: 0; }
.lr-terms-more { appearance: none; background: #fff; border: 1px dashed var(--lr-line); border-radius: 12px; color: var(--lr-navy); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; margin-top: 4px; min-height: 48px; padding: 13px 16px; transition: border-color .15s ease, background .15s ease; width: 100%; }
.lr-terms-more:hover { background: var(--lr-soft); border-color: var(--lr-navy); }
.lr-terms-more:focus-visible { outline: 3px solid rgba(1,64,128,.25); outline-offset: 2px; }

.lr-fieldset { border: 0; margin: 0; padding: 0; }
.lr-fieldset legend { color: var(--lr-ink); font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.lr-choice-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.lr-choice { cursor: pointer; position: relative; }
.lr-choice input { opacity: 0; position: absolute; }
.lr-choice span { align-items: flex-start; border: 2px solid var(--lr-line); border-radius: 12px; display: flex; flex-direction: column; min-height: 76px; padding: 14px 16px; }
.lr-choice input:checked + span { background: var(--lr-soft); border-color: var(--lr-navy); box-shadow: inset 4px 0 0 var(--lr-red); }
.lr-choice input:focus-visible + span { outline: 3px solid rgba(1,64,128,.25); outline-offset: 2px; }
.lr-choice b { color: var(--lr-ink); }
.lr-choice small { color: var(--lr-muted); margin-top: 3px; }

.lr-fields { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.lr-fields label { color: var(--lr-ink); display: flex; flex-direction: column; font-size: 13px; font-weight: 800; gap: 7px; }
.lr-fields input { appearance: none; background: #fff; border: 1px solid var(--lr-line); border-radius: 10px; color: var(--lr-ink); font: inherit; font-size: 16px; font-weight: 500; height: 48px; margin: 0; padding: 0 13px; width: 100%; }
.lr-fields input:focus { border-color: var(--lr-navy); box-shadow: 0 0 0 3px rgba(1,64,128,.12); outline: 0; }
.lr-fields label small { color: var(--lr-muted); font-size: 11px; font-weight: 500; margin-top: -3px; }
.lr-honey { left: -9999px !important; opacity: 0 !important; position: absolute !important; }
.lr-consent { align-items: flex-start; color: var(--lr-muted); display: flex; font-size: 13px; gap: 10px; line-height: 1.45; margin-top: 22px; }
.lr-consent input { accent-color: var(--lr-red); flex: 0 0 18px; height: 18px; margin: 1px 0 0; width: 18px; }
.lr-consent a { color: var(--lr-navy); font-weight: 700; }

.lr-actions { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-top: 28px; }
.lr-actions-end { justify-content: flex-end; }
.lr-button { appearance: none; background: var(--lr-red); border: 1px solid var(--lr-red); border-radius: 3px; color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 900; letter-spacing: .01em; min-height: 48px; padding: 13px 22px; text-align: center; transition: background .15s ease, transform .15s ease; }
.lr-button:hover { background: var(--lr-red-dark); border-color: var(--lr-red-dark); transform: translateY(-1px); }
.lr-button:focus-visible { outline: 3px solid rgba(232,28,46,.25); outline-offset: 2px; }
.lr-button:disabled { cursor: wait; opacity: .65; transform: none; }
.lr-button-ghost { background: #fff; border-color: var(--lr-line); color: var(--lr-navy-deep); }
.lr-button-ghost:hover { background: var(--lr-soft); border-color: var(--lr-navy); }

.lr-summary { border: 1px solid var(--lr-line); border-radius: 12px; overflow: hidden; }
.lr-summary dl { margin: 0; }
.lr-summary dl > div { display: grid; gap: 20px; grid-template-columns: minmax(130px, .7fr) 1.3fr; padding: 14px 18px; }
.lr-summary dl > div + div { border-top: 1px solid var(--lr-line); }
.lr-summary dt { color: var(--lr-muted); font-size: 13px; }
.lr-summary dd { color: var(--lr-ink); font-size: 14px; margin: 0; }
.lr-summary dd small { color: var(--lr-muted); }
.lr-totals { background: var(--lr-soft); border-top: 1px solid var(--lr-line); padding: 14px 18px; }
.lr-totals > div { align-items: center; display: flex; font-size: 13px; justify-content: space-between; padding: 6px 0; }
.lr-totals .is-deposit { border-bottom: 1px solid var(--lr-line); border-top: 1px solid var(--lr-line); color: var(--lr-navy-deep); margin: 6px 0; padding: 12px 0; }
.lr-totals strong { color: var(--lr-red); font-size: 24px; }
.lr-payment-note { align-items: flex-start; background: #f1d99a; border: 1px solid #dcc080; border-radius: 10px; color: var(--lr-ink); display: flex; font-size: 12px; gap: 10px; line-height: 1.45; margin-top: 18px; padding: 12px 14px; }
.lr-payment-note > span { align-items: center; background: var(--lr-navy); border-radius: 50%; color: #fff; display: flex; flex: 0 0 20px; font-size: 12px; height: 20px; justify-content: center; }
.lr-payment-note p { margin: 0; }
.lr-trust { background: var(--lr-soft); border-top: 1px solid var(--lr-line); color: var(--lr-muted); display: flex; font-size: 11px; gap: 20px; justify-content: center; padding: 13px 20px; }
.lr-trust span { align-items: center; display: inline-flex; gap: 6px; }
.lr-trust svg { color: var(--lr-navy); flex: 0 0 auto; }

@media (max-width: 650px) {
  .lr-shell { margin: 26px -2px; }
  .lr-card { border-radius: 12px; }
  .lr-progress { padding: 17px 12px; }
  .lr-progress li { flex-direction: column; font-size: 10px; gap: 5px; text-align: center; }
  .lr-progress li:not(:last-child)::after { left: calc(50% + 18px); top: 15px; width: calc(100% - 36px); }
  .lr-progress span { flex-basis: 28px; height: 28px; }
  .lr-step { padding: 28px 17px; }
  .lr-term { gap: 10px; grid-template-columns: 20px 1fr; padding: 12px; }
  .lr-term-status { grid-column: 2; justify-self: start; margin-top: -7px; }
  .lr-choice-grid, .lr-fields { grid-template-columns: 1fr; }
  .lr-actions { align-items: stretch; flex-direction: column-reverse; }
  .lr-actions .lr-button { width: 100%; }
  .lr-actions-end { flex-direction: column; }
  .lr-summary dl > div { gap: 8px; grid-template-columns: 1fr; }
  .lr-trust { align-items: center; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .lr-shell *, .lr-shell *::before, .lr-shell *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
