.product-page { background: var(--paper-bright); }

.product-header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

.product-header-link:hover { color: var(--white); }
.product-header-link span:last-child { color: var(--red); }

.product-hero {
  padding-top: var(--header-h);
  color: var(--white);
  background: var(--ink);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 720px;
}

.product-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 7vw 96px 0;
}

.product-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.product-crumbs a:hover { color: var(--white); }
.product-crumbs span:last-child { color: rgba(255,255,255,.84); }

.product-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.06;
  text-wrap: balance;
}

.product-hero-lead {
  max-width: 60ch;
  margin: 38px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 18px;
  line-height: 1.78;
  text-wrap: pretty;
}

.product-hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 44px; }

.product-hero-media {
  position: relative;
  min-height: 720px;
  margin-right: calc((100vw - min(100vw - 96px, var(--shell))) / -2);
  overflow: hidden;
}

.product-hero-media > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.04); }
.product-hero-media-real > img { filter: saturate(.94) contrast(1.03); object-position: center 44%; }
.pms-hero-media > img { filter: saturate(.86) contrast(1.03); object-position: 64% center; }
.product-hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(33,31,29,.34), transparent 40%), linear-gradient(180deg, transparent 55%, rgba(33,31,29,.42)); }
.product-media-label { position: absolute; z-index: 2; right: 32px; bottom: 32px; padding: 12px 15px; color: var(--ink); background: rgba(251,250,248,.94); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* The face-recognition page uses a genuine landscape video frame. Present it
   full-width instead of forcing documentary footage into an artificial crop. */
.face-page .product-hero-grid { grid-template-columns: 1fr; min-height: 0; }
.face-page .product-hero-copy { min-height: 0; max-width: 980px; padding-right: 0; }
.face-page .product-hero-media { min-height: 0; aspect-ratio: 1600 / 881; margin-inline: calc((100vw - min(100vw - 96px, var(--shell))) / -2); }
.face-page .product-hero-media > img { object-position: center; }

.product-proof {
  color: var(--ink);
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}

.product-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.product-proof-grid > div { min-height: 116px; padding: 28px 34px; border-right: 1px solid var(--line); }
.product-proof-grid > div:first-child { padding-left: 0; }
.product-proof-grid > div:last-child { border-right: 0; }
.product-proof strong { display: block; margin-bottom: 9px; color: var(--red); font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.product-proof span { display: block; max-width: 310px; font-size: 14px; line-height: 1.5; }

.product-section { padding: 130px 0; }
.product-section.alt { background: var(--paper); }
.product-section.dark { color: var(--white); background: var(--ink-soft); }

.product-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 11vw; align-items: start; }
.product-intro-grid h2 { max-width: 520px; margin: 0; font-size: clamp(2.45rem, 4vw, 4.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.09; text-wrap: balance; }
.product-intro-copy { max-width: 740px; }
.product-intro-copy > p { margin: 0 0 24px; color: var(--muted); font-size: 17px; line-height: 1.82; }
.dark .product-intro-copy > p { color: rgba(255,255,255,.64); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.feature-card { min-height: 260px; padding: 38px 38px 32px 0; border-right: 1px solid var(--line); }
.feature-card:not(:first-child) { padding-left: 38px; }
.feature-card:last-child { border-right: 0; }
.feature-card small { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.feature-card h3 { margin: 56px 0 18px; font-size: 24px; font-weight: 500; letter-spacing: -.025em; line-height: 1.22; text-wrap: balance; }
.feature-card p { max-width: 42ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; text-wrap: pretty; }

.section-title-row { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8vw; margin-bottom: 72px; }
.section-title-row h2 { max-width: 760px; margin: 0; font-size: clamp(2.5rem, 4.1vw, 4.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.09; text-wrap: balance; }
.section-title-row > p { max-width: 58ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.82; text-wrap: pretty; }
.dark .section-title-row > p { color: rgba(255,255,255,.62); }

.product-steps { border-top: 1px solid var(--line); }
.product-demo-section { background: #f3f0eb; }
.product-demo-grid .section-title-row { align-items: end; }
.workflow-proof-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: -38px 0 28px; }
.workflow-proof-bar span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; color: var(--red-dark); background: rgba(255,255,255,.68); border: 1px solid rgba(73,49,41,.16); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.workflow-proof-bar span::before { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.product-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.product-video-stage { overflow: hidden; color: var(--white); background: var(--ink); }
.product-video-card-featured { grid-column: 1 / -1; }
.product-video-stage video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.product-video-caption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; }
.product-video-caption > div { display: grid; gap: 7px; }
.product-video-caption span { color: rgba(255,255,255,.52); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.product-video-caption strong { font-size: 16px; font-weight: 600; }
.product-video-caption p { max-width: 45ch; margin: 0; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.6; }
.product-video-caption a { color: var(--white); font-size: 12px; font-weight: 700; }
.video-description { border-top: 1px solid rgba(255,255,255,.14); }
.video-description summary { padding: 14px 22px; color: rgba(255,255,255,.82); cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.video-description ol { margin: 0; padding: 0 22px 18px 42px; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.75; }
.product-video-link { display: inline-flex; margin-top: 30px; color: var(--red-dark); font-size: 12px; font-weight: 700; }

.case-hero { padding: calc(var(--header-h) + 105px) 0 110px; color: var(--white); background: var(--ink); }
.case-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 10vw; }
.case-hero h1 { max-width: 12ch; margin: 28px 0 32px; font-size: clamp(3.2rem, 6vw, 7rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.02; text-wrap: balance; }
.case-hero-grid > div > p:last-child { max-width: 62ch; margin: 0; color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.75; }
.review-panel { padding: 30px; border: 1px solid rgba(255,255,255,.2); }
.review-panel strong { color: #e8b8a7; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.review-panel p { margin: 18px 0 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.7; }
.case-list { display: grid; gap: 90px; }
.case-study { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 7vw; }
.case-study:nth-child(even) .case-study-media { order: 2; }
.case-study-media { overflow: hidden; background: var(--ink); }
.case-study-media img, .case-study-media video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-study-media-portrait img { object-position: center 48%; }
.case-study-copy small { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.case-study-copy h2 { margin: 24px 0 22px; font-size: clamp(2.1rem, 3.5vw, 4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.case-study-copy p, .case-study-copy li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.case-study-copy ul { margin: 26px 0 0; padding-left: 18px; }
.case-facts { display: grid; margin: 30px 0 0; border-top: 1px solid var(--line); }
.case-facts > div { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.case-facts dt { color: var(--red-dark); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-facts dd { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.55; }

.resource-article { padding: calc(var(--header-h) + 110px) 0 120px; }
.resource-header { max-width: 1040px; margin: 0 auto 80px; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
.resource-header h1 { max-width: 14ch; margin: 34px 0; font-size: clamp(3.2rem, 6vw, 6.7rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.02; text-wrap: balance; }
.resource-deck { max-width: 64ch; color: var(--muted); font-size: 20px; line-height: 1.65; }
.resource-meta { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 36px; color: var(--red-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.resource-body { max-width: 760px; margin: 0 auto; }
.resource-body > p, .resource-body li { color: var(--muted); font-size: 17px; line-height: 1.85; }
.resource-body h2 { margin: 2.1em 0 .65em; font-size: clamp(2rem, 3.3vw, 3.25rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.14; }
.resource-body aside { margin: 58px 0; padding: 34px; background: #efe3cf; border-left: 3px solid var(--red); }
.resource-body aside strong { color: var(--red-dark); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.resource-body aside p { margin: 14px 0 0; color: var(--ink); font-size: 16px; line-height: 1.7; }
.resource-cta { margin-top: 60px; }
.product-step { display: grid; grid-template-columns: 70px .82fr 1.18fr; align-items: center; gap: 46px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.product-step-number { align-self: start; padding-top: 5px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.product-step-copy h3 { margin: 0 0 14px; font-size: 27px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.product-step-copy p { max-width: 50ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.78; text-wrap: pretty; }
.product-step-media { overflow: hidden; background: #ebe7e1; }
.product-step-media img { width: 100%; aspect-ratio: 16/8.8; object-fit: cover; transition: transform 500ms var(--ease); }
.product-step:hover .product-step-media img { transform: scale(1.02); }

.module-list { border-top: 1px solid var(--line); }
.module { display: grid; grid-template-columns: 70px 72px minmax(220px, .7fr) minmax(340px, 1fr); gap: 28px; align-items: center; min-height: 158px; padding: 0; border-bottom: 1px solid var(--line); transition: background 220ms ease, padding 220ms var(--ease); }
.module:hover { padding-inline: 20px; background: var(--paper-bright); }
.module > small { align-self: start; padding-top: 30px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.module-icon { display: grid; width: 62px; height: 62px; place-items: center; color: var(--ink); background: var(--paper-deep); }
.module-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.module h3 { margin: 0; font-size: clamp(1.5rem, 2.1vw, 2.15rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.module ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.module li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.module li::before { position: absolute; top: .72em; left: 0; width: 7px; height: 1px; content: ""; background: var(--red); }
.module > p { max-width: 58ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; text-wrap: pretty; }

.evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.evidence-card { color: var(--ink); background: var(--paper-bright); border: 1px solid var(--line); }
.evidence-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: saturate(.7); }
.evidence-card img.evidence-image-real { filter: saturate(.94) contrast(1.03); }
.evidence-card-text { position: relative; display: grid; min-height: 286px; align-items: end; overflow: hidden; background: linear-gradient(145deg, #fff 0%, #f2eee8 100%); }
.evidence-card-text::before { position: absolute; content: ""; inset: 0 auto 0 0; width: 4px; background: var(--red); }
.evidence-card-text .evidence-card-copy { padding: 44px 34px; }
.evidence-card-copy { padding: 28px; }
.evidence-card small { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.evidence-card h3 { margin: 18px 0 12px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.24; text-wrap: balance; }
.evidence-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.78; text-wrap: pretty; }
.product-hero-panel { align-self: stretch; display: grid; align-content: end; min-height: 520px; padding: 44px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(145deg, #2b2927 0%, #171615 100%); }
.product-hero-panel small { margin-bottom: 28px; color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.product-hero-panel > div { display: grid; grid-template-columns: 1fr 1fr; }
.product-hero-panel strong { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 18px; font-weight: 500; }
.product-hero-panel strong:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }

.kiosk-model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kiosk-model { overflow: hidden; color: var(--ink); background: var(--paper-bright); }
.kiosk-model img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(.82); transition: transform 600ms var(--ease); }
.kiosk-model img.kiosk-product-shot { padding: 24px; object-fit: contain; filter: none; background: #fff; }
.kiosk-model:hover img { transform: scale(1.025); }
.kiosk-model > div { padding: 28px; }
.kiosk-model small { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.kiosk-model h3 { margin: 18px 0 13px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.24; text-wrap: balance; }
.kiosk-model p { max-width: 44ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.78; text-wrap: pretty; }

.benefit-band { padding: 100px 0; color: var(--white); background: var(--red-dark); }
.benefit-band-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: center; }
.benefit-band h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 4.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.09; text-wrap: balance; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.2); }
.benefit-list div { min-height: 120px; padding: 25px; background: var(--red-dark); }
.benefit-list strong { display: block; margin-bottom: 8px; font-size: 15px; }
.benefit-list span { color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.55; }

.product-cta { padding: 110px 0; color: var(--white); background: var(--ink); }
.product-cta-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 70px; }
.product-cta h2 { max-width: 840px; margin: 0; font-size: clamp(2.6rem, 4.5vw, 5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }

@media (max-width: 980px) {
  .product-header-link { display: none; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-hero-copy { min-height: 630px; padding: 92px 0 88px; }
  .product-hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 6.8vw, 4.25rem); }
  .product-hero-lead { max-width: 58ch; }
  .product-hero-media { min-height: 590px; margin: 0 -32px; }
  .product-intro-grid, .benefit-band-grid { grid-template-columns: 1fr; gap: 45px; }
  .product-step { grid-template-columns: 50px 1fr; }
  .module { grid-template-columns: 50px 62px 1fr; gap: 28px; padding-block: 28px; }
  .case-hero-grid, .case-study { grid-template-columns: 1fr; gap: 50px; }
  .case-study:nth-child(even) .case-study-media { order: 0; }
  .product-step-media { grid-column: 2; }
  .module h3 { grid-column: 3; }
  .module ul, .module > p { grid-column: 3; }
  .section-title-row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 60px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(odd):last-child { grid-column: 1 / -1; }
  .evidence-grid { grid-template-columns: 1fr 1fr; }
  .evidence-card:nth-child(odd):last-child { display: grid; grid-column: 1 / -1; grid-template-columns: 1.12fr .88fr; }
  .evidence-card:nth-child(odd):last-child img { height: 100%; aspect-ratio: auto; }
  .evidence-card:nth-child(odd):last-child .evidence-card-copy { align-self: center; }
  .product-hero-panel { min-height: auto; padding: 36px 32px; align-content: start; }
  .product-hero-panel small { margin-bottom: 18px; }
  .kiosk-model-grid { grid-template-columns: 1fr 1fr; }
  .kiosk-model:nth-child(odd):last-child { display: grid; grid-column: 1 / -1; grid-template-columns: 1.18fr .82fr; }
  .kiosk-model:nth-child(odd):last-child img { height: 100%; aspect-ratio: auto; }
  .kiosk-model:nth-child(odd):last-child > div { display: flex; flex-direction: column; justify-content: center; padding: 38px; }
}

@media (max-width: 700px) {
  .product-hero-copy { min-height: 580px; padding: 84px 0 70px; }
  .product-hero h1 { max-width: 16ch; font-size: clamp(2.55rem, 11vw, 3.75rem); line-height: 1.08; }
  .product-hero-lead { font-size: 16px; }
  .product-hero-actions { align-items: flex-start; flex-direction: column; }
  .product-hero-media { min-height: 440px; margin-inline: -20px; }
  .face-page .product-hero-copy { min-height: 0; }
  .face-page .product-hero-media { min-height: 0; aspect-ratio: 1664 / 936; margin-inline: -20px; }
  .pms-page .product-hero-media > img { object-position: 64% center; }
  .product-proof-grid { grid-template-columns: 1fr; }
  .product-proof-grid > div { min-height: 86px; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-section { padding: 84px 0; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 52px; }
  .feature-card:nth-child(odd):last-child { grid-column: auto; }
  .feature-card, .feature-card:not(:first-child) { min-height: 220px; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card h3 { margin-top: 42px; }
  .product-step { grid-template-columns: 32px 1fr; gap: 18px; padding: 32px 0; }
  .module { grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 26px 0; }
  .module:hover { padding-inline: 12px; }
  .module > small { grid-row: span 2; padding-top: 4px; }
  .module-icon { grid-column: 2; grid-row: 1; width: 55px; height: 55px; }
  .module-icon svg { width: 28px; height: 28px; }
  .module h3 { grid-column: 2; grid-row: 2; margin: 0; }
  .module ul, .module > p { grid-column: 2; grid-row: 3; }
  .product-step-copy h3, .module h3 { font-size: 22px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-card:nth-child(odd):last-child { display: block; grid-column: auto; }
  .evidence-card:nth-child(odd):last-child img { height: auto; aspect-ratio: 16 / 9; }
  .product-hero-panel { min-height: auto; padding: 32px 24px; }
  .product-hero-panel strong { font-size: 15px; }
  .kiosk-model-grid { grid-template-columns: 1fr; }
  .kiosk-model:nth-child(odd):last-child { display: block; grid-column: auto; }
  .kiosk-model:nth-child(odd):last-child img { height: auto; aspect-ratio: 4/3; }
  .kiosk-model:nth-child(odd):last-child > div { display: block; padding: 28px; }
  .benefit-list { grid-template-columns: 1fr; }
  .product-cta-grid { grid-template-columns: 1fr; }
  .case-hero { padding-top: calc(var(--header-h) + 72px); }
  .case-hero h1, .resource-header h1 { font-size: clamp(2.7rem, 12vw, 4.4rem); }
  .product-video-caption { align-items: flex-start; flex-direction: column; }
  .product-video-grid { grid-template-columns: 1fr; }
  .product-video-card-featured { grid-column: auto; }
  .workflow-proof-bar { margin-top: -42px; }
  .case-facts > div { grid-template-columns: 96px 1fr; }
}
