@font-face { font-family: KarmenSans; src: url('/assets/fonts/SourceHanSansCN-Regular.otf') format('opentype'); font-display: swap; }
:root {
  color-scheme: dark;
  font-family: KarmenSans, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--bot-ink);
  background: var(--bot-paper);
  line-height: 1.7;
  --bot-paper: #090909;
  --bot-panel: #151513;
  --bot-raised: #1d1e1a;
  --bot-active: #292a25;
  --bot-ink: #f2f1eb;
  --bot-muted: #a3a49a;
  --bot-edge: #30312b;
  --bot-silver: #c4c4b8;
  --bot-accent: #c5bea0;
  --bot-dim: #7d806b;
  --bot-inverse-muted: #56574e;
  --bot-gutter: clamp(22px, 5vw, 80px);
  --bot-ease: cubic-bezier(.2, .75, .25, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; min-width: 280px; background: var(--bot-paper); color: var(--bot-ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .4; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--bot-accent); outline-offset: 4px; }
::selection { color: var(--bot-panel); background: var(--bot-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; color: var(--bot-panel); background: var(--bot-ink); border-radius: 12px; }
.skip-link:focus { top: 12px; }
.bot-header { min-height: 78px; padding: 15px var(--bot-gutter); display: flex; align-items: center; gap: 34px; border-bottom: 1px solid #f2f1eb0e; background: #090909ec; }
.bot-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--bot-ink); text-decoration: none; letter-spacing: .17em; font-size: 14px; font-weight: 500; white-space: nowrap; }
.bot-brand small { color: var(--bot-muted); font-size: 9px; letter-spacing: .08em; font-weight: 400; }
.bot-header nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.bot-header nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--bot-muted); font-size: 11px; }
.bot-header nav a:hover { color: var(--bot-ink); }
.bot-header-cta { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; padding: 10px 16px; border: 1px solid #c5bea036; border-radius: 24px; text-decoration: none; font-size: 11px; white-space: nowrap; }
.brand-orbit { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid #c5bea05c; border-radius: 50%; color: var(--bot-accent); font-size: 17px; letter-spacing: 0; }
.brand-suffix { color: var(--bot-muted); font-size: 10px; letter-spacing: .05em; }
.bot-brand { min-height: 44px; flex-shrink: 0; }
.brand-logo { display: block; width: 148px; height: auto; flex: none; }
@media (max-width: 600px) { .brand-logo { width: 124px; } }
.bot-mobile-nav { display: none; margin-left: auto; position: relative; z-index: 20; }
.bot-mobile-nav summary { min-width: 44px; min-height: 44px; display: grid; place-items: center; list-style: none; cursor: pointer; border: 1px solid var(--bot-edge); border-radius: 50%; font-size: 12px; }
.bot-mobile-nav summary::-webkit-details-marker { display: none; }
.bot-mobile-nav nav { position: absolute; right: 0; top: 55px; width: 210px; padding: 14px; display: flex; flex-direction: column; gap: 4px; align-items: stretch; border: 1px solid #c5bea032; border-radius: 14px; background: var(--bot-panel); box-shadow: 0 12px 32px #09090944; }
.bot-mobile-nav nav a { padding: 0 12px; }
#bot-main { overflow: clip; }
.bot-hero { position: relative; max-width: 1400px; margin: auto; padding: 112px var(--bot-gutter) 84px; text-align: center; }
.bot-hero::before { content: ""; position: absolute; pointer-events: none; z-index: -1; inset: -40px -15% -150px; background: radial-gradient(ellipse at 50% 30%, #c5bea01d, transparent 60%); }
.eyebrow, .bot-eyebrow, .section-kicker { margin: 0 0 20px; color: var(--bot-muted); font: 10px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; }
.bot-hero h1 { margin: 0 auto 28px; max-width: 1050px; font-size: clamp(44px, 6.2vw, 88px); font-weight: 400; line-height: 1.2; letter-spacing: -.055em; text-wrap: balance; }
.bot-hero h1 em { color: var(--bot-silver); font-style: normal; }
.bot-hero .hero-intro { margin: 0 auto; max-width: 650px; color: var(--bot-muted); font-size: clamp(14px, 1.25vw, 17px); line-height: 1.9; text-wrap: pretty; }
.bot-hero-actions { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.bot-hero .hero-footnote { color: var(--bot-muted); margin: 24px auto 0; font-size: 10px; line-height: 1.8; }
.signal-dot { display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--bot-accent); }
.bot-hero h1 > span { color: var(--bot-silver); }
.button, .bot-button { min-height: 48px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid #f2f1eb24; border-radius: 28px; background: #f2f1eb05; color: var(--bot-ink); font-size: 12px; text-decoration: none; }
.bot-button:hover { background: #f2f1eb0b; }
.button-primary, .bot-button.primary { background: var(--bot-ink); color: var(--bot-panel); border-color: var(--bot-ink); }
.button:hover:not(:disabled) { filter: brightness(1.07); }
.bot-experience { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(38px, 7vw, 110px); max-width: 1340px; margin: auto; padding: 16px var(--bot-gutter) 140px; scroll-margin-top: 40px; transition: grid-template-columns 900ms var(--bot-ease), gap 900ms var(--bot-ease); }
.bot-overview { min-width: 0; max-height: 720px; overflow: hidden; opacity: 1; visibility: visible; transition: opacity 180ms ease, max-height 900ms var(--bot-ease); }
.bot-overview h2 { margin: 0 0 23px; font-weight: 400; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.3; letter-spacing: -.05em; text-wrap: balance; }
.bot-overview > p:not(.eyebrow):not(.bot-eyebrow):not(.preview-boundary):not(.role-description) { font-size: 14px; line-height: 1.9; color: var(--bot-muted); margin: 0 0 30px; }
.role-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 27px 0 22px; }
.role-options > p { grid-column: 1 / -1; margin: 0; color: var(--bot-silver); font-size: 12px; line-height: 1.9; }
.role-option { min-width: 0; min-height: 62px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #c5bea018; border-radius: 16px; background: var(--bot-panel); color: var(--bot-silver); font-size: 12px; line-height: 1.5; text-align: left; transition: background 240ms ease, border-color 240ms ease; }
.role-option:hover { background: var(--bot-raised); border-color: #c5bea035; }
.role-option[aria-pressed="true"], .role-option[aria-selected="true"] { background: var(--bot-active); color: var(--bot-ink); border-color: #c5bea066; }
.role-option .bot-orbit { width: 35px; height: 35px; }
.role-description { min-height: 54px; color: var(--bot-silver); font-size: 13px; line-height: 1.9; margin: 0 0 20px; }
.role-description h3 { font-weight: 400; font-size: 15px; margin: 0 0 6px; }
.role-description p { margin: 0; }
[data-open-collection] { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid #c5bea040; border-radius: 0; background: transparent; color: var(--bot-ink); font-size: 12px; }
.preview-boundary { color: var(--bot-muted); font-size: 10px; line-height: 1.8; margin: 20px 0 0; }
.device-stage { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; perspective: 1600px; }
.device-caption { display: flex; justify-content: space-between; gap: 25px; width: 380px; max-width: 100%; margin: 22px 0 0; color: var(--bot-muted); font-size: 10px; line-height: 1.7; }
.device-caption span { color: var(--bot-silver); font: 8px/1.7 ui-monospace, monospace; letter-spacing: .1em; }
.device-stage::before { content: ""; position: absolute; inset: 13% -10%; border: 1px solid #c5bea008; border-radius: 50%; background: radial-gradient(ellipse, #c5bea009, transparent 66%); pointer-events: none; }
.bot-device {
  position: relative;
  z-index: 1;
  width: 380px;
  max-width: 100%;
  height: min(720px, 82svh);
  min-height: 540px;
  border: 8px solid var(--bot-panel);
  border-radius: 49px;
  background: var(--bot-panel);
  box-shadow: 0 0 0 1px #c5bea042, inset 0 0 0 1px #f2f1eb0d, 0 30px 80px #09090966;
  overflow: hidden;
  isolation: isolate;
  transition: width 900ms var(--bot-ease), height 900ms var(--bot-ease), border-radius 900ms var(--bot-ease), box-shadow 900ms var(--bot-ease);
}
.device-island { position: absolute; z-index: 9; left: 50%; top: 12px; width: 92px; height: 23px; transform: translateX(-50%); border: 1px solid #f2f1eb08; border-radius: 16px; background: var(--bot-paper); pointer-events: none; }
.device-island::after { content: ""; position: absolute; right: 11px; top: 7px; width: 6px; height: 6px; border: 1px solid var(--bot-edge); border-radius: 50%; background: var(--bot-raised); }
.device-app { display: flex; flex-direction: column; height: 100%; min-height: 0; padding-top: 45px; padding-bottom: 18px; overflow: hidden; }
.device-toolbar { flex: none; display: flex; align-items: center; gap: 8px; min-height: 76px; padding: 10px 10px 13px; border-bottom: 1px solid #c5bea012; }
.device-icon { min-width: 44px; min-height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 8px; border: 1px solid #c5bea01b; border-radius: 14px; background: #f2f1eb03; color: var(--bot-silver); font-size: 18px; line-height: 1.2; }
.device-icon:hover:not(:disabled) { background: #f2f1eb0a; border-color: #c5bea03c; }
.device-icon svg { width: 19px; height: 19px; }
.device-title { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: center; }
.device-title > div { min-width: 0; }
.device-title strong { display: block; font-size: 13px; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.device-title small, .device-title > div > span { display: block; margin-top: 2px; font-size: 9px; line-height: 1.65; color: var(--bot-muted); overflow-wrap: anywhere; }
.device-title .bot-orbit { width: 38px; height: 38px; }
.device-title:has(> strong) { display: block; padding: 0 9px; }
.device-workspace { display: flex; flex: 1 1 auto; min-height: 0; min-width: 0; overflow: hidden; }
.device-main { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.device-sidebar { display: none; min-width: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #f2f1eb20 transparent; padding: 22px 13px; background: var(--bot-panel); border-right: 1px solid #c5bea016; }
.device-sidebar > p, .device-sidebar > small { display: block; margin: 0 9px 18px; color: var(--bot-muted); font-size: 10px; letter-spacing: .08em; }
.device-sidebar button { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 8px; margin: 0 0 6px; border: 1px solid transparent; border-radius: 13px; background: transparent; text-align: left; color: var(--bot-silver); font-size: 12px; }
.device-sidebar button[aria-pressed="true"], .device-sidebar button[aria-selected="true"] { background: var(--bot-active); border-color: #c5bea025; color: var(--bot-ink); }
.device-sidebar .bot-orbit { width: 34px; height: 34px; }
.message-log { display: flex; flex: 1 1 auto; flex-direction: column; gap: 15px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; overflow-anchor: none; padding: 24px 17px; scrollbar-width: thin; scrollbar-color: #c5bea02e transparent; }
.bot-message { width: fit-content; max-width: 93%; padding: 13px 15px; border: 1px solid #c5bea01a; border-radius: 5px 18px 18px; background: var(--bot-active); color: var(--bot-ink); align-self: flex-start; overflow-wrap: anywhere; }
.bot-message p { margin: 0; color: inherit; font-size: 13px; line-height: 1.85; white-space: pre-wrap; }
.bot-message p + p { margin-top: 8px; }
.bot-message img { display: block; width: 100%; max-width: 220px; max-height: 200px; object-fit: contain; border-radius: 9px; margin-top: 8px; background: var(--bot-panel); }
.bot-message a { color: var(--bot-silver); text-underline-offset: 3px; }
.bot-message[data-sender="user"] { align-self: flex-end; background: var(--bot-ink); color: var(--bot-active); border-color: var(--bot-ink); border-radius: 18px 5px 18px 18px; }
.bot-message[data-sender="notice"] { align-self: center; max-width: 100%; padding: 4px 0; border: 0; background: transparent; color: var(--bot-muted); text-align: center; }
.bot-message[data-sender="notice"] p { font-size: 10px; line-height: 1.8; }
.message-label { display: block; margin: 0 0 6px; color: var(--bot-silver); font: 8px/1.6 ui-monospace, monospace; letter-spacing: .04em; }
.bot-message[data-sender="user"] .message-label { color: var(--bot-inverse-muted); }
.bot-message[data-sender="user"] a { color: var(--bot-inverse-muted); }
.message-waiting { display: flex; align-items: center; gap: 5px; min-height: 24px; }
.message-waiting i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--bot-silver); }
.message-waiting i:nth-child(2) { animation-delay: 120ms; }
.message-waiting i:nth-child(3) { animation-delay: 240ms; }
.message-composer { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; flex: none; align-items: end; padding: 12px 12px 0; border-top: 1px solid #c5bea014; background: var(--bot-panel); }
.message-composer textarea { display: block; min-width: 0; width: 100%; min-height: 44px; max-height: 110px; padding: 12px 10px; resize: none; border: 1px solid #c5bea01c; border-radius: 14px; background: var(--bot-raised); color: var(--bot-ink); font-size: 13px; line-height: 1.5; overflow-y: auto; }
.message-composer textarea::placeholder { color: var(--bot-muted); }
[data-device-send] { background: var(--bot-ink); color: var(--bot-raised); border-color: var(--bot-ink); }
[data-device-send]:hover:not(:disabled) { background: var(--bot-ink); color: var(--bot-raised); }
.composer-note { flex: none; grid-column: 1 / -1; margin: 0; padding: 7px 12px 8px; text-align: center; color: var(--bot-muted); font-size: 8px; line-height: 1.65; background: var(--bot-panel); }
.attachment-preview { display: flex; gap: 8px; padding: 9px 12px; flex: none; overflow-x: auto; scrollbar-width: thin; background: var(--bot-panel); }
.attachment-item { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; max-width: 100%; min-height: 48px; padding: 4px 4px 4px 8px; border: 1px solid #c5bea032; border-radius: 12px; background: var(--bot-raised); color: var(--bot-silver); font-size: 10px; }
.attachment-preview .attachment-item img { width: 38px; height: 38px; object-fit: cover; border-radius: 7px; }
.attachment-item a, .attachment-item span { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bot-message .attachment-item { display: block; width: 220px; max-width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 9px; background: transparent; }
.bot-message .attachment-item img { width: 100%; height: auto; max-height: 240px; object-fit: contain; border-radius: 9px; }
.bot-message .attachment-item span { max-width: 100%; margin-top: 7px; overflow-wrap: anywhere; white-space: normal; color: inherit; font-size: 10px; }
.attachment-remove { min-width: 44px; min-height: 44px; padding: 8px; flex: none; border: 0; border-radius: 10px; background: transparent; color: var(--bot-ink); font-size: 18px; }
.attachment-remove:hover { background: #f2f1eb0b; }
.device-status { flex: none; margin: 0; padding: 8px 16px; background: var(--bot-active); color: var(--bot-ink); font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.device-status:empty { display: none; }
.device-home-indicator { position: absolute; bottom: 7px; left: 50%; width: 90px; height: 4px; transform: translateX(-50%); border-radius: 6px; background: #c5bea059; pointer-events: none; }
.bot-orbit { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--role-color, var(--bot-accent)); background: radial-gradient(circle, #c5bea00d, transparent 72%); isolation: isolate; }
.bot-orbit karmen-avatar { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--role-color, var(--bot-accent)) 18%, transparent)); }
.orbit-ring { position: absolute; inset: 8%; border: 1px solid currentColor; border-radius: 50%; transform: rotate(-24deg) scaleY(.52); opacity: .65; pointer-events: none; }
.orbit-ring:nth-child(2) { transform: rotate(58deg) scaleY(.52); opacity: .4; }
.orbit-core { width: 42%; height: 42%; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--role-color, var(--bot-accent)); background: color-mix(in srgb, var(--role-color, var(--bot-accent)) 13%, var(--bot-panel)); font: 9px/1 ui-monospace, monospace; box-shadow: 0 2px 6px #09090944; }
.bot-collection { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; overflow-anchor: none; padding: 24px 16px; scrollbar-width: thin; scrollbar-color: #c5bea02a transparent; }
.collection-heading { margin-bottom: 22px; }
.collection-heading h2, .collection-heading h3 { font-size: 23px; font-weight: 400; letter-spacing: -.035em; margin: 0 0 8px; }
.collection-heading p { font-size: 11px; line-height: 1.8; color: var(--bot-muted); margin: 0; }
.collection-favorites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding-bottom: 22px; border-bottom: 1px solid #c5bea015; margin-bottom: 10px; }
.favorite-role { min-width: 0; min-height: 92px; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; padding: 12px 5px; border: 1px solid #c5bea019; border-radius: 16px; background: var(--bot-raised); color: var(--bot-silver); font-size: 10px; }
.favorite-role .bot-orbit { width: 34px; height: 34px; }
.collection-list { display: grid; gap: 1px; }
.collection-role { min-height: 74px; min-width: 0; width: 100%; display: flex; align-items: center; gap: 11px; padding: 13px 2px; border: 0; border-bottom: 1px solid #c5bea012; border-radius: 0; background: transparent; color: var(--bot-ink); text-align: left; }
.collection-role:hover { background: #c5bea008; }
.collection-copy { flex: 1; min-width: 0; }
.collection-copy strong { display: block; color: var(--bot-ink); font-size: 12px; font-weight: 400; }
.collection-copy small, .collection-copy p { display: block; margin: 4px 0 0; color: var(--bot-muted); font-size: 10px; line-height: 1.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.collection-role > small { flex: none; font-size: 8px; color: var(--bot-muted); }
.collection-status { flex: none; font-size: 8px; color: var(--bot-muted); }
.role-option .collection-copy { max-width: 100%; }
.role-option .collection-copy strong { font-size: 11px; }
.role-option .collection-copy small { font-size: 8px; }
.favorite-role .collection-copy { flex: none; width: 100%; text-align: center; }
.favorite-role .collection-copy strong { font-size: 10px; }
.favorite-role .collection-copy small { display: none; }
.device-sheet-backdrop { position: absolute; z-index: 10; inset: 0; background: #090909b3; backdrop-filter: blur(5px); }
.device-sheet { position: absolute; z-index: 11; inset: auto 0 0; max-height: 84%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 10px 20px 26px; border: 1px solid #c5bea028; border-bottom: 0; border-radius: 29px 29px 0 0; background: var(--bot-active); color: var(--bot-ink); box-shadow: 0 -8px 28px #09090933; }
.sheet-handle { width: 38px; height: 4px; border-radius: 6px; background: #c5bea05c; margin: 0 auto 17px; }
.sheet-heading { margin: 0 0 16px; font-size: 19px; font-weight: 400; letter-spacing: -.025em; }
.sheet-heading h2, .sheet-heading h3 { margin: 0; font-size: 19px; font-weight: 400; letter-spacing: -.025em; }
.sheet-heading button { min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid #c5bea021; border-radius: 14px; color: var(--bot-silver); background: #f2f1eb04; font-size: 18px; }
.sheet-option { width: 100%; min-height: 68px; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; justify-content: center; padding: 13px 8px; border: 0; border-bottom: 1px solid #c5bea01c; border-radius: 0; background: transparent; color: var(--bot-ink); text-align: left; font-size: 13px; }
.sheet-option strong { font-size: 13px; font-weight: 400; }
.sheet-option:hover { background: #f2f1eb06; }
.sheet-option > span:first-child { flex: none; }
.sheet-option small { display: block; margin-top: 3px; font-size: 10px; line-height: 1.7; color: var(--bot-muted); }
.sheet-form { display: grid; gap: 13px; margin: 8px 0 0; }
.sheet-form label { display: grid; gap: 8px; color: var(--bot-silver); font-size: 12px; }
.sheet-form input, .sheet-form textarea { min-width: 0; width: 100%; min-height: 44px; padding: 11px 12px; color: var(--bot-ink); background: var(--bot-raised); border: 1px solid #c5bea030; border-radius: 12px; font-size: 16px; }
.sheet-form textarea { min-height: 110px; resize: vertical; }
.sheet-form button { min-height: 44px; padding: 11px 16px; border: 1px solid var(--bot-ink); border-radius: 14px; background: var(--bot-ink); color: var(--bot-active); font-size: 12px; }
.sheet-form p { color: var(--bot-silver); font-size: 10px; line-height: 1.8; margin: 0; }
.sheet-close { width: 100%; min-height: 44px; padding: 11px 15px; margin-top: 18px; border: 1px solid #c5bea030; border-radius: 13px; background: #f2f1eb05; color: var(--bot-ink); font-size: 12px; }
.sheet-error { margin: 14px 0 0; padding: 10px 12px; border: 1px solid #c9a68a45; border-radius: 10px; background: #5b44352e; color: #e5c9b5; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
.sheet-error:empty { display: none; }
[data-bot-fallback] { color: var(--bot-silver); font-size: 13px; line-height: 1.9; }
.bot-device [data-bot-fallback], .device-fallback { padding: 85px 28px 30px; }
.bot-device[data-format="tablet"] { width: 900px; height: 640px; min-height: 540px; border-radius: 36px; box-shadow: 0 0 0 1px #c5bea048, inset 0 0 0 1px #f2f1eb0d, 0 34px 90px #09090977; }
.bot-device[data-format="tablet"] .device-sidebar { display: block; width: 205px; flex: 0 0 205px; }
.bot-device[data-format="tablet"] .device-island { width: 56px; height: 16px; top: 9px; }
.bot-device[data-format="tablet"] .device-island::after { right: 7px; top: 4px; width: 5px; height: 5px; }
.bot-device[data-format="tablet"] .device-app { padding-top: 32px; }
.bot-device[data-format="tablet"] .device-toolbar { padding-inline: 22px; }
.bot-device[data-format="tablet"] .message-log { padding: 30px 32px; }
.bot-device[data-format="tablet"] .bot-message { max-width: 82%; }
.bot-device[data-format="tablet"] .message-composer { padding: 14px 22px 0; }
.bot-device[data-format="tablet"] .collection-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.bot-device[data-format="tablet"] .device-sheet { max-width: 470px; left: auto; width: 100%; right: 0; border-radius: 28px 0 0 0; padding-inline: 27px; }
.bot-experience[data-expanded="true"] { grid-template-columns: minmax(0, 0fr) minmax(0, 1fr); gap: 0; }
.bot-experience[data-expanded="true"] .bot-overview { max-height: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.bot-experience[data-expanded="true"] .device-caption { width: 900px; }
.bot-possibilities, .bot-pricing { padding: 110px var(--bot-gutter) 120px; border-top: 1px solid #c5bea012; scroll-margin-top: 24px; }
.bot-possibilities { background: var(--bot-panel); }
.bot-possibilities > header, .bot-pricing > header { max-width: 1220px; margin: 0 auto 48px; display: flex; justify-content: space-between; gap: 45px; align-items: end; }
.section-heading { max-width: 1220px; margin: 0 auto 48px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); column-gap: 54px; align-items: end; }
.section-heading .eyebrow { grid-column: 1 / -1; max-width: none; margin-bottom: 22px; font-size: 10px; }
.section-heading h2 { grid-column: 1; }
.section-heading > p:last-child { grid-column: 2; }
.bot-possibilities h2, .bot-pricing h2 { max-width: 770px; margin: 0; font-size: clamp(34px, 4.6vw, 64px); font-weight: 400; line-height: 1.3; letter-spacing: -.05em; text-wrap: balance; }
.bot-possibilities > header > p, .bot-pricing > header > p, .section-heading > p { max-width: 330px; margin: 0; color: var(--bot-muted); font-size: 13px; line-height: 1.9; }
.feature-grid { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-card { min-width: 0; min-height: 405px; position: relative; overflow: hidden; padding: 30px; border: 1px solid #c5bea01e; border-radius: 28px; background: linear-gradient(145deg, var(--bot-raised), var(--bot-raised)); }
.feature-card h3 { position: relative; z-index: 2; font-size: 25px; font-weight: 400; line-height: 1.4; letter-spacing: -.04em; margin: 0 0 12px; }
.feature-index { display: block; margin: 0 0 17px; color: var(--bot-accent); font: 9px/1.5 ui-monospace, monospace; letter-spacing: .12em; }
.feature-copy p { max-width: 450px; margin: 0; color: var(--bot-silver); font-size: 12px; line-height: 1.85; }
.feature-card > p { position: relative; z-index: 2; max-width: 430px; margin: 0; color: var(--bot-silver); font-size: 12px; line-height: 1.85; }
.feature-visual { min-height: 225px; position: relative; margin: 25px 0 -12px; display: flex; align-items: center; justify-content: center; gap: 20px; pointer-events: none; }
.mini-window { width: 86%; min-height: 164px; padding: 22px; border: 1px solid #c5bea02b; border-radius: 18px; background: var(--bot-active); box-shadow: 0 18px 35px #09090933; }
.mini-window header { height: 27px; border-bottom: 1px solid #c5bea021; margin: -4px 0 18px; color: var(--bot-silver); font: 8px/1.4 ui-monospace, monospace; letter-spacing: .1em; }
.mini-window-top { display: flex; align-items: center; gap: 4px; min-height: 25px; border-bottom: 1px solid #c5bea021; margin: -4px 0 14px; color: var(--bot-muted); font: 7px/1.5 ui-monospace, monospace; letter-spacing: .09em; }
.mini-window-top i { width: 4px; height: 4px; border-radius: 50%; background: #c5bea06b; }
.mini-window-top span { margin-left: auto; }
.mini-window-top span:only-child { margin-left: 0; }
.mini-identity { display: flex; align-items: center; gap: 12px; margin: 12px 0 18px; }
.mini-identity strong { display: block; font-size: 12px; font-weight: 400; color: var(--bot-ink); }
.mini-identity small { display: block; margin-top: 4px; color: var(--bot-muted); font-size: 9px; }
.mini-identity .mini-orbit { width: 46px; height: 46px; flex: none; font-size: 13px; }
.mini-line { display: block; height: 5px; width: 82%; margin-top: 13px; border-radius: 6px; background: #c5bea03d; transform-origin: left; }
.mini-line:nth-of-type(2n) { width: 64%; }
.mini-line:nth-of-type(3n) { width: 47%; }
.mini-orbit { position: relative; display: grid; place-items: center; width: 102px; height: 102px; border: 1px solid #c5bea066; border-radius: 50%; color: var(--bot-accent); background: radial-gradient(circle, #c5bea017, transparent 67%); }
.mini-orbit::before, .mini-orbit::after { content: ""; position: absolute; inset: 11px; border: 1px solid currentColor; border-radius: 50%; transform: rotate(-35deg) scaleY(.48); opacity: .6; }
.mini-orbit::after { transform: rotate(55deg) scaleY(.48); opacity: .35; }
.mini-orbit:nth-child(2) { width: 126px; height: 126px; color: var(--bot-accent); border-color: #c5bea055; }
.mini-orbit:nth-child(3) { color: var(--bot-accent); border-color: #c5bea055; }
.memory-bubble { position: relative; max-width: 84%; padding: 15px 20px; border: 1px solid #c5bea030; border-radius: 6px 18px 18px; background: var(--bot-edge); color: var(--bot-ink); font-size: 13px; line-height: 1.75; }
.memory-bubble + .memory-bubble { margin: 14px 0 0 auto; background: var(--bot-silver); color: var(--bot-edge); border-radius: 18px 6px 18px 18px; }
.feature-card[data-feature="context"] .feature-visual { display: block; padding: 15px 10px; }
.mini-step { display: flex; align-items: center; gap: 13px; min-height: 43px; padding: 10px 13px; margin: 9px 0; border: 1px solid #c5bea024; border-radius: 10px; background: var(--bot-edge); color: var(--bot-silver); font-size: 11px; }
.mini-step i, .mini-step b { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid #c5bea052; border-radius: 50%; font: 9px/1 ui-monospace, monospace; color: var(--bot-ink); }
.mini-step p { flex: 1; margin: 0; font-size: 10px; line-height: 1.65; }
.mini-step > span { color: var(--bot-muted); font: 8px/1.5 ui-monospace, monospace; }
.mini-window .mini-step { min-height: 34px; margin: 6px 0; padding: 7px 10px; }
.workflow-preview { width: 100%; }
.workflow-preview > .memory-bubble { max-width: 86%; margin: 0 0 17px; font-size: 12px; padding: 13px 16px; }
.workflow-preview > .mini-window { width: 90%; margin-left: auto; }
.memory-note { display: flex; align-items: center; gap: 15px; width: 90%; margin: 19px auto; padding: 15px 17px; border: 1px solid #c5bea036; border-radius: 16px; background: var(--bot-edge); }
.memory-note .mini-orbit { width: 40px; height: 40px; flex: none; }
.memory-note small { font-size: 8px; color: var(--bot-muted); }
.memory-note p { font-size: 12px; color: var(--bot-ink); margin: 5px 0 0; }
.context-visual .memory-bubble { max-width: 92%; font-size: 12px; }
.context-visual .memory-bubble.secondary { margin-left: auto; border-radius: 18px 6px 18px 18px; background: var(--bot-silver); color: var(--bot-edge); }
.collab-orbits { display: flex; width: 100%; align-items: center; justify-content: center; gap: 13px; margin: 0 0 6px; }
.collab-orbits .mini-orbit { color: var(--role-color, var(--bot-accent)); border-color: color-mix(in srgb, var(--role-color, var(--bot-accent)) 38%, transparent); }
.visual-caption { flex-basis: 100%; margin: 4px 0 0; color: var(--bot-muted); font-size: 10px; text-align: center; }
.collab-chip { min-width: 0; padding: 14px 18px; border: 1px solid #c5bea035; border-radius: 30px; background: var(--bot-active); color: var(--bot-silver); font-size: 12px; box-shadow: 0 10px 25px #09090922; }
.feature-card[data-feature="team"] .feature-visual { flex-wrap: wrap; gap: 14px; padding: 35px 15px; }
.feature-card[data-feature="team"] .collab-chip:nth-child(2) { background: var(--bot-active); color: var(--bot-silver); }
.feature-card[data-feature="team"] .collab-chip:nth-child(3) { background: var(--bot-edge); color: var(--bot-ink); }
.bot-pricing { background: var(--bot-panel); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1220px; gap: 18px; margin: 0 auto; align-items: start; }
.price-card { min-height: 440px; min-width: 0; position: relative; }
.price-shell { min-height: 440px; padding: 0 28px 26px; border: 1px solid #c5bea032; border-radius: 28px; background: linear-gradient(155deg, var(--bot-raised), var(--bot-raised)); overflow: hidden; }
.price-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 88px; border-bottom: 1px solid #c5bea017; }
.price-summary h3 { font-size: 23px; font-weight: 400; line-height: 1.4; letter-spacing: -.035em; margin: 0; }
.price-summary small { display: block; margin-top: 3px; color: var(--bot-muted); font: 8px/1.6 ui-monospace, monospace; letter-spacing: .09em; }
.price-summary > span, .price-summary > b { color: var(--bot-silver); font: 12px/1.5 ui-monospace, monospace; }
.price-body { opacity: 1; transform: none; padding-top: 23px; }
.price-body > strong, .price-amount { display: block; margin: 0 0 4px; color: var(--bot-ink); font-size: 32px; font-weight: 400; line-height: 1.3; letter-spacing: -.035em; }
.price-body > p { margin: 5px 0 20px; color: var(--bot-muted); font-size: 11px; line-height: 1.8; }
.price-body .price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 32px; color: var(--bot-ink); margin: 23px 0 12px; line-height: 1.3; }
.price-amount span { color: var(--bot-muted); font-size: 10px; letter-spacing: 0; }
.price-body .price-note { color: var(--bot-muted); font-size: 9px; margin: 12px 0 0; text-align: center; }
[data-plan-options] { display: flex; gap: 6px; flex-wrap: wrap; padding: 5px; border: 1px solid #c5bea01c; border-radius: 15px; background: var(--bot-panel); }
[data-plan-tier] { min-height: 44px; flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--bot-silver); font-size: 10px; line-height: 1.55; }
[data-plan-tier][aria-pressed="true"] { border-color: #c5bea034; background: var(--bot-edge); color: var(--bot-ink); }
.price-features { min-height: 106px; margin: 22px 0; padding-left: 18px; color: var(--bot-silver); font-size: 12px; line-height: 2; }
.price-features li { padding-left: 3px; }
[data-quote-plan] { width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 16px; border: 1px solid var(--bot-ink); border-radius: 15px; background: var(--bot-ink); color: var(--bot-raised); font-size: 12px; }
[data-quote-plan]:hover { background: var(--bot-ink); }
.pricing-enhanced .price-shell { clip-path: inset(0 0 calc((100% - 88px) * (1 - var(--price-progress, 1))) 0 round calc(28px + (1 - var(--price-progress, 1)) * 22px)); }
.pricing-enhanced .price-body { opacity: var(--price-progress, 1); transform: translateY(calc((1 - var(--price-progress, 1)) * 14px)); }
.price-card:focus-within { --price-progress: 1 !important; }
.price-card:focus-within .price-shell { clip-path: none; }
.price-card:focus-within .price-body { opacity: 1; transform: none; }
.pricing-note { max-width: 1220px; margin: 25px auto 0; color: var(--bot-muted); font-size: 11px; line-height: 1.85; }
.pricing-footnote { max-width: 1220px; margin: 28px auto 0; display: flex; justify-content: space-between; gap: 18px; align-items: center; color: var(--bot-muted); font-size: 12px; line-height: 1.8; }
.pricing-footnote a { display: inline-flex; gap: 26px; align-items: center; min-height: 44px; color: var(--bot-silver); text-decoration: none; }
.bot-final { text-align: center; padding: 110px var(--bot-gutter) 125px; border-top: 1px solid #c5bea012; background: radial-gradient(ellipse at 50% 90%, #c5bea012, transparent 64%), var(--bot-panel); }
.bot-final h2 { font-weight: 400; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.25; letter-spacing: -.05em; margin: 0 0 34px; }
#quote-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100svh - 40px); margin: auto; padding: 30px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #c5bea038; border-radius: 16px; background: var(--bot-raised); color: var(--bot-ink); box-shadow: 0 20px 56px #09090966; }
#quote-dialog::backdrop { background: #090909bf; backdrop-filter: blur(8px); }
#quote-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
#quote-dialog h2 { margin: 0; font-size: 27px; font-weight: 400; letter-spacing: -.035em; }
#quote-dialog p { font-size: 12px; line-height: 1.9; color: var(--bot-silver); }
#quote-dialog form { display: grid; gap: 17px; }
#quote-dialog label { display: grid; gap: 8px; color: var(--bot-silver); font-size: 12px; }
#quote-dialog input, #quote-dialog select, #quote-dialog textarea { min-width: 0; width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #c5bea030; border-radius: 12px; background: var(--bot-panel); color: var(--bot-ink); font-size: 16px; line-height: 1.6; }
.sheet-form input::placeholder, .sheet-form textarea::placeholder, #quote-dialog input::placeholder, #quote-dialog textarea::placeholder { color: var(--bot-muted); opacity: 1; }
#quote-dialog textarea { min-height: 112px; resize: vertical; }
#quote-dialog textarea[readonly] { font-size: 12px; color: var(--bot-silver); min-height: 145px; }
#quote-dialog button { min-width: 44px; min-height: 44px; padding: 10px 15px; border: 1px solid #c5bea03d; border-radius: 13px; background: var(--bot-edge); color: var(--bot-ink); font-size: 12px; }
#quote-dialog .quote-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 9px; }
#quote-dialog .quote-actions button { flex: 1; }
.quote-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.quote-heading .eyebrow { margin-bottom: 12px; font-size: 8px; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote-fields label:nth-child(n+3) { grid-column: 1 / -1; }
.quote-result { padding-top: 18px; border-top: 1px solid #c5bea024; }
#quote-dialog .quote-actions { align-items: stretch; }
#quote-dialog .quote-actions a { flex: 1; border-radius: 13px; padding-inline: 12px; font-size: 11px; }
.bot-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 45px var(--bot-gutter); border-top: 1px solid #c5bea016; color: var(--bot-muted); font-size: 11px; }
.bot-footer a { text-decoration: none; }
.bot-footer p { margin: 0; }
.bot-footer nav { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }
.bot-footer small { flex-basis: 100%; border-top: 1px solid #c5bea010; margin-top: 5px; padding-top: 20px; color: var(--bot-muted); font-size: 9px; }
@media (prefers-reduced-motion: no-preference) {
  .bot-device.is-opening .device-main { animation: bot-open 720ms var(--bot-ease) both; }
  .bot-experience[data-expanded="true"] .bot-device { animation: bot-expand 900ms var(--bot-ease) both; }
  [data-device-animating] .orbit-ring { animation: bot-orbit 7s linear infinite; }
  [data-device-animating="false"] .orbit-ring { animation-play-state: paused; }
  [data-device-animating] .message-waiting i { animation: bot-wait 1100ms ease-in-out infinite; }
  [data-device-animating="false"] .message-waiting i { animation-play-state: paused; }
  @keyframes bot-open { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes bot-expand { 0%, 100% { transform: rotateY(0); } 40% { transform: rotateY(-6deg); } }
  @keyframes bot-orbit { to { transform: rotate(336deg) scaleY(.52); } }
  @keyframes bot-wait { 50% { opacity: .3; transform: translateY(-2px); } }
}
@media (max-width: 1100px) {
  .bot-header { gap: 22px; }
  .bot-header nav { gap: 18px; }
  .bot-experience { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 38px; }
  .role-option { padding-inline: 9px; gap: 7px; font-size: 11px; }
  .role-option .bot-orbit { width: 29px; height: 29px; }
  .price-shell { padding-inline: 22px; }
  .price-summary h3 { font-size: 21px; }
}
@media (max-width: 820px) {
  .bot-header > nav { display: none; }
  .bot-mobile-nav { display: block; }
  .bot-header-cta { display: none; }
  .bot-hero { padding-top: 76px; padding-bottom: 58px; }
  .bot-experience { grid-template-columns: minmax(0, 1fr); gap: 46px; padding-bottom: 90px; }
  .bot-overview { max-width: 600px; margin: auto; }
  .role-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .role-option { display: flex; flex-direction: column; justify-content: center; gap: 7px; min-height: 84px; padding: 10px 5px; text-align: center; }
  .role-option .bot-orbit { width: 31px; height: 31px; }
  .bot-experience[data-expanded="true"] { grid-template-columns: minmax(0, 1fr); gap: 46px; }
  .bot-experience[data-expanded="true"] .bot-overview { max-width: 600px; max-height: 720px; opacity: 1; visibility: visible; pointer-events: auto; }
  .bot-device[data-format="tablet"] .device-sidebar { width: 156px; flex-basis: 156px; padding-inline: 8px; }
  .bot-device[data-format="tablet"] .device-sidebar button { font-size: 10px; gap: 6px; }
  .bot-device[data-format="tablet"] .message-log { padding-inline: 20px; }
  .bot-device[data-format="tablet"] .message-composer { padding-inline: 13px; }
  .bot-device[data-format="tablet"] .collection-list { grid-template-columns: minmax(0, 1fr); }
  .bot-possibilities, .bot-pricing { padding-top: 78px; padding-bottom: 84px; }
  .bot-possibilities > header, .bot-pricing > header { flex-direction: column; gap: 22px; align-items: flex-start; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .section-heading > p:last-child { grid-column: 1; }
  .bot-possibilities > header > p, .bot-pricing > header > p, .section-heading > p { max-width: 560px; }
  .feature-card { padding: 24px; }
  .feature-card h3 { font-size: 22px; }
  .feature-visual { gap: 12px; }
  .mini-window { width: 100%; padding: 17px; }
  .mini-orbit { width: 65px; height: 65px; }
  .mini-orbit:nth-child(2) { width: 80px; height: 80px; }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 540px; gap: 20px; }
  .price-card, .price-shell { min-height: 440px; }
  .price-shell { padding-inline: 28px; }
}
@media (max-width: 600px) {
  :root { --bot-gutter: 22px; }
  .bot-header { min-height: 70px; padding-block: 12px; }
  .bot-brand { font-size: 13px; gap: 9px; letter-spacing: .13em; }
  .bot-brand small { font-size: 8px; }
  .bot-hero { padding-top: 62px; padding-bottom: 50px; }
  .bot-hero h1 { font-size: clamp(36px, 9.7vw, 54px); line-height: 1.24; }
  .bot-hero .hero-intro { font-size: 13px; }
  .bot-hero .hero-footnote { font-size: 9px; }
  .eyebrow, .bot-eyebrow, .section-kicker { font-size: 8px; letter-spacing: .14em; }
  .bot-overview h2, .bot-experience[data-expanded="true"] .bot-overview h2 { font-size: 33px; }
  .bot-overview > p:not(.eyebrow):not(.bot-eyebrow):not(.preview-boundary):not(.role-description) { font-size: 13px; }
  .role-options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .role-option { min-height: 79px; border-radius: 13px; padding: 10px 2px; font-size: 10px; }
  .role-option .collection-copy strong { font-size: 9px; }
  .role-option .collection-copy small { display: none; }
  .role-description { font-size: 12px; }
  .bot-experience { gap: 35px; padding-bottom: 78px; }
  .bot-experience[data-expanded="true"] { gap: 35px; }
  .bot-device { border-width: 6px; border-radius: 42px; }
  .device-toolbar { padding-inline: 8px; gap: 6px; }
  .device-title { gap: 7px; }
  .device-title strong { font-size: 12px; }
  .device-title .bot-orbit { width: 31px; height: 31px; }
  .device-title small, .device-title > div > span { font-size: 8px; }
  .message-log { padding: 20px 13px; gap: 12px; }
  .bot-message { padding: 12px 13px; max-width: 96%; }
  .bot-message p { font-size: 12px; line-height: 1.85; }
  .message-composer { gap: 6px; padding: 10px 9px 0; }
  .message-composer textarea { font-size: 12px; padding-inline: 9px; }
  .device-sheet { padding-inline: 15px; }
  .bot-device[data-format="tablet"] { height: min(690px, 85svh); border-radius: 29px; }
  .bot-device[data-format="tablet"] .device-sidebar { width: 62px; flex-basis: 62px; padding: 16px 4px; }
  .bot-device[data-format="tablet"] .device-sidebar button { display: flex; flex-direction: column; justify-content: center; min-height: 68px; padding: 7px 1px; font-size: 8px; gap: 4px; }
  .bot-device[data-format="tablet"] .device-sidebar .bot-orbit { width: 27px; height: 27px; }
  .bot-device[data-format="tablet"] .device-sidebar .collection-copy strong { font-size: 8px; }
  .bot-device[data-format="tablet"] .device-sidebar .collection-copy small { display: none; }
  .bot-device[data-format="tablet"] .device-sidebar > p, .bot-device[data-format="tablet"] .device-sidebar > small { display: none; }
  .bot-device[data-format="tablet"] .device-toolbar { padding-inline: 9px; }
  .bot-device[data-format="tablet"] .message-log { padding: 18px 10px; }
  .bot-device[data-format="tablet"] .bot-message { max-width: 100%; padding: 10px; }
  .bot-device[data-format="tablet"] .message-composer { gap: 4px; padding-inline: 5px; }
  .bot-device[data-format="tablet"] .message-composer textarea { padding-inline: 7px; }
  .bot-device[data-format="tablet"] .device-sheet { max-width: 100%; border-radius: 24px 24px 0 0; padding-inline: 16px; }
  .bot-device[data-format="tablet"] .bot-collection { padding-inline: 10px; }
  .bot-device[data-format="tablet"] .collection-favorites { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .bot-device[data-format="tablet"] .favorite-role { min-height: 48px; padding: 7px 10px; flex-direction: row; justify-content: flex-start; }
  .bot-device[data-format="tablet"] .collection-role { gap: 7px; }
  .bot-device[data-format="tablet"] .collection-role .bot-orbit { width: 30px; height: 30px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature-card { min-height: 385px; padding: 26px; }
  .feature-card h3 { font-size: 25px; }
  .feature-card > p { font-size: 12px; }
  .mini-orbit { width: 76px; height: 76px; }
  .mini-orbit:nth-child(2) { width: 98px; height: 98px; }
  .bot-possibilities h2, .bot-pricing h2 { font-size: 36px; }
  .feature-card[data-feature="team"] .feature-visual { padding-inline: 0; }
  .collab-orbits { gap: 10px; }
  .pricing-footnote { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 11px; }
  .price-shell { padding-inline: 25px; }
  #quote-dialog { padding: 22px; border-radius: 16px; width: calc(100vw - 22px); max-height: calc(100svh - 24px); }
  #quote-dialog h2 { font-size: 24px; }
  .quote-fields { grid-template-columns: minmax(0, 1fr); }
  .quote-fields label:nth-child(n+3) { grid-column: auto; }
  .bot-final { padding-block: 80px 92px; }
  .bot-footer { padding-block: 30px; gap: 16px; font-size: 10px; }
}
@media (max-width: 360px) {
  :root { --bot-gutter: 18px; }
  .bot-device[data-format="tablet"] .device-sidebar { width: 50px; flex-basis: 50px; }
  .bot-device[data-format="tablet"] .device-sidebar button { font-size: 7px; }
  .bot-device[data-format="tablet"] .message-composer { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 2px; padding-inline: 3px; }
  .bot-device[data-format="tablet"] .message-composer textarea { padding-inline: 5px; }
  .device-title .bot-orbit { width: 27px; height: 27px; }
  .device-title strong { font-size: 11px; }
  .device-title { gap: 5px; }
  .feature-card { padding: 22px; }
  .feature-visual { gap: 9px; }
  .mini-orbit { width: 62px; height: 62px; }
  .mini-orbit:nth-child(2) { width: 80px; height: 80px; }
  .price-shell { padding-inline: 21px; }
}
/* Mobile is a usable workspace, not a scaled-down desktop mockup. */
@media (max-width: 900px), (pointer: coarse) {
  .message-composer textarea { font-size: 16px; }
  .bot-message p { font-size: 15px; line-height: 1.8; }
  #quote-dialog textarea[readonly] { font-size: 16px; }
}
@media (max-width: 820px) {
  :root { --bot-gutter: max(18px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .bot-header { padding-top: max(12px, env(safe-area-inset-top)); }
  .bot-mobile-nav summary { min-width: 48px; min-height: 48px; font-size: 14px; }
  .bot-mobile-nav nav { width: min(260px, calc(100vw - 36px)); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
  .bot-mobile-nav nav a { font-size: 15px; min-height: 48px; }
  .bot-hero .hero-intro, .bot-overview > p:not(.eyebrow):not(.bot-eyebrow):not(.preview-boundary):not(.role-description) { font-size: 16px; }
  .bot-hero .hero-footnote, .preview-boundary { font-size: 12px; line-height: 1.8; }
  .eyebrow, .bot-eyebrow, .section-kicker { font-size: 11px; letter-spacing: .1em; }
  .button, .bot-button, [data-open-collection] { font-size: 15px; }
  .bot-overview, .bot-experience[data-expanded="true"] .bot-overview { max-height: none; overflow: visible; }
  .role-option { padding: 12px 8px; }
  .role-option .collection-copy strong { font-size: 14px; }
  .role-description { font-size: 15px; min-height: 86px; }
  .role-description h3 { font-size: 18px; }
  .device-title strong { font-size: 15px; }
  .device-title small, .device-title > div > span { font-size: 11px; }
  .bot-message p { font-size: 15px; }
  .message-label { font-size: 10px; }
  .bot-message[data-sender="notice"] p, .composer-note { font-size: 11px; }
  .device-caption { font-size: 12px; gap: 12px; flex-wrap: wrap; }
  .device-caption span { font-size: 10px; }
  .collection-heading p, .collection-copy small, .collection-copy p { font-size: 12px; }
  .collection-copy strong, .favorite-role .collection-copy strong { font-size: 14px; }
  .collection-status, .collection-role > small { font-size: 11px; }
  .device-status, .sheet-error, .sheet-form p, .attachment-item, .bot-message .attachment-item span { font-size: 12px; }
  .sheet-option, .sheet-option strong, .sheet-form label, .sheet-form button, .sheet-close { font-size: 15px; }
  .sheet-option small { font-size: 12px; }
  .feature-copy p, .feature-card > p, .section-heading > p { font-size: 15px; }
  .feature-card { padding: 24px; }
  .feature-card h3 { font-size: 26px; }
  .feature-index { font-size: 11px; }
  .price-body > p, .price-features { font-size: 15px; }
  .price-body .price-note, .price-amount span, .price-summary small { font-size: 12px; }
  [data-plan-tier], [data-quote-plan] { font-size: 14px; }
  .pricing-footnote, .pricing-note { font-size: 13px; }
  #quote-dialog { max-height: calc(100dvh - 24px); padding: 22px; scroll-padding-block: 120px 20px; }
  #quote-dialog .quote-heading { position: sticky; top: -22px; z-index: 2; margin: -22px -22px 0; padding: 16px 22px; border-bottom: 1px solid #c5bea024; background: var(--bot-raised); }
  #quote-dialog label, #quote-dialog p, #quote-dialog button, #quote-dialog .quote-actions a { font-size: 14px; }
  .quote-heading > button { flex-shrink: 0; }
  .bot-footer { font-size: 14px; padding-bottom: max(30px, env(safe-area-inset-bottom)); }
  .bot-footer nav { gap: 8px 24px; }
  .bot-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .bot-footer small { font-size: 12px; }
}
@media (max-width: 600px) {
  .bot-hero { padding-top: 48px; }
  .bot-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-inline: auto; }
  .bot-hero-actions .button { min-height: 52px; }
  .role-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .role-option { min-height: 62px; flex-direction: row; text-align: left; gap: 8px; padding: 10px; }
  .role-option .collection-copy { flex: 0 1 auto; }
  .bot-device { height: min(740px, calc(100svh - 28px)); min-height: 560px; }
  .bot-device[data-format="tablet"] { height: min(780px, calc(100svh - 28px)); min-height: 620px; }
  .bot-device[data-format="tablet"] .device-workspace { flex-direction: column; }
  .bot-device[data-format="tablet"] .device-sidebar {
    display: flex; align-items: stretch; gap: 6px; width: 100%; flex: 0 0 auto;
    padding: 8px; border-right: 0; border-bottom: 1px solid #c5bea016;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scroll-padding-inline: 8px;
  }
  .bot-device[data-format="tablet"] .device-sidebar button { width: 92px; min-height: 70px; flex: 0 0 92px; margin: 0; padding: 7px; gap: 3px; scroll-snap-align: start; }
  .bot-device[data-format="tablet"] .device-sidebar .collection-copy { flex: none; }
  .bot-device[data-format="tablet"] .device-sidebar .collection-copy strong { font-size: 12px; }
  .bot-device[data-format="tablet"] .message-log, .message-log { padding: 18px 12px; }
  .bot-device[data-format="tablet"] .message-composer, .message-composer { gap: 6px; padding: 10px 8px 0; }
  .bot-device[data-format="tablet"] .message-composer textarea, .message-composer textarea { font-size: 16px; padding: 11px 8px; }
  .device-title strong { font-size: 14px; }
  .bot-device[data-format="tablet"] .collection-favorites { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bot-device[data-format="tablet"] .favorite-role { min-height: 84px; padding: 10px 2px; flex-direction: column; justify-content: center; }
  .favorite-role .collection-copy strong { font-size: 12px; }
  .bot-device[data-format="tablet"] .device-sheet, .device-sheet { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .price-shell { padding-inline: 22px; }
  .quote-actions { flex-direction: column; }
}
/* The experience is a usable application window. The compact and expanded
   layouts share one DOM, so role history, attachments and focus survive morphs. */
.bot-workspace-page { background: var(--bot-paper); color: var(--bot-ink); }
.bot-workspace-page .bot-header { min-height: 80px; background: var(--bot-paper); padding-block: 12px; }
.bot-workspace-page .bot-header nav a { color: var(--bot-muted); font-size: 14px; }
.bot-workspace-page .bot-header-cta { border-radius: 999px; color: var(--bot-ink); font-size: 14px; }
.bot-workspace-page .bot-hero { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: 1360px; padding: 35px var(--bot-gutter) 26px; text-align: left; }
.bot-workspace-page .bot-hero::before { content: none; }
.bot-workspace-page .bot-hero .eyebrow { margin-bottom: 9px; color: var(--bot-accent); font-size: 10px; }
.bot-workspace-page .bot-hero h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.035em; line-height: 1.3; }
.bot-workspace-page .bot-hero .hero-intro { flex: none; margin: 0; font-size: 14px; line-height: 1.8; color: var(--bot-muted); }
.bot-workspace-page .bot-hero .hero-intro span { color: var(--bot-muted); font-size: 12px; }
.bot-workspace-page .bot-experience { max-width: 1360px; padding: 0 var(--bot-gutter) 70px; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); gap: 40px; align-items: start; scroll-margin-top: 20px; }
.bot-workspace-page .bot-experience[data-expanded="true"] { grid-template-columns: minmax(0, 0fr) minmax(0, 1fr); gap: 0; }
.bot-workspace-page .bot-overview { padding-top: 15px; max-height: 600px; }
.bot-workspace-page .bot-overview h2 { font-size: 23px; margin-bottom: 12px; }
.bot-workspace-page .bot-overview .section-intro { font-size: 13px; margin-bottom: 20px; }
.bot-workspace-page .bot-overview .eyebrow { color: var(--bot-muted); margin-bottom: 9px; }
.bot-workspace-page .role-options { margin: 18px 0; gap: 7px; }
.bot-workspace-page .role-option { min-height: 55px; padding: 7px 9px; border-radius: 8px; background: var(--bot-panel); border-color: #f2f1eb12; }
.bot-workspace-page .role-option[aria-pressed="true"] { background: var(--bot-active); border-color: #f2f1eb40; }
.bot-workspace-page .role-option .collection-copy small { display: none; }
.bot-workspace-page .role-option .collection-copy strong { font-size: 12px; color: var(--bot-silver); }
.bot-workspace-page .role-description { color: var(--bot-muted); font-size: 12px; }
.bot-workspace-page .role-description h3 { color: var(--bot-ink); }
.bot-workspace-page [data-open-collection] { color: var(--bot-silver); font-size: 12px; }
.bot-workspace-page .device-stage::before { content: none; }
.bot-workspace-page .bot-device { width: 420px; max-width: 100%; height: clamp(480px, calc(100svh - 262px), 650px); min-height: 480px; border: 1px solid #f2f1eb2b; border-radius: 14px; background: var(--bot-panel); box-shadow: 0 8px 24px #09090933; }
.bot-workspace-page .bot-device[data-format="tablet"] { width: 1120px; height: clamp(480px, calc(100svh - 262px), 650px); min-height: 480px; border-radius: 14px; }
.bot-workspace-page .bot-experience[data-expanded="true"] .bot-device { animation: none; }
.bot-workspace-page .device-app, .bot-workspace-page .bot-device[data-format="tablet"] .device-app { padding: 0; }
.device-windowbar { display: flex; justify-content: space-between; align-items: center; flex: none; min-height: 44px; padding-left: 17px; background: var(--bot-raised); border-bottom: 1px solid #f2f1eb0d; }
.device-window-label { font: 10px/1.4 ui-monospace, monospace; letter-spacing: .06em; color: var(--bot-muted); }
.device-window-actions { display: flex; align-items: center; }
.device-window-actions .device-icon { border: 0; border-radius: 0; width: 44px; height: 44px; padding: 0; background: transparent; color: var(--bot-silver); font: 21px/1 system-ui; }
.device-window-actions .device-icon:hover { background: #f2f1eb0d; }
.device-window-actions [data-device-close]:hover { background: #8d3838; color: var(--bot-ink); }
.bot-workspace-page .device-toolbar, .bot-workspace-page .bot-device[data-format="tablet"] .device-toolbar { min-height: 64px; padding: 8px 19px; gap: 12px; background: var(--bot-panel); border-bottom-color: #f2f1eb0b; }
.bot-workspace-page .device-toolbar [data-device-back] { border: 0; background: transparent; border-radius: 7px; }
.bot-workspace-page .device-title strong { font-size: 14px; color: var(--bot-ink); }
.bot-workspace-page .device-title small { color: var(--bot-muted); font-size: 11px; }
.bot-workspace-page .device-title .bot-orbit { width: 32px; height: 32px; }
.bot-workspace-page .device-icon { border-radius: 8px; }
.bot-workspace-page .device-window-actions .device-icon { border-radius: 0; }
.bot-workspace-page .device-sidebar { padding: 13px 10px; background: var(--bot-panel); border-color: #f2f1eb0b; }
.bot-workspace-page .bot-device[data-format="tablet"] .device-sidebar { width: 210px; flex-basis: 210px; }
.bot-workspace-page .device-sidebar button { min-height: 45px; margin-bottom: 4px; border-radius: 7px; gap: 11px; }
.bot-workspace-page .device-sidebar button[aria-pressed="true"] { background: var(--bot-active); border-color: #f2f1eb12; }
.bot-workspace-page .device-sidebar .collection-copy strong { font-size: 12px; color: var(--bot-ink); }
.bot-workspace-page .device-sidebar .collection-copy small { display: none; }
.bot-workspace-page .device-sidebar .bot-orbit { width: 28px; height: 28px; }
.bot-workspace-page .message-log, .bot-workspace-page .bot-device[data-format="tablet"] .message-log { gap: 16px; padding: 22px 26px; background: var(--bot-panel); }
.bot-workspace-page .bot-message, .bot-workspace-page .bot-device[data-format="tablet"] .bot-message { max-width: 86%; border-radius: 10px; padding: 11px 14px; border: 1px solid #f2f1eb0b; background: var(--bot-raised); color: var(--bot-ink); }
.bot-workspace-page .bot-device .bot-message[data-sender="user"] { background: var(--bot-ink); color: var(--bot-raised); }
.bot-workspace-page .bot-message p { font-size: 14px; line-height: 1.8; }
.bot-workspace-page .message-label { color: var(--bot-muted); font-size: 10px; letter-spacing: 0; }
.bot-workspace-page .bot-message[data-sender="user"] .message-label { color: var(--bot-inverse-muted); }
.bot-workspace-page .bot-message[data-sender="notice"] { border: 0; background: transparent; color: var(--bot-muted); }
.bot-workspace-page .message-composer, .bot-workspace-page .bot-device[data-format="tablet"] .message-composer { padding: 13px 18px 0; gap: 9px; background: var(--bot-panel); border-color: #f2f1eb10; }
.bot-workspace-page .message-composer textarea { border-radius: 8px; font-size: 16px; background: var(--bot-raised); border-color: #f2f1eb13; color: var(--bot-ink); padding: 10px 13px; }
.bot-workspace-page .message-composer textarea::placeholder { color: var(--bot-muted); }
.bot-workspace-page [data-device-plus] { border: 1px solid #f2f1eb13; background: var(--bot-raised); color: var(--bot-silver); }
.bot-workspace-page [data-device-send] { border: 0; background: var(--bot-ink); color: var(--bot-raised); }
.bot-workspace-page .composer-note { padding: 1px 0 10px; font-size: 10px; background: transparent; color: var(--bot-muted); }
.bot-workspace-page .device-caption, .bot-workspace-page .bot-experience[data-expanded="true"] .device-caption { width: 1120px; margin-top: 12px; color: var(--bot-muted); font-size: 11px; align-items: center; }
.bot-workspace-page .device-caption a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 11px; color: var(--bot-silver); text-decoration: none; }
.bot-workspace-page .device-caption a span { color: inherit; font-size: 14px; }
.bot-workspace-page .bot-device[data-window-state="minimized"] { height: 46px; min-height: 46px; }
.bot-workspace-page .bot-device[data-window-state="closed"] { height: 240px; min-height: 240px; }
.device-closed { display: flex; flex-direction: column; height: 100%; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.device-closed .eyebrow { color: var(--bot-muted); margin-bottom: 5px; font-size: 9px; }
.device-closed h3 { font-size: 21px; font-weight: 400; margin: 0 0 6px; }
.device-closed p { font-size: 12px; color: var(--bot-muted); margin: 0 0 19px; }
.device-closed button { border-radius: 8px; }
.bot-workspace-page .device-sheet { border-radius: 16px 16px 0 0; background: var(--bot-raised); color: var(--bot-ink); }
.bot-workspace-page .sheet-option, .bot-workspace-page .sheet-close { color: var(--bot-ink); }
.bot-workspace-page .sheet-option small { color: var(--bot-muted); }
.bot-workspace-page .sheet-form input, .bot-workspace-page .sheet-form textarea { background: var(--bot-panel); color: var(--bot-ink); }
.bot-workspace-page .device-status, .bot-workspace-page .attachment-preview { background: var(--bot-raised); color: var(--bot-silver); }
.bot-workspace-page .attachment-item { background: var(--bot-active); color: var(--bot-silver); border-color: #f2f1eb20; }
.bot-workspace-page .bot-collection { background: var(--bot-panel); }
.bot-workspace-page .favorite-role { background: var(--bot-raised); border-color: #f2f1eb15; border-radius: 10px; }
.bot-workspace-page .collection-copy strong { color: var(--bot-ink); }
.bot-workspace-page .collection-copy small, .bot-workspace-page .collection-status { color: var(--bot-muted); }
.bot-workspace-page .bot-possibilities, .bot-workspace-page .bot-pricing { padding-top: 70px; padding-bottom: 80px; border-color: #f2f1eb10; background: var(--bot-paper); }
.bot-workspace-page .bot-pricing { background: var(--bot-paper); }
.bot-workspace-page .section-heading h2 { font-size: clamp(28px, 3.6vw, 45px); }
.bot-workspace-page .section-heading > p, .bot-workspace-page .section-heading .eyebrow { color: var(--bot-muted); }
.bot-workspace-page .feature-card { border-radius: 14px; background: var(--bot-panel); border-color: #f2f1eb16; }
.bot-workspace-page .feature-card h3 { font-size: 22px; }
.bot-workspace-page .feature-copy p { color: var(--bot-muted); font-size: 15px; }
.bot-workspace-page .mini-window { border-radius: 9px; background: var(--bot-raised); border-color: #f2f1eb13; box-shadow: none; }
.bot-workspace-page .mini-window-top { font-size: 9px; color: var(--bot-muted); }
.bot-workspace-page .mini-step, .bot-workspace-page .memory-note, .bot-workspace-page .memory-bubble, .bot-workspace-page .collab-chip { background: var(--bot-active); border-color: #f2f1eb15; color: var(--bot-silver); }
.bot-workspace-page .memory-bubble.secondary { background: var(--bot-ink); color: var(--bot-edge); }
.bot-workspace-page .price-shell { border-radius: 15px; background: var(--bot-panel); border-color: #f2f1eb20; }
.bot-workspace-page .price-summary small, .bot-workspace-page .price-body > p, .bot-workspace-page .price-features { color: var(--bot-muted); }
.bot-workspace-page [data-plan-options] { border-radius: 9px; background: var(--bot-panel); }
.bot-workspace-page [data-plan-tier] { color: var(--bot-muted); border-radius: 6px; }
.bot-workspace-page [data-plan-tier][aria-pressed="true"] { background: var(--bot-edge); color: var(--bot-ink); }
.bot-workspace-page [data-quote-plan] { border-radius: 9px; background: var(--bot-ink); color: var(--bot-raised); }
.bot-workspace-page .bot-final { padding: 65px var(--bot-gutter); background: var(--bot-panel); border-color: #f2f1eb10; }
.bot-workspace-page .bot-final h2 { font-size: clamp(30px, 4vw, 48px); }
.bot-workspace-page .bot-footer { background: var(--bot-paper); color: var(--bot-muted); }
.bot-workspace-page .bot-mobile-nav nav { background: var(--bot-raised); }

/* Presentation scenes use compositor motion. Each card pauses in place when its
   data-active flag is false; authored content remains the no-JS/static fallback. */
.story-controls { max-width: 1220px; margin: 22px auto 0; display: flex; justify-content: flex-end; color: var(--bot-muted); font-size: 12px; }
.story-controls[hidden] { display: none; }
.story-controls button { min-height: 44px; padding: 9px 14px; border: 1px solid transparent; border-radius: 999px; color: var(--bot-muted); background: transparent; font: inherit; cursor: pointer; }
.story-controls button:hover { color: var(--bot-ink); border-color: #f2f1eb20; background: #f2f1eb05; }
.story-controls button[aria-pressed="true"] { color: var(--bot-ink); border-color: #f2f1eb20; }
.story-controls button:focus-visible { outline: 2px solid var(--bot-accent); outline-offset: 3px; }
.feature-card .story-scene { width: 100%; min-width: 0; }
.feature-card .story-scene.mini-window { width: 92%; }
.feature-card .mini-window-top { justify-content: space-between; }
.feature-card .mini-window-top span { margin-left: 0; }
.feature-card .mini-window-top .story-live-dot { width: 5px; height: 5px; margin-left: auto; background: var(--bot-accent); }
.feature-card .mini-step { position: relative; overflow: hidden; }
.feature-card .mini-step > * { position: relative; z-index: 1; }
.feature-card .mini-step p { font-size: 12px; line-height: 1.75; }
.feature-card .mini-window .mini-step { min-height: 39px; padding: 8px 10px; }
.feature-card .mini-orbit::before, .feature-card .mini-orbit::after { content: none; }
.story-connector { position: relative; display: flex; align-items: center; gap: 9px; height: 27px; margin: -8px 0 9px 24px; font-size: 9px; letter-spacing: .03em; color: var(--bot-muted); }
.story-connector > i { display: block; width: 1px; height: 100%; background: #c5bea068; transform-origin: top; }
.story-wipe { display: block; }
.feature-card .workflow-preview > .memory-bubble { margin-bottom: 13px; }
.feature-card .context-visual .memory-note { margin-top: 0; margin-bottom: 18px; }
.feature-card .context-visual .memory-bubble:first-child { margin-bottom: 15px; }
.feature-card .team-visual { padding: 28px 0 12px; }
.feature-card .collab-orbits { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 10px; margin-bottom: 28px; }
.collab-role { min-width: 0; display: flex; align-items: center; flex-direction: column; position: relative; z-index: 1; }
.collab-role .mini-orbit { width: clamp(52px, 7vw, 84px); height: clamp(52px, 7vw, 84px); color: var(--role-color); background: var(--bot-raised); border-color: color-mix(in srgb, var(--role-color) 45%, transparent); font-size: 19px; }
.collab-role .mini-orbit::after { content: ""; inset: -5px; border: 1px solid currentColor; border-radius: inherit; transform: none; opacity: 0; }
.collab-role strong { margin-top: 16px; font-size: 12px; color: var(--role-color); font-weight: 400; }
.collab-role small { margin-top: 5px; color: var(--bot-muted); font-size: 10px; text-align: center; }
.handoff-rail { position: absolute; z-index: 0; top: clamp(26px, 3.5vw, 42px); left: 16.666%; width: 66.666%; height: 1px; background: #f2f1eb20; }
.handoff-line { display: block; width: 100%; height: 100%; background: var(--bot-accent); transform-origin: left; }
.handoff-packet { position: absolute; inset: 0; opacity: 0; }
.handoff-packet::after { content: ""; display: block; position: absolute; top: -3px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--bot-ink); box-shadow: 0 0 10px 2px #c5bea033; }
.feature-card .team-visual .collab-chip { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; margin: 0 auto 14px; padding: 12px 15px; background: var(--bot-active); border-color: #c5bea026; color: var(--bot-silver); font-size: 11px; border-radius: 9px; }
.collab-chip b { color: var(--bot-accent); font-size: 10px; font-weight: 400; }
.feature-card .team-visual .visual-caption { font-size: 10px; color: var(--bot-muted); }

.feature-card[data-motion-mode="animated"] { --story-play-state: paused; }
.feature-card[data-motion-mode="animated"][data-active="true"] { --story-play-state: running; }
.feature-card[data-motion-mode="animated"] .story-scene *,
.feature-card[data-motion-mode="animated"] .story-scene *::before,
.feature-card[data-motion-mode="animated"] .story-scene *::after {
  animation-duration: var(--story-duration, 7200ms);
  animation-delay: var(--story-offset, 0ms);
  animation-timing-function: cubic-bezier(.2, .75, .25, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  animation-play-state: var(--story-play-state);
}
.feature-card[data-motion-mode="animated"] [data-story-step="1"] { --story-reveal: story-reveal-one; --story-focus: story-focus-one; --story-check: story-check-one; --story-lift: story-lift-one; }
.feature-card[data-motion-mode="animated"] [data-story-step="2"] { --story-reveal: story-reveal-two; --story-focus: story-focus-two; --story-check: story-check-two; --story-lift: story-lift-two; }
.feature-card[data-motion-mode="animated"] [data-story-step="3"] { --story-reveal: story-reveal-three; --story-focus: story-focus-three; --story-check: story-check-three; --story-lift: story-lift-three; }

/* One responsibility at a time; the text never disappears. */
.feature-card[data-motion-mode="animated"][data-feature="identity"] .mini-step::before { content: ""; position: absolute; inset: 0; border-left: 2px solid var(--bot-accent); background: #c5bea00e; animation-name: var(--story-focus); }
.feature-card[data-motion-mode="animated"][data-feature="identity"] .mini-step b { animation-name: var(--story-check); }

/* A request becomes a readable summary, then holds before the next example. */
.feature-card[data-motion-mode="animated"][data-feature="workflow"] .story-request { animation-name: story-request; }
.feature-card[data-motion-mode="animated"][data-feature="workflow"] .story-connector { animation-name: story-connect; }
.feature-card[data-motion-mode="animated"][data-feature="workflow"] .story-connector > i { animation-name: story-connector-line; }
.feature-card[data-motion-mode="animated"][data-feature="workflow"] .mini-step { animation-name: var(--story-reveal); }

/* The initial words recede while their note and the next reply take focus. */
.feature-card[data-motion-mode="animated"][data-feature="context"] .memory-bubble:first-child { animation-name: story-context-input; }
.feature-card[data-motion-mode="animated"][data-feature="context"] .story-connector { animation-name: story-connect; }
.feature-card[data-motion-mode="animated"][data-feature="context"] .story-connector > i { animation-name: story-connector-line; }
.feature-card[data-motion-mode="animated"][data-feature="context"] .memory-note { animation-name: story-context-note; }
.feature-card[data-motion-mode="animated"][data-feature="context"] .memory-bubble.secondary { animation-name: story-context-reply; }

/* The packet traverses the rail with a transform; no layout values are animated. */
.feature-card[data-motion-mode="animated"][data-feature="team"] .collab-role .mini-orbit { animation-name: var(--story-lift); }
.feature-card[data-motion-mode="animated"][data-feature="team"] .collab-role .mini-orbit::after { animation-name: var(--story-focus); }
.feature-card[data-motion-mode="animated"][data-feature="team"] .handoff-line { animation-name: story-handoff-line; }
.feature-card[data-motion-mode="animated"][data-feature="team"] .handoff-packet { animation-name: story-handoff-packet; }
.feature-card[data-motion-mode="animated"][data-feature="team"] .collab-chip { animation-name: story-context-reply; }

@keyframes story-focus-one { 0%, 3%, 100% { opacity: 0; } 10%, 24% { opacity: 1; } 32%, 90% { opacity: .26; } }
@keyframes story-focus-two { 0%, 24%, 100% { opacity: 0; } 32%, 46% { opacity: 1; } 54%, 90% { opacity: .26; } }
@keyframes story-focus-three { 0%, 46%, 100% { opacity: 0; } 54%, 70% { opacity: 1; } 78%, 90% { opacity: .26; } }
@keyframes story-check-one { 0%, 11%, 100% { opacity: 0; transform: scale(.75); } 18%, 90% { opacity: 1; transform: scale(1); } }
@keyframes story-check-two { 0%, 33%, 100% { opacity: 0; transform: scale(.75); } 40%, 90% { opacity: 1; transform: scale(1); } }
@keyframes story-check-three { 0%, 55%, 100% { opacity: 0; transform: scale(.75); } 62%, 90% { opacity: 1; transform: scale(1); } }
@keyframes story-reveal-one { 0%, 18%, 100% { opacity: 0; transform: translateY(6px); } 27%, 90% { opacity: 1; transform: translateY(0); } }
@keyframes story-reveal-two { 0%, 33%, 100% { opacity: 0; transform: translateY(6px); } 42%, 90% { opacity: 1; transform: translateY(0); } }
@keyframes story-reveal-three { 0%, 48%, 100% { opacity: 0; transform: translateY(6px); } 57%, 90% { opacity: 1; transform: translateY(0); } }
@keyframes story-request { 0%, 100% { opacity: 0; transform: translateY(8px); } 8%, 90% { opacity: 1; transform: translateY(0); } }
@keyframes story-connect { 0%, 9%, 100% { opacity: 0; } 20%, 90% { opacity: 1; } }
@keyframes story-connector-line { 0%, 9%, 100% { transform: scaleY(0); } 20%, 90% { transform: scaleY(1); } }
@keyframes story-context-input { 0%, 100% { opacity: 0; transform: translateY(8px); } 9%, 26% { opacity: 1; transform: translateY(0); } 40%, 90% { opacity: .66; transform: translateY(-3px); } }
@keyframes story-context-note { 0%, 24%, 100% { opacity: 0; transform: translateY(8px) scale(.97); } 36%, 90% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes story-context-reply { 0%, 50%, 100% { opacity: 0; transform: translateY(8px); } 62%, 90% { opacity: 1; transform: translateY(0); } }
@keyframes story-lift-one { 0%, 3%, 30%, 100% { transform: translateY(0); } 10%, 22% { transform: translateY(-3px); } }
@keyframes story-lift-two { 0%, 24%, 52%, 100% { transform: translateY(0); } 32%, 44% { transform: translateY(-3px); } }
@keyframes story-lift-three { 0%, 46%, 74%, 100% { transform: translateY(0); } 54%, 66% { transform: translateY(-3px); } }
@keyframes story-handoff-line { 0%, 10%, 100% { opacity: 0; transform: scaleX(0); } 14% { opacity: 1; transform: scaleX(0); } 32%, 38% { opacity: 1; transform: scaleX(.5); } 54%, 90% { opacity: 1; transform: scaleX(1); } }
@keyframes story-handoff-packet { 0%, 10% { opacity: 0; transform: translateX(0); } 14% { opacity: 1; transform: translateX(0); } 32%, 38% { opacity: 1; transform: translateX(50%); } 54%, 64% { opacity: 1; transform: translateX(100%); } 70%, 100% { opacity: 0; transform: translateX(100%); } }
@media (max-width: 820px) {
  .bot-workspace-page { --bot-gutter: 20px; }
  .bot-workspace-page .bot-header { min-height: 68px; }
  .bot-workspace-page .bot-hero { padding-top: 26px; padding-bottom: 21px; align-items: start; }
  .bot-workspace-page .bot-hero .hero-intro { font-size: 12px; }
  .bot-workspace-page .bot-experience, .bot-workspace-page .bot-experience[data-expanded="true"] { display: block; padding-bottom: 42px; }
  .bot-workspace-page .bot-overview, .bot-workspace-page .bot-experience[data-expanded="true"] .bot-overview { display: none; }
  .bot-workspace-page .bot-device, .bot-workspace-page .bot-device[data-format="tablet"] { height: max(480px, calc(100svh - 247px)); min-height: 480px; }
  .bot-workspace-page .bot-device[data-format="tablet"] .device-sidebar { width: 165px; flex-basis: 165px; }
  .bot-workspace-page .bot-message p { font-size: 15px; }
  .bot-workspace-page .device-caption { font-size: 10px; gap: 10px; }
}
@media (max-width: 600px) {
  .bot-workspace-page { --bot-gutter: 12px; }
  .bot-workspace-page .bot-header { padding-inline: 18px; }
  .bot-workspace-page .bot-hero { padding: 19px 20px 18px; display: block; }
  .bot-workspace-page .bot-hero .eyebrow { font-size: 9px; margin-bottom: 5px; }
  .bot-workspace-page .bot-hero h1 { font-size: 26px; }
  .bot-workspace-page .bot-hero .hero-intro { margin-top: 8px; font-size: 12px; }
  .bot-workspace-page .bot-hero .hero-intro br { display: none; }
  .bot-workspace-page .bot-hero .hero-intro span { margin-left: 6px; }
  .bot-workspace-page .bot-device, .bot-workspace-page .bot-device[data-format="tablet"] { height: max(475px, calc(100svh - 222px)); min-height: 475px; width: 100%; border-radius: 11px; }
  .bot-workspace-page .device-window-label { font-size: 9px; letter-spacing: 0; }
  .device-windowbar { padding-left: 12px; }
  .bot-workspace-page .device-toolbar, .bot-workspace-page .bot-device[data-format="tablet"] .device-toolbar { padding: 6px 10px; min-height: 59px; }
  .bot-workspace-page .bot-device[data-format="tablet"] .device-workspace { flex-direction: column; }
  .bot-workspace-page .bot-device[data-format="tablet"] .device-sidebar { flex-basis: auto; width: 100%; display: flex; gap: 5px; padding: 6px 9px; }
  .bot-workspace-page .bot-device[data-format="tablet"] .device-sidebar button { flex: 0 0 auto; flex-direction: row; width: auto; min-height: 44px; padding: 5px 9px; gap: 6px; margin: 0; }
  .bot-workspace-page .bot-device[data-format="tablet"] .device-sidebar .bot-orbit { width: 22px; height: 22px; }
  .bot-workspace-page .bot-device[data-format="tablet"] .device-sidebar .collection-copy strong { font-size: 12px; }
  .bot-workspace-page .message-log, .bot-workspace-page .bot-device[data-format="tablet"] .message-log { padding: 17px 12px; gap: 13px; }
  .bot-workspace-page .bot-message, .bot-workspace-page .bot-device[data-format="tablet"] .bot-message { max-width: 94%; padding: 9px 12px; }
  .bot-workspace-page .message-composer, .bot-workspace-page .bot-device[data-format="tablet"] .message-composer { padding: 10px 8px 0; gap: 6px; }
  .bot-workspace-page .message-composer textarea { padding: 11px 9px; }
  .bot-workspace-page .composer-note { font-size: 9px; white-space: nowrap; }
  .bot-workspace-page .device-caption { margin-top: 6px; }
  .bot-workspace-page .device-caption > a { margin-left: auto; }
  .bot-workspace-page .bot-device[data-window-state="minimized"] { min-height: 46px; height: 46px; }
  .bot-workspace-page .bot-device[data-window-state="closed"] { min-height: 240px; height: 240px; }
  .bot-workspace-page .feature-card { padding: 22px; }
  .bot-workspace-page .section-heading { margin-bottom: 30px; }
  .bot-workspace-page .bot-possibilities, .bot-workspace-page .bot-pricing { padding-top: 48px; padding-bottom: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .price-card { --price-progress: 1 !important; }
  .pricing-enhanced .price-shell { clip-path: none !important; }
  .pricing-enhanced .price-body, .feature-card .feature-visual, .device-main { opacity: 1 !important; transform: none !important; }
  .mini-line { transform: none !important; }
}
