:root {
  --ink: #082554;
  --ink-soft: #274468;
  --muted: #5f728d;
  --line: #d9e3ef;
  --paper: #ffffff;
  --paper-soft: #f3f7fb;
  --blue: #1b8dff;
  --blue-dark: #082554;
  --cyan: #60dcff;
  --pink: #ff2f86;
  --pink-dark: #d91b71;
  --green: #20c997;
  --shadow: 0 1.1rem 2.8rem rgba(8, 37, 84, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(96, 220, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 86% 88%, rgba(255, 47, 134, 0.16), transparent 32rem),
    #06152f;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
}

.deck-app {
  position: relative;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
}

.stage {
  position: relative;
  width: min(100vw, calc(100dvh * 16 / 9));
  height: min(100dvh, calc(100vw * 9 / 16));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  gap: 1.45rem;
  padding: 4.35rem 5.2rem 4.75rem;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(27, 141, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 91% 14%, rgba(255, 47, 134, 0.12), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateX(1.6rem);
  transition: none;
  pointer-events: none;
}

.slides-ready .slide {
  transition:
    opacity 190ms ease,
    transform 190ms ease,
    visibility 190ms ease;
}

.slide::before {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -19rem;
  width: 58rem;
  height: 30rem;
  border: 0.18rem solid rgba(255, 47, 134, 0.22);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 37, 84, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 37, 84, 0.035) 1px, transparent 1px);
  background-size: 4.6rem 4.6rem;
  mask-image: linear-gradient(120deg, transparent 0 24%, #000 62%, transparent 100%);
  pointer-events: none;
}

.slide.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.slide > * {
  position: relative;
  z-index: 1;
}

.title-slide {
  justify-content: stretch;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(3, 13, 31, 0) 0%, rgba(3, 13, 31, 0.06) 54%, rgba(3, 13, 31, 0.18) 100%),
    url("dispensa_corso_ai_programmazione/images/title background image.png") center / cover no-repeat;
}

.title-slide::before,
.title-slide::after {
  display: none;
}

.gility-title-logo {
  position: absolute;
  top: 2.1rem;
  left: 4.9rem;
  z-index: 3;
  width: 8.4rem;
  height: auto;
}

.title-panel {
  position: relative;
  display: flex;
  width: 48.5%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 5.6rem 5.2rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.965);
  border-top-right-radius: 8rem;
  border-bottom-right-radius: 9.6rem;
  filter:
    drop-shadow(0.7rem 0 0 var(--pink))
    drop-shadow(1.8rem 0 3.2rem rgba(3, 13, 31, 0.22));
}

.accent-line {
  width: 6.4rem;
  height: 0.32rem;
  margin-bottom: 2.2rem;
  background: var(--pink);
}

.hero-caption {
  position: absolute;
  right: 5.8rem;
  bottom: 5.2rem;
  width: 24rem;
  padding: 1.2rem 1.25rem;
  color: #fff;
  border: 1px solid rgba(211, 233, 255, 0.32);
  border-radius: 1rem;
  background: rgba(6, 24, 55, 0.72);
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.hero-caption span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-caption strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1.25;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 820;
  line-height: 1.2;
  text-transform: uppercase;
}

.title-panel .kicker {
  color: var(--ink);
  text-transform: none;
  font-size: 1.08rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 40rem;
  margin-bottom: 1.15rem;
  color: var(--ink);
  font-size: 4.08rem;
  line-height: 1.03;
  font-weight: 850;
}

h2 {
  max-width: 62rem;
  margin-bottom: 0.78rem;
  color: var(--ink);
  font-size: 3.15rem;
  line-height: 1.07;
  font-weight: 820;
}

h3 {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.18;
  font-weight: 780;
}

p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.42;
}

.lead {
  max-width: 64rem;
  color: var(--ink-soft);
  font-size: 1.24rem;
  line-height: 1.42;
}

.subtitle {
  margin-bottom: 2.1rem;
  color: #172f5c;
  font-size: 1.95rem;
  font-weight: 720;
}

.title-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 4.2rem;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 760;
}

