/* Product-first presentation for existing homepage detail sections.
   The live workspace, hero, animated closing and their controls are separate. */
.home-v3 :is(#workflows, #campaign-home-audiences, #trust, #implementation, #questions) {
  --pf-paper: #faf9f6;
  --pf-ink: #1a273d;
  --pf-muted: #526078;
  --pf-indigo: #384aaf;
  --pf-line: #d8dde5;
  --pf-soft: #eef0f9;
  --font-display: "Jost", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  color: var(--pf-ink);
  font-family: var(--font-body);
  padding-block: clamp(60px, 6.5vw, 94px);
}

.home-v3 :is(#workflows, #trust, #questions) {
  background: var(--pf-paper);
}

.home-v3 :is(#workflows, #trust, #implementation, #questions) .home-eyebrow {
  color: var(--pf-muted);
  font: 400 14px/1.5 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 14px;
}

.home-v3 :is(#workflows, #trust, #implementation, #questions) .home-eyebrow::before {
  display: none;
}

.home-v3 :is(#workflows, #trust, #implementation, #questions) h2 {
  color: var(--pf-ink);
  font: 600 clamp(33px, 3.2vw, 45px)/1.14 var(--font-display);
  letter-spacing: -.024em;
  text-wrap: balance;
}

.home-v3 :is(#workflows, #trust) .home-section__head {
  align-items: end;
  gap: clamp(32px, 6vw, 84px);
  margin-bottom: 38px;
}

.home-v3 :is(#workflows, #trust) .home-section__head p {
  color: var(--pf-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 45ch;
}

.home-v3 :is(#workflows, #trust, #implementation) .home-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: var(--pf-indigo);
  font: 500 14px/1.5 var(--font-body);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.home-v3 :is(#workflows, #trust, #implementation) .home-text-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.home-v3 :is(#workflows, #campaign-home-audiences, #trust, #implementation, #questions) :is(a, button, summary):focus-visible {
  outline: 3px solid #6074d6;
  outline-offset: 5px;
}

.home-v3 :is(#workflows, #campaign-home-audiences, #trust, #implementation, #questions) ::selection {
  background: #d8defb;
  color: #19244d;
}

/* Native product views: preserve image proportions and space for real UI text. */
.home-v3 #workflows .home-tabs {
  gap: 8px 16px;
  border-bottom: 1px solid var(--pf-line);
  margin-bottom: 38px;
  padding-bottom: 12px;
}

.home-v3 #workflows .home-tabs button {
  flex: 0 1 auto;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--pf-muted);
  font: 500 15px/1.5 var(--font-body);
  cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}

.home-v3 #workflows .home-tabs button:hover {
  color: var(--pf-ink);
  background: #f0f0f1;
}

.home-v3 #workflows .home-tabs button[aria-selected="true"] {
  color: var(--pf-indigo);
  background: var(--pf-soft);
  border-color: #bdc7e4;
}

.home-v3 #workflows .home-product {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 4.5vw, 64px);
  margin-bottom: 36px;
}

.home-v3 #workflows .home-product > div {
  min-width: 0;
}

.home-v3 #workflows .home-product h3 {
  color: var(--pf-ink);
  font-size: clamp(27px, 2.5vw, 34px);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  max-width: 23ch;
  text-wrap: balance;
}

.home-v3 #workflows .home-product p {
  color: var(--pf-muted);
  font-size: 16px;
  line-height: 1.7;
}

.home-v3 #workflows .home-product ul {
  margin: 24px 0 17px;
}

.home-v3 #workflows .home-product li {
  color: var(--pf-muted);
  border-color: var(--pf-line);
  padding-block: 13px;
  font-size: 14px;
  line-height: 1.65;
}

.home-v3 #workflows .home-product li::before {
  color: var(--pf-indigo);
}

.home-v3 #workflows .home-screen {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-v3 #workflows .home-screen img {
  width: 100%;
  height: auto;
  border: 1px solid #cbd3e0;
  border-radius: 8px;
  background: #fff;
}

.home-v3 #workflows .home-screen figcaption {
  color: var(--pf-muted);
  padding: 14px 1px 0;
  font: 400 12px/1.65 var(--font-body);
}

.home-v3 #workflows .home-docs {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  border-color: var(--pf-line);
  margin-top: 34px;
  padding-top: 28px;
}

.home-v3 #workflows .home-docs__icon {
  width: 38px;
  height: 44px;
  color: var(--pf-indigo);
  border-color: #b8c3df;
  border-radius: 4px;
  background: transparent;
  font-size: 21px;
}

.home-v3 #workflows .home-docs h3 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.home-v3 #workflows .home-docs p {
  color: var(--pf-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Audience links remain whole-link targets, presented as open editorial columns. */
.home-v3 #campaign-home-audiences {
  --campaign-ink: var(--pf-ink);
  --campaign-muted: var(--pf-muted);
  --campaign-green: var(--pf-indigo);
  --campaign-line: var(--pf-line);
  background: #f1f2f6;
  border-block: 1px solid #e0e2e9;
}

