/* Native Codex shell calibration -----------------------------------------
 * Source of truth: the currently installed ChatGPT/Codex Electron bundle.
 * Its desktop shell uses a flat translucent tertiary sidebar, 30px nav rows,
 * 10px row radii, and an extremely light elevation instead of boxed chrome.
 */
html body .hero .real-agent-grid .codex-sim {
  border: 0.5px solid rgba(26, 28, 31, 0.12);
  box-shadow:
    0 0 0 0.5px rgba(26, 28, 31, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.07),
    0 24px 52px rgba(0, 0, 0, 0.1);
  filter: none;
}

html body .hero .codex-window-bar {
  display: none;
}

html body .hero .codex-app-real {
  height: 100%;
  background: #fff;
  box-shadow: none;
  filter: none;
}

html body .hero .codex-app-real .codex-sidebar {
  color: rgba(26, 28, 31, 0.72);
  background: rgba(237, 237, 237, 0.7);
  border: 0;
  box-shadow: none;
  filter: none;
}

html body .hero .codex-app-real .codex-sidebar::before,
html body .hero .codex-app-real .codex-sidebar::after,
html body .hero .codex-thread-view::before,
html body .hero .codex-thread-view::after {
  box-shadow: none;
  filter: none;
}

html body .hero .codex-thread-view {
  z-index: 1;
  box-shadow:
    -0.5px 0 0 rgba(26, 28, 31, 0.12),
    -3px 0 7.5px rgba(0, 0, 0, 0.031),
    -8px 0 16px rgba(0, 0, 0, 0.02);
  filter: none;
}

html body .hero .codex-app-real .codex-primary-nav {
  padding-bottom: 10px;
  border-bottom: 0;
}

html body .hero .codex-thread-view > header {
  display: flex;
  gap: 8px;
  height: 46px;
  min-height: 46px;
  padding-inline: 16px;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(26, 28, 31, 0.08);
  box-shadow: none;
}

html body .hero .codex-thread-view > header > b {
  overflow: hidden;
  max-width: calc(100% - 58px);
  flex: 0 1 auto;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .hero .codex-thread-folder {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: rgba(26, 28, 31, 0.92);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 16px;
}

html body .hero .codex-thread-more {
  flex: 0 0 18px;
  color: rgba(26, 28, 31, 0.48);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1;
}

html body .hero .codex-app-real .codex-account {
  bottom: 10px;
  grid-template-columns: 20px minmax(0, 1fr) auto 18px;
  gap: 8px;
  min-height: 34px;
  padding-top: 6px;
  border-top-width: 0.5px;
  border-top-color: rgba(26, 28, 31, 0.05);
  box-shadow: none;
  font-size: 12px;
}

html body .hero .codex-account-voice {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: rgba(26, 28, 31, 0.48);
  white-space: nowrap;
}

html body .hero .codex-account-voice svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
}

html body .hero .codex-account-voice em {
  font-size: 0.82em;
  font-style: normal;
  font-weight: 500;
}

html body .hero .codex-composer {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(18px, 1fr) auto;
  min-height: 76px;
  padding: 9px 9px 8px 12px;
  align-items: stretch;
  overflow: visible;
}

@media (min-width: 901px) {
  html body .hero .session-demo:not([data-state="idle"]) .codex-thread-scroll {
    position: relative;
    left: -30px;
    padding-bottom: 108px;
  }

  html body .hero .session-demo:not([data-state="idle"]) .codex-composer {
    right: auto;
    left: calc(50% - 30px);
    box-sizing: border-box;
    width: min(calc(100% - 32px), 468px);
    transform: translateX(-50%);
  }
}

html body .hero .codex-composer-copy {
  align-self: start;
  font-size: 13.5px;
  line-height: 1.35;
}

