/* Shared visual contract, loaded after component styles on every marketing page.
   Components own their composition; these roles own scale, alignment and rhythm. */
:root {
  --page-title: clamp(48px, 6.111vw, 88px);
  --section-title: clamp(36px, 4vw, 58px);
  --card-title: clamp(22px, 4vw, 26px);
  --body-copy: 20px;
  --detail-copy: var(--body-copy);
  --lead-copy: var(--card-title);
  --section-space: 80px;
  --section-space-compact: 40px;
  --column-gap: 40px;
  --content-gap: 40px;
  --gutter: 40px;
  --font-label: "Space Mono", monospace;
  --light-bg: #ededed;
  --heading-gap:32px;--card-heading-gap:16px;
  --product-mark-height: 42px;
  --technology-mark-width: 116px;
  --technology-mark-height: 36px;
  --button-fill: #60e4ed;
  --button-ink: #08151a;
  --button-hover: #a0f3f5;
}

/* Instrument Sans Medium is shared by the reference site's headings and CTAs. */
body[data-product] :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-heading);
  font-weight: 500;
}

/* The same outer grid includes the header, breadcrumbs and footer. Full-bleed
   backgrounds and the SI_Path camera stage intentionally sit outside this grid. */
body[data-product] .wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* Measured ICEYE roles: main title, section title, card title, body and lead.
   The reference uses its 26px sub-heading role on cards, not its generic h3. */
body[data-product] {font-size:var(--body-copy);line-height:1.3;letter-spacing:-.03em;overflow-wrap:break-word}
body[data-product] main h1 {font-size:var(--page-title);line-height:1.1;letter-spacing:-.03em;margin:0 0 var(--heading-gap)}
body[data-product] main h2,
body[data-product].painter-marketing main h2 {font-size:var(--section-title);line-height:1.1;letter-spacing:-.03em;margin:0 0 var(--heading-gap)}
body[data-product] main h3 {font-size:var(--card-title);line-height:1.1;letter-spacing:-.03em;margin:0 0 var(--card-heading-gap)}
body[data-product] main .films-grid .film-heading h2,
body[data-product] main .films-grid .film-feature .film-heading h2 {font-size:var(--section-title);line-height:1.1;letter-spacing:-.03em;margin:0 0 var(--heading-gap)}
body[data-product] main .learning-section .features h3 {font-size:var(--card-title);line-height:1.1;letter-spacing:-.03em;margin:0 0 var(--card-heading-gap)}
body[data-product] main :is(.overview .features,.control-products) h3 {font-size:var(--card-title);line-height:1.1;letter-spacing:-.03em;margin:0 0 var(--card-heading-gap)}
body[data-product] main p {font-size:var(--body-copy);line-height:1.3;letter-spacing:-.03em;margin:0 0 16px}
body[data-product] main :is(.form-help,.privacy-note){font-size:14px;line-height:1.5;letter-spacing:0}
/* Owner refinement: introductory copy keeps the scale, with a lighter Regular face. */
body[data-product] main :is(.lead,.lead p,.ss-lead,.pm-lead,.events-heading>p) {font-size:var(--lead-copy);font-weight:400;line-height:1.3;max-width:100%}
body[data-product] main :is(.eyebrow,.ai-step-tag,.ss-step-number,.film-index,.number,.expo-status) {font-family:var(--font-label);font-size:14px;font-weight:400;line-height:1.4;letter-spacing:0;text-transform:uppercase}
body[data-product] main :is(.eyebrow,.ai-step-tag) {margin-bottom:20px}
body[data-product] .breadcrumb {font-size:14px;line-height:1.4;letter-spacing:0;gap:12px}
body[data-product] :is(.media-frame figcaption,.ss-comparison figcaption,.ss-figure figcaption,.film-footer p,.pm-scope) {font-size:14px;line-height:1.4;letter-spacing:0}

