/* Tara page (/tara). Built from the site's own tokens, type, tags, buttons and
   notched card so it reads as part of tahoebio.ai. Loaded only by tara.html. */

/* Hero: tag and headline on the left, subtext and actions on the right */
.tara-hero_grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas: "tag ." "title body";
  gap: 1.5rem 4rem;
  align-items: start;
}
.tara-hero_tag { grid-area: tag; }
.tara-hero_title { grid-area: title; }
/* Desktop only: the site's own h1 sizes apply at tablet and mobile. */
@media screen and (min-width: 992px) {
  .tara-hero_title { font-size: clamp(3.25rem, 5vw, 4.5rem); }
}
.tara-nowrap { white-space: nowrap; }
/* Starts the subtext's first line level with the headline's cap height
   (cap top sits ~0.28em into the headline's line box, ~7px into the text's). */
.tara-hero_body { grid-area: body; padding-top: calc(clamp(3.25rem, 5vw, 4.5rem) * 0.28 - 7px); }
.tara-hero_body p { margin: 0; }
.tara-copy-button {
  border: 0;
  font: inherit;
  cursor: pointer;
  justify-content: center;
  min-width: 15.5rem;
}
.tara-copy-button:hover,
.tara-hero_body .button.is-secondary:hover { opacity: 0.9; }
.tara-hero_body .tara-hero_hint {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.6;
}

/* Demo frame: Tahoe's gradient behind the example card and its question pills */
.tara-demo-frame {
  background-color: var(--base-color-neutral--neutral-lightest);
}
.tara-demo-frame_inner {
  position: relative;
  z-index: 1;
  padding: 5rem 4rem 3.5rem;
}

/* Demo: Shreshth's Codex run. The window is drawn at a fixed design size in em
   and scales with the frame (container units), so it reads like a screenshot
   at every width while staying sharp. Hidden from assistive tech; the figure's
   caption describes it. */
