/* Anka Engineering — site styles
   Layout: full-width colour bands, content held in a 1240px column; charcoal and orange bands carry the key calls to action. */
:root {
  --orange: #F26B38;
  --orange-dark: #D9572A;
  --charcoal: #15181C;
  --charcoal-2: #22262B;
  --slate: #2A2F35;
  --teal: #1F7F8A;
  --teal-dark: #15606A;
  --teal-bright: #2FA3B0;
  --grey-900: #2A2F35;
  --grey-600: #535B64;
  --grey-400: #9AA3AC;
  --grey-300: #C9CED4;
  --grey-200: #E4E7EA;
  --grey-100: #F4F5F6;
  --white: #ffffff;
  --font-display: 'Red Hat Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Red Hat Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --band-pad: clamp(64px, 8vw, 96px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--grey-900);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--charcoal); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.25; }
p { margin: 0; }
ul { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--charcoal); color: var(--white); padding: 12px 18px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
.band { padding-block: var(--band-pad); }
.band--grey { background: var(--grey-100); }
.band--dark { background: var(--charcoal); color: var(--white); }
.band--dark h1, .band--dark h2, .band--dark h3 { color: var(--white); }
.band--orange { background: var(--orange); color: var(--charcoal); }
.stack { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.section-head--row { flex-direction: row; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; max-width: none; }
.section-head--row > div { display: flex; flex-direction: column; gap: 12px; max-width: 760px; min-width: 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.band--dark .eyebrow { color: var(--orange); }
.lead { font-size: 19px; color: var(--grey-600); max-width: 640px; }
.band--dark .lead { color: var(--grey-300); }
.muted { color: var(--grey-600); }
.band--dark .muted { color: var(--grey-300); }
.small { font-size: 15px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn--orange { background: var(--orange); color: var(--charcoal); }
.btn--orange:hover { background: var(--orange-dark); color: var(--charcoal); }
.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: var(--slate); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn--ghost-dark { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--ghost-dark:hover { background: rgba(21,24,28,0.08); color: var(--charcoal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 600; color: var(--teal); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Top bar */
.topbar { background: var(--orange); color: var(--charcoal); font-weight: 600; font-size: 15px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; align-items: center; padding-block: 9px; }
.topbar a { color: var(--charcoal); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--charcoal); }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--grey-200); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 14px; }
.logo { display: block; flex: none; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--charcoal);
  text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 6px;
}
.nav__link:hover, .nav__toggle:hover { color: var(--teal); }
.nav__link[aria-current="page"] { color: var(--teal); }
.nav__toggle svg { width: 12px; height: 12px; transition: transform .15s; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__menu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 270px;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: 10px; box-shadow: 0 16px 40px rgba(21,24,28,0.14);
}
.nav__menu a { display: block; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--charcoal); font-weight: 600; }
.nav__menu a span { display: block; font-weight: 400; font-size: 14px; color: var(--grey-600); }
.nav__menu a:hover { background: var(--grey-100); color: var(--teal); }
.header-cta { flex: none; }
.header-cta .btn { min-height: 44px; padding: 11px 20px; font-size: 15px; }
.menu-button { display: none; }

@media (max-width: 1080px) {
  .menu-button {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
    border: 1px solid var(--grey-300); border-radius: 8px; background: var(--white);
    font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--charcoal); cursor: pointer;
  }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--grey-200); box-shadow: 0 18px 30px rgba(21,24,28,0.12); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); flex-direction: column; align-items: stretch; max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav[data-open="false"] { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; font-size: 17px; }
  .nav__menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .header-cta { display: none; }
  .nav .nav__cta { display: flex; margin-top: 12px; }
}
@media (min-width: 1081px) { .nav .nav__cta { display: none; } }
@media (max-width: 1080px) { .site-header .wrap { position: relative; } }
@media (max-width: 380px) { .logo img { width: 124px; } }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; padding-block: clamp(56px, 7vw, 88px) clamp(64px, 8vw, 96px); }
.hero .wrap.hero__results { display: block; padding-block: 0 clamp(56px, 7vw, 80px); }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__copy .lead { color: var(--grey-300); }
.hero__note { font-size: 15px; color: var(--grey-400); }
.hero__media { flex: 1 1 440px; min-width: 0; }
.hero__media img, .hero__media video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.28); color: var(--white); }

