/* alexaero customer page — bespoke, not the console's admin styling */
:root {
  --bg: #090b10;
  --ink: #eef1f7;
  --ink-dim: #aab2c3;
  --ink-faint: #6f7788;
  --card: rgba(20, 24, 33, .72);
  --card-solid: #141821;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --brand: #8a9bff;
  --brand-2: #38d0c8;
  --brand-3: #f6c177;
  --ok: #45d19a;
  --bad: #ff7a7a;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
button, input { font: inherit; color: inherit; }
::selection { background: rgba(138, 155, 255, .35); }

/* aurora backdrop */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; filter: blur(70px); opacity: .55; }
.aurora span { position: absolute; display: block; border-radius: 50%; }
.aurora span:nth-child(1) { width: 60vw; height: 60vw; left: -15vw; top: -25vw; background: radial-gradient(circle, #3b4bd8, transparent 62%); }
.aurora span:nth-child(2) { width: 45vw; height: 45vw; right: -12vw; top: 8vw; background: radial-gradient(circle, #1b8f88, transparent 62%); }
.aurora span:nth-child(3) { width: 40vw; height: 40vw; left: 22vw; bottom: -22vw; background: radial-gradient(circle, #6a4bd8, transparent 60%); }

/* header / footer */
.site { display: flex; align-items: center; gap: 12px; padding: 22px 26px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; letter-spacing: -.02em; font-size: 17px; color: var(--ink); text-decoration: none; }
.wordmark .mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.wordmark .mark svg { width: 15px; height: 15px; fill: #0a0c10; }
.tag { margin-left: auto; font-size: 12px; letter-spacing: .04em; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.site-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 26px 20px 30px; color: var(--ink-faint); font-size: 12.5px; text-align: center; }
.site-foot .dotsep { opacity: .5; }

/* stage + panel */
main#stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px 18px 30px; }
.panel {
  width: 100%;
  max-width: 540px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(16px) saturate(1.2);
  animation: rise .5s cubic-bezier(.2, .7, .3, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); font-weight: 640; }
.panel h1 { margin: 0 0 10px; font-size: 27px; line-height: 1.15; letter-spacing: -.025em; }
.lede { margin: 0 0 24px; color: var(--ink-dim); font-size: 15px; }

/* form */
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 12.5px; font-weight: 560; color: var(--ink-dim); margin-bottom: 7px; }
.field input {
  width: 100%; background: rgba(9, 11, 16, .6); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; font-size: 15px;
}
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(138, 155, 255, .16); }
.err { color: var(--bad); font-size: 13.5px; min-height: 20px; margin: 2px 0 10px; }
.cta {
  position: relative; width: 100%; border: 0; cursor: pointer; border-radius: 12px; padding: 13px;
  font-weight: 640; font-size: 15px; color: #0a0c10; letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); transition: transform .06s, filter .15s, opacity .15s;
}
.cta:hover { filter: brightness(1.07); }
.cta:active { transform: translateY(1px); }
.cta:disabled { opacity: .6; cursor: default; filter: none; }
.assurance { display: flex; gap: 11px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 12.5px; }
.assurance svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2; margin-top: 1px; }
.assurance p { margin: 0; }

/* ready view */
.ready h1 { margin-bottom: 6px; }
.ready .lede { margin-bottom: 20px; }
.qr-frame {
  width: fit-content; margin: 0 auto 20px; padding: 14px; border-radius: 18px; background: #fff;
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
}
.qr-frame img { display: block; width: 208px; height: 208px; }
.qr-cap { text-align: center; margin: -10px 0 20px; font-size: 12.5px; color: var(--ink-faint); }
.download {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; border: 0; cursor: pointer;
  border-radius: 12px; padding: 14px; font-weight: 640; font-size: 15px; color: #0a0c10;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); text-decoration: none; transition: filter .15s, transform .06s;
}
.download:hover { filter: brightness(1.07); }
.download:active { transform: translateY(1px); }
.download svg { width: 18px; height: 18px; fill: none; stroke: #0a0c10; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.facts .cell { background: rgba(9, 11, 16, .5); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; min-width: 0; }
.facts .cell.wide { grid-column: 1 / -1; }
.facts .k { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); }
.facts .v { margin-top: 4px; font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.facts .v .copybtn { float: right; margin-left: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-dim); border-radius: 7px; font-size: 11px; padding: 1px 8px; cursor: pointer; font-family: var(--sans); }
.facts .v .copybtn:hover { color: var(--ink); border-color: var(--brand); }

.block-title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 640; margin: 22px 0 12px; }
.ostabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.ostab { border: 1px solid var(--line-2); background: transparent; color: var(--ink-dim); border-radius: 999px; padding: 6px 13px; font-size: 13px; cursor: pointer; transition: all .12s; }
.ostab:hover { color: var(--ink); }
.ostab.on { background: rgba(138, 155, 255, .16); border-color: rgba(138, 155, 255, .5); color: #fff; }
.steps { margin: 0; padding: 0; counter-reset: s; list-style: none; }
.steps li { position: relative; padding: 0 0 14px 40px; color: var(--ink-dim); font-size: 14.5px; }
.steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 26px; height: 26px;
  border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 680; color: var(--brand);
  background: rgba(138, 155, 255, .12); border: 1px solid rgba(138, 155, 255, .3);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 26px; bottom: 2px; width: 1px; background: var(--line-2); }
.steps code { font-family: var(--mono); font-size: 12.5px; background: rgba(9, 11, 16, .6); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); overflow-wrap: anywhere; }

.usenote { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(9, 11, 16, .5); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-dim); }
.usenote b { color: var(--ink); font-weight: 620; }
.usenote .warn { color: var(--brand-3); }

.small-note { text-align: center; color: var(--ink-faint); font-size: 12.5px; margin-top: 14px; }

@media (max-width: 480px) {
  .site { padding: 18px 18px; }
  .panel { padding: 26px 20px; border-radius: 18px; }
  .panel h1 { font-size: 23px; }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
