/* The app clone on the homepage, and the tour's extension scene, draw with
   the app's own tokens. These values are copied from
   design-system/foundations/tokens.css (the light and dark blocks and the
   shared scale), because the site is served on its own and cannot load files
   from outside website/public. When the tokens change there, change them
   here too. */

/* The clone draws the app in its light theme, and the phone beside it in
   dark. The dark block below is the app's dark tokens, which the phone wears,
   and the light block after it is the app's light tokens, which the window
   wears. Both are copied from design-system/foundations/tokens.css. */

/* The faces carry their own names so that the rest of the page, whose font
   stacks also list Inter and JetBrains Mono, keeps the fonts it had. */
@font-face { font-family: 'Clone Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Clone Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Clone Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Clone JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Clone JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }

.ac, .ac[data-mode='light'] .ac-phone {
  --sem-color-bg-app: #040404;
  --sem-color-bg-surface: #080808;
  --sem-color-bg-surface-raised: #0c0c0c;
  --sem-color-bg-unread: rgba(252, 252, 252, 0.035);
  --sem-color-bg-well: rgba(252, 252, 252, 0.06);
  --sem-color-bg-hover: #141414;
  --sem-color-bg-active: #181818;
  --sem-color-bg-selected: #1c1c1c;
  --sem-color-bg-selected-resting: #181818;
  --sem-color-text-primary: #f4f4f4;
  --sem-color-text-default: #d0d0d0;
  --sem-color-text-muted: #949494;
  --sem-color-text-subtle: #808080;
  --sem-color-text-disabled: #646464;
  --sem-color-text-on-accent: #040404;
  --sem-color-border-subtle: rgba(252, 252, 252, 0.11);
  --sem-color-border-default: rgba(252, 252, 252, 0.14);
  --sem-color-border-strong: rgba(252, 252, 252, 0.18);
  --sem-color-accent-primary: #3f9468;
  --sem-color-accent-hover: #4daf7d;
  --sem-color-accent-soft: rgba(63, 148, 104, 0.14);
  --sem-color-accent-soft-strong: rgba(63, 148, 104, 0.22);
  --sem-color-status-neutral: #949494;
  --sem-color-status-good: #72ba88;
  --sem-color-status-warn: #fcc030;
  --sem-color-status-danger: #d17e75;
  --sem-color-status-info: #5ea0f2;
  --sem-color-status-good-soft: rgba(114, 186, 136, 0.18);
  --sem-color-status-warn-soft: rgba(252, 192, 48, 0.18);
  --sem-color-status-danger-soft: rgba(209, 126, 117, 0.18);
  --sem-color-diff-added: #72ba88;
  --sem-color-diff-removed: #d17e75;
  --sem-color-mark-blue: #5ea0f2;
  --sem-color-mark-orange: #fb923c;
  --sem-color-mark-teal: #2dd4bf;
  --sem-color-mark-red: #fc787c;
  --sem-color-chart-1: #0c84fa;
  --sem-color-chart-2: #ea630c;
  --sem-color-chart-3: #1ba995;
  --sem-color-chart-4: #b85dde;
  --sem-color-chart-other: #949494;
  --sem-color-agent-trail-ink: #b49af0;
  --sem-color-pill-agents: #69b88a;
  --sem-color-pill-tasks: #5aa2e6;
  --sem-color-pill-pr: #e0895a;
  --sem-color-pill-running: #47c2c2;
  --sem-color-pill-mcp: #7183f5;
  --sem-color-pill-skills: #ec7fb2;
  --sem-shadow-popover: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 40px -8px rgba(0, 0, 0, 0.6);
  --sem-shadow-control-raised: inset 0 1px 0 rgba(255, 255, 255, 0.12);

  --sem-font-family-ui: "Clone Inter", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sem-font-family-mono: "Clone JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sem-font-size-micro: 11px;
  --sem-font-size-meta: 12px;
  --sem-font-size-body: 13px;
  --sem-font-size-heading: 14px;
  --sem-font-size-title: 16px;
  --sem-font-line-default: 1.4;
  --sem-font-line-relaxed: 1.5;
  --sem-font-line-code: 1.6;
  --sem-font-tracking-tight: -0.01em;
  --sem-icon-size-xs: 13px;
  --sem-icon-size-sm: 16px;
  --sem-radius-chip: 4px;
  --sem-radius-control: 6px;
  --sem-radius-overlay: 8px;
  --sem-radius-shell: 12px;
  --sem-radius-composer: 16px;
  --sem-radius-pill: 999px;
  --sem-space-3xs: 2px;
  --sem-space-2xs: 4px;
  --sem-space-xs: 6px;
  --sem-space-sm: 8px;
  --sem-space-md: 10px;
  --sem-space-lg: 12px;
  --sem-space-xl: 16px;
  --sem-space-2xl: 20px;
  --sem-space-3xl: 24px;
  --sem-space-4xl: 32px;
  --sem-size-control-xs: 26px;
  --sem-size-control-sm: 30px;
  --sem-size-control-md: 34px;
  --sem-size-chat-pill: 28px;
}

/* The app's light tokens. In the light theme the frame, the chat list, the
   chat and the composer all sit on white, told apart by hairlines. */
.ac[data-mode='light'] {
  --sem-color-bg-app: #ffffff;
  --sem-color-bg-surface: #ffffff;
  --sem-color-bg-surface-raised: #ffffff;
  --sem-color-bg-well: rgba(32, 36, 40, 0.05);
  --sem-color-bg-hover: #f0f0f4;
  --sem-color-bg-active: #e0e4e8;
  --sem-color-bg-selected: #d8dce0;
  --sem-color-text-primary: #1c2024;
  --sem-color-text-default: #343c44;
  --sem-color-text-muted: #646c78;
  --sem-color-text-subtle: #6e7682;
  --sem-color-text-disabled: #808894;
  --sem-color-text-on-accent: #ffffff;
  --sem-color-border-subtle: rgba(32, 36, 40, 0.10);
  --sem-color-border-default: rgba(32, 36, 40, 0.20);
  --sem-color-border-strong: rgba(32, 36, 40, 0.30);
  --sem-color-accent-primary: #2f6a4a;
  --sem-color-status-good: #467c58;
  --sem-color-status-warn: #9a6000;
  --sem-color-status-danger: #a14036;
  --sem-color-status-good-soft: rgba(70, 124, 88, 0.20);
  --sem-color-status-warn-soft: rgba(204, 132, 0, 0.20);
  --sem-color-status-danger-soft: rgba(161, 64, 54, 0.16);
  --sem-color-chart-1: #077ef0;
  --sem-color-pill-agents: #2f8a5b;
  --sem-color-pill-tasks: #2b6cd4;
  --sem-color-pill-pr: #b5571f;
  --sem-color-pill-running: #0f7c78;
  --sem-color-pill-mcp: #4c5fd5;
  --sem-color-pill-skills: #c23b7e;
  --sem-shadow-popover: 0 1px 2px rgba(16, 20, 24, 0.08), 0 12px 32px -8px rgba(16, 20, 24, 0.22);
  --sem-shadow-control-raised: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
