/* Homepage-specific composition. Color values come from the engineering-gorilla tokens. */
:root {
  --ink: var(--color-text-primary);
  --muted: var(--color-text-secondary);
  --line: var(--color-border-subtle);
  --yellow: var(--color-brand-yellow-300);
  --blue: var(--color-blue-500);
  --deep: var(--color-bg-dark);
}

body { color: var(--color-text-primary); }
.site-header { height: 72px; border-color: var(--color-border-inside); background: rgb(255 255 255 / 96%); }
.brand-sub { border-color: var(--color-border-subtle); color: var(--color-text-secondary); }
.desktop-nav a { color: var(--color-text-secondary); }
.desktop-nav a:hover, .desktop-nav a.current { color: var(--color-text-primary); }
.header-cta { height: 48px; border-radius: 999px; background: var(--color-bg-dark); }
.header-cta:hover { background: var(--color-neutral-40); }
.menu-toggle { border-color: var(--color-border-subtle); }

.hero { background: var(--color-bg-dark); }
.hero h1 { font-size: 54px; }
.hero-kicker span { display: none; }
.button { min-height: 48px; border-radius: 999px; }
.button-brand:hover { background: var(--color-brand-yellow-400); }
.value-strip { background: rgb(38 38 38 / 64%); }
.value-inner strong { font-family: var(--font-family-number, Arial, sans-serif); font-weight: 700; }

