/*
 * WoonStroom Radar — onboarding (/start)
 * Premium, rustig; warm bruin/oranje + blauwe CTA.
 * TODO: Pricing definitief maken voordat Mollie live gaat (zie ook start.html/stap 5).
 */

:root {
  --st-warm: #e07a3c;
  --st-warm-dark: #9a4d1f;
  --st-ink: #1a1f2e;
  --st-text: #2c3852;
  --st-muted: #5b6478;
  --st-line: #e3e8f0;
  --st-bg: #f6f8fb;
  --st-card: #ffffff;
  --st-accent: #2f86e8;
  --st-accent-strong: #1f6fcc;
  --st-accent-soft: #e8f1fc;
  --st-good: #16a34a;
  --st-good-soft: #ecfdf3;
  --st-warn: #d97706;
  --st-warn-soft: #fff7ed;
  --st-bad: #dc2626;
  --st-bad-soft: #fef2f2;
  --st-radius: 18px;
  --st-radius-lg: 22px;
  --st-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --st-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --st-bar-h: 88px;
  --st-maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.st-body {
  margin: 0;
  font-family: var(--st-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--st-text);
  background: var(--st-bg);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  /* ruimte zodat vaste footer niet over inhoud schuift */
  padding-bottom: calc(var(--st-bar-h) + env(safe-area-inset-bottom, 0px));
}

a {
  color: var(--st-accent);
  text-decoration: none;
}
a:hover {
  color: var(--st-accent-strong);
  text-decoration: underline;
}

.st-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--st-ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 200;
  font-size: 14px;
}
.st-skip:focus {
  top: 12px;
}

/* ----- header ----- */
.st-header {
  border-bottom: 1px solid var(--st-line);
  background: var(--st-card);
  padding: 16px clamp(18px, 4vw, 32px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.st-header__inner {
  max-width: var(--st-maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.st-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: inherit;
}
.st-brand:hover {
  opacity: 0.92;
}

.st-brand__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.st-brand__icon {
  width: 42px;
  height: auto;
}
.st-brand__word {
  height: 26px;
  width: auto;
}
.st-brand__tag {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-warm);
  padding-left: 54px;
}

.st-login-link {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* ----- main ----- */
.st-main {
  max-width: var(--st-maxw);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(18px, 4vw, 28px);
}

.st-lead-quote {
  text-align: center;
  font-size: 14px;
  color: var(--st-muted);
  margin: -8px auto 28px;
  max-width: 640px;
  line-height: 1.5;
}

/* ----- stepper ----- */
.st-stepper-wrap {
  margin-bottom: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.st-stepper {
  display: flex;
  gap: 8px;
  min-width: min-content;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: nowrap;
}

@media (max-width: 720px) {
  .st-stepper {
    justify-content: flex-start;
    padding: 0 2px;
  }
}

.st-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--st-line);
  background: var(--st-card);
  font-size: 12px;
  font-weight: 600;
  color: var(--st-muted);
  white-space: nowrap;
  cursor: default;
}

.st-step-pill__num {
  margin-right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--st-bg);
  font-size: 12px;
  color: var(--st-muted);
}

.st-step-pill.is-done {
  border-color: rgba(224, 122, 60, 0.35);
  color: var(--st-text);
}
.st-step-pill.is-done .st-step-pill__num {
  background: rgba(224, 122, 60, 0.15);
  color: var(--st-warm-dark);
}

.st-step-pill.is-active {
  border-color: var(--st-accent);
  background: var(--st-accent-soft);
  color: var(--st-accent-strong);
  box-shadow: 0 0 0 3px rgba(47, 134, 232, 0.12);
}
.st-step-pill.is-active .st-step-pill__num {
  background: var(--st-accent);
  color: #fff;
}

.st-step-label-mobile {
  display: none;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-muted);
  margin-bottom: 12px;
}
@media (max-width: 720px) {
  .st-step-label-mobile {
    display: block;
  }
}