/* Facts strip */
.facts { background: var(--grey-100); border-bottom: 1px solid var(--grey-200); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-block: 34px; }
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact strong { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1.15; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.fact span { color: var(--grey-600); }
.facts__source { grid-column: 1 / -1; font-size: 14px; color: var(--grey-600); }

/* Cards */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 400px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; background: var(--white); color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--teal); }
a.card:hover h3 { color: var(--teal); }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--grey-200); }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body .text-link { margin-top: auto; padding-top: 6px; }
.card--flat { border: 0; background: var(--grey-100); }
.tile { border: 1px solid var(--grey-200); border-radius: 12px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
a.tile:hover { border-color: var(--teal); }
a.tile:hover .tile__title { color: var(--teal); }
.tile__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--charcoal); }
.tile__text { color: var(--grey-600); font-size: 16px; }

/* Steps (real sequences only) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; list-style: none; padding: 0; counter-reset: step; }
.steps li { background: var(--charcoal-2); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; color: var(--teal-bright); }
.steps p { color: var(--grey-300); }
.steps--light { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 400px) { .steps--light { grid-template-columns: 1fr; } }
.steps--light li { background: var(--white); border: 1px solid var(--grey-200); }
.steps--light li::before { color: var(--teal); }
.steps--light p { color: var(--grey-600); }
.steps .duration { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--teal); }

/* Split (image + text) */
.split { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split__media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split__copy { display: flex; flex-direction: column; gap: 22px; }
.split--reverse { flex-direction: row-reverse; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px 28px; }
.feature-grid h3 { font-size: 19px; margin-bottom: 4px; }
.feature-grid p { color: var(--grey-600); font-size: 16px; }
.band--dark .feature-grid p { color: var(--grey-300); }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.band--dark .ticks li::before { border-color: var(--teal-bright); }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--grey-600); margin-top: 8px; }

/* Specs table */
.table-scroll { overflow-x: auto; border: 1px solid var(--grey-200); border-radius: 12px; }
.specs { width: 100%; border-collapse: collapse; font-size: 16px; }
@media (max-width: 560px) { .specs:not(.specs--grid), .specs:not(.specs--grid) tbody, .specs:not(.specs--grid) tr, .specs:not(.specs--grid) th, .specs:not(.specs--grid) td { display: block; width: auto; } .specs:not(.specs--grid) th { border-bottom: 0; padding-bottom: 4px; } .specs:not(.specs--grid) td { padding-top: 4px; } }
.specs th, .specs td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 34%; font-family: var(--font-display); font-weight: 700; color: var(--charcoal); background: var(--grey-100); }

/* Quote */
.quote { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--charcoal); }
.band--dark .quote p { color: var(--white); }
.quote footer { font-size: 15px; color: var(--grey-600); }
.band--dark .quote footer { color: var(--grey-300); }
.quote-card { margin: 0; background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.quote-card p { font-size: 18px; color: var(--grey-900); }
.quote-card footer { font-size: 15px; color: var(--grey-600); }
.quote-card strong { color: var(--charcoal); font-family: var(--font-display); }

/* Article (blog, legal, case study body) */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 18px; font-size: 18px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 18px; }
.prose ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--grey-300); }
.breadcrumb { font-size: 15px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--grey-400); }
.band--dark .breadcrumb a { color: var(--grey-300); }
.band--dark .breadcrumb [aria-current] { color: var(--white); }
.aside-cta { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--grey-100); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.article-layout aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 960px) { .article-layout aside { position: static; } }

/* Results */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.result { border-top: 3px solid var(--orange); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.result strong { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1.1; color: var(--white); font-variant-numeric: tabular-nums; }
.result span { color: var(--grey-300); }
.icon-item { display: flex; gap: 16px; align-items: flex-start; }
.icon-item img { width: 48px; height: 48px; flex: none; }
.icon-item h3 { font-size: 19px; margin-bottom: 4px; }
.icon-item p { color: var(--grey-600); font-size: 16px; }

/* Partner strip */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; list-style: none; padding: 0; }
.partners li { border-left: 2px solid var(--grey-200); padding-left: 16px; }
.partners strong { display: block; font-family: var(--font-display); color: var(--charcoal); font-size: 18px; }
.partners span { color: var(--grey-600); font-size: 15px; }

/* Callout band (slim) */
.callout { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; background: var(--grey-100); border-radius: var(--radius); padding: 28px 32px; }
.callout > div { display: flex; flex-direction: column; gap: 6px; flex: 1 1 420px; min-width: 0; }
.callout h3 { font-size: 24px; }

