/* =========================================================
   HANNEKE VERHOEF
   AUDIENCE SIGNAL INTERACTIVE WALKTHROUGH
   COMPACT DESKTOP VERSION
========================================================= */

.hv-demo {
  --demo-dark: #2f3a4a;
  --demo-text: #303944;
  --demo-muted: #707985;
  --demo-bg: #f7f4ef;
  --demo-card: #ffffff;
  --demo-border: #e5e0d9;
  --demo-orange: #ea662f;
  --demo-orange-soft: #fff0e9;
  --demo-gold: #d7a975;

  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: -35px;

  padding: 16px 24px 28px;

  background:
    linear-gradient(
      180deg,
      #f5f0e9 0%,
      #faf8f5 35%,
      #ffffff 100%
    );

  font-family: inherit;
  color: var(--demo-text);
  line-height: 1.55;
  overflow-x: hidden;
}

.hv-demo *,
.hv-demo *::before,
.hv-demo *::after {
  box-sizing: border-box;
}

.entry-content-wrap {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}


/* =========================================================
   SHELL
========================================================= */

.hv-demo-shell {
  width: min(1180px, 100%);
  margin: 0 auto;

  background: #ffffff;
  border: 1px solid var(--demo-border);
  border-radius: 18px;

  box-shadow:
    0 24px 60px rgba(34, 42, 52, 0.09);

  overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.hv-demo-header {
  min-height: 64px;
  padding: 10px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;

  border-bottom: 1px solid var(--demo-border);
}

.hv-demo-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hv-demo-logo {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background: var(--demo-orange);
  color: #ffffff;

  font-weight: 800;
  font-size: 13px;
}

.hv-demo-brand strong {
  display: block;
  color: var(--demo-dark);
  line-height: 1.2;
}

.hv-demo-brand span {
  display: block;
  margin-top: 1px;

  font-size: 11px;
  color: var(--demo-muted);
}

.hv-demo-restart {
  border: 0;
  background: transparent;

  color: var(--demo-muted);

  font: inherit;
  font-size: 12px;
  font-weight: 600;

  cursor: pointer;
}

.hv-demo-restart:hover {
  color: var(--demo-dark);
}


/* =========================================================
   PROGRESS
========================================================= */

.hv-demo-progress-wrap {
  padding: 11px 24px 0;
}

.hv-demo-progress-info {
  display: flex;
  justify-content: space-between;

  margin-bottom: 6px;

  font-size: 10px;
  font-weight: 700;

  color: #8a929c;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hv-demo-progress-track {
  width: 100%;
  height: 4px;

  background: #eeeae5;

  border-radius: 50px;
  overflow: hidden;
}

.hv-demo-progress-bar {
  width: 0;
  height: 100%;

  background: var(--demo-orange);

  border-radius: inherit;

  transition: width 0.5s ease;
}


/* =========================================================
   PANELS
========================================================= */

.hv-demo-stage {
  position: relative;
}

.hv-demo-panel {
  display: none;

  min-height: 480px;

  padding: 26px 54px 28px;

  animation: hvPanelIn 0.4s ease;
}

.hv-demo-panel-active {
  display: block;
}

@keyframes hvPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

.hv-demo-eyebrow {
  display: inline-block;

  margin-bottom: 10px;

  color: #b35228;

  font-size: 10px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hv-demo h1,
.hv-demo h2,
.hv-demo h3 {
  color: var(--demo-dark);

  margin-top: 0;

  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hv-demo h1 {
  max-width: 830px;

  margin-bottom: 16px;

  font-size: clamp(36px, 4vw, 54px);
}

.hv-demo h2 {
  max-width: 820px;

  margin-bottom: 12px;

  font-size: clamp(27px, 3vw, 38px);
}

.hv-demo h3 {
  margin-bottom: 8px;

  font-size: 18px;
}

.hv-demo p {
  margin-top: 0;
}

.hv-demo-step-heading {
  margin-bottom: 26px;
}

.hv-demo-step-heading > p {
  max-width: 760px;

  margin-bottom: 0;

  color: var(--demo-muted);

  font-size: 15px;
}


/* =========================================================
   INTRO
========================================================= */

.hv-demo-intro {
  padding-top: 36px;
  text-align: left;
}

.hv-demo-intro-copy {
  max-width: 760px;

  margin-bottom: 22px;

  color: var(--demo-muted);

  font-size: 17px;
}

.hv-demo-intro-card {
  width: fit-content;
  max-width: 600px;

  display: flex;
  align-items: center;
  gap: 14px;

  margin: 22px 0;

  padding: 14px 18px;

  border: 1px solid var(--demo-border);
  border-radius: 10px;

  background: #faf8f5;
}

.hv-demo-intro-icon {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--demo-orange-soft);
  color: var(--demo-orange);
}

.hv-demo-intro-card strong,
.hv-demo-intro-card span {
  display: block;
}

.hv-demo-intro-card span {
  margin-top: 1px;

  color: var(--demo-muted);

  font-size: 12px;
}


/* =========================================================
   BUTTONS
========================================================= */

.hv-demo-primary,
.hv-demo-secondary {
  min-height: 42px;

  padding: 10px 17px;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;

  border-radius: 6px;

  font: inherit;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.hv-demo-primary {
  border: 1px solid var(--demo-dark);

  background: var(--demo-dark);

  color: #ffffff !important;
}

.hv-demo-primary:hover {
  transform: translateY(-1px);
}

.hv-demo-secondary {
  border: 1px solid var(--demo-border);

  background: #ffffff;

  color: var(--demo-dark);
}

.hv-demo-secondary:hover {
  background: #f7f4ef;
}

.hv-demo-primary:disabled {
  opacity: 0.45;

  cursor: not-allowed;

  transform: none;
}


/* =========================================================
   MOCK APP
========================================================= */

.hv-app-window {
  min-height: 330px;

  display: grid;
  grid-template-columns: 190px 1fr;

  overflow: hidden;

  border: 1px solid #ded9d1;
  border-radius: 12px;

  background: #ffffff;

  box-shadow:
    0 14px 35px rgba(34, 42, 52, 0.06);
}

.hv-app-sidebar {
  padding: 18px 13px;

  background: #2f3a4a;

  color: #ffffff;
}

.hv-app-sidebar-brand {
  margin-bottom: 20px;

  padding: 5px 7px;

  font-weight: 700;
  font-size: 13px;
}

.hv-app-nav {
  margin-bottom: 4px;

  padding: 8px 9px;

  border-radius: 6px;

  color: rgba(255,255,255,0.63);

  font-size: 12px;
}

.hv-app-nav-active {
  background: rgba(255,255,255,0.10);

  color: #ffffff;
}

.hv-app-main {
  padding: 22px;

  background: #faf9f7;
}

.hv-app-topline {
  margin-bottom: 18px;

  color: var(--demo-dark);

  font-size: 16px;
  font-weight: 700;
}

.hv-search-card {
  max-width: 650px;

  padding: 22px;

  border: 1px solid var(--demo-border);
  border-radius: 10px;

  background: #ffffff;
}

.hv-search-card label {
  display: block;

  margin-bottom: 8px;

  color: var(--demo-dark);

  font-size: 13px;
  font-weight: 700;
}

.hv-demo-input {
  min-height: 44px;

  padding: 10px 13px;

  border: 1px solid #d9d4cd;
  border-radius: 7px;

  background: #ffffff;
  color: #343c46;

  font-size: 14px;
}

.hv-demo-input::after {
  content: "|";

  margin-left: 1px;

  color: var(--demo-orange);

  animation: hvBlink 0.8s infinite;
}

@keyframes hvBlink {
  50% {
    opacity: 0;
  }
}

.hv-demo-search-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin-top: 10px;
}

.hv-demo-search-options span {
  padding: 5px 8px;

  border-radius: 50px;

  background: #f3f0eb;

  color: #757d87;

  font-size: 10px;
  font-weight: 600;
}

.hv-scan-area {
  display: none;
  align-items: center;
  gap: 11px;

  margin-top: 18px;

  padding: 12px 15px;

  border-radius: 8px;

  background: var(--demo-orange-soft);
}

.hv-scan-area.hv-scan-active {
  display: flex;
}

.hv-scan-area strong,
.hv-scan-area span {
  display: block;
}

.hv-scan-area strong {
  color: #86431f;

  font-size: 12px;
}

.hv-scan-area span {
  margin-top: 1px;

  color: #a05f3d;

  font-size: 10px;
}

.hv-spinner {
  width: 22px;
  height: 22px;

  flex: 0 0 auto;

  border: 3px solid rgba(234,102,47,0.22);
  border-top-color: var(--demo-orange);
  border-radius: 50%;

  animation: hvSpin 0.8s linear infinite;
}

@keyframes hvSpin {
  to {
    transform: rotate(360deg);
  }
}


/* =========================================================
   INSIGHT CARDS
========================================================= */

.hv-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 15px;
}

.hv-insight-card {
  padding: 20px;

  border: 1px solid var(--demo-border);
  border-radius: 11px;

  background: #ffffff;

  box-shadow:
    0 8px 24px rgba(36,43,52,0.045);
}

.hv-insight-label {
  display: inline-block;

  margin-bottom: 12px;

  padding: 4px 8px;

  border-radius: 50px;

  background: var(--demo-orange-soft);

  color: #af5128;

  font-size: 9px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hv-insight-card p {
  margin-bottom: 0;

  color: var(--demo-muted);

  font-size: 13px;
}

.hv-intensity {
  height: 4px;

  margin-top: 16px;

  overflow: hidden;

  border-radius: 50px;

  background: #eeeae5;
}

.hv-intensity span {
  display: block;

  height: 100%;

  border-radius: inherit;

  background: var(--demo-orange);
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.hv-reveal-card {
  opacity: 0;

  transform: translateY(12px);

  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.hv-reveal-card.hv-revealed {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================================
   LANGUAGE
========================================================= */

.hv-language-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 24px;
}

.hv-demo-small-heading {
  display: block;

  margin-bottom: 12px;

  color: #8d6751;

  font-size: 10px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hv-language-quote {
  margin: 0 0 10px;

  padding: 14px 17px;

  border: 1px solid var(--demo-border);
  border-left: 3px solid var(--demo-orange);
  border-radius: 8px;

  background: #ffffff;

  color: #46505c;

  font-size: 13px;
}

.hv-opportunity-panel {
  padding: 20px;

  border-radius: 11px;

  background: var(--demo-dark);

  color: #ffffff;
}

.hv-opportunity-panel .hv-demo-small-heading {
  color: #e5ba94;
}

.hv-opportunity-item {
  display: grid;
  grid-template-columns: 28px 1fr;

  gap: 12px;

  padding: 11px 0;

  border-bottom:
    1px solid rgba(255,255,255,0.10);
}

.hv-opportunity-item:last-child {
  border-bottom: 0;
}

.hv-opportunity-item > span {
  color: #e7b787;

  font-size: 10px;
  font-weight: 800;
}

.hv-opportunity-item strong {
  display: block;

  margin-bottom: 2px;

  font-size: 13px;
}

.hv-opportunity-item p {
  margin: 0;

  color: rgba(255,255,255,0.67);

  font-size: 12px;
}


/* =========================================================
   RESULT
========================================================= */

.hv-result-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;

  gap: 20px;
}

.hv-result-score-card {
  min-height: 235px;

  padding: 26px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background:
    linear-gradient(
      145deg,
      #2f3a4a,
      #414e61
    );

  color: #ffffff;

  text-align: center;
}

.hv-result-score-card > span:first-child {
  font-size: 10px;

  text-transform: uppercase;
  letter-spacing: 0.1em;

  color: rgba(255,255,255,0.60);
}

.hv-result-score {
  display: block;

  margin: 10px 0 2px;

  font-size: 68px;
  line-height: 1;
}

.hv-result-score-card > span:last-child {
  color: #e7c29a;

  font-size: 11px;
  font-weight: 600;
}

.hv-result-summary {
  border: 1px solid var(--demo-border);
  border-radius: 11px;

  background: #ffffff;

  overflow: hidden;
}

.hv-result-row {
  min-height: 58px;

  padding: 13px 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-bottom: 1px solid var(--demo-border);
}

.hv-result-row:last-child {
  border-bottom: 0;
}

.hv-result-row span {
  color: var(--demo-muted);

  font-size: 14px;
}

.hv-result-row strong {
  color: var(--demo-dark);

  font-size: 18px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.hv-demo-final {
  margin-top: 24px;

  padding-top: 22px;

  border-top: 1px solid var(--demo-border);
}

.hv-demo-final h2 {
  font-size: clamp(25px, 2.5vw, 34px);
}

.hv-demo-final p {
  max-width: 700px;

  margin-bottom: 18px;

  color: var(--demo-muted);

  font-size: 14px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.hv-demo-navigation {
  min-height: 60px;

  padding: 9px 24px;

  display: none;
  justify-content: space-between;
  align-items: center;

  border-top: 1px solid var(--demo-border);

  background: #faf9f7;
}

.hv-demo-navigation.hv-nav-visible {
  display: flex;
}


/* =========================================================
   TABLET
   Preserve the existing tablet experience
========================================================= */

@media (max-width: 900px) {

  .hv-demo {
    padding: 45px 18px 65px;
  }

  .hv-demo-panel {
    min-height: auto;

    padding: 50px 30px;
  }

  .hv-demo h2 {
    font-size: clamp(30px, 4vw, 44px);
  }

  .hv-demo-step-heading {
    margin-bottom: 42px;
  }

  .hv-demo-step-heading > p {
    font-size: 17px;
  }

  .hv-insight-grid {
    grid-template-columns: 1fr;
  }

  .hv-insight-card {
    padding: 27px;
  }

  .hv-insight-card p {
    font-size: 14px;
  }

  .hv-language-layout,
  .hv-result-layout {
    grid-template-columns: 1fr;
  }

  .hv-language-quote {
    padding: 20px 22px;

    font-size: 15px;
  }

  .hv-opportunity-panel {
    padding: 26px;
  }

  .hv-opportunity-item {
    grid-template-columns: 34px 1fr;

    gap: 15px;

    padding: 17px 0;
  }

  .hv-opportunity-item strong {
    font-size: 14px;
  }

  .hv-opportunity-item p {
    font-size: 13px;
  }

  .hv-app-window {
    grid-template-columns: 160px 1fr;
  }

  .hv-result-score-card {
    min-height: 280px;
  }

  .hv-result-row {
    min-height: 70px;
  }

  .hv-demo-final {
    margin-top: 42px;

    padding-top: 38px;
  }

  .hv-demo-navigation {
    min-height: 76px;

    padding: 14px 28px;
  }

}


/* =========================================================
   MOBILE
   Preserve existing mobile experience
========================================================= */

@media (max-width: 650px) {

  .hv-demo {
    padding-left: 0;
    padding-right: 0;
  }

  .hv-demo-shell {
    border-left: 0;
    border-right: 0;

    border-radius: 0;
  }

  .hv-demo-header {
    padding: 15px 18px;
  }

  .hv-demo-brand span {
    display: none;
  }

  .hv-demo-progress-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hv-demo-panel {
    padding: 42px 20px;
  }

  .hv-app-window {
    display: block;
  }

  .hv-app-sidebar {
    display: none;
  }

  .hv-app-main {
    padding: 18px;
  }

  .hv-search-card {
    padding: 20px;
  }

  .hv-demo-navigation {
    padding: 14px 18px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .hv-demo-restart {
    font-size: 11px;
  }

  .hv-demo-primary,
  .hv-demo-secondary {
    padding-left: 15px;
    padding-right: 15px;

    font-size: 13px;
  }

}