.st-progress-line {
  height: 4px;
  border-radius: 4px;
  background: var(--st-line);
  margin: -8px auto 28px;
  max-width: 480px;
  overflow: hidden;
}
.st-progress-line__fill {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--st-warm) 0%, var(--st-accent) 100%);
  transform-origin: left center;
  transition: transform 0.28s ease;
  transform: scaleX(1);
}

/* ----- panels ----- */
.st-panel {
  display: none;
}

.st-panel.is-active {
  display: block;
  animation: stFadeIn 0.28s ease;
}

@keyframes stFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.st-card-shell {
  background: var(--st-card);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius-lg);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--st-shadow);
}

.st-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--st-ink);
  letter-spacing: -0.02em;
}

.st-panel-sub {
  margin: 0 0 26px;
  font-size: 1.02rem;
  color: var(--st-muted);
  max-width: 640px;
}

.st-msg {
  font-size: 14px;
  min-height: 22px;
  margin: 8px 0 16px;
  color: #b91c1c;
  font-weight: 500;
}
.st-msg:empty {
  margin: 0;
  min-height: 0;
}

/* ----- grids ----- */
.st-row-2 {
  display: grid;
  gap: clamp(24px, 4vw, 36px);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

@media (max-width: 900px) {
  .st-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ----- presets / chips ----- */
.st-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.st-chip {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--st-line);
  background: var(--st-bg);
  color: var(--st-text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.st-chip:hover {
  border-color: rgba(224, 122, 60, 0.45);
  background: #fffaf4;
}

.st-tag-add {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.st-tag-add input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--st-line);
  border-radius: 14px;
  font-size: 15px;
  font-family: inherit;
}
.st-tag-add input:focus {
  outline: none;
  border-color: var(--st-accent);
  box-shadow: 0 0 0 4px var(--st-accent-soft);
}

.st-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 20px;
}

.st-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: var(--st-accent-soft);
  color: var(--st-accent-strong);
  border: 1px solid rgba(47, 134, 232, 0.25);
}

.st-tag button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: inherit;
  padding: 0 2px;
  opacity: 0.85;
}

/* preview card rechts/op mobiel onder */
.st-side-card {
  background: linear-gradient(145deg, #fff9f0 0%, #ffffff 65%);
  border: 1px solid rgba(224, 122, 60, 0.2);
  border-radius: var(--st-radius);
  padding: 20px;
  box-shadow: var(--st-shadow);
}

.st-side-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--st-muted);
}

.st-preview-locs {
  font-size: 15px;
  line-height: 1.55;
  color: var(--st-text);
}

/* ----- Stap 1: zoekgebied (splitpaneel + Leaflet-kaart) ----- */
.st-step1-card.st-card-shell {
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.07);
}

.st-step1-title {
  margin-bottom: 8px !important;
}

.st-step1-sub.st-panel-sub {
  max-width: none;
  margin-bottom: 22px;
}

.st-step1-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(28px, 5vw, 44px);
  align-items: stretch;
}

@media (max-width: 960px) {
  .st-step1-split {
    grid-template-columns: 1fr;
  }

  .st-step1-pane--map {
    order: 2;
  }

  .st-step1-pane--controls {
    order: 1;
  }
}

.st-step1-pane--controls {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.st-step1-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--st-muted);
  margin: 0 0 10px;
}

.st-step1-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-muted);
  margin-bottom: 8px;
}

.st-panel-tip {
  font-size: 12px;
  color: var(--st-muted);
  margin: 8px 0 0;
  line-height: 1.45;
}

.st-search-wrap {
  position: relative;
  margin-bottom: 16px;
}

#st-city-search {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--st-line);
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  background: var(--st-bg);
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}

#st-city-search:focus {
  outline: none;
  border-color: var(--st-accent);
  background: var(--st-card);
  box-shadow: 0 0 0 4px var(--st-accent-soft);
}

.st-geosuggest {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 80;
  max-height: 240px;
  overflow-y: auto;
  border-radius: 14px;
  border: 1px solid var(--st-line);
  background: var(--st-card);
  box-shadow: 0 12px 38px rgba(15, 23, 41, 0.12);
}

.st-geosuggest li button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--st-text);
  cursor: pointer;
  transition: background 0.12s ease;
}

