:root {
  color-scheme: dark;
  --page: #03050a;
  --page-raised: #070b12;
  --surface: #0a101b;
  --surface-strong: #0d1523;
  --surface-soft: #101a29;
  --surface-hover: #142137;
  --line: #1d2a3c;
  --line-strong: #32445e;
  --text: #f6f8fc;
  --text-soft: #c6cfdb;
  --muted: #93a0b2;
  --hint: #728097;
  --blue: #79b7ff;
  --blue-strong: #9dccff;
  --cyan: #73e5f6;
  --green: #61dea0;
  --amber: #ffc77a;
  --red: #ff8b91;
  --focus: #b9dcff;
  --display: "Segoe UI Variable Display", "Aptos Display", system-ui, sans-serif;
  --body: "Segoe UI Variable Text", "Aptos", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 32px 90px rgb(0 0 0 / 42%);
  --max-width: 1380px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 48% -10%, rgb(71 132 215 / 20%), transparent 34rem),
    radial-gradient(circle at 0 28%, rgb(83 103 211 / 10%), transparent 28rem),
    var(--page);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 2.2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2.2%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}

button,
textarea,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 11px 15px;
  color: #07101a;
  background: var(--focus);
  border-radius: var(--radius-sm);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-frame {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
  padding: 18px 0 54px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(7 11 18 / 92%);
  box-shadow: 0 12px 40px rgb(0 0 0 / 22%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #06111c;
  background: linear-gradient(145deg, #f5f9ff, #8ec4ff);
  border-radius: 14px;
  box-shadow: inset 0 1px rgb(255 255 255 / 70%);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.header-actions,
.locale-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 8px;
}

.nav-link {
  min-height: 44px;
  padding: 11px 13px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface-soft);
}

.nav-link--quiet {
  color: var(--muted);
}

.locale-switch {
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #090e17;
}

.locale-button {
  min-width: 44px;
  min-height: 38px;
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.locale-button:hover {
  color: var(--text);
}

.locale-button.is-active,
.locale-button[aria-pressed="true"] {
  color: #07111d;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: 18px;
  padding-block: 22px 56px;
}

.hero-copy,
.proof-model {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 560px;
  padding: clamp(28px, 5vw, 62px);
  overflow: hidden;
  background:
    linear-gradient(130deg, rgb(15 24 39 / 94%), rgb(7 11 19 / 98%)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy::after {
  position: absolute;
  right: -9rem;
  bottom: -12rem;
  width: 30rem;
  height: 30rem;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgb(92 161 244 / 18%), transparent 67%);
}

.eyebrow,
.kicker,
.launch-label,
.scenario-sector {
  color: var(--blue-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.eyebrow > span {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgb(115 229 246 / 8%);
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.9rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--blue-strong);
  font-style: normal;
}

.hero-lead {
  position: relative;
  z-index: 1;
  max-width: 64ch;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.75;
}

.hero-actions,
.launch-actions,
.artifact-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-actions {
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button--primary {
  color: #06111d;
  background: linear-gradient(135deg, #f8fbff, #91c6ff);
  box-shadow: 0 12px 28px rgb(80 150 235 / 14%);
}

.button--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #fff, #acd5ff);
}

.button--secondary {
  color: var(--text-soft);
  background: #0b121e;
  border-color: var(--line);
}

.button--secondary:hover:not(:disabled) {
  color: var(--text);
  background: var(--surface-soft);
  border-color: var(--line-strong);
}

.button:disabled {
  color: var(--hint);
  background: #0b1019;
  border-color: #172131;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.66;
}

.hero-assurance {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 9px;
  max-width: 58ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-assurance span {
  color: var(--green);
}

.proof-model {
  padding: clamp(24px, 3vw, 34px);
  background:
    radial-gradient(circle at 100% 0, rgb(94 132 255 / 13%), transparent 18rem),
    var(--page-raised);
  box-shadow: var(--shadow);
}

.proof-model__head,
.section-heading,
.panel-header,
.subhead,
.artifact-head,
.scenario-option__topline,
.composer-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.proof-model__head h2 {
  max-width: 19ch;
  margin-top: 7px;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.mode-indicator,
.panel-state,
.run-status,
.artifact-status {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--blue-strong);
  background: rgb(121 183 255 / 8%);
  border: 1px solid rgb(121 183 255 / 20%);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.causal-flow {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 28px;
  list-style: none;
}

.causal-flow::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 21px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--blue), var(--line));
}

.causal-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
  padding: 14px 0;
}

.flow-index {
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--blue-strong);
  background: #0d1624;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
}

.causal-flow strong,
.causal-flow span:not(.flow-index) {
  display: block;
}

.causal-flow strong {
  color: var(--text);
  font-size: 0.94rem;
}

.causal-flow span:not(.flow-index) {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.demo-section {
  scroll-margin-top: 18px;
}

.section-heading {
  align-items: end;
  padding: 0 4px;
}

.section-heading h2 {
  max-width: 15ch;
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 4.25rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}

.simulation-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 24px;
  padding: 10px 14px;
  color: var(--text-soft);
  background: #071119;
  border: 1px solid #183341;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
}

.simulation-banner > span:last-child {
  color: var(--muted);
}

.simulation-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(115 229 246 / 8%);
}

.scenario-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.scenario-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 282px;
  padding: 20px;
  flex-direction: column;
  align-items: stretch;
  color: var(--text);
  background: #080d15;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.scenario-option::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: transparent;
}

