/* Tawazon — workplace needs survey (survey.html). All classes are prefixed sv- */
.sv {
  position: relative;
  padding: 150px 0 120px;
  min-height: 100vh;
}
.sv [hidden] {
  display: none !important;
}
.sv-stage {
  animation: svIn 0.7s var(--ease) both;
}
@keyframes svIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.sv-crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 22px;
}
.sv-crumb a:hover {
  color: var(--brand);
}
.sv-crumb i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mute);
}

/* ---------- gate ---------- */
.sv-gate {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.sv-gate h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin: 18px 0 18px;
}
.sv-gate h1 b {
  background: var(--sig);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sv-lead {
  font-size: 18px;
  line-height: 1.9;
  color: var(--slate);
  max-width: 560px;
  margin: 0;
}
.sv-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.sv-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
}
.sv-trust svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sv-code {
  padding: 38px 36px 34px;
  border-radius: 32px;
  animation: none !important;
}
.sv-code .sv-ic {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4c3492, #916fb1);
  box-shadow: 0 14px 30px rgba(77, 52, 146, 0.3);
  margin-bottom: 20px;
}
.sv-code .sv-ic svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sv-code h2 {
  font-size: 26px;
  margin: 0 0 8px;
}
.sv-code p {
  margin: 0 0 24px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.8;
}
.sv-field {
  position: relative;
}
.sv-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--heading);
  margin-bottom: 10px;
}
.sv-in {
  width: 100%;
  height: 68px;
  border-radius: 20px;
  border: 1.5px solid var(--lav200);
  background: #fff;
  font:
    700 24px/1 'Bahnschrift',
    'Segoe UI',
    sans-serif;
  letter-spacing: 4px;
  text-align: center;
  color: var(--heading);
  direction: ltr;
  text-transform: uppercase;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.sv-in::placeholder {
  color: #c9c4dd;
  letter-spacing: 4px;
}
.sv-in:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 5px rgba(76, 52, 146, 0.12);
}
.sv-field.bad .sv-in {
  border-color: #d9342b;
  box-shadow: 0 0 0 5px rgba(217, 52, 43, 0.1);
  animation: svShake 0.4s;
}
@keyframes svShake {
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}
.sv-err {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #c3291f;
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px;
  min-height: 22px;
}
.sv-help {
  font-size: 13px;
  color: var(--mute);
  margin-top: 6px;
  line-height: 1.7;
}
.sv-demo {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--lav50);
  border: 1px dashed var(--lav200);
  font-size: 13px;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sv-demo button {
  border: 0;
  background: #fff;
  color: var(--brand);
  font:
    700 13px 'Bahnschrift',
    sans-serif;
  letter-spacing: 1px;
  padding: 7px 12px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(77, 52, 146, 0.1);
  direction: ltr;
}
.sv-go {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  height: 58px;
  font-size: 17px;
}
.sv-go[disabled] {
  opacity: 0.55;
  pointer-events: none;
}
.sv-go .sv-spin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: svSpin 0.8s linear infinite;
}
@keyframes svSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- intro ---------- */
.sv-intro {
  max-width: 1080px;
  margin-inline: auto;
}
.sv-co {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(77, 52, 146, 0.08);
  font-size: 14px;
  color: var(--slate);
}
.sv-co b {
  color: var(--heading);
}
.sv-co .sv-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lav100);
  color: var(--brand);
}
.sv-co .sv-av svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.sv-intro h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  margin: 22px 0 14px;
  line-height: 1.2;
}
.sv-axes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 40px 0 28px;
}
.sv-ax {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #fff;
  box-shadow: 0 10px 30px rgba(77, 52, 146, 0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}
.sv-ax .k {
  font:
    700 13px 'Bahnschrift',
    sans-serif;
  color: var(--orange);
}
.sv-ax .ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--lav100);
}
.sv-ax .ic svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sv-ax h3 {
  font-size: 16px;
  line-height: 1.5;
}
.sv-ax small {
  color: var(--mute);
  font-size: 13px;
  margin-top: auto;
}
.sv-ax.lead {
  background: linear-gradient(150deg, #4c3492, #6e4fb0 60%, #916fb1);
  color: #fff;
  border: 0;
}
.sv-ax.lead h3 {
  color: #fff;
  font-size: 20px;
}
.sv-ax.lead p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}
.sv-priv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}
.sv-priv div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: var(--lav50);
  border: 1px solid var(--lav100);
}
.sv-priv svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}
.sv-priv b {
  display: block;
  font-size: 15px;
  color: var(--heading);
  margin-bottom: 4px;
}
.sv-priv span {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.7;
}
.sv-start {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.sv-start small {
  color: var(--mute);
  font-size: 14px;
}

/* ---------- runner ---------- */
.sv-run {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: start;
}
.sv-rail {
  position: sticky;
  top: 110px;
  padding: 22px 18px;
  border-radius: 28px;
  animation: none !important;
}
.sv-tot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 6px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.sv-ring {
  position: relative;
  width: 62px;
  height: 62px;
  flex: none;
}
.sv-ring svg {
  width: 62px;
  height: 62px;
  transform: rotate(-90deg);
}
.sv-ring circle {
  fill: none;
  stroke-width: 6;
}
.sv-ring .bg {
  stroke: var(--lav100);
}
.sv-ring .fg {
  stroke: url(#svG);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s var(--ease);
}
.sv-ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font:
    700 15px 'Bahnschrift',
    sans-serif;
  color: var(--heading);
}
.sv-tot div b {
  display: block;
  font-size: 15px;
  color: var(--heading);
}
.sv-tot div small {
  font-size: 13px;
  color: var(--mute);
}
.sv-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sv-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 16px;
  font-size: 14px;
  color: var(--slate);
  transition: background 0.3s;
}
.sv-steps li .n {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--lav50);
  border: 1px solid var(--lav100);
}
.sv-steps li .n svg {
  width: 17px;
  height: 17px;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sv-steps li .t {
  flex: 1;
  line-height: 1.45;
}
.sv-steps li .bar {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: var(--lav100);
  margin-top: 6px;
  overflow: hidden;
}
.sv-steps li .bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: var(--sig);
  transition: width 0.6s var(--ease);
  margin-inline-start: auto;
  margin-inline-end: 0;
}
.sv-steps li.on {
  background: #fff;
  color: var(--heading);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(77, 52, 146, 0.08);
}
.sv-steps li.on .n {
  background: linear-gradient(135deg, #4c3492, #916fb1);
  border: 0;
}
.sv-steps li.on .n svg {
  stroke: #fff;
}
.sv-steps li.done .n {
  background: #e9f6e4;
  border-color: #cdebc2;
}
.sv-steps li.done .n svg {
  stroke: #3f8f2a;
}
.sv-save {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--mute);
  padding: 14px 6px 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.sv-save i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(120, 195, 98, 0.18);
}