.section-pad { padding: 76px 0 84px; scroll-margin-top: 72px; }
.section-topline { justify-content: flex-start; padding: 0; border: 0; }
.eyebrow { color: var(--color-text-tertiary); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.section-index { display: none; }
.section-heading-row { justify-content: flex-start; margin: 10px 0 30px; text-align: left; }
.section-heading-row h2, .faq h2 { font-size: 36px; line-height: 1.25; font-weight: 700; }
.section-heading-row p, .faq-intro p { margin-top: 8px; color: var(--color-text-secondary); font-size: 14px; }
.features .section-heading-row > div, .roles .section-heading-row > div, .workflow .section-heading-row > div { width: 100%; display: block; }
.features .section-heading-row p, .roles .section-heading-row p, .workflow .section-heading-row p { margin: 10px 0 0; font-size: 16px; white-space: normal; }

/* Preserve the orbit; the photograph and red tint live behind it. */
.pain-points.section-pad { padding: 0; background: var(--color-bg-surface); }
.pain-points > .container { width: 100%; max-width: none; }
.pain-grid { width: 100%; height: clamp(480px, 44vw, 560px); display: block; position: relative; isolation: isolate; overflow: hidden; border-radius: 0; background: var(--color-neutral-90); }
.pain-grid::before { content: ""; position: absolute; z-index: 0; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: url('../img/industry-procurement.png') center 46% / cover no-repeat; filter: grayscale(100%) contrast(90%); opacity: .72; transform: none; }
.pain-grid::after { content: ""; position: absolute; z-index: 1; inset: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(180deg, rgb(247 247 247 / 70%) 0%, rgb(240 240 240 / 20%) 48%, rgb(255 48 48 / 16%) 100%); pointer-events: none; }
.pain-grid .section-heading-row { position: absolute; z-index: 3; top: 35px; right: 24px; left: 24px; justify-content: center; margin: 0; text-align: center; }
.pain-grid .section-heading-row p { color: var(--color-text-secondary); }
.pain-grid .pain-center { z-index: 3; top: 60.5%; width: 188px; height: 188px; border-color: var(--color-border-subtle); background: rgb(255 255 255 / 90%); box-shadow: 0 4px 24px rgb(0 0 0 / 8%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pain-center small { color: var(--color-text-tertiary); }
.pain-grid .pain-item { z-index: 2; width: 182px; height: 182px; padding: 15px; border-color: var(--color-border-subtle); background: rgb(255 255 255 / 92%); box-shadow: 0 4px 16px rgb(0 0 0 / 6%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pain-grid .pain-item:hover { box-shadow: 0 4px 24px rgb(0 0 0 / 8%); }
.pain-grid .pain-item:nth-of-type(1) { top: 25%; left: max(8%, calc(50% - 420px)); }
.pain-grid .pain-item:nth-of-type(2) { top: 25%; right: max(8%, calc(50% - 420px)); }
.pain-grid .pain-item:nth-of-type(3) { bottom: 4%; left: max(8%, calc(50% - 420px)); }
.pain-grid .pain-item:nth-of-type(4) { bottom: 4%; right: max(8%, calc(50% - 420px)); }
.pain-item > svg { width: 58px; height: 58px; margin-bottom: 9px; padding: 12px; border-color: var(--color-red-300); background: var(--color-red-100); color: var(--color-neutral-15); stroke-width: 2.4; }
.pain-item h3 { font-size: 16px; }
.pain-item p { color: var(--color-text-tertiary); font-size: 12px; }
.pain-item strong { margin-top: 8px; color: var(--color-text-secondary); font-size: 12px; }
.pain-item strong svg { color: var(--color-text-primary); }
.pain-advantages { width: min(1240px, calc(100% - 80px)); display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; align-items: center; margin: auto; padding: 26px 0 30px; }
.pain-advantages h3 { margin: 0; font-size: 20px; font-weight: 700; }
.pain-advantages ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pain-advantages li { display: flex; align-items: center; gap: 8px; color: var(--color-text-secondary); font-size: 16px; font-weight: 600; line-height: 1.5; }
.pain-advantages li svg { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; background: var(--color-brand-yellow-300); color: var(--color-text-primary); stroke-width: 2.5; }

/* A dark product viewport next to a calm, two-column capability index. */
.features { background: var(--color-neutral-95); }
.features-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: start; }
.showcase-stage { min-height: 520px; border: 0; border-radius: 8px; background: var(--color-bg-dark); }
.showcase-stage::before { display: none; }
.showcase-stage::after { height: 20%; background: linear-gradient(transparent, var(--color-bg-dark)); }
.showcase-screen { top: 48px; border: 3px solid var(--color-bg-surface); border-radius: 8px; box-shadow: 0 4px 24px rgb(0 0 0 / 22%); transform: none; }
.showcase-screen-front { z-index: 4; width: 224px; height: 470px; left: 7%; top: 32px; }
.showcase-screen-mid { z-index: 3; width: 178px; height: 355px; right: 13%; top: 48px; }
.showcase-screen-back { z-index: 2; width: 178px; height: 355px; left: auto; right: -4%; top: 170px; }
.feature-showcase > p { color: var(--color-text-tertiary); text-align: left; }
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--color-border-subtle); }
.feature-item { min-height: 170px; border-bottom: 1px solid var(--color-border-subtle); }
.feature-item:nth-child(odd) { border-right: 1px solid var(--color-border-subtle); }
.feature-item:hover { padding-left: 0; background: var(--color-bg-surface); }
.feature-content { min-height: 170px; display: block; padding: 24px 22px; }
.feature-content > svg { width: 36px; height: 36px; padding: 7px; border-radius: 4px; background: var(--color-brand-yellow-100); color: var(--color-text-primary); }
.feature-item h3 { margin: 16px 0 0; font-size: 16px; }
.feature-item p { margin-top: 7px; color: var(--color-text-secondary); font-size: 12px; line-height: 1.55; }
.feature-more { top: 26px; right: 18px; }
.feature-more svg { color: var(--color-text-tertiary); }

/* A full-bleed light / dark split makes the two-sided marketplace tangible. */
.roles.section-pad { padding-bottom: 0; }
.roles .role-layout { width: 100vw; min-height: 440px; position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-left: calc(50% - 50vw); border: 0; background: var(--color-bg-surface); }
.role-column { min-height: 440px; position: relative; isolation: isolate; grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); }
.role-column.buyer { background: var(--color-neutral-95); }
.role-column.supplier { grid-column: 2; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); background: var(--color-bg-surface); color: var(--color-text-primary); }
.role-copy, .role-column.buyer .role-copy { z-index: 1; justify-content: center; padding: 32px 16px 32px max(40px, calc((100vw - 1240px) / 2)); }
.role-column.supplier .role-copy { grid-column: 2; grid-row: 1; padding: 32px max(40px, calc((100vw - 1240px) / 2)) 32px 42px; }
.role-marker { color: var(--color-text-secondary); font-size: 18px; font-weight: 700; }
.supplier .role-marker { color: var(--color-text-tertiary); }
.role-column h3 { margin: 12px 0 10px; font-size: 34px; }
.role-column ul { gap: 20px; margin: 16px 0 28px; }
.role-column li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; color: var(--color-text-secondary); font-size: 14px; line-height: 1.5; }
.role-column li strong { color: var(--color-text-primary); font-size: 16px; line-height: 1.35; }
.supplier li { color: var(--color-text-secondary); }
.supplier li strong { color: var(--color-text-primary); }
.role-link { height: 48px; margin-top: 0; padding: 0 22px; border-radius: 999px; font-size: 14px; }
.buyer .role-link { border-color: var(--color-brand-yellow-300); background: var(--color-brand-yellow-300); color: var(--color-text-primary); }
.buyer .role-link:hover { background: var(--color-brand-yellow-400); }
.supplier .role-link { border-color: var(--color-blue-500); background: var(--color-blue-500); color: var(--color-text-inverse); }
.supplier .role-link:hover { filter: brightness(.92); }
.role-media, .role-column.supplier .role-media { position: absolute; z-index: -1; inset: 0; display: block; overflow: hidden; pointer-events: none; }
.role-media img, .supplier .role-media img { width: 100%; max-width: none; height: 100%; position: absolute; inset: 0; border: 0; border-radius: 0; object-fit: cover; object-position: center; box-shadow: none; transform: none; }
.role-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / 42%), transparent 64%); }
.supplier .role-media::after { background: linear-gradient(270deg, rgb(255 255 255 / 38%), transparent 64%); }
.role-exchange { width: 96px; height: 96px; position: absolute; z-index: 5; top: 50%; left: 50%; gap: 5px; border: 6px solid var(--color-bg-surface); border-radius: 50%; background: var(--color-brand-yellow-300); color: var(--color-text-primary); transform: translate(-50%, -50%); }
.role-exchange::before, .role-exchange::after { display: none; }
.role-exchange svg { width: 26px; height: 26px; color: var(--color-text-primary); }
.role-exchange strong { font-size: 12px; }