.home-v3 #campaign-home-audiences .campaign-container {
  max-width: 1232px;
}

.home-v3 #campaign-home-audiences .campaign-copy {
  max-width: 760px;
}

.home-v3 #campaign-home-audiences .campaign-copy > .campaign-eyebrow {
  font: 400 14px/1.5 var(--font-body);
  color: var(--pf-muted);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 14px;
}

.home-v3 #campaign-home-audiences .campaign-title {
  color: var(--pf-ink);
  font: 600 clamp(33px, 3.2vw, 45px)/1.14 var(--font-display);
  letter-spacing: -.024em;
  margin-bottom: 18px;
}

.home-v3 #campaign-home-audiences .campaign-lede {
  color: var(--pf-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.home-v3 #campaign-home-audiences .campaign-audience-grid {
  gap: clamp(28px, 4vw, 56px);
  margin-top: 44px;
  counter-reset: none;
}

.home-v3 #campaign-home-audiences .campaign-audience-card {
  --campaign-green: var(--pf-indigo);
  padding: 25px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #c6ccda;
  border-radius: 0;
  box-shadow: none;
  counter-increment: none;
  transition: color 160ms ease-out;
}

.home-v3 #campaign-home-audiences .campaign-audience-card::before {
  content: none;
  display: none;
}

.home-v3 #campaign-home-audiences .campaign-audience-card .campaign-eyebrow {
  color: var(--pf-muted);
  font: 500 14px/1.5 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 12px;
}

.home-v3 #campaign-home-audiences .campaign-audience-card h3 {
  color: var(--pf-ink);
  font: 600 29px/1.22 var(--font-display);
  letter-spacing: -.02em;
  margin-bottom: 16px;
  max-width: 18ch;
  text-wrap: balance;
}

.home-v3 #campaign-home-audiences .campaign-audience-card p:not(.campaign-eyebrow) {
  color: var(--pf-muted);
  font: 400 15px/1.75 var(--font-body);
  margin-bottom: 19px;
}

.home-v3 #campaign-home-audiences .campaign-audience-card .campaign-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: var(--pf-indigo);
  font: 500 14px/1.5 var(--font-body);
  text-underline-offset: 5px;
}

.home-v3 #campaign-home-audiences .campaign-audience-card:hover {
  transform: none;
  box-shadow: none;
  border-color: #c6ccda;
}

.home-v3 #campaign-home-audiences .campaign-audience-card:hover h3 {
  color: var(--pf-indigo);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* Trust content reads as evidence and useful destinations, without nested cards. */
.home-v3 #trust .home-trust-grid {
  gap: clamp(30px, 4vw, 56px);
  margin-top: 43px;
}

.home-v3 #trust .home-trust-grid article {
  padding: 23px 0 0;
  border: 0;
  border-top: 1px solid var(--pf-line);
  border-radius: 0;
  background: transparent;
}

.home-v3 #trust .home-trust-grid span {
  color: var(--pf-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .035em;
}

.home-v3 #trust .home-trust-grid h3 {
  color: var(--pf-ink);
  font-size: 27px;
  line-height: 1.23;
  letter-spacing: -.018em;
  margin: 15px 0;
  text-wrap: balance;
}

.home-v3 #trust .home-trust-grid p {
  color: var(--pf-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 17px;
}

.home-v3 #trust .home-note {
  color: var(--pf-muted);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--pf-line);
  margin-top: 32px;
  padding: 21px 0 0;
  font-size: 13px;
  line-height: 1.75;
}

/* The numbered implementation steps are a genuine sequence, not decoration. */
.home-v3 #implementation {
  background: #f0f2f8;
  border-block: 1px solid #e1e5ee;
}

.home-v3 #implementation .home-start {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 104px);
}

.home-v3 #implementation .home-start > div > p:not(.home-eyebrow) {
  max-width: 49ch;
  margin-block: 22px 18px;
  color: var(--pf-muted);
  font-size: 16px;
  line-height: 1.75;
}

.home-v3 #implementation .home-steps li {
  padding: 0 0 29px 62px;
  min-height: 92px;
}

.home-v3 #implementation .home-steps li:last-child {
  padding-bottom: 0;
}

.home-v3 #implementation .home-steps li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #bec8e0;
  border-radius: 50%;
  background: #f0f2f8;
  color: var(--pf-indigo);
  font: 500 14px/1 var(--font-body);
  font-variant-numeric: tabular-nums;
}

.home-v3 #implementation .home-steps li:not(:last-child)::after {
  left: 20px;
  top: 49px;
  bottom: 9px;
  background: #cbd2e2;
}

