/* ===================================================
   FREE SCAN · form, overlay and page
   Lives inside .q-page, so it uses the Quantum tokens.
   =================================================== */

/* ---------- form ---------- */
.fs { --p: 0; color: var(--text-primary); font-family: var(--font-body); }

/* progress rail */
.fs__rail { position: relative; margin-bottom: 30px; }
.fs__rail-track { position: absolute; left: 4px; right: 4px; top: 4px; height: 1px; background: rgba(255, 255, 255, 0.1); }
.fs__rail-track i {
  display: block;
  height: 100%;
  width: calc(var(--p) * 100%);
  background: var(--q-ice);
  transition: width 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fs__rail ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.fs__rail li {
  position: relative;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(234, 234, 240, 0.42);
  transition: color 0.3s ease;
}
.fs__rail li:nth-child(2) { text-align: center; }
.fs__rail li:nth-child(3) { text-align: right; }
.fs__rail li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--fs-bg, var(--bg-surface));
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.fs__rail li:nth-child(2)::before { left: 50%; margin-left: -4.5px; }
.fs__rail li:nth-child(3)::before { left: auto; right: 0; }
.fs__rail li.is-on { color: var(--text-primary); }
.fs__rail li.is-done { color: var(--text-secondary); }
.fs__rail li.is-on::before { border-color: var(--q-ice); box-shadow: 0 0 0 4px rgba(142, 197, 255, 0.12); transition-delay: 0.3s; }
.fs__rail li.is-done::before { background: var(--q-ice); box-shadow: none; }

/* steps stack in one cell, so the card never changes height */
.fs__stage { display: grid; }
.fs__step,
.fs__done {
  grid-area: 1 / 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 0.28s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s linear 0.45s;
}
.fs__step.is-past { transform: translateX(-28px); }
.fs__done { transform: translateY(14px); }
.fs__step.is-on,
.fs__done.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.36s ease 0.1s, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s, visibility 0s;
}

