/* v3 only, on top of assets/site.css */
.nav-book { display: none; }
@media (min-width: 768px) { .nav-book { display: inline-block; } }
.under-btn { margin-top: var(--s2); color: var(--quiet); font-size: var(--t-small); }
.label-h { font-size: var(--t-small); color: var(--accent); letter-spacing: 0; margin-bottom: var(--s3); }
.stack .statement { max-width: 24ch; margin-top: var(--s2); }
.stack .statement:first-child { margin-top: 0; }
.accent-line { color: var(--ink); border-left: 2px solid var(--accent); padding-left: var(--s2); }

/* Your team + your AI team: two columns joined by a plus */
.pair { width: 100%; border-collapse: collapse; margin-top: var(--s4); table-layout: fixed; }
.pair th, .pair td { text-align: left; padding: var(--s3) 0; border-top: 1px solid var(--rule); vertical-align: top; }
.pair thead th { font-size: var(--t-h2); line-height: 1.1; font-weight: 600; border-top: 0; padding-top: 0; }
.pair thead th.ai { color: var(--accent); }
.pair .plus { width: 72px; text-align: center; color: var(--accent); border-top: 0; }
.pair tbody td { font-size: var(--t-lead); line-height: 1.35; color: var(--quiet); }
.pair tbody td.ai { color: var(--ink); border-top-color: rgba(32, 230, 159, .45); }
@media (max-width: 767px) {
  .pair, .pair thead, .pair tbody, .pair tr, .pair th, .pair td { display: block; width: auto; }
  .pair thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pair .plus { display: none; }
  .pair tr { border-top: 1px solid var(--rule); padding-block: var(--s2); }
  .pair tbody td { border: 0; padding: var(--s1) 0 0; font-size: var(--t-body); }
  .pair td[data-label]::before { content: attr(data-label); display: block; font-size: var(--t-small); font-weight: 600; color: var(--quiet); }
  .pair td.ai[data-label]::before { color: var(--accent); }
}

/* Example AI teams: a row of three */
.teams { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s3); }
.teams li { background: var(--raised); border: 1px solid var(--rule); border-top: 2px solid var(--accent); border-radius: 4px; padding: var(--s3); }
.teams h3 { margin-bottom: var(--s2); }
.teams p { margin: 0; color: var(--quiet); }
@media (min-width: 900px) { .teams { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
.stack .statement { font-size: var(--t-h2); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; color: var(--quiet); max-width: 26ch; }
.stack .statement-ink { color: var(--ink); }

/* Animation slots (T130). The kit sizes the inside; these set the frame and the layout. */
.values { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s5); }
.value { display: grid; gap: var(--s3); align-items: center; }
.value-words h3 { font-size: var(--t-h2); line-height: 1.12; margin-bottom: var(--s2); }
.value-words p { color: var(--quiet); font-size: var(--t-lead); line-height: 1.4; margin: 0; }
@media (min-width: 900px) {
  .values { gap: var(--s6); }
  .value { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .value:nth-child(even) .value-words { order: 2; }
}

/* Fix round 1 (FIXES-1.md) */
.hero-anim { margin: 0; }
.hero-anim figcaption { margin-top: var(--s2); font-size: var(--t-small); color: var(--quiet); text-align: center; }
.hero-anim figcaption strong { color: var(--ink); font-weight: 600; margin-right: .4em; }
#problem, #tools { padding-block: var(--s5); }
@media (min-width: 900px) {
  #problem, #tools { padding-block: var(--s5); }
  .value { grid-template-columns: 5fr 7fr; gap: var(--s5); }
  .value:nth-child(even) { grid-template-columns: 7fr 5fr; }
  .value .anim { max-width: 640px; }
  .value-words { max-width: 26ch; }
  .value:nth-child(even) .value-words { justify-self: end; }
}
/* The hero animation fills the right half on desktop (lead, FIXES-1 add). Phone unchanged. */
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: center; }
  .hero-anim .anim { max-width: none; width: 100%; }
}

/* v4 (T138) */
.points.tight li { padding-block: var(--s1); }
.prose .accent-line { margin-top: var(--s3); }
.build-intro { max-width: 34em; margin-bottom: 0; }
.payoff { margin-top: var(--s6); max-width: 24ch; }
.vs { table-layout: fixed; }
.vs thead th { font-size: var(--t-lead); line-height: 1.3; padding-right: var(--s3); }
.vs th, .vs td { padding-right: var(--s3); }
@media (max-width: 767px) { .vs tbody td { padding-top: var(--s1); } }
.payoff { font-size: var(--t-h2); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }

/* v4 craft fixes (T138, craft grader round) */
.tools-lead { color: var(--ink); max-width: 36em; margin-top: var(--s3); }
.pull { margin: var(--s4) 0; padding: var(--s1) 0 var(--s1) var(--s3); border-left: 3px solid var(--accent);
  font-size: var(--t-h2); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; color: var(--ink); max-width: 26ch; }
.shortfalls { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.shortfalls li { position: relative; padding-left: 1.6em; font-size: var(--t-lead); line-height: 1.4; color: var(--ink); }
.shortfalls li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6em; height: .6em; border-radius: 50%; background: var(--accent); }
@media (min-width: 900px) { .shortfalls { grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s5); } }

/* Comparison: two columns at every width, one small label per side */
.vs { width: 100%; border-collapse: collapse; margin-top: var(--s4); table-layout: fixed; }
.vs th, .vs td { text-align: left; vertical-align: top; padding: var(--s2) var(--s3) var(--s2) 0; border-top: 1px solid var(--rule); }
.vs thead th { border-top: 0; padding-top: 0; font-size: var(--t-small); font-weight: 600; color: var(--quiet); }
.vs thead th.ai { color: var(--accent); }
.vs tbody td { font-size: var(--t-lead); line-height: 1.35; color: var(--quiet); }
.vs tbody td.ai { color: var(--ink); border-top-color: rgba(32, 230, 159, .45); }
@media (max-width: 767px) { .vs tbody td { font-size: var(--t-body); } .vs th, .vs td { padding-right: var(--s2); } }

/* 1440: tighter bands, larger animations */
@media (min-width: 900px) {
  .sec { padding-block: var(--s5); }
  #looks { padding-top: var(--s5); }
  .values { gap: var(--s5); margin-top: var(--s4); }
  .value { grid-template-columns: 4fr 7fr; }
  .value:nth-child(even) { grid-template-columns: 7fr 4fr; }
  .value .anim { max-width: 680px; }
  .payoff { margin-top: var(--s5); }
}

/* v5 (T140) */
.tiles { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.tiles li { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s3); background: var(--raised);
  border: 1px solid var(--rule); border-radius: 10px; font-size: var(--t-lead); line-height: 1.3; font-weight: 600; color: var(--ink); }
.tiles .ico { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }
.accent-statement { margin-top: var(--s4); padding-left: var(--s3); border-left: 3px solid var(--accent); max-width: 30ch;
  font-size: var(--t-h2); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.benefit { margin-top: var(--s6); padding: var(--s4); border: 1px solid rgba(32, 230, 159, .45); border-radius: 14px;
  background: linear-gradient(0deg, rgba(32, 230, 159, .06), rgba(32, 230, 159, .06)), var(--raised); }
.benefit h3 { font-size: var(--t-hero); line-height: 1.05; letter-spacing: -.035em; max-width: 16ch; margin-bottom: var(--s3); }
.benefit p { font-size: var(--t-lead); line-height: 1.4; color: var(--ink); max-width: 34em; margin: 0; }