.home-v3 #implementation .home-steps h3 {
  color: var(--pf-ink);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin-bottom: 8px;
}

.home-v3 #implementation .home-steps p {
  color: var(--pf-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Preserve native details/summary behavior and generous touch targets. */
.home-v3 #questions .home-faq {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(38px, 6vw, 88px);
}

.home-v3 #questions .home-intro {
  color: var(--pf-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 20px;
}

.home-v3 #questions .home-faq details {
  padding: 16px 0;
  border-color: var(--pf-line);
}

.home-v3 #questions .home-faq details:first-child {
  padding-top: 0;
}

.home-v3 #questions .home-faq summary {
  align-items: center;
  min-height: 48px;
  gap: 24px;
  color: var(--pf-ink);
  font: 500 17px/1.55 var(--font-body);
}

.home-v3 #questions .home-faq summary::after {
  flex: 0 0 22px;
  color: var(--pf-indigo);
  text-align: center;
}

.home-v3 #questions .home-faq summary:hover {
  color: var(--pf-indigo);
}

.home-v3 #questions .home-faq details p {
  margin-top: 10px;
  padding-right: 42px;
  color: var(--pf-muted);
  font-size: 15px;
  line-height: 1.75;
}

.home-v3 #questions .home-faq details a {
  color: var(--pf-indigo);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 960px) {
  .home-v3 #workflows .home-product {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .home-v3 #workflows .home-product > div {
    max-width: 66ch;
  }

  .home-v3 #workflows .home-product h3 {
    max-width: 28ch;
  }

  .home-v3 #workflows .home-screen {
    width: 100%;
    max-width: 820px;
  }

  .home-v3 #workflows .home-docs {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
  }

  .home-v3 #workflows .home-docs > a {
    grid-column: 2;
  }

  .home-v3 #campaign-home-audiences .campaign-audience-grid {
    gap: 28px;
  }

  .home-v3 #campaign-home-audiences .campaign-audience-card h3 {
    font-size: 26px;
  }
}

@media (max-width: 760px) {
  .home-v3 :is(#workflows, #campaign-home-audiences, #trust, #implementation, #questions) {
    padding-block: 58px;
  }

  .home-v3 :is(#workflows, #trust) .home-section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 21px;
    margin-bottom: 28px;
  }

  .home-v3 :is(#workflows, #trust) .home-section__head p {
    max-width: 60ch;
    font-size: 15px;
  }

  .home-v3 #workflows .home-tabs {
    gap: 8px;
    margin-bottom: 28px;
  }

  .home-v3 #workflows .home-tabs button {
    flex: 1 1 calc(50% - 8px);
    padding-inline: 10px;
    font-size: 14px;
  }

  .home-v3 #workflows .home-product p {
    font-size: 15px;
  }

  .home-v3 #workflows .home-product h3 {
    font-size: 28px;
  }

  .home-v3 #workflows .home-docs h3 {
    font-size: 22px;
  }

  .home-v3 #campaign-home-audiences .campaign-audience-grid,
  .home-v3 #trust .home-trust-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 29px;
    margin-top: 31px;
  }

  .home-v3 #campaign-home-audiences .campaign-audience-card {
    padding-top: 23px;
  }

  .home-v3 #campaign-home-audiences .campaign-audience-card h3 {
    font-size: 28px;
    max-width: 25ch;
  }

  .home-v3 #campaign-home-audiences .campaign-audience-card p:not(.campaign-eyebrow) {
    max-width: 62ch;
    margin-bottom: 10px;
  }

  .home-v3 #trust .home-trust-grid article {
    padding: 22px 0 0;
  }

  .home-v3 #trust .home-trust-grid h3 {
    max-width: 26ch;
    font-size: 26px;
    margin-block: 12px;
  }

  .home-v3 #trust .home-trust-grid p {
    margin-bottom: 9px;
  }

  .home-v3 #implementation .home-start,
  .home-v3 #questions .home-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .home-v3 #questions .home-intro {
    margin-bottom: 0;
  }

  .home-v3 #questions .home-faq details p {
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .home-v3 :is(#workflows, #trust, #implementation, #questions) > .container {
    padding-inline: 20px;
  }

  .home-v3 #campaign-home-audiences {
    padding-inline: 20px;
  }

  .home-v3 :is(#workflows, #trust, #implementation, #questions) h2,
  .home-v3 #campaign-home-audiences .campaign-title {
    font-size: 33px;
  }

  .home-v3 #workflows .home-docs {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .home-v3 #workflows .home-docs > a {
    grid-column: 1;
  }

  .home-v3 #implementation .home-steps li {
    padding-left: 55px;
  }

  .home-v3 #questions .home-faq summary {
    font-size: 16px;
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v3 #workflows .home-tabs button,
  .home-v3 #campaign-home-audiences .campaign-audience-card {
    transition: none;
  }
}

