/* Pointmark — client feedback page */

.wrap {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

body.is-loading #landing {
  opacity: 0;
}
#landing {
  transition: opacity 0.35s var(--ease);
}

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 246, 251, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.topbar.scrolled {
  border-bottom-color: var(--line);
}
.topbar.plain {
  position: static;
  background: transparent;
}
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.for-chip {
  font-size: 13px;
  color: var(--ink-500);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.for-chip b {
  color: var(--ink-800);
  font-weight: 600;
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -120px 0 0 0;
  pointer-events: none;
  background:
    radial-gradient(520px 380px at 82% 18%, rgba(138, 22, 255, 0.13), transparent 70%),
    radial-gradient(460px 340px at 96% 62%, rgba(255, 26, 46, 0.09), transparent 70%),
    radial-gradient(420px 320px at 66% 46%, rgba(28, 139, 255, 0.09), transparent 70%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(35, 19, 143, 0.11) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 75% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 75% 30%, #000 0%, transparent 75%);
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-500);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.greeting {
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-700);
}
.greeting b {
  color: var(--ink-900);
  font-weight: 600;
}
.hero-title {
  margin-top: 14px;
  font-size: clamp(2.3rem, 4.8vw, 3.7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.greeting:not([hidden]) + .hero-title {
  margin-top: 10px;
}
.hero-title .accent {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-sub {
  margin-top: 22px;
  max-width: 54ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-500);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 22px;
  max-width: 52ch;
  font-size: 13.5px;
  color: var(--ink-500);
}
.privacy svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: none;
  color: var(--ink-400);
}
.done-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: var(--good-bg);
  color: var(--good);
  font-size: 14px;
  font-weight: 600;
}
.done-banner svg {
  width: 18px;
  height: 18px;
}

/* hero card */
.hero-card {
  position: relative;
  padding: 26px 26px 20px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 211, 228, 0.7);
  box-shadow: var(--shadow-3);
}
.hero-card::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: -1px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad-brand);
}
.hc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hc-kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
}
.hc-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo-500);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--indigo-050);
}
.hc-time svg {
  width: 15px;
  height: 15px;
}
.hc-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: hc;
}
.hc-list li {
  counter-increment: hc;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-800);
}
.hc-list li::before {
  content: counter(hc, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--indigo);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
}
.hc-list li span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-400);
}
.hc-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-500);
}
.hc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px var(--good-bg);
}

/* stats */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 64px 0 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.stats div {
  padding: 22px 28px;
}
.stats div + div {
  border-left: 1px solid var(--line);
}
.stats dt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--indigo);
}
.stats dd {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-500);
}

/* ---------------------------------------------------------------- bank lockup */
.lockup {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 10px 18px 10px 10px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.lockup-logo {
  display: grid;
  place-items: center;
  height: 52px;
  min-width: 52px;
  max-width: 180px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #fff;
}
.lockup-logo img {
  max-height: 44px;
  max-width: 164px;
  width: auto;
  object-fit: contain;
}
.lockup-x {
  font-size: 20px;
  font-weight: 300;
  color: var(--ink-300);
}
.lockup-pm {
  width: 38px;
  height: auto;
}
.monogram {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--indigo-050);
  color: var(--indigo);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.for-chip img {
  display: inline-block;
  height: 18px;
  width: auto;
  margin: -3px 6px -4px 0;
  vertical-align: middle;
}

/* ---------------------------------------------------------------- our work for the bank */
.mw-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.mw-kpi {
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.mw-kpi b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
}
.mw-kpi b small {
  font-size: 0.5em;
  font-weight: 700;
  color: var(--ink-400);
  letter-spacing: 0;
}
.mw-kpi span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-500);
}
.mw-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.mw-panel {
  padding: 24px 26px 22px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  min-width: 0;
}
.mw-panel h3 {
  font-size: 15.5px;
  font-weight: 700;
}
.mw-side {
  display: grid;
  gap: 14px;
  align-content: start;
}
.mw-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 230px;
  margin-top: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.mw-col {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.mw-bar {
  width: min(100%, 34px);
  border-radius: 4px 4px 0 0;
  background: var(--indigo-500);
  opacity: 0.88;
  transition: opacity 0.15s var(--ease);
}
.mw-col:hover .mw-bar,
.mw-col.last .mw-bar {
  opacity: 1;
  background: var(--indigo);
}
.mw-val {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}
.mw-col:hover .mw-val,
.mw-col.peak .mw-val,
.mw-col.last .mw-val {
  opacity: 1;
}
.mw-mon {
  position: absolute;
  bottom: -24px;
  font-size: 11.5px;
  color: var(--ink-400);
  white-space: nowrap;
}
.mw-list {
  margin-top: 14px;
}
.mw-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(60px, 1fr) 40px;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-700);
}
.mw-row > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mw-track {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-tint);
}
.mw-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 4px;
  background: var(--indigo-500);
}
.mw-n {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mw-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-400);
}

