/* ── claude-2.html's hero ─────────────────────────────────────────────
   A second take on claude.html's: the headline stacked on the left, the
   homepage's stage (css/home.css) on the right. Under the headline, the
   Connect Claude box, closed until clicked, then three finished cases.

   Only claude-2.html links this sheet. Everything is scoped under
   .c2-hero, and it reuses the homepage's pieces: the prompt is
   .gh-cta-box (js/copy-prompt.js copies it), the stage is home.css's.
   Under 980px the stage stacks under the copy, as on the homepage. */

.c2-hero .c2-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.c2-hero .c2-copy { min-width: 0; }

/* ── the headline: three lines, the middle one set apart ────────────── */

.c2-hero .c2-eyebrow {
  margin: 0 0 14px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.agents-hero.c2-hero .c2-title {
  margin: 0 0 22px;
  font-size: clamp(40px, 4.9vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.c2-hero .c2-l { display: block; }
/* "Document": the serif's italic, in the accent — and the trigger that turns
   the page, its dashed underline from home.css */
.agents-hero.c2-hero .c2-title .c2-doc {
  font-family: var(--serif);
  font-size: 1.08em;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--accent);
}
.c2-hero .c2-uses {
  display: block;
  max-width: 26em;
  margin-top: 16px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--graphite);
}
.c2-hero .c2-uses b { font-weight: 650; color: var(--ink); }
body.is-inverted .c2-hero .c2-uses,
body.is-inverted .c2-hero .c2-uses b { color: #d2d2cd; }

/* ── Connect Claude: closed it is one line and a plus ───────────────── */

.c2-hero .c2-agent-wrap { margin: 0 0 20px; }
.c2-hero .c2-agent {
  background: var(--desk);
  color: #f1f0ea;
}
.c2-hero .c2-agent summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px 15px 15px;
  list-style: none;
  cursor: pointer;
}
.c2-hero .c2-agent summary::-webkit-details-marker { display: none; }
.c2-hero .c2-agent summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.c2-hero .c2-agent-mark {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #3b3b37;
}
.c2-hero .c2-agent-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #d97757;
  stroke-width: 1.8;
  stroke-linecap: round;
  transition: transform 0.6s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.c2-hero .c2-agent summary:hover .c2-agent-mark svg,
.c2-hero .c2-agent[open] .c2-agent-mark svg { transform: rotate(45deg); }
.c2-hero .c2-agent-t { flex: 1; min-width: 0; }
.c2-hero .c2-agent-t b {
  display: block;
  font: 700 18px/1.15 var(--sans);
  letter-spacing: -0.02em;
  color: #ffffff;
}
.c2-hero .c2-agent-t i {
  display: block;
  margin-top: 4px;
  font: normal 11px/1.3 var(--mono);
  letter-spacing: 0.05em;
  color: #a9a8a0;
}
.c2-hero .c2-agent-go {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #ffffff;
}
.c2-hero .c2-agent-go svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.25s ease;
}
/* the plus turns to a cross while it is open */
.c2-hero .c2-agent[open] .c2-agent-go svg { transform: rotate(45deg); }

/* ── open: the prompt, then the points one after another ─────────────── */

.c2-hero .c2-agent-body {
  padding: 2px 16px 18px;
  border-top: 1px solid #2b2b28;
}
.c2-hero .c2-agent-body .gh-cta-l {
  margin: 14px 0 8px;
  padding-left: 0;
  color: #a9a8a0;
}
.c2-hero .c2-agent-body .gh-cta-box { border-color: #2b2b28; border-left-color: var(--accent); box-shadow: none; }
.c2-hero .c2-agent-body .gh-cta-p { padding: 12px 46px 12px 14px; font-size: 13px; }
.c2-hero .c2-steps {
  display: grid;
  gap: 11px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: c2-step;
}
.c2-hero .c2-steps li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #c9c8c0;
}
.c2-hero .c2-steps li::before {
  counter-increment: c2-step;
  content: counter(c2-step);
  font: 500 11px/1.8 var(--mono);
  color: var(--accent);
}
.c2-hero .c2-steps b { font-weight: 600; color: #ffffff; }
.c2-hero .c2-agent[open] .c2-agent-body > * { animation: c2-in 0.4s ease-out both; }
.c2-hero .c2-agent[open] .c2-steps li { animation: c2-in 0.45s ease-out both; }
.c2-hero .c2-agent[open] .c2-steps li:nth-child(1) { animation-delay: 0.35s; }
.c2-hero .c2-agent[open] .c2-steps li:nth-child(2) { animation-delay: 0.75s; }
.c2-hero .c2-agent[open] .c2-steps li:nth-child(3) { animation-delay: 1.15s; }
.c2-hero .c2-agent[open] .c2-agent-more { animation-delay: 1.5s; }
@keyframes c2-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.c2-hero .c2-agent-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 0;
  font: 11px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.c2-hero .c2-agent-more a {
  color: #f1f0ea;
  text-decoration: none;
  border-bottom: 1px dashed #66665f;
}
.c2-hero .c2-agent-more a:hover,
.c2-hero .c2-agent-more a:focus-visible { border-bottom-color: var(--accent); }

/* ── three finished cases ───────────────────────────────────────────── */

.c2-hero .c2-cases-l {
  margin: 0 0 10px;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--graphite);
}
.c2-hero .c2-case-row { display: flex; flex-wrap: wrap; gap: 6px; }
.c2-hero .c2-case { margin: 0; }
.c2-hero .c2-case button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: 600 12.5px/1 var(--sans);
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.17s, transform 0.17s;
}
.c2-hero .c2-case button:hover,
.c2-hero .c2-case button:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
  outline: none;
}
.c2-hero .c2-case svg { width: 11px; height: 11px; color: var(--accent); }

/* ── the stage, beside the copy ────────────────────────────────────────
   Out of the homepage's float into its own column; its blank top band
   (the stage starts its tool row 84px down) pulled up out of the clipped
   box, as on the homepage. */

@media (min-width: 981px) {
  .agents-hero.c2-hero .gh-stage-wrap {
    float: none;
    width: auto;
    height: 400px;
    margin: 0;
  }
  .agents-hero.c2-hero .gh-stage { transform: scale(0.8); margin-top: -66px; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .agents-hero.c2-hero .gh-stage-wrap { height: 330px; }
  .agents-hero.c2-hero .gh-stage { transform: scale(0.66); margin-top: -55px; }
}
@media (max-width: 980px) {
  .c2-hero .c2-row { grid-template-columns: minmax(0, 1fr); }
  .agents-hero.c2-hero .gh-stage-wrap { margin: 30px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .c2-hero .c2-agent[open] .c2-agent-body > *,
  .c2-hero .c2-agent[open] .c2-steps li { animation: none; }
  .c2-hero .c2-agent-mark svg,
  .c2-hero .c2-agent-go svg { transition: none; }
}