/* Contact block + form */
.contact-band .wrap { display: flex; flex-wrap: wrap; gap: 48px 56px; }
.contact-band__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-band__copy p { font-size: 18px; }
.contact-lines { display: flex; flex-direction: column; gap: 6px; font-size: 17px; font-weight: 600; }
.contact-lines a { color: var(--charcoal); }
.contact-lines span { font-weight: 500; }
.form { flex: 1 1 520px; min-width: 0; background: var(--white); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; color: var(--charcoal); }
.form--bordered { border: 1px solid var(--grey-200); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select { font: inherit; font-size: 17px; font-weight: 400; padding: 12px 14px; border: 1px solid var(--grey-400); border-radius: var(--radius-sm); background: var(--white); color: var(--charcoal); min-height: 48px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--teal-bright); outline-offset: 1px; border-color: var(--teal); }
.field .req { color: var(--orange-dark); }
.form .btn { grid-column: 1 / -1; width: 100%; }
.form__note { grid-column: 1 / -1; font-size: 14px; color: var(--grey-600); }
.form__status { grid-column: 1 / -1; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--grey-300); font-size: 15px; }
.site-footer .wrap { padding-block: 56px 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-grid h2 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--grey-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { width: 150px; }
.footer-base { border-top: 1px solid var(--slate); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: var(--grey-400); }
.footer-base ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

.preview-banner { background: #FFF4CC; color: #4A3B00; font-size: 14px; text-align: center; padding: 8px 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.numbered { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.numbered li::marker { font-family: var(--font-display); font-weight: 800; color: var(--teal); }

@media (max-width: 560px) { .specs:not(.specs--grid) th { width: auto; background: var(--grey-100); } .specs:not(.specs--grid) tr { border-bottom: 1px solid var(--grey-200); } .specs:not(.specs--grid) tr:last-child { border-bottom: 0; } .specs:not(.specs--grid) th, .specs:not(.specs--grid) td { border-bottom: 0; } }

/* Full-bleed hero with background video (homepage) */
.hero-video { position: relative; overflow: hidden; isolation: isolate; }
.hero-video__bg { position: absolute; inset: 0; z-index: -1; background: var(--charcoal); }
.hero-video__bg img, .hero-video__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-video__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,24,28,0.94) 0%, rgba(21,24,28,0.7) 45%, rgba(21,24,28,0.1) 100%); }
.hero-video__content { min-height: clamp(520px, 68vh, 720px); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-block: clamp(64px, 8vw, 104px); }
.hero-video__content > * { max-width: 660px; }
.hero-video__content .lead { color: var(--grey-300); }
@media (max-width: 700px) { .hero-video__bg::after { background: rgba(21,24,28,0.8); } .hero-video__content { min-height: 0; } }