/* A light process rail gives the eye a break between the split and catalog. */
.workflow { background: var(--color-neutral-95); color: var(--color-text-primary); }
.workflow .section-heading-row h2 { color: var(--color-text-primary); }
.workflow .section-heading-row p { color: var(--color-text-secondary); }
.workflow .eyebrow { color: var(--color-text-tertiary); }
.flow-pair { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; align-items: stretch; }
.flow-lanes { min-width: 0; }
.flow-lane { margin-top: 16px; padding: 30px 28px; border: 0; border-radius: 8px; }
#flow-buyer { background: var(--color-brand-yellow-100); }
#flow-supplier { background: var(--color-blue-100); }
.flow-lane-mark { background: var(--color-brand-yellow-300); color: var(--color-text-primary); }
#flow-supplier .flow-lane-mark { background: var(--color-blue-300); }
.flow-steps::before { background: var(--color-border-medium); }
.flow-steps span { border-color: var(--color-text-primary); background: var(--color-bg-dark); color: var(--color-text-inverse); }
.flow-steps li:hover span { border-color: var(--color-brand-yellow-300); background: var(--color-brand-yellow-300); color: var(--color-text-primary); }
#flow-supplier .flow-steps li:hover span { border-color: var(--color-blue-500); background: var(--color-blue-500); color: var(--color-text-inverse); }
.flow-steps small { color: var(--color-text-secondary); }
.flow-divider { min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; margin-top: 16px; padding: 0; color: var(--color-text-primary); }
.flow-divider .flow-arc { width: 100%; height: 100%; position: absolute; inset: 0; display: block; }
.flow-band-top { fill: url(#flow-upper); }
.flow-band-bottom { fill: url(#flow-lower); }
.flow-divider strong { z-index: 1; width: 68%; position: absolute; top: 50%; left: 0; display: block; margin: 0; padding: 0; font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; transform: translateY(-50%); }
.flow-divider strong br { display: initial; }

/* Keep the material catalog light and easy to scan. */
.categories { background: var(--color-bg-surface); color: var(--color-text-primary); }
.categories .section-heading-row { justify-content: center; text-align: center; }
.categories .eyebrow { color: var(--color-text-tertiary); }
.categories .section-heading-row h2 { color: var(--color-text-primary); }
.categories .section-heading-row p { margin-top: 10px; color: var(--color-text-secondary); font-size: 16px; }
.category-tags { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.category-tags a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 8px; background: var(--color-neutral-80); color: var(--color-neutral-40); font-size: 16px; font-weight: 600; text-align: center; transition: background .2s, color .2s; }
.category-tags a:hover, .category-tags a:focus-visible { background: var(--color-brand-yellow-300); color: var(--color-text-primary); }
.material-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: none; gap: 12px; margin-bottom: 0; }
.material-gallery figure, .material-gallery figure:first-child { aspect-ratio: 1; position: relative; display: block; grid-column: auto; grid-row: auto; border: 1px solid var(--color-border-subtle); border-radius: 0; background: var(--color-bg-surface); color: var(--color-text-primary); scroll-margin-top: 90px; }
.material-gallery figure:hover { box-shadow: 0 4px 24px rgb(0 0 0 / 20%); }
.material-gallery figure > div { height: 100%; background: #fff; }
.material-gallery img { width: 100%; height: 100%; object-fit: contain; }
.material-gallery figure:last-child img { clip-path: inset(12% 10%); transform: scale(1.1); }
.material-gallery figcaption, .material-gallery figure:first-child figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px 14px; border: 0; background: rgb(255 255 255 / 75%); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); color: rgb(77 77 77 / 90%); }
.material-gallery small, .material-gallery strong, .material-gallery figure:first-child strong { color: rgb(77 77 77 / 90%); }
.material-gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; margin-bottom: 32px; }
.material-gallery-dots span { width: 8px; height: 8px; flex: none; border: 1px solid var(--color-neutral-60); border-radius: 50%; background: #fff; }
.scenarios-grid { border-color: var(--color-border-subtle); }
.scenarios-grid article { border-color: var(--color-border-subtle); }
.scenarios-grid article > svg { color: var(--color-brand-yellow-300); }
.scenarios-grid p, .region-note { color: var(--color-text-secondary); }

.faq { background: var(--color-neutral-95); }
.faq-intro h2 { margin-top: 0; }
.faq-list { border-color: var(--color-border-medium); }
.faq-list details { border-color: var(--color-border-subtle); }
.faq-list details p { color: var(--color-text-secondary); }
.closing { background: var(--color-bg-dark); }
.closing-brand p, .closing-brand a, .closing-brand span { color: var(--color-neutral-70); }
.closing-brand .closing-slogan { color: var(--color-text-inverse); }
.closing-qr { border-color: rgb(255 255 255 / 18%); }
.closing-qr small { color: var(--color-neutral-60); }
.qr-visual svg { color: var(--color-brand-yellow-300); }
.site-footer { background: var(--color-neutral-0); color: var(--color-neutral-60); }

@media (max-width: 900px) {
  .header-actions { margin-left: auto; flex-shrink: 0; }
  .section-pad { padding: 64px 0 72px; }
  .section-heading-row h2, .faq h2 { font-size: 32px; }
  .category-tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .material-gallery { display: flex; flex-wrap: wrap; justify-content: center; }
  .material-gallery figure, .material-gallery figure:first-child { width: calc((100% - 24px) / 3); flex: none; }
  .pain-grid { height: 470px; }
  .pain-grid .pain-item { width: 165px; height: 165px; }
  .pain-grid .pain-center { width: 172px; height: 172px; }
  .pain-grid .pain-item:nth-of-type(1), .pain-grid .pain-item:nth-of-type(3) { left: 5%; }
  .pain-grid .pain-item:nth-of-type(2), .pain-grid .pain-item:nth-of-type(4) { right: 5%; }
  .pain-advantages { width: min(100% - 40px, 720px); grid-template-columns: 1fr; gap: 12px; }
  .pain-advantages ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-layout { grid-template-columns: 1fr; gap: 24px; }
  .showcase-stage { min-height: 500px; }
  .roles .role-layout { grid-template-columns: 1fr; }
  .role-column.supplier { grid-column: 1; }
  .role-column, .role-column.supplier { min-height: 390px; grid-template-columns: minmax(0, 57fr) minmax(0, 43fr); }
  .role-column.supplier { grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); }
  .role-copy, .role-column.buyer .role-copy { padding: 32px 20px 32px 40px; }
  .role-column.supplier .role-copy { padding: 32px 40px 32px 42px; }
  .role-exchange { width: 94px; height: 94px; }
}

@media (max-width: 700px) {
  .site-header { height: 68px; }
  .header-inner { gap: 12px; }
  .menu-toggle { margin-left: 8px; }
  .header-cta { height: 36px; }
  .hero h1 { font-size: 38px; }
  .section-pad { padding: 56px 0 62px; }
  .section-heading-row { margin: 8px 0 24px; }
  .section-heading-row h2, .faq h2 { font-size: 28px; }
  .pain-grid { height: 600px; border-radius: 0; }
  .pain-grid .section-heading-row { top: 24px; }
  .pain-grid .section-heading-row p { font-size: 12px; }
  .pain-grid .pain-center { width: 132px; height: 132px; position: absolute; top: 58%; left: 50%; margin: 0; transform: translate(-50%, -50%); }
  .pain-grid .pain-center img { width: 34px; height: 34px; margin-bottom: 5px; }
  .pain-grid .pain-center small { font-size: 10px; }
  .pain-grid .pain-center strong { font-size: 13px; }
  .pain-grid .pain-item { width: min(44%, 160px); height: 155px; min-height: 0; position: absolute; padding: 10px 7px; }
  .pain-grid .pain-item:nth-of-type(1) { top: 112px; left: 2%; right: auto; bottom: auto; }
  .pain-grid .pain-item:nth-of-type(2) { top: 112px; right: 2%; left: auto; bottom: auto; }
  .pain-grid .pain-item:nth-of-type(3) { bottom: 3%; left: 2%; right: auto; top: auto; }
  .pain-grid .pain-item:nth-of-type(4) { bottom: 3%; right: 2%; left: auto; top: auto; }
  .pain-item > svg { width: 48px; height: 48px; margin-bottom: 6px; padding: 10px; }
  .pain-item h3 { font-size: 13px; }
  .pain-item p, .pain-item strong { font-size: 12px; line-height: 1.25; }
  .pain-item strong { margin-top: 5px; }
  .pain-advantages { padding: 20px 0 24px; }
  .pain-advantages h3 { font-size: 18px; }
  .pain-advantages ul { gap: 12px 16px; }
  .pain-advantages li { font-size: 14px; }
  .features-layout { grid-template-columns: 1fr; }
  .showcase-stage { min-height: 365px; }
  .showcase-screen-front { width: 150px; height: 330px; top: 24px; left: 5%; }
  .showcase-screen-mid { width: 125px; height: 280px; top: 34px; right: 10%; }
  .showcase-screen-back { width: 125px; height: 280px; top: 117px; right: -5%; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item, .feature-content { min-height: 95px; }
  .feature-item:nth-child(odd) { border-right: 0; }
  .feature-content { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; gap: 3px 12px; padding: 15px 30px 15px 4px; }
  .feature-content > svg { grid-column: 1; grid-row: 1 / 3; width: 32px; height: 32px; padding: 6px; }
  .feature-item h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 15px; }
  .feature-item p { grid-column: 2; grid-row: 2; margin: 0; }
  .feature-more { top: 34px; right: 8px; }
  .roles .role-layout { min-height: 0; }
  .role-column, .role-column.supplier { min-height: 390px; grid-template-columns: 1fr; }
  .role-copy, .role-column.buyer .role-copy { width: min(78%, 320px); padding: 30px 12px 48px 24px; }
  .role-column.supplier .role-copy { width: min(52%, 260px); grid-column: 1; justify-self: end; margin-left: auto; padding: 50px 16px 30px 0; }
  .role-marker { font-size: 16px; }
  .role-column h3 { font-size: 28px; }
  .role-column ul { gap: 10px; margin-bottom: 18px; }
  .role-column li { display: block; font-size: 12px; }
  .role-column li strong { font-size: 14px; }
  .role-media, .role-column.supplier .role-media { width: auto; height: auto; opacity: 1; }
  .buyer .role-media img { object-position: 68% center; }
  .supplier .role-media img { object-position: 32% center; }
  .role-media::after { background: linear-gradient(90deg, rgb(255 255 255 / 85%), rgb(255 255 255 / 36%) 75%, transparent); }
  .supplier .role-media::after { background: linear-gradient(270deg, rgb(255 255 255 / 88%), rgb(255 255 255 / 35%) 75%, transparent); }
  .role-link { height: 48px; }
  .role-exchange { width: 84px; height: 84px; min-width: 84px; min-height: 84px; flex-direction: column; gap: 4px; border-width: 4px; }
  .role-exchange svg { width: 22px; height: 22px; }
  .role-exchange strong { font-size: 11px; }
  .flow-lane { padding: 24px 20px; }
  .flow-pair { grid-template-columns: minmax(0, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; overflow: visible; padding-bottom: 0; }
  .flow-steps::before { display: none; }
  .flow-steps li { min-width: 0; padding-right: 0; }
  .flow-steps li:nth-child(4) { grid-column: 3; grid-row: 2; }
  .flow-steps li:nth-child(5) { grid-column: 2; grid-row: 2; }
  .flow-steps li:nth-child(1)::after,
  .flow-steps li:nth-child(2)::after,
  .flow-steps li:nth-child(5)::after { content: ""; width: calc(100% + 12px); position: absolute; z-index: -1; top: 19px; left: 19px; border-top: 1px solid var(--color-border-medium); }
  .flow-steps li:nth-child(3)::after { content: ""; height: calc(100% + 20px); position: absolute; z-index: -1; top: 19px; right: 0; left: 19px; border: 1px solid var(--color-border-medium); border-left: 0; border-radius: 0 12px 12px 0; }
  .flow-divider { display: none; }
  .category-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category-tags a { min-height: 36px; padding: 0 12px; font-size: 14px; }
  .material-gallery figure, .material-gallery figure:first-child { width: calc((100% - 12px) / 2); }
  .material-gallery figcaption, .material-gallery figure:first-child figcaption { padding: 8px 10px; }
  .material-gallery strong, .material-gallery figure:first-child strong { font-size: 13px; }
}

/* Each capability is paired with a real product screen rather than a separate screenshot collage. */
.features-layout { display: block; }
.features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 0; }
.feature-item { --visual-bg: var(--color-neutral-90); min-height: 274px; display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); overflow: hidden; border: 1px solid var(--color-border-subtle); border-radius: 8px; background: var(--color-bg-surface); transition: border-color .2s, box-shadow .2s; }
.feature-item:nth-child(2), .feature-item:nth-child(4) { --visual-bg: var(--color-blue-100); }
.feature-item:nth-child(3), .feature-item:nth-child(6) { --visual-bg: var(--color-brand-yellow-100); }
.feature-item:nth-child(odd) { border-right: 1px solid var(--color-border-subtle); }
.feature-item:hover { padding-left: 0; border-color: var(--color-border-medium); background: var(--color-bg-surface); box-shadow: 0 8px 24px rgb(0 0 0 / 8%); }
.feature-content { min-height: 274px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 28px 12px 28px 28px; }
.feature-content > svg { width: 42px; height: 42px; flex: none; padding: 9px; border-radius: 6px; background: var(--color-brand-yellow-100); color: var(--color-text-primary); }
.feature-item:nth-child(2) .feature-content > svg, .feature-item:nth-child(4) .feature-content > svg { background: var(--color-blue-100); }
.feature-item h3 { margin: 16px 0 0; font-size: 19px; line-height: 1.35; }
.feature-item p { margin: 8px 0 0; color: var(--color-text-secondary); font-size: 13px; line-height: 1.6; }
.feature-more { width: auto; height: auto; position: static; display: inline-flex; align-items: center; gap: 4px; margin-top: 20px; overflow: visible; color: var(--color-text-primary); font-size: 12px; font-weight: 700; }
.feature-more svg { width: 16px; height: 16px; color: currentColor; }
.feature-visual { min-width: 0; position: relative; display: block; overflow: hidden; background: var(--visual-bg); }
.feature-visual::after { content: ""; position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 28%; background: linear-gradient(transparent, var(--visual-bg)); pointer-events: none; }
.feature-visual img { width: min(188px, 78%); max-width: none; height: auto; position: absolute; top: 20px; left: 50%; border: 3px solid var(--color-bg-surface); border-radius: 8px; box-shadow: 0 8px 24px rgb(0 0 0 / 15%); transform: translateX(-50%); }
.feature-visual-pair img:first-child { z-index: 1; width: min(145px, 64%); top: 28px; left: 36%; transform: translateX(-50%) rotate(-4deg); }
.feature-visual-pair img:nth-child(2) { z-index: 2; width: min(145px, 64%); top: 12px; left: 70%; transform: translateX(-50%) rotate(4deg); }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: 250px; }
  .feature-content { min-height: 250px; }
}

