/* LeadSuccesses video interview - brand system matched to leadsuccesses.com */

:root {
  --purple: #7517f3;
  --blue: #472cf0;
  --pink: #ff4ced;
  --lilac: #db89fd;
  --bg: oklch(0.09 0.03 290);
  --surface: oklch(0.13 0.04 290);
  --card: oklch(0.16 0.045 290 / 0.72);
  --border: rgba(255, 255, 255, 0.1);
  --text: oklch(0.98 0.01 300);
  --muted: oklch(0.72 0.05 300);
  --ok: #34d399;
  --err: #fb7185;
  --radius: 0.875rem;
  --font-sans: "General Sans", "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 48px;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
}

/* Ambient brand backdrop: three soft orbs, same recipe as the site */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
body::before {
  left: -14rem;
  top: -10%;
  width: 38rem;
  height: 38rem;
  background: rgba(255, 76, 237, 0.22);
  filter: blur(110px);
}
body::after {
  right: -12rem;
  top: 22%;
  width: 36rem;
  height: 36rem;
  background: rgba(117, 23, 243, 0.28);
  filter: blur(110px);
}
.orb-bottom {
  position: fixed;
  left: 30%;
  bottom: -18%;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: rgba(71, 44, 240, 0.22);
  filter: blur(130px);
  pointer-events: none;
  z-index: -1;
}

.wrap {
  width: 100%;
  max-width: 720px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  text-decoration: none;
}
.brand-icon {
  height: 34px;
  width: 34px;
  display: block;
  object-fit: contain;
  transition: transform 200ms ease-out;
}
.brand:hover .brand-icon {
  transform: scale(1.06);
}
.brand-word {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
}
.brand-word-grad {
  background-image: linear-gradient(120deg, #ff4ced 0%, #7517f3 55%, #472cf0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)), var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  padding: 44px 40px;
  text-align: center;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  animation: card-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .card { animation: none !important; }
}
/* hairline top light, like site cards */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lilac);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(219, 137, 253, 0.9), rgba(255, 76, 237, 0.5));
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 580;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 12px 0 10px;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 28px;
}
.accent {
  font-style: italic;
  background-image: linear-gradient(120deg, #ff4ced 0%, #db89fd 55%, #a78bfa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 auto 8px;
  max-width: 54ch;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 26px 0;
}
.fact {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.fact:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px -20px rgba(117, 23, 243, 0.35);
}
.fact span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  margin-top: 4px;
}

/* intro info blocks */
.info-block {
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 20px 22px;
  margin: 14px 0;
}
.info-title {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 12px;
}
.howto {
  list-style: none;
  margin: 0;
  padding: 0;
}
.howto li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  padding: 7px 0;
}
.howto li span {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background-image: linear-gradient(120deg, #ff4ced 0%, #7517f3 70%);
  margin-top: 1px;
}
.tips {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tips li {
  position: relative;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  padding: 5px 0 5px 22px;
}
.tips li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-image: linear-gradient(120deg, #ff4ced, #7517f3);
}
.privacy-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 16px 0 4px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background-image: linear-gradient(120deg, #ff4ced 0%, #7517f3 55%, #472cf0 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  padding: 15px 34px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease-out, box-shadow 160ms ease-out;
  box-shadow: 0 0 40px -12px rgba(255, 76, 237, 0.45), 0 0 80px -20px rgba(117, 23, 243, 0.5);
}
/* top light on the pill, like site CTAs */
.btn::before {
  content: "";
  position: absolute;
  inset: 0 0 55% 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}
.btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 55px -10px rgba(255, 76, 237, 0.55), 0 0 110px -20px rgba(117, 23, 243, 0.6);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background-image: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--text);
}
.btn-ghost::before {
  display: none;
}
.btn-ghost:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.field {
  text-align: left;
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}
.field input:focus {
  border-color: var(--lilac);
  box-shadow: 0 0 0 3px rgba(219, 137, 253, 0.15);
}

video.preview,
video.playback {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  display: block;
  margin: 18px auto 0;
  border: 1px solid var(--border);
}
video.preview {
  transform: scaleX(-1);
}