.title-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(8, 37, 84, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.nowrap {
  white-space: nowrap;
}

.slide-header {
  max-width: 70rem;
}

.slide-header.compact {
  max-width: 74rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  flex: 1;
}

.summary-grid article,
.comparison-row > div,
.note-list article,
.workflow-steps article,
.process-grid article,
.takeaways article {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.summary-grid article {
  display: flex;
  min-height: 24rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.45rem;
}

.summary-grid span,
.workflow-steps span {
  color: var(--pink);
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1;
}

.agent-logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  align-items: center;
  justify-items: center;
  flex: 1;
  padding: 1.8rem 0 1rem;
}

.agent-logo-row figure {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 13.5rem;
  margin: 0;
}

.agent-logo-row img {
  display: block;
  width: 18rem;
  height: auto;
  max-height: 8.2rem;
  object-fit: contain;
}

.agent-logo-row .codex-logo {
  width: 17rem;
}

.agent-logo-row .antigravity-logo {
  width: 8.7rem;
  max-height: 8.7rem;
}

.agent-logo-row .claude-logo {
  width: 18.5rem;
}

.agent-logo-row figcaption {
  margin-top: 1.25rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 780;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: auto;
}

.comparison-row.large {
  flex: 1;
  align-items: stretch;
  margin-top: 0;
}

.comparison-row.large > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.comparison-row.large h3 {
  font-size: 1.7rem;
}

.comparison-row.large p {
  font-size: 1.18rem;
}

.comparison-row > div {
  padding: 1.25rem 1.35rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.6rem;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}

.media-left {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.terminal-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.note-list {
  display: grid;
  gap: 0.95rem;
  align-content: center;
}

.note-list article {
  padding: 1.18rem 1.25rem;
}

.note-list code {
  padding: 0.08rem 0.26rem;
  border-radius: 0.3rem;
  background: #edf3fb;
  color: var(--ink);
}

.screenshot-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.screenshot-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.screenshot-frame.portrait {
  max-height: 34rem;
}

.terminal-shot {
  background: transparent;
}

.terminal-shot img {
  padding: 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  flex: 1;
}

.workflow-steps article {
  padding: 1.25rem;
}

.plain-callout {
  margin-top: auto;
  padding: 0.95rem 1.15rem;
  color: var(--ink);
  border-left: 0.32rem solid var(--pink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  font-size: 1.04rem;
  line-height: 1.38;
}

.dataset-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.4rem;
  flex: 1;
  min-height: 0;
}

.schema-table {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.schema-table div {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid #e6edf5;
  color: var(--muted);
  font-size: 0.98rem;
}

.schema-table div:first-child {
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  font-weight: 780;
}

.schema-table div:last-child {
  border-bottom: 0;
}

.schema-table span:first-child {
  color: var(--ink);
  font-weight: 780;
}

.image-pair {
  display: grid;
  gap: 1rem;
  min-height: 0;
}

.image-pair.vertical {
  grid-template-rows: 1fr 1fr;
}

.codex-pair {
  grid-template-columns: 1fr 1fr;
  flex: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-grid article {
  padding: 1.2rem;
}

.two-screens {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  flex: 1;
  min-height: 0;
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.58fr);
  gap: 1rem;
  flex: 1;
  min-height: 0;
}

.compact-list {
  align-content: center;
}

.compact-list article {
  padding: 1.15rem 1.2rem;
}

.takeaways {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  flex: 1;
}

.takeaways article {
  min-height: 25rem;
  padding: 1.25rem;
}

.takeaways article::before {
  content: "";
  display: block;
  width: 100%;
  height: 0.28rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
}

.conversation-slide {
  padding: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 47, 134, 0.18), transparent 20rem),
    radial-gradient(circle at 88% 90%, rgba(96, 220, 255, 0.2), transparent 22rem),
    linear-gradient(135deg, #06142f, #071d43 50%, #050d1f);
}

.conversation-slide::before,
.conversation-slide::after {
  display: none;
}

.conversation-shell {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #050b16;
  box-shadow: none;
}

.session-divider {
  justify-content: center;
}

.session-divider-copy {
  max-width: 66rem;
}

.session-divider-copy h2 {
  font-size: 4.35rem;
}

.session-divider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.session-divider-grid article,
.session2-three article,
.session2-four article {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.session-divider-grid article {
  padding: 1.35rem;
}

.session-divider-grid span {
  display: block;
  margin-bottom: 1.35rem;
  color: var(--pink);
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1;
}

.session2-three,
.session2-four {
  display: grid;
  gap: 1rem;
  flex: 1;
}

.session2-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.session2-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.session2-three article,
.session2-four article {
  padding: 1.35rem;
}

.session2-three article {
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  justify-content: center;
}

.session2-four article {
  min-height: 21rem;
}

.mini-table {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mini-table div {
  display: grid;
  grid-template-columns: minmax(12rem, 0.36fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e6edf5;
}

.mini-table div:last-child {
  border-bottom: 0;
}

.mini-table strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.mini-table span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.3;
}

.compact-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-steps article {
  min-height: 17rem;
}

.codex-doc-slide {
  padding: 6rem 5rem 3.2rem;
  gap: 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 47, 134, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 90%, rgba(96, 220, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, #050b16, #111827 58%, #070b13);
}

.codex-doc-slide::before,
.codex-doc-slide::after {
  display: none;
}

.codex-replay-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.2rem;
  background: #171717;
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.38);
}

.codex-replay-toolbar {
  display: grid;
  grid-template-columns: auto 2rem 2rem 2rem auto 1fr;
  gap: 0.65rem;
  align-items: center;
  min-height: 3.55rem;
  padding: 0 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
}

.codex-window-dots {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding-right: 0.7rem;
}

.codex-window-dots span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
}

.codex-window-dots span:nth-child(1) {
  background: #ff5f57;
}

.codex-window-dots span:nth-child(2) {
  background: #febc2e;
}

.codex-window-dots span:nth-child(3) {
  background: #28c840;
}

.codex-replay-toolbar button {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: transparent;
}

.codex-replay-toolbar button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.codex-replay-toolbar button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.codex-replay-toolbar strong {
  margin-left: 0.6rem;
  color: #f6f6f6;
  font-size: 1.05rem;
  font-weight: 780;
}

.codex-toolbar-more {
  justify-self: end;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.14rem;
}

.codex-replay-scroll {
  min-height: 0;
  overflow: auto;
  padding: 1.35rem 0 0;
  background: #191919;
  scroll-behavior: smooth;
}

.codex-thread-section {
  width: min(67rem, calc(100% - 8rem));
  margin: 0 auto;
}

.codex-thread-new {
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.codex-user-row {
  display: flex;
  justify-content: flex-end;
  margin: 1.4rem 0 2.25rem;
}

.codex-user-bubble {
  max-width: 52rem;
  padding: 0.95rem 1.15rem;
  color: #f4f4f4;
  border-radius: 1rem;
  background: #2a2a2a;
  font-size: 1rem;
  line-height: 1.35;
}

.codex-user-bubble p {
  margin: 0 0 0.75rem;
  color: #f4f4f4;
  font-size: 1rem;
  line-height: 1.35;
}

.codex-user-bubble p:last-child {
  margin-bottom: 0;
}

.codex-user-bubble pre {
  margin: 0.8rem 0 0;
  padding: 0.85rem 0.95rem;
  overflow: auto;
  color: #e9e9e9;
  border-radius: 0.7rem;
  background: #1b1b1b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.4;
}

.codex-long-bubble {
  max-width: 58rem;
}

.codex-user-bubble.with-thumb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.2rem;
  gap: 1rem;
  align-items: center;
}

.codex-color-thumb {
  position: relative;
  display: block;
  width: 3.8rem;
  height: 3.8rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 35% 42%, #bcda56 0 34%, transparent 36%),
    linear-gradient(90deg, #f6fff0 0 56%, #61c6f2 56% 76%, #6b3584 76% 100%);
}

.codex-color-thumb i,
.codex-color-thumb b {
  position: absolute;
  display: block;
  background: #fff;
}

.codex-color-thumb i {
  right: 0.5rem;
  bottom: 0.25rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  opacity: 0.82;
}

.codex-color-thumb b {
  left: 0.2rem;
  bottom: 0.15rem;
  width: 0.75rem;
  height: 2.4rem;
  opacity: 0.7;
}

.codex-assistant-block {
  margin: 0 0 2.4rem;
  color: #f0f0f0;
}

.codex-assistant-block p {
  margin: 0 0 1.05rem;
  color: #f0f0f0;
  font-size: 1.02rem;
  line-height: 1.45;
}

.codex-cobol-thread h3 {
  margin: 1.1rem 0 0.72rem;
  color: #f8f8f8;
  font-size: 1.25rem;
}

.codex-cobol-thread h4 {
  margin: 0 0 0.72rem;
  color: #f7f7f7;
  font-size: 1.05rem;
}

.codex-assistant-block code {
  padding: 0.08rem 0.32rem;
  color: #f3f3f3;
  border-radius: 0.34rem;
  background: #3b3b3b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.codex-status-feed {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid #303030;
  border-radius: 0.8rem;
  background: #222;
}

.codex-status-feed p {
  position: relative;
  margin: 0;
  padding-left: 1rem;
  color: #d6d6d6;
  font-size: 0.96rem;
  line-height: 1.42;
}

.codex-status-feed p::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #9f9f9f;
}

.codex-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.15rem;
}

.codex-two-col > div {
  min-width: 0;
  padding: 1rem 1.05rem;
  border: 1px solid #333;
  border-radius: 0.8rem;
  background: #242424;
}

.codex-bullet-list,
.codex-number-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.05rem;
  padding-left: 1.25rem;
  color: #ededed;
}