/* ---------------------------------------------------------------- blocks */
.block {
  padding: 96px 0 0;
}
.block-head {
  max-width: 640px;
}
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-500);
}
.block-head h2 {
  margin-top: 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
}
.block-sub {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-500);
}

/* process */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  /* 29-11: eight steps = two rows of four; a connector runs from each dot to the next one in its row */
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 0;
  position: relative;
}
.steps li {
  position: relative;
  padding: 0 14px;
  text-align: center;
}
.steps li:not(:nth-child(4n)):not(:last-child)::before {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: linear-gradient(90deg, rgba(138, 22, 255, 0.35), rgba(240, 45, 240, 0.35), rgba(255, 26, 46, 0.35), rgba(255, 138, 42, 0.35));
}
.step-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 6px var(--bg);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  color: var(--indigo);
}
.steps li:last-child .step-dot {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
}
.steps h3 {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
}
.steps p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-500);
}

/* tech cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.card {
  position: relative;
  padding: 26px 26px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-strong);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(94, 230, 255, 0.16), rgba(138, 22, 255, 0.14));
  color: var(--indigo);
}
.card-icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  margin-top: 18px;
  font-size: 17.5px;
  font-weight: 700;
}
.card p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-500);
}

/* promise */
.promise {
  padding-bottom: 96px;
}
.promise-panel {
  position: relative;
  overflow: hidden;
  padding: 56px 56px 48px;
  border-radius: 28px;
  background: #1a1150;
  background-image:
    radial-gradient(520px 320px at 100% 0%, rgba(240, 45, 240, 0.28), transparent 70%),
    radial-gradient(520px 360px at 0% 100%, rgba(28, 139, 255, 0.25), transparent 70%),
    linear-gradient(160deg, #23138f 0%, #160d45 100%);
  color: #fff;
}
.block-head.on-dark .kicker {
  color: #b9a8ff;
}
.block-head.on-dark h2 {
  color: #fff;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.promise-item {
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.promise-big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff, #d9ceff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.promise-item h3 {
  margin-top: 12px;
  font-size: 16px;
  color: #fff;
}
.promise-item p {
  margin-top: 6px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
}
.promise-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}
.btn-light {
  background: #fff;
  color: var(--indigo);
}
.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.promise-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0 48px;
}
.footer-line {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-500);
}
.footer-line a {
  color: var(--ink-700);
}
.footer-offices {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.office h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.office p {
  margin-top: 6px;
  max-width: 30ch;
  font-size: 14px;
  color: var(--ink-700);
}

/* ---------------------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ================================================================ SURVEY */
#survey {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}
.sv-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.sv-top-in {
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1160px, 100% - 32px);
  height: 64px;
  margin-inline: auto;
}
.brand-compact img {
  width: 28px;
}
.sv-where {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.sv-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-400);
  white-space: nowrap;
}
.sv-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sv-progress {
  height: 3px;
  background: var(--line);
}
.sv-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-brand);
  border-radius: 0 3px 3px 0;
  transition: width 0.5s var(--ease);
}
.sv-tabs {
  display: flex;
  gap: 6px;
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sv-tabs::-webkit-scrollbar {
  display: none;
}
.sv-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  white-space: nowrap;
}
.sv-tab i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-tint);
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-500);
}
.sv-tab:hover {
  background: var(--bg-tint);
}
.sv-tab.done i {
  background: var(--indigo-050);
  color: var(--indigo);
}
.sv-tab.done i::before {
  content: "✓";
}
.sv-tab.done i span {
  display: none;
}
.sv-tab[aria-current="step"] {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink-900);
  font-weight: 600;
}
.sv-tab[aria-current="step"] i {
  background: var(--indigo);
  color: #fff;
}

.sv-main {
  flex: 1;
  outline: none;
}
.sv-wrap {
  width: min(760px, 100% - 32px);
  margin: 0 auto;
  padding: 44px 0 140px;
}
.sv-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.sv-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--indigo);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(35, 19, 143, 0.25);
}
.sv-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  font-weight: 800;
}
.sv-intro {
  margin-top: 8px;
  color: var(--ink-500);
  font-size: 16px;
}
#svForm {
  margin-top: 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.q {
  margin: 0;
  padding: 26px 28px 28px;
  border: 0;
  min-width: 0;
}
.q + .q {
  border-top: 1px solid var(--line);
}
.q-label {
  /* float takes the legend out of the fieldset border, so it lays out like a normal heading */
  float: left;
  width: 100%;
  display: flex;
  gap: 12px;
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-900);
}
.q-no {
  flex: none;
  min-width: 26px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.85;
  color: var(--ink-400);
}
.q-help {
  clear: both;
  margin: 0 0 0 38px;
  padding-top: 4px;
  font-size: 14px;
  color: var(--ink-500);
}
.q-body {
  clear: both;
  margin: 0 0 0 38px;
  padding-top: 16px;
}
.q.is-answered .q-no {
  color: var(--indigo-500);
}

