/* Handoff Hero → KIKO visual layer (synthetic product demos + approved layout).
   Keeps production brand tokens; scoped so Advisory → footer stay untouched. */

/* ---- Synthetic product demos ---- */
.demo-app {
  font-family: Arial, sans-serif;
  display: flex;
  background: #f0f4f9;
  color: #0c263e;
  width: 100%;
  height: 365px;
  border-radius: 14px;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: 0 16px 35px #18274c29;
  text-align: left;
  font-size: 10px;
  line-height: 1.2;
}
.demo-sidebar {
  flex: none;
  width: 118px;
  background: #fff;
  border-right: 1px solid #d4dce6;
  position: relative;
  padding: 13px 8px;
}
.demo-mark {
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  color: #203d54;
  margin: 7px 0 25px;
}
.demo-mark span {
  color: #ff8c78;
}
.demo-sidebar small {
  font-size: 7px;
  display: block;
  color: #637b9a;
  letter-spacing: 0.07em;
  margin: 11px 0 4px;
}
.demo-menu {
  font-size: 9px;
  padding: 7px 6px;
  border-radius: 4px;
  color: #254567;
}
.demo-menu.on {
  background: #eaf0f8;
  font-weight: 700;
}
.demo-user {
  display: none !important;
}
.demo-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.demo-topbar {
  height: 39px;
  flex: none;
  background: #fff;
  box-shadow: 0 2px 4px #243b5c16;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 0 12px;
  color: #4a6078;
}
.demo-tab {
  background: #e9eef5;
  padding: 7px;
  border-radius: 6px;
  font-weight: 700;
  color: #203952;
}
.demo-filter {
  border: 1px solid #ced8e6;
  border-radius: 5px;
  padding: 6px 9px;
}
.demo-grow {
  margin-left: auto;
  border: 1px solid #aabbd0;
  padding: 5px 8px;
  border-radius: 5px;
}
.demo-main {
  padding: 12px;
  overflow: hidden;
  min-width: 0;
}
.demo-main h3 {
  font-size: 19px;
  margin: 0 0 10px;
  font-weight: 700;
  color: #0a253e;
}
.demo-main h3 span {
  font-size: 9px;
  color: #647e99;
  font-weight: 400;
  margin-left: 8px;
}
.demo-label {
  font-size: 10px;
  margin: 10px 0 7px;
  font-weight: 700;
}
.demo-metrics {
  display: grid;
  gap: 8px;
  margin: 7px 0 10px;
}
.demo-metrics.four {
  grid-template-columns: repeat(4, 1fr);
}
.demo-metric {
  background: #fff;
  border: 1px solid #bcd0df;
  border-top: 2px solid #6d99ce;
  border-radius: 6px;
  padding: 9px;
  min-width: 0;
}
.demo-metric small {
  display: block;
  color: #56718d;
  font-size: 8px;
}
.demo-metric b {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-top: 3px;
}
.demo-metric em {
  font-size: 7px;
  font-style: normal;
  color: #7289a5;
}
.demo-panel {
  background: #fff;
  border: 1px solid #c7d5e4;
  border-radius: 7px;
  margin-top: 9px;
  overflow: hidden;
  padding: 8px;
}
.demo-panel-title {
  font-size: 10px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}