.codex-bullet-list li,
.codex-number-list li {
  color: #ededed;
  font-size: 0.98rem;
  line-height: 1.4;
}

.codex-bullet-list li::marker,
.codex-number-list li::marker {
  color: #8fc8ff;
}

.codex-worked {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  color: #9f9f9f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  font-weight: 650;
}

.codex-plan-card,
.codex-file-list,
.codex-edited-card {
  overflow: hidden;
  border: 1px solid #333;
  border-radius: 0.8rem;
  background: #242424;
}

.codex-plan-card {
  padding: 1rem 1.1rem;
}

.codex-plan-card h3,
.codex-plan-card h4 {
  margin: 0 0 0.5rem;
  color: #f6f6f6;
}

.codex-plan-card h3 {
  font-size: 1rem;
}

.codex-plan-card h4 {
  font-size: 1.2rem;
}

.codex-link {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: #8fc8ff;
  font-size: 1.03rem;
  font-weight: 720;
  text-decoration: none;
}

.codex-code {
  position: relative;
  margin: 0 0 1.15rem;
  padding: 2.15rem 1rem 1rem;
  overflow: hidden;
  color: #e8e8e8;
  border-radius: 0.75rem;
  background: #2d2d2d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.98rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.codex-code span {
  position: absolute;
  left: 1rem;
  top: 0.72rem;
  color: #a7a7a7;
}