.sv-head {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  padding: 26px 30px;
  margin-bottom: 22px;
  color: #fff;
  isolation: isolate;
}
.sv-head img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.sv-head:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    270deg,
    rgba(43, 26, 90, 0.92) 0%,
    rgba(43, 26, 90, 0.72) 45%,
    rgba(43, 26, 90, 0.15) 100%
  );
}
.sv-head .ax {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.sv-head h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  margin: 12px 0 4px;
  line-height: 1.3;
}
.sv-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}
.sv-head .pg {
  position: absolute;
  top: 22px;
  left: 26px;
  font:
    700 13px 'Bahnschrift',
    sans-serif;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  direction: rtl;
}

.sv-safe {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 20px;
  background: #f1eefb;
  border: 1px solid var(--lav200);
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--heading);
}
.sv-safe svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

.sv-qs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sv-q {
  position: relative;
  padding: 26px 28px 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #fff;
  box-shadow: 0 10px 30px rgba(77, 52, 146, 0.06);
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
  animation: svIn 0.55s var(--ease) both;
}
.sv-q.ok {
  border-color: #fff;
}
.sv-q.miss {
  border-color: #f3b9b4;
  box-shadow:
    0 0 0 4px rgba(217, 52, 43, 0.07),
    0 10px 30px rgba(77, 52, 146, 0.06);
}
.sv-qh {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.sv-qn {
  flex: none;
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font:
    700 13px 'Bahnschrift',
    sans-serif;
  color: var(--brand);
  background: var(--lav100);
}
.sv-q.ok .sv-qn {
  background: var(--brand);
  color: #fff;
}
.sv-qt {
  flex: 1;
}
.sv-qt h3 {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 700;
}
.sv-qt small {
  display: block;
  color: var(--mute);
  font-size: 13.5px;
  margin-top: 4px;
  line-height: 1.7;
}
.sv-q .sv-req {
  display: none;
  color: #c3291f;
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}
.sv-q.miss .sv-req {
  display: block;
}
.sv-q.cond {
  border-style: dashed;
  border-color: var(--lav200);
}
.sv-cond {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* options: chips */
.sv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sv-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: 600 15px var(--font);
  color: var(--heading);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.12s,
    box-shadow 0.2s;
  text-align: right;
  line-height: 1.5;
}
.sv-chip:hover {
  border-color: var(--lav400);
}
.sv-chip:active {
  transform: scale(0.98);
}
.sv-chip .dot {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--lav200);
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.sv-chip .dot:after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform 0.2s;
}
.sv-chip.box .dot {
  border-radius: 6px;
}
.sv-chip.box .dot:after {
  width: 10px;
  height: 6px;
  border-radius: 0;
  background: none;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  margin-top: -2px;
}
.sv-chip[aria-checked='true'] {
  border-color: var(--brand);
  background: #f4f1fc;
  box-shadow: 0 6px 16px rgba(76, 52, 146, 0.12);
}
.sv-chip[aria-checked='true'] .dot {
  border-color: var(--brand);
  background: var(--brand);
}
.sv-chip[aria-checked='true'] .dot:after {
  transform: scale(1);
}
.sv-chip.box[aria-checked='true'] .dot:after {
  transform: rotate(-45deg) scale(1);
}
.sv-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.sv-list.two {
  grid-template-columns: 1fr 1fr;
}
.sv-list .sv-chip {
  width: 100%;
}
.sv-yn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 420px;
}
.sv-yn .sv-chip {
  justify-content: center;
  padding: 16px;
  font-size: 16px;
}