/* rating */
.rating {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.rate {
  position: relative;
  flex: 1 1 0;
  max-width: 76px;
}
.rate input,
.chip input,
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rate span {
  display: grid;
  place-items: center;
  height: 52px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-700);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.rate:hover span {
  border-color: var(--indigo-500);
  color: var(--indigo);
}
.rate input:checked + span {
  background: var(--indigo);
  border-color: var(--indigo);
  color: #fff;
  box-shadow: 0 6px 16px rgba(35, 19, 143, 0.28);
  transform: translateY(-1px);
}
.rate input:focus-visible + span,
.chip input:focus-visible + span,
.seg input:focus-visible + span {
  box-shadow: var(--focus);
  border-color: var(--indigo-500);
}
.rate.na {
  flex: 0 0 auto;
  max-width: none;
  margin-left: 10px;
}
.rate.na span {
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  border-style: dashed;
}
.rate.na input:checked + span {
  background: var(--ink-700);
  border-color: var(--ink-700);
  border-style: solid;
  color: #fff;
  box-shadow: none;
}
.rating-scale {
  display: flex;
  justify-content: space-between;
  max-width: calc(5 * 76px + 4 * 8px);
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-400);
}

/* faces (rating) — line-art, grey until chosen; the chosen one takes its own soft colour */
.faces {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.fc {
  position: relative;
  flex: 0 0 auto;
}
.fc input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fc-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 78px;
  padding: 10px 4px 8px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.fc-svg {
  width: 44px;
  height: 44px;
  transition: transform 0.25s var(--ease);
}
.fc-bg {
  fill: #fff;
  stroke: var(--ink-300);
  stroke-width: 2;
  transition: fill 0.18s var(--ease), stroke 0.18s var(--ease);
}
.fc-eye {
  fill: var(--ink-300);
  transition: fill 0.18s var(--ease);
}
.fc-ln {
  fill: none;
  stroke: var(--ink-300);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.18s var(--ease);
}
.fc em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-400);
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}
.fc.lv1 { --fc: #c2414e; --fc-bg: #fdeeee; }
.fc.lv2 { --fc: #c9772c; --fc-bg: #fdf2e6; }
.fc.lv3 { --fc: #6f6c88; --fc-bg: #f1f0f6; }
.fc.lv4 { --fc: #2f8f66; --fc-bg: #e9f6ef; }
.fc.lv5 { --fc: #1b7a52; --fc-bg: #e0f3e9; }
.fc:hover .fc-bg { stroke: var(--fc, var(--ink-500)); }
.fc:hover .fc-eye { fill: var(--fc, var(--ink-500)); }
.fc:hover .fc-ln { stroke: var(--fc, var(--ink-500)); }
.fc:hover .fc-svg { transform: translateY(-2px); }
.fc:hover em { color: var(--ink-700); }
.fc input:checked + .fc-in {
  background: var(--fc-bg, var(--bg-tint));
  border-color: color-mix(in srgb, var(--fc, var(--ink-500)) 28%, transparent);
}
.fc input:checked + .fc-in .fc-bg { fill: #fff; stroke: var(--fc); }
.fc input:checked + .fc-in .fc-eye { fill: var(--fc); }
.fc input:checked + .fc-in .fc-ln { stroke: var(--fc); }
.fc input:checked + .fc-in em { color: var(--fc); font-weight: 700; }
.fc input:checked + .fc-in .fc-svg { animation: fc-pop 0.35s var(--ease); }
.fc input:focus-visible + .fc-in { box-shadow: var(--focus); }
@keyframes fc-pop {
  0% { transform: scale(0.86); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.fc.na { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.fc-na {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px dashed var(--ink-300);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-400);
}
.fc.na input:checked + .fc-in { background: var(--bg-tint); border-color: var(--line-strong); }
.fc.na input:checked + .fc-in .fc-na { border-style: solid; border-color: var(--ink-700); color: var(--ink-700); }
.fc.na input:checked + .fc-in em { color: var(--ink-700); font-weight: 700; }

/* chips (choice / multi) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.chip span::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-300);
  transition: all 0.15s var(--ease);
}
.chip.multi span::before {
  border-radius: 5px;
}
.chip:hover span {
  border-color: var(--indigo-500);
}
.chip input:checked + span {
  background: var(--indigo-050);
  border-color: var(--indigo-500);
  color: var(--indigo);
  font-weight: 600;
}
.chip input:checked + span::before {
  border-color: var(--indigo);
  background: var(--indigo) center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* segmented band */
.seg {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}
.seg label {
  position: relative;
}
.seg label + label span {
  border-left: 1px solid var(--line);
}
.seg span {
  display: grid;
  place-items: center;
  height: 48px;
  padding: 0 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.seg label:hover span {
  background: var(--bg-tint);
}
.seg input:checked + span {
  background: var(--indigo);
  color: #fff;
}

/* text */
.field {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 13px 15px;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field::placeholder {
  color: var(--ink-300);
}
.field:hover {
  border-color: var(--ink-300);
}
.field:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: var(--focus);
}
textarea.field {
  min-height: 112px;
  resize: vertical;
}
.follow {
  margin-top: 14px;
}
.follow[hidden] {
  display: none;
}
.follow-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-500);
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pair label span {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-500);
}

/* sticky survey footer */
.sv-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.sv-foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(760px, 100% - 32px);
  height: 76px;
  margin-inline: auto;
}
.sv-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-400);
  text-align: center;
}
.sv-save svg {
  width: 15px;
  height: 15px;
  color: var(--good);
}
#svBack[disabled] {
  visibility: hidden;
}

/* ================================================================ THANK YOU */
#thanks {
  min-height: 100vh;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(138, 22, 255, 0.1), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(28, 139, 255, 0.08), transparent 70%),
    var(--bg);
}
.ty {
  display: grid;
  place-items: center;
  padding: 24px 16px 80px;
  outline: none;
}
.ty-card {
  width: min(640px, 100%);
  padding: 48px 44px 40px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  text-align: center;
}
.ty-lockup {
  margin: 0 auto 26px;
}
.ty-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
}
.ty-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ty-ring {
  stroke: var(--indigo);
  stroke-width: 2.5;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  animation: draw 0.7s var(--ease) forwards;
}
.ty-tick {
  stroke: var(--indigo);
  stroke-width: 3.5;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.4s var(--ease) 0.55s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.ty-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
}
.ty-text {
  margin-top: 10px;
  font-size: 17px;
  color: var(--ink-500);
}
.ty-next {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.ty-next li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.ty-next b {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--indigo);
}
.ty-next strong {
  display: block;
  font-weight: 600;
}
.ty-next span {
  font-size: 14.5px;
  color: var(--ink-500);
}
.ty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.ty-contact {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink-400);
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 50;
  transform: translateX(-50%);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink-900);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-2);
}