.codex-code::after {
  content: "□";
  position: absolute;
  right: 1rem;
  top: 0.66rem;
  color: #9f9f9f;
  font-size: 1rem;
}

.codex-code code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.codex-file-list {
  margin: 1.1rem 0;
}

.codex-file-list div:not(.codex-show-more) {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  column-gap: 0.85rem;
  align-items: center;
  min-height: 4.35rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #333;
}

.codex-file-list.single div {
  border-bottom: 0;
}

.codex-file-list strong {
  align-self: end;
  color: #f0f0f0;
  font-size: 1.02rem;
}

.codex-file-list em {
  grid-column: 2;
  align-self: start;
  color: #9f9f9f;
  font-style: normal;
  font-size: 0.9rem;
}

.codex-file-list button,
.codex-edited-head button {
  justify-self: end;
  grid-column: 3;
  grid-row: 1 / span 2;
  min-width: 5.4rem;
  min-height: 2.1rem;
  color: #f0f0f0;
  border: 1px solid #3e3e3e;
  border-radius: 0.7rem;
  background: #252525;
  font-size: 0.95rem;
}

.codex-file-icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  color: #cfcfcf;
  border-radius: 0.65rem;
  background: #111;
  font-weight: 800;
}

.codex-show-more {
  padding: 0.72rem 1rem;
  color: #a9a9a9;
  text-align: center;
}