.scenario-option:hover {
  background: #0b121e;
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.scenario-option.is-selected,
.scenario-option[aria-pressed="true"] {
  background: linear-gradient(145deg, #101a29, #090f19);
  border-color: rgb(121 183 255 / 48%);
  box-shadow: 0 18px 46px rgb(0 0 0 / 22%);
}

.scenario-option.is-selected::before,
.scenario-option[aria-pressed="true"]::before {
  background: linear-gradient(var(--blue), var(--cyan));
}

.scenario-number {
  color: var(--hint);
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 700;
}

.scenario-option > strong {
  max-width: 23ch;
  margin-top: 18px;
  font-family: var(--display);
  font-size: 1.18rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.scenario-description {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.scenario-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.scenario-specs > span {
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.scenario-specs small {
  display: block;
  margin-bottom: 3px;
  color: var(--hint);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scenario-duration {
  margin-top: 14px;
  color: var(--hint);
  font-size: 0.7rem;
}

.launch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.launch-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.launch-copy strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.launch-copy > span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.launch-actions {
  justify-content: flex-end;
  flex: 0 0 auto;
}

.run-status::before,
.panel-state::before,
.artifact-status::before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.run-status[data-state="processing"],
.panel-state[data-state="processing"] {
  color: var(--amber);
  background: rgb(255 199 122 / 8%);
  border-color: rgb(255 199 122 / 24%);
}

.run-status[data-state="completed"],
.run-status[data-state="awaiting_confirmation"],
.artifact-status[data-lifecycle="draft"],
.artifact-status[data-lifecycle="awaiting_approval"] {
  color: var(--green);
  background: rgb(97 222 160 / 8%);
  border-color: rgb(97 222 160 / 24%);
}

.run-status[data-state="recoverable_error"],
.run-status[data-state="escalated"] {
  color: var(--red);
  background: rgb(255 139 145 / 8%);
  border-color: rgb(255 139 145 / 24%);
}

.locale-notice,
.noscript-message {
  margin-top: 12px;
  padding: 13px 16px;
  color: var(--text-soft);
  background: #1a140a;
  border: 1px solid #4d3618;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(248px, 0.7fr) minmax(300px, 0.9fr);
  gap: 12px;
  align-items: start;
  margin-top: 14px;
}

.workspace-panel {
  min-width: 0;
  margin: 0;
  background: #070c14;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: clip;
}

.panel-header {
  min-height: 74px;
  padding: 17px 18px;
  background: #0a101a;
  border-bottom: 1px solid var(--line);
}

.panel-header h3,
.panel-header strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

.disclosure-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 9px;
  color: var(--muted);
  background: #0d1521;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0;
}

.disclosure-label::before {
  content: "Afficher";
  font-size: 0.7rem;
  font-weight: 700;
}

details[open] .disclosure-label::before {
  content: "Réduire";
}

.conversation-panel {
  display: grid;
  grid-template-rows: auto minmax(340px, 1fr) auto auto;
  min-height: 660px;
}

.conversation-stream {
  display: flex;
  min-height: 0;
  max-height: 510px;
  padding: 18px;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--line-strong) transparent;
}

.message {
  width: fit-content;
  max-width: min(88%, 64ch);
  padding: 13px 15px;
  color: var(--text-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 5px;
  font-size: 0.9rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.message--agent,
.message.agent {
  align-self: flex-start;
}

.message--user,
.message.user {
  align-self: flex-end;
  color: #06111d;
  background: linear-gradient(135deg, #a8d3ff, #73b5ff);
  border-color: transparent;
  border-radius: 16px 16px 5px 16px;
}

.message--system,
.message.meta {
  align-self: stretch;
  width: auto;
  max-width: none;
  padding: 9px 12px;
  color: var(--muted);
  background: transparent;
  border-style: dashed;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  text-align: center;
}

.message-author,
.message__author {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-strong);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.message--user .message-author,
.message.user .message-author {
  color: #18344f;
}

.quick-replies {
  display: flex;
  min-height: 0;
  padding: 0 18px;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.quick-replies:empty {
  display: none;
}

.quick-reply,
.choice-chip,
[data-quick-reply] {
  min-height: 42px;
  padding: 9px 13px;
  color: var(--text-soft);
  background: #0d1623;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  white-space: nowrap;
}

.quick-reply:hover,
.choice-chip:hover,
[data-quick-reply]:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.composer {
  margin: 14px;
  background: #0a111c;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
}

.composer:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(121 183 255 / 10%);
}

.composer textarea {
  display: block;
  width: 100%;
  min-height: 74px;
  max-height: 180px;
  padding: 14px 15px 8px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  line-height: 1.55;
  resize: vertical;
}

.composer textarea::placeholder {
  color: var(--hint);
}

.composer textarea:disabled {
  color: var(--hint);
  cursor: not-allowed;
}

.composer-footer {
  align-items: center;
  padding: 8px 9px 9px 15px;
}

.composer-footer > span {
  max-width: 38ch;
  color: var(--hint);
  font-size: 0.68rem;
  line-height: 1.4;
}

.composer-footer .button {
  min-height: 40px;
  padding: 8px 14px;
}

.panel-body {
  display: grid;
  gap: 0;
}

.dossier-signal,
.dossier-group,
.last-change,
.proof-group,
.artifact-panel {
  padding: 16px;
}

.dossier-group,
.last-change,
.proof-group,
.artifact-panel {
  border-top: 1px solid var(--line);
}

.dossier-signal > span {
  display: block;
  color: var(--hint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dossier-signal > strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.dossier-signal > p,
.last-change > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.subhead {
  align-items: center;
  margin-bottom: 11px;
}

.subhead h4,
.last-change h4,
.artifact-head h4 {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: -0.015em;
}

.subhead > span {
  color: var(--hint);
  font-size: 0.68rem;
  font-weight: 700;
}

.data-list,
.tool-list,
.proof-list {
  display: grid;
  gap: 8px;
  list-style: none;
}

.data-list li,
.tool-list li {
  padding: 9px 10px;
  color: var(--text-soft);
  background: #0a111b;
  border: 1px solid #172231;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.data-list li:not(.empty-row) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.data-list .fact-value,
.data-list [data-fact-value] {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.data-list .fact-source,
.data-list [data-fact-source] {
  grid-column: 1 / -1;
  color: var(--hint);
  font-size: 0.68rem;
}

.data-list--missing li:not(.empty-row) {
  color: var(--amber);
  background: rgb(255 199 122 / 5%);
  border-color: rgb(255 199 122 / 18%);
}

.data-list li.empty-row,
.tool-list li.empty-row {
  color: var(--hint);
  background: transparent;
  border-style: dashed;
}

.proof-body {
  display: flex;
  flex-direction: column;
}

.proof-list {
  counter-reset: proof;
}

.proof-list li {
  position: relative;
  min-height: 42px;
  padding: 4px 0 4px 30px;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.48;
}

.proof-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  content: counter(proof);
  counter-increment: proof;
  color: var(--blue-strong);
  background: #101a28;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 0.6rem;
  font-weight: 800;
}

.proof-list li::after {
  position: absolute;
  top: 28px;
  bottom: -8px;
  left: 11px;
  width: 1px;
  content: "";
  background: var(--line);
}

.proof-list li:last-child::after {
  display: none;
}

.proof-list li strong,
.proof-list li span {
  display: block;
}

.proof-list li span {
  margin-top: 2px;
  color: var(--muted);
}

.proof-list .proof-empty {
  color: var(--hint);
}

.proof-list .proof-empty::before {
  content: "—";
}

.tool-list li:not(.empty-row) {
  position: relative;
  padding-left: 30px;
}

.tool-list li:not(.empty-row)::before {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.tool-list li strong,
.tool-list li span {
  display: block;
}

.tool-list li span {
  margin-top: 3px;
  color: var(--muted);
}

.artifact-panel {
  order: 3;
  background: #09111c;
}

.proof-rail[data-artifact-ready="true"] .artifact-panel {
  order: -1;
  background: linear-gradient(145deg, rgb(18 31 48 / 96%), #09111b);
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.artifact-head {
  align-items: center;
}

.artifact-head h4 {
  margin-top: 4px;
  font-size: 1rem;
}

.artifact-status {
  color: var(--muted);
  background: #0d1521;
  border-color: var(--line);
}

.artifact-status[data-lifecycle="approved"] {
  color: var(--green);
  background: rgb(97 222 160 / 8%);
  border-color: rgb(97 222 160 / 24%);
}

.artifact-content {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  white-space: pre-line;
  line-height: 1.65;
}

.artifact-empty {
  padding: 13px;
  color: var(--hint);
  background: #070c13;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  line-height: 1.55;
}

.artifact-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.5;
}

.artifact-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.artifact-row dt {
  color: var(--hint);
}

.artifact-row dd {
  margin: 0;
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.artifact-actions {
  align-items: stretch;
  margin-top: 14px;
}

.artifact-actions .button {
  min-height: 42px;
  padding: 8px 12px;
  flex: 1 1 120px;
  font-size: 0.72rem;
}

.post-demo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  order: 4;
  min-height: 48px;
  padding: 12px 16px;
  color: #07111c;
  background: linear-gradient(135deg, #dcecff, #83c0ff);
  font-size: 0.8rem;
  font-weight: 800;
}

.post-demo-cta:hover {
  background: linear-gradient(135deg, #f3f8ff, #9bcaff);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 54px;
  padding: 20px 4px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.site-footer > p {
  text-align: center;
}

.site-footer > a {
  min-height: 44px;
  padding: 11px 0;
  color: var(--text-soft);
  font-weight: 700;
}

.brand--small .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 0.78rem;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.75fr);
  }

  .workspace {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversation-panel {
    grid-column: 1 / -1;
    min-height: 600px;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 510px;
  }

  .proof-model {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
    gap: 26px;
  }

  .proof-model__head {
    display: block;
  }

  .proof-model__head .mode-indicator {
    margin-top: 18px;
  }

  .causal-flow {
    margin-top: 0;
  }

  .section-heading {
    display: grid;
    gap: 16px;
  }

  .section-heading h2 {
    max-width: 18ch;
  }

  .section-heading > p {
    max-width: 68ch;
  }

  .scenario-option {
    min-height: 300px;
    padding: 17px;
  }

  .launch-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .launch-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 10px;
  }

  .site-frame {
    width: calc(100% - 20px);
    padding-top: 10px;
  }

  .site-header {
    align-items: flex-start;
    gap: 12px;
    padding: 11px;
  }

  .brand-copy > span {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding-block: 12px 44px;
  }

  .hero-copy,
  .proof-model {
    border-radius: var(--radius-lg);
  }

  .hero-copy {
    min-height: auto;
    padding: 32px 22px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-lead {
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 190px;
  }

  .proof-model {
    display: block;
    padding: 22px;
  }

  .proof-model__head {
    display: flex;
  }

  .proof-model__head .mode-indicator {
    margin-top: 0;
  }

  .causal-flow {
    margin-top: 20px;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .simulation-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .simulation-banner > span:last-child {
    flex-basis: calc(100% - 22px);
    margin-left: 17px;
  }

  .scenario-selector {
    width: calc(100vw - 10px);
    margin-right: -10px;
    padding-right: 18vw;
    grid-template-columns: none;
    grid-auto-columns: minmax(272px, 84vw);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-left: 2px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .scenario-option {
    min-height: 286px;
    scroll-snap-align: start;
  }

  .launch-bar {
    padding: 15px;
    border-radius: 18px;
  }

  .launch-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .launch-actions .run-status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .launch-actions .button {
    width: 100%;
    padding-inline: 12px;
  }

  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .conversation-panel {
    grid-column: auto;
    grid-template-rows: auto minmax(260px, 1fr) auto auto;
    min-height: 540px;
    order: 1;
  }

  .dossier-panel {
    order: 2;
  }

  .proof-rail {
    order: 3;
  }

  .conversation-stream {
    max-height: 430px;
    padding: 14px;
  }

  .message {
    max-width: 94%;
  }

  .quick-replies {
    padding-inline: 14px;
  }

  .composer {
    margin: 10px;
  }

  .composer-footer {
    align-items: flex-end;
  }

  .composer-footer > span {
    max-width: 24ch;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }

  .site-footer > p {
    text-align: left;
  }
}

@media (max-width: 390px) {
  .site-frame {
    width: calc(100% - 16px);
    padding-top: 8px;
  }

  .site-header {
    border-radius: 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.8rem;
  }

  .locale-button {
    min-width: 40px;
    min-height: 36px;
  }

  .hero-copy {
    padding: 28px 18px;
  }

  .eyebrow {
    font-size: 0.64rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.2rem);
  }

  .proof-model {
    padding: 18px;
  }

  .proof-model__head {
    align-items: flex-start;
  }

  .mode-indicator {
    padding-inline: 8px;
  }

  .scenario-selector {
    grid-auto-columns: minmax(264px, 88vw);
  }

  .scenario-option {
    min-height: 292px;
  }

  .launch-actions {
    grid-template-columns: 1fr;
  }

  .launch-actions .run-status {
    grid-column: auto;
  }

  .panel-header {
    padding: 15px;
  }

  .panel-state {
    padding-inline: 8px;
  }

  .conversation-panel {
    min-height: 520px;
  }

  .composer-footer > span {
    display: none;
  }

  .composer-footer {
    justify-content: flex-end;
  }

  .artifact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .artifact-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 340px) {
  .site-frame {
    width: calc(100% - 12px);
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .hero-copy {
    padding-inline: 16px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-lead {
    font-size: 0.94rem;
  }

  .proof-model__head {
    display: grid;
  }

  .scenario-selector {
    grid-auto-columns: 270px;
  }

  .scenario-option {
    padding: 16px;
  }

  .scenario-specs {
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .brand-mark,
  .button--primary,
  .post-demo-cta {
    color: ButtonText;
    background: ButtonFace;
    border: 1px solid ButtonText;
  }

  .scenario-option.is-selected,
  .scenario-option[aria-pressed="true"] {
    outline: 3px solid Highlight;
    outline-offset: -3px;
  }
}

