/* Proof band: sits between the industry hero and the outcomes panel. */
/* The hero's own bottom rule is the band's top edge, so the band adds none. */
.ip-proof.be-buyer-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) 1fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  margin-top: 0;
  padding-block: clamp(28px, 3.4vw, 44px) 0;
}
.ip-proof h2 {
  margin: 0;
  color: var(--ic-ink, #193b68);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.25;
  text-wrap: balance;
}
.ip-proof-list {
  display: grid;
  grid-template-columns: repeat(var(--ip-columns, 3), minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.ip-proof[data-items="2"] { --ip-columns: 2; }
/* The customer story is the longest and most specific item, so it gets more room. */
.ip-proof[data-items="3"] .ip-proof-list { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.ip-proof[data-items="3"] .ip-proof-list li:first-child p { max-width: 52ch; }
.ip-proof-list li {
  padding-inline: clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--ic-rule, rgba(25, 59, 104, .17));
}
.ip-proof-list li:first-child { padding-left: 0; border-left: 0; }
.ip-proof-list h3 {
  margin: 0 0 10px;
  color: var(--vi-teal-ink, #28676a);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.ip-proof-list p {
  margin: 0;
  max-width: 38ch;
  color: var(--ic-muted, #536574);
  font-size: 16px;
  line-height: 1.65;
}
.ip-phrase { display: inline-block; max-width: 100%; }
:lang(ja) .ip-proof-list p { line-height: 1.8; line-break: strict; }

@media (max-width: 1100px) {
  .ip-proof.be-buyer-section { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ip-proof[data-items] .ip-proof-list { grid-template-columns: 1fr; }
  .ip-proof-list li {
    padding: 18px 0 0;
    margin-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--ic-rule, rgba(25, 59, 104, .17));
  }
  .ip-proof-list li:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
  .ip-proof-list p { max-width: none; }
}

/* Focused outreach pages: one header action, no site-wide navigation. */
.focus-page .focus-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.focus-page .focus-nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.focus-page .focus-nav .lang-switch {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  text-decoration: none;
}
.focus-page .focus-nav .lang-switch:hover { color: #fff; }
.focus-page .focus-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  min-height: 44px;
  border-radius: 6px;
  background: var(--vi-gold, #bd966b);
  color: #0f2949;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.focus-page .focus-nav .nav-cta:hover { background: #cba67d; }
.focus-page .focus-nav :focus-visible { outline: 2px solid var(--vi-teal, #5fa8a8); outline-offset: 3px; }
body.focus-page header.focus-nav .brand { flex: 0 1 auto; min-width: 0; }
body.focus-page header.focus-nav .focus-nav-actions { flex: 0 0 auto; }
@media (max-width: 420px) {
  body.focus-page header.focus-nav .brand img { width: 108px; max-width: 100%; height: auto; }
  body.focus-page header.focus-nav .nav-cta { padding: 0 14px; font-size: 14px; }
}

/* Outcome cards are plain content on focused pages, so they must not look clickable. */
body.focus-page [data-buyer-entry] div.be-goal-link:hover h3 { color: #0f2949; text-decoration: none; }
body.focus-page [data-buyer-entry] div.be-goal-link { cursor: default; }

/* Declutter: all industry overviews and the focused pages.
   Structure comes from spacing and surfaces (paper, mint panel, white card);
   lines stay only where they show state (active chapter, controls, focus).
   Labels that repeat what the page already says are hidden. Elements the
   canvas script writes to stay in the DOM. */
main[data-product-site] :is(.ic-toolbar, .ic-question-label, .ic-eyebrow, .buyer-demo-heading .eyebrow, .industry-demo-heading .eyebrow) { display: none; }
/* Duplicate lists: the caption repeats the first evidence item, and the
   evidence list repeats the explanation above it. */
main[data-product-site] :is(.ic-media figcaption, .ic-proof) { display: none; }
/* Decorative lines. */
/* Matches brand-experience's body.studio-site .ps-main > .industry-detail-hero, plus the page scope. */
body.studio-site main[data-product-site] > :is(.industry-detail-hero, .vertical-hero) { border-bottom: 0; }
main[data-product-site] .ic-question { border-bottom: 0; padding-bottom: 0; }
main[data-product-site] details.ic-preserved { border-top: 0; border-bottom: 0; }
main[data-product-site] .ps-case-links a { border-top: 0; border-bottom: 0; }
main[data-product-site] .ip-proof-list li { border-left: 0; }
main[data-product-site] .ip-proof-list li:not(:first-child) { padding-left: clamp(20px, 2.6vw, 40px); }
@media (max-width: 760px) {
  main[data-product-site] .ip-proof-list li,
  main[data-product-site] .ip-proof-list li:not(:first-child) {
    border-top: 0;
    padding-left: 0;
  }
}
.ip-line { display: inline-block; }

/* Homepage declutter: hide the labels above the hero and "How it works"
   headings (scripts read them, so they stay in the DOM), let the investor
   label read as a sentence, and drop decorative section rules. The selected
   scene outline and the Record/Plan/Verify progress bars stay: they show state. */
body.home-page main#main-content :is(.home-interface-copy > p.eyebrow, .op-flow-heading p.eyebrow) { display: none; }
body.home-page main#main-content .home-trust-strip { border-top: 0; border-bottom: 0; }
body.home-page main#main-content .home-trust-strip p { text-transform: none; letter-spacing: 0; font-size: 14px; }
body.home-page main#main-content .op-flow { border-top: 0; }
body.home-page main#main-content .op-flow-scenes { border-bottom: 0; }

/* Demo video step list (Ask / Verify / Compare): the steps are a real
   sequence, so they stay, but as plain text rather than a tracked caps label. */
main[data-product-site] .industry-demo-player figcaption strong { text-transform: none; letter-spacing: 0; font-size: 14px; }

/* Homepage: fixed workflows per industry, directly under the hero.
   Three columns, no rules or cards: structure comes from spacing. */
body.home-page .home-workflows { padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px); background: var(--paper, #f6f3ee); }
body.home-page .home-workflows .hw-heading { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
body.home-page .home-workflows h2 { margin: 0 0 12px; color: #0f2949; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; text-wrap: balance; }
body.home-page .home-workflows .hw-heading p { margin: 0; color: #536574; font-size: 18px; line-height: 1.6; max-width: 40rem; }
body.home-page .home-workflows .hw-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); max-width: 920px; }
body.home-page .home-workflows h3 { margin: 0 0 18px; font-size: 15px; font-weight: 600; line-height: 1.4; }
body.home-page .home-workflows h3 a { color: #28676a; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
body.home-page .home-workflows h3 a:hover { color: #0f2949; }
body.home-page .home-workflows h3 a:focus-visible { outline: 2px solid #5fa8a8; outline-offset: 3px; }
body.home-page .home-workflows ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 24px; }
body.home-page .home-workflows h4 { margin: 0 0 6px; color: #0f2949; font-size: 20px; font-weight: 600; line-height: 1.3; }
body.home-page .home-workflows li p { margin: 0; color: #536574; font-size: 16px; line-height: 1.6; max-width: 36ch; }
:lang(ja) body.home-page .home-workflows li p, body.home-page:lang(ja) .home-workflows li p { line-height: 1.8; line-break: strict; }
@media (max-width: 900px) {
  body.home-page .home-workflows .hw-groups { grid-template-columns: 1fr; gap: 36px; }
  body.home-page .home-workflows li p { max-width: none; }
}
body.home-page .home-deployment-cta .hw-cta-note { margin: 12px 0 0; font-size: 17px; line-height: 1.6; opacity: .85; }

/* Industry overviews: two workflow cards side by side instead of three. */
@media (min-width: 601px) {
  body.ps-site [data-buyer-entry] .be-goals[data-items="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Homepage: workflow names link to their use-case page. */
body.home-page .home-workflows h4 a { color: inherit; text-decoration: none; }
body.home-page .home-workflows h4 a:hover { color: #28676a; text-decoration: underline; text-underline-offset: 4px; }
body.home-page .home-workflows h4 a:focus-visible { outline: 2px solid #5fa8a8; outline-offset: 3px; }
/* Separator between two-line heading parts: read by search engines, AI tools
   and screen readers, not shown (each part already sits on its own line). */
/* Two-part headings read as one sentence (Andrew, 2026-11-23). */
.ip-sep { display: inline; }
/* Homepage: approved proof line under the workflow list. */
body.home-page .home-workflows .hw-proof { margin: clamp(32px, 4vw, 48px) 0 0; max-width: 46rem; color: #536574; font-size: 16px; line-height: 1.6; }

/* Homepage hero (phase 1): one heading in two tones, the statement then what
   Fortune AI does in muted type, read as one sentence. */
/* Two levels (Andrew, 2026-11-26): the claim is the headline, the explanation reads as a lead paragraph. */
body.home-page #home-hero-title.home-hero-two-tone { max-width: 15em; font-size: clamp(38px, 4.6vw, 68px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
body.home-page #home-hero-title .hh-lead, body.home-page #home-hero-title .hh-muted { display: block; }
body.home-page #home-hero-title .hh-muted { max-width: 30em; margin-top: .7em; font-size: max(18px, .36em); font-weight: 400; line-height: 1.45; letter-spacing: -.005em; text-wrap: pretty; color: rgba(255, 255, 255, .78); }

/* Proof strip directly under the hero. */
body.home-page .home-proof { padding-block: clamp(28px, 3.6vw, 44px); background: var(--paper, #f6f3ee); }
body.home-page .home-proof .hp-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
body.home-page .home-proof .hp-stats { display: flex; flex-wrap: wrap; gap: 12px clamp(28px, 4vw, 56px); margin: 0; }
body.home-page .home-proof .hp-stats dt { color: #0f2949; font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
body.home-page .home-proof .hp-stats dd { margin: 4px 0 0; color: #536574; font-size: 15px; }
body.home-page .home-proof .hp-source { margin: 14px 0 0; color: #536574; font-size: 14px; }
body.home-page .home-proof .hp-story { display: flex; align-items: center; gap: 18px; max-width: 360px; padding: 18px 22px; border-radius: 10px; background: #fff; color: #0f2949; font-size: 15px; font-weight: 600; line-height: 1.45; text-decoration: none; }
body.home-page .home-proof .hp-story img { width: 112px; height: auto; flex: 0 0 auto; }
body.home-page .home-proof .hp-story:hover span { text-decoration: underline; text-underline-offset: 3px; }
body.home-page .home-proof .hp-story:focus-visible { outline: 2px solid #5fa8a8; outline-offset: 3px; }
@media (max-width: 760px) {
  body.home-page .home-proof .hp-grid { grid-template-columns: 1fr; }
  body.home-page .home-proof .hp-story { max-width: none; }
}

/* Homepage product grid (Stripe-style bento): wide and narrow tiles alternate,
   each with a small product view; the whole tile links to the workflow. */
body.home-page .home-workflows { padding-block: clamp(64px, 8vw, 112px) clamp(48px, 6vw, 80px); }
body.home-page .home-workflows .hw-heading { margin-bottom: clamp(28px, 4vw, 48px); }
body.home-page .hw-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
body.home-page .hw-tile { position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 24px; min-height: 420px; padding: clamp(22px, 2.4vw, 32px); border-radius: 16px; background: #fff; color: #0f2949; text-decoration: none; box-shadow: 0 1px 2px rgba(15, 41, 73, .06), 0 12px 32px -20px rgba(15, 41, 73, .28); transition: box-shadow .2s ease, transform .2s ease; }
body.home-page .hw-tile.is-wide { grid-column: span 3; }
body.home-page .hw-tile:hover { box-shadow: 0 1px 2px rgba(15, 41, 73, .08), 0 20px 44px -22px rgba(15, 41, 73, .38); transform: translateY(-2px); }
body.home-page .hw-tile:focus-visible { outline: 2px solid #5fa8a8; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { body.home-page .hw-tile, body.home-page .hw-tile:hover { transition: none; transform: none; } }
body.home-page .hw-tile-copy { max-width: 30em; padding-right: 40px; }
body.home-page .hw-tile h3 { margin: 0 0 8px; color: #0f2949; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
body.home-page .hw-tile-copy p { margin: 0; color: #536574; font-size: 16px; line-height: 1.55; }
body.home-page .hw-go { position: absolute; top: clamp(22px, 2.4vw, 32px); right: clamp(22px, 2.4vw, 32px); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #eef3f3; color: #28676a; transition: background .2s ease, color .2s ease; }
body.home-page .hw-tile:hover .hw-go { background: #28676a; color: #fff; }
body.home-page .hw-view { margin-top: auto; padding: 16px; border-radius: 12px; background: #f1f4f7; font-size: 13px; color: #31455a; }
body.home-page .hw-note { margin: 18px 0 0; color: #52606d; font-size: 13px; }
@media (max-width: 960px) { body.home-page .hw-tiles { grid-template-columns: 1fr; } body.home-page .hw-tile, body.home-page .hw-tile.is-wide { grid-column: auto; min-height: 0; } }

/* Product views (example data). */
body.home-page .hv-bar { display: flex; justify-content: space-between; margin-bottom: 12px; color: #52606d; }
body.home-page .hv-bar b { color: #0f2949; font-weight: 650; }
body.home-page .hv-chart { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; height: 150px; padding-top: 28px; }
body.home-page .hv-col { position: relative; display: flex; align-items: end; gap: 3px; height: 100%; padding-bottom: 18px; }
body.home-page .hv-col i, body.home-page .hv-col s { display: block; flex: 1; border-radius: 3px 3px 0 0; }
body.home-page .hv-col i { background: #c9d6e2; }
body.home-page .hv-col s { background: #28676a; text-decoration: none; }
body.home-page .hv-col.is-flag i { background: #d8b98f; }
body.home-page .hv-col em { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-style: normal; font-size: 11px; color: #52606d; }
body.home-page .hv-flag { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: #8a6a45; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
body.home-page .hv-legend { display: flex; gap: 16px; margin-top: 10px; color: #52606d; }
body.home-page .hv-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; }
body.home-page .hv-legend .k-visits::before { background: #c9d6e2; }
body.home-page .hv-legend .k-sales::before { background: #28676a; }
body.home-page .hv-deal { padding: 12px 14px; border-radius: 9px; background: #e4efee; }
body.home-page .hv-deal + .hv-deal { margin-top: 10px; }
body.home-page .hv-deal.lost { background: #f5ece1; }
body.home-page .hv-deal > div { display: flex; justify-content: space-between; align-items: center; }
body.home-page .hv-deal b { color: #0f2949; font-weight: 650; }
body.home-page .hv-deal p { margin: 4px 0 0; }
body.home-page .hv-chip { padding: 2px 10px; border-radius: 999px; background: #28676a; color: #fff; font-size: 12px; font-weight: 600; }
body.home-page .hv-deal.lost .hv-chip { background: #8a6a45; }
body.home-page .hv-table { width: 100%; border-collapse: collapse; }
body.home-page .hv-table th { padding: 0 0 8px; color: #52606d; font-weight: 500; text-align: left; }
body.home-page .hv-table th:not(:first-child), body.home-page .hv-table td:not(:first-child) { text-align: right; }
body.home-page .hv-table td { padding: 9px 0; color: #0f2949; font-weight: 600; }
body.home-page .hv-table tbody tr + tr td { box-shadow: inset 0 1px 0 rgba(15, 41, 73, .08); }
body.home-page .hv-table tr.is-flag td:last-child { color: #8a6a45; }
body.home-page .hv-putaway { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: center; }
body.home-page .hv-frame { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; background: #d9e1e8; }
body.home-page .hv-frame img { width: 100%; height: 100%; object-fit: cover; }
body.home-page .hv-box { position: absolute; left: 22%; top: 30%; width: 26%; height: 30%; border: 2px solid #d8b98f; border-radius: 4px; box-shadow: 0 0 0 9999px rgba(15, 41, 73, .12); }
body.home-page .hv-alert { padding: 14px; border-radius: 9px; background: #fff; }
body.home-page .hv-alert-title { margin: 0 0 10px; color: #0f2949; font-size: 14px; font-weight: 700; }
body.home-page .hv-alert dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
body.home-page .hv-alert dt { color: #52606d; }
body.home-page .hv-alert dd { margin: 2px 0 0; color: #0f2949; font-size: 18px; font-weight: 700; }
body.home-page .hv-action { margin: 12px 0 0; color: #28676a; font-weight: 600; }
@media (max-width: 560px) { body.home-page .hv-putaway { grid-template-columns: 1fr; } }

/* Numbers band (Stripe's large-figure section): dark, after the product grid. */
body.home-page .home-proof { padding-block: clamp(56px, 7vw, 96px); background: #0f2949; color: #fff; }
body.home-page .home-proof .hp-stats { gap: 20px clamp(36px, 6vw, 88px); }
body.home-page .home-proof .hp-stats dt { color: #fff; font-size: clamp(40px, 5vw, 68px); letter-spacing: -.03em; }
body.home-page .home-proof .hp-stats dd { margin-top: 6px; color: rgba(255, 255, 255, .72); font-size: 16px; }
body.home-page .home-proof .hp-source { margin-top: 22px; color: rgba(255, 255, 255, .62); }
body.home-page .home-proof .hp-story { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .5); }

/* Customer band (replaces the SAFE SWIM numbers): story headline and link
   beside the customer's logo on a white card. */
body.home-page .home-proof .hp-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
body.home-page .home-proof .hp-copy h2 { margin: 0; max-width: 18em; color: #fff; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
body.home-page .home-proof .hp-copy p { margin: 16px 0 0; max-width: 34em; color: rgba(255, 255, 255, .74); font-size: 17px; line-height: 1.6; }
body.home-page .home-proof .hp-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: #d8b98f; font-weight: 650; text-decoration: none; }
body.home-page .home-proof .hp-link:hover { color: #fff; }
body.home-page .home-proof .hp-link:focus-visible { outline: 2px solid #5fa8a8; outline-offset: 3px; }
body.home-page .home-proof .hp-logo { display: grid; place-items: center; min-height: 200px; padding: 32px; border-radius: 16px; background: #fff; }
body.home-page .home-proof .hp-logo img { width: min(260px, 80%); height: auto; }
@media (max-width: 760px) { body.home-page .home-proof .hp-grid { grid-template-columns: 1fr; } body.home-page .home-proof .hp-logo { min-height: 140px; } }

/* Product grid grouped by industry: one labelled row each, matching the film tabs. */
body.home-page .hw-row + .hw-row { margin-top: clamp(36px, 4.5vw, 56px); }
body.home-page .home-workflows h3.hw-row-title { margin: 0 0 16px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.3; }
body.home-page .home-workflows h3.hw-row-title a { color: #0f2949; text-decoration: none; }
body.home-page .home-workflows h3.hw-row-title a::after { content: " \2192"; color: #28676a; }
body.home-page .home-workflows h3.hw-row-title a:hover { color: #28676a; }
body.home-page .home-workflows h3.hw-row-title a:focus-visible { outline: 2px solid #5fa8a8; outline-offset: 3px; }
body.home-page .hw-tile h4 { margin: 0 0 8px; color: #0f2949; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }

/* Homepage tiles: one industry at a time, synced with the How it works film (2026-11-23). */
body.home-page .home-workflows[data-active="retail"] .hw-row[data-industry="warehouse"],
body.home-page .home-workflows[data-active="warehouse"] .hw-row[data-industry="retail"] { display: none; }
body.home-page .home-workflows:not([data-active]) .hw-row + .hw-row { margin-top: clamp(36px, 4.5vw, 56px); }
/* Industry switch (2026-11-26): one control, replaces syncing with the film. */
body.home-page .hw-switch { display: inline-flex; gap: 4px; margin: 0 0 clamp(24px, 3vw, 36px); padding: 4px; border-radius: 999px; background: #e9e4dc; }
body.home-page .hw-switch[hidden] { display: none; }
body.home-page .hw-switch button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: #3c4f60; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
body.home-page .hw-switch button:hover { color: #0f2949; }
body.home-page .hw-switch button[aria-selected="true"] { background: #fff; color: #0f2949; box-shadow: 0 1px 2px rgba(15, 41, 73, .08), 0 4px 12px -6px rgba(15, 41, 73, .3); }
body.home-page .hw-switch button:focus-visible { outline: 2px solid #5fa8a8; outline-offset: 2px; }
body.home-page .home-workflows[data-active] h3.hw-row-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.home-page .home-workflows .hw-row + .hw-row { margin-top: 0; }
body.home-page .hw-tiles { row-gap: 20px; }

/* Warehouse customer row under the warehouse tiles (replaces the dark band). */
body.home-page .hw-customer { position: relative; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(24px, 3vw, 36px); padding: 18px clamp(22px, 2.4vw, 32px); padding-right: 80px; border-radius: 16px; background: #fff; color: #0f2949; text-decoration: none; box-shadow: 0 1px 2px rgba(15, 41, 73, .06), 0 12px 32px -20px rgba(15, 41, 73, .28); transition: box-shadow .2s ease; }
body.home-page .hw-customer:hover { box-shadow: 0 1px 2px rgba(15, 41, 73, .08), 0 20px 44px -22px rgba(15, 41, 73, .38); }
body.home-page .hw-customer:focus-visible { outline: 2px solid #5fa8a8; outline-offset: 3px; }
body.home-page .hw-customer img { flex: none; width: auto; height: 34px; }
body.home-page .hw-customer-copy { display: flex; flex-direction: column; gap: 2px; }
body.home-page .hw-customer-copy b { font-size: 17px; font-weight: 700; line-height: 1.35; }
body.home-page .hw-customer-copy span { color: #28676a; font-size: 15px; font-weight: 600; }
body.home-page .hw-customer .hw-go { top: 50%; transform: translateY(-50%); }
body.home-page .hw-customer:hover .hw-go { background: #28676a; color: #fff; }
@media (max-width: 560px) { body.home-page .hw-customer { flex-direction: column; align-items: flex-start; padding-right: 22px; } body.home-page .hw-customer .hw-go { display: none; } }

/* One calm page rhythm (Andrew, 2026-11-23: the homepage read as jarring).
   - The scenario carousel repeated the same scenes as the How it works film
     right below it, so it is hidden; its rotation script still runs, so the
     film and the tiles keep switching between Retail and Warehouse.
   - Sections share one background instead of cream / navy / white / mint.
   - The dot-wave texture stays only on the closing call to action. */
body.home-page .hero-scenarios { display: none; }
body.home-page .home-workflows, body.home-page .home-trust-strip, body.home-page .op-flow, body.home-page .home-deployment-cta { background: #f6f3ee; }
body.home-page .op-flow { background-image: none; }
body.home-page .home-trust-strip { border-block: 1px solid rgba(15, 41, 73, .08); }

/* Four workflow cards on retail and warehouse overviews: two by two. */
@media (min-width: 761px) { body.ps-site [data-buyer-entry] .be-goals[data-items="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Customer story logo panel. */
/* Logo sits on the page itself, no white box behind it (Andrew, 2026-11-26). */
body.ps-site [data-buyer-entry] .be-goal-image.be-goal-logo { display: grid; place-items: center start; aspect-ratio: auto; background: transparent; border-radius: 0; box-shadow: none; }
body.ps-site [data-buyer-entry] .be-goal-image.be-goal-logo img { width: min(240px, 60%); height: auto; object-fit: contain; }

/* How it works heading: heading, then the intro under it, left aligned. */
body.home-page .op-flow .op-flow-heading { display: block; max-width: 46rem; }
body.home-page .op-flow .op-flow-heading h2 span { display: inline; }
body.home-page .op-flow .op-flow-lead { max-width: 40rem; margin: 12px 0 0; color: #536574; font-size: 18px; line-height: 1.6; }

/* Homepage: how the floor connects to existing systems. */
body.home-page .home-connect { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); background: #f6f3ee; }
body.home-page .home-connect .hw-heading { margin-bottom: clamp(28px, 4vw, 48px); }
body.home-page .hc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; list-style: none; }
body.home-page .hc-steps h3 { margin: 10px 0 6px; color: #0f2949; font-size: 20px; font-weight: 700; }
body.home-page .hc-steps p { margin: 0; color: #536574; font-size: 16px; line-height: 1.55; }
body.home-page .hc-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e4efee; color: #28676a; font-size: 14px; font-weight: 700; }
body.home-page .hc-systems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
body.home-page .hc-systems > li { padding: clamp(22px, 2.4vw, 30px); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(15, 41, 73, .06), 0 12px 32px -20px rgba(15, 41, 73, .28); }
body.home-page .hc-systems h3 { margin: 0 0 14px; color: #0f2949; font-size: 20px; font-weight: 700; }
body.home-page .hc-systems dl { display: grid; gap: 12px; margin: 0; }
body.home-page .hc-systems dt { color: #52606d; font-size: 13px; }
body.home-page .hc-systems dd { margin: 2px 0 0; color: #0f2949; font-size: 16px; line-height: 1.45; }
body.home-page .hc-systems .hc-floor dd { color: #28676a; font-weight: 600; }
body.home-page .hc-systems .hc-key dd { color: #536574; font-size: 14px; }
body.home-page .hc-limit { max-width: 46rem; margin: 24px 0 0; color: #536574; font-size: 15px; line-height: 1.6; }
@media (max-width: 760px) { body.home-page .hc-steps, body.home-page .hc-systems { grid-template-columns: 1fr; } }
body.home-page .home-connect .hw-heading { max-width: 46rem; }
body.home-page .home-connect h2 { margin: 0 0 12px; color: #0f2949; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; text-wrap: balance; }
body.home-page .home-connect .hw-heading p { margin: 0; color: #536574; font-size: 18px; line-height: 1.6; max-width: 40rem; }

/* Phones: the four system cards scroll sideways instead of stacking into a
   column taller than a screen and a half. */
@media (max-width: 760px) {
  body.home-page .hc-systems { display: flex; gap: 12px; margin-inline: -20px; padding: 2px 20px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  body.home-page .hc-systems::-webkit-scrollbar { display: none; }
  body.home-page .hc-systems > li { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }
}

/* VAS capacity and margin section (vas-margin.mjs): the intro sits under the
   heading at reading width, then the three points use the proof list. */
.vas-margin .vas-margin-intro { max-width: 46rem; margin: 0; color: #536574; }
/* Heading on the left; intro and the three points share the right column. */
@media (min-width: 1101px) {
  .ip-proof.vas-margin { grid-template-rows: auto auto; row-gap: clamp(20px, 2.6vw, 32px); }
  .ip-proof.vas-margin h2 { grid-row: 1 / span 2; }
  .ip-proof.vas-margin .vas-margin-intro, .ip-proof.vas-margin .ip-proof-list { grid-column: 2; }
}
@media (min-width: 761px) {
  .ip-proof.vas-margin[data-items="3"] .ip-proof-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ip-proof.vas-margin[data-items="3"] .ip-proof-list li:first-child p { max-width: none; }
}
/* Connect section: one camera-view still above each system (2026-11-26). */
body.home-page .hc-shot { position: relative; margin: 0 0 18px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: #d9e1e8; }
body.home-page .hc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.home-page .hc-box { position: absolute; border: 2px solid #f2b84b; border-radius: 6px; box-shadow: 0 0 0 1px rgba(15, 41, 73, .35), 0 2px 10px rgba(15, 41, 73, .25); pointer-events: none; }
body.home-page #home-hero-title .hh-line { display: block; }
@media (max-width: 420px) { body.home-page #home-hero-title.home-hero-two-tone { font-size: 33px; } }

/* How it works film, distilled (critique 2026-11-26). The stage tabs already
   move between stages and show progress, so the arrows, counter and full-screen
   button are hidden (kept in the markup because the player script binds them).
   Pause stays: the film plays on its own. The industry choice uses the same
   switch as the workflow grid, so the page has one tab style. */
body.home-page #how-it-works :is([data-flow-previous], [data-flow-next], [data-flow-fullscreen], .op-story-position) { display: none !important; }
body.home-page #how-it-works .op-story-controls { justify-content: flex-end; }
body.home-page #how-it-works .op-flow-scenes { display: inline-flex; gap: 4px; width: auto; padding: 4px; border-radius: 999px; background: #e9e4dc; }
body.home-page #how-it-works .op-flow-scenes [data-flow-select] { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: #3c4f60; font-size: 16px; font-weight: 600; box-shadow: none; }
body.home-page #how-it-works .op-flow-scenes [data-flow-select]:hover { color: #0f2949; background: transparent; }
body.home-page #how-it-works .op-flow-scenes [data-flow-select][aria-pressed="true"] { background: #fff; color: #0f2949; box-shadow: 0 1px 2px rgba(15, 41, 73, .08), 0 4px 12px -6px rgba(15, 41, 73, .3); }
body.home-page #how-it-works .op-flow-scenes [data-flow-select]:focus-visible { outline: 2px solid #5fa8a8; outline-offset: 2px; }
@media (min-width: 900px) { body.home-page #how-it-works .op-story-copies { align-self: start; margin-top: 46px; } }

/* Quieter pass (critique 2026-11-26). Connect cards read as two lines: what
   the record says (muted), then what the floor shows (stronger). The labels
   stay for screen readers. */
body.home-page .hc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.home-page .hc-systems .hc-rec { margin: 0; color: #52606d; font-size: 15px; line-height: 1.45; }
body.home-page .hc-systems .hc-rec::before { content: "\201C"; } body.home-page .hc-systems .hc-rec::after { content: "\201D"; }
body.home-page .hc-systems .hc-floor { margin: 6px 0 0; color: #0f2949; font-size: 17px; font-weight: 600; line-height: 1.45; }
/* No decorative accent bar above the film headings. */
body.home-page #how-it-works .op-story-copy h3::before { display: none; }
/* Agent view chip: readable size. */
.agent-view-toggle strong { font-size: 12px; }

/* Polish (critique 2026-11-26). The fixed header sits over the hero, so the
   hero starts at the top instead of under a light 96px band. The active stage
   tab drops its white wash; the progress line already marks it. */
body.home-page.studio-site .studio-main { padding-top: 0; }
body.home-page .home-interface-hero { padding-top: calc(96px + clamp(24px, 4vw, 56px)); }
body.home-page #how-it-works .op-stage-tabs button { background-image: none; }
body.home-page #home-deployment-title .ip-phrase { display: inline-block; }
/* The visually hidden labels are absolutely positioned; anchor them to their
   card so they stay inside the horizontal scroller instead of widening the
   page on phones (regression from the quieter pass, 2026-11-26). */
body.home-page .hc-systems > li { position: relative; }
body.home-page .home-workflows .hw-row { position: relative; }

/* Hero copy is readable from the first frame (critique 2026-11-26): it rises
   into place but never starts transparent, so a throttled or background tab
   never shows an empty hero. */
@keyframes hh-lift { from { transform: translateY(18px); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html body.home-page .home-interface-hero h1,
  html body.home-page .home-interface-hero .story-hero-actions { animation-name: hh-lift; }
  html body.home-page .home-interface-hero .hh-muted { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  html body.home-page .home-interface-hero :is(h1, .hh-muted, .story-hero-actions) { animation: none; }
}
