* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  color: var(--ci-text);
  background: var(--ci-background);
  font: 1rem/1.6 var(--ci-font-body);
}
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ci-blue); outline-offset: 4px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.deck-header, .deck-footer { background: var(--ci-background); }
.deck-header { border-bottom: 1px solid var(--ci-line); }
.deck-footer { position: sticky; bottom: 0; border-top: 1px solid var(--ci-line); z-index: 1; }
.presenting { grid-template-rows: 1fr auto; }
.presenting .deck-header {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: 2;
  border: 0;
  background: transparent;
}
.presenting :is(.deck-brand, .keyboard-hint) { display: none; }
.presenting .slide { padding-top: max(64px, 5vh); }
.deck-bar {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: 10px clamp(16px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.deck-brand, .deck-tools, .nav-buttons { display: flex; align-items: center; gap: 8px; }
.deck-brand {
  color: var(--ci-text);
  gap: 12px;
  text-decoration: none;
  font: 700 1.25rem/1 var(--ci-font-heading);
}
.deck-brand img { width: 42px; height: 44px; object-fit: contain; }
.keyboard-hint { color: var(--ci-muted); font-size: var(--ci-size-small); }
.tool {
  min-height: var(--ci-target-size);
  border: 1px solid var(--ci-line-strong);
  border-radius: var(--ci-radius-control);
  background: var(--ci-surface);
  color: var(--ci-text);
  padding: 8px 16px;
  cursor: pointer;
  font-size: var(--ci-size-small);
  display: inline-grid;
  place-items: center;
  min-width: var(--ci-target-size);
}
.tool svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tool:disabled { opacity: .42; cursor: default; }
.tool:not(:disabled):hover { border-color: var(--ci-blue); }
.slide-count { color: var(--ci-blue); font: .875rem/1 var(--ci-font-label); }
.nav-buttons .tool { font-size: 1.15rem; }
progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  inset: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--ci-blue);
}
progress::-webkit-progress-bar { background: transparent; }
progress::-webkit-progress-value { background: var(--ci-blue); }
progress::-moz-progress-bar { background: var(--ci-blue); }

