:root {
  --bg: #0e1522;
  --surface: #182334;
  --surface-2: #223249;
  --text: #f5f7fb;
  --muted: #aab7ca;
  --accent: #55d7e8;
  --accent-2: #9474ff;
  --success: #5ed6a5;
  --border: rgba(255,255,255,.09);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 4%, rgba(148,116,255,.22), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(85,215,232,.14), transparent 38%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button { font: inherit; }
.app { width: min(100%, 600px); margin: 0 auto; padding: 18px 16px 30px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 14px; color: #07131b; font-weight: 900; font-size: 23px;
  background: linear-gradient(135deg, var(--accent), #c1f6ff);
  box-shadow: 0 8px 26px rgba(85,215,232,.2);
}
.brand-name { font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.brand-subtitle { color: var(--muted); font-size: 13px; margin-top: 3px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { font-size: 28px; line-height: 1.12; margin: 8px 0 8px; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.45; margin: 0 0 22px; }
.progress { display: flex; gap: 7px; margin: 0 0 24px; }
.progress span { height: 4px; flex: 1; border-radius: 99px; background: rgba(255,255,255,.1); }
.progress span.active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.options { display: grid; gap: 10px; }
.option {
  width: 100%; display: flex; align-items: center; gap: 14px; min-height: 70px;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 18px;
  color: var(--text); text-align: left; background: rgba(24,35,52,.92);
  box-shadow: 0 8px 30px rgba(0,0,0,.12); cursor: pointer;
}
.option:active { transform: scale(.985); background: var(--surface-2); }
.option-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 13px; background: var(--surface-2); font-size: 21px; }
.option-title { display: block; font-weight: 750; font-size: 17px; }
.option-subtitle { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.arrow { margin-left: auto; color: var(--muted); font-size: 21px; }
.back { margin-top: 14px; border: 0; padding: 12px 2px; background: transparent; color: var(--muted); cursor: pointer; }
.summary { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 18px; }
.chip { color: #dce7f6; background: var(--surface-2); border: 1px solid var(--border); border-radius: 99px; padding: 7px 10px; font-size: 13px; }
.price-card { margin-top: 12px; padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: rgba(24,35,52,.94); }
.variant-label { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.variant-title { margin: 6px 0 13px; font-size: 18px; line-height: 1.3; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--border); }
.price-row span { color: var(--muted); }
.price-row strong { white-space: nowrap; }
.note { color: var(--muted); line-height: 1.45; font-size: 14px; margin: 16px 2px 0; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.action { border: 0; min-height: 52px; border-radius: 15px; padding: 10px 12px; color: #07131b; font-weight: 800; cursor: pointer; }
.action.copy { background: var(--success); }
.action.share { background: linear-gradient(135deg, var(--accent), #9aebf6); }
.restart { grid-column: 1 / -1; color: var(--muted); background: transparent; border: 1px solid var(--border); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 15px; border-radius: 12px; background: #f5f7fb; color: #101827; font-weight: 700; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.error { padding: 18px; border-radius: 16px; background: rgba(255,90,90,.12); color: #ffc3c3; }

@media (max-width: 390px) {
  h1 { font-size: 25px; }
  .actions { grid-template-columns: 1fr; }
  .restart { grid-column: auto; }
}