@media (max-width: 700px) {
  .features-grid { gap: 12px; }
  .feature-item { min-height: 242px; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); }
  .feature-content { min-height: 242px; padding: 20px 10px 20px 18px; }
  .feature-content > svg { width: 36px; height: 36px; padding: 7px; }
  .feature-item h3 { margin-top: 12px; font-size: 16px; }
  .feature-item p { font-size: 11px; line-height: 1.5; }
  .feature-more { margin-top: 14px; font-size: 11px; }
  .feature-visual img { width: min(130px, 86%); top: 18px; }
  .feature-visual-pair img:first-child { width: min(96px, 70%); top: 34px; }
  .feature-visual-pair img:nth-child(2) { width: min(96px, 70%); top: 14px; }
}

/* The supplied composite is the single, larger overview for all six capabilities. */
.features-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.feature-showcase { display: block; align-self: center; }
.feature-showcase img { width: 100%; height: auto; border-radius: 8px; }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--color-border-subtle); }
.feature-item, .feature-item:nth-child(odd) { min-height: 72px; display: block; overflow: visible; border: 0; border-bottom: 1px solid var(--color-border-subtle); border-radius: 0; background: transparent; box-shadow: none; }
.feature-item:hover { padding-left: 0; border-color: var(--color-border-subtle); background: var(--color-bg-surface); box-shadow: none; }
.feature-content { min-height: 72px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; grid-template-rows: auto auto; align-content: center; gap: 2px 12px; padding: 9px 8px; }
.feature-content > svg { width: 34px; height: 34px; grid-column: 1; grid-row: 1 / 3; align-self: center; padding: 6px; }
.feature-item h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 16px; }
.feature-item p { grid-column: 2; grid-row: 2; margin: 0; font-size: 12px; line-height: 1.45; }
.feature-more { width: 18px; height: 18px; grid-column: 3; grid-row: 1 / 3; align-self: center; justify-self: end; margin: 0; overflow: hidden; font-size: 0; }
.feature-more svg { width: 18px; height: 18px; }
.feature-item:nth-child(6) .feature-content > svg { background: var(--color-blue-100); color: var(--color-blue-500); stroke: var(--color-blue-500); }