.fs__q {
  display: block;
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  outline: none;
}
.fs__hint { clear: both; margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
.fs__hint b { color: var(--text-primary); font-weight: 500; }

.fs__msg {
  min-height: 20px;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fs__msg.is-bad,
.fs__msg.is-good,
.fs__msg.is-info,
.fs__msg.is-warn { opacity: 1; transform: none; }
.fs__msg.is-bad { color: #FF9C92; }
.fs__msg.is-good { color: var(--q-ice); }
.fs__msg.is-warn { color: #F2C14E; }

.is-shake { animation: fsShake 0.36s ease; }
@keyframes fsShake { 20% { transform: translateX(-5px); } 45% { transform: translateX(4px); } 70% { transform: translateX(-2px); } 100% { transform: none; } }

/* ---------- domain chips ---------- */
.fs-chips {
  display: flex;
  align-items: flex-start;
  /* two rows reserved, so adding domains never moves the step */
  min-height: 96px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.fs-chips:focus-within { border-color: rgba(142, 197, 255, 0.55); box-shadow: 0 0 0 4px rgba(142, 197, 255, 0.1); }
.fs-chips.is-bad { border-color: rgba(255, 120, 110, 0.6); }
.fs-chips.is-bad:focus-within { box-shadow: 0 0 0 4px rgba(255, 120, 110, 0.1); }
.fs-chips__list { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; list-style: none; margin: 0; padding: 0; }
.fs-chips__entry { flex: 1; min-width: 150px; display: flex; }
.fs-chips.is-full .fs-chips__entry { flex: 0 0 0; min-width: 0; overflow: hidden; }
.fs-chips__input {
  width: 100%;
  height: 36px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text-primary);
  font: 500 16px/1.3 var(--font-body);
}
.fs-chips__input::placeholder { color: rgba(234, 234, 240, 0.32); font-weight: 400; }
.fs__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.fs__meta .fs__msg { flex: 1; }
.fs-chips__count {
  flex: none;
  margin-top: 6px;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.fs-dots { display: inline-flex; gap: 4px; }
.fs-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); transition: background 0.3s ease, transform 0.3s ease; }
.fs-dots i.is-on { background: var(--q-ice); }

.fs-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  padding: 0 4px 0 12px;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid rgba(142, 197, 255, 0.26);
  background: rgba(142, 197, 255, 0.09);
  color: var(--q-ice-bright);
  font: 500 15px/1 var(--font-body);
  animation: fsChipIn 0.38s cubic-bezier(0.2, 0.8, 0.25, 1.15);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
/* a quick sweep, as if the domain has just been read */
.fs-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(185, 220, 255, 0.28), transparent);
  transform: translateX(-100%);
  animation: fsSweep 0.8s ease-out 0.12s forwards;
}
.fs-chip button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.fs-chip button:hover,
.fs-chip button:focus-visible { opacity: 1; background: rgba(255, 255, 255, 0.08); outline: none; }
.fs-chip button svg { width: 14px; height: 14px; }
.fs-chip.is-armed { border-color: rgba(255, 120, 110, 0.45); background: rgba(255, 120, 110, 0.1); color: #FFB4AC; }
.fs-chip.is-out { animation: fsChipOut 0.2s ease forwards; }
.fs-chip.is-pulse { animation: fsPulse 0.5s ease; }
@keyframes fsChipIn { from { opacity: 0; transform: scale(0.86); } to { opacity: 1; transform: none; } }
@keyframes fsChipOut { to { opacity: 0; transform: scale(0.86); } }
@keyframes fsSweep { to { transform: translateX(100%); } }
@keyframes fsPulse { 40% { box-shadow: 0 0 0 4px rgba(142, 197, 255, 0.25); } }

/* what we look at */
.fs-scope {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
}
.fs-scope__t { margin: 0 0 12px; font-size: 14px; font-weight: 500; color: var(--text-primary); }
.fs-scope ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fs-scope li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-secondary); }
.fs-scope li svg { width: 18px; height: 18px; flex: none; color: var(--q-ice); }
.fs-scope__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ---------- fields ---------- */
.fs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.fs-field { min-width: 0; }
.fs-field--wide { grid-column: 1 / -1; }
.fs-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--text-primary); }
.fs-field label em,
.fs-check em { font-style: normal; font-weight: 400; color: rgba(234, 234, 240, 0.45); margin-left: 4px; }
.fs-field input,
.fs-field select,
.fs-field textarea {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font: 400 16px/1.4 var(--font-body);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.fs-field textarea { height: 86px; padding: 11px 14px; resize: none; line-height: 1.5; }
.fs-field input::placeholder,
.fs-field textarea::placeholder { color: rgba(234, 234, 240, 0.32); }
.fs-field input:hover,
.fs-field select:hover,
.fs-field textarea:hover { border-color: rgba(255, 255, 255, 0.2); }
.fs-field input:focus,
.fs-field select:focus,
.fs-field textarea:focus { border-color: rgba(142, 197, 255, 0.55); box-shadow: 0 0 0 4px rgba(142, 197, 255, 0.1); }
.fs-field.is-bad input,
.fs-field.is-bad select { border-color: rgba(255, 120, 110, 0.6); }
.fs-field.is-bad input:focus { box-shadow: 0 0 0 4px rgba(255, 120, 110, 0.1); }
/* allowed, but worth a second look */
.fs-field.is-warn input { border-color: rgba(242, 193, 78, 0.8); background: rgba(242, 193, 78, 0.05); }
.fs-field.is-warn input:focus { box-shadow: 0 0 0 4px rgba(242, 193, 78, 0.12); }
.fs-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text-primary);
  box-shadow: 0 0 0 100px #0F1118 inset;
  caret-color: var(--text-primary);
}
.fs-select { position: relative; display: block; }
.fs-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.fs-select select option { background: #111118; color: var(--text-primary); }
.fs-select::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -6px;
  border-right: 1.5px solid var(--text-secondary);
  border-bottom: 1.5px solid var(--text-secondary);
  transform: rotate(45deg);
  pointer-events: none;
}

/* ---------- tags ---------- */
.fs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.fs-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 14px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font: 500 14px/1 var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.fs-tag::before {
  content: '';
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: center / 10px no-repeat;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.fs-tag:hover { border-color: rgba(255, 255, 255, 0.24); color: var(--text-primary); }
.fs-tag:active { transform: scale(0.97); }
.fs-tag:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(142, 197, 255, 0.3); }
.fs-tag[aria-pressed="true"] { border-color: rgba(142, 197, 255, 0.45); background: rgba(142, 197, 255, 0.1); color: var(--q-ice-bright); }
.fs-tag[aria-pressed="true"]::before {
  border-color: var(--q-ice);
  background-color: var(--q-ice);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2304070D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E");
}