.qcount {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timer {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
}
.timer.rec {
  color: var(--pink);
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  margin-right: 7px;
  animation: pulse 1.2s infinite;
  box-shadow: 0 0 12px rgba(255, 76, 237, 0.8);
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.progress-outer {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-top: 16px;
  overflow: hidden;
}
.progress-inner {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-radius: 6px;
  transition: width 200ms ease-out;
}

.hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.55;
}
.error {
  color: var(--err);
  font-size: 14px;
  margin-top: 12px;
  min-height: 18px;
}

.steps {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
}
.step {
  width: 34px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}
.step.done {
  background: linear-gradient(90deg, var(--purple), var(--pink));
}
.step.now {
  background: var(--purple);
}

.footer {
  margin-top: 30px;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}
.footer a {
  color: var(--lilac);
  text-decoration: none;
  border-bottom: 1px solid rgba(219, 137, 253, 0.35);
}

/* ---- candidate flow motion + living detail ---- */
.screen {
  animation: screen-in 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.screen > * {
  animation: rise-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.screen > *:nth-child(2) { animation-delay: 60ms; }
.screen > *:nth-child(3) { animation-delay: 110ms; }
.screen > *:nth-child(4) { animation-delay: 160ms; }
.screen > *:nth-child(5) { animation-delay: 210ms; }
.screen > *:nth-child(6) { animation-delay: 260ms; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.think-label {
  color: var(--muted);
  font-size: 14px;
  margin: 2px 0 6px;
}

/* circular think-time countdown */
.countdown {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 18px auto 6px;
}
.cd-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.cd-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}
.cd-prog {
  fill: none;
  stroke: url(#cdgrad);
  stroke: var(--lilac);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
  filter: drop-shadow(0 0 8px rgba(219, 137, 253, 0.6));
}
.cd-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cd-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 580;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(120deg, #ff4ced 0%, #db89fd 55%, #a78bfa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.cd-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* camera frame with soft brand ring */
.cam-frame {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  padding: 3px;
  margin: 18px auto 0;
  background: linear-gradient(140deg, rgba(255, 76, 237, 0.35), rgba(117, 23, 243, 0.18) 55%, rgba(71, 44, 240, 0.3));
}
.cam-frame video {
  margin: 0;
  border: 0;
}
.cam-frame.recording {
  background: linear-gradient(140deg, rgba(255, 76, 237, 0.9), rgba(255, 76, 237, 0.45));
  animation: rec-glow 1.8s ease-in-out infinite;
}
@keyframes rec-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 76, 237, 0); }
  50% { box-shadow: 0 0 34px -6px rgba(255, 76, 237, 0.6); }
}

/* live recording time bar */
.rec-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-top: 12px;
  overflow: hidden;
}
.rec-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-radius: 6px;
  transition: width 250ms linear;
}

/* animated completion check */
.success-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 6px;
}
.success-mark svg {
  width: 100%;
  height: 100%;
}
.sm-circle {
  fill: none;
  stroke: var(--ok);
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: sm-draw 620ms cubic-bezier(0.65, 0, 0.45, 1) forwards;
  filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.5));
}
.sm-check {
  fill: none;
  stroke: var(--ok);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
  animation: sm-draw 420ms cubic-bezier(0.65, 0, 0.45, 1) 520ms forwards;
}
@keyframes sm-draw {
  to { stroke-dashoffset: 0; }
}

.step {
  transition: background 300ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .screen, .screen > *, .cam-frame.recording, .sm-circle, .sm-check {
    animation: none !important;
  }
  .sm-circle, .sm-check { stroke-dashoffset: 0; }
}

/* reviewer */
.review-wrap {
  width: 100%;
  max-width: 980px;
  position: relative;
}

.sub-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.sub-item {
  color: var(--text);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  font-size: 15px;
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.sub-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px -20px rgba(117, 23, 243, 0.35);
}

.sub-name {
  font-weight: 700;
  font-size: 16px;
}
.sub-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge.done {
  background: rgba(52, 211, 153, 0.12);
  color: var(--ok);
}
.badge.partial {
  background: rgba(255, 76, 237, 0.1);
  color: var(--pink);
}

