.hero-mobile-intro {
  display: contents;
}

.hero-mobile-tablet {
  display: none;
}

.sentinelle-mockup-frame,
.sentinelle-mockup-frame * {
  box-sizing: border-box;
}

.sentinelle-mockup-frame {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  font-family: Inter, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dashboard-mock {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 430 / 314;
  display: grid;
  grid-template-columns: 17% 83%;
  overflow: hidden;
  color: #f5f7f5;
  border: 1px solid rgba(169, 196, 160, 0.18);
  border-radius: 19px;
  background: radial-gradient(circle at 58% 35%, #101712, #070a08 68%);
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.65), 0 0 0 8px rgba(255, 255, 255, 0.025);
}

.dash-nav {
  min-width: 0;
  padding: 11px 3px 8px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(3, 5, 4, 0.64);
}

.dash-wordmark {
  overflow: hidden;
  color: #f7f8f7;
  font-size: 5.2px;
  font-weight: 750;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
}

.dash-wordmark span {
  color: #94b66f;
}

.dash-menu {
  margin-top: 14px;
  display: grid;
  gap: 5px;
}

.dash-menu > span {
  min-height: 22px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  color: #7a817c;
  border-left: 1px solid transparent;
  border-radius: 6px;
}

.dash-menu > span > i {
  width: 8px;
  flex: 0 0 8px;
  display: grid;
  place-items: center;
  font-size: 7px;
  font-style: normal;
}

.dash-menu > span > i svg {
  width: 7px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dash-menu > span > small {
  min-width: 0;
  overflow: hidden;
  font-size: 4.1px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.dash-menu > span.active {
  color: #a6c77e;
  border-left-color: #a6c77e;
  background: linear-gradient(90deg, rgba(166, 199, 126, 0.17), rgba(255, 255, 255, 0.04));
}

.dash-user {
  min-height: 31px;
  margin-top: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #b3b9b4;
  border: 0;
  border-radius: 7px;
  font-size: 6px;
  white-space: nowrap;
}

.dash-user span {
  display: none;
}

.dash-user b {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: grid;
  place-items: center;
  color: #a6c77e;
  border-radius: 50%;
  background: #182019;
  font-size: 6px;
}

.dash-main {
  min-width: 0;
  padding: 9px;
}

.dash-head {
  height: 37px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.dash-title strong,
.dash-title small,
.dash-account b,
.dash-account small {
  display: block;
}

.dash-title strong {
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.dash-title small {
  margin-top: 5px;
  color: #79817b;
  font-size: 6px;
}

.dash-account {
  width: 97px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.015);
}

.dash-account b {
  color: #edf0ed;
  font-size: 7px;
}

.dash-account small {
  margin-top: 2px;
  color: #878e89;
  font-size: 6px;
}

.dash-account small span {
  float: right;
  color: #d8ddd9;
}

.dash-panels {
  height: calc(100% - 37px);
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  gap: 6px;
}

.dash-overview,
.dash-settings {
  min-width: 0;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(10, 14, 11, 0.82);
}

.dash-panel-head {
  min-height: 22px;
  padding-bottom: 5px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-panel-head strong {
  font-size: 7px;
  line-height: 1.25;
}

.dash-panel-head > span {
  flex: 0 0 auto;
  color: #a6c77e;
  font-size: 6px;
}

.dash-panel-head i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a6c77e;
  box-shadow: 0 0 8px rgba(166, 199, 126, 0.55);
}

.dash-cycle-status {
  position: relative;
  width: 57px;
  height: 9px;
}

.dash-cycle-status > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  white-space: nowrap;
}

.cycle-limit {
  color: #ff7a72;
  opacity: 0;
}

.dash-metric {
  min-height: 49px;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.dash-metric.compact {
  border-bottom: 0;
}

.metric-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: grid;
  place-items: center;
  color: #a6c77e;
  border: 1px solid #8dab68;
  border-radius: 50%;
  font-size: 8px;
}

.metric-icon svg,
.dash-setting svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.dash-metric > div {
  min-width: 0;
  flex: 1;
}

.dash-metric small {
  display: block;
  overflow: hidden;
  color: #a8aea9;
  font-size: 6px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dash-metric strong {
  display: block;
  margin-top: 4px;
  color: white;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.dash-metric strong em {
  color: #99a09b;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
}

.metric-value {
  position: relative;
}

.metric-value > span {
  display: block;
}

.metric-value .metric-limit {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.metric-bar {
  height: 3px;
  margin-top: 5px;
  display: block;
  overflow: hidden;
  border-radius: 9px;
  background: #252b27;
}

.metric-bar i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #a6c77e;
}

.metric-bar i.half {
  width: 49%;
}

.metric-bar i.third {
  width: 33%;
}

.dash-panel-title {
  min-height: 29px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.dash-panel-title strong,
.dash-panel-title small {
  display: block;
}

.dash-panel-title strong {
  font-size: 9px;
}

.dash-panel-title small {
  margin-top: 4px;
  color: #7b837d;
  font-size: 6px;
}

.dash-setting {
  min-height: 39px;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.dash-setting > span {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  color: #a6c77e;
  border: 1px solid #78975d;
  border-radius: 50%;
  font-size: 9px;
}

.dash-setting > div {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.dash-setting small {
  overflow: hidden;
  color: #bbc0bc;
  font-size: 6px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dash-setting strong {
  flex: 0 0 auto;
  padding: 4px 5px;
  color: #f1f3f1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 5px;
  font-size: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.setting-control {
  height: 21px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 14px auto 14px;
  align-items: stretch;
  overflow: hidden;
  color: #f1f3f1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.015);
}

.setting-control i {
  display: grid;
  place-items: center;
  color: #dfe4df;
  font-size: 8px;
  font-style: normal;
}

.setting-control i:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.setting-control i:last-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.setting-control strong {
  min-width: 23px;
  padding: 0 3px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
}

.dash-settings button {
  width: 100%;
  height: 24px;
  margin-top: 5px;
  color: #101610;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #9fbd7d, #b4cd8c);
  font: inherit;
  font-size: 7px;
  font-weight: 750;
}

.animated-dashboard .metric-start {
  animation: tablet-metric-start 5.8s ease-in-out infinite;
}

.animated-dashboard .metric-value .metric-limit {
  animation: tablet-metric-limit 5.8s ease-in-out infinite;
}

.animated-dashboard .metric-bar i.half {
  animation: tablet-fill-drawdown 5.8s ease-in-out infinite;
}

.animated-dashboard .metric-bar i.third {
  animation: tablet-fill-stop 5.8s ease-in-out infinite;
}

.animated-dashboard .cycle-active {
  animation: tablet-cycle-active 5.8s ease-in-out infinite;
}

.animated-dashboard .cycle-limit {
  animation: tablet-cycle-limit 5.8s ease-in-out infinite;
}

@keyframes tablet-metric-start {
  0%, 18% { opacity: 1; transform: translateY(0); }
  29%, 89% { opacity: 0; transform: translateY(-3px); }
  97%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes tablet-metric-limit {
  0%, 18% { opacity: 0; transform: translateY(3px); }
  29%, 89% { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; transform: translateY(3px); }
}

@keyframes tablet-fill-drawdown {
  0%, 18% { width: 49%; background: #a6c77e; }
  31%, 89% { width: 100%; background: #e45650; }
  97%, 100% { width: 49%; background: #a6c77e; }
}

@keyframes tablet-fill-stop {
  0%, 18% { width: 33%; background: #a6c77e; }
  31%, 89% { width: 100%; background: #e45650; }
  97%, 100% { width: 33%; background: #a6c77e; }
}

@keyframes tablet-cycle-active {
  0%, 20% { opacity: 1; transform: translateY(0); }
  28%, 90% { opacity: 0; transform: translateY(-2px); }
  97%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes tablet-cycle-limit {
  0%, 22% { opacity: 0; transform: translateY(2px); }
  29%, 42% { opacity: 1; transform: translateY(0); }
  48%, 100% { opacity: 0; transform: translateY(-2px); }
}

.dash-lock-screen {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  bottom: 0;
  left: 17%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  border-left: 1px solid rgba(232, 80, 73, 0.22);
  background: radial-gradient(circle at 50% 38%, rgba(62, 26, 27, 0.98), rgba(11, 8, 8, 0.99) 68%);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985);
  pointer-events: none;
  animation: tablet-lock-reveal 5.8s ease-in-out infinite;
}

.dash-lock-screen::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(232, 80, 73, 0.16);
  border-radius: 12px;
}

.dash-lock-ring {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: linear-gradient(145deg, #f16a62, #c83f3a);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36), 0 0 26px rgba(232, 80, 73, 0.24);
}

.dash-lock-ring svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.dash-lock-screen small {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: #ff8a83;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.dash-lock-screen > strong {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: #ff746d;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.dash-lock-timer {
  position: relative;
  z-index: 1;
  min-height: 25px;
  margin-top: 11px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #a8a0a0;
  border: 1px solid rgba(232, 80, 73, 0.28);
  border-radius: 999px;
  background: rgba(232, 80, 73, 0.09);
  font-size: 6px;
  white-space: nowrap;
}

.dash-lock-timer i {
  color: #ff746d;
  font-size: 9px;
  font-style: normal;
}

.dash-lock-timer b {
  color: white;
  font-size: 7px;
}

.dash-lock-screen p {
  position: relative;
  z-index: 1;
  max-width: 220px;
  margin: 8px 18px 0;
  color: #918989;
  font-size: 6.5px;
  line-height: 1.45;
  text-align: center;
}

@keyframes tablet-lock-reveal {
  0%, 39% { opacity: 0; visibility: hidden; transform: scale(0.985); }
  47%, 89% { opacity: 1; visibility: visible; transform: scale(1); }
  97%, 100% { opacity: 0; visibility: hidden; transform: scale(0.985); }
}

@media (max-width: 767px) {
  .site-hero-page {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .site-hero-page .hero-shell {
    max-width: 100%;
    margin: clamp(7px, 1.3dvh, 13px) auto 0;
    gap: clamp(7px, 1.15dvh, 11px);
    align-items: start;
  }

  .hero-mobile-intro {
    width: 100%;
    min-width: 0;
    min-height: calc(100vh - 83px);
    min-height: calc(100svh - 83px);
    min-height: calc(100dvh - 83px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: clamp(7px, 1.15dvh, 11px);
  }

  .hero-mobile-tablet {
    width: 100%;
    min-width: 0;
    display: grid;
    place-items: center;
    order: -1;
  }

  .hero-mobile-tablet-device {
    position: relative;
    width: min(calc(100% + 12px), 414px);
    padding: clamp(7px, 2.1vw, 10px);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: clamp(19px, 5.5vw, 28px);
    background: linear-gradient(145deg, #2c302f 0%, #0a0c0b 15%, #020303 52%, #191c1b 88%, #353938 100%);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(255, 255, 255, 0.045);
  }

  .hero-mobile-tablet-device::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: clamp(2px, 0.65vw, 4px);
    left: 50%;
    width: clamp(3px, 0.9vw, 5px);
    height: clamp(3px, 0.9vw, 5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: radial-gradient(circle at 36% 34%, #32413d 0 18%, #101716 30%, #010202 72%);
    box-shadow: 0 0 4px rgba(87, 128, 114, 0.3);
    transform: translateX(-50%);
  }

  .hero-mobile-tablet-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 430 / 314;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: clamp(13px, 3.9vw, 20px);
    background: #050706;
  }

  .hero-mobile-tablet .sentinelle-mockup-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 430px;
    max-width: none;
    margin: 0;
    transform: scale(var(--mobile-tablet-scale, 0.72));
    transform-origin: left top;
  }

  .hero-mobile-tablet .dashboard-mock {
    width: 430px;
    height: 314px;
    aspect-ratio: auto;
    border: 0;
    border-radius: inherit;
    box-shadow: none;
  }

  .site-hero-page .hero-copy {
    padding-top: 0;
    display: grid;
    justify-items: center;
  }

  .site-hero-page .hero-copy h1 {
    margin-top: 0;
    margin-bottom: clamp(7px, 1.15dvh, 11px);
    line-height: 1.03;
  }

  .site-hero-page .hero-main-cta-group {
    margin-top: clamp(10px, 1.7dvh, 16px);
  }

  .site-hero-page .hero-copy .landing-cta-reassurance {
    margin-top: clamp(6px, 1dvh, 9px);
  }

  .site-hero-page > .hero-shell > .hero-mockup {
    display: none;
  }
}

@media (max-width: 767px) and (max-height: 680px) {
  .site-hero-page .hero-copy h1 {
    font-size: clamp(28px, 8.2vw, 32px);
  }

  .site-hero-page .hero-shell {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animated-dashboard .metric-start,
  .animated-dashboard .cycle-active {
    animation: none;
    opacity: 0;
  }

  .animated-dashboard .metric-value .metric-limit,
  .animated-dashboard .cycle-limit {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .animated-dashboard .metric-bar i.half,
  .animated-dashboard .metric-bar i.third {
    width: 100%;
    animation: none;
    background: #e45650;
  }

  .animated-dashboard .dash-lock-screen {
    opacity: 1;
    visibility: visible;
    transform: none;
    animation: none;
  }
}