.codex-edited-card {
  margin: 1.1rem 0;
}

.codex-edited-head {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto auto;
  gap: 0.85rem;
  align-items: center;
  min-height: 4.35rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #333;
}

.codex-edited-head strong {
  color: #f0f0f0;
}

.codex-edited-head em {
  grid-column: 2;
  color: #31d17d;
  font-style: normal;
}

.codex-edited-head i {
  color: #ff5d5d;
  font-style: normal;
}

.codex-edited-head button {
  grid-column: 4;
  grid-row: 1 / span 2;
}

.codex-edited-card > div:not(.codex-edited-head):not(.codex-show-more) {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
  color: #f0f0f0;
}

.codex-edited-card > div:not(.codex-edited-head):not(.codex-show-more) strong {
  color: #31d17d;
  font-weight: 760;
}

.codex-thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.1rem 0;
}

.codex-thumb-row img {
  display: block;
  width: 100%;
  height: 8.7rem;
  object-fit: cover;
  object-position: top left;
  border-radius: 0.55rem;
  background: #111;
}

.codex-meta {
  margin-top: 0.75rem;
  color: #8e8e8e;
  font-size: 0.94rem;
}

.codex-composer {
  width: 100%;
  min-height: 4.6rem;
  margin: 0;
  padding: 1rem 1.15rem;
  color: #8f8f8f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(45, 45, 45, 0.98);
  box-shadow: 0 -0.8rem 1.8rem rgba(25, 25, 25, 0.6);
}

.codex-composer > span {
  display: block;
  margin-bottom: 1.2rem;
  color: #858585;
}

.codex-composer div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.codex-composer b {
  color: #f0f0f0;
  font-size: 1.2rem;
}

.codex-composer strong {
  color: #ff8b3d;
}

.codex-composer em {
  margin-left: auto;
  color: #f0f0f0;
  font-style: normal;
}

.codex-composer button {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  color: #111;
  border-radius: 50%;
  background: #d8d8d8;
  font-weight: 850;
}