.deck {
  display: grid;
  align-items: center;
  min-width: 0;
  background:
    radial-gradient(ellipse at 82% 48%, #80c8e50b, transparent 62%),
    linear-gradient(135deg, var(--ci-background-deep), var(--ci-background) 58%, #0c1119);
}
.slide {
  width: min(100%, 1368px);
  margin-inline: auto;
  padding: clamp(28px, 5vh, 60px) clamp(20px, 5vw, 64px);
}
@media screen {
  .deck-header { position: sticky; top: 0; z-index: 2; }
  .deck { align-items: stretch; }
  .deck > .slide {
    width: 100%;
    align-content: center;
    padding-inline: max(clamp(20px, 5vw, 64px), calc((100% - 1240px) / 2));
  }
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 {
  font-family: var(--ci-font-heading);
  font-weight: 600;
  letter-spacing: var(--ci-heading-tracking);
}
h1 { font-size: clamp(2.4rem, 5.55vw, 5.1rem); line-height: 1.1; }
h2 { font-size: clamp(2.05rem, 4.5vw, 4.1rem); line-height: 1.13; max-width: 25ch; text-wrap: balance; }
.split h2 { text-wrap: initial; }
#governance-problem { text-wrap: balance; }
h3 { font-size: clamp(1.125rem, 1.9vw, 1.5rem); line-height: 1.25; }
.eyebrow {
  color: var(--ci-orange);
  font: var(--ci-size-label)/1.5 var(--ci-font-label);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.slide > .eyebrow, .split > div > .eyebrow { margin-bottom: 14px; }
.lede {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--ci-muted);
  font-size: clamp(1.06rem, 2vw, 1.42rem);
}
.question { margin-top: 18px; color: var(--ci-text); font-size: clamp(1.07rem, 1.75vw, 1.3rem); }
.blue { color: var(--ci-blue); }
.orange { color: var(--ci-orange); }

.cover-art {
  position: relative;
  aspect-ratio: 1.12;
  background: radial-gradient(ellipse at 50% 50%, #80c8e512, transparent 68%);
}
.cover-art canvas { display: block; width: 100%; height: 100%; }
.cover-art .tool { position: absolute; inset: auto 0 0 auto; }
.cover-art .tool:disabled { opacity: 1; color: var(--ci-muted); }

.panel {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--ci-line-strong);
  border-radius: var(--ci-radius-panel);
  background: linear-gradient(150deg, #80c8e50a, transparent 68%), var(--ci-surface);
  min-width: 0;
}
.document-flow {
  position: relative;
  width: min(100%, 540px);
  justify-self: end;
}
.document-flow svg { display: block; width: 100%; height: auto; }
.document-flow figcaption {
  text-align: center;
  color: var(--ci-orange);
  font: clamp(.75rem, 1.25vw, 1rem)/1.35 var(--ci-font-label);
}
.document-flow figcaption > span:first-child { display: block; width: 63%; color: var(--ci-blue); }
.document-flow figcaption > span:last-child { position: absolute; top: 63%; right: 0; width: 36%; }
.document-flow figcaption small {
  display: block;
  margin-top: 5px;
  color: var(--ci-muted);
  font: var(--ci-size-small)/1.4 var(--ci-font-body);
}
.night-window { stroke: #536d81; stroke-width: 1.5; }
.night-time, .screen-ai { font: 15px var(--ci-font-label); fill: var(--ci-blue); stroke: none; }
.night-time { font-size: 19px; fill: var(--ci-muted); }
.coding-screen, .late-coder {
  stroke: var(--ci-blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.late-coder { stroke: #83a9bd; }
.coffee-cup { stroke: var(--ci-orange); stroke-width: 1.8; stroke-linecap: round; }
.coffee-steam { fill: none; stroke: #e6c7a7; opacity: .8; }
.personal-cloud { stroke: var(--ci-orange); stroke-width: 3; filter: drop-shadow(0 0 12px #d7aa7840); }
.flow-arrow, .cloud-page, .travelling-page {
  fill: none;
  stroke: var(--ci-orange);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-arrow { stroke-width: 3; }
.cloud-page, .travelling-page { stroke-width: 1.6; }
.travelling-page { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .document-flow[data-in-view] .travelling-page {
    animation: send-page 3.3s ease-in-out;
  }
  .document-flow[data-in-view] .coffee-steam {
    animation: steam-drift 2.2s ease-in-out 2;
  }
}
@keyframes send-page {
  0% { opacity: 0; transform: translate(0, 0); }
  18%, 72% { opacity: 1; }
  100% { opacity: 0; transform: translate(180px, -18px); }
}
@keyframes steam-drift {
  from { opacity: .76; transform: translateY(2px); }
  to { opacity: .22; transform: translate(3px, -8px); }
}
.partnership-layout { align-items: start; margin-top: clamp(22px, 3vw, 28px); }
.partnership {
  display: grid;
  gap: 16px;
}
.partnership > div {
  border-top: 1px solid var(--ci-line-strong);
  padding-top: 14px;
}
.partnership dt { color: var(--ci-blue); }
.data-control { padding: clamp(18px, 2vw, 28px); }
.data-control h3 { color: var(--ci-blue); }
.data-control p { margin-top: 10px; color: var(--ci-muted); }
.shared-workspace { margin-top: 8px; }
.shared-workspace svg { display: block; width: 100%; height: auto; }
.workspace-cloud {
  fill: #80c8e514;
  stroke: var(--ci-blue);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 13px #80c8e531);
}
.workspace-company { color: var(--ci-blue); --workspace-travel: 92px; }
.workspace-partner { color: var(--ci-orange); --workspace-travel: -92px; }
.workspace-person, .workspace-path, .workspace-shield {
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workspace-person { fill: var(--ci-surface); stroke: currentColor; }
.workspace-path { fill: none; stroke: currentColor; stroke-opacity: .76; }
.workspace-shield { fill: var(--ci-surface); stroke: var(--ci-blue); }
.workspace-pulse { fill: currentColor; opacity: 0; }
.shared-workspace figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 4px;
  color: var(--ci-muted);
  font: var(--ci-size-small)/1.35 var(--ci-font-body);
  text-align: center;
}
.shared-workspace figcaption span:nth-child(2) { color: var(--ci-blue); }

.policy-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(24px, 4vw, 52px) minmax(0, .72fr) clamp(24px, 4vw, 52px) minmax(0, 1fr);
  align-items: center;
  margin-top: clamp(22px, 4vh, 36px);
}
.policy-node { padding: clamp(16px, 2vw, 28px); }
.policy-node p { margin-top: 9px; color: var(--ci-muted); }
.policy-hub {
  background: linear-gradient(145deg, #80c8e51c, transparent), var(--ci-surface);
  border-color: #80c8e56b;
  color: var(--ci-blue);
  text-align: center;
}
.policy-allowed, .policy-restricted { display: flex; align-items: baseline; gap: 10px; }
.policy-allowed::before {
  content: "";
  width: .38em;
  height: .68em;
  flex: none;
  margin-inline: .2em;
  border: solid var(--ci-blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.policy-restricted::before {
  content: "";
  width: .8em;
  height: .8em;
  flex: none;
  align-self: start;
  margin-top: .38em;
  border: 1px solid var(--ci-orange);
  border-radius: 50%;
  background: linear-gradient(var(--ci-orange), var(--ci-orange)) center / 55% 1px no-repeat;
}
.policy-link {
  position: relative;
  height: 2px;
  background: var(--ci-blue);
}
.policy-link::before {
  content: "";
  position: absolute;
  top: -3px;
  right: 2px;
  width: 8px;
  height: 8px;
  border: solid var(--ci-blue);
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
.policy-link::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  opacity: 0;
  border-radius: 50%;
  background: var(--ci-text);
  box-shadow: 0 0 10px var(--ci-blue);
}
.policy-flow figcaption { grid-column: 1 / -1; }
.scene-symbols { position: absolute; }
.illustrated-layout {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  column-gap: clamp(24px, 3.5vw, 48px);
  margin-top: clamp(16px, 2vw, 22px);
}
.pitch-scene {
  width: min(100%, 510px);
  justify-self: center;
  background: radial-gradient(ellipse at center, #80c8e514, transparent 70%);
}
.pitch-scene svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene-blue { color: var(--ci-blue); stroke: currentColor; }
.scene-amber { color: var(--ci-orange); stroke: currentColor; }
.scene-guide { stroke: var(--ci-muted); stroke-opacity: .5; stroke-dasharray: 4 6; }
.scene-filled { fill: var(--ci-surface); }
.scene-table { fill: #142432; stroke: #536d81; }
.scene-signal { fill: currentColor; stroke: none; opacity: 0; }
.ownership-scene figcaption {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  color: var(--ci-muted);
  font: var(--ci-size-small)/1.35 var(--ci-font-body);
  text-align: center;
}
@media (prefers-reduced-motion: no-preference) {
  .shared-workspace[data-in-view] .workspace-pulse { animation: join-workspace 2.4s ease-in-out; }
  .shared-workspace[data-in-view] .workspace-pulse.workspace-partner { animation-delay: .28s; }
  .policy-flow[data-in-view] .policy-link::after { animation: trace-policy 1.1s ease-in-out; }
  .policy-flow[data-in-view] .policy-link:nth-of-type(2)::after { animation-delay: 1s; }
  .pitch-scene[data-in-view] .scene-signal { animation: follow-scene-path 1.35s ease-in-out var(--scene-delay, 0s); }
  .pitch-scene[data-in-view] .scene-draw {
    stroke-dasharray: 1;
    animation: draw-scene-path .85s ease-out .45s both;
  }
}
@keyframes join-workspace {
  0% { opacity: 0; transform: translateX(0); }
  24%, 72% { opacity: 1; }
  100% { opacity: 0; transform: translateX(var(--workspace-travel)); }
}
@keyframes trace-policy {
  0% { opacity: 0; left: 0; }
  24%, 72% { opacity: 1; }
  100% { opacity: 0; left: calc(100% - 8px); }
}
@keyframes follow-scene-path {
  0% { opacity: 0; transform: translate(0, 0); }
  22%, 74% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--scene-dx, 0px), var(--scene-dy, 0px)); }
}
@keyframes draw-scene-path {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

.flow {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow li {
  position: relative;
  border-left: 1px solid var(--ci-line-strong);
  padding: 0 0 13px 16px;
}
.flow li:last-child { padding-bottom: 0; }
.flow li::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ci-blue);
  top: 6px;
  left: -5px;
}
.flow p, .partnership dd, .responsibilities dd {
  margin-top: 8px;
  color: var(--ci-muted);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}
.flow p { margin-top: 5px; }
.callout {
  margin-top: 26px;
  max-width: 86ch;
  padding: 10px 16px;
  border-left: 2px solid var(--ci-blue);
  background: #80c8e509;
}
.responsibilities { border-top: 1px solid var(--ci-line-strong); }
.responsibilities > div {
  display: grid;
  grid-template-columns: minmax(8.6rem, .34fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 10px 18px;
  border-bottom: 1px solid var(--ci-line);
  padding: clamp(10px, 1.1vw, 13px) 0;
}
.partnership dt, .responsibilities dt { font: 600 clamp(1.05rem, 1.8vw, 1.4rem)/1.25 var(--ci-font-heading); }
.responsibilities dd { margin: 0; }
.cost-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin-top: clamp(16px, 2.7vh, 24px);
}
.cost-option { padding: clamp(16px, 1.6vw, 20px); }
.cost-scene { width: min(100%, 106px); margin-bottom: 10px; }
.cost-range {
  margin-top: 8px;
  color: var(--ci-blue);
  font: 600 clamp(1.45rem, 2.5vw, 2rem)/1.2 var(--ci-font-heading);
  font-variant-numeric: tabular-nums;
}
.cost-effort { margin-top: 4px; color: var(--ci-orange); }
.cost-option > p:last-child { margin-top: 12px; color: var(--ci-muted); }
.cost-support { max-width: none; margin-top: 16px; }
.cost-subscription { margin-top: 8px; color: var(--ci-muted); }
.cost-subscription strong { color: var(--ci-text); }

dialog {
  width: min(92vw, 42rem);
  max-height: 85svh;
  padding: clamp(14px, 4vw, 32px);
  border: 1px solid var(--ci-line-strong);
  border-radius: var(--ci-radius-panel);
  background: var(--ci-surface);
  color: var(--ci-text);
}
dialog::backdrop { background: #020305c9; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-header h2 { font-size: 1.8rem; }
.slide-list { padding: 0; margin: 16px 0 0; list-style: none; }
.slide-list button {
  width: 100%;
  min-height: var(--ci-target-size);
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ci-text);
  padding: 8px 12px;
  text-align: left;
  cursor: pointer;
}
.slide-list button[aria-current="step"], .slide-list button:hover { border-color: var(--ci-line-strong); color: var(--ci-blue); }

@media (min-width: 821px) {
  .slide:has(.illustrated-layout, .cost-options) { padding-block: clamp(14px, 2.6vh, 30px); }
}
@media (max-width: 820px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .cost-options { grid-template-columns: minmax(0, 1fr); }
  .policy-flow { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 36px auto 36px auto auto; }
  .policy-link { width: 36px; justify-self: center; transform: rotate(90deg); }
  .cover-art { width: min(100%, 420px); justify-self: center; }
  .document-flow { justify-self: center; }
}
@media (max-width: 540px) {
  .deck-header .deck-bar { flex-wrap: wrap; }
  .deck-tools { gap: 6px; }
  .deck-tools .tool { padding-inline: 12px; }
  .document-flow figcaption { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 6px; }
  .document-flow figcaption > span:first-child { width: auto; }
  .document-flow figcaption > span:last-child { position: static; width: auto; }
  .responsibilities > div { grid-template-columns: 1fr; gap: 6px; }
  .keyboard-hint { display: none; }
}
