.v71-home {
  --v71-paper: #fbfaf4;
  --v71-sage: #e3eadf;
  --v71-rule: #c9c3ae;
  --v71-ink: #373429;
  --v71-accent: #405744;
}
.v71-home .v6-section { padding-block: clamp(3.25rem, 6.1vw, 6rem); }
.v71-home main h2 { max-width: 22ch; }
.v71-kicker { margin: 0 0 .65rem; color: var(--v6-forest); font-size: .9rem; font-weight: 600; }
.v71-section-heading { display: grid; gap: .9rem; margin-bottom: 1.6rem; }
.v71-section-heading p { max-width: 57ch; color: var(--v6-muted); }
.v71-section-heading .v71-kicker { margin: 0; }

/* The photograph carries the tension. The two lines of dialogue explain it. */
.v71-home .v71-hero { padding-block: clamp(2.4rem, 5vw, 4.6rem); }
.v71-hero .v6-hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.12fr); gap: clamp(1.5rem, 4vw, 4rem); }
.v71-hero h1 { font-size: clamp(2.6rem, 4.5vw, 4rem); }
.v71-hero .v6-hero-lede { max-width: 38ch; }
.v71-home .btn-primary.v71-secondary { background: none; color: var(--v6-forest); }
.v71-home .btn-primary.v71-secondary:hover { background: var(--v6-tint); color: var(--v71-ink); }
.v71-scene { position: relative; color: var(--v71-ink); background: #403626; border-radius: .45rem; }
.v71-scene img { height: 100%; min-height: 27rem; aspect-ratio: 1.13; object-position: 66% center; }
.v71-scene figcaption {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  max-width: 30rem;
  padding: .9rem 1rem 1rem;
  border: 1px solid var(--v71-rule);
  border-radius: .3rem;
  background: var(--v71-paper);
  box-shadow: 0 .5rem 1.5rem rgb(35 25 15 / 20%);
}
.v71-scene-label { color: var(--v6-muted); font-size: .85rem; }
.v71-scene p.v71-assumption { font: 400 clamp(.98rem, 1.5vw, 1.25rem)/1.45 var(--sans); margin: .32rem 0 .55rem; }
.v71-question {
  border-left: 3px solid var(--v71-accent);
  background: var(--v71-sage);
  padding: .55rem .65rem;
  animation: v71-question 620ms ease-out 250ms both;
}
.v71-question span { display: block; color: #344838; font-size: .85rem; font-weight: 600; }
.v71-question strong { display: block; font: 600 .98rem/1.45 var(--sans); }
@keyframes v71-question {
  from { background-color: var(--v71-paper); border-color: #8b947d; }
  to { background-color: var(--v71-sage); border-color: var(--v71-accent); }
}

/* One worksheet hosts all three illustrative scenarios. */
.v71-home .v6-experience { background: #e9e8da; }
.v71-home .v6-experience .v6-intro { margin: .65rem 0 .7rem; }
.v71-home .v6-demo-note { margin: 0 0 .9rem; }
.v71-home .v6-case-switch { margin-bottom: 0; gap: .3rem; }
.v71-home .v6-case-switch button { border-radius: .35rem .35rem 0 0; border-color: #9c967f; }
.v71-home .v6-demo { background: var(--v71-paper); border-color: #9c967f; border-radius: 0 .35rem .35rem .35rem; }
.v71-home .v6-progress { background: #f0eee3; border-color: var(--v71-rule); }
.v71-home .v6-progress li { color: var(--v6-muted); border-bottom-width: 3px; }
.v71-home .v6-progress [aria-current] { color: var(--v71-ink); background: var(--v71-sage); border-bottom-color: var(--v71-accent); }
.v71-home .v6-case { padding: clamp(1rem, 2.75vw, 2rem); }
.v71-home .v6-case-heading { margin-bottom: 1rem; }
.v71-home .v6-case-grid { grid-template-columns: minmax(0, .76fr) minmax(0, 1.55fr); gap: clamp(1rem, 3vw, 2rem); }
.v71-home .v6-case-evidence { background: #efede1; border-left: 2px solid #9c967f; border-radius: 0; }
.v71-home .v6-case-evidence li { font-size: .93rem; }
.v71-reframe { padding: .65rem .8rem; margin-block: .7rem; background: var(--v71-sage); border-left: 2px solid var(--v71-accent); }
.v71-reframe .v6-field { margin-top: 0; }
.v71-home .v6-stage h4 { font-size: 1.18rem; margin-bottom: .6rem; }
.v71-home .v6-demo[data-interactive] .v6-stage { animation: none; }
.v71-home .v6-demo[data-advanced] .v6-stage:not([hidden]) { animation: v6-stage-in 200ms ease-out; }
.v71-home .v6-result[open] { border-left: 2px solid var(--v71-accent); padding-inline: .65rem; background: #f0f2e8; }
.v71-home .v6-case-controls { margin-top: 1rem; }
.v71-reference { border-block-start: 1px solid var(--v71-rule); margin-top: 1.45rem; }
.v71-reference > summary { min-height: 44px; }
.v71-reference .v7-inbox { margin-top: .4rem; }
.v71-day { max-width: 46rem; }
.v71-home :is(#operations, #cost, #compare, #what-is) { display: block; height: 0; }

/* Use-case index with one scene and a before/response pair at a time. */
.v71-use-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; margin-bottom: .8rem; }
.v71-use-tabs button {
  min-height: 44px;
  padding: .55rem .65rem;
  border: 1px solid #8f8770;
  border-radius: .3rem;
  background: var(--v71-paper);
  color: var(--v71-ink);
  font: 600 .92rem/1.3 var(--sans);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.v71-use-tabs button[aria-selected="true"] { color: white; background: var(--v6-forest); border-color: var(--v6-forest); }
.v71-use-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--v71-paper);
  border: 1px solid var(--v71-rule);
  border-radius: .4rem;
  overflow: clip;
}
.v71-use-panel + .v71-use-panel:not([hidden]) { margin-block-start: .8rem; }
.v71-use-panel[data-selected] { margin-block-start: 0 !important; }
.v71-use-image { background: #7b6b55; }
.v71-use-image img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1.58; }
.v71-use-copy { align-self: center; padding: clamp(1.2rem, 3.25vw, 2.75rem); }
.v71-use-copy h3 { margin-bottom: .9rem; }
.v71-use-observation { color: var(--v6-muted); }
.v71-use-response { margin-top: .85rem; padding-left: .7rem; border-left: 2px solid var(--v71-accent); }
.v71-use-copy a { display: inline-flex; align-items: center; min-height: 44px; margin-top: .45rem; }

/* A provenance caption and numbered references stay outside the image. */
.v71-product { background: #e8e9dc; }
.v71-proof-frame { position: relative; width: min(100%, 64rem); margin-inline: auto; }
.v71-zoom-link { display: block; position: relative; color: white; background: var(--v71-paper); border-radius: .4rem; }
.v71-zoom-link img { margin: 0; }
#proof-action {
  position: absolute;
  inset: auto .6rem .6rem auto;
  padding: .65rem .85rem;
  background: var(--v6-forest);
  color: white;
  border: 1px solid white;
  border-radius: .25rem;
  font-weight: 600;
  font-size: .88rem;
}
.v71-zoom-link:hover #proof-action { background: #4b4539; text-decoration: underline; }
.v71-pin {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  display: grid;
  place-items: center;
  left: 64%;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--v6-forest);
  border: 1px solid white;
  color: white;
  border-radius: 100%;
  font: 600 .75rem/1 var(--sans);
  transform: translateY(-50%);
}
.v71-pin-evidence { top: 32.5%; }
.v71-pin-action { top: 38%; }
.v71-pin-closure { top: 43.2%; }
.v71-proof figcaption { width: min(100%, 64rem); margin: .55rem auto 0; }
.v71-proof-key { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; padding-left: 1.35rem; margin-block: 1.25rem; }
.v71-proof-key li { padding-left: .25rem; }
.v71-proof-key li::marker { color: var(--v71-accent); font-weight: 700; }
.v71-proof-key span { display: block; color: var(--v6-muted); font-size: .94rem; }
.v71-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.v71-links a { min-height: 44px; display: inline-flex; align-items: center; }
.v71-product .v6-lifecycle { max-width: 52rem; }
.v71-product .v6-lifecycle li { border-color: var(--v71-rule); }
.v71-product .v6-lifecycle li::marker,
.v71-product .v6-lifecycle details[open] summary { color: var(--v71-accent); }
.v71-proof-dialog {
  width: min(95vw, 75rem);
  max-width: none;
  max-height: 90dvh;
  margin: auto;
  padding: 0;
  color: var(--v71-ink);
  background: var(--v71-paper);
  border: 1px solid var(--v71-rule);
  border-radius: .4rem;
}
.v71-proof-dialog::backdrop { background: rgb(32 29 21 / 72%); }
.v71-proof-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem 1rem; }
.v71-proof-dialog-head h2 { font: 600 1.1rem/1.2 var(--sans); color: inherit; }
.v71-proof-scroll { max-height: 74dvh; overflow: auto; background: #eeecdf; }
.v71-proof-scroll img { width: max(100%, 65rem); max-width: none; height: auto; display: block; }
.v71-proof-scroll:focus-visible { outline-offset: -4px; }

.v71-conversion-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3.75rem);
  padding: clamp(1.35rem, 5vw, 4.5rem);
  border-radius: .45rem;
  background: var(--v6-forest);
  color: white;
}
.v71-conversion-card :is(.v71-kicker, p) { color: #f5f4ec; }
.v71-conversion-card .btn-primary.v6-button { margin-top: 1rem; background: var(--v6-paper); color: var(--v71-ink); }
.v71-conversion-card .btn-primary.v6-button:hover { background: var(--v71-sage); color: var(--v71-ink); }
.v71-conversion-card :focus-visible { outline-color: white; }
.v71-conversion-card .v7-no-script { padding: .5rem 0 0; }

@media (max-width: 900px) {
  .v71-scene img { min-height: 23rem; }
  .v71-scene figcaption { inset: auto .6rem .6rem; }
  .v71-home .v6-hero-grid { gap: 1.4rem; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .v71-home .v71-hero .v6-hero-grid { min-block-size: 31.5rem; }
}
@media (max-width: 700px) {
  .v71-home .v6-hero-grid, .v71-home .v6-case-grid, .v71-use-panel, .v71-conversion-card { grid-template-columns: minmax(0, 1fr); }
  .v71-hero h1 { font-size: clamp(2.15rem, 7.6vw, 3.05rem); }
  .v71-home .v71-hero { padding-block: 1.65rem 2rem; }
  .v71-scene img { aspect-ratio: 1.85; height: auto; min-height: 0; }
  .v71-scene figcaption { position: static; border-radius: 0; max-width: none; }
  .v71-home .v6-case-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v71-home .v6-case-switch button { padding: .45rem .3rem; font-size: .8rem; }
  .v71-use-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v71-use-image img { height: auto; aspect-ratio: 1.7; }
  .v71-proof-key { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .v71-pin { width: .95rem; height: .95rem; font-size: .62rem; left: 62%; }
  #proof-action { padding: .35rem .5rem; inset: auto .35rem .35rem auto; }
}
@media (prefers-reduced-motion: reduce) {
  .v71-home .v71-question, .v71-home .v6-stage { animation: none; }
  .v71-home .v71-use-tabs button, .v71-home .v6-case-switch button { transition: none; }
}
