/* Floom — "How it works" (gmail-digest) launch-video storyboard
   Canonical Floom tokens (live design.floom.dev/app) — /root/workeros-launch-video/CLAUDE.md
   Cool palette only. No warm cream. No borders on cards. One accent (#3E6FE0). No em dashes. */

:root {
  --bg-app: #FBFBFC;
  --bg-card: #FFFFFF;
  --bg-2: #F3F4F6;
  --bg-3: #ECEDF0;

  --ink: #16171A;
  --ink-soft: #3a3b40;
  --muted: #6B7280;

  --primary: #16171A;
  --accent: #3E6FE0;
  --accent-deep: #2F58C0;
  --accent-soft: #EEF3FE;

  --line: rgba(16,17,20,.09);
  --line-soft: rgba(16,17,20,.055);

  --success: #2F8F5B;
  --success-fg: #246B45;
  --success-bg: rgba(47,143,91,.10);
  --warning: #C98A1A;
  --warning-fg: #8A5B0E;
  --warning-bg: rgba(201,138,26,.12);

  --claude: #D97757;

  --radius-card: 18px;
  --radius-button: 12px;
  --radius-pill: 9999px;

  --shadow-card: 0 2px 8px rgba(16,23,42,.05), 0 16px 34px rgba(16,23,42,.05);
  --shadow-pop: 0 10px 26px rgba(16,23,42,.10), 0 2px 6px rgba(16,23,42,.06);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 1920px;
  height: 1080px;
  background: var(--bg-app);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

.stage {
  width: 1920px;
  height: 1080px;
  position: relative;
  background: var(--bg-app);
  overflow: hidden;
}

/* ambient cool-blue wash — big + soft so frames never read as white documents */
.ambient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 800px at 13% 0%, rgba(62,111,224,0.16), transparent 58%),
    radial-gradient(1320px 860px at 90% 102%, rgba(62,111,224,0.13), transparent 58%),
    radial-gradient(1100px 1100px at 50% 48%, rgba(62,111,224,0.06), transparent 68%);
}

.stage.plane { background: var(--bg-2); }
.stage.plane .ambient-bg {
  background:
    radial-gradient(1080px 740px at 50% 46%, rgba(255,255,255,0.78), transparent 66%),
    radial-gradient(1200px 800px at 11% 2%, rgba(62,111,224,0.11), transparent 60%),
    radial-gradient(1280px 840px at 91% 100%, rgba(62,111,224,0.10), transparent 60%);
}

/* ---- brand chrome ---- */
.brand-header {
  position: absolute;
  top: 54px;
  left: 64px;
  display: flex;
  align-items: center;
  gap: 13px;
  z-index: 20;
}
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; display: block; }
.brand-word {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-mid {
  color: var(--muted);
  font-weight: 600;
  font-size: 20px;
  margin: 0 3px;
}
.brand-platform { display: flex; align-items: center; gap: 8px; }
.brand-platform-glyph { flex-shrink: 0; display: block; }
.brand-platform-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.scene-tag {
  position: absolute;
  top: 64px;
  right: 64px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 20;
}

.footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 66px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.02em;
  z-index: 20;
}
.stage.plane .footer { border-top: 1px solid rgba(16,17,20,.07); }

/* ---- content ---- */
.content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 6;
  padding: 0 100px;
}

.eyebrow {
  font-size: 26px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  text-align: center;
}

.headline {
  font-size: 84px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.038em;
  text-align: center;
  line-height: 1.05;
}
.headline .accent { color: var(--accent); }

.subhead {
  font-size: 28px;
  color: var(--muted);
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
  line-height: 1.35;
}

/* headline pinned to a top band */
.headline-top {
  position: absolute;
  top: 128px;
  left: 0; right: 0;
  text-align: center;
  z-index: 15;
  padding: 0 120px;
}
.headline-top .headline { font-size: 60px; line-height: 1.07; }
.headline-top .subhead { font-size: 26px; margin-top: 16px; }

/* ---- Claude Code window mock (light surface, per no-black-terminal rule) ---- */
.cc-window {
  width: 1240px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.cc-titlebar {
  height: 62px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
}
.cc-dots { display: flex; gap: 9px; }
.cc-dots i { width: 13px; height: 13px; border-radius: 50%; display: block; }
.cc-dots i:nth-child(1) { background: #E0655C; }
.cc-dots i:nth-child(2) { background: #E3B341; }
.cc-dots i:nth-child(3) { background: #4FB06A; }
.cc-title { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.cc-title .glyph { flex-shrink: 0; display: block; }
.cc-title .t { font-family: var(--font-mono); font-size: 19px; font-weight: 600; color: var(--ink-soft); letter-spacing: -0.01em; }
.cc-body { padding: 42px 50px 46px; display: flex; flex-direction: column; gap: 28px; }

.msg { display: flex; gap: 18px; align-items: flex-start; }
.msg .who {
  font-family: var(--font-mono); font-size: 26px; font-weight: 700;
  flex-shrink: 0; width: 38px; line-height: 1.35;
}
.msg.user .who { color: var(--accent); }
.msg.asst .who { color: var(--claude); }
.msg .txt { font-family: var(--font-mono); font-size: 31px; font-weight: 500; color: var(--ink); line-height: 1.4; letter-spacing: -0.01em; }
.msg .txt .dim { color: var(--muted); }
.msg .txt .kw { color: var(--accent); }
.msg-done { display: inline-flex; align-items: center; gap: 11px; margin-top: 6px; font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: var(--success-fg); }
.caret { display: inline-block; width: 15px; height: 34px; background: var(--accent); vertical-align: -6px; margin-left: 4px; border-radius: 2px; }

/* ---- worker card ---- */
.worker-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 36px;
  width: 620px;
}
.wc-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.wc-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--success); flex-shrink: 0; box-shadow: 0 0 0 5px var(--success-bg); }
.wc-name { font-family: var(--font-mono); font-size: 29px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.wc-status { margin-left: auto; font-size: 18px; font-weight: 600; color: var(--success-fg); background: var(--success-bg); padding: 7px 16px; border-radius: var(--radius-pill); }
.wc-sub { font-size: 23px; color: var(--muted); font-weight: 500; }
.wc-sub .mid { color: var(--line); margin: 0 10px; }

/* ---- editor chips (s07) ---- */
.editor-chip {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.editor-chip .glyph { flex-shrink: 0; display: block; }
.editor-chip .label { font-size: 27px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }

.cmd-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  padding: 18px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cmd-pill .prompt { color: var(--muted); }
.cmd-pill .kw { color: var(--accent); }