.browser-demo-slide {
  padding: 6.2rem 4.6rem 4rem;
  background:
    radial-gradient(circle at 18% 12%, rgba(96, 220, 255, 0.18), transparent 25rem),
    radial-gradient(circle at 92% 14%, rgba(255, 47, 134, 0.13), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.browser-mock {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 37, 84, 0.18);
  border-radius: 1.05rem;
  background: #fff;
  box-shadow: 0 1.3rem 3.4rem rgba(8, 37, 84, 0.2);
}

.browser-toolbar {
  display: grid;
  grid-template-columns: auto auto auto auto minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  min-height: 3.45rem;
  padding: 0.58rem 0.8rem;
  border-bottom: 1px solid #d9e3ef;
  background: #f7f9fc;
}

.browser-lights {
  display: inline-flex;
  gap: 0.45rem;
  padding: 0 0.45rem;
}

.browser-lights span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.browser-lights span:nth-child(1) {
  background: #ff5f57;
}

.browser-lights span:nth-child(2) {
  background: #febc2e;
}

.browser-lights span:nth-child(3) {
  background: #28c840;
}

.browser-button {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.browser-button:hover {
  background: #eaf1f8;
}

.browser-button:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.browser-button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.browser-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.browser-address {
  width: 100%;
  min-width: 0;
  height: 2.2rem;
  padding: 0 0.95rem;
  color: var(--ink);
  border: 1px solid #d8e2ee;
  border-radius: 999px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 650;
}

.browser-viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.browser-viewport iframe,
.browser-blank {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.browser-blank {
  display: none;
  place-items: center;
  align-content: center;
  gap: 0.6rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 40% 30%, rgba(96, 220, 255, 0.14), transparent 20rem),
    #fff;
}

.browser-blank.is-visible {
  display: grid;
}

.browser-blank strong {
  font-size: 2.1rem;
}

.browser-blank span {
  color: var(--muted);
  font-size: 1.05rem;
}

.session2-next {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.copy-slide {
  justify-content: center;
}

.copy-panel {
  width: min(73rem, 100%);
}

.copy-panel h2 {
  max-width: 70rem;
  margin-bottom: 1.35rem;
  font-size: 3rem;
}

.copy-body {
  display: grid;
  gap: 0.92rem;
  max-width: 68rem;
}

.copy-body.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.6rem;
  max-width: 72rem;
}

.copy-body p {
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.4;
}

.copy-list,
.copy-ordered {
  display: grid;
  gap: 0.56rem;
  margin: 0.2rem 0 0;
  padding: 0;
}

.copy-list {
  list-style: none;
}

.copy-list.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.25rem;
}

.copy-list.dense {
  gap: 0.44rem 1.15rem;
}

.copy-list li,
.copy-ordered li {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.34;
}

.copy-list li {
  position: relative;
  padding-left: 1.15rem;
}

.copy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

.copy-ordered {
  padding-left: 1.55rem;
}

.copy-ordered li::marker {
  color: var(--blue);
  font-weight: 850;
}

.copy-span {
  grid-column: 1 / -1;
}

.copy-quote {
  margin: 0.85rem 0 0;
  padding: 1rem 1.25rem;
  color: var(--ink);
  border-left: 0.34rem solid var(--pink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  font-size: 1.26rem;
  line-height: 1.35;
  font-weight: 760;
}

.copy-slide code {
  padding: 0.08rem 0.28rem;
  color: var(--ink);
  border-radius: 0.3rem;
  background: #edf3fb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.terminal-demo-slide {
  padding: 5.1rem 4.8rem 3.6rem;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 47, 134, 0.2), transparent 25rem),
    radial-gradient(circle at 88% 92%, rgba(96, 220, 255, 0.2), transparent 26rem),
    linear-gradient(135deg, #050b16, #0d1728 56%, #080c14);
}

.terminal-demo-slide::before,
.terminal-demo-slide::after {
  display: none;
}

.terminal-mock {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: #0b1018;
  box-shadow: 0 1.6rem 4.2rem rgba(0, 0, 0, 0.45);
}

.terminal-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  min-height: 3.35rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #141923;
}

.terminal-topbar strong {
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-lights {
  display: inline-flex;
  gap: 0.48rem;
  align-items: center;
}

.terminal-lights span {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
}

.terminal-lights span:nth-child(1) {
  background: #ff5f57;
}

.terminal-lights span:nth-child(2) {
  background: #febc2e;
}

.terminal-lights span:nth-child(3) {
  background: #28c840;
}

.session3-terminal-output {
  min-height: 0;
  margin: 0;
  padding: 1.35rem 1.45rem 2rem;
  overflow: auto;
  color: #d7e0ea;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 50%, transparent 50%) 0 0 / 100% 2.7rem,
    #090e15;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.79rem;
  line-height: 1.48;
  white-space: pre-wrap;
}

.session3-terminal-output strong {
  color: #fff;
  font-weight: 820;
}

.session3-terminal-output::-webkit-scrollbar {
  width: 0.82rem;
}

.session3-terminal-output::-webkit-scrollbar-track {
  background: #101722;
}

.session3-terminal-output::-webkit-scrollbar-thumb {
  border: 0.18rem solid #101722;
  border-radius: 999px;
  background: #45566c;
}

.profile-slide {
  justify-content: center;
  background:
    radial-gradient(circle at 16% 18%, rgba(96, 220, 255, 0.2), transparent 26rem),
    radial-gradient(circle at 86% 16%, rgba(255, 47, 134, 0.14), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.72fr);
  gap: 4.4rem;
  align-items: center;
  min-height: 0;
}

.profile-copy h2 {
  margin-bottom: 0.55rem;
  font-size: 4.2rem;
}

.profile-role {
  margin-bottom: 2rem;
  color: var(--pink);
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 820;
}

.profile-bio {
  display: grid;
  gap: 1.25rem;
  max-width: 55rem;
  padding: 0;
  margin: 0 0 2.3rem;
  list-style: none;
}

.profile-bio li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-size: 1.22rem;
  line-height: 1.42;
}

