:root {
  --navy: #0c2f4d;
  --navy-2: #123d61;
  --teal: #0799a4;
  --teal-dark: #057985;
  --ink: #10283e;
  --muted: #64778a;
  --line: #dbe5ed;
  --pale: #f1f7fa;
  --white: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #eaf2f6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button { font: inherit; }
.topbar {
  min-height: 82px;
  padding: 14px clamp(18px, 3vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
  background: linear-gradient(110deg, var(--navy), var(--navy-2));
  box-shadow: 0 6px 20px rgba(7, 34, 55, .2);
}
.topbar h1 { margin: 2px 0 0; font-size: clamp(20px, 2vw, 29px); }
.eyebrow { margin: 0; color: #80d9df; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 10px; color: #dceaf2; font-size: 14px; white-space: nowrap; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ce1a1; box-shadow: 0 0 0 4px rgba(76,225,161,.12); }
.site-domain { color: #8fe5ea; font-weight: 700; text-decoration: none; }
.site-domain:hover { color: white; text-decoration: underline; }
.ghost-button { margin-left: 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 8px 12px; color: white; background: transparent; cursor: pointer; }
.prototype-shell { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 250px 1fr; }
.demo-nav { padding: 26px 16px; color: white; background: #0a2943; }
.nav-label { margin: 0 10px 12px; color: #8ca9bd; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.screen-tab {
  width: 100%; margin: 3px 0; padding: 13px 12px; display: flex; align-items: center; gap: 12px;
  border: 0; border-radius: 9px; color: #dce9f2; background: transparent; text-align: left; cursor: pointer;
}
.screen-tab:hover { background: rgba(255,255,255,.08); }
.screen-tab.active { color: white; background: #087d8f; box-shadow: inset 3px 0 #5fe3e6; }
.screen-tab span { color: #8fb0c4; font-size: 11px; font-weight: 800; }
.screen-tab.active span { color: #c8ffff; }
.nav-note { margin: 28px 8px 0; padding: 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #c4d6e1; background: rgba(255,255,255,.05); font-size: 13px; line-height: 1.45; }
.nav-note p { margin: 7px 0 0; }
.stage { width: min(1500px, 100%); margin: 0 auto; padding: 24px clamp(18px, 3vw, 44px) 32px; }
.stage-heading { margin-bottom: 14px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.stage-heading h2 { margin: 3px 0; font-size: clamp(25px, 2.5vw, 38px); }
.stage-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.progress { width: min(260px, 30vw); height: 7px; overflow: hidden; border-radius: 10px; background: #d9e5eb; }
.progress span { display: block; width: 16.67%; height: 100%; background: var(--teal); transition: width .3s ease; }
.screen-preview {
  position: relative; width: 100%; padding: 0; overflow: hidden; border: 1px solid #cbdbe5; border-radius: 15px;
  background: white; box-shadow: 0 18px 40px rgba(15, 52, 78, .16); cursor: pointer;
}
.screen-preview img { display: block; width: 100%; height: auto; }
.screen-brand-overlay {
  position: absolute; top: 0; left: 0; width: 22%; min-height: 8%; padding: .65% 1%;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  color: white; background: var(--navy); text-align: left; pointer-events: none;
}
.screen-brand-overlay strong { font-size: clamp(7px, .9vw, 14px); line-height: 1.1; }
.screen-brand-overlay small { margin-top: 2px; color: #8fe5ea; font-size: clamp(5px, .55vw, 9px); line-height: 1; }
.screen-preview:focus-visible { outline: 4px solid rgba(7,153,164,.35); outline-offset: 3px; }
.click-hint { position: absolute; right: 15px; bottom: 15px; padding: 8px 12px; border-radius: 99px; color: white; background: rgba(9, 41, 67, .88); font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(5px); transition: .2s ease; }
.screen-preview:hover .click-hint { opacity: 1; transform: translateY(0); }
.stage-controls { padding: 16px 0 4px; display: grid; grid-template-columns: 140px 1fr 150px; align-items: center; gap: 14px; }
.primary-button,.secondary-button { border-radius: 9px; padding: 11px 14px; font-weight: 750; cursor: pointer; }
.primary-button { border: 1px solid var(--teal); color: white; background: var(--teal); }
.secondary-button { border: 1px solid #c6d6e1; color: var(--navy); background: white; }
.primary-button:hover { background: var(--teal-dark); }
.secondary-button:hover { background: var(--pale); }
.dots { display: flex; justify-content: center; gap: 7px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #bdcbd5; cursor: pointer; }
.dot.active { width: 23px; border-radius: 5px; background: var(--teal); }
.disclaimer { margin: 4px 0 0; color: #718391; font-size: 12px; text-align: center; }
@media (max-width: 850px) {
  .top-actions span:not(.status-dot) { display: none; }
  .site-domain { display: none; }
  .prototype-shell { grid-template-columns: 132px minmax(0, 1fr); align-items: start; }
  .demo-nav {
    position: sticky; top: 0; min-height: calc(100vh - 70px); padding: 12px 7px;
    display: block; overflow: visible;
  }
  .nav-label { display: block; margin: 2px 7px 10px; font-size: 9px; }
  .nav-note { display: none; }
  .screen-tab {
    min-width: 0; width: 100%; margin: 4px 0; padding: 11px 8px;
    gap: 7px; border-radius: 8px; font-size: 11px; line-height: 1.2;
    white-space: normal;
  }
  .screen-tab span { flex: 0 0 auto; font-size: 9px; }
  .stage { min-width: 0; padding: 16px 10px 24px; }
  .stage-heading { align-items: start; }
  .stage-heading h2 { font-size: 23px; }
  .stage-heading p:not(.eyebrow) { font-size: 13px; line-height: 1.35; }
  .progress { display: none; }
  .screen-preview { border-radius: 10px; }
  .click-hint { display: none; }
  .stage-controls { grid-template-columns: 1fr 1fr; gap: 7px; padding-top: 10px; }
  .primary-button,.secondary-button { padding: 10px 5px; font-size: 11px; }
  .dots { display: none; }
  .disclaimer { font-size: 10px; line-height: 1.35; }
}
@media (max-width: 520px) {
  .topbar { min-height: 70px; }
  .topbar h1 { font-size: 18px; }
  .ghost-button { display: none; }
  .prototype-shell { grid-template-columns: 118px minmax(0, 1fr); }
  .screen-tab { padding: 10px 6px; font-size: 10px; }
  .stage-heading h2 { font-size: 21px; }
}