/* ---------- checkbox ---------- */
.fs-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-primary);
  cursor: pointer;
}
.fs-check input { position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; }
.fs-check__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  color: #04070D;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.fs-check__box svg { width: 14px; height: 14px; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset 0.3s ease 0.05s; }
.fs-check:hover .fs-check__box { border-color: rgba(255, 255, 255, 0.45); }
.fs-check input:checked + .fs-check__box { background: var(--q-ice); border-color: var(--q-ice); }
.fs-check input:checked + .fs-check__box svg { stroke-dashoffset: 0; }
.fs-check input:focus-visible + .fs-check__box { box-shadow: 0 0 0 4px rgba(142, 197, 255, 0.22); }
.fs-check.is-bad .fs-check__box { border-color: rgba(255, 120, 110, 0.7); }

/* privacy line and error share one cell */
.fs__tail { display: grid; }
.fs__fine,
.fs__alert {
  grid-area: 1 / 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  transition: opacity 0.25s ease;
}
.fs__fine { color: var(--text-secondary); }
.fs__fine a,
.fs__alert a { color: var(--text-primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(234, 234, 240, 0.3); }
.fs__alert { color: #FFB4AC; opacity: 0; }
.fs.has-alert .fs__alert { opacity: 1; }
.fs.has-alert .fs__fine { opacity: 0; }

/* ---------- footer ---------- */
.fs__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  transition: opacity 0.3s ease, visibility 0s;
}
.fs__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  border: 0;
  background: none;
  color: var(--text-secondary);
  font: 500 14.5px/1 var(--font-body);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.3s ease, color 0.2s ease;
}
.fs__back svg { width: 15px; height: 15px; transition: transform 0.25s ease; }
.fs__back:hover { color: var(--text-primary); }
.fs__back:hover svg { transform: translateX(-3px); }
.fs.has-back .fs__back { opacity: 1; pointer-events: auto; transform: none; }
.fs__next { min-width: 170px; justify-content: center; }
.fs__next > svg { transition: transform 0.25s ease, opacity 0.2s ease; }
.fs__next:hover > svg { transform: translateX(3px); }
.fs__labels { display: grid; }
.fs__labels > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.3s ease;
}
.fs__labels > span.is-on { opacity: 1; transform: none; }
.fs.is-busy .fs__next { pointer-events: none; }
.fs.is-busy .fs__next > svg { opacity: 0; }
.fs-spin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(4, 7, 13, 0.22);
  border-top-color: #04070D;
  animation: fsSpin 0.7s linear infinite;
}
@keyframes fsSpin { to { transform: rotate(360deg); } }
.fs.is-done .fs__foot { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }

.fs__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- done ---------- */
.fs-tick { display: block; width: 52px; height: 52px; margin-bottom: 18px; }
.fs-tick circle { fill: rgba(142, 197, 255, 0.08); stroke: var(--q-ice); stroke-width: 1.5; stroke-dasharray: 164; stroke-dashoffset: 164; }
.fs-tick path { fill: none; stroke: var(--q-ice-bright); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; }
.fs__done.is-on .fs-tick circle { animation: fsDraw 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.15s forwards; }
.fs__done.is-on .fs-tick path { animation: fsDraw 0.4s ease-out 0.65s forwards; }
@keyframes fsDraw { to { stroke-dashoffset: 0; } }

.fs-next { list-style: none; margin: 22px 0 18px; padding: 0; }
.fs-next li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; opacity: 0; }
.fs-next li:last-child { padding-bottom: 0; }
.fs-next li i {
  position: relative;
  z-index: 1;
  flex: none;
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1px solid var(--q-ice);
  background: var(--fs-bg, var(--bg-surface));
}
.fs-next li:first-child i { background: var(--q-ice); box-shadow: 0 0 0 4px rgba(142, 197, 255, 0.14); }
.fs-next li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 17px;
  bottom: -6px;
  width: 1px;
  background: rgba(142, 197, 255, 0.28);
  transform: scaleY(0);
  transform-origin: top;
}
.fs-next b { display: block; font-size: 15px; font-weight: 500; color: var(--text-primary); }
.fs-next span { font-size: 14px; color: var(--text-secondary); }
.fs__done.is-on .fs-next li { animation: fsRise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.fs__done.is-on .fs-next li:nth-child(1) { animation-delay: 0.85s; }
.fs__done.is-on .fs-next li:nth-child(2) { animation-delay: 1.05s; }
.fs__done.is-on .fs-next li:nth-child(3) { animation-delay: 1.25s; }
.fs__done.is-on .fs-next li::before { animation: fsLine 0.4s ease-out forwards; }
.fs__done.is-on .fs-next li:nth-child(1)::before { animation-delay: 1.05s; }
.fs__done.is-on .fs-next li:nth-child(2)::before { animation-delay: 1.25s; }
@keyframes fsRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fsLine { to { transform: scaleY(1); } }
.fs__ref { margin: 0; font-size: 13.5px; color: var(--text-secondary); }
.fs__ref span { margin-left: 4px; color: var(--text-primary); font-family: var(--q-font-code); letter-spacing: 0.02em; }

/* ---------------------------------------------------
   Overlay
   --------------------------------------------------- */
html.fs-lock { overflow: hidden; }
.fs-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 32px 24px;
  border: 0;
  background: rgba(3, 4, 8, 0);
  color: var(--text-primary);
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: background 0.3s ease;
}
.fs-dialog[open] { display: flex; }
.fs-dialog::backdrop { background: transparent; }
.fs-dialog.is-in { background: rgba(3, 4, 8, 0.76); }
.fs-dialog__panel {
  --fs-bg: #0C0D13;
  position: relative;
  width: min(100%, 600px);
  margin: auto;
  padding: 28px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--fs-bg);
  box-shadow: 0 40px 120px -24px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.28s ease, transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.fs-dialog.is-in .fs-dialog__panel { opacity: 1; transform: none; }
