.smsop-body {
  margin: 0;
  font-family: "Inter", "Inter var", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--platform-canvas, #f4f6f8);
  color: var(--platform-text-primary, #1e293b);
}

.smsop-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 18px 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.smsop-hero,
.smsop-form-card,
.smsop-success-card {
  background: var(--platform-surface, #fff);
  border: 1px solid var(--platform-border, rgba(15, 23, 42, 0.07));
  border-radius: 18px;
  box-shadow: var(--shadow-card, 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 26px rgba(15, 23, 42, 0.07));
}

.smsop-hero {
  padding: 26px 28px;
}

.smsop-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--platform-text-secondary, #475569);
  background: var(--platform-surface-muted, #f7f8fa);
  border: 1px solid var(--platform-border, rgba(15, 23, 42, 0.07));
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.smsop-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.smsop-hero p {
  margin: 0 0 8px;
  color: var(--platform-text-secondary, #475569);
  line-height: 1.55;
}

.smsop-welcome {
  margin-top: 12px;
  color: #0f172a;
  font-weight: 500;
}

.smsop-card-wrap {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.smsop-form-card,
.smsop-success-card {
  padding: 28px;
}

.smsop-form-card label {
  display: block;
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 500;
}

.smsop-form-card input {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--platform-border-strong, rgba(15, 23, 42, 0.1));
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.smsop-form-card input:focus {
  outline: none;
  border-color: var(--color-accent, #2d3238);
  box-shadow: 0 0 0 4px rgba(45, 50, 56, 0.12);
}

.smsop-form-card textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--platform-border-strong, rgba(15, 23, 42, 0.1));
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  font: inherit;
  resize: vertical;
  min-height: 96px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.smsop-form-card textarea:focus {
  outline: none;
  border-color: var(--color-accent, #2d3238);
  box-shadow: 0 0 0 4px rgba(45, 50, 56, 0.12);
}

.smsop-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 14px;
}

.smsop-fieldset legend {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.smsop-options {
  display: grid;
  gap: 8px;
}

.smsop-options label {
  margin: 0;
  position: relative;
}

.smsop-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.smsop-options span {
  display: block;
  border: 1px solid var(--platform-border-strong, rgba(15, 23, 42, 0.1));
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  transition: all .18s ease;
}

.smsop-options input:checked + span {
  border-color: var(--color-accent, #2d3238);
  background: rgba(45, 50, 56, 0.06);
  color: var(--color-charcoal, #1e293b);
  transform: translateY(-1px);
}

.smsop-email-note {
  margin: 0 0 10px;
  font-size: 14px;
  color: #0f766e;
}

.smsop-email-warn {
  margin: 0 0 10px;
  font-size: 13px;
  color: #b45309;
}

.smsop-btn {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.smsop-btn:hover {
  transform: translateY(-1px);
}

.smsop-btn:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.smsop-btn-primary {
  width: 100%;
  background: var(--color-charcoal, #1e293b);
  color: #fff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
}

.smsop-btn-ghost {
  margin-top: 10px;
  background: var(--platform-surface-muted, #f7f8fa);
  border: 1px solid var(--platform-border-strong, rgba(15, 23, 42, 0.1));
  color: #1e293b;
}

.smsop-helper {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
}

.smsop-error-banner {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.smsop-inline-error {
  color: #b91c1c;
  font-size: 12px;
  margin-top: 6px;
}

.smsop-hp {
  position: absolute;
  left: -200vw;
  top: -200vh;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.smsop-success-card {
  text-align: center;
}

.smsop-success-check {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: #fff;
  background: #0f766e;
  margin: 0 auto 14px;
}

.smsop-success-card h2 {
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.smsop-success-card p {
  margin: 0 0 12px;
  color: #475569;
}

.smsop-success-card .smsop-btn-primary {
  margin-top: 8px;
}

.smsop-note {
  margin-top: 12px;
}

@media (max-width: 860px) {
  .smsop-hero,
  .smsop-form-card,
  .smsop-success-card {
    padding: 20px;
  }
}