/* Renders on light backgrounds */
.render { border-radius: var(--radius); background: #f5f5f5; }
.hero__media img.render { object-fit: contain; aspect-ratio: 16 / 9; }

/* Cell configurator */
.configurator { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
@media (max-width: 900px) { .configurator { grid-template-columns: 1fr; } .configurator__view { order: -1; } }
.configurator__controls { display: flex; flex-direction: column; gap: 22px; }
.configurator fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.configurator legend { font-family: var(--font-display); font-weight: 700; color: var(--charcoal); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; padding: 0; margin-bottom: 10px; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented button { min-height: 44px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--grey-300); background: var(--white); font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--charcoal); cursor: pointer; font-variant-numeric: tabular-nums; }
.segmented button:hover { border-color: var(--teal); color: var(--teal); }
.segmented button[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.config-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; padding: 18px 20px; background: var(--grey-100); border-radius: 12px; }
.config-specs dt { font-size: 14px; color: var(--grey-600); }
.config-specs dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.configurator__view img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: var(--radius); background: #f5f5f5; border: 1px solid var(--grey-200); }

/* Brand list */
.brands { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.brands li { background: var(--white); border: 1px solid var(--grey-200); border-radius: 12px; padding: 22px 20px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--charcoal); text-align: center; }

/* Photo gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.gallery .gallery__wide { grid-column: span 2; }
.gallery .gallery__wide img { aspect-ratio: auto; height: 100%; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .gallery__wide { grid-column: 1 / -1; } .gallery .gallery__wide img { aspect-ratio: 4 / 3; } }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--grey-200); border-radius: 12px; padding: 0 22px; background: var(--white); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--charcoal); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--grey-600); }

.legal { font-size: 16px; }
.legal h2 { font-size: 22px; }
.legal h3 { font-size: 18px; }
.legal table { border-collapse: collapse; width: 100%; }
.legal td, .legal th { border: 1px solid var(--grey-200); padding: 8px 10px; text-align: left; vertical-align: top; }

.specs--grid th { width: auto; }
.specs--grid thead th { background: var(--charcoal); color: var(--white); }
.specs--grid td { font-variant-numeric: tabular-nums; }

.gallery .gallery__wider { grid-column: span 3; }
.gallery .gallery__wider img { aspect-ratio: auto; height: 100%; }
@media (max-width: 800px) { .gallery .gallery__wider { grid-column: 1 / -1; } .gallery .gallery__wider img { aspect-ratio: 4 / 3; } }

/* Product lineup: equal image boxes */
.model-row img{width:100%;aspect-ratio:1/1;object-fit:contain}
.model-row figcaption{text-align:center;margin-top:.5rem;font-weight:600}

/* Cobot line-up cards */
.cobot-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cobot-card { margin: 0; background: var(--grey-100); border-radius: 14px; padding: 14px 14px 18px; text-align: center; }
.cobot-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.cobot-card figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 6px; }
.cobot-card strong { font-family: var(--font-display); font-size: 18px; }
.cobot-card span { font-size: 14px; color: var(--grey-600); }
.cobot-card .cobot-card__tag { margin-top: 4px; font-size: 12px; font-weight: 600; color: #fff; background: var(--teal); border-radius: 999px; padding: 2px 10px; }
@media (max-width: 480px) { .cobot-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cobot-card strong { font-size: 16px; } }
@media (max-width: 480px) { .hide-sm { display: none; } }

/* Offer cards (cell only vs turn-key) */
.offer { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 24px 26px; }
.offer--accent { border: 2px solid var(--orange); }
.offer h3 { margin-top: 0; }
.offer ul { margin: 8px 0 0; padding-left: 20px; }
.offer li { margin: 6px 0; }

/* Customer video spotlight */
.video-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.video-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200); display: flex; flex-direction: column; }
.video-card__play { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--charcoal); }
.video-card__play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card__play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 30px no-repeat; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s; }
.video-card__play:hover::after, .video-card__play:focus-visible::after { transform: scale(1.08); }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.video-card__body h3, .video-card__body h4 { margin: 0; font-size: 20px; }
.video-card__body p { margin: 0; }
.video-card__quote { margin: 8px 0 0; padding-left: 12px; border-left: 3px solid var(--orange); }
.video-card__quote p { font-weight: 600; color: var(--grey-900); }
.video-card__quote footer { font-size: 13px; color: var(--grey-600); margin-top: 2px; }
.proof-stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.proof-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--grey-200); }
.proof-stats strong { font-family: var(--font-display); font-size: 22px; line-height: 1.25; color: var(--charcoal); }
.proof-stats span { font-size: 14px; color: var(--grey-600); }
@media (max-width: 400px) { .video-grid { grid-template-columns: 1fr; } }

/* Portrait demo videos */
.demo-videos { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.demo-videos figure { margin: 0; }
.demo-videos video, .demo-videos img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; display: block; background: var(--charcoal); }
.demo-videos figcaption { font-size: 14px; color: var(--grey-600); margin-top: 8px; }
@media (max-width: 700px) { .demo-videos { grid-template-columns: 1fr 1fr; } .demo-videos figure:last-child { display: none; } }
.demo-videos { max-width: 900px; }
.demo-row { display: grid; gap: 20px; grid-template-columns: 1.4fr 1fr 1fr; align-items: stretch; }
.demo-row figure { margin: 0; }
.demo-row figure img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }
.demo-row .video-grid { grid-template-columns: 1fr; }
@media (max-width: 900px) { .demo-row { grid-template-columns: 1fr 1fr; } .demo-row .video-grid { grid-column: 1 / -1; } }
@media (max-width: 480px) { .demo-row { grid-template-columns: 1fr; } }

