:root {
  --bg: #ececec;
  --card-bg-1: #1a0a10;
  --card-bg-2: #0e0a14;
  --card-border: rgba(120, 30, 40, 0.55);
  --fg: #ffffff;
  --muted: #b6b1ba;
  --red: #e6353f;
  --red-soft: #ff5d63;
  --orange: #ff8a3b;
  --pink: #ff7a82;
  --chip-bg: rgba(20, 8, 12, 0.6);
  --chip-border: rgba(230, 53, 63, 0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.lp-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 22px 14px 60px;
  position: relative;
}

/* Brand pill at top */
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  position: relative;
  z-index: 2;
  margin: 0 auto 16px;
  left: 50%;
  transform: translateX(-50%);
}
.brand-pill__logo { display: inline-flex; }
.brand-pill__name {
  color: #1a0b08;
  font-weight: 700;
  letter-spacing: 1.6px;
  font-size: 14px;
}

/* Alert card */
.alert-card {
  position: relative;
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(180, 40, 50, 0.32) 0%, transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(140, 30, 40, 0.22) 0%, transparent 50%),
    linear-gradient(160deg, var(--card-bg-1) 0%, var(--card-bg-2) 100%);
  padding: 26px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    0 30px 80px -20px rgba(80, 10, 15, 0.55),
    0 12px 40px -16px rgba(0, 0, 0, 0.7);
  margin-top: -34px;
}

/* Top row: status + chip */
.alert-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.status-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.status-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff4a52, #b51d27);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 0 24px rgba(230, 53, 63, 0.45);
}
.status-block__label {
  font-weight: 700;
  letter-spacing: 1.6px;
  font-size: 13px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #fff;
}
.status-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(230, 53, 63, 0.8);
}

/* Alert banner */
.alert-banner {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  background: var(--chip-bg);
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
}
.alert-banner__tag {
  background: rgba(230, 53, 63, 0.18);
  color: var(--red-soft);
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: 11px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  border-right: 1px solid var(--chip-border);
  white-space: nowrap;
}
.alert-banner__text {
  flex: 1;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #d8d2dc;
  display: inline-flex;
  align-items: center;
}

/* Heading + body */
.alert-card__heading {
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.hl { color: var(--red-soft); }

.alert-card__body {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 22px;
}
.alert-card__body strong { color: #f0eef2; font-weight: 600; }

/* Callout */
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(230, 53, 63, 0.55);
  border-radius: 14px;
  background: rgba(60, 10, 16, 0.25);
  margin-bottom: 26px;
}
.callout__icon { flex-shrink: 0; margin-top: 2px; }
.callout p {
  margin: 0;
  font-size: 14.5px;
  color: #e6e1e9;
  line-height: 1.5;
}
.callout strong { color: #fff; font-weight: 600; }

/* CTA button */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6f7d 0%, #ff8a3b 100%);
  color: #1a0b08;
  font-weight: 800;
  letter-spacing: 1.4px;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 14px 32px -10px rgba(255, 120, 80, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -12px rgba(255, 120, 80, 0.7);
}
.cta-btn__arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(26, 11, 8, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Existing customer line */
.existing-line {
  font-size: 13.5px;
  color: var(--muted);
  margin: 18px 0 16px;
  line-height: 1.5;
}
.existing-line__tag {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 1px;
  margin-right: 4px;
}

/* Card footnote */
.card-footnote {
  font-size: 12.5px;
  color: #807a86;
  margin: 0;
  line-height: 1.55;
}
.card-footnote strong { color: #c8c2cd; font-weight: 600; }

/* Mobile */
@media (max-width: 480px) {
  .alert-card { padding: 22px 18px 24px; border-radius: 18px; }
  .alert-card__heading { font-size: 26px; }
  .alert-banner { flex-direction: column; border-radius: 14px; }
  .alert-banner__tag { border-right: none; border-bottom: 1px solid var(--chip-border); }
  .status-block__label { font-size: 12px; letter-spacing: 1.2px; }
  .status-chip { font-size: 11px; padding: 7px 12px; }
}

/* Modal */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

body.modal-open { overflow: hidden; }

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.modal[aria-hidden="false"] { display: flex; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 8, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background:
    radial-gradient(circle at 0% 0%, rgba(180, 40, 50, 0.28), transparent 50%),
    linear-gradient(160deg, var(--card-bg-1) 0%, var(--card-bg-2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 28px 26px 24px;
  box-shadow:
    0 40px 90px -20px rgba(80, 10, 15, 0.6),
    0 12px 40px -16px rgba(0, 0, 0, 0.8);
  color: #fff;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.14); }

.modal__title {
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.3px;
  padding-right: 32px;
  line-height: 1.2;
}

.modal__lede {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.modal-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.modal-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.modal-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6f7d, #ff8a3b);
  color: #1a0b08;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.modal-step__body h3 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
}
.modal-step__body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.modal-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.modal-form input::placeholder { color: rgba(255, 255, 255, 0.35); }
.modal-form input:focus {
  outline: none;
  border-color: var(--red-soft);
  box-shadow: 0 0 0 3px rgba(230, 53, 63, 0.22);
}

.modal-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6f7d 0%, #ff8a3b 100%);
  color: #1a0b08;
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: 13.5px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 14px 30px -10px rgba(255, 120, 80, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.modal-form__btn:hover { transform: translateY(-1px); }
.modal-form__btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.modal-form__btn-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(26, 11, 8, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal__foot {
  margin: 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  line-height: 1.55;
}

@media (max-width: 480px) {
  .modal__panel { padding: 24px 20px 22px; border-radius: 18px; }
  .modal__title { font-size: 19px; }
  .modal-step { padding: 11px 12px; }
}
