/* Intrinsic Solutions. Shared stylesheet.
   Tokens first, then layout primitives, then components, then page sections. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --bg-dark-2: #161617;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #707075;
  --ink-on-dark: #f5f5f7;
  --ink-on-dark-2: #a1a1a6;
  --accent: #0b5fff;
  --accent-hover: #0a4fd6;
  --line: rgba(0, 0, 0, 0.09);
  --line-dark: rgba(255, 255, 255, 0.14);
  --radius-l: 28px;
  --radius-m: 18px;
  --radius-s: 12px;
  --nav-h: 48px;
  --content: 980px;
  --wide: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}

img, svg, video, canvas { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(11, 95, 255, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }

/* ---------- Type scale ---------- */

.display {
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.headline {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.subtitle {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.lead {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-2);
}
.body-l { font-size: 19px; line-height: 1.45; }
.small { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.measure { max-width: 34em; }

.dark .lead, .dark .small { color: var(--ink-on-dark-2); }

/* ---------- Layout ---------- */

.wrap { width: min(var(--content), calc(100% - 44px)); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), calc(100% - 44px)); margin-inline: auto; }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(48px, 7vw, 88px); }
.section-alt { background: var(--bg-alt); }
.dark { background: var(--bg-dark); color: var(--ink-on-dark); }
.dark-2 { background: var(--bg-dark-2); color: var(--ink-on-dark); }