/* options: graded scale */
.sv-scale {
  display: grid;
  grid-template-columns: repeat(var(--n), 1fr);
  gap: 8px;
}
.sv-sc {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 8px 14px;
  border-radius: 18px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  text-align: center;
  font: 600 14px/1.45 var(--font);
  color: var(--heading);
  transition: all 0.2s;
}
.sv-sc:hover {
  border-color: var(--lav400);
}
.sv-sc .bub {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--lav200);
  display: grid;
  place-items: center;
  font:
    700 13px 'Bahnschrift',
    sans-serif;
  color: var(--mute);
  transition: all 0.25s var(--ease);
  background: #fff;
}
.sv-sc small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mute);
  line-height: 1.5;
}
.sv-sc[aria-checked='true'] {
  border-color: transparent;
  background: linear-gradient(160deg, #4c3492, #6e4fb0);
  color: #fff;
  box-shadow: 0 12px 26px rgba(76, 52, 146, 0.28);
}
.sv-sc[aria-checked='true'] small {
  color: rgba(255, 255, 255, 0.8);
}
.sv-sc[aria-checked='true'] .bub {
  border-color: #fff;
  background: #fff;
  color: var(--brand);
  transform: scale(1.1);
}
.sv-sc.na {
  background: var(--lav50);
}
.sv-scale.wide .sv-sc {
  padding-inline: 6px;
}

/* matrix */
.sv-mx {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sv-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--lav50);
  font-size: 12.5px;
  color: var(--slate);
  margin-bottom: 6px;
}
.sv-legend b {
  color: var(--brand);
  font-family: 'Bahnschrift', sans-serif;
}
.sv-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid var(--line);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.sv-row.ok {
  border-color: #dcd4f3;
  background: #fcfbff;
}
.sv-row.miss {
  border-color: #f3b9b4;
}
.sv-row > span {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.6;
}
.sv-seg {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sv-seg button {
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: 600 13px var(--font);
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.sv-seg button:hover {
  border-color: var(--lav400);
  color: var(--heading);
}
.sv-seg button[aria-checked='true'] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(76, 52, 146, 0.25);
}
.sv-seg.num button {
  font-family: 'Bahnschrift', sans-serif;
  font-size: 15px;
  min-width: 40px;
  padding: 0;
}

/* number */
.sv-num {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.sv-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid var(--line);
}
.sv-step button {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 0;
  background: var(--lav50);
  color: var(--brand);
  font:
    700 22px/1 'Bahnschrift',
    sans-serif;
  transition: background 0.2s;
}
.sv-step button:hover {
  background: var(--lav100);
}
.sv-step input {
  width: 86px;
  height: 46px;
  border: 0;
  text-align: center;
  font:
    700 26px 'Bahnschrift',
    sans-serif;
  color: var(--heading);
  background: transparent;
  direction: ltr;
  -moz-appearance: textfield;
}
.sv-step input::-webkit-inner-spin-button,
.sv-step input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
.sv-step input:focus {
  outline: none;
}
.sv-unit {
  font-size: 15px;
  color: var(--slate);
  font-weight: 600;
}
.sv-range {
  flex: 1;
  min-width: 220px;
}
.sv-range input {
  width: 100%;
  accent-color: var(--brand);
}
.sv-range .ends {
  display: flex;
  justify-content: space-between;
  font:
    600 12px 'Bahnschrift',
    sans-serif;
  color: var(--mute);
  direction: ltr;
}
.sv-days {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  direction: rtl;
}
.sv-days button {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  font:
    700 18px 'Bahnschrift',
    sans-serif;
  color: var(--heading);
  cursor: pointer;
  transition: all 0.2s;
}
.sv-days button[aria-checked='true'] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(76, 52, 146, 0.25);
}