.fs-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.fs-dialog__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.fs-dialog__head p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--text-secondary); }
.fs-dialog__x {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.fs-dialog__x svg { width: 16px; height: 16px; }
.fs-dialog__x:hover { color: var(--text-primary); border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.03); }

/* ---------------------------------------------------
   Page: /quantum/free-scan
   --------------------------------------------------- */
.fsp {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 112px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.fsp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.fsp__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, min(4.4vw, 7vh), 60px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 10em;
  text-wrap: balance;
}
.fsp__sub { margin: 0 0 36px; max-width: 460px; font-size: 17px; line-height: 1.6; color: var(--text-secondary); }

.fsp__how { list-style: none; margin: 0; padding: 0; max-width: 440px; }
.fsp__how li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.fsp__how li:last-child { padding-bottom: 0; }
.fsp__how li > i {
  position: relative;
  z-index: 1;
  flex: none;
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1px solid var(--q-ice);
  background: var(--bg-void);
}
.fsp__how li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 17px;
  bottom: -6px;
  width: 1px;
  background: rgba(142, 197, 255, 0.22);
}
.fsp__how b { display: block; font-size: 15.5px; font-weight: 500; color: var(--text-primary); }
.fsp__how span { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }

.fsp__side { position: relative; }
.fsp__rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: -1; pointer-events: none; }
.fsp__rings i { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(142, 197, 255, 0.1); }
.fsp__rings i:nth-child(1) { width: 760px; height: 760px; }
.fsp__rings i:nth-child(2) { width: 1040px; height: 1040px; border-style: dashed; border-color: rgba(142, 197, 255, 0.07); animation: fspSpin 160s linear infinite; }
@keyframes fspSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.fsp__card {
  --fs-bg: #0A0B10;
  position: relative;
  padding: 30px 32px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--fs-bg);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(142, 197, 255, 0.03);
}
.fsp__card noscript p { font-size: 15px; color: var(--text-secondary); }
.fsp__card noscript a { color: var(--q-ice); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .fsp { align-items: flex-start; padding-top: 104px; }
  .fsp__grid { grid-template-columns: 1fr; gap: 40px; }
  .fsp__copy { max-width: 620px; }
  .fsp__how { display: none; }
  .fsp__sub { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .fsp { padding: 96px 0 40px; }
  .fsp__card { padding: 22px 18px 4px; margin: 0 -8px; }
  .fsp__sub { font-size: 15.5px; }
  .fsp__rings { display: none; }

  .fs__q { font-size: 20px; }
  .fs__grid { grid-template-columns: 1fr; }
  .fs__next { min-width: 150px; }

  /* the action row stays reachable while the form scrolls */
  .fs__foot {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-top: 18px;
    padding: 14px 0 16px;
    background: var(--fs-bg, var(--bg-surface));
  }

  .fs-dialog { padding: 0; }
  .fs-dialog[open] { display: block; }
  .fs-dialog__panel {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 20px 18px 0;
    border-radius: 0;
    border: 0;
    transform: translateY(32px);
  }
  .fs-dialog__head { margin-bottom: 22px; }
  .fs-dialog__head h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .fs__step, .fs__done, .fs-dialog__panel, .fs-chip, .fs__labels > span { transition: none !important; animation: none !important; transform: none !important; }
  .fs-chip::after, .fsp__rings i { animation: none; display: none; }
  .fs-tick circle, .fs-tick path { animation: none !important; stroke-dashoffset: 0; }
  .fs-next li { animation: none !important; opacity: 1; }
  .fs-next li::before { animation: none !important; transform: none; }
}