/* Neutral light chapters and outlined actions, as requested by the owner. */
body[data-product] :is(.light-chapter,.overview,.ai-process,.expo-details,.expo-meeting,.news-section) {
  --bg:var(--light-bg);--panel:#e3e3e3;--panel2:#e3e3e3;--ink:#222;--muted:#4c4c4c;--line:#c0c0c0;
  --button-fill:transparent;--button-ink:#222;--button-border:#b3b3b3;--button-hover:transparent;
  background:var(--light-bg);color:var(--ink);
}
body[data-product] .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  padding: 16px 24px;
  border: 1.5px solid var(--button-border,var(--button-fill));
  border-radius: 4px;
  background: var(--button-fill);
  color: var(--button-ink);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background-color .2s, border-color .2s, color .2s;
}
body[data-product] .button:hover {
  background: var(--button-hover);
  border-color: var(--button-border-hover,var(--button-hover));
  color: var(--button-ink);
}
body[data-product] .button.secondary {
  background: transparent;
  border-color: var(--button-border,#c0c0c0);
  color: var(--ink);
}
body[data-product] .button.secondary:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
body[data-product] .button > span {
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  transition: transform .2s;
}
body[data-product] .button:hover > span {
  background: transparent;
  transform: translateX(4px);
}
body[data-product] .button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  body[data-product] .button,
  body[data-product] .button > span {transition: none}
  body[data-product] .button:hover > span {transform: none}
}

/* Product identities use one optical cap height while preserving their artwork. */
body[data-product] .product-identity img {width: auto;height: var(--product-mark-height);max-width: 100%;object-fit: contain}
body[data-product] .ss-wordmark {font-size: var(--product-mark-height);line-height: 1;height: var(--product-mark-height)}
body[data-product] :is(.technology-strip, .ai-technology-strip) img {
  width: var(--technology-mark-width);
  height: var(--technology-mark-height);
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .8;
}
body[data-product] .technology-strip :is(li:nth-child(4), li:nth-child(6)) img {width: 150px}
body[data-product] .ai-technology-strip [data-technology="numpy"] img {width: 145px;height: 57px}
body[data-product] .ai-technology-strip [data-technology="scipy"] img {width: 42px;height: 42px;filter: grayscale(1) contrast(.9) brightness(1.25);opacity: 1}
/* Extend the separator's paint to both viewport edges without widening the
   logo list or introducing horizontal scrollbars. */
body[data-product] .ai-technology-strip{border-image:linear-gradient(var(--line),var(--line)) 1 / 1px 0 0 / 0 100vw 0}

/* Equal breathing room for light and dark chapters, with compact transitions
   retained where two blocks form a single continuous chapter. */
body[data-product] :is(.section, .ss-section, .expo-topics) {padding-block: var(--section-space)}
body[data-product] .section.light-chapter + .section.light-chapter {padding-top: 0}
body[data-product] .partnership-hero {padding-bottom: var(--section-space)}
body[data-product] .partnership-hero + .section.light-chapter {padding-top: 0}
body[data-product] .process-focus {padding-block: 0}
body[data-product] .technologies {padding-block: 32px}
body[data-product] :is(.partnership-band, .recipes-section, .expo-meeting) {padding-block: var(--section-space-compact)}
body[data-product] .calibration {padding-bottom: var(--section-space-compact)}
body[data-product] .recipes-section + .section {padding-top: 24px}
body[data-product] .films {padding-top: var(--content-gap)}
body[data-product] :is(.editorial, .section-copy, .split-hero-grid, .ss-heading, .ss-learning-grid, .ss-mesh-grid, .contact-grid, .events-heading, .expo-feature) {column-gap: var(--column-gap)}
body[data-product] .recipes-section .section-copy {max-width: none}
body[data-product] .ss-heading {margin-bottom: var(--content-gap)}
body[data-product] .ss-hero {padding-top: 26px}
body[data-product] .product-hero:not(.ai-hero) {padding-top: 26px}
body[data-product] .events-intro {padding-top: 26px}