/* counts */
.sv-counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sv-cnt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid var(--line);
  transition: opacity 0.3s;
}
.sv-cnt span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.5;
}
.sv-cnt .sv-step {
  padding: 4px;
  border-radius: 14px;
}
.sv-cnt .sv-step button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 18px;
}
.sv-cnt .sv-step input {
  width: 44px;
  height: 36px;
  font-size: 20px;
}
.sv-counts.off .sv-cnt {
  opacity: 0.4;
  pointer-events: none;
}
.sv-none {
  margin-top: 12px;
}

/* nav */
.sv-nav {
  position: sticky;
  bottom: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 12px 12px 12px 14px;
  border-radius: 24px;
  animation: none !important;
}
.sv-nav .cnt {
  font-size: 14px;
  color: var(--slate);
}
.sv-nav .cnt b {
  color: var(--heading);
  font-family: 'Bahnschrift', sans-serif;
}
.sv-nav .r {
  display: flex;
  gap: 10px;
}
.sv-nav .btn {
  padding: 13px 22px;
}
.sv-nav .btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sv-nav .back svg {
  transform: scaleX(-1);
}

/* axis interstitial */
.sv-break {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  padding: 48px;
}
.sv-break img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.04);
  animation: svZoom 9s ease-out both;
}
@keyframes svZoom {
  to {
    transform: scale(1);
  }
}
.sv-break:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(270deg, rgba(43, 26, 90, 0.94), rgba(43, 26, 90, 0.7) 50%, rgba(43, 26, 90, 0.2));
}
.sv-break .in {
  max-width: 520px;
}
.sv-break .k {
  font:
    700 15px 'Bahnschrift',
    sans-serif;
  color: #ffc48f;
  letter-spacing: 0.5px;
}
.sv-break h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  margin: 12px 0 14px;
}
.sv-break p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 26px;
}
.sv-break ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sv-break li {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  backdrop-filter: blur(6px);
}
.sv-break .acts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.sv-break .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* done */
.sv-done {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px 46px;
  border-radius: 36px;
  animation: none !important;
}
.sv-done .sv-big {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4c3492, #916fb1 60%, #f47523);
  box-shadow: 0 20px 40px rgba(76, 52, 146, 0.3);
}
.sv-done .sv-big svg {
  width: 44px;
  height: 44px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes svTick {
  to {
    stroke-dashoffset: 0;
  }
}
.sv-done h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 12px;
}
.sv-done p {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 auto 24px;
  max-width: 540px;
}
.sv-done .sv-note {
  display: flex;
  gap: 12px;
  text-align: right;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: var(--lav50);
  border: 1px solid var(--lav100);
  margin: 0 0 26px;
}
.sv-done .sv-note svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--brand);
  fill: none;
  stroke-width: 1.8;
  margin-top: 3px;
}
.sv-done .sv-note span {
  font-size: 14px;
  line-height: 1.8;
  color: var(--slate);
}
.sv-done .acts {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* business page teaser */
.svt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.svt-card {
  padding: 34px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.svt-card h3 {
  font-size: 24px;
  line-height: 1.45;
}
.svt-card p {
  margin: 0;
  color: var(--slate);
  line-height: 1.9;
  font-size: 16px;
}
.svt-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svt-flow li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}
.svt-flow .k {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font:
    700 15px 'Bahnschrift',
    sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #4c3492, #916fb1);
}
.svt-flow b {
  display: block;
  font-size: 15.5px;
  color: var(--heading);
  margin-bottom: 2px;
}
.svt-flow span {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}
.svt-axes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.svt-axes span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.5;
}
.svt-axes span i {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font:
    700 12px 'Bahnschrift',
    sans-serif;
  font-style: normal;
  color: var(--brand);
  background: var(--lav100);
}
.svt-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.svt-meta span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lav50);
  border: 1px solid var(--lav100);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
}
.svt-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

