.dashboard-story {
  position: relative;
  height: calc(100svh + var(--dashboard-travel, 1200px));
  color: #fff;
  background: radial-gradient(ellipse at 74% 48%, rgba(30,115,190,.22), transparent 45%), linear-gradient(145deg, #08182b, #102844 68%, #0a1d34);
}
.dashboard-story-sticky {
  position: sticky;
  top: 0;
  display: grid;
  height: 100svh;
  min-height: 560px;
  align-items: center;
  overflow: hidden;
}
.dashboard-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  align-items: center;
  gap: 64px;
}
.dashboard-story-copy { max-width: 520px; }
.dashboard-story-copy .eyebrow { color: #8ec7f4; }
.dashboard-story-copy h2 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: -.03em;
}
.dashboard-story-copy > p:not(.eyebrow) { margin: 0; color: #d2deea; font-size: 16px; line-height: 1.7; }
.dashboard-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.dashboard-steps span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.06); color: #e3edf7; font-size: 11px; }
.dashboard-progress { margin-top: 28px; }
.dashboard-progress-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: #c5d7e8; font-size: 12px; }
.dashboard-progress-head strong { color: #fff; font-variant-numeric: tabular-nums; }
.dashboard-progress-track { height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.16); }
.dashboard-progress-track span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4da8ec, #61d4a1); transform: scaleX(0); transform-origin: left center; }
.dashboard-story-stats { display: none; }
.dashboard-story-stage { display: flex; min-height: 0; align-items: center; justify-content: center; }
.dashboard-story .phone {
  position: relative;
  width: 270px;
  flex: 0 0 auto;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 44px;
  background: linear-gradient(125deg, #30343a 0%, #aeb4bb 8%, #42474e 14%, #171a1f 28%, #080a0d 74%, #646a72 94%, #24272d 100%);
  box-shadow: 0 36px 78px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.18), inset 0 0 0 1px rgba(255,255,255,.32);
}
.dashboard-story .phone::before { position: absolute; top: 105px; left: -4px; width: 4px; height: 34px; border: 1px solid #555b63; border-right: 0; border-radius: 4px 0 0 4px; background: linear-gradient(90deg,#555b63,#16191e); content: ""; }
.dashboard-story .phone::after { position: absolute; top: 149px; left: -4px; width: 4px; height: 58px; border: 1px solid #555b63; border-right: 0; border-radius: 4px 0 0 4px; background: linear-gradient(90deg,#555b63,#16191e); content: ""; }
.dashboard-story .iphone-power { position: absolute; top: 137px; right: -4px; width: 4px; height: 70px; border: 1px solid #555b63; border-left: 0; border-radius: 0 4px 4px 0; background: linear-gradient(90deg,#16191e,#555b63); }
.dashboard-story .phone-screen {
  position: relative;
  display: flex;
  height: min(640px, calc(100svh - 100px));
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 13px 0 10px;
  border: 1px solid rgba(0,0,0,.75);
  border-radius: 37px;
  background: #0A1D34;
  color: #0A1D34;
  box-shadow: none;
}
.dashboard-story .iphone-island { position: absolute; z-index: 3; top: 8px; left: 50%; width: 78px; height: 22px; border: 1px solid #202227; border-radius: 18px; background: #030405; box-shadow: inset 0 1px 2px rgba(255,255,255,.08); transform: translateX(-50%); }
.dashboard-story .iphone-island::after { position: absolute; top: 7px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%,#45617b,#10141b 72%); box-shadow: 0 0 0 1px #121820; content: ""; }
.dashboard-story .phone-status { position: relative; z-index: 2; display: flex; height: 26px; flex: 0 0 auto; justify-content: space-between; align-items: flex-start; margin: 0 14px 10px; padding-top: 2px; color: #fff; font-size: 9px; font-weight: 700; }
.dashboard-story .phone-status > span:first-child { margin-left: 13px; }
.dashboard-story .status-icons { display: inline-flex; align-items: center; gap: 4px; }
.dashboard-story .status-signal { display: inline-flex; height: 10px; align-items: flex-end; gap: 1px; }
.dashboard-story .status-signal i { display: block; width: 2px; border-radius: 2px; background: #fff; }
.dashboard-story .status-signal i:nth-child(1) { height: 3px; }
.dashboard-story .status-signal i:nth-child(2) { height: 5px; }
.dashboard-story .status-signal i:nth-child(3) { height: 7px; }
.dashboard-story .status-signal i:nth-child(4) { height: 9px; }
.dashboard-story .status-wifi { display: block; width: 13px; height: 11px; overflow: visible; }
.dashboard-story .status-wifi path, .dashboard-story .status-wifi circle { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; }
.dashboard-story .status-wifi circle { fill: #fff; stroke: none; }
.dashboard-story .status-battery { position: relative; width: 15px; height: 8px; border: 1px solid #fff; border-radius: 2px; }
.dashboard-story .status-battery::before { position: absolute; inset: 1px 3px 1px 1px; border-radius: 1px; background: #fff; content: ""; }
.dashboard-story .status-battery::after { position: absolute; top: 2px; right: -3px; width: 2px; height: 3px; border-radius: 0 1px 1px 0; background: #fff; content: ""; }
.dashboard-window { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; margin: 0; border-radius: 0; background: #0A1D34; }
.dashboard-window img { display: block; width: 105.3%; height: auto; max-width: none; margin-left: -2.65%; clip-path: inset(18px 5% 0 0); -webkit-clip-path: inset(18px 5% 0 0); transform: translate3d(0,0,0); will-change: transform; }
.dashboard-story .home-indicator { width: 76px; height: 4px; flex: 0 0 auto; margin: 9px auto 0; border-radius: 5px; background: #fff; opacity: .85; }
@media (max-width: 900px) {
  .dashboard-story-layout { grid-template-columns: minmax(0, 1fr) minmax(270px, .78fr); gap: 28px; }
  .dashboard-story .phone { width: 250px; }
}
@media (max-width: 700px) {
  .dashboard-story-sticky { min-height: 0; }
  .dashboard-story .dashboard-story-layout { height: 100%; grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr) auto; gap: 8px; padding-top: 36px; padding-bottom: 36px; }
  .dashboard-story-copy { max-width: 580px; margin: 0 auto; text-align: center; }
  .dashboard-story-copy .eyebrow { margin-bottom: 7px; font-size: 10px; }
  .dashboard-story-copy h2 { margin-bottom: 7px; font-size: clamp(21px, 5.6vw, 26px); }
  .dashboard-story-copy > p:not(.eyebrow) { font-size: 12.5px; line-height: 1.45; }
  .dashboard-steps { display: none; }
  .dashboard-progress { max-width: 340px; margin: 12px auto 0; }
  .dashboard-progress-head { margin-bottom: 6px; font-size: 10px; }
  .dashboard-story-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 0; padding-top: 4px; text-align: center; }
  .dashboard-story-stat strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
  .dashboard-story-stat strong .suffix { color: var(--blue); }
  .dashboard-story-stat > span { display: block; margin-top: 4px; color: #c5d7e8; font-size: 10.5px; }
  .dashboard-story-stage { min-height: 0; }
  /* Laat de hele mockup met de beschikbare schermhoogte meegroeien of krimpen.
     De schermverhouding blijft gelijk aan de referentie van 220 × 470 px. */
  .dashboard-story .phone { width: clamp(160px, 25svh, 220px); }
  .dashboard-story .phone-screen { height: auto; aspect-ratio: 204 / 470; min-height: 0; padding: 10px 0 8px; }
  .dashboard-story .phone-status { height: 24px; margin-bottom: 7px; }
  .dashboard-story .iphone-island { top: 7px; }
  .dashboard-story .home-indicator { margin-top: 7px; }
}
@media (max-width: 420px) {
  .dashboard-story .phone { width: clamp(160px, 25svh, 220px); }
}