.st-geosuggest li button:hover,
.st-geosuggest li button:focus-visible {
  outline: none;
  background: var(--st-accent-soft);
}

.st-geosuggest__sub {
  display: block;
  font-size: 12px;
  color: var(--st-muted);
  margin-top: 2px;
}

.st-loc-meta {
  padding: 16px;
  margin-bottom: 18px;
  border-radius: var(--st-radius);
  border: 1px solid rgba(224, 122, 60, 0.22);
  background: linear-gradient(135deg, #fff9f4 0%, #ffffff 92%);
}

.st-loc-meta__title {
  margin: 0 0 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.07em !important;
  color: var(--st-muted) !important;
}

.st-loc-meta__name {
  margin: 0 0 8px !important;
  font-size: 1.06rem !important;
  font-weight: 650 !important;
  color: var(--st-ink) !important;
}

.st-loc-meta__coords {
  margin: 0 0 10px !important;
  font-size: 13px !important;
  color: var(--st-muted);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.st-loc-meta__radius {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--st-accent-strong);
}

.st-loc-meta__radius-label {
  font-weight: 600;
  color: var(--st-muted);
}

.st-radius-block {
  margin-bottom: 14px;
}

.st-radius-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.st-radius-head label {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  color: var(--st-muted) !important;
}

.st-radius-live {
  font-weight: 700;
  font-size: 14px !important;
  color: var(--st-accent-strong);
}

#st-radius-slider {
  width: 100%;
  height: 32px;
  accent-color: var(--st-accent);
  cursor: pointer;
}

.st-radius-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px !important;
  color: var(--st-muted);
  margin: 4px 0 12px !important;
}

.st-step1-geolocate {
  align-self: flex-start;
  margin-bottom: 18px !important;
}

.st-side-preview--step1 {
  margin-top: 6px;
  border-radius: var(--st-radius);
  border: 1px solid rgba(47, 134, 232, 0.12);
  background: linear-gradient(160deg, #f5faff 0%, #fff 92%);
}

.st-side-preview--step1 h3 {
  margin-top: 0 !important;
  color: var(--st-accent-strong);
}

.st-hint-tight {
  margin-bottom: 0 !important;
  margin-top: 10px !important;
}

.st-map-shell {
  position: relative;
  border-radius: var(--st-radius-lg);
  overflow: hidden;
  border: 1px solid var(--st-line);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.7),
    0 10px 40px rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, var(--st-bg), #eaf0fb);
}

.st-map-banner {
  position: absolute;
  z-index: 500;
  top: 14px;
  left: 14px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--st-ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(224, 122, 60, 0.18);
  pointer-events: none;
}

.st-map-banner strong {
  color: var(--st-warm-dark);
  margin-left: 8px;
  font-weight: 800 !important;
}

.st-map-hint-footer {
  position: absolute;
  z-index: 500;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 !important;
  padding: 8px 12px !important;
  font-size: 11px !important;
  color: rgba(44, 56, 82, 0.78);
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.93));
}

.st-map.leaflet-container {
  min-height: 420px !important;
  height: clamp(340px, 52vh, 520px) !important;
  border-radius: 0;
}

@media (max-width: 960px) {
  .st-map.leaflet-container {
    height: clamp(260px, 46vh, 400px) !important;
    min-height: 260px !important;
  }
}

/* Custom Leaflet-marker (oranje WoonStroom-accent) */
.st-pin-marker-root {
  display: flex;
  align-items: center;
  justify-content: center;
}

.st-pin-marker {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: radial-gradient(circle at 30% 30%, var(--st-warm) 0%, #c45a21 92%);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  box-shadow:
    0 6px 18px rgba(224, 122, 60, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* ----- form fields ----- */
.st-field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.st-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-muted);
  margin-bottom: 8px;
}

.st-field select,
.st-field input[type="number"],
.st-field input[type="email"],
.st-field input[type="password"],
.st-field input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--st-line);
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  background: var(--st-bg);
}
.st-field select:focus,
.st-field input:focus {
  outline: none;
  border-color: var(--st-accent);
  background: var(--st-card);
  box-shadow: 0 0 0 4px var(--st-accent-soft);
}