/* ================================================================ responsive */
@media (max-width: 980px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card {
    max-width: 520px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }
  .steps li::before {
    display: none;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .mw-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .mw-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .for-chip {
    display: none;
  }
  .topbar-in {
    height: 60px;
  }
  .hero {
    padding-top: 36px;
  }
  .hero-sub {
    font-size: 16.5px;
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .stats {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }
  .stats div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stats div {
    padding: 18px 22px;
  }
  .block {
    padding-top: 72px;
  }
  .steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .steps li {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    text-align: left;
    padding: 0 0 22px;
  }
  .steps li::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 50px;
    bottom: 4px;
    width: 2px;
    background: var(--line);
  }
  .steps li:last-child::after {
    display: none;
  }
  .step-dot {
    grid-row: span 2;
    margin: 0;
  }
  .steps h3 {
    margin-top: 10px;
  }
  .steps p {
    margin-top: 4px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .promise-panel {
    padding: 36px 22px 30px;
    border-radius: 22px;
  }
  .promise-grid {
    grid-template-columns: 1fr;
  }
  .q {
    padding: 22px 18px 24px;
  }
  .q-help,
  .q-body {
    margin-left: 0;
  }
  .q-no {
    display: none;
  }
  .faces {
    flex-wrap: wrap;
    gap: 2px;
  }
  .fc-in {
    width: 58px;
    padding: 8px 2px 6px;
  }
  .fc-svg {
    width: 38px;
    height: 38px;
  }
  .fc em {
    font-size: 11px;
  }
  .fc.na {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .fc-na {
    width: 38px;
    height: 38px;
  }
  .rating {
    flex-wrap: wrap;
  }
  .rate {
    max-width: none;
  }
  .rate.na {
    flex: 1 1 100%;
    margin-left: 0;
  }
  .rate.na span {
    height: 42px;
  }
  .rating-scale {
    max-width: none;
  }
  .seg {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .seg span {
    font-size: 13px;
    padding: 0 2px;
  }
  .pair {
    grid-template-columns: 1fr;
  }
  .sv-wrap {
    padding-top: 28px;
  }
  .sv-num {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .ty-card {
    padding: 36px 22px 30px;
  }
  .ty-next li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