.tara-demo-frame_inner { container-type: inline-size; }
.tara-app {
  position: relative;
  z-index: 2;
  max-width: 76rem;
  margin: 0 auto;
  font-size: clamp(7px, calc(100cqw / 84), 13.5px);
}
.tara-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.tara-app_window {
  overflow: hidden;
  border-radius: 0.875em;
  background-color: #0b0b0c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2.5em 5em -1.5em rgba(12, 35, 64, 0.55);
  color: #e8e8e8;
  text-align: left;
}
.tara-app_titlebar {
  display: flex;
  align-items: center;
  gap: 1.25em;
  height: 2.75em;
  padding: 0 1.125em;
  border-bottom: 1px solid #1d1d20;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1em;
}
.tara-app_lights { display: flex; gap: 0.5em; }
.tara-app_lights i { width: 0.8em; height: 0.8em; border-radius: 50%; background-color: #ff5f57; }
.tara-app_lights i:nth-child(2) { background-color: #febc2e; }
.tara-app_lights i:nth-child(3) { background-color: #28c840; }
.tara-app_title { flex: 1; color: #d4d4d4; font-size: 0.9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tara-app_name { display: flex; align-items: center; gap: 0.45em; color: #9a9aa0; font-size: 0.85em; }
.tara-app_name svg { width: 1.2em; height: 1.2em; }
.tara-app_body {
  display: grid;
  grid-template-columns: 11em 0.72fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  height: 46em;
}

/* Codex chat */
.tara-app_chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0 1.75em 1.25em;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86em;
  line-height: 1.6;
}
.tara-app_thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  min-height: 0;
  padding: 1.5em 0 1.5em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 3em), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 3em), transparent);
}
.tara-app_chat p { margin: 0; }
.tara-app_chat strong { color: #fff; font-weight: 600; }
.tara-app_bubble {
  align-self: flex-end;
  max-width: 88%;
  padding: 0.75em 1em;
  border-radius: 0.75em;
  background-color: #1a1a1c;
  color: #f2f2f2;
}
.tara-app_chip { color: #8fb3d9; }
.tara-app_chip.is-tara { color: var(--base-color-brand--color); }
.tara-app_worked {
  padding-bottom: 0.6em;
  border-bottom: 1px solid #222226;
  color: #8b8b92;
}
.tara-app_working { display: none; align-items: center; gap: 0.6em; color: var(--base-color-brand--color); }
.tara-app_event { color: #8b8b92; }
.tara-app_steps {
  display: none;
  margin: -0.4em 0 0;
  padding: 0;
  list-style: none;
  color: #8b8b92;
}
.tara-app_steps li { padding: 0.15em 0; }
.tara-app_steps li::before { content: "✓"; margin-right: 0.7em; color: #4fbf7f; }
.tara-app_steps li.is-active::before { content: "•"; color: var(--base-color-brand--color); }
.tara-app_steps b { color: #d4d4d4; font-weight: 500; }
.tara-app_steps i { font-style: normal; color: #6e6e75; }
.tara-app_table {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.2fr;
  column-gap: 1em;
}
.tara-app_table > * { padding: 0.5em 0; border-bottom: 1px solid #1d1d20; }
.tara-app_table > :nth-child(-n + 3) { color: #fff; font-weight: 600; border-bottom-color: #333; }
.tara-app_table.is-ranked { grid-template-columns: auto 1fr auto 1.6fr; }
.tara-app_table.is-ranked > :nth-child(4) { color: #fff; font-weight: 600; border-bottom-color: #333; }
.tara-app_table.is-ranked > :nth-child(4n + 3) { text-align: right; }
.tara-app_composer {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  padding: 0.9em 1em 0.7em;
  border-radius: 0.9em;
  background-color: #1a1a1c;
  color: #f2f2f2;
}
.tara-app_input:empty::before { content: attr(data-placeholder); color: #6e6e75; }
.tara-app_input.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background-color: var(--base-color-brand--color);
  animation: tara-caret 0.9s steps(1) infinite;
}
.tara-app_send {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  background-color: #e8e8e8;
  color: #0b0b0c;
  font-weight: 600;
}

/* In-app browser with the dashboard Tara built */
.tara-app_browser {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-left: 1px solid #1d1d20;
  background-color: #fff;
}
.tara-app_urlbar {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.6em 0.9em;
  background-color: #0b0b0c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
}
.tara-app_tab { padding: 0.3em 0.8em; border-radius: 0.4em; background-color: #1d1d20; color: #d4d4d4; white-space: nowrap; }
.tara-app_url { flex: 1; padding: 0.3em 0.8em; border-radius: 100vw; background-color: #161618; color: #8b8b92; text-align: center; }

.tara-app_browser { container-type: inline-size; }
.tara-dash {
  flex: 1;
  overflow: hidden;
  color: #10233a;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: calc(100cqw / 62);
  line-height: 1.4;
}
.tara-dash_head {
  display: flex;
  align-items: baseline;
  gap: 1.75em;
  padding: 1.1em 2.25em;
  border-bottom: 1px solid #e5e8ec;
}
.tara-dash_logo { font-size: 1.6em; font-weight: 600; letter-spacing: -0.04em; }
.tara-dash_logo span { font-weight: 400; }
.tara-dash_kicker {
  color: #5b6b7d;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tara-dash_link { margin-left: auto; text-decoration: underline; }
.tara-dash_intro { padding: 1.6em 2.25em 0; }
.tara-dash_title { margin: 0.3em 0 0.25em; font-size: 2.4em; line-height: 1.1; letter-spacing: -0.02em; }
.tara-dash_title span { color: var(--base-color-brand--orange); }
.tara-dash_sub { color: #3b4a5c; }
.tara-dash_controls {
  display: flex;
  align-items: flex-end;
  gap: 1.25em;
  margin: 1.4em 2.25em 0;
  padding: 1em 1.25em;
  border: 1px solid #e5e8ec;
  border-radius: 0.4em;
}
.tara-dash_controls > span { display: flex; flex-wrap: wrap; white-space: nowrap; }
.tara-dash_controls em { flex-basis: 100%; margin-bottom: 0.35em; font-style: normal; font-size: 0.9em; }
.tara-dash_field b {
  padding: 0.45em 2.5em 0.45em 0.8em;
  border: 1px solid #c9d0d8;
  border-radius: 0.25em;
  font-weight: 400;
}
.tara-dash_field.is-adagrasib b { box-shadow: inset 3px 0 #e2735b; }
.tara-dash_field.is-rmc b { box-shadow: inset 3px 0 #2f8a77; }
.tara-dash_dose b, .tara-dash_seg b {
  padding: 0.45em 0.8em;
  border: 1px solid #c9d0d8;
  font-weight: 400;
}
.tara-dash_dose b + b, .tara-dash_seg b + b { border-left: 0; }
.tara-dash_dose b.is-on, .tara-dash_seg b.is-on { background-color: #10233a; border-color: #10233a; color: #fff; }
.tara-dash_cards {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1em;
  margin: 1.2em 2.25em 0;
}
.tara-dash_card {
  min-width: 0;
  padding: 1.1em 1.25em;
  border: 1px solid #e5e8ec;
  border-radius: 0.4em;
}
.tara-dash_card-title { margin: 0.25em 0 0.8em; font-size: 1.45em; line-height: 1.2; }
.tara-dash_seg { display: flex; margin-bottom: 0.8em; }
.tara-dash_seg b { flex: 1; text-align: center; }
.tara-dash_card img { display: block; width: 100%; height: auto; }
.tara-dash_legend { display: flex; flex-wrap: wrap; gap: 0.4em 1em; margin: 0.6em 0; font-size: 0.85em; }
.tara-dash_legend span::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.35em; background-color: #e2735b; }
.tara-dash_legend .is-sotorasib::before { background-color: #4aa8d8; }
.tara-dash_legend .is-pocket::before { background-color: #10233a; }
.tara-dash_legend .is-rmc::before { background-color: #2f8a77; }
.tara-heat { font-family: "IBM Plex Mono", monospace; font-size: 0.72em; }
.tara-heat_row {
  display: grid;
  grid-template-columns: 1.75fr repeat(9, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}
.tara-heat_row > span { padding: 0.55em 0; text-align: center; }
.tara-heat_row.is-head > span { padding: 0 0 0.3em; color: #5b6b7d; text-align: left; }
.tara-heat_row .is-dark { color: #fff; }
.tara-heat_row .is-masked { background: repeating-linear-gradient(135deg, #f3f4f6 0 3px, #e6e8eb 3px 5px); color: #8a96a3; }
.tara-heat_label {
  padding-left: 0.6em !important;
  border-left: 2px solid #e2735b;
  font-family: "IBM Plex Sans", sans-serif;
  text-align: left !important;
  white-space: nowrap;
}
.tara-heat_label.is-rmc { border-left-color: #2f8a77; }

/* Caption under the window: a navy pill in the old demo bar's colors, so
   the text sits on its own surface rather than the gradient. */
.tara-app_caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.25rem;
  width: fit-content;
  max-width: 100%;
  margin: 1.75rem auto 0;
  padding: 0.75rem 1.5rem;
  border-radius: 100vw;
  background-color: var(--base-color-brand--navy);
  box-shadow: 0 0.75rem 2rem -1rem rgba(12, 35, 64, 0.6);
  color: #eef2f6;
  font-size: 0.875rem;
  text-align: center;
}
/* Agent strip under the window, on the caption's navy surface: the app the
   current run plays in is lit. */
.tara-harness {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  max-width: 100%;
  margin: 1.75rem auto 0;
  padding: 0.375rem 0.375rem 0.375rem 1.25rem;
  border-radius: 100vw;
  background-color: var(--base-color-brand--navy);
  box-shadow: 0 0.75rem 2rem -1rem rgba(12, 35, 64, 0.6);
  color: #eef2f6;
  font-size: 0.875rem;
}
.tara-harness_label { margin-right: 0.5rem; color: rgba(238, 242, 246, 0.75); }
.tara-harness_app {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 100vw;
  color: rgba(238, 242, 246, 0.6);
  transition: background-color 0.3s, color 0.3s;
}
.tara-harness_app svg { width: 1rem; height: 1rem; }
.tara-harness_app.is-current { background-color: rgba(255, 255, 255, 0.14); color: #fff; }
.tara-demo_available {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1.25rem;
  border-left: 1px solid #1f3c58;
  color: rgba(238, 242, 246, 0.6);
}

/* Playback: the prompt types into the composer and sends, Codex works through
   its tool calls while the dashboard assembles, then the follow-up and its
   answer arrive. Without JS or with reduced motion, the finished run shows. */
.tara-demo_pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--base-color-brand--color);
  animation: tara-pulse 1s ease-in-out infinite;
}
.tara-app_working { display: none; align-items: center; gap: 0.6em; color: var(--base-color-brand--color); }
.tara-app_working .tara-demo_pulse { width: 0.6em; height: 0.6em; }
.tara-app_worked.is-working .tara-app_working { display: inline-flex; }
.tara-app_worked.is-working .tara-app_done { display: none; }
.tara-app_worked.is-working + .tara-app_steps { display: block; }
.tara-app:not(.is-playing) [data-tara-intro] { display: none; }
/* Two runs share the window; only the current one's thread and page show. */
.tara-app_thread:not(.is-current),
.tara-app [data-tara-view]:not(.is-current) { display: none; }
.tara-app_page { position: relative; flex: 1; min-height: 0; overflow: hidden; contain: layout paint; clip-path: inset(0); background-color: #fff; }
.tara-app_browser { min-height: 0; overflow: hidden; }
.tara-app_page iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--tara-page-w, 1280px);
  height: var(--tara-page-h, 200%);
  border: 0;
  zoom: var(--tara-page-s, 0.5);
  pointer-events: none;
}
@supports not (zoom: 1) {
  .tara-app_page iframe { zoom: normal; transform: scale(var(--tara-page-s, 0.5)); transform-origin: 0 0; }
}
.tara-app_steps li:not(.is-in) { display: none; }
.tara-app.is-playing [data-tara-step]:not(.is-in) { display: none; }
.tara-app.is-playing [data-tara-step].is-in { animation: tara-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; }
.tara-app.is-playing [data-tara-build] { transition: opacity 0.45s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.tara-app.is-playing [data-tara-build]:not(.is-in) { opacity: 0; transform: translateY(6px); }
.tara-app.is-playing .tara-heat_row { transition: opacity 0.3s; }
.tara-app.is-playing [data-tara-build]:not(.is-in) .tara-heat_row { opacity: 0; }
.tara-app.is-playing .tara-heat_row { transition-delay: calc(var(--r, 0) * 70ms + 0.3s); }
/* The agent's page slides into the empty browser pane once it is served. */
.tara-app.is-blank [data-tara-view] { display: none; }
.tara-app.is-playing:not(.is-blank) [data-tara-view].is-current { animation: tara-slide 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes tara-caret { 50% { opacity: 0; } }
@keyframes tara-pulse { 50% { opacity: 0.3; } }
@keyframes tara-slide {
  from { opacity: 0; transform: translateX(8%); }
  to { opacity: 1; transform: none; }
}
@keyframes tara-rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Install */
.tara-install_grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.tara-install_intro p { margin: 0; }
.tara-method + .tara-method {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--base-color-neutral--neutral-lighter);
}
.tara-method_title {
  margin: 0;
  color: var(--base-color-brand--navy);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
}
.tara-method_hint {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.875rem;
  opacity: 0.6;
}
.tara-code {
  display: flex;
  align-items: stretch;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: var(--base-color-brand--navy);
}
.tara-code pre {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
}
.tara-code code {
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tara-code_copy {
  flex: none;
  border: 0;
  padding: 0 1.25rem;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--base-color-brand--color);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
}
.tara-code_copy:hover { background-color: rgba(255, 255, 255, 0.16); }

/* Demo video: a dialog opened from the hero */
.tara-demo-button { display: inline-flex; align-items: center; gap: 0.5rem; }
.tara-demo-button svg { width: 0.875rem; height: 0.875rem; flex: none; }
.tara-video {
  width: min(72rem, calc(100vw - 2rem));
  max-width: none;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}
.tara-video::backdrop { background-color: rgba(8, 24, 40, 0.8); }
.tara-video[open] { animation: tara-rise 0.25s cubic-bezier(0.22, 1, 0.36, 1) both; }
.tara-video_player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  background-color: var(--base-color-neutral--neutral-lightest);
  box-shadow: 0 1.5rem 4rem -1rem rgba(0, 0, 0, 0.5);
}
.tara-video_close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.tara-video_close:hover { background-color: rgba(255, 255, 255, 0.25); }
.tara-video_close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Examples: a light row of outputs, each opening the full thing */
.tara-examples { background-color: var(--base-color-neutral--neutral-lightest); }
.tara-examples_intro { max-width: 40rem; }
.tara-examples_intro p { margin: 0; }
.tara-examples_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}
.tara-example_link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.tara-example_link p { margin: 0; }
.tara-example_image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: top left;
  border-radius: 0.75rem;
  background-color: var(--base-color-neutral--white);
  box-shadow: 0 0 0 1px var(--base-color-neutral--neutral-lighter);
  transition: box-shadow 0.2s ease;
}
a.tara-example_link:hover .tara-example_image { box-shadow: 0 0 0 1px var(--base-color-neutral--neutral-lighter), 0 1rem 2rem -1.25rem rgba(8, 40, 70, 0.35); }
a.tara-example_link:focus-visible { outline: 2px solid var(--base-color-brand--blue); outline-offset: 6px; border-radius: 0.75rem; }
/* The Cursor answer, drawn as findings.md in Cursor's editor like the hero's third run */
.tara-example_cursor {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #181818;
  font-size: 0.8125rem;
}
.tara-example_cursor-bar {
  display: flex;
  flex: none;
  align-items: flex-end;
  gap: 1rem;
  padding: 0 0.875rem;
  border-bottom: 1px solid #2b2b2b;
  background-color: #1f1f1f;
}
.tara-example_cursor-bar .tara-app_lights { align-self: center; }
.tara-example_cursor-tab {
  margin-bottom: -1px;
  padding: 0.55em 1.2em;
  border-top: 1px solid #3794ff;
  background-color: #181818;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85em;
}
.tara-example_cursor .tara-editor_lines { padding: 0.9em 0; font-size: 0.8em; }
.tara-example_cursor .tara-editor_lines li { padding: 0 1.25em 0 3.25em; }
.tara-example_cursor .tara-editor_lines li::before { width: 2em; }
.tara-example_kind {
  margin-top: 1.25rem !important;
  color: var(--base-color-brand--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.tara-example_title { margin: 0.5rem 0; font-size: 1.25rem; line-height: 1.3; }
a.tara-example_link:hover .tara-example_title { text-decoration: underline; text-underline-offset: 0.2em; }
.tara-example_text { color: var(--base-color-neutral--neutral); }
.tara-example_more {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--base-color-brand--blue);
  font-weight: 500;
}

/* Tools */
.tara-tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #1f3c58;
}
.tara-tool {
  padding: 2rem 2rem 2.5rem;
  border-bottom: 1px solid #1f3c58;
  border-left: 1px solid #1f3c58;
}
.tara-tool:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.tara-tool_name {
  color: var(--base-color-brand--color);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.tara-tool p { margin: 0.75rem 0 0; }

@media screen and (max-width: 991px) {
  .tara-hero_grid { grid-template-columns: 1fr; grid-template-areas: "tag" "title" "body"; gap: 1.5rem; }
  .tara-hero_body { padding-top: 0.5rem; }
  .tara-demo-frame_inner { padding: 4rem 2.5rem 3rem; }
  .tara-install_grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tara-examples_list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
  .tara-tools { grid-template-columns: repeat(2, 1fr); }
  .tara-tool:nth-child(3n + 1) { border-left: 1px solid #1f3c58; padding-left: 2rem; }
  .tara-tool:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
}
@media screen and (max-width: 767px) {
  .tara-examples_list { grid-template-columns: 1fr; }
  .tara-app_caption { border-radius: 1rem; }
  .tara-demo_available { padding-left: 0; border-left: 0; }
  .tara-harness { border-radius: 1rem; padding: 0.5rem; }
  .tara-harness_label { width: 100%; margin: 0.25rem 0; text-align: center; }
  .tara-demo-frame { margin-left: -5vw; margin-right: -5vw; }
  .tara-demo-frame_inner { padding: 3rem 5vw 2rem; }
  /* Phone: chat above, then the dashboard's heatmap at full width */
  .tara-app { font-size: 12px; }
  .tara-app_body { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .tara-app_chat { height: 26em; padding: 0 1.25em 1.25em; }
  .tara-app_browser { border-left: 0; border-top: 1px solid #1d1d20; height: 26em; }
  .tara-dash { font-size: calc(100cqw / 40); }
  .tara-dash_head .tara-dash_kicker, .tara-dash_controls { display: none; }
  .tara-dash_cards { grid-template-columns: 1fr; }
  .tara-dash_card:first-child { display: none; }
  .tara-tools { grid-template-columns: 1fr; }
  .tara-tool,
  .tara-tool:nth-child(3n + 1),
  .tara-tool:nth-child(2n + 1) { border-left: 0; padding: 1.5rem 0; }
}
@media screen and (max-width: 479px) {
  .tara-hero_body .button-group { flex-direction: column; align-items: stretch; }
  .tara-hero_body .button { justify-content: center; }
  .tara-copy-button { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tara-demo_pulse,
  .tara-app [data-tara-step] { animation: none !important; }
}

/* Three agents, one window. The figure's is-codex / is-claude / is-cursor
   class picks the app: its sidebar, composer controls and palette. Elements
   marked data-for show only in the apps they list. */
.tara-app.is-codex [data-for]:not([data-for~="codex"]),
.tara-app.is-claude [data-for]:not([data-for~="claude"]),
.tara-app.is-cursor [data-for]:not([data-for~="cursor"]) { display: none !important; }
.tara-harness_app { border: 0; background-color: transparent; font: inherit; cursor: pointer; }
.tara-harness_app:hover { color: #fff; }
.tara-harness_app:focus-visible { outline: 2px solid var(--base-color-brand--color); outline-offset: 2px; }

.tara-app_side {
  min-width: 0;
  padding: 1.1em 0.8em;
  overflow: hidden;
  border-right: 1px solid #1d1d20;
  background-color: #111113;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78em;
}
.tara-side_item {
  margin: 0;
  padding: 0.4em 0.6em;
  overflow: hidden;
  border-radius: 0.45em;
  color: #c9c9cc;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.tara-side_item.is-sub { padding-left: 1.7em; color: #9a9aa0; }
.tara-side_item.is-on { background-color: #232326; color: #fff; }
.tara-side_head { margin: 1.3em 0 0.4em; padding: 0 0.6em; color: #6e6e75; }
.tara-side_head:first-child { margin-top: 0; }

.tara-app_cbar { display: flex; align-items: center; gap: 0.9em; color: #8b8b92; font-size: 0.85em; white-space: nowrap; }
.tara-app_cbar-gap { flex: 1; }
/* Dropdown chevrons, drawn so they sit on the text's centre line in every app's font. */
.tara-app_caret {
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin-left: 0.5em;
  vertical-align: 0.2em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.8;
}
.tara-app_cbar .is-pill { padding: 0.15em 0.6em; border-radius: 100vw; background-color: #2a2a2a; color: #d0d0d0; }
.tara-app.is-codex .tara-app_done::after { content: " ›"; }
.tara-app_diff { color: #4fbf7f; }

/* Cursor's editor, where the agent writes findings.md */
.tara-editor { flex: 1; overflow: hidden; padding: 1em 0; background-color: #181818; }
.tara-editor_lines {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: line;
  color: #cccccc;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8em;
  line-height: 1.7;
}
.tara-editor_lines li {
  position: relative;
  min-height: 1.7em;
  padding: 0 2em 0 4.5em;
  counter-increment: line;
}
.tara-editor_lines li::before {
  content: counter(line);
  position: absolute;
  left: 0;
  width: 3em;
  color: #6e7681;
  text-align: right;
}
.md-h { color: #4fc1ff; font-weight: 600; }
.md-b { color: #e5c07b; font-weight: 600; }
.md-t { color: #c586c0; }
.md-c { color: #8b949e; }
.tara-app.is-playing [data-tara-line]:not(.is-in) { visibility: hidden; }

/* Claude Code: warm greys, sans chat, ⏺ tool lines, orange accents */
.tara-app.is-claude .tara-app_window { background-color: #262624; color: #e8e6dc; }
.tara-app.is-claude .tara-app_titlebar { border-bottom-color: #3a3936; }
.tara-app.is-claude .tara-app_title { color: #c2c0b6; }
.tara-app.is-claude .tara-app_side { border-right-color: #3a3936; background-color: #1f1e1d; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.85em; }
.tara-app.is-claude .tara-side_item { color: #c2c0b6; }
.tara-app.is-claude .tara-side_item.is-on { background-color: #141413; color: #faf9f5; }
.tara-app.is-claude .tara-side_item.is-new { color: #d97757; }
.tara-app.is-claude .tara-side_head { color: #85837b; }
.tara-app.is-claude .tara-app_chat { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.95em; line-height: 1.55; }
.tara-app.is-claude .tara-app_chat strong { color: #faf9f5; }
.tara-app.is-claude .tara-app_bubble { border-radius: 1em; background-color: #141413; color: #faf9f5; }
.tara-app.is-claude .tara-app_chip.is-tara { color: #d97757; }
.tara-app.is-claude .tara-app_worked { border-bottom: 0; padding-bottom: 0; color: #a6a39a; }
.tara-app.is-claude .tara-app_done::before,
.tara-app.is-claude .tara-app_working::before { content: "✻"; color: #d97757; margin-right: 0.5em; }
.tara-app.is-claude .tara-app_working { color: #d97757; }
.tara-app.is-claude .tara-app_working .tara-demo_pulse { display: none; }
.tara-app.is-claude .tara-app_steps { margin-top: -0.6em; color: #a6a39a; font-family: "IBM Plex Mono", monospace; font-size: 0.85em; }
.tara-app.is-claude .tara-app_steps li::before { content: "⏺"; color: #7fb37f; }
.tara-app.is-claude .tara-app_steps li.is-active::before { content: "⏺"; color: #d97757; }
.tara-app.is-claude .tara-app_steps b { color: #faf9f5; }
.tara-app.is-claude .tara-app_steps b::after { content: " -"; }
.tara-app.is-claude .tara-app_steps i { color: #a6a39a; }
.tara-app.is-claude .tara-app_steps i::before { content: "(MCP)("; }
.tara-app.is-claude .tara-app_steps i::after { content: ")"; }
.tara-app.is-claude .tara-app_table { font-family: "IBM Plex Mono", monospace; font-size: 0.88em; }
.tara-app.is-claude .tara-app_table > * { border-bottom-color: #3a3936; }
.tara-app.is-claude .tara-app_composer { border: 1px solid #3d3c39; border-radius: 1.1em; background-color: #30302e; }
.tara-app.is-claude .tara-app_input:empty::before { color: #85837b; }
.tara-app.is-claude .tara-app_send { border-radius: 0.55em; background-color: #d97757; color: #fff; }
.tara-app.is-claude .tara-app_cbar { color: #a6a39a; font-family: ui-sans-serif, system-ui, sans-serif; }
.tara-app.is-claude .tara-app_urlbar { background-color: #1f1e1d; }
.tara-app.is-claude .tara-app_tab { background-color: #30302e; color: #e8e6dc; }
.tara-app.is-claude .tara-app_url { background-color: #262624; color: #a6a39a; }
.tara-app.is-claude .tara-app_browser { border-left-color: #3a3936; }

/* Cursor: editor on the left, the Agent panel on the right */
.tara-app.is-cursor .tara-app_window { background-color: #181818; color: #cccccc; }
.tara-app.is-cursor .tara-app_titlebar { border-bottom-color: #2b2b2b; background-color: #1f1f1f; }
.tara-app.is-cursor .tara-app_title {
  flex: 0 1 26em;
  margin: 0 auto;
  padding: 0.2em 1em;
  border: 1px solid #2b2b2b;
  border-radius: 0.4em;
  background-color: #181818;
  color: #9d9d9d;
  text-align: center;
}
.tara-app.is-cursor .tara-app_body { grid-template-columns: 11em 1fr 0.8fr; }
.tara-app.is-cursor .tara-app_side { order: 1; border-right-color: #2b2b2b; background-color: #181818; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.82em; }
.tara-app.is-cursor .tara-side_head { color: #9d9d9d; font-size: 0.85em; letter-spacing: 0.06em; text-transform: uppercase; }
.tara-app.is-cursor .tara-side_item { border-radius: 0.2em; color: #cccccc; }
.tara-app.is-cursor .tara-side_item.is-on { background-color: #37373d; color: #fff; }
.tara-app.is-cursor .tara-app_browser { order: 2; border-left: 0; background-color: #181818; }
.tara-app.is-cursor .tara-app_chat { order: 3; border-left: 1px solid #2b2b2b; background-color: #141414; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.92em; line-height: 1.55; }
.tara-app.is-cursor .tara-app_urlbar { gap: 0; padding: 0; border-bottom: 1px solid #2b2b2b; background-color: #1f1f1f; }
.tara-app.is-cursor .tara-app_tab { padding: 0.65em 1.4em; border-top: 1px solid #3794ff; border-radius: 0; background-color: #181818; color: #fff; }
.tara-app.is-cursor .tara-app_url { padding: 0 1.2em; border-radius: 0; background-color: transparent; color: #8b8b8b; text-align: left; }
.tara-app.is-cursor .tara-app_bubble { align-self: stretch; max-width: none; border: 1px solid #2b2b2b; border-radius: 0.5em; background-color: #1f1f1f; color: #e4e4e4; }
.tara-app.is-cursor .tara-app_worked { border-bottom: 0; padding-bottom: 0; color: #8b8b8b; }
.tara-app.is-cursor .tara-app_working { color: #3794ff; }
.tara-app.is-cursor .tara-app_working .tara-demo_pulse { background-color: #3794ff; }
.tara-app.is-cursor .tara-app_steps { margin-top: -0.5em; font-size: 0.9em; }
.tara-app.is-cursor .tara-app_steps li { display: flex; align-items: baseline; gap: 0.6em; margin-top: 0.35em; padding: 0.35em 0.7em; border: 1px solid #2b2b2b; border-radius: 0.4em; background-color: #1a1a1a; }
.tara-app.is-cursor .tara-app_steps li::before { content: "MCP"; margin: 0; color: #9d9d9d; font-size: 0.75em; letter-spacing: 0.05em; }
.tara-app.is-cursor .tara-app_steps li.is-active::before { content: "MCP"; color: #3794ff; }
.tara-app.is-cursor .tara-app_steps b { display: none; }
.tara-app.is-cursor .tara-app_steps i { margin-left: auto; color: #8b8b8b; }
.tara-app.is-cursor .tara-app_event { padding: 0.45em 0.7em; border: 1px solid #2b2b2b; border-radius: 0.4em; color: #cccccc; }
.tara-app.is-cursor .tara-app_composer { border: 1px solid #2b2b2b; border-radius: 0.6em; background-color: #1f1f1f; }
.tara-app.is-cursor .tara-app_send { width: 1.6em; height: 1.6em; background-color: #e4e4e4; }

@media screen and (max-width: 767px) {
  .tara-app_side { display: none; }
  .tara-app.is-cursor .tara-app_body { grid-template-columns: 1fr; }
  .tara-app.is-cursor .tara-app_browser { order: 3; border-top: 1px solid #2b2b2b; }
  .tara-app.is-cursor .tara-app_chat { order: 2; border-left: 0; }
  .tara-harness_label { display: none; }
}