/* selectable cards ----- */
.st-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.st-select-card {
  position: relative;
  cursor: pointer;
}

.st-select-card input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.st-select-card__ui {
  display: block;
  padding: 14px 14px;
  border: 2px solid var(--st-line);
  border-radius: 14px;
  background: var(--st-bg);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}

.st-select-card input:checked + .st-select-card__ui,
.st-select-card input:focus-visible + .st-select-card__ui {
  border-color: var(--st-accent);
  background: var(--st-accent-soft);
  box-shadow: 0 0 0 3px rgba(47, 134, 232, 0.12);
}

/* exclusion toggles */
.st-toggle-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.st-toggle {
  cursor: pointer;
  position: relative;
  display: block;
}

.st-toggle input.st-exc {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.st-toggle__ui {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--st-radius);
  border: 1px solid var(--st-line);
  background: var(--st-bg);
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}

.st-toggle input:checked + .st-toggle__ui {
  border-color: rgba(224, 122, 60, 0.4);
  background: #fffaf4;
  box-shadow: 0 4px 16px rgba(224, 122, 60, 0.08);
}

.st-toggle__sw {
  flex-shrink: 0;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: var(--st-line);
  position: relative;
  margin-top: 2px;
  transition: background 0.2s;
}
.st-toggle input:checked ~ .st-toggle__ui .st-toggle__sw {
  background: var(--st-warm);
}
.st-toggle__sw::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s;
}
.st-toggle input:checked ~ .st-toggle__ui .st-toggle__sw::after {
  transform: translateX(18px);
}

.st-toggle__body strong {
  display: block;
  font-size: 15px;
  color: var(--st-ink);
  margin-bottom: 4px;
}
.st-toggle__body span {
  font-size: 14px;
  color: var(--st-muted);
  line-height: 1.45;
}

.st-hint {
  font-size: 13px;
  color: var(--st-muted);
  margin-top: 20px;
  line-height: 1.5;
}

.st-badge-sample {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(15, 23, 42, 0.07);
  color: var(--st-muted);
  margin-bottom: 16px;
}

/* ----- preview stap mock listings ----- */
.st-mock-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 24px;
}

.st-mock-listing {
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 18px;
  background: var(--st-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-mock-listing.st-score-good {
  border-color: rgba(22, 163, 74, 0.25);
}
.st-mock-listing.st-score-warn {
  border-color: rgba(217, 119, 6, 0.3);
}
.st-mock-listing.st-score-bad {
  border-color: rgba(220, 38, 38, 0.25);
}

.st-mock-title {
  font-weight: 700;
  font-size: 15px;
  margin: 0;
}
.st-mock-meta {
  font-size: 13px;
  color: var(--st-muted);
  margin: 0;
}

.st-mock-score {
  align-self: flex-start;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
}
.st-score-good .st-mock-score {
  background: var(--st-good-soft);
  color: var(--st-good);
}
.st-score-warn .st-mock-score {
  background: var(--st-warn-soft);
  color: var(--st-warn);
}
.st-score-bad .st-mock-score {
  background: var(--st-bad-soft);
  color: var(--st-bad);
}

.st-mock-reasons {
  margin: 0;
  padding: 10px 10px 10px 24px;
  font-size: 13px;
  color: var(--st-muted);
  background: var(--st-bg);
  border-radius: 10px;
}

.st-notif-mock {
  border: 1px solid rgba(47, 134, 232, 0.25);
  border-radius: var(--st-radius);
  padding: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  margin-bottom: 16px;
  max-width: 420px;
}
.st-notif-mock h4 {
  margin: 0 0 6px;
  font-size: 15px;
}
.st-notif-mock p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--st-muted);
}

/* ----- pricing ----- */
.st-pricing-notes {
  text-align: center;
  font-size: 13px;
  color: var(--st-muted);
  margin: 0 0 20px;
  line-height: 1.65;
}

.st-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-bottom: 24px;
}

