.spmw-body {
  margin: 0;
  min-height: 100vh;
  background: #08111f;
  color: #f4f4f1;
  font-family: Georgia, "Times New Roman", serif;
}

.spmw-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.spmw-card {
  width: min(980px, 100%);
  padding: 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 84, 0.18), transparent 28%),
    linear-gradient(135deg, #1736ff 0%, #2550ff 38%, #101f64 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.spmw-card-portal {
  width: min(1040px, 100%);
}

.spmw-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.spmw-eyebrow {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.spmw-loginline {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.spmw-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.spmw-home-link:hover,
.spmw-home-link:focus {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.spmw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.spmw-hero-portal {
  align-items: stretch;
}

.spmw-hero-copy {
  min-width: 0;
}

.spmw-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.96;
}

.spmw-copy {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.6;
}

.spmw-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.spmw-plan-grid-portal .spmw-plan-card {
  min-height: 0;
}

.spmw-plan-card {
  position: relative;
  min-height: 170px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #141414;
}

.spmw-plan-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.9rem;
  line-height: 1.05;
}

.spmw-plan-card p {
  margin: 12px 0 0;
  color: #545454;
  line-height: 1.45;
}

.spmw-plan-kicker {
  display: inline-block;
  color: #6e6e6e;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spmw-plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-block;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  background: #ffcf47;
  color: #141414;
  font-size: 0.74rem;
  font-weight: 800;
}

.spmw-plan-card-highlight {
  background: #fff7da;
}

.spmw-meters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.spmw-meter-stat,
.spmw-context,
.spmw-form {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
}

.spmw-meter-stat {
  padding: 18px 20px;
}

.spmw-meter-stat strong {
  display: block;
  font-size: 1.8rem;
}

.spmw-meter-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.spmw-context {
  margin-top: 18px;
  padding: 16px 20px;
}

.spmw-context strong,
.spmw-context span {
  display: block;
}

.spmw-context span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
}

.spmw-notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.96rem;
}

.spmw-notice.success {
  background: rgba(81, 217, 130, 0.16);
  border: 1px solid rgba(81, 217, 130, 0.28);
}

.spmw-notice.error {
  background: rgba(255, 122, 122, 0.14);
  border: 1px solid rgba(255, 122, 122, 0.28);
}

.spmw-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.spmw-form {
  padding: 22px;
}

.spmw-form h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.spmw-form p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.spmw-form label {
  display: block;
  margin-top: 12px;
}

.spmw-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.spmw-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: #121212;
  font: inherit;
  box-sizing: border-box;
}

.spmw-form button {
  margin-top: 16px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: #fff4c2;
  color: #111;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.spmw-footnotes {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .spmw-card {
    padding: 22px;
    border-radius: 20px;
  }

  .spmw-topline,
  .spmw-footnotes {
    display: block;
  }

  .spmw-home-link {
    margin-top: 0.9rem;
    min-height: 2.5rem;
  }

  .spmw-loginline {
    margin-top: 0;
  }

  .spmw-hero,
  .spmw-plan-grid,
  .spmw-meters,
  .spmw-columns {
    grid-template-columns: 1fr;
  }
}