@media (max-width: 900px) {
  .features-layout { grid-template-columns: 1fr; gap: 22px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-item:nth-child(odd) { border-right: 1px solid var(--color-border-subtle); }
}

@media (max-width: 700px) {
  .features-layout { gap: 18px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item:nth-child(odd) { border-right: 0; }
  .feature-item, .feature-item:nth-child(odd), .feature-content { min-height: 76px; }
  .feature-content { grid-template-columns: 32px minmax(0, 1fr) 18px; padding: 10px 4px; }
  .feature-content > svg { width: 32px; height: 32px; }
  .feature-item h3 { font-size: 15px; }
  .feature-item p { font-size: 11px; }
}

.hero-inner { gap: 40px; justify-content: space-between; }
.hero-copy { min-width: 0; flex: 1; }
.hero-qr { width: 256px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-right: clamp(20px, 3vw, 40px); padding: 22px; border: 0; border-radius: 8px; background: rgb(255 255 255 / 30%); box-shadow: 0 16px 40px rgb(0 0 0 / 18%); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); color: var(--color-text-inverse); font-size: 15px; text-align: center; }
.hero-qr img { width: 210px; height: 210px; border-radius: 8px; object-fit: contain; }
.material-open { position: absolute; z-index: 2; inset: 0; display: block; cursor: pointer; }
.material-open:focus-visible { outline: 3px solid var(--color-blue-500); outline-offset: -4px; }
.qr-visual img { width: 100%; height: 100%; object-fit: contain; }
.app-gateway[hidden] { display: none; }
.app-gateway { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; }
.app-gateway-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 46%); }
.gateway-open { overflow: hidden; }
.gateway-desktop { width: 330px; position: relative; display: flex; flex-direction: column; align-items: center; padding: 36px 28px 32px; border-radius: 8px; background: var(--color-bg-surface); box-shadow: 0 24px 70px rgb(0 0 0 / 22%); text-align: center; }
.gateway-desktop img { width: 226px; height: 226px; object-fit: contain; }
.gateway-desktop h2 { margin: 16px 0 0; font-size: 19px; }
.gateway-desktop p { margin: 8px 0 0; color: var(--color-text-secondary); font-size: 13px; }
.gateway-close { width: 32px; height: 32px; position: absolute; top: 10px; right: 10px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--color-neutral-90); color: var(--color-text-secondary); }
.gateway-close svg { width: 18px; height: 18px; }
.gateway-mobile { display: none; }