/* Product shots on a black studio background */
img.product-dark, .hero__media img.product-dark { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #000; border-radius: var(--radius); display: block; }
.hero__media img.product-dark { object-fit: cover; }
.split__media img.product-dark { max-width: 480px; margin-inline: auto; }

/* ===== Colour balance (Oct 2026): less stark white, more teal and orange ===== */
:root {
  --paper: #F5F2ED;        /* warm off-white page background */
  --teal-tint: #E2EFF0;    /* light teal band */
  --teal-line: #BFDCDF;
  --orange-tint: #FCEBE2;
}
body { background: var(--paper); }
.band--grey { background: var(--teal-tint); }
.facts { background: var(--teal); border-bottom: 0; }
.facts .fact strong { color: var(--white); }
.facts .fact span, .facts .facts__source { color: #D3ECEE; }

/* Feature points get a teal rule, so lists of benefits read as colour, not plain text */
.feature-grid > div { border-left: 3px solid var(--teal); padding-left: 16px; }
.band--dark .feature-grid > div { border-left-color: var(--orange); }
.band--grey .feature-grid > div { border-left-color: var(--orange); }

/* Cards and panels: solid white on the tinted page, with a coloured edge */
.card { border-color: var(--teal-line); box-shadow: 0 1px 2px rgba(21,24,28,.05), 0 6px 18px rgba(21,24,28,.05); }
a.card { border-top: 3px solid var(--teal); }
a.card:hover { border-top-color: var(--orange); }
.card--flat { background: var(--orange-tint); }
.tile { background: var(--white); border-color: var(--teal-line); border-left: 4px solid var(--orange); }
.faq details { border-color: var(--teal-line); }
.faq details[open] { border-left: 4px solid var(--teal); }
.offer { border-color: var(--teal-line); }
.video-card, .proof-stats > div { border-color: var(--teal-line); }
.proof-stats strong { color: var(--orange-dark); }
.cobot-card { background: var(--white); border: 1px solid var(--teal-line); }
.specs { background: var(--white); }
.specs tbody tr:nth-child(even) th, .specs tbody tr:nth-child(even) td { background: #F1F7F8; }
.render { background: var(--white); }
.form__status { padding: 12px 14px; border-radius: var(--radius-sm); }
.form__status--ok { background: #E3F3EA; color: #1B6B3A; }
.form__status--error { background: var(--orange-tint); color: #9A3412; }
.band--orange .form__status--ok, .band--orange .form__status--error { background: var(--white); }

/* Contrast fixes (accessibility audit, 29 Oct 2026): teal text on the light/tinted backgrounds uses the darker teal */
.eyebrow { color: var(--teal-dark); }
.band--dark .eyebrow, .band--orange .eyebrow, .hero .eyebrow { color: var(--orange); }
a, .text-link { color: var(--teal-dark); }
a:hover, .text-link:hover { color: var(--charcoal); }
.facts { background: var(--teal-dark); }
.facts .fact span, .facts .facts__source { color: #FFFFFF; }
.band--dark figcaption { color: var(--grey-300); }

/* Home hero highlights as chips instead of small print */
.hero__chips { margin-top: 4px; }
.hero__chips li { font-size: 15px; background: rgba(255,255,255,0.08); }

/* Back to top button: appears after scrolling down */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--orange); color: var(--charcoal); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(21,24,28,.25); opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s, background .2s; }
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--orange-dark); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* In action page: vertical clips and photo grid */
.reels { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.reel { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--charcoal); display: block; cursor: pointer; }
.reel figcaption, .photo figcaption { font-size: 14px; color: var(--grey-600, #5B6168); line-height: 1.35; }
.photo-grid { columns: 3 280px; column-gap: 18px; }
.photo { margin: 0 0 18px; break-inside: avoid; display: flex; flex-direction: column; gap: 8px; }
.photo a { display: block; border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: auto; display: block; transition: transform .3s; }
.photo a:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(21,24,28,.88); }
.lightbox img { max-width: 94vw; max-height: 84vh; display: block; border-radius: 8px; }
.lightbox p { color: #fff; margin: 10px 0 0; font-size: 15px; }
.lightbox button { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--charcoal); font-size: 24px; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .photo img { transition: none; } }

.reels--pair { grid-template-columns: 1fr 1fr; align-self: center; }
.band--dark .reel figcaption { color: var(--grey-300, #C9CDD2); }

/* In action: one large clip with a text box beside it */
.clip-rows { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 64px); }
.clip-row { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: center; width: 100%; max-width: 940px; margin-inline: auto; }
.clip-row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.clip-row--flip .clip-row__video { order: 2; }
.clip-row__video { margin: 0; }
.clip-row__video video { box-shadow: 0 18px 40px rgba(21,24,28,.18); }
.clip-row__text { background: var(--white); border: 1px solid var(--teal-line, #CFE3E5); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.clip-row__text h3 { font-size: clamp(22px, 2.4vw, 30px); }
.clip-row__text p { font-size: 17px; line-height: 1.6; }
@media (max-width: 760px) {
  .clip-row, .clip-row--flip { grid-template-columns: 1fr; }
  .clip-row--flip .clip-row__video { order: 0; }
  .clip-row__video { width: min(100%, 340px); justify-self: center; }
  .clip-row--flip .clip-row__text { justify-self: stretch; }
}
