/* DivisionDesk v1.23.75 — approved complete-slide hero; homepage only. */
/* Existing hero background, dimensions and two-column layout */
.hero-shell {
  position:relative; isolation:isolate; overflow:hidden;
  background:radial-gradient(circle at 85% 10%,rgba(215,176,83,.28),transparent 28%),
             linear-gradient(135deg,#0c1c3a 0%,#173866 62%,#182a4f 100%);
  color:#fff;
}
.hero-stage { display:grid; position:relative; }
.hero-slide {
  grid-area:1 / 1; opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .75s ease,visibility .75s ease;
  min-width:0;
}
.hero-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; z-index:1; }
.hero {
  max-width:1260px; min-height:650px; margin:auto;
  padding:84px 24px 104px;
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  align-items:center; gap:48px;
}
.hero-copy { min-width:0; }
.eyebrow {
  display:inline-flex; gap:7px; align-items:center;
  border:1px solid rgba(255,255,255,.2); border-radius:999px;
  padding:6px 10px; color:#d9e4f6; font-size:.78rem;
  text-transform:uppercase; letter-spacing:.08em;
}
.eyebrow::before { content:""; width:7px; height:7px; flex:none; background:var(--gold2); border-radius:50%; }
.hero h1, .hero h2 {
  font-size:clamp(2.8rem,5.7vw,5.4rem); line-height:.98;
  letter-spacing:-.04em; margin:18px 0 20px; max-width:800px;
}
.hero h1 em, .hero h2 em { font-style:normal; color:var(--gold2); }
.hero p { font-size:1.18rem; line-height:1.6; color:#cbd8ef; max-width:720px; margin:0; }
.actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:27px; }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  padding:11px 17px; border-radius:9px; background:var(--gold);
  color:#17233a; text-decoration:none; font-weight:800; border:1px solid transparent;
  transition:transform .16s ease,background-color .16s ease;
}
.btn:hover { transform:translateY(-1px); }
.btn.secondary { background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.24); }
.btn.secondary:hover { background:rgba(255,255,255,.15); }
.trust-row {
  display:flex; flex-wrap:wrap; gap:9px 18px; margin-top:27px;
  color:#dbe5f6; font-size:.77rem; letter-spacing:.015em;
}
.trust-row span::before { content:"✓"; color:var(--gold2); margin-right:7px; }