.qa-block {
  margin-top: 28px;
  text-align: left;
}
.qa-q {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.qa-meta {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 6px;
}

.speed-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.speed {
  appearance: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 13px;
  cursor: pointer;
}
.speed.active {
  color: #fff;
  border-color: var(--purple);
  background: rgba(117, 23, 243, 0.25);
}

.back-link {
  appearance: none;
  background: none;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
  display: block;
  text-align: left;
}
.back-link:hover {
  color: var(--text);
}

/* ---- reviewer dashboard ---- */
.card.dashboard {
  text-align: left;
}
.stat-grid .stat {
  animation: rise-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stat-grid .stat:nth-child(1) { animation-delay: 40ms; }
.stat-grid .stat:nth-child(2) { animation-delay: 90ms; }
.stat-grid .stat:nth-child(3) { animation-delay: 140ms; }
.stat-grid .stat:nth-child(4) { animation-delay: 190ms; }
.stat-grid .stat:nth-child(5) { animation-delay: 240ms; }
.stat-grid .stat:nth-child(6) { animation-delay: 290ms; }
.scorecard {
  animation: rise-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.qa-block {
  animation: rise-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .stat-grid .stat, .scorecard, .qa-block { animation: none !important; }
}
.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.card.dashboard h2 {
  text-align: left;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 22px 0 6px;
}
.stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.stat:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px -22px rgba(117, 23, 243, 0.4);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 580;
  line-height: 1;
  background-image: linear-gradient(120deg, #ff4ced 0%, #db89fd 55%, #a78bfa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.stat-label {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.filter-bar {
  display: flex;
  gap: 10px;
  margin: 22px 0 4px;
  flex-wrap: wrap;
}
.filter-search {
  flex: 1 1 220px;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 11px 15px;
  outline: none;
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}
.filter-search:focus {
  border-color: var(--lilac);
  box-shadow: 0 0 0 3px rgba(219, 137, 253, 0.15);
}
.filter-select {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 11px 14px;
  outline: none;
  cursor: pointer;
}
.filter-select option {
  background: #16111f;
  color: var(--text);
}

.sub-count {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 16px;
}
.sub-left {
  flex: 1;
  min-width: 0;
}
.sub-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.prog-line {
  width: 100%;
  max-width: 260px;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin-top: 10px;
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-radius: 6px;
}
.prog-text {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}

.stars {
  white-space: nowrap;
}
.stars .star {
  color: rgba(255, 255, 255, 0.22);
  font-size: 14px;
}
.stars.sm .star {
  font-size: 12px;
}
.stars.lg .star {
  font-size: 26px;
  cursor: pointer;
  transition: transform 120ms ease-out;
}
.stars.lg .star:hover {
  transform: scale(1.15);
}
.star.on {
  color: #ffcf5c;
}

.chip {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.chip-advance {
  background: rgba(52, 211, 153, 0.14);
  color: var(--ok);
}
.chip-maybe {
  background: rgba(255, 207, 92, 0.14);
  color: #ffcf5c;
}
.chip-pass {
  background: rgba(251, 113, 133, 0.14);
  color: var(--err);
}

/* scorecard panel */
.scorecard {
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 20px 20px 18px;
  margin-top: 22px;
}
.sc-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.sc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.sc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  width: 76px;
  flex-shrink: 0;
}
.dec-group {
  display: flex;
  gap: 8px;
}
.dec-btn {
  appearance: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 140ms ease-out;
}
.dec-btn.active[data-d="advance"] {
  background: rgba(52, 211, 153, 0.16);
  border-color: rgba(52, 211, 153, 0.5);
  color: var(--ok);
}
.dec-btn.active[data-d="maybe"] {
  background: rgba(255, 207, 92, 0.16);
  border-color: rgba(255, 207, 92, 0.5);
  color: #ffcf5c;
}
.dec-btn.active[data-d="pass"] {
  background: rgba(251, 113, 133, 0.16);
  border-color: rgba(251, 113, 133, 0.5);
  color: var(--err);
}
.sc-notes {
  width: 100%;
  box-sizing: border-box;
  min-height: 84px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.5;
  padding: 12px 14px;
  outline: none;
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}
.sc-notes:focus {
  border-color: var(--lilac);
  box-shadow: 0 0 0 3px rgba(219, 137, 253, 0.15);
}
.sc-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.sc-actions .btn {
  padding: 11px 26px;
  font-size: 14.5px;
}
.sc-saved {
  color: var(--muted);
  font-size: 12.5px;
}
.speed-label {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  align-self: center;
  margin-right: 2px;
}

@media (max-width: 720px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .card {
    padding: 30px 20px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sub-item {
    flex-direction: column;
    align-items: flex-start;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .brand-icon {
    height: 30px;
    width: 30px;
  }
  .brand-word {
    font-size: 17px;
  }
}

/* ================= July 19 uplift: site-parity hero motion ================= */

/* living aurora orbs (same drift recipe as leadsuccesses.com GradientMesh) */
@keyframes brand-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(3%, -2%, 0) scale(1.08); opacity: 1; }
}
body::before { animation: brand-drift 16s ease-in-out infinite; }
body::after { animation: brand-drift 19s ease-in-out 3s infinite; }
.orb-bottom { animation: brand-drift 22s ease-in-out 6s infinite; }

/* conic aurora ring behind the main card (site hero recipe) */
@keyframes aurora-spin { to { transform: rotate(360deg); } }
.aurora-ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(120vw, 900px);
  height: min(120vw, 900px);
  margin: 0;
  translate: -50% -50%;
  border-radius: 9999px;
  background: conic-gradient(from 0deg,
    rgba(255, 76, 237, 0.32),
    rgba(117, 23, 243, 0) 30%,
    rgba(71, 44, 240, 0.32) 55%,
    rgba(255, 76, 237, 0) 80%,
    rgba(255, 76, 237, 0.32));
  filter: blur(46px);
  opacity: 0.5;
  animation: aurora-spin 24s linear infinite;
  pointer-events: none;
  z-index: -1;
}

/* animated eyebrow: rule draws in, label fades up (site C4 pattern) */
@keyframes kicker-rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kicker-fade-in { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }
.kicker::before {
  transform-origin: left center;
  animation: kicker-rule-draw 400ms ease-out both;
}
.kicker { animation: kicker-fade-in 400ms ease-out 250ms both; }

/* signature swash: hand-drawn gradient brush traces in under the h1 accent word */
@keyframes swash-trace { from { stroke-dashoffset: 240; } to { stroke-dashoffset: 0; } }
h1 .accent { position: relative; display: inline-block; }
h1 .accent::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.08em;
  height: 0.3em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='240' gradientUnits='userSpaceOnUse'><stop stop-color='%23FF4CED'/><stop offset='0.55' stop-color='%237517F3'/><stop offset='1' stop-color='%23DB89FD'/></linearGradient></defs><path d='M2 14 C 40 4, 90 22, 140 10 S 220 18, 238 8' fill='none' stroke='url(%23g)' stroke-width='3' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0;
  animation: swash-fade 600ms ease-out 500ms forwards;
  pointer-events: none;
}
@keyframes swash-fade { to { opacity: 0.92; } }

/* travelling glint on the primary pill CTA (site header pill pattern) */
@keyframes pill-glint {
  0% { transform: translateX(-130%) skewX(-18deg); }
  24% { transform: translateX(620%) skewX(-18deg); }
  100% { transform: translateX(620%) skewX(-18deg); }
}
.btn:not(.btn-ghost)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 22%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: pill-glint 5.5s ease-in-out 1.4s infinite;
  pointer-events: none;
}