@media (max-width: 1060px) {
  .sv-run {
    grid-template-columns: 1fr;
  }
  .sv-rail {
    position: relative;
    top: 0;
    padding: 16px;
  }
  .sv-steps {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
  }
  .sv-steps::-webkit-scrollbar {
    display: none;
  }
  .sv-steps li {
    flex: none;
    padding: 8px 10px;
  }
  .sv-steps li .t {
    display: none;
  }
  .sv-steps li.on .t {
    display: block;
    max-width: 180px;
  }
  .sv-save {
    display: none;
  }
  .sv-axes {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .sv {
    padding-top: 118px;
  }
  .sv-gate {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sv-priv {
    grid-template-columns: 1fr;
  }
  .sv-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sv-seg {
    justify-content: flex-start;
  }
  .sv-seg.num {
    display: grid;
    grid-template-columns: repeat(var(--n), 1fr);
    gap: 5px;
  }
  .sv-seg.num button {
    min-width: 0;
    padding: 0;
  }
  .sv-scale {
    grid-template-columns: 1fr 1fr;
  }
  .sv-scale.wide {
    grid-template-columns: 1fr;
  }
  .sv-scale.wide .sv-sc {
    flex-direction: row;
    text-align: right;
    padding: 12px 14px;
  }
  .sv-list.two,
  .sv-counts {
    grid-template-columns: 1fr;
  }
  .svt {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .sv-q {
    padding: 20px 16px;
  }
  .sv-qh {
    gap: 10px;
  }
  .sv-qt h3 {
    font-size: 16.5px;
  }
  .sv-code {
    padding: 28px 20px;
  }
  .sv-axes {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sv-ax {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px;
  }
  .sv-ax .k {
    order: 3;
    margin-inline-start: auto;
  }
  .sv-ax small {
    margin: 0;
    order: 4;
    display: none;
  }
  .sv-ax h3 {
    font-size: 15px;
  }
  .sv-ax.lead {
    flex-direction: column;
    align-items: flex-start;
  }
  .sv-head {
    padding: 22px 20px;
    min-height: 170px;
  }
  .sv-head .pg {
    top: 16px;
    left: 16px;
  }
  .sv-scale {
    grid-template-columns: 1fr;
  }
  .sv-scale .sv-sc {
    flex-direction: row;
    text-align: right;
    padding: 12px 14px;
  }
  .sv-nav {
    bottom: 10px;
    padding: 10px;
  }
  .sv-nav .cnt {
    display: none;
  }
  .sv-nav .r {
    width: 100%;
  }
  .sv-nav .btn {
    flex: 1;
    justify-content: center;
    padding: 13px 10px;
  }
  .sv-break {
    padding: 30px 22px;
    min-height: 420px;
  }
  .sv-done {
    padding: 40px 20px;
  }
  .svt-axes {
    grid-template-columns: 1fr;
  }
  .svt-card {
    padding: 24px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sv * {
    animation: none !important;
    transition: none !important;
  }
}

/* home page — compact survey banner */
.svh-sec {
  padding-block: clamp(40px, 5vw, 70px) !important;
}
.svh {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 30px;
  border-radius: 30px;
  animation: none !important;
  border: 1px solid #fff;
}
.svh:before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--sig);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
}
.svh-ic {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4c3492, #916fb1);
  box-shadow: 0 14px 30px rgba(77, 52, 146, 0.28);
}
.svh-ic svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svh-t {
  flex: 1;
  min-width: 0;
}
.svh-k {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange100);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.svh-t h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  margin: 0 0 4px;
}
.svh-t p {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.8;
}
.svh-a {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}
.svh-more {
  font-weight: 700;
  color: var(--brand);
  font-size: 15px;
  border-bottom: 1.5px solid rgba(76, 52, 146, 0.25);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.svh-more:hover {
  border-color: var(--brand);
}
@media (max-width: 860px) {
  .svh {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    padding: 24px 22px;
  }
  .svh-a {
    width: 100%;
    flex-wrap: wrap;
  }
}