/* The media replaces ONLY the existing right-hand hero artwork. */
.hero-visual-art { position:relative; min-width:0; }
.hero-media-frame {
  position:relative; isolation:isolate; width:100%; aspect-ratio:960 / 680;
  background:#12264a; border:1px solid rgba(255,255,255,.30);
  border-radius:15px; overflow:hidden;
  box-shadow:0 34px 70px rgba(4,18,40,.34);
  transform:perspective(1100px) rotateY(-3deg);
}
.hero-media-frame img, .hero-media-frame video {
  display:block; position:absolute; inset:0; width:100%; height:100%;
  object-fit:contain; background:#0d203d;
}
.hero-media-frame .fit-cover { object-fit:cover; }
.hero-media-frame .media-overlay {
  position:absolute; inset:auto 0 0; z-index:2;
  padding:25px 18px 12px; background:linear-gradient(0deg,rgba(4,18,40,.69),transparent);
  color:#ecf1fa; font-size:12px; pointer-events:none;
}
/* Self-contained DEMO placeholder. It is NOT a real DivisionDesk screenshot. */
.media-placeholder { position:absolute; inset:0; overflow:hidden; background:#eff3f9; color:#25415f; }
.mock-browser-top {
  height:9%; display:flex; align-items:center; gap:5px; padding:0 13px;
  background:#edf0f5; border-bottom:1px solid #d7dfea;
}
.mock-dot { width:7px; height:7px; border-radius:50%; background:#bdc9d9; }
.mock-address { margin-left:9px; border-radius:4px; background:#fff; width:56%; height:52%; }
.mock-app { display:grid; grid-template-columns:23% 1fr; height:91%; }
.mock-side { background:#12294f; padding:11% 10%; }
.mock-side .mock-brand { background:#d5b467; width:72%; height:9%; border-radius:3px; margin-bottom:23%; }
.mock-side i { display:block; height:5%; margin:10% 0; background:#5b7498; border-radius:4px; }
.mock-main { padding:7% 5%; background:#f7f9fc; }
.mock-main strong { display:block; font-size:clamp(12px,1.3vw,19px); line-height:1.2; }
.mock-main small { display:block; font-size:clamp(7px,.85vw,11px); color:#748299; margin-top:4px; }
.mock-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:3%; margin-top:7%; }
.mock-stats i { background:#fff; border:1px solid #dce4ef; border-radius:5px; aspect-ratio:1.5; }
.mock-grid { margin-top:6%; background:#fff; border:1px solid #dce4ef; border-radius:6px; padding:4%; }
.mock-grid i { display:block; height:9px; border-radius:3px; background:#e1e8f2; margin:8% 0; }
.mock-grid i:nth-child(2n) { width:85%; }
.mock-grid i:nth-child(3n) { width:60%; }
.sample-label {
  position:absolute; right:10px; top:10px; z-index:2; padding:5px 8px;
  border-radius:5px; background:rgba(11,28,57,.88); color:#fff;
  font-size:10px; letter-spacing:.04em; font-weight:700;
}
.missing-media-label {
  position:absolute; inset:auto 10px 12px; padding:7px 10px; border-radius:5px;
  background:rgba(18,41,79,.93); color:#fff; text-align:center; font-size:11px;
}

/* Controls belong to the WHOLE hero, not to one screenshot. */
.hero-controls {
  position:absolute; bottom:27px; left:50%; transform:translateX(-50%);
  z-index:5; display:flex; align-items:center; gap:12px;
  padding:7px 10px; border-radius:999px;
  background:rgba(8,23,48,.78); border:1px solid rgba(255,255,255,.19);
  backdrop-filter:blur(10px); max-width:calc(100% - 20px);
}
.hero-controls button {
  cursor:pointer; border:0; border-radius:50%; min-width:31px; height:31px;
  padding:0 6px; background:rgba(255,255,255,.10); color:#fff; font-size:17px;
}
.hero-controls button:hover { background:rgba(255,255,255,.24); }
.hero-controls button[aria-pressed="true"] { background:rgba(255,255,255,.20); }
.hero-dots { display:flex; align-items:center; gap:7px; }
.hero-dots button {
  display:block; min-width:0; width:9px; height:9px; border-radius:20px; padding:0;
  background:rgba(255,255,255,.38); transition:width .2s ease, background .2s ease;
}
.hero-dots button[aria-current="true"] { width:29px; background:var(--gold2); }
.hero-progress { position:absolute; z-index:4; bottom:0; left:0; right:0; height:3px; background:rgba(255,255,255,.10); }
.hero-progress-fill { height:100%; width:100%; background:var(--gold2); transform:scaleX(0); transform-origin:left center; }

/* Site integration omits prototype notes. */
@media(max-width:1000px) {
  .hero { grid-template-columns:1fr; min-height:0; gap:32px; }
  .hero-visual-art { max-width:700px; width:100%; }
}
@media(max-width:900px) { .hero-media-frame { transform:none; } }
@media(max-width:760px) {
  .hero { padding:55px 24px 94px; }
  .hero h1, .hero h2 { font-size:2.8rem; }
  .hero p { font-size:1.04rem; }
}
@media(max-width:430px) {
  .hero { padding-left:18px; padding-right:18px; }
  .hero h1, .hero h2 { font-size:clamp(2.25rem,10vw,2.8rem); }
  .btn { padding:10px 12px; font-size:.88rem; }
  .mock-main strong { font-size:12px; }
  .hero-controls { gap:9px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition-duration:.01ms !important; animation-duration:.01ms !important; }
}

#divisiondesk-hero .hero-stage[hidden],#divisiondesk-hero .hero-controls[hidden],#divisiondesk-hero .hero-static-fallback[hidden]{display:none!important}

/* Homepage accessibility/contrast corrections: keep styles in the document head via the existing stylesheet, not in body markup. */
#divisiondesk-hero .hero-dots button{min-width:24px;min-height:24px;width:24px;height:24px;border-radius:50%;border:6px solid transparent;background-clip:padding-box;box-sizing:border-box}
#divisiondesk-hero .hero-dots button[aria-current="true"]{width:29px;min-width:29px}
#divisiondesk-hero .mock-main small{color:#4a5a70}
.dd-find-path summary>span[aria-hidden="true"]:first-child{color:#24586c}
main.wrap .docs-section>.eyebrow,main.wrap .dd-find-path .eyebrow,main.wrap .section-head .eyebrow{color:#334e66;border-color:#cbd5e1}
#divisiondesk-hero .eyebrow{color:#d9e4f6}

/* Text on white homepage feature sections needs dark contrast; the dark hero retains its light eyebrow. */
main.wrap #developer-platform-in-practice>.eyebrow,main.wrap #module-deep-dive>.eyebrow,main.wrap #features-everyday>.eyebrow{color:#334e66}

/* Nov 2026 audit: improve low-contrast small text without altering the approved hero layout. */
:root { --muted:#4b5e77; }
.footer-bottom { color:#bdcce1; }
.pill { color:#304864; }
.mock-main small { color:#41536b; }
.hero-shell .hero-dots button:not([aria-current="true"]) { background-color:#aebbd0; }
.hero-shell .hero-controls button:focus-visible { outline:3px solid #f4d48f;outline-offset:3px; }
