@font-face{font-family:"Work Sans";src:url("/assets/fonts/WorkSans-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:"Work Sans";src:url("/assets/fonts/WorkSans-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}

@font-face {
  font-family: "NEXTSTEP";
  src: url("./nextstep.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #080e17;
  --surface: #0e1724;
  --surface-raised: #141f2e;
  --surface-input: #0a121e;
  --ink: #edf1f7;
  --muted: #a0adbf;
  --quiet: #7f8fa4;
  --line: #253348;
  --line-soft: #1b283a;
  --orange: #ff8b49;
  --orange-bright: #ffad75;
  --ice: #82cafa;
  --purple: #b6a0f4;
  --mint: #81d8be;
  --radius: 7px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 86% 0%, #18253859 0, transparent 31rem),
    radial-gradient(ellipse at 7% 40%, #0e213322 0, transparent 38rem),
    var(--page);
  font: 400 14px/1.55 "Work Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
::selection { color: #111a24; background: #ffb584; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, input, textarea, select, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .42; }
button, a, input, textarea, select, summary { touch-action: manipulation; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
}
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.15; }
p { margin-bottom: 1em; }
img, svg { display: block; }
img { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

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

.skip-link {
  position: fixed;
  left: 20px;
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  color: #09101b;
  background: var(--ice);
  border-radius: var(--radius);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

main, .site-header, .site-footer {
  width: min(1600px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 88px;
  border-bottom: 1px solid var(--line-soft);
}
.brand { flex-shrink: 0; display: inline-flex; padding-block: 12px; }
.brand img { width: 225px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.site-header nav a {
  position: relative;
  padding: 13px 0;
  font-size: 12px;
  color: var(--muted);
  transition: color .2s ease;
}
.site-header nav a:hover, .site-header nav .nav-active { color: var(--ink); }
.site-header nav .nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 22px;
  height: 2px;
  background: var(--orange);
}
.site-header nav a span { margin-left: 8px; color: var(--orange); }
.private-badge {
  padding: 8px 11px;
  border: 1px solid #344258;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #b9c6d8;
  white-space: nowrap;
}

.hero { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 54px; padding: 62px 0 46px; }
.eyebrow, .section-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; }
.tiny-cross { font-size: 20px; line-height: 1; color: var(--orange); font-weight: 400; }
.hero h1 {
  margin: 0 0 20px;
  font-family: "NEXTSTEP", "Work Sans", sans-serif;
  font-size: clamp(54px, 5.5vw, 87px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.hero h1 span { color: var(--orange); }
.hero-copy > p { margin: 0; color: #a7b3c5; font-size: 15px; line-height: 1.8; }
.hero-side { justify-self: end; border-left: 1px solid var(--line); padding: 5px 0 5px 33px; }
.hero-coordinate { font-size: 10px; letter-spacing: .18em; color: var(--quiet); }
.hero-coordinate span { display: inline-block; margin-left: 10px; color: var(--ink); font-size: 19px; letter-spacing: .1em; font-weight: 500; }
.hero-path { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin: 19px 0 13px; font-size: 12px; }
.hero-path i { color: var(--orange); font-style: normal; }
.hero-side p { margin-bottom: 0; color: var(--quiet); font-size: 11px; }
.quick-start { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.quick-start > span { font-size: 9px; font-weight: 600; letter-spacing: .14em; color: var(--quiet); margin-right: 5px; }
#featuredIndustries { display: flex; flex-wrap: wrap; gap: 7px; }
.industry-chip {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid #2b384b;
  border-radius: 999px;
  color: #b0bdcf;
  background: #111b29;
  font-size: 11px;
  transition: border-color .2s, background .2s, color .2s;
}
.industry-chip:hover { border-color: #5e758e; color: white; background: #182538; }
.industry-chip.active { border-color: #d97d49; background: #2c231f; color: #ffc49c; }
.quick-start > .text-button { margin-left: auto; }

button { transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease; }
.primary-button, .outline-button, .quiet-button, .small-button, .icon-button, .play-button, .text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 39px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
  text-align: center;
}
.primary-button { color: #0e121b; background: var(--orange); border-color: var(--orange); font-weight: 650; }
.primary-button:hover:not(:disabled) { background: var(--orange-bright); border-color: var(--orange-bright); }
.outline-button { background: transparent; border-color: #38485d; color: #d7e0ed; }
.outline-button:hover:not(:disabled) { border-color: #7892ae; background: #1c2a3b; }
.quiet-button { color: var(--muted); background: transparent; border-color: transparent; }
.quiet-button:hover:not(:disabled) { background: #1b283a; color: white; }
.small-button { min-height: 32px; padding: 6px 10px; color: #14202c; background: #afd9f6; font-size: 10px; }
.small-button:hover { background: #d1eaff; }
.text-button { min-height: 33px; padding: 5px 0; color: #efb28c; border: 0; background: none; text-align: left; justify-content: flex-start; }
.text-button:hover:not(:disabled) { color: #ffcfad; }
.icon-button { min-width: 39px; padding: 8px; background: #111e2e; border-color: #324157; font-size: 17px; font-weight: 400; }
.icon-button:hover:not(:disabled) { background: #213149; border-color: #627b98; }
.full-width { width: 100%; }
.danger { color: #f4a2ac; }
.danger:hover:not(:disabled) { color: #ffced4; }

label, .field-label { display: block; margin: 15px 0 7px; color: #c6d0df; font-size: 11px; font-weight: 500; line-height: 1.5; }
.optional { color: var(--quiet); font-size: 10px; font-weight: 400; margin-left: 4px; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 10px 11px;
  color: #e6edf6;
  background: var(--surface-input);
  border: 1px solid #2e3c51;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.55;
  transition: border-color .18s ease, background .18s ease;
}
input:hover, select:hover, textarea:hover { border-color: #52637c; }
input:focus, select:focus, textarea:focus { border-color: var(--ice); background-color: #0e1928; }
input::placeholder, textarea::placeholder { color: #788a9f; opacity: 1; }
textarea { display: block; resize: vertical; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
select { cursor: pointer; }
option { color: var(--ink); background: #111b28; }
.microcopy { margin: 10px 0 0; color: var(--quiet); font-size: 10px; line-height: 1.65; }

.studio-shell { border: 1px solid #354159; border-radius: 10px; background: var(--surface); overflow: hidden; box-shadow: 0 25px 80px #00000026; }
.studio-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; background: #121d2c; border-bottom: 1px solid var(--line); }
.studio-heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
.status-dot { flex: 0 0 6px; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 10px #ff8b4933; }
.studio-heading .eyebrow { font-size: 9px; white-space: nowrap; }
.divider { width: 1px; align-self: stretch; min-height: 20px; margin-inline: 6px; background: #35445b; }
.studio-heading h2 { margin: 0; font-size: 14px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-actions { display: flex; flex-wrap: wrap; gap: 3px; flex-shrink: 0; }
.studio-actions .quiet-button { min-height: 32px; font-size: 10px; padding-inline: 9px; }
.studio-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 270px; align-items: stretch; }
.config-panel { min-width: 0; padding: 22px 18px; background: #0f1927; border-right: 1px solid var(--line); }
.section-label { display: flex; gap: 9px; align-items: center; font-size: 9px; letter-spacing: .13em; }
.section-label > span { color: var(--orange); letter-spacing: .05em; }
.search-wrap { position: relative; margin-bottom: 11px; }
.search-wrap > span { position: absolute; top: 7px; left: 11px; color: #94aac4; font-size: 22px; line-height: 1; pointer-events: none; }
.search-wrap input { padding-left: 34px; padding-right: 40px; }
.search-submit { position: absolute; right: 3px; top: 3px; bottom: 3px; width: 32px; border: 0; border-radius: 4px; color: var(--orange); background: #1c2b3e; }
.search-submit:disabled { opacity: .35; cursor: default; }
.industry-search-help { margin: -4px 0 11px; color: #a3b5ca; font-size: 10px; line-height: 1.5; }
.industry-selection-note { padding: 10px; border-left: 2px solid var(--orange); background: #19263a; color: #d1dfec; font-size: 11px; line-height: 1.6; }
.industry-list { display: grid; gap: 3px; max-height: 280px; overflow-y: auto; padding-right: 3px; margin: 0 -3px 12px 0; scrollbar-width: thin; scrollbar-color: #3b4e68 transparent; }
.industry-option { position: relative; display: block; width: 100%; min-height: 54px; padding: 10px 12px; text-align: left; border: 1px solid transparent; border-radius: 5px; color: #aab8ca; background: transparent; }
.industry-option strong { display: block; font-size: 11px; font-weight: 550; line-height: 1.4; }
.industry-option small { display: block; font-size: 9px; line-height: 1.5; color: #8294ab; margin-top: 3px; }
.industry-option small.related-match { color: #e8b85f; }
.industry-option:hover { background: #19263a; border-color: #2c3d55; color: var(--ink); }
.industry-option.selected { background: #1c2b3e; border-color: #3f5b76; color: #e8f3ff; }
.industry-option.selected::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 2px; background: var(--orange); }
.industry-option.selected small { color: #a3c0da; }
.scenario-intro { margin: 16px 0 20px; color: #a7b5c8; font-size: 11px; line-height: 1.7; }
.config-details { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; color: #dce4ee; }
summary::-webkit-details-marker { display: none; }
.config-details summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 0; font-size: 11px; font-weight: 550; }
.config-details summary > span { color: var(--quiet); font-size: 17px; transition: transform .2s ease; }
.config-details[open] summary > span { transform: rotate(45deg); }
.detail-fields label { margin-top: 15px; }
.detail-fields textarea { font-size: 11px; line-height: 1.65; }
.device-state { margin-top: 23px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 10px; line-height: 1.6; }
.device-state .text-button { display: block; font-size: 10px; }

.canvas-panel { min-width: 0; background: #0b1421; }
.canvas-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 23px 23px 17px; }
.canvas-heading h3 { font-size: 15px; font-weight: 550; letter-spacing: -.015em; margin: 0 0 7px; }
.canvas-heading p { color: var(--quiet); font-size: 10px; margin-bottom: 0; line-height: 1.6; }
.segmented { flex-shrink: 0; display: inline-flex; padding: 3px; gap: 2px; border: 1px solid #304057; background: #0b1420; border-radius: 6px; }
.segmented button { min-height: 28px; padding: 5px 11px; border: 0; border-radius: 3px; background: transparent; color: #8396af; font-size: 10px; }
.segmented button[aria-pressed="true"] { background: #25384f; color: #eaf4ff; }
.segmented button:hover { color: white; }
.canvas-scroll { width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #36516f #0b1421; }
.scene { position: relative; width: 100%; min-width: 720px; height: 560px; isolation: isolate; overflow: hidden; background: #0b1420; }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 39%, #b5521612, transparent 36%), radial-gradient(ellipse at 50% 75%, #1e4c6d13, transparent 60%); pointer-events: none; }
.canvas-grid { position: absolute; inset: 0; z-index: -1; opacity: .28; background-image: linear-gradient(#49627a19 1px, transparent 1px), linear-gradient(90deg, #49627a19 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at center, black 25%, transparent 78%); pointer-events: none; }
.canvas-watermark { position: absolute; top: 15px; left: 20px; color: #4c6078; font-size: 8px; letter-spacing: .19em; pointer-events: none; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.wire { fill: none; stroke: var(--wire-color, #3c516b); stroke-width: 1.4; opacity: .6; vector-effect: non-scaling-stroke; transition: stroke .3s ease, opacity .3s ease, stroke-width .3s ease; }
.wire.done { opacity: .78; stroke: var(--wire-color, #75a4b7); }
.wire.active { stroke: var(--wire-color, #ff975d); stroke-width: 2; opacity: 1; filter: drop-shadow(0 0 5px #ff8b4955); }
.packet { fill: var(--packet-color, #ffbd87); opacity: 0; filter: drop-shadow(0 0 4px #ff8b49); }
.scene.is-playing .packet { opacity: 1; }
.fixed-node { position: absolute; z-index: 3; width: 146px; min-height: 119px; padding: 13px 12px; transform: translate(-50%, -50%); text-align: left; border: 1px solid #3f5770; border-radius: 9px; background: linear-gradient(145deg, #192b3b, #111d2c); box-shadow: 0 10px 22px #00000020; }
.request-node { left: 13%; top: 18%; }
.human-node { left: 87%; top: 18%; border-color: #3a685f; background: linear-gradient(145deg, #19332f, #102423); }
.node-eyebrow { display: block; color: #a0b6cb; font-size: 8px; letter-spacing: .12em; font-weight: 550; line-height: 1.5; }
.human-node .node-eyebrow { color: #afc6bb; }
.fixed-symbol { display: block; color: var(--ice); font-size: 24px; line-height: 1; margin: 9px 0 8px; }
.human-node .fixed-symbol { color: var(--mint); }
.fixed-node strong { display: block; color: #def0ff; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.human-node strong { color: #b6eddb; }
.node-caption { display: block; font-size: 9px; color: #8fa5bc; line-height: 1.5; margin-top: 5px; }
.human-node .node-caption { color: #a3bcad; }
.fixed-node.active { border-color: #95dcff; box-shadow: 0 0 24px #79cfff1a; }
.human-node.active { border-color: #9be8cb; box-shadow: 0 0 25px #81d8be22; }
.fixed-node.done { border-color: #658d95; }
.atlas-node { position: absolute; z-index: 3; left: 50%; top: 40%; width: 174px; height: 174px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.atlas-rings { position: absolute; inset: 0; pointer-events: none; perspective: 500px; }
.atlas-rings i { position: absolute; inset: 0; border: 1px solid #db783b64; border-radius: 50%; box-shadow: inset 0 0 9px #ff8b4909; }
.atlas-rings i:nth-child(1) { transform: rotate(-22deg) rotateX(64deg); }
.atlas-rings i:nth-child(2) { transform: rotate(38deg) rotateX(69deg); border-color: #ffa4654f; }
.atlas-rings i:nth-child(3) { inset: 12px; transform: rotate(105deg) rotateX(58deg); border-color: #ffb07769; }
.atlas-core { position: relative; width: 120px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #db7e4c; border-radius: 50%; background: radial-gradient(circle at 33% 22%, #76513b 0%, #3c2d28 28%, #241b1b 63%, #101720 100%); box-shadow: 0 0 35px #d9652024, inset -9px -10px 20px #070d1566, inset 1px 1px 10px #e9a97c30; }
.atlas-core::before { content: ""; position: absolute; inset: 7px; border: 1px solid #e8b08a1c; border-radius: 50%; pointer-events: none; }
.atlas-glyph { font-size: 27px; line-height: 1; margin: 0 0 7px; color: #ffd1a4; }
.atlas-core strong { font-size: 17px; font-weight: 500; letter-spacing: .17em; padding-left: .17em; color: #ffc294; line-height: 1.25; }
.atlas-core > span:last-child { margin-top: 5px; color: #c7a792; font-size: 6px; letter-spacing: .16em; }
.atlas-status { position: absolute; left: 50%; top: calc(50% + 38px); bottom: auto; width: 150px; transform: translateX(-50%); color: #c3a791; font-size: 9px; text-align: center; line-height: 1.5; }
.scene.is-playing .atlas-rings i:nth-child(1) { animation: orbit-one 16s linear infinite; }
.scene.is-playing .atlas-rings i:nth-child(2) { animation: orbit-two 23s linear infinite; }
.scene.is-playing .atlas-rings i:nth-child(3) { animation: orbit-three 19s linear infinite reverse; }
.scene.is-playing .atlas-core { box-shadow: 0 0 45px #e7733536, inset -9px -10px 20px #070d1566, inset 1px 1px 10px #e9a97c30; }
.role-node {
  --role-color: #82cafa;
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 150px;
  min-height: 114px;
  height: 114px;
  padding: 13px 12px 12px;
  transform: translate(-50%, -50%);
  border: 1px solid color-mix(in srgb, var(--role-color) 42%, #243247);
  border-radius: 9px;
  color: var(--ink);
  background: linear-gradient(140deg, #19283b, #101b2a 75%);
  box-shadow: 0 8px 18px #00000024;
  text-align: left;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.role-node:hover { border-color: var(--role-color); background: linear-gradient(140deg, #20334b, #122031 75%); box-shadow: 0 8px 24px #00000040; }
.role-node .role-number { position: absolute; top: 13px; right: 11px; color: #9baec6; font-size: 9px; font-weight: 450; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.role-icon { color: var(--role-color); font-size: 23px; line-height: 1; margin: 0 0 10px; }
.role-node strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 100%; color: var(--role-color); font-size: 12px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.role-node small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 100%; margin-top: 6px; color: #a2b2c7; font-size: 9px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.role-node.active { border-color: var(--role-color); background: linear-gradient(140deg, #24394e, #172638); box-shadow: 0 0 0 1px color-mix(in srgb, var(--role-color) 25%, transparent), 0 0 27px color-mix(in srgb, var(--role-color) 16%, transparent); }
.role-node.done { border-color: color-mix(in srgb, var(--role-color) 70%, #243247); }
.role-node.done .role-number { color: var(--mint); }
.role-node.done::after { content: "✓"; position: absolute; right: 9px; bottom: 8px; color: var(--mint); font-size: 10px; }
.role-node.selected { outline: 2px solid #d9eaff; outline-offset: 4px; z-index: 6; }
.role-node:focus-visible { outline: 2px solid #d9eaff; outline-offset: 4px; }
.role-node.dragging { cursor: grabbing; transition: none; z-index: 7; box-shadow: 0 15px 35px #00000070; }
.canvas-corner { position: absolute; inset: auto 18px 9px; display: flex; justify-content: space-between; color: #536981; font-size: 14px; pointer-events: none; }
.canvas-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; padding: 11px 21px 14px; color: #98a9bf; font-size: 9px; line-height: 1.5; }
.canvas-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.legend-dot.human { background: var(--mint); }
.canvas-legend .drag-hint { margin-left: auto; color: #8497af; }
.drag-hint > span { color: #adc6df; }

.playback { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 20px 11px; border-top: 1px solid var(--line); background: #0f1927; }
.playback-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.playback .icon-button { min-width: 32px; min-height: 33px; font-size: 14px; padding: 5px; }
.play-button { min-height: 35px; padding: 8px 13px; background: #e7935a; color: #15191e; border-color: #e7935a; font-size: 10px; font-weight: 650; }
.play-button:hover:not(:disabled) { background: #ffb27e; border-color: #ffb27e; }
.play-button > span { font-size: 10px; }
.playback .quiet-button { min-height: 32px; padding: 6px; font-size: 10px; }
.playback-state { display: flex; align-items: center; gap: 12px; }
.playback-state > span { font-size: 9px; color: #96abc3; }
.playback-state select { width: auto; min-height: 30px; padding: 5px 6px; font-size: 9px; border-color: #34445a; }
.progress-steps { display: flex; gap: 6px; padding: 5px 21px 16px; margin: 0; list-style: none; background: #0f1927; border-bottom: 1px solid var(--line); }
.progress-steps li { flex: 1 1 0; min-width: 0; min-height: 25px; padding: 5px 0 0; border-top: 2px solid #2d4058; color: #7b90aa; font-size: 9px; text-align: center; line-height: 1.4; }
.progress-steps li.current { border-color: var(--orange); color: #ffc79e; }
.progress-steps li.done { border-color: #7aa9bf; color: #b2cfdd; }
.progress-steps button { width: 100%; min-height: 24px; padding: 2px; color: inherit; font-size: inherit; border: 0; background: transparent; }
.instruction-box { padding: 21px; }
.instruction-box > label { margin-top: 0; margin-bottom: 11px; }
.instruction-input { display: flex; align-items: stretch; gap: 8px; }
.instruction-input input { font-size: 11px; }
.instruction-input button { flex-shrink: 0; }
.instruction-preview { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 12px; padding: 13px; border: 1px solid #3f5b73; border-radius: 5px; background: #192c3d; }
.instruction-preview p { color: #c1daed; font-size: 11px; line-height: 1.6; margin: 0; }
.instruction-preview button { flex-shrink: 0; }
.accessible-teams { padding: 0 21px 19px; }
.accessible-teams > summary { padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 10px; color: #a8bdd3; }
.accessible-teams > summary::after { content: "＋"; float: right; color: var(--quiet); }
.accessible-teams[open] > summary::after { content: "−"; }
.accessible-teams > p { margin: 12px 0 0; color: var(--quiet); font-size: 10px; line-height: 1.6; }
#teamList { display: grid; gap: 5px; margin-top: 12px; }
.team-list-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; border: 1px solid #293a50; border-radius: 4px; background: #121f30; }
.team-list-row > span, .team-list-row > div { min-width: 0; }
.team-list-row strong { color: #d4e2f2; font-size: 11px; overflow-wrap: anywhere; }
.team-list-row small { display: block; font-size: 9px; color: var(--quiet); margin-top: 3px; }
.team-list-row button { flex-shrink: 0; min-width: 37px; min-height: 32px; padding: 5px 9px; border: 1px solid #3b526d; border-radius: 4px; color: #bad7ed; background: #172b3f; font-size: 10px; }
.team-list-row button:hover { border-color: var(--ice); }

.inspector-panel { min-width: 0; padding: 20px 17px; border-left: 1px solid var(--line); background: #101a29; }
.inspector-tabs { display: flex; border-bottom: 1px solid #35445a; margin: -3px 0 22px; }
.inspector-tabs button { flex: 1; min-height: 37px; padding: 7px 5px 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: #8c9eb5; font-size: 11px; }
.inspector-tabs button[aria-pressed="true"] { border-bottom-color: var(--orange); color: #f1f4f8; }
.inspector-tabs button:hover { color: white; }
.journal-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.journal-heading .section-label { font-size: 8px; letter-spacing: .1em; }
.sample-tag { padding: 3px 5px; font-size: 7px; letter-spacing: .1em; color: #b6c9dd; border: 1px solid #42536b; border-radius: 3px; }
.current-event { margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.event-kicker { color: var(--orange); font-size: 9px; font-weight: 550; letter-spacing: .11em; text-transform: uppercase; }
.current-event h4 { margin: 10px 0 10px; color: #e9f1fb; font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.current-event p { color: #a9b9ce; font-size: 11px; line-height: 1.75; margin: 0 0 12px; }
.evidence-line { display: flex; gap: 7px; align-items: flex-start; padding: 9px 10px; color: #a8cfe8; background: #1a304333; border-left: 2px solid #5c88a9; font-size: 10px; line-height: 1.6; }
.event-log { margin: 17px 0 0; padding: 0; list-style: none; }
.event-log li { position: relative; display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 10px; padding: 9px 0 12px; }
.event-log li::before { content: ""; position: absolute; left: 11px; top: 34px; bottom: -4px; width: 1px; background: #304258; }
.event-log li:last-child::before { display: none; }
.event-index { position: relative; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #40546e; border-radius: 50%; color: #b1c3d9; background: #101b2a; font-size: 9px; }
.event-copy { min-width: 0; padding-top: 3px; }
.event-copy strong { display: block; color: #c9d7e9; font-size: 10px; font-weight: 500; line-height: 1.45; }
.event-copy small { display: block; color: #8b9fb8; font-size: 9px; line-height: 1.65; margin-top: 4px; }
.event-log li.current .event-index { border-color: #d58d56; color: #ffcca7; background: #3b2920; box-shadow: 0 0 14px #ff8b4913; }
.event-log li.current .event-copy strong { color: #ffcea9; }
.event-log li.done .event-index { color: #acdecf; border-color: #4e7d73; background: #19342f; }
.event-log li.future .event-copy strong { color: #99aac0; }
.event-log li.future .event-index { border-color: #34475e; color: #8a9bb3; }
.approval-gate { margin-top: 17px; padding: 15px; border: 1px solid #775034; background: #362b222e; border-radius: 7px; }
.approval-gate .eyebrow { color: #edb189; font-size: 8px; }
.approval-gate h4 { margin: 11px 0; font-size: 17px; font-weight: 500; }
.approval-gate > p:not(.microcopy) { font-size: 11px; color: #bdb6ae; line-height: 1.65; margin-bottom: 15px; }
.approval-gate .primary-button { font-size: 10px; }
.approval-gate .microcopy { font-size: 9px; }
.journal-note { display: flex; gap: 9px; margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.journal-note > span { color: #7e9dbd; font-size: 15px; }
.journal-note p { margin: 0; color: #8599b2; font-size: 9px; line-height: 1.7; }
#editorPanel > .microcopy { margin: 10px 0 19px; }
#editorPanel > .primary-button { margin-top: 12px; }
.editor-group { margin-top: 22px; }
.editor-group .field-label { margin-top: 0; }
.move-buttons, .order-buttons { display: flex; gap: 7px; }
.move-buttons button { flex: 1; min-width: 0; min-height: 37px; border: 1px solid #3b4e68; border-radius: 4px; color: #c9dfef; background: #18283c; font-size: 17px; }
.move-buttons button:hover { background: #253d56; border-color: #7babc9; }
.order-buttons button { flex: 1; min-height: 35px; font-size: 10px; }
#removeRole { margin-top: 17px; font-size: 10px; }
.add-team { display: flex; gap: 7px; }
.add-team input { font-size: 11px; }
.add-team button { flex: 0 0 36px; min-width: 36px; }
.studio-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 13px 20px; background: #121e2e; border-top: 1px solid #2b3b51; color: #8c9fb7; font-size: 9px; line-height: 1.5; }
.studio-footer > span:last-child { font-size: 8px; letter-spacing: .12em; color: #96acc5; }

.rollout-section { padding: 81px 0 0; }
.section-intro { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 70px; margin-bottom: 30px; }
.section-intro .eyebrow { color: #9caec5; margin-bottom: 15px; }
.section-intro h2 { margin: 0; font-size: clamp(31px, 3.2vw, 48px); font-weight: 450; line-height: 1.13; letter-spacing: -.045em; }
.section-intro > p { max-width: 460px; margin: 0 0 4px auto; color: #9caec4; font-size: 13px; line-height: 1.85; }
.section-intro strong { color: #dce9f7; font-weight: 500; }
.phase-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.phase-card { position: relative; padding: 26px 27px 25px; border: 1px solid #2c3c52; border-radius: 6px; background: linear-gradient(150deg, #162133 0%, #0c1522 70%); }
.phase-card::before { content: ""; position: absolute; top: -1px; left: 27px; width: 34px; height: 2px; background: #c88252; }
.phase-number { display: block; margin-bottom: 25px; color: #bb805c; font-size: 13px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.phase-card h3 { margin-bottom: 13px; font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.phase-card > p { color: #9eafc6; font-size: 12px; line-height: 1.8; }
.phase-card ul { list-style: none; margin: 20px 0 0; padding: 0; }
.phase-card li { position: relative; padding: 7px 0 7px 16px; color: #c0cfe1; font-size: 11px; line-height: 1.6; }
.phase-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 4px; height: 4px; border: 1px solid #82a3c3; }

.build-section { position: relative; display: grid; grid-template-columns: 1fr .9fr; gap: 70px; margin: 76px 0 0; padding: 47px; border: 1px solid #334258; border-radius: 8px; background: radial-gradient(ellipse at 0% 100%, #6b361528, transparent 53%), #111b29; }
.build-section::before { content: ""; position: absolute; top: -1px; left: 47px; width: 95px; height: 2px; background: var(--orange); }
.build-main { align-self: center; max-width: 500px; }
.build-main .eyebrow { color: #d3a17b; margin-bottom: 20px; }
.build-main h2 { margin: 0 0 24px; font-size: clamp(34px, 3.35vw, 50px); font-weight: 450; line-height: 1.13; letter-spacing: -.04em; }
.build-main > p:not(.microcopy) { max-width: 410px; color: #a9b8cc; font-size: 13px; line-height: 1.85; }
.build-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 42px; min-height: 63px; padding: 17px 24px; margin-top: 16px; color: #171a1f; border: 1px solid #f7995f; border-radius: 5px; background: #f7995f; box-shadow: 0 7px 25px #ef8b4512; font-size: 13px; font-weight: 700; line-height: 1.35; letter-spacing: .08em; }
.build-button > span { font-size: 25px; font-weight: 400; line-height: 1; }
.build-button:hover:not(:disabled) { background: #ffb781; border-color: #ffb781; box-shadow: 0 9px 30px #ef8b4524; }
.build-main .microcopy { margin-top: 14px; font-size: 10px; }
.build-config { min-width: 0; padding-left: 31px; border-left: 1px solid #34435a; }
.build-config h3 { margin: 0 0 23px; color: #dce5f1; font-size: 14px; font-weight: 500; line-height: 1.55; }
.build-config input, .build-config textarea, .build-config select { font-size: 11px; }
.build-config .microcopy { margin-top: 16px; }
.brief-result { margin-top: 25px; padding: 35px 37px; border: 1px solid #4b7378; border-radius: 8px; background: linear-gradient(130deg, #172c30, #111e2c 48%); }
.brief-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 16px; }
.brief-heading .eyebrow { font-size: 9px; color: #a5cfca; margin-bottom: 11px; }
.brief-heading h2 { margin: 0; font-size: clamp(23px, 2.5vw, 34px); font-weight: 500; letter-spacing: -.035em; }
.brief-ready { color: #a4ddc7; border: 1px solid #527c6e; background: #203d3338; border-radius: 4px; padding: 8px 10px; font-size: 9px; font-weight: 550; letter-spacing: .07em; white-space: nowrap; }
#briefSummary { color: #b5c9d8; max-width: 900px; font-size: 13px; line-height: 1.75; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.brief-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 24px 0; border-block: 1px solid #36505d; }
.brief-highlight { padding: 19px 22px; border-left: 1px solid #36505d; min-width: 0; }
.brief-highlight:first-child { border-left: 0; padding-left: 0; }
.brief-highlight h3 { color: #c8e3e5; font-size: 10px; font-weight: 600; letter-spacing: .08em; line-height: 1.5; margin: 0 0 8px; text-transform: uppercase; }
.brief-highlight p { color: #abc2d1; font-size: 12px; line-height: 1.75; margin: 0; overflow-wrap: anywhere; }
.brief-result > details > summary { padding: 9px 0; color: #cee2ee; font-size: 12px; }
.brief-result > details > summary::after { content: "＋"; margin-left: 12px; color: #99b8ce; }
.brief-result > details[open] > summary::after { content: "−"; }
#briefText { max-height: 520px; overflow: auto; padding: 23px; margin: 13px 0 19px; border: 1px solid #354b60; border-radius: 5px; background: #091522; color: #bcd0e2; font: 11px/1.85 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; scrollbar-width: thin; scrollbar-color: #4b657b transparent; }
.brief-result > .microcopy { color: #9ab5c9; margin-top: 19px; }
.enquiry-card { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 22px 30px; margin: 25px 0; padding: 24px; border: 1px solid #52727b; border-radius: 7px; background: #101d2b; }
.enquiry-card h3 { margin: 9px 0; font-size: 22px; color: #eff4f8; }
.enquiry-card p { margin: 8px 0 0; color: #bacbd8; font-size: 13px; line-height: 1.8; }
.enquiry-action { align-self: center; }
.enquiry-action a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; text-decoration: none; text-align: center; }
.enquiry-action .microcopy { font-size: 11px; }
.enquiry-details { grid-column: 1 / -1; }
.enquiry-details summary { color: #cee2ee; font-size: 12px; cursor: pointer; }
.enquiry-details pre { white-space: pre-wrap; overflow-wrap: anywhere; color: #c9d8e3; font: 12px/1.8 Work Sans, sans-serif; }
@media (max-width: 700px) { .enquiry-card { grid-template-columns: 1fr; padding: 20px; } .enquiry-action a { width: 100%; } }

.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 25px; min-height: 105px; margin-top: 59px; padding-block: 27px; border-top: 1px solid var(--line); }
.site-footer img { width: 170px; height: auto; opacity: .85; }
.site-footer > span { color: #8194af; font-size: 8px; letter-spacing: .16em; }
.site-footer a { color: #bdd0e5; font-size: 11px; }
.site-footer a:hover { color: #ffd0aa; }

dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 27px 30px; overflow-y: auto; color: var(--ink); background: #121e2d; border: 1px solid #4d627e; border-radius: 10px; box-shadow: 0 32px 100px #00000080; scrollbar-width: thin; scrollbar-color: #566b83 transparent; }
dialog::backdrop { background: #030812cb; backdrop-filter: blur(7px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.dialog-heading .eyebrow { color: #b9a18f; font-size: 9px; }
.dialog-heading .icon-button { min-width: 33px; min-height: 33px; padding: 4px; font-size: 21px; }
dialog h2 { font-size: 33px; font-weight: 450; line-height: 1.13; letter-spacing: -.04em; margin-bottom: 17px; }
dialog form > p:not(.microcopy):not(.form-error) { color: #a9bcd2; font-size: 12px; line-height: 1.75; }
dialog .primary-button { margin-top: 9px; }
.form-error { color: #ffb2bc; background: #622c352b; border-left: 2px solid #d77e8d; padding: 10px; margin: 13px 0; font-size: 11px; line-height: 1.6; }
.form-error:empty { display: none; }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 13px 19px; border: 1px solid #7691aa; border-radius: 7px; color: #e6f2fd; background: #21354c; box-shadow: 0 9px 35px #00000080; font-size: 12px; line-height: 1.6; text-align: center; }

@keyframes orbit-one { from { transform: rotate(-22deg) rotateX(64deg); } to { transform: rotate(338deg) rotateX(64deg); } }
@keyframes orbit-two { from { transform: rotate(38deg) rotateX(69deg); } to { transform: rotate(398deg) rotateX(69deg); } }
@keyframes orbit-three { from { transform: rotate(105deg) rotateX(58deg); } to { transform: rotate(465deg) rotateX(58deg); } }

@media (min-width: 1600px) {
  .scene { height: 590px; }
  .role-node { width: 158px; min-height: 114px; }
}

/* Keep the full 720px scene visible before the three-column shell becomes too narrow. */
@media (max-width: 1320px) {
  .studio-grid { grid-template-columns: 250px minmax(0, 1fr); }
  .inspector-panel { grid-column: 1 / -1; padding: 22px 25px; border-left: 0; border-top: 1px solid var(--line); }
  .inspector-tabs { max-width: 320px; margin-bottom: 21px; }
  #activityPanel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 12px 32px; }
  .journal-heading { grid-column: 1 / -1; justify-content: flex-start; gap: 15px; }
  .current-event { margin-top: 4px; border-bottom: 0; padding-bottom: 0; }
  .event-log { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .event-log li::before { display: none; }
  .approval-gate { margin-top: 0; }
  .journal-note { grid-column: 1 / -1; margin-top: 5px; }
  #editorPanel { max-width: 720px; }
  .hero { gap: 30px; }
  .hero-side { padding-left: 24px; }
  .hero-path { gap: 9px; font-size: 11px; }
  .private-badge { display: none; }
  .section-intro { gap: 40px; }
  .build-section { gap: 42px; padding: 36px; }
  .build-section::before { left: 36px; }
}

@media (max-width: 950px) {
  main, .site-header, .site-footer { width: calc(100% - 40px); }
  .site-header { gap: 20px; }
  .site-header nav { gap: 20px; }
  .brand img { width: 196px; }
  .hero { grid-template-columns: 1fr; padding-top: 45px; padding-bottom: 32px; gap: 27px; }
  .hero-side { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; justify-self: stretch; gap: 12px 22px; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line-soft); }
  .hero-side > p { flex-basis: 100%; }
  .hero-path { margin: 0; }
  .hero-coordinate span { font-size: 15px; }
  .studio-top { align-items: flex-start; flex-direction: column; gap: 7px; padding: 15px 18px 10px; }
  .studio-heading { width: 100%; }
  .studio-actions { width: 100%; justify-content: flex-end; }
  .studio-grid { grid-template-columns: 230px minmax(0, 1fr); }
  .config-panel { padding-inline: 15px; }
  .canvas-heading { flex-wrap: wrap; padding: 20px 17px 14px; }
  .canvas-legend, .playback { padding-inline: 17px; }
  .canvas-legend .drag-hint { flex-basis: 100%; margin-left: 0; }
  .playback-state { width: 100%; justify-content: space-between; }
  .instruction-box { padding: 18px 17px; }
  .instruction-input { flex-direction: column; }
  .instruction-input > button { align-self: flex-end; min-height: 33px; }
  .accessible-teams { padding-inline: 17px; }
  .phase-cards { gap: 12px; }
  .phase-card { padding: 23px 20px; }
  .phase-card::before { left: 20px; }
  .section-intro { gap: 30px; grid-template-columns: 1fr 1fr; }
  .build-section { gap: 31px; padding: 30px; }
  .build-config { padding-left: 25px; }
  .build-button { font-size: 11px; gap: 25px; padding-inline: 19px; }
}

@media (max-width: 760px) {
  main, .site-header, .site-footer { width: calc(100% - 32px); }
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 13px; padding-bottom: 9px; min-height: 0; }
  .brand { padding-block: 11px; }
  .brand img { width: 193px; }
  .site-header nav { grid-column: 1 / -1; justify-content: space-between; width: 100%; margin: 5px 0 0; gap: 16px; }
  .site-header nav a { font-size: 10px; }
  .private-badge { display: inline-block; justify-self: end; padding: 6px; font-size: 6px; letter-spacing: .06em; }
  .hero { padding: 37px 0 28px; }
  .hero h1 { font-size: clamp(42px, 9vw, 66px); margin-bottom: 17px; }
  .hero .eyebrow { font-size: 8px; margin-bottom: 17px; }
  .hero-copy > p { font-size: 12px; line-height: 1.85; }
  .hero-side { gap: 10px; padding-top: 16px; }
  .hero-coordinate { font-size: 8px; }
  .hero-path { font-size: 9px; gap: 8px; }
  .hero-side p { font-size: 10px; }
  .quick-start { gap: 11px; padding-block: 15px; }
  .quick-start > span { flex-basis: 100%; font-size: 8px; }
  #featuredIndustries { gap: 6px; }
  .industry-chip { min-height: 35px; font-size: 10px; padding: 7px 11px; }
  .quick-start > .text-button { font-size: 10px; margin-left: 0; }
  .studio-shell { border-radius: 7px; }
  .studio-heading { gap: 7px; flex-wrap: wrap; }
  .studio-heading .eyebrow { font-size: 8px; }
  .studio-heading .divider { margin-inline: 2px; }
  .studio-heading h2 { font-size: 12px; white-space: normal; }
  .studio-actions { justify-content: flex-start; gap: 3px; }
  .studio-actions .quiet-button { font-size: 9px; padding-inline: 6px; }
  .studio-grid { grid-template-columns: minmax(0, 1fr); }
  .config-panel { padding: 21px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; max-height: 176px; margin-bottom: 11px; }
  .industry-option { min-height: 64px; padding: 10px; }
  .scenario-intro { margin-block: 13px 15px; }
  .config-details { margin-top: 12px; }
  .detail-fields { padding-bottom: 2px; }
  .detail-fields textarea { font-size: 12px; }
  .device-state { margin-top: 16px; padding-top: 13px; }
  .canvas-heading { flex-wrap: nowrap; padding: 22px 18px 16px; }
  .canvas-heading h3 { font-size: 14px; }
  .canvas-heading p { font-size: 9px; }
  .scene { height: 540px; }
  .canvas-legend { padding: 13px 18px 15px; font-size: 9px; }
  .canvas-legend .drag-hint { flex-basis: auto; }
  .playback { padding: 16px 17px 10px; }
  .playback-buttons { width: 100%; gap: 7px; }
  .playback .icon-button { min-height: 38px; min-width: 36px; }
  .play-button { min-height: 38px; flex: 1; padding-inline: 10px; }
  .playback .quiet-button { min-height: 38px; font-size: 9px; }
  .playback-state { justify-content: space-between; }
  .progress-steps { padding-inline: 18px; gap: 4px; }
  .instruction-input { flex-direction: row; }
  .instruction-input > button { align-self: stretch; }
  .instruction-input input { font-size: 11px; }
  .instruction-preview { flex-wrap: wrap; }
  .inspector-panel { grid-column: auto; padding: 21px 18px; }
  .inspector-tabs { max-width: none; }
  #activityPanel { display: block; }
  .current-event { margin-top: 17px; }
  .event-log { display: block; margin-top: 17px; }
  .event-log li { padding-bottom: 15px; }
  .event-log li::before { display: block; }
  .event-log li:last-child::before { display: none; }
  .event-copy strong { font-size: 11px; }
  .event-copy small { font-size: 10px; }
  .approval-gate { margin-top: 19px; }
  .journal-note { margin-top: 20px; }
  .journal-note p { font-size: 10px; }
  .studio-footer { padding: 13px 17px; font-size: 9px; gap: 9px; }
  .studio-footer > span:last-child { font-size: 7px; }
  .rollout-section { padding-top: 54px; }
  .section-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 24px; }
  .section-intro .eyebrow { font-size: 8px; }
  .section-intro h2 { font-size: 35px; }
  .section-intro > p { margin: 0; max-width: 100%; font-size: 12px; }
  .phase-cards { grid-template-columns: 1fr; gap: 12px; }
  .phase-card { padding: 23px; }
  .phase-card::before { left: 23px; }
  .phase-number { margin-bottom: 18px; font-size: 11px; }
  .phase-card h3 { font-size: 21px; }
  .phase-card ul { margin-top: 14px; }
  .build-section { grid-template-columns: 1fr; gap: 32px; margin-top: 43px; padding: 27px 23px; }
  .build-section::before { left: 23px; }
  .build-main h2 { font-size: 35px; }
  .build-main .eyebrow { font-size: 8px; }
  .build-main > p:not(.microcopy) { font-size: 12px; }
  .build-button { width: 100%; max-width: 360px; font-size: 12px; min-height: 60px; }
  .build-config { padding: 26px 0 0; border-left: 0; border-top: 1px solid #34435a; }
  .build-config h3 { font-size: 13px; margin-bottom: 18px; }
  .brief-result { padding: 26px 23px; }
  .brief-heading { flex-direction: column; align-items: flex-start; gap: 17px; }
  .brief-heading h2 { font-size: 28px; }
  .brief-ready { font-size: 8px; }
  .brief-actions { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .brief-actions > button { min-height: 44px; }
  .brief-highlights { grid-template-columns: 1fr; }
  .brief-highlight, .brief-highlight:first-child { padding: 17px 0; border-left: 0; border-top: 1px solid #36505d; }
  .brief-highlight:first-child { border-top: 0; }
  #briefText { padding: 17px; font-size: 10px; }
  .site-footer { margin-top: 39px; gap: 19px; padding-block: 24px; }
  .site-footer > span { flex-basis: 100%; order: 3; font-size: 7px; }
  .site-footer a { font-size: 9px; }
  .site-footer img { width: 154px; }
  dialog { padding: 23px; max-height: calc(100dvh - 24px); }
  dialog h2 { font-size: 29px; }
  .toast { bottom: 14px; font-size: 11px; padding: 11px 14px; }
}

@media (max-width: 390px) {
  .brand img { width: 171px; }
  .private-badge { font-size: 5px; padding: 6px 4px; }
  .hero h1 { font-size: 40px; }
  .hero-side { display: block; }
  .hero-path { margin-top: 12px; }
  .hero-side p { margin-top: 12px; }
  .canvas-heading { flex-wrap: wrap; }
  .instruction-input { flex-direction: column; }
  .instruction-input > button { align-self: flex-end; min-height: 36px; }
  .studio-heading .divider { display: none; }
  .studio-heading h2 { flex-basis: 100%; padding-left: 13px; }
  .playback-buttons { gap: 5px; }
  .playback .quiet-button { padding-inline: 2px; }
  .play-button { font-size: 9px; }
  .brief-result, .build-section { padding-inline: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .scene.is-playing .atlas-rings i { animation: none !important; }
  .packet { display: none !important; }
  .role-node { transition: none !important; }
}

@media (forced-colors: active) {
  .wire { stroke: CanvasText; }
  .role-node, .fixed-node, .atlas-core, .industry-option.selected { border: 1px solid ButtonText; }
  .role-node.selected { outline-color: Highlight; }
  .industry-chip.active, .segmented button[aria-pressed="true"], .inspector-tabs button[aria-pressed="true"] { outline: 2px solid Highlight; }
  .canvas-grid, .atlas-rings { display: none; }
}

.fixed-node strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.target-tag { display: inline-block; color: #c7b49e; font-size: 8px; letter-spacing: .1em; border: 1px solid #665444; border-radius: 4px; padding: 4px 6px; margin: 2px 0 12px; }
.routing-notice { margin: 0; padding: 10px 20px; color: #e8b85f; background: #292218; font-size: 11px; }