@media (max-width: 920px) {
  .st-plans {
    grid-template-columns: 1fr;
  }
}

.st-plan {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 2px solid var(--st-line);
  border-radius: var(--st-radius-lg);
  padding: 22px 20px;
  background: var(--st-card);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.1s;
  position: relative;
}

.st-plan:hover {
  box-shadow: var(--st-shadow);
}

.st-plan:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--st-accent-soft);
}

.st-plan.is-selected {
  border-color: var(--st-accent);
  box-shadow:
    0 0 0 4px var(--st-accent-soft),
    var(--st-shadow);
}

.st-plan[data-featured="1"] {
  border-color: rgba(224, 122, 60, 0.45);
  background: linear-gradient(165deg, #fffaf6 0%, #fff 50%);
}

.st-plan__ribbon {
  position: absolute;
  top: -1px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--st-warm);
  color: #fff;
  padding: 6px 12px;
  border-radius: 0 0 10px 10px;
}

.st-plan h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}
.st-plan__price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--st-ink);
  margin-bottom: 4px;
}
.st-plan__label {
  font-size: 13px;
  color: var(--st-muted);
  margin-bottom: 14px;
}
.st-plan ul {
  flex: 1 1 auto;
  margin: 0 0 14px;
  padding: 0 0 0 18px;
  font-size: 14px;
  color: var(--st-muted);
  line-height: 1.55;
}

.st-plan__pick {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--st-accent-strong);
  text-align: center;
}

.st-plan.is-selected .st-plan__pick {
  color: var(--st-accent-strong);
}

.st-pay-trust {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--st-text);
  margin-top: 8px;
}
.st-pay-trust li {
  list-style: none;
  padding-left: 22px;
  position: relative;
}
.st-pay-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-warm);
}

/* ----- account summary ----- */
.st-sum {
  background: var(--st-bg);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}
.st-sum h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--st-muted);
}
.st-sum dl {
  margin: 0;
}
.st-sum dt {
  font-weight: 700;
  color: var(--st-ink);
  margin-top: 10px;
}
.st-sum dt:first-child {
  margin-top: 0;
}
.st-sum dd {
  margin: 0;
  color: var(--st-muted);
}

.st-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 16px;
}
.st-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--st-accent-strong);
}

/* ----- success ----- */
.st-success-panel {
  text-align: center;
  padding: 32px 20px;
}

.st-success-panel h2 {
  margin: 0 0 10px;
  font-size: 1.65rem;
  color: var(--st-good);
}

.st-success-panel p {
  color: var(--st-muted);
  max-width: 480px;
  margin: 0 auto 22px;
}

.st-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ----- footer bar ----- */
.st-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px clamp(18px, 4vw, 28px);
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--st-line);
  backdrop-filter: blur(12px);
  z-index: 80;
}

.st-bar__inner {
  max-width: var(--st-maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.st-bar-note {
  font-size: 12px;
  color: var(--st-muted);
  flex: 1 1 200px;
  min-width: 0;
}

.st-bar-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.st-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition:
    opacity 0.15s,
    transform 0.08s;
}
.st-btn:active {
  transform: translateY(1px);
}

.st-btn--ghost {
  background: var(--st-bg);
  color: var(--st-text);
  border: 1px solid var(--st-line);
}
.st-btn--ghost:hover {
  border-color: var(--st-accent);
  color: var(--st-accent-strong);
}

.st-btn--secondary {
  background: var(--st-card);
  color: var(--st-text);
  border: 1px solid var(--st-line-strong, #c9cfdb);
  box-shadow: none;
}

.st-btn--secondary:hover:not(:disabled) {
  border-color: var(--st-accent);
  color: var(--st-accent-strong);
}

.st-btn--primary {
  background: linear-gradient(180deg, var(--st-accent) 0%, var(--st-accent-strong) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(47, 134, 232, 0.3);
}
.st-btn--primary:hover:not(:disabled) {
  opacity: 0.95;
}
.st-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .st-bar__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .st-bar-btns {
    width: 100%;
  }
  .st-bar-btns .st-btn {
    flex: 1 1 calc(50% - 10px);
  }
}