.profile-bio li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.4rem;
  padding: 0.7rem 1.05rem;
  color: var(--ink);
  border: 1px solid rgba(8, 37, 84, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.linkedin-link span {
  display: inline-grid;
  place-items: center;
  min-width: 5.9rem;
  height: 2.1rem;
  padding: 0 0.7rem;
  color: #fff;
  border-radius: 999px;
  background: #0a66c2;
  font-size: 0.94rem;
  font-weight: 820;
}

.linkedin-link strong {
  font-size: 1.1rem;
  font-weight: 780;
}

.profile-visual {
  display: grid;
  justify-items: center;
  gap: 1.7rem;
}

.profile-photo-ring {
  width: 16.2rem;
  height: 16.2rem;
  overflow: hidden;
  border: 0.42rem solid #fff;
  border-radius: 50%;
  background: #eaf1f8;
  box-shadow:
    0 1.25rem 3rem rgba(8, 37, 84, 0.18),
    0 0 0 0.16rem rgba(255, 47, 134, 0.36);
}

.profile-photo-ring img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.15);
  transform-origin: 36% 36%;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  width: 14rem;
  padding: 1rem 1rem 0.95rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  text-align: center;
  text-decoration: none;
}

.qr-card img {
  display: block;
  width: 10.8rem;
  height: 10.8rem;
}

.qr-card span {
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 730;
}

.deck-nav {
  display: inline-grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(211, 233, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition:
    transform 140ms ease,
    background 140ms ease,
    opacity 140ms ease;
}

.deck-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.deck-nav:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

.deck-nav svg {
  width: 1.35rem;
  height: 1.35rem;
}

.deck-nav path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#conversationFrame {
  width: 100%;
  height: 100%;
  flex: 1;
  border: 0;
  background: #fff;
}

.deck-topline {
  position: fixed;
  left: 50%;
  top: max(0.8rem, env(safe-area-inset-top));
  z-index: 20;
  display: flex;
  justify-content: space-between;
  width: min(100vw, calc(100dvh * 16 / 9));
  padding: 0 1.2rem;
  color: rgba(8, 37, 84, 0.58);
  font-size: 0.86rem;
  font-weight: 760;
  pointer-events: none;
  transform: translateX(-50%);
}

.is-title #slideCounter,
.is-conversation #slideCounter,
.is-conversation #slideLabel,
.is-codex-doc #slideCounter,
.is-codex-doc #slideLabel,
.is-terminal-demo #slideCounter,
.is-terminal-demo #slideLabel {
  color: rgba(255, 255, 255, 0.82);
}

.is-title #slideLabel {
  display: none;
}

.progress-track {
  position: fixed;
  left: 50%;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 20;
  width: min(42rem, 56vw);
  height: 0.28rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(8, 37, 84, 0.18);
  transform: translateX(-50%);
}

.is-title .progress-track,
.is-conversation .progress-track,
.is-codex-doc .progress-track,
.is-terminal-demo .progress-track {
  background: rgba(255, 255, 255, 0.22);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  transition: width 180ms ease;
}

.deck-nav {
  position: fixed;
  top: 50%;
  z-index: 25;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  background: rgba(6, 21, 47, 0.66);
  backdrop-filter: blur(12px);
}

.deck-prev {
  left: max(1rem, calc((100vw - min(100vw, calc(100dvh * 16 / 9))) / 2 + 1rem));
}

.deck-next {
  right: max(1rem, calc((100vw - min(100vw, calc(100dvh * 16 / 9))) / 2 + 1rem));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-height: 760px) {
  .slide {
    padding: 3.8rem 4.4rem 4.2rem;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.72rem;
  }

  p,
  .plain-callout {
    font-size: 0.98rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .copy-panel h2 {
    font-size: 2.55rem;
  }

  .copy-body p {
    font-size: 1.04rem;
  }

  .copy-list li,
  .copy-ordered li {
    font-size: 0.98rem;
  }

  .session3-terminal-output {
    font-size: 0.68rem;
  }
}