/* soft float for the hero demo */
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---- hero demo: a living miniature of the interview screen ---- */
.demo {
  text-align: left;
  border-radius: calc(var(--radius) + 4px);
  padding: 1px;
  margin: 28px auto 6px;
  max-width: 520px;
  background: conic-gradient(from 180deg, rgba(255, 76, 237, 0.5), rgba(117, 23, 243, 0.35), rgba(71, 44, 240, 0.5), rgba(255, 76, 237, 0.5));
  animation: float-soft 6s ease-in-out infinite;
  box-shadow: 0 24px 60px -24px rgba(117, 23, 243, 0.5);
}
.demo-inner {
  background: oklch(0.12 0.035 290);
  border-radius: calc(var(--radius) + 3px);
  overflow: hidden;
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.demo-head i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.demo-title {
  margin-left: 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.demo-body {
  display: flex;
  gap: 14px;
  padding: 14px;
  align-items: stretch;
}
.demo-cam {
  position: relative;
  flex: 0 0 128px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 42%, rgba(219, 137, 253, 0.5), transparent 42%),
    linear-gradient(160deg, oklch(0.2 0.06 300), oklch(0.14 0.05 280));
  min-height: 96px;
}
.demo-cam::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 26%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  translate: -50%;
  background: rgba(255, 255, 255, 0.55);
}
.demo-cam::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: 52px;
  height: 34px;
  border-radius: 22px 22px 6px 6px;
  translate: -50%;
  background: rgba(255, 255, 255, 0.4);
}
.demo-rec {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}
.demo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 1.2s infinite;
  box-shadow: 0 0 8px rgba(255, 76, 237, 0.8);
}
.demo-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.demo-q {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}
.demo-bar {
  width: 100%;
  height: 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.demo-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  animation: demo-fill 7s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes demo-fill {
  0% { width: 0%; }
  78% { width: 100%; }
  92% { width: 100%; }
  100% { width: 0%; }
}
.demo-steps {
  display: flex;
  gap: 5px;
}
.demo-steps i {
  width: 26px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}
.demo-steps i.done { background: linear-gradient(90deg, var(--purple), var(--pink)); }
.demo-steps i.now { background: var(--purple); }

/* live status badge under the hero CTA */
@keyframes status-ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(80, 220, 150, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(80, 220, 150, 0); }
}
.status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 18px;
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4ade80;
  animation: status-ping 2.4s ease-in-out infinite;
}

/* dashboard stat numbers count up on load (JS sets final text) */
@keyframes tick-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.stat-num { animation: tick-up 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@media (max-width: 560px) {
  .demo-body { flex-direction: column; }
  .demo-cam { flex-basis: auto; height: 110px; }
  .aurora-ring { width: 150vw; height: 150vw; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .orb-bottom,
  .aurora-ring,
  .kicker,
  .kicker::before,
  .btn:not(.btn-ghost)::after,
  .demo,
  .demo-bar-fill,
  .demo-dot,
  .status-dot,
  .stat-num {
    animation: none !important;
  }
  .kicker, .kicker::before { opacity: 1; transform: none; }
  h1 .accent::after { animation: none !important; opacity: 0.92; }
  .demo-bar-fill { width: 62%; }
}