.demo-panel-title small {
  font-size: 7px;
  font-weight: 400;
  color: #7690aa;
}
.demo-trend {
  height: 112px;
}
.demo-chart {
  width: 100%;
  height: 77%;
  display: block;
  margin-top: 6px;
}
.demo-axis {
  font-size: 7px;
  display: flex;
  justify-content: space-between;
  color: #7d8caa;
}
.demo-stock {
  height: 78px;
}
.demo-stock .demo-chart {
  height: 65%;
}
.demo-alerts {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
.demo-alerts > div {
  background: #fff;
  border: 1px solid #cad7e5;
  border-radius: 7px;
  padding: 9px;
  flex: 1;
  color: #56718d;
}
.demo-alerts strong {
  font-size: 19px;
  display: block;
  color: #173955;
}
.demo-search {
  font-size: 9px;
  padding: 8px 4px 12px;
  color: #57718d;
}
.demo-search span {
  float: right;
}
.demo-app table {
  border-collapse: collapse;
  width: 100%;
  font-size: 8px;
  white-space: nowrap;
}
.demo-app th {
  background: #eef3f9;
  text-align: left;
  padding: 10px 7px;
  color: #58738d;
  font-weight: 600;
  border-bottom: 1px solid #c8d5e4;
}
.demo-app td {
  padding: 9px 7px;
  border-bottom: 1px solid #dbe3eb;
  color: #25425c;
}
.demo-app td:first-child {
  font-weight: 600;
}
.demo-allocate-table td {
  padding: 11px 8px;
}
.demo-allocate-table td small {
  font-size: 7px;
  color: #7d91a6;
}
.demo-app td.low {
  background: #ffd3d3;
}
.demo-app td.watch {
  background: #ffeba4;
}
.demo-disclaimer {
  font-size: 10px;
  margin-top: 8px;
  text-align: center;
  color: #8490a4;
}
.module-demo {
  width: 100%;
  min-width: 0;
}
.module-demo .demo-app {
  height: 325px;
  box-shadow: 0 10px 32px #22316a16;
}
.module-demo .demo-app th,
.module-demo .demo-app td {
  padding: 8px 5px;
}
.module-demo .demo-main {
  padding: 9px;
}
.module-demo .demo-metric b {
  font-size: 15px;
}
.module-demo .demo-main h3 {
  font-size: 17px;
}

/* ---- Hero ---- */
.hero_area.handoff-hero {
  padding-top: 40px;
  padding-bottom: 0;
  overflow: visible;
}
.handoff-hero .hero-inner {
  position: relative;
  min-height: 760px;
  padding-bottom: 48px;
}
.handoff-hero .hero_cont h1 {
  position: relative;
  z-index: 2;
  max-width: none;
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin: 0;
}
.handoff-hero .hero_cont h1 .hero-line {
  display: block;
  white-space: nowrap;
}
.handoff-hero .hero_cont h1 .hero-arrow {
  display: inline-block;
  width: clamp(72px, 10vw, 140px);
  height: 0.55em;
  border: 2px solid #fff;
  border-radius: 50px;
  vertical-align: 0.12em;
  margin-left: 0.2em;
  margin-right: 0.55em;
  position: relative;
  font-style: normal;
  line-height: 0;
  box-sizing: border-box;
}
.handoff-hero .hero_cont h1 .hero-arrow::after {
  content: "⟶";
  font-style: normal;
  font-size: 0.45em;
  line-height: 1;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(-10%, -55%);
  color: #fff;
  margin-left: 0.15em;
}
.handoff-hero .hero_cont_para {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  max-width: 380px;
}
.handoff-hero .hero_cont_para p {
  font-size: 1.15rem;
  line-height: 1.6;
}
.handoff-hero .hero_cont_para b {
  color: var(--color-accent);
  font-weight: 600;
}
.handoff-hero .hero-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: 1;
  padding-bottom: 28px;
}
.handoff-hero .hero-demo {
  width: 100%;
  transform: perspective(1200px) rotateY(-3deg);
  filter: drop-shadow(0 24px 45px #070f3580);
  position: relative;
}
.handoff-hero .hero-demo::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid #ffffff43;
  border-radius: 18px;
  pointer-events: none;
  z-index: 2;
}
.handoff-hero .hero-demo .demo-app {
  height: 390px;
}
/* Keep synthetic disclaimer readable below assistant overlays */
.handoff-hero .hero-demo .demo-disclaimer {
  position: relative;
  z-index: 4;
  margin-top: 14px;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.handoff-hero .hero-assistant {
  position: absolute;
  right: 44%;
  bottom: 44px;
  width: 225px;
  height: 215px;
  background-image: url("../img/assistant/belle-assistant-leaf-sheet.png");
  background-size: 570px auto;
  background-position: -174px -40px;
  background-repeat: no-repeat;
  border-radius: 28px;
  z-index: 3;
  box-shadow: 0 0 0 1px #ffffff25;
  -webkit-mask-image: radial-gradient(ellipse 83% 90% at 50% 52%, #000 67%, transparent 100%);
  mask-image: radial-gradient(ellipse 83% 90% at 50% 52%, #000 67%, transparent 100%);
  filter: drop-shadow(0 12px 18px #040d3a80);
  pointer-events: none;
}
.handoff-hero .assistant-tag {
  position: absolute;
  right: 42%;
  bottom: 42px;
  background: #fff;
  color: var(--color-navy);
  z-index: 3;
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

/* ---- Results copy tweaks (reuse existing cards) ---- */
.results_area .result_value {
  white-space: nowrap;
}

/* ---- How It Works (BUY / ALLOCATE / REBALANCE) ---- */
.work_area.handoff-how {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.handoff-how .how-stages {
  position: relative;
  margin-top: 20px;
}
.handoff-how .how-row {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 76px;
  align-items: center;
  margin: 62px 0 0;
  position: relative;
  z-index: 1;
}
.handoff-how .how-row.flip .step-frame {
  order: -1;
}
.handoff-how .how-row.stage-three {
  grid-template-columns: 1fr 1.06fr;
}
.handoff-how .how-copy small {
  display: block;
  color: var(--color-accent);
  letter-spacing: 0.16em;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}
.handoff-how .how-copy h3 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.4rem);
  line-height: 1.16;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.handoff-how .how-copy p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}
.handoff-how .how-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy-deep);
  text-decoration: none;
}
.handoff-how .how-cta span {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  font-size: 29px;
  font-weight: 400;
  color: var(--color-accent);
}
.handoff-how .step-frame {
  background: #252f67;
  padding: 15px 15px 4px;
  border-radius: 24px;
  position: relative;
  min-width: 0;
  box-shadow: 0 15px 33px #29346915;
}
.handoff-how .step-frame .module-demo .demo-app {
  height: 300px;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}
.handoff-how .step-frame .module-demo .demo-disclaimer {
  display: none;
}
.handoff-how .step-footer {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  padding: 0 16px;
}
.handoff-how .step-footer b {
  font-size: 55px;
  line-height: 1;
  color: #526197;
  font-weight: 700;
}
.handoff-how .step-footer span {
  font-size: 19px;
}
.handoff-how .step-bubble {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  right: -12px;
  bottom: -12px;
  background: #ff8c78;
  border: 12px solid #fff;
  color: white;
  display: grid;
  place-items: center;
  font-size: 37px;
  font-weight: 300;
}
.handoff-how .how-connector {
  height: 110px;
  width: 76%;
  margin: 10px auto 0;
  border-top: 2px dashed #8797c3;
  position: relative;
}
.handoff-how .connector-left {
  border-left: 2px dashed #8797c3;
  border-top-left-radius: 30px;
  transform: translateY(10px);
}
.handoff-how .connector-right {
  border-right: 2px dashed #8797c3;
  border-top-right-radius: 30px;
  transform: translateY(10px);
}
.handoff-how .how-connector::after {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #252f67;
}
.handoff-how .connector-left::after {
  left: -5px;
}
.handoff-how .connector-right::after {
  right: -5px;
}

/* ---- KIKO customer success ---- */
.kiko_area {
  background: #eaf1ff;
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.kiko_area .kiko-eyebrow {
  color: #df7f80;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.kiko_area h2 {
  font-size: clamp(1.85rem, 3vw + 1rem, 2.9rem);
  letter-spacing: -0.04em;
  color: var(--color-navy);
  margin: 0 0 20px;
  line-height: 1.15;
  font-weight: 600;
}
.kiko_area .kiko-copy p {
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0 0 18px;
}
.kiko_area .case-metrics {
  font-size: 1.25rem;
  color: var(--color-navy);
  font-weight: 700;
}
.kiko_area .case-visual {
  background: #fff;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 10px 45px #23376a14;
}
.kiko_area .case-visual-title {
  font-weight: 700;
  color: #252f67;
  font-size: 23px;
  margin-bottom: 8px;
}
.kiko_area .case-curve {
  height: auto;
  aspect-ratio: 560 / 320;
  margin-top: 18px;
}
.kiko_area .case-curve svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.kiko_area .case-caption {
  font-size: 14px;
  color: #50668a;
  margin-top: 10px;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .handoff-hero .hero-visual {
    width: 58%;
  }
  .handoff-hero .hero-assistant {
    right: 40%;
  }
  .module-demo .demo-sidebar {
    width: 90px;
  }
  .module-demo .demo-menu {
    font-size: 7px;
  }
  .module-demo .demo-topbar {
    gap: 5px;
  }
  .demo-main h3 {
    font-size: 16px;
  }
  .demo-app th,
  .demo-app td {
    padding: 6px 3px;
  }
}

@media (max-width: 991px) {
  .handoff-hero .hero-inner {
    min-height: 0;
    padding-bottom: 60px;
  }
  .handoff-hero .hero_cont h1 {
    max-width: none;
    line-height: 1.1;
  }
  .handoff-hero .hero_cont h1 .hero-line {
    white-space: normal;
  }
  .handoff-hero .hero_cont h1 .hero-arrow {
    display: none;
  }
  .handoff-hero .hero_cont_para {
    margin-top: 20px;
    max-width: none;
  }
  .handoff-hero .hero-visual {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    margin-top: 35px;
    padding-bottom: 20px;
  }
  .handoff-hero .hero-demo {
    transform: none;
  }
  .handoff-hero .hero-assistant {
    right: 12px;
    bottom: 52px;
  }
  .handoff-hero .assistant-tag {
    right: 12px;
    bottom: 44px;
  }
  .handoff-how .how-row,
  .handoff-how .how-row.stage-three {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 60px 0;
  }
  .handoff-how .how-row.flip .step-frame {
    order: 0;
  }
  .handoff-how .how-connector {
    height: 70px;
    width: 72%;
    margin-top: 0;
  }
  .handoff-how .step-frame {
    max-width: 680px;
  }
  .handoff-how .how-cta span {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
  .module-demo .demo-app {
    height: 280px;
  }
  .demo-app {
    font-size: 8px;
  }
  .kiko_area .case-visual {
    margin-top: 32px;
  }
}

@media (max-width: 540px) {
  .handoff-hero .hero-demo .demo-app {
    height: 245px;
  }
  .handoff-hero .hero-demo .demo-sidebar {
    width: 65px;
  }
  .handoff-hero .hero-demo .demo-menu {
    font-size: 6px;
    padding: 4px;
  }
  .handoff-hero .hero-demo .demo-metric b {
    font-size: 12px;
  }
  .handoff-hero .hero-demo .demo-metric {
    padding: 5px;
  }
  .handoff-hero .hero-demo .demo-main {
    padding: 5px;
  }
  .handoff-hero .hero-demo .demo-topbar {
    gap: 4px;
    padding: 4px;
  }
  .handoff-hero .hero-demo .demo-filter,
  .handoff-hero .hero-demo .demo-grow {
    font-size: 6px;
    padding: 3px;
  }
  .handoff-hero .hero-demo .demo-main h3 {
    font-size: 12px;
  }
  .handoff-hero .hero-assistant {
    transform: scale(0.62);
    transform-origin: bottom right;
    right: -20px;
    bottom: 40px;
  }
  .handoff-hero .assistant-tag {
    right: 8px;
    bottom: 34px;
    font-size: 9px;
  }
  .handoff-hero .hero-demo .demo-disclaimer {
    font-size: 11px;
  }
  .module-demo .demo-sidebar {
    width: 70px;
  }
  .module-demo .demo-menu {
    font-size: 6px;
  }
  .module-demo .demo-topbar {
    gap: 4px;
  }
  .module-demo .demo-filter,
  .module-demo .demo-grow {
    font-size: 6px;
    padding: 3px;
  }
  .module-demo .demo-app {
    height: 230px;
  }
  .module-demo .demo-metric {
    padding: 4px;
  }
  .module-demo .demo-metric b {
    font-size: 10px;
  }
  .module-demo .demo-main h3 {
    font-size: 12px;
  }
  .module-demo .demo-app table {
    font-size: 6px;
  }
  .module-demo .demo-main {
    padding: 5px;
  }
  .handoff-how .how-row {
    margin: 45px 0;
  }
  .handoff-how .how-connector {
    height: 55px;
  }
  .handoff-how .step-frame {
    padding: 9px 9px 3px;
    border-radius: 18px;
  }
  .handoff-how .step-frame .module-demo .demo-app {
    height: 228px;
  }
  .handoff-how .step-footer {
    height: 57px;
    padding: 0 10px;
  }
  .handoff-how .step-footer b {
    font-size: 41px;
  }
  .handoff-how .step-footer span {
    font-size: 16px;
  }
  .handoff-how .step-bubble {
    height: 70px;
    width: 70px;
    border-width: 9px;
    right: -9px;
    bottom: -9px;
    font-size: 27px;
  }
  .kiko_area .case-visual {
    padding: 22px;
  }
  .kiko_area .case-visual-title {
    font-size: 18px;
  }
}

/* Sharp Belle mark in chrome (SVG replaces soft 90px PNG) */
.logo img,
.offcanvas_logo img,
.footer_logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