@media (max-width: 1100px) {
  .hero-qr { display: none; }
}

@media (max-width: 900px) {
  .gateway-desktop { display: none; }
  .gateway-mobile { width: min(100% - 40px, 400px); position: relative; display: block; overflow: hidden; border-radius: 18px; background: #F2F1F7; box-shadow: 0 20px 44px rgb(0 0 0 / 26%); color: var(--color-text-primary); }
  .gateway-mobile p { min-height: 94px; margin: 0; padding: 26px 28px 18px; font-size: 18px; line-height: 1.45; }
  .gateway-mobile > div { display: flex; justify-content: flex-end; gap: 28px; padding: 0 28px 20px; }
  .gateway-mobile button { border: 0; background: none; color: var(--color-blue-500); font-size: 18px; }
}

/* A field-to-platform image break before the practical FAQ. */
.field-cta { min-height: clamp(470px, 46vw, 650px); position: relative; display: flex; align-items: center; overflow: hidden; background: var(--color-bg-dark); color: var(--color-text-inverse); }
.field-cta-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 35%; }
.field-cta::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgb(18 22 24 / 84%) 0%, rgb(18 22 24 / 63%) 26%, rgb(18 22 24 / 8%) 58%, transparent 75%); }
.field-cta-content { position: relative; z-index: 2; padding: 70px 0; }
.field-cta-label { color: var(--color-brand-yellow-300); font-size: 14px; font-weight: 700; }
.field-cta h2 { margin: 24px 0 18px; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.22; font-weight: 750; text-wrap: balance; }
.field-cta p { max-width: 360px; margin: 0 0 32px; color: rgb(255 255 255 / 88%); font-size: 16px; line-height: 1.7; }