/* Keep native evidence inspectable when a phone cannot show all UI text. */
.home-v3 #workflows .home-screen__image-link{display:block;border-radius:8px}
.home-v3 #workflows .home-screen figcaption{display:flex;align-items:flex-start;justify-content:space-between;gap:10px 20px;flex-wrap:wrap}
.home-v3 #workflows .home-screen figcaption>span{flex:1 1 300px;min-width:0}
.home-v3 #workflows .home-screen__zoom{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:#354a9b;font-size:13px;white-space:nowrap;text-underline-offset:4px}

/* MKT-075 / DEC-921, amended 2026-10-16 (MKT-076): the homepage keeps its original visual
   design; these rules serve only the content and clarity changes. */

/* Hero: the open-beta offer reads at body size, and the walkthrough looks like a button. */
.home-v3 .launch-hero .launch-demo-note { color: var(--pf-ink); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.home-v3 .launch-hero .btn--outline { border-color: #b9c3d9; background: transparent; color: var(--pf-ink); padding-inline: 17px; }
.home-v3 .launch-hero .btn--outline:hover { background: #eef0f7; text-decoration: none; }

/* Demo: the laptop and phone stay; the four story monitors live on the standalone four-story
   page, linked once under the devices (owner, 2026-10-16). Inside the player the story chips remain. */
.home-v3 .az-showroom--embedded :is(.az-gallery-heading, .az-monitor-rail) { display: none; }
.home-v3 .az-connected-stories { margin: 0; padding: 18px 24px 6px; text-align: center; font-size: 15px; line-height: 1.6; }
/* Until the demo is ready its loading card carries the one link to the standalone page. */
.home-v3 [data-connected-demo-state]:not([data-connected-demo-state="ready"]) > .az-connected-stories { display: none; }
.home-v3 .az-connected-stories a { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; color: var(--pf-accent); font-weight: 500; text-underline-offset: 4px; }

/* The full-size image link helps on a phone, where screenshots are too small to read. */
@media (min-width: 641px) { .home-v3 #workflows .home-screen__zoom { display: none; } }

/* How to start, with the three questions beside it (the FAQ joined this section). */
.home-v3 #implementation .home-start { align-items: start; }
.home-v3 #implementation .home-steps { margin: 6px 0 26px; }
.home-v3 #implementation .launch-start-links { align-items: center; margin-top: 0; }
.home-v3 #implementation .launch-start-links .btn--primary { min-height: 50px; padding: 13px 20px; border-radius: 6px; border-color: var(--pf-accent); background: var(--pf-accent); color: #fff; font-size: 14px; }
.home-v3 #implementation .launch-start-links .btn--primary:hover { border-color: #2a3b95; background: #2a3b95; }
.home-v3 #implementation #questions { display: block; padding: 0; background: transparent; }
.home-v3 #questions h3 { margin: 0 0 6px; color: var(--pf-ink); font: 600 20px/1.3 var(--font-display); }
/* The original FAQ look: these rules used to read #questions .home-faq. */
.home-v3 #questions details { padding: 16px 0; border-color: var(--pf-line); }
.home-v3 #questions summary { align-items: center; min-height: 48px; gap: 24px; color: var(--pf-ink); font: 500 17px/1.55 var(--font-body); }
.home-v3 #questions summary::after { flex: 0 0 22px; color: var(--pf-indigo); text-align: center; }
.home-v3 #questions summary:hover { color: var(--pf-indigo); }
.home-v3 #questions details p { margin-top: 10px; padding-right: 42px; color: var(--pf-muted); font-size: 15px; line-height: 1.75; }
.home-v3 #questions details a { color: var(--pf-indigo); text-decoration: underline; text-underline-offset: 4px; }

/* Closing: the walkthrough request wears the approved design's first-action button. */
.home-v3 .az-chapter-close .az-close-actions a.az-close-primary { border: 1px solid #e4edfa; background: #edf3fd; color: #273b59; box-shadow: 0 1px 0 #fff inset, 0 5px 16px #00000017; }
.home-v3 .az-chapter-close .az-close-actions a.az-close-primary:hover { background: #fff; color: #273b59; }

@media (max-width: 1120px) {
  .home-v3 .launch-hero .home-actions { gap: 10px; }
}
@media (max-width: 759px) {
  .home-v3 .az-chapter-close .az-close-actions a.az-close-primary { width: 100%; max-width: 315px; }
}
@media (max-width: 760px) {
  .home-v3 #questions details p { padding-right: 0; }
}
@media (max-width: 640px) {
  .home-v3 .launch-hero .btn--outline { padding-left: 17px; }
}
@media (max-width: 480px) {
  .home-v3 #questions summary { font-size: 16px; gap: 15px; }
}