html body .hero .codex-composer-controls {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html body .hero .codex-composer-leading,
html body .hero .codex-composer-trailing {
  display: flex;
  align-items: center;
}

html body .hero .codex-composer-leading {
  gap: 5px;
}

html body .hero .codex-composer-trailing {
  min-width: 0;
  gap: 5px;
}

html body .hero .codex-composer-icon-control {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: rgba(26, 28, 31, 0.9);
}

html body .hero .codex-composer-icon-control svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .hero .codex-permission-control {
  color: #e65300;
}

html body .hero .codex-permission-control svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

html body .hero .codex-mic-control svg {
  width: 18px;
  height: 18px;
}

html body .hero .codex-model-picker {
  position: relative;
  z-index: 80;
  min-width: 0;
}

html body .hero .codex-composer .codex-model-trigger {
  display: inline-flex;
  width: auto;
  height: 28px;
  padding: 0 7px 0 5px;
  gap: 5px;
  align-items: center;
  color: rgba(26, 28, 31, 0.9);
  background: transparent;
  border-radius: 8px;
  font: 500 11px/1 Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  cursor: pointer;
}

html body .hero .codex-composer .codex-model-trigger:hover,
html body .hero .codex-composer .codex-model-trigger:focus-visible,
html body .hero .codex-composer .codex-model-trigger[aria-expanded="true"] {
  background: rgba(26, 28, 31, 0.055);
  outline: none;
}

html body .hero .codex-model-trigger em {
  color: rgba(26, 28, 31, 0.5);
  font-style: normal;
  font-weight: 450;
}

html body .hero .codex-model-bolt {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

html body .hero .codex-model-chevron {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: rgba(26, 28, 31, 0.5);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 150ms ease;
}

html body .hero .codex-model-trigger[aria-expanded="true"] .codex-model-chevron {
  transform: rotate(180deg);
}

html body .hero .codex-model-menu[hidden] {
  display: none;
}

html body .hero .codex-model-menu {
  position: absolute;
  z-index: 100;
  right: 0;
  bottom: calc(100% + 7px);
  width: 224px;
  padding: 10px;
  color: #1a1c1f;
  background: #fff;
  border: 0.5px solid rgba(26, 28, 31, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
  font: 400 10px/1.2 Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}

html body .hero .codex-model-menu-view[hidden] {
  display: none;
}

html body .hero .codex-model-menu button {
  border: 0;
}

html body .hero .codex-flyout-view {
  position: absolute;
  top: var(--codex-submenu-top, 0);
  left: calc(100% + 8px);
  box-sizing: border-box;
  width: 224px;
  padding: 10px;
  background: #fff;
  border: 0.5px solid rgba(26, 28, 31, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
}

html body .hero .codex-flyout-view[data-codex-menu-view="model"] {
  width: 280px;
  padding: 8px;
}

html body .hero .codex-flyout-view[data-codex-menu-view="model"] .codex-model-option {
  min-height: 27px;
  padding: 3px 6px;
}

html body .hero .codex-flyout-view[data-codex-menu-view="model"] .codex-model-option strong {
  font-size: 12px;
  font-weight: 400;
}

html body .hero .codex-flyout-view[data-codex-menu-view="model"] .codex-model-option > svg {
  width: 12px;
  height: 12px;
}

html body .hero .codex-setting-row,
html body .hero .codex-submenu-heading,
html body .hero .codex-simple-option {
  display: flex;
  width: 100%;
  height: 29px;
  padding: 0 4px;
  align-items: center;
  justify-content: space-between;
  color: rgba(26, 28, 31, 0.94);
  background: transparent;
  border-radius: 7px;
  font: 550 11px/1 Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  text-align: left;
  cursor: pointer;
}

html body .hero .codex-setting-row:hover,
html body .hero .codex-setting-row:focus-visible,
html body .hero .codex-setting-row.is-open,
html body .hero .codex-submenu-heading:hover,
html body .hero .codex-submenu-heading:focus-visible,
html body .hero .codex-simple-option:hover,
html body .hero .codex-simple-option:focus-visible {
  background: rgba(26, 28, 31, 0.055);
  outline: none;
}

html body .hero .codex-setting-row > span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

html body .hero .codex-setting-row em {
  color: rgba(26, 28, 31, 0.48);
  font-style: normal;
  font-weight: 450;
}

html body .hero .codex-setting-row svg,
html body .hero .codex-submenu-heading svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: rgba(26, 28, 31, 0.48);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .hero .codex-model-menu-rule {
  height: 0.5px;
  margin: 5px 0;
  background: rgba(26, 28, 31, 0.1);
}

html body .hero .codex-advanced-row {
  width: auto;
  gap: 5px;
  justify-content: flex-start;
  color: rgba(26, 28, 31, 0.5);
}

html body .hero .codex-submenu-heading {
  gap: 5px;
  justify-content: flex-start;
  margin-bottom: 4px;
}

html body .hero .codex-submenu-title {
  display: block;
  padding: 2px 4px 7px;
  color: rgba(26, 28, 31, 0.48);
  font-size: 10px;
  font-weight: 600;
}

html body .hero .codex-simple-option > svg {
  visibility: hidden;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .hero .codex-simple-option.is-selected > svg {
  visibility: visible;
}

html body .hero .codex-option-with-note {
  height: 42px;
}

html body .hero .codex-option-with-note > span {
  display: grid;
  gap: 3px;
}

html body .hero .codex-option-with-note small {
  color: rgba(26, 28, 31, 0.48);
  font-size: 9px;
  font-weight: 450;
}

html body .hero .codex-model-menu-title {
  display: block;
  padding: 4px 6px 3px;
  color: rgba(26, 28, 31, 0.48);
  font-size: 8px;
  font-weight: 600;
}

html body .hero .codex-model-menu .codex-model-option {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 34px;
  padding: 5px 6px;
  grid-template-columns: minmax(0, 1fr) 14px;
  gap: 6px;
  align-items: center;
  color: inherit;
  background: transparent;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
}

html body .hero .codex-model-option:hover,
html body .hero .codex-model-option:focus-visible {
  background: rgba(26, 28, 31, 0.055);
  outline: none;
}

html body .hero .codex-model-option > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

html body .hero .codex-model-option strong {
  font-size: 10px;
  font-weight: 550;
}

html body .hero .codex-model-option small {
  overflow: hidden;
  color: rgba(26, 28, 31, 0.48);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .hero .codex-model-option > svg {
  display: none;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .hero .codex-model-option.is-selected > svg {
  display: block;
}

html body .hero .codex-effort-row {
  display: flex;
  margin-top: 3px;
  padding: 6px 6px 2px;
  align-items: center;
  justify-content: space-between;
  border-top: 0.5px solid rgba(26, 28, 31, 0.08);
}

html body .hero .codex-effort-row > span {
  color: rgba(26, 28, 31, 0.62);
  font-size: 8.5px;
}

html body .hero .codex-effort-row > div {
  display: flex;
  padding: 2px;
  gap: 1px;
  background: rgba(26, 28, 31, 0.055);
  border-radius: 7px;
}

html body .hero .codex-composer .codex-effort-row button {
  width: 23px;
  height: 19px;
  color: rgba(26, 28, 31, 0.56);
  background: transparent;
  border-radius: 5px;
  font-size: 8px;
  cursor: pointer;
}

html body .hero .codex-composer .codex-effort-row button.is-selected {
  color: rgba(26, 28, 31, 0.9);
  background: #fff;
  box-shadow: 0 0 0 0.5px rgba(26, 28, 31, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
}

html body .hero .codex-composer .codex-send-button {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 9999px;
}

html body .hero .codex-composer .codex-send-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Codex new-task home --------------------------------------------------- */
html body .hero .session-demo[data-state="idle"] .codex-app-real .codex-thread-scroll {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 0 16px 12px;
}

html body .hero .session-demo[data-state="idle"] .codex-thread-scroll > :not(.codex-start-home) {
  display: none !important;
}

html body .hero .codex-start-home {
  display: none;
}

html body .hero .session-demo[data-state="idle"] .codex-start-home {
  display: flex;
  box-sizing: border-box;
  width: 80%;
  max-width: 760px;
  min-height: 0;
  margin-inline: auto;
  padding-top: 136px;
  flex-direction: column;
  align-items: stretch;
}

html body .hero .codex-start-mark {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0 auto 9px;
  place-items: center;
  color: rgba(26, 28, 31, 0.28);
}

html body .hero .codex-start-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .hero .codex-start-home h2 {
  margin: 0 0 18px;
  color: rgba(26, 28, 31, 0.94);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-align: center;
}

html body .hero .codex-start-home h2 u {
  text-decoration-color: rgba(26, 28, 31, 0.3);
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

html body .hero .codex-starter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

html body .hero .codex-starter-grid button {
  display: flex;
  min-width: 0;
  min-height: 82px;
  padding: 11px 10px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  color: rgba(26, 28, 31, 0.92);
  background: #fff;
  border: 0.5px solid rgba(26, 28, 31, 0.15);
  border-radius: 13px;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.035),
    0 4px 9px rgba(0, 0, 0, 0.055);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

html body .hero .codex-starter-grid button:hover,
html body .hero .codex-starter-grid button:focus-visible {
  border-color: rgba(26, 28, 31, 0.25);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.045),
    0 6px 13px rgba(0, 0, 0, 0.07);
  outline: none;
  transform: translateY(-1px);
}

html body .hero .codex-starter-grid svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #268bff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .hero .codex-starter-grid button:nth-child(2) svg { stroke: #8b4dff; }
html body .hero .codex-starter-grid button:nth-child(3) svg { stroke: #00a545; }
html body .hero .codex-starter-grid button:nth-child(4) svg { stroke: #f05a18; }

html body .hero .codex-starter-grid span {
  display: block;
  font-size: 10.5px;
  font-weight: 560;
  line-height: 1.35;
}

html body .hero .codex-project-strip {
  position: absolute;
  right: auto;
  bottom: 90px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 15px;
  min-height: 32px;
  box-sizing: border-box;
  width: 80%;
  max-width: 760px;
  margin: 0;
  padding: 0 11px;
  align-items: center;
  color: rgba(26, 28, 31, 0.88);
  background: rgba(246, 246, 246, 0.96);
  border-radius: 12px 12px 0 0;
  font-size: 9.5px;
  transform: translateX(-50%);
}

html body .hero .session-demo[data-state="idle"] .codex-composer {
  right: auto;
  left: 50%;
  z-index: 20;
  box-sizing: border-box;
  width: 80%;
  max-width: 760px;
  overflow: visible;
  isolation: isolate;
  transform: translateX(-50%);
}

html body .hero .codex-project-strip span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

html body .hero .codex-project-strip svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  html body .hero .session-demo[data-state="idle"] .codex-start-home {
    width: calc(100% - 20px);
    padding-top: 16px;
  }

  html body .hero .codex-start-mark {
    display: none;
  }

  html body .hero .codex-project-strip {
    bottom: 86px;
    width: calc(100% - 20px);
  }

  html body .hero .session-demo[data-state="idle"] .codex-composer {
    width: calc(100% - 20px);
  }

  html body .hero .codex-start-home h2 {
    margin-bottom: 12px;
    font-size: 15px;
  }

  html body .hero .codex-starter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body .hero .codex-starter-grid button {
    min-height: 60px;
  }
}

/* The hero windows are a two-way switch: whichever one is selected owns the
   foreground elevation. Keep the inactive window present, but visually lower. */
html body .hero .real-agent-grid > [data-agent-panel] {
  cursor: pointer;
}

html body .hero .session-demo[data-agent-focus="codex"] .codex-sim,
html body .hero .session-demo[data-agent-focus="claude"] .claude-sim {
  z-index: 2;
  box-shadow:
    0 0 0 0.5px rgba(26, 28, 31, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.07),
    0 24px 52px rgba(0, 0, 0, 0.1);
}

html body .hero .session-demo[data-agent-focus="codex"] .claude-sim,
html body .hero .session-demo[data-agent-focus="claude"] .codex-sim {
  z-index: 1;
  box-shadow:
    0 0 0 0.5px rgba(26, 28, 31, 0.05),
    0 5px 22px rgba(0, 0, 0, 0.055);
}

@media (min-width: 901px) {
  html body .hero .codex-app-real {
    grid-template-columns: clamp(220px, 27%, 240px) minmax(0, 1fr);
  }

  html body .hero .codex-app-real .codex-sidebar {
    padding: 14px 12px 42px;
  }

  html body .hero .codex-app-real .codex-brand {
    margin: 0 4px 12px;
    font-size: 15px;
  }

  html body .hero .codex-app-real .codex-primary-nav > span {
    font-size: 12px;
  }

  html body .hero .codex-app-real .codex-section-label,
  html body .hero .codex-app-real .codex-nav-label {
    font-size: 11px;
  }

  html body .hero .codex-app-real .codex-project b {
    font-size: 12px;
  }

  html body .hero .codex-app-real .codex-thread-item b {
    font-size: 11.5px;
  }
}

/* Claude CLI memory handoff -------------------------------------------------
   A compact handoff target first; the terminal only opens after recall lands. */
html body .hero .claude-desktop-reference[hidden] {
  display: none !important;
}

html body .hero .real-agent-grid .claude-cli-sim,
html body .hero .session-demo[data-agent-focus="codex"] .claude-cli-sim,
html body .hero .session-demo[data-agent-focus="claude"] .claude-cli-sim {
  --cli-graphite: #1d2528;
  --cli-graphite-soft: #263034;
  --cli-paper: #f8f7f3;
  --cli-ink: #242725;
  --cli-muted: #898d88;
  position: absolute;
  top: 50%;
  right: clamp(22px, 3.2%, 42px);
  left: auto;
  z-index: 12;
  display: block;
  width: 196px;
  height: 66px;
  min-height: 0;
  overflow: visible;
  color: var(--cli-ink);
  background: transparent;
  border: 0;
  border-radius: 16px;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  box-shadow: none;
  transform: translateY(-50%);
  opacity: 0.94;
  transition:
    width 520ms cubic-bezier(0.22, 1, 0.36, 1),
    height 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

html body .hero .claude-cli-launcher {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 8px;
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  background: rgba(249, 248, 244, 0.94);
  border: 0.5px solid rgba(38, 42, 39, 0.16);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(27, 31, 28, 0.05),
    0 10px 28px rgba(27, 31, 28, 0.08);
  backdrop-filter: blur(14px);
  transition: opacity 180ms ease, transform 260ms ease, visibility 180ms ease;
}

html body .hero .claude-cli-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: #efeee9;
  border-radius: 11px;
}

html body .hero .claude-cli-mark > img {
  display: block;
  width: 24px;
  height: 24px;
}

html body .hero .claude-cli-titlebar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body .hero .claude-cli-launcher-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

html body .hero .claude-cli-launcher-copy b {
  font: 520 12px/1.2 Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  letter-spacing: -0.01em;
}

html body .hero .claude-cli-launcher-copy small {
  overflow: hidden;
  color: var(--cli-muted);
  font: 400 8px/1.25 ui-monospace, "SFMono-Regular", Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .hero .claude-cli-pulse {
  width: 6px;
  height: 6px;
  background: #a9ada8;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(77, 151, 121, 0);
}

html body .hero .session-demo[data-state="codex-memory"] .claude-cli-pulse,
html body .hero .session-demo[data-state="codex-handoff"] .claude-cli-pulse {
  background: #4d9779;
  animation: claude-cli-await 1.5s ease-out infinite;
}

@keyframes claude-cli-await {
  0% { box-shadow: 0 0 0 0 rgba(77, 151, 121, 0.3); }
  75%, 100% { box-shadow: 0 0 0 7px rgba(77, 151, 121, 0); }
}

html body .hero .claude-cli-window {
  display: grid;
  grid-template-rows: 32px 0fr;
  width: 100%;
  overflow: hidden;
  color: #e9ece8;
  background: var(--cli-graphite);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow:
    0 1px 1px rgba(7, 10, 9, 0.18),
    0 16px 38px rgba(16, 20, 19, 0.22);
  visibility: hidden;
  opacity: 0;
  transform: translateY(5px) scale(0.985);
  transform-origin: 90% 50%;
  transition:
    grid-template-rows 460ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease,
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 200ms ease;
}

html body .hero .claude-cli-titlebar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  color: #aeb5b0;
  background: var(--cli-graphite-soft);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.075);
}

html body .hero .claude-cli-titlebar > span:nth-child(2) {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-self: center;
  font: 500 9px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

html body .hero .claude-cli-titlebar svg { width: 12px; height: 12px; }
html body .hero .claude-cli-titlebar small { color: #78817c; font: 400 8px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; }

html body .hero .claude-cli-traffic { display: flex; gap: 4px; }
html body .hero .claude-cli-traffic i { width: 5px; height: 5px; background: #67706b; border-radius: 50%; }
html body .hero .claude-cli-traffic i:nth-child(2) { opacity: 0.72; }
html body .hero .claude-cli-traffic i:nth-child(3) { opacity: 0.44; }

html body .hero .claude-cli-body {
  min-height: 0;
  overflow: hidden;
  padding: 11px 13px 13px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, monospace;
}

html body .hero .claude-cli-line,
html body .hero .claude-cli-recall,
html body .hero .claude-cli-ready {
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 300ms ease, visibility 220ms ease;
}

html body .hero .claude-cli-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px;
  padding: 4px 0;
  color: #d8ddd8;
  font: 400 8.5px/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

html body .hero .claude-cli-line b { color: #f0f2ef; font-weight: 500; }
html body .hero .claude-cli-line i { color: #7fb498; font-style: normal; }
html body .hero .claude-cli-line em { overflow: hidden; color: #aeb6b0; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
html body .hero .claude-cli-line small { grid-column: 2; color: #77817b; font-size: 7.5px; }

html body .hero .claude-cli-recall {
  margin: 7px 0 6px;
  padding: 9px;
  background: rgba(111, 174, 142, 0.075);
  border: 0.5px solid rgba(126, 183, 154, 0.25);
  border-radius: 9px;
}

html body .hero .claude-cli-recall header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #8ec1a7;
  font: 600 7px/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.08em;
}

html body .hero .claude-cli-recall header small { color: #708a7b; font-weight: 400; letter-spacing: 0; }
html body .hero .claude-cli-recall p { display: grid; grid-template-columns: 18px 1fr; gap: 6px; margin: 4px 0 0; color: #b8c0ba; font: 400 7.5px/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace; }
html body .hero .claude-cli-recall p > i { color: #668b78; font-style: normal; }
html body .hero .claude-cli-recall p b { display: inline; margin-right: 5px; color: #d7ddd8; font-weight: 500; }

html body .hero .claude-cli-ready {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  padding: 9px;
  color: #dce2dc;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 9px;
}

html body .hero .claude-cli-ready > span { display: grid; width: 21px; height: 21px; place-items: center; color: #b8d6c4; background: rgba(112, 169, 140, 0.16); border-radius: 7px; font-size: 10px; }
html body .hero .claude-cli-ready p { display: flex; flex-direction: column; gap: 2px; margin: 0; }
html body .hero .claude-cli-ready b { font: 500 8.5px/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace; }
html body .hero .claude-cli-ready small { color: #89928c; font: 400 7.5px/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace; }

html body .hero .session-demo:is([data-state="asking"], [data-state="skill"], [data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-sim {
  width: clamp(310px, 31%, 350px);
  height: auto;
  opacity: 1;
  transform: translateY(-50%);
}

html body .hero .session-demo:is([data-state="asking"], [data-state="skill"], [data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-launcher {
  visibility: hidden;
  opacity: 0;
  transform: scale(0.96);
}

html body .hero .session-demo:is([data-state="asking"], [data-state="skill"], [data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-window {
  grid-template-rows: 32px 1fr;
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

html body .hero .session-demo[data-state="asking"] .claude-cli-line.is-command,
html body .hero .session-demo:is([data-state="skill"], [data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-line.is-command,
html body .hero .session-demo:is([data-state="skill"], [data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-line.is-skill,
html body .hero .session-demo:is([data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-line.is-search,
html body .hero .session-demo:is([data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-recall,
html body .hero .session-demo:is([data-state="inspecting"], [data-state="answer"]) .claude-cli-line.is-inspect,
html body .hero .session-demo[data-state="answer"] .claude-cli-ready {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Keep the memory route prominent enough to read while the handoff animates. */
html body .hero .real-handoff-link,
html body .hero .session-demo[data-state="memory-1"] .real-handoff-link {
  position: absolute;
  top: 50%;
  left: auto;
  right: clamp(208px, 19.5%, 238px);
  z-index: 17;
  display: grid;
  grid-template-columns: auto minmax(88px, 1fr);
  grid-template-rows: auto auto;
  gap: 7px 12px;
  align-items: center;
  width: clamp(220px, 22%, 280px);
  min-width: 0;
  padding: 0;
  color: #5e7568;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 220ms ease, visibility 220ms ease;
}

html body .hero .real-handoff-link .handoff-memory-label {
  grid-row: 1 / span 2;
  padding: 8px 12px;
  color: #3f6f58;
  background: rgba(246, 249, 245, 0.98);
  border: 1px solid rgba(77, 151, 121, 0.36);
  border-radius: 999px;
  font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0;
  white-space: nowrap;
}

html body .hero .real-handoff-link .handoff-memory-track {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  overflow: visible;
  background: rgba(77, 151, 121, 0.38);
  transform: scaleX(0.16);
  transform-origin: left;
  transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
}

html body .hero .handoff-memory-particle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  background: #4d9779;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(77, 151, 121, 0.14);
  opacity: 0;
  transform: translate(-50%, -50%);
}

html body .hero .real-handoff-link > .handoff-memory-status { position: relative; min-height: 14px; color: #6f7e75; font: 500 10px/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace; }
html body .hero .handoff-memory-status span { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; transition: opacity 180ms ease; }
html body .hero .session-demo[data-state="memory-1"] .handoff-memory-status span:nth-child(2) { opacity: 1; }

html body .hero .session-demo[data-state="memory-1"] .real-handoff-link {
  visibility: visible;
  opacity: 1;
}

html body .hero .session-demo[data-state="memory-1"] .real-handoff-link .handoff-memory-track { transform: scaleX(1); }
html body .hero .session-demo[data-state="memory-1"] .handoff-memory-particle { animation: memory-particle-flight 780ms cubic-bezier(0.4, 0, 0.2, 1) forwards; }
html body .hero .session-demo[data-state="memory-1"] .handoff-memory-particle:nth-child(2) { animation-delay: 130ms; }
html body .hero .session-demo[data-state="memory-1"] .handoff-memory-particle:nth-child(3) { animation-delay: 260ms; }

@keyframes memory-particle-flight {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(0.45); }
}

@media (max-width: 900px) {
  html body .hero .real-agent-grid .claude-cli-sim,
  html body .hero .session-demo[data-agent-focus] .claude-cli-sim {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(100%, 350px);
    height: 66px;
    margin: 18px auto 0;
    transform: none;
  }

  html body .hero .session-demo:is([data-state="asking"], [data-state="skill"], [data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-sim {
    width: min(100%, 350px);
    transform: none;
  }

  html body .hero .real-handoff-link { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html body .hero .claude-cli-pulse,
  html body .hero .handoff-memory-particle { animation: none !important; }
}

/* Claude Code CLI authenticity pass — based on Anthropic's terminal renderer. */
html body .hero .claude-cli-window {
  display: block;
  width: 100%;
  max-height: 0;
  color: #d8d4cd;
  background: #1f2020;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(18, 19, 18, 0.25), 0 2px 6px rgba(18, 19, 18, 0.16);
  transition:
    max-height 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease,
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 200ms ease;
}

html body .hero .claude-cli-body {
  padding: 13px 15px 11px;
  overflow: hidden;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

html body .hero .claude-cli-shell-command {
  margin: 0 0 9px;
  color: #9c9b96;
  font: 400 8.5px/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

html body .hero .claude-cli-shell-command span { color: #6f8f7b; }

html body .hero .claude-cli-welcome {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-bottom: 11px;
  padding: 9px 11px;
  color: #d8d4cd;
  border: 1px solid #565550;
  border-radius: 7px;
}

html body .hero .claude-clawd-art {
  display: block;
  width: 50px;
  margin: 0;
  overflow: visible;
  color: #da7756;
  font: 700 9px/0.92 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0;
  white-space: pre;
}

html body .hero .claude-cli-welcome > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  min-width: 0;
}

html body .hero .claude-cli-welcome b {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #f0ede7;
  font: 600 9.5px/1.25 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

html body .hero .claude-cli-welcome span {
  overflow: hidden;
  color: #999894;
  font: 400 7.5px/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body .hero .claude-cli-welcome span:nth-of-type(3) { grid-column: 1 / -1; color: #787773; }
html body .hero .claude-cli-welcome em { color: #b4b1ab; font-style: normal; }

html body .hero .claude-cli-line {
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 4px;
  padding: 4px 0;
  color: #d3d0c9;
  font-size: 8.5px;
  line-height: 1.42;
}

html body .hero .claude-cli-line.is-command {
  margin: 0 -5px 5px;
  padding: 7px 8px;
  color: #ece8e1;
  background: #2a2a29;
  border: 1px solid #454440;
  border-radius: 5px;
}

html body .hero .claude-cli-line.is-command b {
  color: #dc7958;
  font-size: 11px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(216, 120, 87, 0.28);
}

html body .hero .claude-command-copy {
  position: relative;
  display: inline-block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

html body .hero .claude-command-copy strong {
  color: #91c9ac;
  font-weight: 560;
  text-shadow: 0 0 12px rgba(126, 193, 159, 0.14);
}

html body .hero .session-demo[data-state="asking"] .claude-cli-line.is-command {
  animation: claude-command-focus 2.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html body .hero .session-demo:is(
  [data-state="asking"],
  [data-state="skill"],
  [data-state="searching"],
  [data-state="memory-1"],
  [data-state="inspecting"],
  [data-state="answer"]
) .claude-command-copy {
  width: 0;
  animation: claude-command-type 1.9s steps(29, end) 220ms forwards;
}

html body .hero .session-demo:is(
  [data-state="asking"],
  [data-state="skill"],
  [data-state="searching"],
  [data-state="memory-1"],
  [data-state="inspecting"],
  [data-state="answer"]
) .claude-command-copy::after {
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.12em;
  content: "";
  background: #dc7958;
  box-shadow: 0 0 7px rgba(216, 120, 87, 0.35);
  animation: claude-command-caret 520ms step-end 5;
}

@keyframes claude-command-type {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes claude-command-caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes claude-command-focus {
  0% {
    background: rgba(216, 120, 87, 0.035);
    border-color: rgba(216, 120, 87, 0.24);
    box-shadow: 0 0 0 rgba(216, 120, 87, 0);
    transform: translateY(3px);
  }
  26% {
    background: rgba(216, 120, 87, 0.105);
    border-color: rgba(222, 132, 99, 0.48);
    box-shadow: 0 6px 18px rgba(17, 17, 16, 0.18), inset 2px 0 0 rgba(216, 120, 87, 0.74);
    transform: translateY(0);
  }
  100% {
    background: #2a2a29;
    border-color: #454440;
    box-shadow: inset 2px 0 0 rgba(216, 120, 87, 0.42);
    transform: translateY(0);
  }
}

/* English Codex copy runs longer than Chinese. Keep the transcript compact
 * without changing the Chinese presentation or the surrounding app chrome. */
@media (min-width: 901px) {
  html[data-language="en"] body .hero .codex-app-real .codex-user-message {
    font-size: 12px;
    line-height: 1.47;
  }

  html[data-language="en"] body .hero .codex-app-real .codex-response-timing {
    font-size: 10.75px;
  }

  html[data-language="en"] body .hero .codex-app-real .codex-response p {
    font-size: 11.5px;
    line-height: 1.47;
  }

  html[data-language="en"] body .hero .codex-app-real .codex-summary span {
    font-size: 10px;
  }

  html[data-language="en"] body .hero .codex-app-real .codex-summary strong {
    font-size: 11.5px;
    line-height: 1.42;
  }

  html[data-language="en"] body .hero .codex-app-real .codex-summary small {
    font-size: 10.75px;
    line-height: 1.42;
  }

  html[data-language="en"] body .hero .codex-app-real .codex-response pre {
    font-size: 10px;
    line-height: 1.45;
  }

  html[data-language="en"] body .hero .codex-app-real .codex-composer {
    font-size: 11.5px;
  }

  html[data-language="en"] body .hero .codex-app-real .codex-composer-copy {
    font-size: 12.5px;
  }

  html[data-language="en"] body .hero .codex-app-real .codex-composer .codex-model-trigger {
    font-size: 10px;
  }
}

html body .hero .claude-cli-line i { color: #d87857; }
html body .hero .claude-cli-line small { grid-column: 2; color: #888782; font-size: 7.5px; line-height: 1.55; }

html body .hero .claude-cli-recall {
  margin: 5px 0 6px 14px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

html body .hero .claude-cli-recall header {
  margin: 0 0 2px;
  color: #d8d4cd;
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0;
}

html body .hero .claude-cli-recall header span { color: #d87857; }
html body .hero .claude-cli-recall header small { color: #72716d; }
html body .hero .claude-cli-recall p { grid-template-columns: 20px 1fr; gap: 2px; margin: 1px 0; color: #999792; font-size: 7px; line-height: 1.4; }
html body .hero .claude-cli-recall p > i { color: #676662; }
html body .hero .claude-cli-recall p b { color: #bbb8b1; font-weight: 500; }

html body .hero .claude-cli-ready {
  gap: 5px;
  align-items: flex-start;
  margin: 5px 0 7px;
  padding: 0;
  color: #d8d4cd;
  background: transparent;
  border-radius: 0;
}

html body .hero .claude-cli-ready > span {
  display: block;
  width: auto;
  height: auto;
  color: #d87857;
  background: transparent;
  font-size: 8px;
}

html body .hero .claude-cli-ready b { color: #dedad3; font-size: 8px; font-weight: 400; }
html body .hero .claude-cli-ready small { max-width: 280px; color: #999792; font-size: 7px; line-height: 1.45; }

html body .hero .claude-cli-prompt {
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 29px;
  margin-top: 6px;
  padding: 6px 8px;
  color: #d87857;
  border: 1px solid #55544f;
  border-radius: 5px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 300ms ease, visibility 220ms ease;
}

html body .hero .claude-cli-prompt span { font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; }
html body .hero .claude-cli-prompt em { color: #6f6e6a; font: 400 7.5px/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace; font-style: normal; }

html body .hero .claude-cli-status {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: #666560;
  font: 400 6.5px/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace;
  visibility: hidden;
  opacity: 0;
  transition: opacity 220ms ease, visibility 220ms ease;
}

html body .hero .session-demo:is([data-state="asking"], [data-state="skill"], [data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-sim {
  width: clamp(370px, 35%, 420px);
}

html body .hero .session-demo:is([data-state="asking"], [data-state="skill"], [data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-window {
  max-height: 450px;
}

html body .hero .session-demo[data-state="answer"] .claude-cli-prompt,
html body .hero .session-demo[data-state="answer"] .claude-cli-status {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  html body .hero .session-demo:is([data-state="asking"], [data-state="skill"], [data-state="searching"], [data-state="memory-1"], [data-state="inspecting"], [data-state="answer"]) .claude-cli-sim {
    width: min(100%, 420px);
  }
}

/* Saved and recalled are the same memory receipt in two environments. */
html body .hero .memory-receipt {
  --memory-accent: #4d9779;
  --memory-rule: rgba(77, 151, 121, 0.2);
  position: relative;
  display: grid;
  gap: 7px;
  box-sizing: border-box;
  overflow: visible;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html body .hero .memory-receipt::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--memory-accent), transparent 82%);
  opacity: 0.58;
  transform: scaleX(0);
  transform-origin: left;
}

html body .hero .memory-receipt > header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font: 500 8px/1.3 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
}

html body .hero .memory-receipt > header span {
  display: flex;
  gap: 6px;
  align-items: center;
  color: inherit;
  white-space: nowrap;
}

html body .hero .memory-receipt > header i {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: #fff;
  background: var(--memory-accent);
  border-radius: 50%;
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0;
}

html body .hero .memory-receipt > header small {
  padding: 3px 6px;
  color: inherit;
  background: rgba(77, 151, 121, 0.085);
  border: 1px solid var(--memory-rule);
  border-radius: 999px;
  font: 500 7px/1.1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

html body .hero .memory-receipt-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--memory-rule);
  border-bottom: 1px solid var(--memory-rule);
}

html body .hero .memory-receipt-rows > p {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 20px 57px minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
  overflow: hidden;
  margin: 0;
  padding: 4px 0;
  font: 400 7.4px/1.35 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html body .hero .memory-receipt-rows > p::after {
  position: absolute;
  z-index: 0;
  inset: 1px 0;
  content: "";
  background: linear-gradient(90deg, transparent 0%, rgba(82, 164, 125, 0.08) 14%, rgba(82, 164, 125, 0.18) 48%, rgba(82, 164, 125, 0.08) 84%, transparent 100%);
  border-radius: 4px;
  opacity: 0;
  transform: scaleX(0.18);
}

html body .hero .memory-receipt-rows > p > * {
  position: relative;
  z-index: 1;
}

html body .hero .memory-receipt-rows > p + p { border-top: 1px solid rgba(77, 151, 121, 0.1); }
html body .hero .memory-receipt-rows em { display: inline-block; color: #79a590; font-style: normal; font-variant-numeric: tabular-nums; }
html body .hero .memory-receipt-rows b { color: inherit; font-weight: 500; }
html body .hero .memory-receipt-rows span { min-width: 0; color: inherit; opacity: 0.74; }

html body .hero .memory-receipt > footer {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  font: 400 7px/1.35 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html body .hero .memory-receipt > footer i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  color: var(--memory-accent);
  background: var(--memory-accent);
  border-radius: 50%;
  font-size: 0;
  font-style: normal;
}

html body .hero .codex-memory-saved {
  width: min(100%, 410px);
  justify-self: start;
  margin-top: 10px;
  padding: 7px 9px 6px;
  color: #3f705f;
  background: rgba(244, 249, 246, 0.92);
  border: 1px solid rgba(77, 151, 121, 0.23);
  border-left: 2px solid rgba(55, 143, 108, 0.82);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 5px 14px rgba(47, 101, 77, 0.045);
}

html body .hero .codex-memory-saved.memory-receipt {
  gap: 4px;
}

html body .hero .codex-memory-saved.memory-receipt > header {
  font-size: 9.2px;
}

html body .hero .codex-memory-saved.memory-receipt > header i {
  width: 11px;
  height: 11px;
  font-size: 5.5px;
}

html body .hero .codex-memory-saved.memory-receipt > header small {
  padding: 2px 5px;
  font-size: 8px;
}

html body .hero .codex-memory-saved .memory-receipt-rows > p {
  grid-template-columns: 16px 42px minmax(0, 1fr);
  gap: 5px;
  padding: 2.5px 0;
  font-size: 8.7px;
  line-height: 1.35;
}

html body .hero .codex-memory-saved .memory-receipt-rows b {
  font-size: 7.8px;
  font-weight: 500;
}

html body .hero .codex-memory-saved.memory-receipt > footer {
  gap: 5px;
  font-size: 8.2px;
}

html body .hero .codex-memory-saved.memory-receipt > footer i {
  width: 4px;
  height: 4px;
  flex-basis: 4px;
}

html body .hero .session-demo .codex-memory-saved.memory-receipt.is-visible {
  display: grid;
}

html body .hero .claude-cli-recall {
  --memory-accent: #86bda0;
  --memory-rule: rgba(126, 183, 154, 0.17);
  margin: 7px 0 8px 14px;
  padding: 8px 9px 7px;
  color: #b6beb8;
  background: linear-gradient(90deg, rgba(85, 158, 119, 0.12), rgba(91, 151, 121, 0.065) 24%, rgba(91, 151, 121, 0.055));
  border: 1px solid rgba(124, 190, 156, 0.3);
  border-left: 2px solid rgba(155, 220, 187, 0.94);
  border-radius: 10px;
  box-shadow:
    inset 14px 0 28px rgba(90, 177, 132, 0.045),
    inset 0 1px 0 rgba(207, 235, 220, 0.035);
}

html body .hero .claude-cli-recall > header { color: #9bc9b0; font-size: 7.5px; }
html body .hero .claude-cli-recall > header i { width: 6px; height: 6px; color: transparent; }
html body .hero .claude-cli-recall > header small { color: #86ad98; font-size: 6.5px; }
html body .hero .claude-cli-recall .memory-receipt-rows > p { grid-template-columns: 18px 51px minmax(0, 1fr); gap: 5px; padding: 3px 0; color: #b3bab5; font-size: 6.8px; }
html body .hero .claude-cli-recall .memory-receipt-rows > p::after { background: linear-gradient(90deg, transparent 0%, rgba(126, 207, 165, 0.07) 14%, rgba(126, 207, 165, 0.17) 48%, rgba(126, 207, 165, 0.07) 84%, transparent 100%); }
html body .hero .claude-cli-recall .memory-receipt-rows em { color: #729684; }
html body .hero .claude-cli-recall .memory-receipt-rows b { color: #d2d7d3; }
html body .hero .claude-cli-recall > footer { color: #82ae97; font-size: 6.8px; }
html body .hero .claude-cli-recall > footer i { display: grid; place-items: center; width: 12px; height: 12px; flex-basis: 12px; color: #18251f; font-size: 6px; }

html body .hero .session-demo[data-state="memory-1"] .claude-cli-welcome,
html body .hero .session-demo[data-state="memory-1"] .claude-cli-shell-command,
html body .hero .session-demo[data-state="memory-1"] .claude-cli-line {
  opacity: 0.34 !important;
  transition: opacity 220ms ease;
}

html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall {
  background: linear-gradient(90deg, rgba(89, 169, 127, 0.16), rgba(91, 151, 121, 0.105) 26%, rgba(91, 151, 121, 0.08));
  border-color: rgba(132, 202, 167, 0.38);
  border-left-color: rgba(163, 229, 196, 0.98);
  border-left-width: 2px;
  box-shadow:
    inset 16px 0 32px rgba(91, 186, 137, 0.06),
    0 5px 14px rgba(18, 42, 31, 0.14);
  animation: claude-recall-focus 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall::before {
  animation: claude-recall-progress 720ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall .memory-receipt-rows > p,
html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall footer {
  opacity: 0;
  transform: translateX(-6px);
  animation: claude-recall-row 550ms ease-out forwards;
}

html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall p:nth-of-type(1) { animation-delay: 180ms; }
html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall p:nth-of-type(2) { animation-delay: 900ms; }
html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall p:nth-of-type(3) { animation-delay: 1620ms; }
html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall footer { animation-delay: 3250ms; }

html body .hero .session-demo[data-state="memory-1"] :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p:nth-child(1) {
  --memory-pair-delay: 180ms;
}

html body .hero .session-demo[data-state="memory-1"] :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p:nth-child(2) {
  --memory-pair-delay: 900ms;
}

html body .hero .session-demo[data-state="memory-1"] :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p:nth-child(3) {
  --memory-pair-delay: 1620ms;
}

html body .hero .session-demo[data-state="memory-1"] :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p::after {
  background-position: 100% 50%;
  background-size: 180% 100%;
  transform: none;
  animation: memory-pair-highlight 1.5s cubic-bezier(0.4, 0, 0.2, 1) var(--memory-pair-delay) both;
}

html body .hero .session-demo[data-state="memory-1"] :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p > em {
  animation: memory-pair-index 1.5s cubic-bezier(0.4, 0, 0.2, 1) var(--memory-pair-delay) both;
}

@keyframes claude-recall-focus {
  0% { opacity: 0; transform: translateY(6px) scale(0.985); }
  45% { opacity: 1; transform: translateY(0) scale(1.012); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes claude-recall-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes claude-recall-row {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes memory-pair-highlight {
  0% { opacity: 0; background-position: 100% 50%; }
  24% { opacity: 0.34; }
  50% { opacity: 0.68; background-position: 50% 50%; }
  76% { opacity: 0.3; }
  100% { opacity: 0; background-position: 0 50%; }
}

@keyframes memory-pair-index {
  0% { filter: brightness(1); text-shadow: none; }
  50% { filter: brightness(1.12); text-shadow: 0 0 6px rgba(91, 183, 139, 0.22); }
  100% { filter: brightness(1); text-shadow: none; }
}

html body .hero .codex-memory-saved::after,
html body .hero .claude-cli-recall::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 8px;
  height: 8px;
  content: "";
  background: #4d9779;
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(77, 151, 121, 0.13);
  opacity: 0;
  transform: translateY(-50%) scale(0.7);
}

html body .hero .codex-memory-saved::after { right: -5px; }
html body .hero .claude-cli-recall::after { left: -5px; }

html body .hero .session-demo[data-state="codex-memory"] .codex-memory-saved {
  animation: memory-saved-entry-border 620ms ease-out both;
}

html body .hero .session-demo[data-state="codex-memory"] .codex-memory-saved > header i {
  animation: none;
}

html body .hero .session-demo[data-state="memory-1"] .codex-memory-saved::after,
html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall::after {
  animation: memory-endpoint-pulse 780ms ease-out both;
}

@keyframes memory-saved-entry-border {
  from {
    opacity: 0;
    border-color: rgba(77, 151, 121, 0.06);
    border-left-color: rgba(55, 143, 108, 0.2);
    box-shadow: 0 0 0 0 rgba(55, 153, 108, 0);
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    border-color: rgba(77, 151, 121, 0.23);
    border-left-color: rgba(55, 143, 108, 0.82);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.76),
      0 5px 14px rgba(47, 101, 77, 0.045);
    transform: translateY(0);
  }
}

@keyframes memory-endpoint-pulse {
  0% { opacity: 0; transform: translateY(-50%) scale(0.55); box-shadow: 0 0 0 0 rgba(77, 151, 121, 0.26); }
  36% { opacity: 1; transform: translateY(-50%) scale(1); box-shadow: 0 0 0 7px rgba(77, 151, 121, 0.14); }
  100% { opacity: 1; transform: translateY(-50%) scale(1); box-shadow: 0 0 0 4px rgba(77, 151, 121, 0.1); }
}

@media (prefers-reduced-motion: reduce) {
  html body .hero .session-demo[data-state="codex-memory"] .codex-memory-saved,
  html body .hero .session-demo[data-state="codex-memory"] .codex-memory-saved > header i,
  html body .hero .session-demo[data-state="memory-1"] .codex-memory-saved::after,
  html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall::after,
  html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall,
  html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall::before,
  html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall .memory-receipt-rows > p,
  html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall footer,
  html body .hero .session-demo[data-state="memory-1"] :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p::after,
  html body .hero .session-demo[data-state="memory-1"] :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p > em {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

html body .hero .session-demo {
  position: relative;
}

html body .hero .claude-cli-recall {
  transition:
    background 620ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 620ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 620ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 620ms cubic-bezier(0.4, 0, 0.2, 1);
}

html body .hero :is(.claude-cli-welcome, .claude-cli-shell-command, .claude-cli-line) {
  transition: opacity 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

html body .hero .session-demo .codex-sim,
html body .hero .session-demo .claude-sim {
  transition:
    opacity 720ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 720ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

html body .hero .session-demo:is(
  [data-state="codex-handoff"],
  [data-state="asking"],
  [data-state="skill"],
  [data-state="searching"],
  [data-state="memory-1"],
  [data-state="inspecting"],
  [data-state="answer"]
) .codex-sim {
  opacity: 1;
  filter: none;
}

html body .hero .session-demo:is(
  [data-state="codex-handoff"],
  [data-state="asking"],
  [data-state="skill"],
  [data-state="searching"],
  [data-state="memory-1"],
  [data-state="inspecting"],
  [data-state="answer"]
) .claude-sim {
  opacity: 1;
  filter: none;
}

html body .hero .claude-cli-recall::after {
  display: none;
}

html body .hero .codex-memory-saved::after {
  display: none !important;
}

html body .hero .session-demo:is(
  [data-state="searching"],
  [data-state="memory-1"],
  [data-state="inspecting"],
  [data-state="answer"]
) .codex-memory-saved::after {
  display: none;
}

html body .hero .codex-memory-saved::before,
html body .hero .claude-cli-recall::before {
  display: none;
}

html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall {
  background: linear-gradient(90deg, rgba(89, 169, 127, 0.16), rgba(91, 151, 121, 0.105) 26%, rgba(91, 151, 121, 0.08));
  border-color: rgba(132, 202, 167, 0.38);
  border-left-color: rgba(163, 229, 196, 0.98);
  box-shadow:
    inset 16px 0 32px rgba(91, 186, 137, 0.06),
    0 5px 14px rgba(18, 42, 31, 0.14);
}

html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall .memory-receipt-rows > p,
html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall footer {
  transform: translateY(3px);
}

@keyframes claude-recall-focus {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  html body .hero .session-demo:is(
    [data-state="codex-handoff"],
    [data-state="asking"],
    [data-state="skill"],
    [data-state="searching"],
    [data-state="memory-1"],
    [data-state="inspecting"],
    [data-state="answer"]
  ) .codex-sim {
    opacity: 1;
  }
}

/* Keep the CLI shell geometry independent from its revealing content. */
html body .hero .real-agent-grid .claude-cli-sim,
html body .hero .session-demo[data-agent-focus="codex"] .claude-cli-sim,
html body .hero .session-demo[data-agent-focus="claude"] .claude-cli-sim {
  width: 420px;
  height: 450px;
  transition: opacity 300ms ease;
}

html body .hero .claude-cli-launcher {
  top: 50%;
  right: 0;
  bottom: auto;
  left: auto;
  width: 196px;
  height: 66px;
  transform: translateY(-50%);
}

html body .hero .claude-cli-window {
  height: 100%;
  max-height: none;
  transition:
    opacity 280ms ease 90ms,
    transform 760ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 280ms ease;
}

html body .hero .session-demo:is(
  [data-state="asking"],
  [data-state="skill"],
  [data-state="searching"],
  [data-state="memory-1"],
  [data-state="inspecting"],
  [data-state="answer"]
) .claude-cli-sim {
  width: 420px;
  height: 450px;
  overflow: hidden;
}

html body .hero .session-demo:is(
  [data-state="asking"],
  [data-state="skill"],
  [data-state="searching"],
  [data-state="memory-1"],
  [data-state="inspecting"],
  [data-state="answer"]
) .claude-cli-launcher {
  transform: translateY(-50%) scale(0.96);
}

@media (max-width: 900px) {
  html body .hero .real-agent-grid .claude-cli-sim,
  html body .hero .session-demo[data-agent-focus="codex"] .claude-cli-sim,
  html body .hero .session-demo[data-agent-focus="claude"] .claude-cli-sim,
  html body .hero .session-demo:is(
    [data-state="asking"],
    [data-state="skill"],
    [data-state="searching"],
    [data-state="memory-1"],
    [data-state="inspecting"],
    [data-state="answer"]
  ) .claude-cli-sim {
    width: min(100%, 420px);
    height: 450px;
  }

  html body .hero .claude-cli-launcher {
    right: 50%;
    transform: translate(50%, -50%);
  }

  html body .hero .session-demo:is(
    [data-state="asking"],
    [data-state="skill"],
    [data-state="searching"],
    [data-state="memory-1"],
    [data-state="inspecting"],
    [data-state="answer"]
  ) .claude-cli-launcher {
    transform: translate(50%, -50%) scale(0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .hero .session-demo .codex-sim,
  html body .hero .session-demo .claude-sim,
  html body .hero .session-demo[data-state="asking"] .claude-cli-line.is-command,
  html body .hero .session-demo .claude-command-copy,
  html body .hero .session-demo .claude-command-copy::after,
  html body .hero .session-demo[data-state="memory-1"] .claude-cli-recall::before {
    animation: none !important;
    transition: none !important;
  }

  html body .hero .session-demo .claude-command-copy {
    width: 100%;
  }

  html body .hero .session-demo[data-state="asking"] .claude-command-copy::after {
    display: none;
  }
}
/* English summary copy is substantially longer than the Chinese version.
 * Keep each semantic line in its own row so the label, decision and detail
 * never compete for the same horizontal space inside the Codex transcript. */
html[data-language="en"] body .hero .codex-app-real .codex-summary {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 4px !important;
  align-items: start !important;
}

html[data-language="en"] body .hero .codex-app-real .codex-summary > * {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* During recall, highlight each matching Saved / Recalled row in sequence.
 * Keep the receipt containers untouched; the correspondence is the focus. */
html body .hero .session-demo[data-state="memory-1"]
  :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p::after {
  transform-origin: left;
  animation: memory-row-highlight-strong 720ms cubic-bezier(0.22, 1, 0.36, 1) var(--memory-pair-delay) both;
}

html body .hero .session-demo[data-state="memory-1"]
  .codex-memory-saved .memory-receipt-rows > p::after {
  background: linear-gradient(
    90deg,
    rgba(57, 166, 108, 0.03) 0%,
    rgba(67, 178, 119, 0.24) 18%,
    rgba(80, 196, 134, 0.38) 50%,
    rgba(67, 178, 119, 0.24) 82%,
    rgba(57, 166, 108, 0.03) 100%
  );
}

html body .hero .session-demo[data-state="memory-1"]
  .claude-cli-recall .memory-receipt-rows > p::after {
  background: linear-gradient(
    90deg,
    rgba(132, 221, 175, 0.01) 0%,
    rgba(132, 221, 175, 0.12) 18%,
    rgba(164, 235, 198, 0.26) 50%,
    rgba(132, 221, 175, 0.12) 82%,
    rgba(132, 221, 175, 0.01) 100%
  );
}

html body .hero .session-demo[data-state="memory-1"]
  :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p > * {
  animation: memory-row-copy-strong 720ms ease var(--memory-pair-delay) both;
}

html body .hero .session-demo[data-state="memory-1"]
  .codex-memory-saved .memory-receipt-rows > p > * {
  --memory-row-glow: rgba(59, 167, 110, 0.3);
}

html body .hero .session-demo[data-state="memory-1"]
  .claude-cli-recall .memory-receipt-rows > p > * {
  --memory-row-glow: rgba(164, 235, 198, 0.28);
}

@keyframes memory-row-highlight-strong {
  0% { opacity: 0; transform: scaleX(0.12); }
  20% { opacity: 0.98; transform: scaleX(1); }
  76% { opacity: 0.98; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

@keyframes memory-row-copy-strong {
  0%, 100% { filter: brightness(1); transform: translateX(0); text-shadow: none; }
  24%, 76% { filter: brightness(1.16); transform: translateX(1px); text-shadow: 0 0 8px var(--memory-row-glow); }
}

html body .hero .session-demo:is(
  [data-state="asking"],
  [data-state="skill"],
  [data-state="searching"],
  [data-state="memory-1"],
  [data-state="inspecting"],
  [data-state="answer"]
) .claude-command-copy::after {
  background: #d7ad9b;
  box-shadow: 0 0 5px rgba(215, 173, 155, 0.22);
  animation: claude-command-caret 520ms step-end 5 forwards;
}

@media (prefers-reduced-motion: reduce) {
  html body .hero .session-demo[data-state="memory-1"]
    :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p::after {
    animation: none !important;
    opacity: 0.26;
    transform: none;
  }

  html body .hero .session-demo[data-state="memory-1"]
    :is(.codex-memory-saved, .claude-cli-recall) .memory-receipt-rows > p > * {
    animation: none !important;
  }
}

/* Keep the saved card geometrically still. Only its overlay border may light up. */
html body .hero .session-demo .codex-memory-saved.memory-receipt.is-visible,
html body .hero .session-demo[data-state="codex-memory"] .codex-memory-saved,
html body .hero .session-demo[data-state="codex-handoff"] .codex-memory-saved {
  animation: none !important;
  transform: none !important;
  transition: none !important;
}

html body .hero .session-demo:is(
  [data-state="codex-memory"],
  [data-state="codex-handoff"]
) .codex-memory-saved::before {
  position: absolute;
  z-index: 3;
  inset: -1px;
  display: block !important;
  width: auto;
  height: auto;
  pointer-events: none;
  content: "";
  background: transparent;
  border: 1px solid rgba(78, 168, 130, 0.62);
  border-left: 2px solid rgba(55, 157, 116, 0.96);
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(64, 170, 123, 0);
  opacity: 0;
  transform: none;
  transform-origin: center;
  animation: memory-border-overlay-in 620ms ease-out both;
}

@keyframes memory-border-overlay-in {
  from {
    border-color: rgba(78, 168, 130, 0.12);
    border-left-color: rgba(55, 157, 116, 0.32);
    box-shadow: 0 0 0 0 rgba(64, 170, 123, 0);
    opacity: 0;
  }
  to {
    border-color: rgba(78, 168, 130, 0.62);
    border-left-color: rgba(55, 157, 116, 0.96);
    box-shadow: 0 0 0 3px rgba(64, 170, 123, 0.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .hero .session-demo:is(
    [data-state="codex-memory"],
    [data-state="codex-handoff"]
  ) .codex-memory-saved::before {
    animation: none !important;
    opacity: 1;
  }
}

/* Keep long translated transcripts inside the Codex window. Grid items use
 * min-height:auto by default, which let the English thread grow past the
 * simulated app and pushed the composer through the clipped bottom edge. */
html body .hero .codex-app-real {
  min-height: 0;
  overflow: hidden;
}

html body .hero .codex-thread-view {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

html body .hero .codex-thread-scroll {
  min-height: 0;
}