@media (max-width: 700px) {
  .field-cta { min-height: clamp(340px, 90vw, 410px); display: flex; align-items: center; }
  .field-cta-image { height: 100%; position: absolute; aspect-ratio: auto; object-position: 80% center; }
  .field-cta::before { display: block; }
  .field-cta-content { padding: 28px 0; }
  .field-cta-label { font-size: 12px; }
  .field-cta h2 { max-width: 180px; margin: 12px 0 10px; font-size: 28px; }
  .field-cta h2 br { display: initial; }
  .field-cta p { max-width: 180px; margin-bottom: 18px; font-size: 12px; line-height: 1.6; }
  .field-cta .button { min-height: 42px; }
}

.insights-preview { padding: 42px 0; border-top: 1px solid var(--color-border-default); border-bottom: 1px solid var(--color-border-default); background: var(--color-bg-surface); }
.insights-preview-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.insights-preview-text h2 { margin: 0; color: var(--color-text-primary); font-size: 36px; line-height: 1.25; font-weight: 700; }
.insights-preview-text p { margin: 13px 0 0; color: var(--color-text-secondary); font-size: 14px; line-height: 1.6; }
.insights-preview-link { min-height: 48px; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border-radius: 999px; background: var(--color-bg-dark); color: var(--color-text-inverse); font-size: 14px; font-weight: 700; }
.insights-preview-link:hover { background: var(--color-neutral-40); }
.insights-preview-link svg { width: 16px; height: 16px; }

@media (max-width: 700px) {
  .insights-preview { padding: 30px 0; }
  .insights-preview-inner { min-height: 0; flex-wrap: nowrap; gap: 12px; }
  .insights-preview-text { min-width: 0; flex: 1; }
  .insights-preview-text h2 { font-size: 27px; white-space: nowrap; }
  .insights-preview-text p { margin-top: 8px; font-size: 12px; line-height: 1.5; }
  .insights-preview-link { min-height: 40px; margin: 0; padding: 0 12px; font-size: 12px; gap: 5px; }
  .insights-preview-link svg { width: 14px; height: 14px; }
}