@media (max-width: 767px) {
  :root {
    --gutter:20px;--section-space:40px;--section-space-compact:20px;
    --column-gap:20px;--content-gap:20px;--product-mark-height:36px;
    --technology-mark-width:104px;--technology-mark-height:32px;
  }
  body[data-product] .ss-hero,
  body[data-product] .product-hero:not(.ai-hero),
  body[data-product] .events-intro {padding-top: 22px}
  body[data-product] .ai-technology-strip [data-technology="numpy"] img {width: 132px;height: 52px}
  body[data-product] .ai-technology-strip [data-technology="scipy"] img {width: 36px;height: 36px}
}
@media (max-width: 680px) {
  body[data-product] .header-inner {flex-wrap: nowrap}
  body[data-product] .menu-toggle {flex-shrink: 0;gap: 0;min-width: 44px;justify-content: center}
  body[data-product] .header .brand img {width: clamp(88px, calc(100vw - 264px), 138px)}
}

/* One spacing system for the existing page compositions. */
body[data-product] main .actions {gap:20px;margin-top:40px}
body[data-product] :is(.light-chapter,.overview,.ai-process,.expo-details,.expo-meeting,.news-section) .button:hover {border-color:#222}
body[data-product] .ai-process .ai-step .button:hover {border-color:#ededed}
body[data-product] :is(.editorial,.section-copy,.split-hero-grid,.ss-heading,.ss-learning-grid,.ss-mesh-grid,.contact-grid,.events-heading,.expo-feature,.pm-editorial,.pm-mobile-detail,.pm-use-layout) {column-gap:var(--column-gap)}
/* Applications follow the same two-column alignment as the section below. */
body[data-product="siPainter"] .pm-process{position:relative;isolation:isolate;overflow:hidden;background:#080c10}
body[data-product="siPainter"] .pm-process-background{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center}
body[data-product="siPainter"] .pm-process::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#080c10cc,#080c10e6)}
body[data-product="scan2spray"] .section-nav a{align-items:baseline;font-size:var(--card-title);font-weight:500;line-height:1.2;letter-spacing:-.03em}
body[data-product="scan2spray"] .section-nav{column-gap:var(--column-gap)}
body[data-product="scan2spray"] .section-nav span{font-family:var(--font-label);font-size:14px;font-weight:400;letter-spacing:0}
body[data-product] .ai-hero .actions{display:grid;grid-template-columns:minmax(0,1fr);width:fit-content;align-items:stretch}
body[data-product] .ai-hero .actions .button{width:100%}
@media(min-width:601px){
 body[data-product] .ss-hero .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px}
 body[data-product] .ss-hero .actions .button{width:100%;padding-inline:16px}
}
@media(min-width:1001px){
 body[data-product="scan2spray"] :is(#S02,#S05,#S09)>.editorial,
 body[data-product="scan2spray"] .text-section .section-copy{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:var(--column-gap)}
 body[data-product="scan2spray"] .text-section h2{max-width:none}
 body[data-product] :is(.coating-section,.training-interface-section) .section-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--column-gap);max-width:none;align-items:start}
 body[data-product] :is(.coating-section,.training-interface-section) .section-copy h2{grid-column:1;grid-row:1 / span 3;max-width:none}
 body[data-product] :is(.coating-section,.training-interface-section) .section-copy>p{grid-column:2;max-width:none}
}
@media(min-width:701px){
 body[data-product="siPainter"] :is(.pm-use-layout,.pm-editorial,.pm-mobile-detail){grid-template-columns:1.05fr 1fr;column-gap:clamp(48px,8vw,120px)}
}
body[data-product] :is(.features,.wide-list,.ss-process-grid,.ss-input-grid,.ss-pipeline,.pm-benefit-grid,.news-items) {column-gap:var(--column-gap);row-gap:40px}
/* SI_Scan captions keep breathing room; editorial text follows the contact grid. */
body[data-product="siScan"] main .ss-input-grid h3{margin-top:24px}
body[data-product="siScan"] .ss-input-grid img{display:block}
body[data-product="siScan"] .ss-sticky-title{position:static}
body[data-product="siScan"] .ss-pipeline li{display:block}
@media(min-width:901px){
 body[data-product="siScan"] :is(.ss-heading,.ss-learning-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* The agenda is a continuous ruled grid, so its dividers cannot have gutters. */
body[data-product] .agenda-section .features{gap:0}
body[data-product] .agenda-section article{padding:32px 40px 32px 0;border-top-color:var(--line)}
body[data-product] .agenda-section article:nth-child(2n){padding:32px 0 32px 40px;border-left:1px solid var(--line)}
@media(max-width:767px){
 body[data-product] .agenda-section .features{display:block}
 body[data-product] .agenda-section article,body[data-product] .agenda-section article:nth-child(2n){padding:24px 0;border-left:0}
}
body[data-product] .hero-content {padding-block:80px 120px}
body[data-product] .hero h1 {max-width:960px}
body[data-product] .hero .lead {max-width:700px}
body[data-product] .product-hero-copy {padding-block:80px 40px}
body[data-product] .hero-bottom {margin-top:0;gap:40px}
body[data-product] main :is(.section-copy,.ss-heading)>p:last-child {margin-bottom:0}
body[data-product] main :is(.ai-process,.overview) h2 {max-width:none}
body[data-product] main .ai-step-index {letter-spacing:0}
body[data-product] .footer {padding-block:80px 40px;font-size:16px;line-height:1.3}
body[data-product] .footer :is(p,a,summary) {letter-spacing:0}
body[data-product] .footer :is(.footer-nav,.footer-top p) {font-size:16px;line-height:1.3}
body[data-product] :is(.subpage-contact input,.subpage-contact textarea,.subpage-contact select) {background:#f3f3f3}
body[data-product] .light-chapter .architecture {background:#e3e3e3}
body[data-product] .light-chapter .architecture-row>span {background:#f3f3f3}
body[data-product] .ss-pipeline li::after {background:var(--light-bg)}
/* Keep the SI_Path title and camera on the same stage. Its original camera
   reserves space for this compact title at the upper left. */
@media(min-width:1101px) {
  body[data-product] .ai-hero-head h1 {max-width:10em;font-size:clamp(36px,3.45vw,52px);margin-bottom:0}
  body[data-product] .ai-hero .actions {margin-top:0}
}
@media(max-width:1000px) {
  body[data-product] .pm-hero-copy {max-width:800px}
}
@media(max-width:767px) {
  :root{--heading-gap:10px;--card-heading-gap:10px}
  body[data-product] main .actions {margin-top:20px}
  body[data-product] .hero-content {padding-block:80px 40px}
  body[data-product] .product-hero-copy {padding-block:40px}
  body[data-product] .hero-bottom {gap:20px}
  body[data-product] .footer {padding-block:40px 20px}
  body[data-product] :is(.product-hero>.media-frame,.film .video-player,.film .video-poster,.film video) {width:calc(100% + 2 * var(--gutter));margin-left:calc(-1 * var(--gutter))}
}
@media(max-width:766px){:root{--body-copy:18px}}
body[data-product] :is(.ss-mesh-grid,.pm-editorial,.editorial) > * {min-width:0}
body[data-product] main :is(h1,h2,h3) {overflow-wrap:anywhere}
@media(max-width:680px){
 body[data-product] .footer-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-product] .footer-nav a{min-width:0;overflow-wrap:anywhere}
}
/* Match the reference's viewport-height opening. Content may grow on unusually
   short screens rather than clipping text or reducing the accessible type size. */
body[data-product="home"] {--opening-header:88px;--opening-logos:96px}
body[data-product="home"] .hero{min-height:calc(100svh - var(--opening-header) - var(--opening-logos));display:flex;flex-direction:column;justify-content:center}
body[data-product="home"] .hero-content{padding-block:24px 72px}
body[data-product="home"] .hero .lead{max-width:1060px;color:#ededed}
body[data-product="home"] .hero-image{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;margin:0;z-index:-2}
body[data-product="home"] .hero-image img{height:100%;object-fit:cover}
body[data-product="home"] .hero::after{display:block;background:linear-gradient(90deg,#080c10fa 0%,#080c10eb 30%,#080c10ba 66%,#080c1026 100%)}
body[data-product="home"] .hero-caption{position:absolute;bottom:24px;order:initial;padding:0}
body[data-product] .ai-process{padding-block:120px}
@media(max-width:899px){body[data-product] .ai-process{padding-block:60px}}
@media(max-width:767px){
 body[data-product="home"] {--opening-header:72px;--opening-logos:104px}
 body[data-product="home"] .hero-content{padding-block:20px 64px}
 body[data-product="home"] .hero .lead{max-width:100%}
 body[data-product="home"] .hero::after{background:linear-gradient(90deg,#080c10ed,#080c10cc 65%,#080c1080)}
 body[data-product="home"] .hero-caption{width:calc(100% - 2 * var(--gutter));bottom:24px}
}
/* The technology marks are part of the opening screen, including all eight on
   mobile. A content-heavy short viewport can grow without clipping the copy. */
body[data-product="home"] .technologies{height:var(--opening-logos);padding-block:20px;border-width:1px}
body[data-product="home"] .technology-strip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:20px;padding:0;overflow:visible}
body[data-product="home"] .technology-strip li{min-width:0;min-height:54px}
body[data-product="home"] .technology-strip img{max-width:100%;height:36px}
@media(min-width:768px) and (max-height:800px){
 body[data-product="home"]{--page-title:clamp(48px,8svh,72px);--lead-copy:22px;--heading-gap:24px}
 body[data-product="home"] .hero-content{padding-block:16px 64px}
 body[data-product="home"] .hero .lead{max-width:100%}
 body[data-product="home"] main .hero .actions{margin-top:24px}
}
@media(max-width:767px){
 body[data-product="home"]{--lead-copy:20px}
 body[data-product="home"] .technologies{padding-block:16px}
 body[data-product="home"] .technology-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px}
 body[data-product="home"] .technology-strip li{min-height:28px}
 body[data-product="home"] .technology-strip img{height:26px}
}
/* Product pages use a quieter scale than the homepage masthead. */
/* Original film stills fill the closing bands; the text has its own dark scrim. */
body[data-product] .film-band{position:relative;isolation:isolate;overflow:hidden;background:#080c10;border:0;min-height:540px;display:flex;align-items:center}
body[data-product] .film-band-image{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 62%}
body[data-product] .film-band::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#080c10f7 0%,#080c10e6 38%,#080c1066 68%,#080c1026 100%)}
body[data-product] .film-band .section-copy{max-width:min(640px,52%)}
body[data-product] .film-band .section-copy>p{color:#ededed}
@media(max-width:899px){
 body[data-product] .film-band{min-height:0}
 body[data-product] .film-band .section-copy{max-width:640px}
 body[data-product] .film-band::after{background:linear-gradient(90deg,#080c10ed,#080c10d9 65%,#080c1099)}
 body[data-product] .film-band-image{object-position:65% center}
}
body[data-product]:not([data-product="home"]){--page-title:clamp(36px,4vw,58px);--lead-copy:20px}
@media(max-width:767px){body[data-product]:not([data-product="home"]){--lead-copy:18px}}
/* Preserve card insets after the shared heading/paragraph margin reset. */
body[data-product] main .news-item>:not(.news-thumbnail){margin-inline:24px}
body[data-product] main .news-item h3{font-size:calc(var(--card-title) - 1px);line-height:1.18;letter-spacing:-.02em}
body[data-product] main .news-item p{font-size:calc(var(--body-copy) - 1px);line-height:1.45;letter-spacing:-.01em}
body[data-product] .home-socials{padding-bottom:32px}
@media(max-width:767px){body[data-product] main .news-item>:not(.news-thumbnail){margin-inline:20px}}
/* Text roles supersede the older per-product compact type rules. */
body[data-product] main .section-copy>p:not(.eyebrow),
body[data-product] main :is(.overview .section-copy,.agenda-section .section-copy)>p:not(.eyebrow),
body[data-product] main :is(.overview .features,.learning-section .features,.films-grid .film-heading,.news-heading,.contact-grid>div,.expo-copy) p:not(.eyebrow):not(.expo-status){font-size:var(--body-copy);line-height:1.3;letter-spacing:-.03em}