.center { text-align: center; }
.center .measure { margin-inline: auto; }
.stack > * + * { margin-top: var(--gap, 20px); }
.cluster { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.cluster.center { justify-content: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Links and buttons ---------- */

.link { font-weight: 500; white-space: nowrap; }
.link::after { content: " \203A"; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px; border-radius: 999px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  background: var(--accent); color: #fff; border: 1px solid transparent;
  cursor: pointer; transition: background 160ms ease, transform 160ms ease;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-ghost { background: transparent; color: var(--accent); border-color: currentColor; }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.dark .btn-ghost { color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: #000; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 30px; width: auto; max-width: 160px; object-fit: contain; }
.brand-text { display: none; }
.brand-logo.is-missing { display: none; }
.brand-logo.is-missing + .brand-text { display: inline; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button {
  color: rgba(0, 0, 0, 0.8); font-size: 13px; letter-spacing: -0.005em;
  background: none; border: 0; padding: 14px 0; cursor: pointer;
}
.nav-links a:hover, .nav-links button:hover { color: var(--ink); text-decoration: none; }
.nav-links > li > a[aria-current="page"]:not(.nav-cta) { color: var(--accent); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.nav-links .nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.nav-links .nav-cta {
  font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff !important;
}
.nav-links .nav-cta:hover { background: var(--accent-hover); }

/* Product search in the top bar */
.search-toggle { display: grid; place-items: center; width: 34px; height: 34px; margin-left: 8px; border: 0; border-radius: 50%; background: none; color: rgba(0, 0, 0, 0.8); cursor: pointer; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--bg-alt); color: var(--ink); }
.search-panel { position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 60; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); padding: 20px 0 24px; max-height: calc(100svh - var(--nav-h)); overflow: auto; }
.search-box { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px 14px; background: #fff; color: var(--ink-3); }
.search-box input { flex: 1; border: 0; outline: none; font: inherit; font-size: 17px; color: var(--ink); background: none; min-width: 0; }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.15); }
.search-results { margin-top: 10px; display: grid; gap: 2px; }
.search-results a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.search-results a:hover, .search-results li[aria-selected="true"] a { background: var(--bg-alt); text-decoration: none; }
.search-results .r-name { font-weight: 600; }
.search-results .r-sub { font-size: 13px; color: var(--ink-3); text-align: right; }
.search-results .r-text { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
.search-empty { margin-top: 12px; }
@media (max-width: 600px) { .search-results a { grid-template-columns: 1fr; } .search-results .r-sub { text-align: left; } }

.mega {
  position: fixed; left: 0; right: 0; top: var(--nav-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 48px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .mega.is-open {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.mega h4 { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-bottom: 10px; }
.mega li + li { margin-top: 2px; }
.mega a { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; padding: 4px 0; display: inline-block; color: var(--ink); }
.mega a.sub { font-size: 14px; font-weight: 400; color: var(--ink-2); }

.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .search-toggle { margin-left: auto; margin-right: 6px; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; height: calc(100svh - var(--nav-h)); flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(255, 255, 255, 0.98); padding: 24px 22px; overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a, .nav-links button { font-size: 20px; font-weight: 500; padding: 16px 0; display: block; width: 100%; text-align: left; }
  .nav-links .nav-cta { display: inline-block; width: auto; margin-top: 20px; font-size: 17px; padding: 10px 22px; }
  .nav-links > li:last-child { border: 0; }
  .mega { position: static; padding: 0 0 12px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; display: none; transform: none; }
  .mega.is-open { display: block; opacity: 1; visibility: visible; }
  .has-mega:hover .mega:not(.is-open) { opacity: 0; visibility: hidden; }
  .mega .wrap-wide { width: 100%; }
  .mega-grid { grid-template-columns: 1fr; gap: 20px; }
  .mega a { font-size: 17px; }
  .mega a.sub { font-size: 15px; }
  .nav-links .mega a { padding: 6px 0; border: 0; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--nav-h));
  display: grid; place-items: center;
  padding-block: 96px 120px;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 1; }
.hero .display { color: #fff; }
.hero .lead { max-width: 30em; margin: 24px auto 0; color: var(--ink-on-dark-2); }
.hero .cluster { margin-top: 36px; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, rgba(0,0,0,0), #000); z-index: 1; pointer-events: none; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding-block: clamp(64px, 9vw, 112px) clamp(40px, 6vw, 72px); }
.page-hero .headline { max-width: 14em; }
.page-hero .lead { margin-top: 20px; }
.page-hero.center .headline { margin-inline: auto; }
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: inherit; }
.crumbs span::before { content: "\203A"; margin-inline: 8px; }
.dark .crumbs { color: var(--ink-on-dark-2); }
.brand-name { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 22px; }
.partner-logo { display: block; margin-inline: auto; height: 72px; width: auto; max-width: 320px; object-fit: contain; }
.brand-name + .headline { font-size: clamp(30px, calc(5vw - 4px), 52px); }

.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.facts li {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.dark .facts li { border-color: var(--line-dark); color: #fff; }
.center .facts { justify-content: center; }

/* ---------- Tiles ---------- */

.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; padding: 36px; border-radius: var(--radius-l);
  background: var(--bg-alt); color: var(--ink); overflow: hidden;
}
.tile.dark { background: var(--bg-dark-2); color: #fff; }
.tile .subtitle { font-size: 28px; }
.tile p { margin-top: 8px; max-width: 26em; color: var(--ink-2); }
.tile.dark p { color: var(--ink-on-dark-2); }
.tile .link { margin-top: 14px; }
.tile.dark .link { color: #5ea4ff; }
.tile-art { position: absolute; inset: 0; pointer-events: none; }
.tile-art svg { width: 100%; height: 100%; }
@media (max-width: 600px) { .tile { min-height: 340px; padding: 26px; } .tile .subtitle { font-size: 24px; } }

/* Product tiles */

.ptile {
  display: flex; flex-direction: column; border-radius: var(--radius-l);
  background: var(--bg-alt); overflow: hidden; color: inherit; min-height: 440px;
  transition: transform 220ms ease;
}
.ptile:hover { text-decoration: none; transform: translateY(-3px); }
.ptile-head { padding: 36px 32px 0; text-align: center; }
.ptile-head .subtitle { font-size: 26px; }
.ptile-head p { color: var(--ink-2); margin-top: 6px; }
.ptile-head .link { display: inline-block; margin-top: 10px; }
.ptile-media { flex: 1; display: grid; place-items: center; padding: 24px 32px 36px; }
.ptile-media img { max-height: 220px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.ptile.dark .ptile-media img { mix-blend-mode: normal; }
.ptile.dark .ptile-head p { color: var(--ink-on-dark-2); }
.ptile-fallback { display: none; width: 160px; height: 160px; border-radius: 40px; background: linear-gradient(135deg, #dfe6f3, #b9c7e3); }
.ptile-media img.is-missing { display: none; }
.ptile-media img.is-missing + .ptile-fallback { display: block; }
.ptile.compact { min-height: 0; border-radius: var(--radius-m); }
.ptile.compact .ptile-head { padding: 28px 24px 0; }
.ptile.compact .ptile-head .subtitle { font-size: 22px; }
.ptile.compact .ptile-head p { font-size: 15px; }
.ptile.compact .ptile-media { padding: 16px 24px 28px; }
.ptile.compact .ptile-media img { max-height: 150px; }

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .title { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; }
.stats p { color: var(--ink-2); margin-top: 6px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }

/* ---------- Logo strips ---------- */

.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-half { display: flex; gap: 56px; padding-right: 56px; align-items: center; }
.marquee img { height: 44px; max-width: 180px; object-fit: contain; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; width: auto; } .marquee-half { flex-wrap: wrap; justify-content: center; gap: 28px 40px; padding: 0; } .marquee-half + .marquee-half { display: none; } .marquee { mask-image: none; -webkit-mask-image: none; } }

.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.logo-card {
  background: #fff; border-radius: var(--radius-s); padding: 18px 16px; min-height: 108px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--line); text-align: center;
}
.logo-card img { height: 40px; width: auto; max-width: 120px; object-fit: contain; }
.logo-card img.is-missing { display: none; }
.logo-card .small { font-size: 12px; line-height: 1.3; }
.logo-card.is-hidden { display: none; }


/* ---------- Tabs, search ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tabs button {
  border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: background 140ms, color 140ms;
}
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel[hidden] { display: none; }
.search {
  display: flex; align-items: center; gap: 10px; max-width: 420px; margin: 28px auto 0;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; background: #fff;
}
.search input { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; color: var(--ink); }
.search svg { flex: none; color: var(--ink-3); }

/* ---------- Feature rows and spec blocks ---------- */

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature figure { border-radius: var(--radius-l); background: var(--bg-alt); overflow: hidden; display: grid; place-items: center; min-height: 360px; padding: 32px; }
.dark .feature figure { background: var(--bg-dark-2); }
.feature figure img { max-height: 420px; width: auto; object-fit: contain; }
.feature figure img.is-missing { display: none; }
.feature figure.photo { padding: 0; aspect-ratio: 5 / 4; min-height: 0; }
.feature figure.photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.feature figure.brand-figure { padding: 48px 56px; }
.feature figure.brand-figure img { width: 78%; max-width: 440px; max-height: 190px; }
.feature figure img.is-missing + .fig-fallback { display: block; }
.fig-fallback { display: none; width: 60%; aspect-ratio: 1; border-radius: 32px; background: radial-gradient(circle at 30% 30%, #eaf0fb, #c9d6ee 70%); }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip > :first-child { order: 0; } .feature figure { min-height: 260px; } }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 32px; }
.points h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.points p { color: var(--ink-2); margin-top: 4px; font-size: 15px; }
.dark .points p { color: var(--ink-on-dark-2); }

.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dark .checklist li { color: #fff; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .checklist.cols-2 { grid-template-columns: 1fr; } }

.spec { border-top: 1px solid var(--line); }
.spec summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.spec summary::-webkit-details-marker { display: none; }
.spec summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-left: 16px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 200ms ease;
}
.spec[open] summary::after { transform: rotate(-135deg); }
.spec-body { padding: 0 0 28px; color: var(--ink-2); }
.spec-body .checklist li { color: var(--ink); font-size: 15px; }
.spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 32px; font-size: 15px; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.spec-list dt { color: var(--ink-2); }
.spec-list dd { margin: 0; color: var(--ink); text-align: right; font-weight: 500; }
.spec:last-of-type { border-bottom: 1px solid var(--line); }

.table-wrap { overflow-x: auto; }
.table-wrap:focus-visible { outline: 3px solid rgba(11, 95, 255, 0.55); outline-offset: 3px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 600; color: var(--ink); }
td { color: var(--ink-2); }

/* Product cards (small, within a page) */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: #fff; border-radius: var(--radius-m); padding: 24px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.section-alt .card { border-color: transparent; }
.card img { height: 150px; width: 100%; object-fit: contain; }
.card img.is-missing { display: none; }
.card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.card p { color: var(--ink-2); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.chips li { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); }
.card.dark { background: var(--bg-dark-2); border-color: transparent; }
.card.dark p { color: var(--ink-on-dark-2); }
.card.dark .chips li { background: rgba(255,255,255,0.1); color: #fff; }
.card-link { color: var(--ink); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08); }
.card-link .link { font-size: 15px; color: var(--accent); }
.card-link:hover .link { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .card-link, .card-link:hover { transition: none; transform: none; } }

/* Single device page */

.device-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.device-hero .eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); }
.device-hero .facts { margin-top: 8px; }
.device-hero figure { border-radius: var(--radius-l); background: var(--bg-alt); display: grid; place-items: center; min-height: 440px; padding: 40px; }
.device-hero figure img { max-height: 380px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.device-hero figure img.is-missing { display: none; }
.device-hero figure.photo { padding: 0; overflow: hidden; min-height: 0; aspect-ratio: 11 / 8; }
.device-hero figure.photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; }
.device-hero figure img.is-missing + .fig-fallback { display: block; }
.device-hero.no-image { grid-template-columns: minmax(0, 46em); }
.device-table td { white-space: normal; min-width: 120px; }
.device-table td:first-child { white-space: nowrap; color: var(--ink); font-weight: 500; }
.device-specs { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; font-size: 15px; }
.device-specs div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.device-specs dt { color: var(--ink-2); }
.device-specs dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 800px) {
  .device-hero { grid-template-columns: 1fr; gap: 32px; }
  .device-hero figure { min-height: 280px; padding: 28px; }
  .device-specs { grid-template-columns: 1fr; }
}

/* Sub-nav for long product pages */

.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 52px; }
.subnav strong { font-size: 19px; letter-spacing: -0.02em; font-weight: 600; white-space: nowrap; }
.subnav ul { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a { color: var(--ink); font-size: 13px; white-space: nowrap; }
.subnav ul a:hover { color: var(--accent); text-decoration: none; }
.subnav .btn { min-height: 30px; padding: 4px 14px; font-size: 13px; }
@media (max-width: 700px) { .subnav strong { display: none; } }

/* ---------- Forms ---------- */

.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.form input, .form select, .form textarea {
  font: inherit; padding: 13px 16px; border-radius: var(--radius-s); border: 1px solid var(--line);
  background: #fff; color: var(--ink); width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .note { color: var(--ink-3); font-size: 13px; }
.form .hp { display: none; }
.form-msg { font-size: 15px; line-height: 1.45; padding: 12px 16px; border-radius: var(--radius-s); background: #eaf6ec; color: #1d4d2b; }
.form-msg.is-error { background: #fdeceb; color: #7a1f1a; }
.form button[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

.office { border-top: 1px solid var(--line); padding-top: 22px; }
.office h2, .office h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.office p { color: var(--ink-2); margin-top: 6px; }
.office a { display: block; margin-top: 4px; }

/* ---------- CTA band ---------- */

.cta { text-align: center; }
.cta .headline { max-width: 14em; margin-inline: auto; }
.cta .lead { margin: 18px auto 0; max-width: 28em; }
.cta .cluster { margin-top: 32px; }

/* ---------- Footer ---------- */

.footer { background: var(--bg-alt); color: var(--ink-2); font-size: 12px; padding: 40px 0 24px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.footer .footer-title { font-size: 12px; line-height: inherit; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.footer li + li { margin-top: 0; }
.footer li a { display: inline-block; min-height: 24px; line-height: 24px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer-logo { height: 28px; width: auto; }
.footer-bottom .cluster { gap: 6px 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Reveal (single, subtle) ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilities ---------- */

.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; } .mb-4 { margin-bottom: 64px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

/* ISO badges on the About page; they link to the certificate PDFs when present */
.iso-badge { gap: 12px; color: inherit; }
a.iso-badge:hover { text-decoration: none; }
a.iso-badge:hover .small { color: var(--accent); text-decoration: underline; }
.footer a[href$=".pdf"] { color: inherit; }

/* Home icon next to the brand */
.nav-home { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; transform: translateY(4.8px); margin-left: -12px; border-radius: 50%; color: rgba(0, 0, 0, 0.8); }
/* The whole link (hover circle included) is lowered so the house base meets the wordmark baseline */
.nav-home[aria-current="page"] { color: var(--accent); }
.nav-home:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }

/* Partners page */
/* Every partner logo file is cropped to its artwork, so one fixed height lines up every top and bottom */
.partner-marquee .marquee-half { gap: 72px; padding-right: 72px; }
.partner-marquee img { height: 36px; max-width: none; flex: none; }
.marquee-track { will-change: transform; backface-visibility: hidden; }
.partner-marquee a { display: block; line-height: 0; }
.page-hero.compact { padding-block: clamp(40px, 5vw, 64px) 8px; }
.strip-section { padding-block: 16px; }
.partner-rows { padding-top: 0; }
.partner-rows .feature:first-child { margin-top: 72px; }
@media (min-width: 901px) { #mega-clients .mega-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .nav-home { margin-left: 4px; margin-right: auto; } }
.products-groups { padding-top: 0; }
.products-groups > .wrap-wide > div:first-child { margin-top: 32px; }
.products-groups h2 { text-align: center; }
.partner-marquee .marquee-track { animation-duration: 50s; }
@media (max-width: 600px) {
  .tile { min-height: 0; justify-content: flex-start; }
  .tile-art { position: relative; inset: auto; height: 170px; overflow: hidden; margin: 0 0 14px; }
  .tile-art svg { height: auto; }
}
.group-title { text-align: center; }

/* Reflex CES markets */
.market { scroll-margin-top: calc(var(--nav-h) + 16px); }
.market-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.market-nav a, .board-links a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink); background: #fff; }
.market-nav a:hover, .board-links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.market-apps { color: var(--ink-3); }
.board-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
