/* Halveron marketing site — design language v2.
   Ink and warm paper, one ember accent, glossy 3D product objects.
   Sign-in flows (/app, /audit) keep their own stylesheets. */

/* Self-hosted OFL fonts — see /assets/fonts/LICENSE-*.txt */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/geist-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/fonts/geist-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/assets/fonts/geist-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/assets/fonts/geist-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
}

:root {
  --ink: #0a0a0a;
  --ink-2: #0d1011;
  --ink-3: #151718;
  --ink-4: #1b1d1f;
  --paper: #f8f7f3;
  --paper-2: #efede7;
  --white: #ffffff;
  --text-dark: #0b0b0b;
  --muted-dark: #5f5e59;
  --text-light: #f5f4f0;
  --muted-light: #a3a29c;
  --line-dark: rgba(10, 10, 10, 0.1);
  --line-light: rgba(255, 255, 255, 0.09);
  --line-light-2: rgba(255, 255, 255, 0.16);
  --ember: #ff5e1e;
  --ember-2: #ff7338;
  --ember-soft: rgba(255, 94, 30, 0.14);
  --good: #4ade80;
  --warn: #fbbf24;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --section-y: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* contextual tokens, redefined by .section-light / .section-dark */
  --fg: var(--text-light);
  --muted: var(--muted-light);
  --line: var(--line-light);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-light);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ember); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.section-light { background: var(--paper); color: var(--text-dark); --fg: var(--text-dark); --muted: var(--muted-dark); --line: var(--line-dark); padding: var(--section-y) 0; }
.section-dark { background: var(--ink); color: var(--text-light); --fg: var(--text-light); --muted: var(--muted-light); --line: var(--line-light); padding: var(--section-y) 0; }
.is-follow { padding-top: 0; margin-top: -1px; } /* overlap hides the sub-pixel seam between same-colour sections */

/* ---------- type ---------- */

.display { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 500; }
.h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.06; letter-spacing: -0.032em; font-weight: 500; }
.h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.018em; font-weight: 500; }
.lede { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--muted); max-width: 52ch; }
.kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; line-height: 1.6; }
.kicker--ember { color: var(--ember); }
.ember { color: var(--ember); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-2); }
.btn-outline { border-color: rgba(255, 255, 255, 0.3); color: #fff; background: transparent; }
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.04); }
.btn-outline-dark { border-color: rgba(10, 10, 10, 0.22); color: var(--text-dark); background: transparent; }
.btn-outline-dark:hover { border-color: rgba(10, 10, 10, 0.6); background: rgba(10, 10, 10, 0.03); }
.btn-ghost { color: var(--muted); padding: 0 10px; }
.btn-ghost:hover { color: var(--fg); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13.5px; gap: 10px; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.circle-arrow {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.circle-arrow--light { color: var(--text-dark); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; color: #fff;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-menu {
  background: rgba(10, 10, 10, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { font-size: 24px; font-weight: 500; letter-spacing: -0.035em; color: #fff; line-height: 1; }

.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; height: var(--header-h); }
.main-nav > ul > li { display: flex; align-items: center; }
.main-nav > ul > li > a { padding: 10px 14px; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); border-radius: 999px; transition: color 0.2s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.is-active, .has-menu.is-open > a { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #0c0c0d;
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  color: #fff;
}
.has-menu:hover > .mega, .has-menu:focus-within > .mega, .has-menu.is-open > .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.mega-inner { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding: 34px 0 28px; }
.mega-families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mega-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-light); margin: 0 0 12px; font-weight: 600; }
.mega-family ul, .mega-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-product { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; transition: background-color 0.2s; }
.mega-product:hover { background: rgba(255, 255, 255, 0.05); }
.mega-product img { width: 36px; height: 36px; border-radius: 9px; }
.mega-product strong { display: block; font-size: 14px; font-weight: 500; }
.mega-product small { display: block; font-size: 12.5px; color: var(--muted-light); line-height: 1.35; }
.mega-feature {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px;
  padding: 20px; border-radius: 16px; background: #111213; border: 1px solid var(--line-light);
  transition: border-color 0.2s;
}
.mega-feature:hover { border-color: var(--line-light-2); }
.mega-feature img { width: 128px; height: 128px; margin: -14px 0 2px -14px; mix-blend-mode: screen; }
.mega-feature strong { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.mega-feature small { font-size: 13px; color: var(--muted-light); }
.mega-feature .mega-label { margin: 0; }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0 20px; border-top: 1px solid var(--line-light); font-size: 13px; color: var(--muted-light); }
.mega-foot .link-arrow { color: #fff; font-size: 13.5px; }
.mega-grid { grid-template-columns: repeat(3, 1fr); }
.mega-solution { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.86); transition: background-color 0.2s; }
.mega-solution:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.mega-solution svg { color: var(--ember); flex: none; }

.signin { position: relative; }
.signin-pop {
  position: absolute; right: 0; top: calc(100% + 12px); width: 310px; padding: 8px;
  background: #121213; border: 1px solid var(--line-light-2); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
}
.signin.is-open .signin-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.signin-option { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; transition: background-color 0.2s; }
.signin-option:hover, .signin-option:focus-visible { background: rgba(255, 255, 255, 0.05); }
.signin-option strong { display: block; font-size: 14px; font-weight: 500; }
.signin-option small { display: block; font-size: 12.5px; color: var(--muted-light); }
.signin-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #2b2c2e; color: #fff; }
.signin-ico--ember { background: var(--ember); }

.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform 0.25s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 22px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; background: var(--ink); overflow-y: auto; }
.mobile-menu-inner { padding: 8px var(--gutter) 40px; display: flex; flex-direction: column; }
.mobile-menu details { border-bottom: 1px solid var(--line-light); }
.mobile-menu summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 20px; letter-spacing: -0.02em; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary svg { transform: rotate(180deg); }
.mobile-menu details > .mega-label { margin-top: 12px; }
.mobile-products, .mobile-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.mobile-products a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; }
.mobile-products img { width: 28px; height: 28px; border-radius: 7px; }
.mobile-list a { display: block; padding: 9px 0; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.mobile-menu details .link-arrow { padding: 8px 0 16px; margin-right: 20px; }
.mobile-link { padding: 18px 0; font-size: 20px; letter-spacing: -0.02em; border-bottom: 1px solid var(--line-light); }
.mobile-actions { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- home hero ---------- */

.hero { position: relative; min-height: min(100svh, 900px); display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 56px) 0 72px; }
.hero-media { position: absolute; inset: 0 0 0 40%; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; transform: scaleX(-1); filter: saturate(1.08) contrast(1.06) brightness(0.92); }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 55% 30%, rgba(255, 150, 70, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(255, 120, 50, 0.25), rgba(255, 94, 30, 0.08) 60%, transparent);
  mix-blend-mode: overlay;
}
.hero-panel {
  position: absolute; left: 12%; top: 12%; bottom: 16%; width: 21%; z-index: 1;
  display: flex; flex-direction: column; padding: 9% 2% 0 5%;
  background: linear-gradient(180deg, #151515 0%, #0c0c0c 70%, #080808 100%);
  transform: perspective(1100px) rotateY(28deg); transform-origin: left center;
  box-shadow: 40px 0 80px rgba(0, 0, 0, 0.55), inset -1px 0 0 rgba(255, 255, 255, 0.05);
  font-size: clamp(16px, 1.8vw, 30px); font-weight: 300; line-height: 1.24; letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.8);
}
.hero-panel i { display: block; width: 26%; height: 1px; background: rgba(255, 255, 255, 0.45); margin: 1.1em 0 0.9em; }
.hero-panel b { font-size: 0.4em; letter-spacing: 0.24em; font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.hero-fade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(10, 10, 10, 0.86) 10%, rgba(10, 10, 10, 0.25) 34%, transparent 60%),
    linear-gradient(0deg, var(--ink) 0%, transparent 22%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.65) 0%, transparent 22%);
}
.hero-inner { position: relative; z-index: 3; }
.hero-title { font-size: clamp(44px, 5.8vw, 82px); max-width: 11.5ch; }
.hero .lede { max-width: 45ch; color: rgba(255, 255, 255, 0.78); margin: 26px 0 34px; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.avatars { display: flex; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.hero-proof p { font-size: 14px; color: rgba(255, 255, 255, 0.68); line-height: 1.45; }
.hero-proof strong { color: #fff; font-weight: 500; }

/* ---------- logo band ---------- */

.logo-band { background: #070b0b; color: #fff; border-top: 1px solid var(--line-light); padding: 24px 0 30px; }
.logo-band .kicker { margin-bottom: 12px; }
.logo-row { display: flex; align-items: center; gap: 20px; }
.round-btn { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.round-btn:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.05); }
.logo-viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.logo-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.logo-track .logo-word { margin-right: clamp(48px, 6vw, 96px); }

.logo-word { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; white-space: nowrap; line-height: 1; color: rgba(255, 255, 255, 0.88); font-size: 22px; }
.logo-word small { font-family: var(--font); font-size: 9px; letter-spacing: 0.06em; margin-top: 3px; color: rgba(255, 255, 255, 0.7); }
.logo-word--serif-caps { font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.16em; font-size: 20px; }
.logo-word--heavy { font-weight: 700; letter-spacing: 0.02em; font-size: 21px; }
.logo-word--serif-bold { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: -0.03em; font-size: 24px; }
.logo-word--serif { font-family: var(--serif); font-size: 26px; }
.logo-word--small-caps { font-size: 12px; letter-spacing: 0.1em; font-weight: 500; }
.logo-word--rounded { font-weight: 700; font-size: 28px; letter-spacing: -0.05em; }
.logo-word--wide { font-weight: 300; font-size: 20px; letter-spacing: 0.24em; color: rgba(255, 255, 255, 0.6); }

/* Rendered objects carry a faint bloom haze to their edges; fade it out so no square shows. */
.object { height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); }

/* ---------- split section head ---------- */

.split-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 4vw, 52px); }
.split-head .h2 { max-width: 18ch; }
.split-head-aside { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.split-head-aside p { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 44ch; }
.split-head-aside:empty { display: none; }

/* ---------- product cards ---------- */

.product-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.product-rail--4 { grid-template-columns: repeat(4, 1fr); }
.product-rail--3 { grid-template-columns: repeat(3, 1fr); }
.product-rail--2 { grid-template-columns: repeat(2, 1fr); }

.product-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; aspect-ratio: 0.8; padding: 18px;
  background: #0b0b0b; color: #fff; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 22px 40px -26px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.section-dark .product-card { background: #111213; }
.product-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(70% 55% at 50% 35%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%);
}
.product-card:hover { transform: translateY(-4px); }
.product-card:hover::before { opacity: 1; }
.product-card-art { position: absolute; inset: 2% 4% 34% 4%; display: grid; place-items: center; }
.product-card-art img { width: 100%; height: auto; mix-blend-mode: screen; transition: transform 0.7s var(--ease); }
.product-card:hover .product-card-art img { transform: scale(1.06) rotate(-5deg); }
.product-card-body { position: relative; margin-top: auto; padding-right: 36px; }
.product-card-name { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 6px; }
.product-card-tag { display: block; min-height: 2.9em; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.62); max-width: 17ch; }
.product-card .circle-arrow { position: absolute; right: 16px; bottom: 16px; }
.product-card:hover .circle-arrow { background: #fff; color: #0a0a0a; border-color: #fff; }

/* family panels + app chips */

.family-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.family-panel { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--text-dark); }
.family-panel header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.family-panel h3 { font-size: 21px; letter-spacing: -0.02em; }
.family-panel > p { color: var(--muted-dark); font-size: 14.5px; max-width: 40ch; margin-bottom: 14px; }
.family-panel .circle-arrow:hover { background: var(--text-dark); color: #fff; border-color: var(--text-dark); }
.family-apps { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: auto; }
.app-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 64px; text-align: center; font-size: 12.5px; line-height: 1.25; color: var(--text-dark); }
.app-chip img { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 8px 16px -10px rgba(0, 0, 0, 0.6); transition: transform 0.3s var(--ease); }
.app-chip:hover img { transform: translateY(-3px); }

.lab-strip { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 8px 18px 8px 8px; background: #0b0b0b; color: #fff; border-radius: var(--radius); transition: background-color 0.2s; }
.lab-strip:hover { background: #121213; }
.lab-strip img { width: 76px; height: 76px; mix-blend-mode: screen; }
.lab-strip-text { flex: 1; font-size: 14.5px; color: rgba(255, 255, 255, 0.66); }
.lab-strip strong { color: #fff; font-weight: 500; margin-right: 10px; }
.lab-strip:hover .circle-arrow { background: #fff; color: #0a0a0a; border-color: #fff; }

/* ---------- impact ---------- */

.impact { background: radial-gradient(70% 90% at 15% 20%, #161b1d 0%, var(--ink-2) 55%); }
.impact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.impact-title { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -0.032em; margin-bottom: 26px; max-width: 14ch; }
.impact-title span { display: block; }
.impact-copy > p { color: rgba(255, 255, 255, 0.7); max-width: 46ch; margin-bottom: 32px; }
.impact--compact { padding: 48px 0; }

.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { color: rgba(255, 255, 255, 0.58); background: none; border: 1px solid transparent; border-radius: 999px; padding: 7px 16px; font-size: 13px; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { color: #fff; border-color: rgba(255, 255, 255, 0.32); box-shadow: inset 0 -1.5px 0 var(--ember); }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.industry-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 126px; padding: 18px;
  background: var(--ink-3); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.74); font-size: 13px; line-height: 1.35;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.industry-tile svg { color: rgba(255, 255, 255, 0.82); }
.industry-tile:hover { background: var(--ink-4); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.industry-tile:hover svg { color: var(--ember); }
.industry-tile--all { grid-column: span 3; justify-content: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.86); padding-left: 44px; }
.industry-grid--light .industry-tile { background: var(--white); border-color: var(--line-dark); color: var(--text-dark); }
.industry-grid--light .industry-tile svg { color: var(--text-dark); }
.industry-grid--light .industry-tile:hover { border-color: rgba(10, 10, 10, 0.25); }
.industry-grid--light .industry-tile:hover svg { color: var(--ember); }

.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.logo-grid > .logo-word { min-height: 126px; background: var(--ink-3); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--radius-sm); }
.logo-grid .industry-tile--all { grid-column: span 1; padding-left: 18px; align-items: flex-start; justify-content: space-between; flex-direction: column; }
.logo-grid--band { grid-template-columns: repeat(7, 1fr); }
.logo-grid--band > .logo-word { background: none; border: 0; min-height: 60px; }

/* ---------- steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 32px; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.step-num {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 500; color: var(--text-dark);
  background: radial-gradient(circle at 32% 28%, #fff 0%, #ecebe7 100%);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.step-line { flex: 1; position: relative; display: flex; justify-content: flex-end; color: rgba(10, 10, 10, 0.32); }
.step-line::before { content: ''; position: absolute; left: 0; right: 8px; top: 50%; height: 1px; background: rgba(10, 10, 10, 0.14); }
.step h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; max-width: 28ch; }
.section-dark .step-num { background: #1a1c1e; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.section-dark .step-line { color: rgba(255, 255, 255, 0.32); }
.section-dark .step-line::before { background: rgba(255, 255, 255, 0.14); }

/* ---------- audit / client access ---------- */

.access { padding: 0; background: #030303; }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; }
.access-card {
  position: relative; overflow: hidden; display: flex; align-items: center;
  min-height: 420px; padding: clamp(28px, 4vw, 56px);
  background: radial-gradient(90% 100% at 85% 15%, #1b1b1b 0%, #050505 62%);
}
.access-card--client { border-left: 1px solid rgba(255, 255, 255, 0.06); background: radial-gradient(90% 100% at 90% 15%, #1d1e20 0%, #070808 62%); }
.access-copy {
  position: relative; z-index: 2; max-width: 390px; padding: 32px;
  background: rgba(22, 22, 22, 0.55); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.access-icon { width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center; background: #6d6d6f; color: #fff; margin-bottom: 22px; }
.access-icon--ember { background: var(--ember); box-shadow: 0 10px 30px -8px rgba(255, 94, 30, 0.6); }
.access-copy .h3 { margin-bottom: 10px; }
.access-copy p { color: rgba(255, 255, 255, 0.62); font-size: 15px; margin-bottom: 26px; }

.laptop { position: absolute; right: -14%; top: 50%; width: 64%; z-index: 1; transform: translateY(-50%) perspective(1500px) rotateY(-26deg) rotateX(6deg) rotateZ(-1deg); }
.laptop-screen { aspect-ratio: 16 / 10; overflow: hidden; background: #0b0b0b; border: 10px solid #1b1b1c; border-radius: 16px 16px 4px 4px; box-shadow: 0 50px 90px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.laptop-base { height: 12px; margin: 0 -7%; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #2c2c2d, #0f0f10); }
.lt { display: grid; grid-template-columns: 16% 1fr; height: 100%; font-size: 8px; color: #b8b8b8; }
.lt-side { display: flex; flex-direction: column; gap: 7px; padding: 12px 8px; background: #0e0e0f; border-right: 1px solid #1c1c1d; }
.lt-side i { display: block; height: 6px; border-radius: 3px; background: #232325; }
.lt-side i.on { background: var(--ember); }
.lt-main { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.lt-title { display: flex; justify-content: space-between; align-items: baseline; }
.lt-title b { font-size: 11px; font-weight: 500; color: #fff; }
.lt-title span { color: #777; }
.lt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lt-cards span { background: #151516; border-radius: 6px; padding: 6px 7px; color: #888; }
.lt-cards em { display: block; font-style: normal; font-size: 12px; color: #fff; margin-bottom: 2px; }
.lt-rows { display: grid; gap: 4px; }
.lt-rows p { display: flex; gap: 6px; align-items: center; padding: 6px 7px; background: #121213; border-radius: 5px; }
.lt-rows b { margin-left: auto; font-weight: 500; color: #888; }
.lt-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lt-apps span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; background: #131314; border-radius: 6px; }
.lt-apps img { width: 22px; height: 22px; border-radius: 6px; }
.dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #555; }
.dot.ember { background: var(--ember); box-shadow: 0 0 8px var(--ember); }

/* ---------- case study ---------- */

.case { display: grid; grid-template-columns: 1fr 1.05fr; padding: 0; min-height: 460px; }
.case-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 72px) clamp(56px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.case-copy p { color: var(--muted); max-width: 46ch; margin: 18px 0 30px; }
.case-visual { position: relative; overflow: hidden; min-height: 420px; background: var(--paper); }
.case-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.case-visual::before { content: ''; position: absolute; inset: 0 0 0 -2px; z-index: 1; background: linear-gradient(90deg, var(--paper) 0%, rgba(248, 247, 243, 0) 22%); }
.case-brand { position: absolute; top: 30px; right: 34px; z-index: 2; text-align: center; font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: #161616; }
.case-brand small { display: block; font-size: 18px; letter-spacing: 0.02em; text-transform: none; margin-top: 4px; }
.case-stats { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case-stats div { padding: 16px 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.case-stats strong { display: block; font-size: 26px; font-weight: 500; letter-spacing: -0.025em; color: var(--text-dark); line-height: 1.1; margin-bottom: 4px; }
.case-stats span { font-size: 12.5px; color: #474642; line-height: 1.35; display: block; }

/* ---------- closing CTA ---------- */

.cta-band { position: relative; overflow: hidden; background: #050505; padding: clamp(80px, 9vw, 120px) 0 clamp(120px, 13vw, 180px); }
.planet {
  position: absolute; width: 150vw; aspect-ratio: 1; left: -58vw; top: 64%; border-radius: 50%;
  background: radial-gradient(closest-side, #0b0b0b 97%, #111 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.4), inset 0 40px 90px -50px rgba(255, 255, 255, 0.3), 0 -30px 120px -40px rgba(255, 120, 60, 0.22);
}
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.cta-inner .h2 { max-width: 16ch; }
.cta-aside p { color: var(--muted); max-width: 44ch; margin-bottom: 22px; }

/* ---------- footer ---------- */

.site-footer { background: #080a0b; color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 40px 0 32px; }
.footer-brand p { margin-top: 8px; font-size: 12.5px; color: var(--muted-light); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 13px; color: rgba(255, 255, 255, 0.74); }
.footer-links a:hover, .footer-social a:hover, .footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: 18px; color: rgba(255, 255, 255, 0.8); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* ---------- inner page hero ---------- */

.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 7vw, 100px)) 0 clamp(72px, 8vw, 110px); }
.page-hero-glow { position: absolute; right: -10%; bottom: -35%; width: 70%; height: 100%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent, var(--ember)) 20%, transparent), transparent); pointer-events: none; }
.page-hero-inner { position: relative; display: grid; gap: 48px; }
.page-hero-inner.has-visual { grid-template-columns: 1.12fr 0.88fr; align-items: center; }
.page-hero .display { max-width: 15ch; }
.page-hero .lede { margin: 24px 0 34px; color: rgba(255, 255, 255, 0.72); }
.page-hero-copy > .actions:first-child { margin-top: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: 13px; color: var(--muted-light); }
.crumbs a:hover { color: #fff; }
.page-hero-visual { display: grid; place-items: center; }
.hero-object { position: relative; width: min(100%, 520px); aspect-ratio: 1; }
.hero-object > img { width: 100%; height: 100%; mix-blend-mode: screen; animation: float 10s ease-in-out infinite; }
.hero-object-badge {
  position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 7px 16px 7px 7px; border-radius: 999px; font-size: 14px;
  background: rgba(20, 20, 20, 0.72); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-object-badge img { width: 30px; height: 30px; border-radius: 8px; }
@keyframes float { 50% { transform: translateY(-12px) rotate(2deg); } }

.object-cluster { position: relative; width: min(100%, 540px); aspect-ratio: 1.05; }
.object-cluster img { position: absolute; mix-blend-mode: screen; }
.object-cluster .oc-0 { left: 0; top: 8%; width: 64%; animation: float 11s ease-in-out infinite; }
.object-cluster .oc-1 { right: 0; top: 0; width: 46%; animation: float 9s ease-in-out -3s infinite; }
.object-cluster .oc-2 { right: 10%; bottom: 0; width: 52%; animation: float 12s ease-in-out -6s infinite; }

.hero-stat { border-left: 1px solid var(--line-light-2); padding-left: 36px; }
.hero-stat span { display: block; font-size: clamp(56px, 7vw, 100px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; }
.hero-stat p { margin-top: 16px; color: var(--muted-light); max-width: 26ch; font-size: 17px; }

.hero-industry { width: min(100%, 280px); aspect-ratio: 1; border-radius: 36px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.88); background: linear-gradient(160deg, #1a1c1d, #0c0d0e); border: 1px solid var(--line-light); box-shadow: 0 50px 90px -40px rgba(255, 94, 30, 0.35); }

/* ---------- product page sections ---------- */

.leak-list { border-top: 1px solid var(--line); }
.leak-row { display: grid; grid-template-columns: 14px 240px 1fr 34px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding 0.3s var(--ease); }
.leak-row:hover { padding-left: 8px; }
.leak-row:hover .circle-arrow { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }
.leak-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 5px var(--ember-soft); }
.leak-title { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.leak-body { color: var(--muted); }

.showcase { background: radial-gradient(60% 80% at 80% 50%, color-mix(in srgb, var(--accent) 13%, var(--ink)) 0%, var(--ink) 70%); }
.showcase-inner { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; align-items: center; }
.showcase .lede { margin-top: 20px; }

.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cap-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cap { padding: 26px; background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.cap h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 16px; }
.cap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cap li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: #3b3a36; }
.cap li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid .h2 { max-width: 14ch; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; color: var(--muted); transition: transform 0.25s var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); color: var(--ember); }
.faq-item p { color: var(--muted); max-width: 62ch; padding-bottom: 22px; }

/* ---------- products index ---------- */

.families-overview { padding-bottom: 0; }
.family-section { scroll-margin-top: var(--header-h); }
.family-section.is-follow { padding-top: var(--section-y); }
.product-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-wide {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 44% 1fr; min-height: 300px;
  background: #0b0b0b; color: #fff; border-radius: var(--radius);
  transition: transform 0.4s var(--ease);
}
.product-wide:hover { transform: translateY(-4px); }
.product-grid--3 .product-wide { grid-template-columns: 1fr; grid-template-rows: 250px 1fr; }
.product-wide-art { display: grid; place-items: center; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); }
.product-wide-art img { width: 88%; max-width: 300px; mix-blend-mode: screen; transition: transform 0.7s var(--ease); }
.product-wide:hover .product-wide-art img { transform: scale(1.05) rotate(-4deg); }
.product-wide-body { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.product-wide-name { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.product-wide-name img { width: 30px; height: 30px; border-radius: 8px; }
.product-wide strong { font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.022em; }
.product-wide-lede { color: rgba(255, 255, 255, 0.6); font-size: 14.5px; margin-bottom: 16px; }

.lab-band-inner, .os-band-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.os-band-inner { grid-template-columns: 1fr 1fr; }
.lab-band-object { width: 100%; max-width: 480px; margin-inline: auto; mix-blend-mode: screen; }
.lab-band .lede, .os-band .lede { margin: 20px 0 32px; }
.os-band { background: radial-gradient(60% 80% at 80% 50%, #17181a 0%, var(--ink) 70%); }
.os-apps { list-style: none; margin: 0; padding: 32px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 12px; background: #111214; border: 1px solid var(--line-light); border-radius: 26px; }
.os-apps a { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.os-apps img { width: 64px; height: 64px; border-radius: 16px; transition: transform 0.3s var(--ease); }
.os-apps a:hover img { transform: translateY(-4px); }

.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.example { padding: 28px; background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.example-num { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--ember); }
.example h3 { font-size: 19px; letter-spacing: -0.015em; margin: 14px 0 8px; }
.example p { color: var(--muted); font-size: 15px; }

.principles { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
.principle-list { list-style: none; margin: 0; padding: 0; counter-reset: p; border-top: 1px solid var(--line); }
.principle-list li { counter-increment: p; display: flex; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.principle-list li::before { content: counter(p, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--ember); padding-top: 6px; }

/* ---------- solutions ---------- */

.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.solution-grid--4 { grid-template-columns: repeat(4, 1fr); }
.solution-card {
  display: flex; flex-direction: column; gap: 10px; min-height: 250px; padding: 24px;
  background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--text-dark);
  transition: border-color 0.25s, box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.solution-card:hover { border-color: rgba(10, 10, 10, 0.2); box-shadow: 0 24px 44px -30px rgba(0, 0, 0, 0.4); transform: translateY(-3px); }
.solution-card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #0b0b0b; color: var(--ember); margin-bottom: 8px; }
.solution-card-title { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember); }
.solution-card-body { font-size: 19px; font-weight: 500; line-height: 1.28; letter-spacing: -0.02em; }
.solution-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; }
.solution-card:hover .circle-arrow { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }
.mini-apps { display: flex; }
.mini-apps img { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--white); margin-right: -7px; }

.diagnose { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.diagnose .h3 { font-size: 26px; letter-spacing: -0.022em; margin-bottom: 20px; }
.dot-list, .check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dot-list li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.dot-list li::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px var(--ember-soft); transform: translateY(-1px); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.check-list svg { flex: none; color: var(--ember); margin-top: 3px; }
.check-list--dark { border-top-color: var(--line-light); }
.check-list--dark li { border-color: var(--line-light); color: rgba(255, 255, 255, 0.82); }

/* ---------- industries ---------- */

.industry-list { border-top: 1px solid var(--line); }
.industry-row { display: grid; grid-template-columns: 48px 280px 1fr auto 34px; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding 0.3s var(--ease); }
.industry-row:hover { padding-left: 8px; }
.industry-row:hover .circle-arrow { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }
.industry-row-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #0b0b0b; color: #fff; }
.industry-row-name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.industry-row-head { color: var(--muted); }

.compare { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-card { min-height: 220px; padding: 28px; background: #141516; border: 1px solid var(--line-light); border-radius: var(--radius); }
.compare-card p { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.compare-label, .compare-card p.compare-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 18px; }
.compare-card--after { background: linear-gradient(160deg, rgba(255, 94, 30, 0.17), #141516 60%); border-color: rgba(255, 94, 30, 0.35); }
.compare-card--after p.compare-label { color: var(--ember); }

/* ---------- audit page ---------- */

.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.signal { padding: 24px; background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); }
.signal svg { color: var(--ember); }
.signal h3 { font-size: 17px; letter-spacing: -0.01em; margin: 18px 0 6px; }
.signal p { color: var(--muted); font-size: 14.5px; }
.reports { background: radial-gradient(60% 80% at 80% 40%, #1a1512 0%, var(--ink) 70%); }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.report-card { padding: clamp(26px, 3vw, 40px); background: #131415; border: 1px solid var(--line-light); border-radius: var(--radius-lg); }
.report-card--build { background: linear-gradient(160deg, rgba(255, 94, 30, 0.15), #131415 55%); border-color: rgba(255, 94, 30, 0.3); }
.report-num { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember); }
.report-card h3 { font-size: 28px; letter-spacing: -0.025em; margin: 14px 0 8px; }
.report-card > p { color: var(--muted); margin-bottom: 22px; }

/* ---------- clients / company ---------- */

.logo-band--static { padding: 34px 0 40px; }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 72px; }
.story-col h3 { font-size: 19px; letter-spacing: -0.015em; margin: 18px 0 8px; }
.story-col p { color: var(--muted); }

.mantra { max-width: 1000px; }
.mantra-line { font-size: clamp(44px, 7.4vw, 108px); font-weight: 500; line-height: 0.98; letter-spacing: -0.048em; margin-bottom: 30px; }

.places { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.place-cards { display: grid; gap: 14px; }
.place { padding: 26px; background: #141516; border: 1px solid var(--line-light); border-radius: var(--radius); }
.place h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 6px; }
.place p:not(.compare-label) { color: var(--muted); }
.legal-line { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 13px; color: var(--muted); }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: start; }
.contact-form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 500; color: #3b3a36; }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 15px; color: var(--text-dark); padding: 13px 14px;
  background: #fbfaf8; border: 1px solid rgba(10, 10, 10, 0.14); border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 94, 30, 0.18); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { justify-self: start; border: 0; }
.form-note { font-size: 13.5px; color: var(--muted); min-height: 1.2em; }
.form-note.is-error { color: #c2410c; }
.contact-aside { display: grid; gap: 10px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--radius); font-size: 15px; transition: border-color 0.2s; }
a.contact-item:hover { border-color: rgba(10, 10, 10, 0.25); }
.contact-item svg { flex: none; color: var(--ember); }
.contact-item small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-item--ember { background: #0b0b0b; border-color: #0b0b0b; color: #fff; }
.contact-item--ember small { color: var(--muted-light); }

/* ---------- sign-in chooser / 404 ---------- */

.signin-page { min-height: 82vh; padding: calc(var(--header-h) + clamp(64px, 8vw, 120px)) 0 120px; background: radial-gradient(55% 60% at 75% 25%, rgba(255, 94, 30, 0.09), transparent 70%), var(--ink); }
.signin-page .display { max-width: 16ch; }
.signin-page .lede { margin: 22px 0 32px; }
.signin-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; max-width: 920px; }
.signin-choice { display: flex; flex-direction: column; gap: 10px; padding: 32px; background: #121314; border: 1px solid var(--line-light); border-radius: var(--radius-lg); transition: border-color 0.25s, transform 0.35s var(--ease); }
.signin-choice:hover { border-color: rgba(255, 255, 255, 0.26); transform: translateY(-3px); }
.signin-choice .access-icon { margin-bottom: 12px; }
.signin-choice p { color: var(--muted); margin-bottom: 16px; }
.signin-choice .link-arrow { margin-top: auto; }

/* ---------- product UI mocks ---------- */

.mock { overflow: hidden; background: #111214; border: 1px solid var(--line-light-2); border-radius: var(--radius); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9); font-size: 13px; color: #d6d6d6; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-light); }
.mock-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #2e2f33; }
.mock-bar span { display: flex; align-items: center; gap: 8px; margin-left: 10px; font-size: 12px; color: var(--muted-light); }
.mock-bar img { width: 16px; height: 16px; border-radius: 4px; }
.mock-body { padding: 18px; }
.mock b { font-weight: 500; }

.m-kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.m-col > p { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-light); margin-bottom: 8px; }
.m-col > p b { font-size: 11px; padding: 0 7px; border-radius: 999px; background: #232428; }
.m-card { display: flex; flex-direction: column; gap: 2px; padding: 10px; margin-bottom: 8px; background: #1a1b1e; border: 1px solid var(--line-light); border-radius: 10px; }
.m-card strong { font-weight: 500; color: #fff; font-size: 13px; }
.m-card span { font-size: 11.5px; color: var(--muted-light); }
.m-card em { align-self: flex-start; margin-top: 6px; font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #26272b; color: #bbb; }
.m-card em.hot { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); }

.m-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.m-tiles span { padding: 12px; background: #17181b; border-radius: 10px; font-size: 11.5px; color: var(--muted-light); }
.m-tiles em { display: block; font-style: normal; font-size: 20px; color: #fff; letter-spacing: -0.02em; }
.m-table { width: 100%; border-collapse: collapse; }
.m-table th { text-align: left; font-weight: 500; font-size: 11.5px; color: var(--muted-light); padding: 9px 8px; border-bottom: 1px solid var(--line-light); }
.m-table td { padding: 11px 8px; border-bottom: 1px solid var(--line-light); }
.m-table td.up { color: var(--good); }
.pill { display: inline-block; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: #26272b; }
.pill.ok { background: rgba(74, 222, 128, 0.14); color: var(--good); }
.pill.warn { background: rgba(251, 191, 36, 0.14); color: var(--warn); }

.m-inbox { display: grid; grid-template-columns: 42% 1fr; gap: 14px; }
.m-threads { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.m-threads li { padding: 10px; border-radius: 10px; }
.m-threads li.on { background: #1b1c1f; }
.m-threads strong { display: flex; justify-content: space-between; font-weight: 500; color: #fff; }
.m-threads small { font-size: 11px; color: var(--muted-light); }
.m-threads span { display: block; font-size: 12px; color: var(--muted-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-chat, .m-call { display: flex; flex-direction: column; gap: 8px; }
.m-chat p, .m-call p { max-width: 86%; padding: 9px 12px; border-radius: 12px; }
.m-chat .in, .m-call .in { background: #1d1e22; align-self: flex-start; }
.m-chat .out, .m-call .out { background: var(--accent); color: #0b0b0b; align-self: flex-end; }
.m-call .out { background: #e8eaee; }
.m-chat .note { align-self: center; font-size: 11px; color: var(--muted-light); padding: 4px; }

.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.m-cal > b { font-size: 11px; color: var(--muted-light); padding: 0 4px 4px; }
.m-cal > span { min-height: 58px; padding: 6px; background: #16171a; border-radius: 8px; font-size: 11px; color: #777; }
.m-cal .chip { display: block; margin-top: 4px; padding: 3px 6px; border-radius: 6px; font-style: normal; font-size: 10.5px; line-height: 1.25; color: #fff; background: rgba(139, 92, 246, 0.4); }
.m-cal .chip.b { background: rgba(236, 72, 153, 0.34); }
.m-cal .chip.c { background: rgba(59, 130, 246, 0.36); }
.m-foot { margin-top: 12px; font-size: 12px; color: var(--muted-light); }

.m-ai { margin-top: 14px; padding: 12px; background: #16171a; border-radius: 10px; }
.m-ai span { display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 999px; font-size: 11px; background: color-mix(in srgb, var(--accent) 25%, transparent); color: #dbe7ff; }

.m-rep { display: grid; grid-template-columns: 36% 1fr; gap: 14px; }
.m-score { display: flex; flex-direction: column; justify-content: center; padding: 18px; background: #16171a; border-radius: 12px; }
.m-score em { font-style: normal; font-size: 52px; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.m-score span { margin-top: 8px; color: #ddd; }
.m-score small { color: var(--good); font-size: 12px; margin-top: 2px; }
.m-reviews { display: grid; gap: 8px; }
.m-reviews > div { padding: 12px; background: #16171a; border-radius: 10px; }
.m-reviews b { color: var(--warn); font-size: 12px; letter-spacing: 0.1em; }
.m-reviews p { margin-top: 6px; }
.m-reviews .reply { display: block; margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #1f2024; font-size: 12px; color: #bbb; }
.m-reviews .reply i { font-style: normal; font-weight: 500; color: var(--accent); margin-left: 6px; }

.m-feed { list-style: none; margin: 0; padding: 0; }
.m-feed li { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: baseline; padding: 13px 10px; border-bottom: 1px solid var(--line-light); }
.m-feed li b { font-size: 12px; color: var(--accent); }
.m-feed li small { font-size: 11px; color: var(--muted-light); }
.m-feed li.opp { border: 0; border-radius: 10px; margin-top: 6px; background: color-mix(in srgb, var(--accent) 12%, transparent); }

.m-seq { display: grid; grid-template-columns: 40% 1fr; gap: 16px; }
.m-prospect { display: flex; flex-direction: column; gap: 3px; padding: 16px; background: #16171a; border-radius: 12px; align-self: start; }
.m-prospect strong { font-weight: 500; font-size: 15px; color: #fff; }
.m-prospect span, .m-prospect small { font-size: 12px; color: var(--muted-light); }
.m-prospect em { font-style: normal; color: var(--accent); margin-top: 8px; }
.m-seq ol { list-style: none; margin: 0; padding: 0; }
.m-seq li { padding: 8px 14px 12px; margin-left: 6px; border-left: 2px solid #2a2b2f; color: #9a9a9a; }
.m-seq li b { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #6f6f6f; }
.m-seq li.done b { color: var(--good); }
.m-seq li.now { border-color: var(--accent); color: #fff; }
.m-seq li.now b { color: var(--accent); }

.m-wave { display: flex; align-items: center; gap: 3px; height: 64px; margin-bottom: 8px; }
.m-wave i { flex: 1; height: var(--h); border-radius: 2px; background: linear-gradient(180deg, #f1f2f4, #6b6f76); opacity: 0.85; }
.m-summary { margin-top: 4px; padding: 12px; background: #16171a; border-radius: 10px; font-size: 12.5px; }
.m-summary b { display: block; margin-bottom: 4px; color: #fff; }
.m-summary em { font-style: normal; color: var(--good); }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .main-nav > ul > li > a { padding: 10px 10px; }
  .product-rail { grid-template-columns: repeat(3, 1fr); }
  .cap-grid, .signal-grid, .solution-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mega-inner { grid-template-columns: 1fr 240px; }
}

@media (max-width: 1040px) {
  :root { --header-h: 66px; }
  .main-nav, .signin { display: none; }
  .menu-toggle { display: inline-block; }
  .laptop { width: 70%; right: -26%; }
}

@media (max-width: 900px) {
  .split-head, .impact-grid, .showcase-inner, .faq-grid, .compare, .lab-band-inner, .os-band-inner,
  .diagnose, .principles, .places, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .split-head { gap: 20px; }
  .split-head-aside { flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-hero-inner.has-visual { grid-template-columns: 1fr; }
  .page-hero-visual { order: -1; justify-items: start; }
  .hero-object, .object-cluster { width: min(72%, 360px); }
  .hero-industry { width: 150px; border-radius: 26px; }
  .hero-industry svg { width: 72px; height: 72px; }
  .family-strip { grid-template-columns: 1fr; }
  .product-rail--4, .product-rail--3 { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid--3 { grid-template-columns: 1fr; }
  .product-grid--3 .product-wide { grid-template-columns: 40% 1fr; grid-template-rows: auto; }
  .steps { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .access-grid { grid-template-columns: 1fr; }
  .access-card--client { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .case { grid-template-columns: 1fr; }
  .case-copy { padding: 64px var(--gutter); }
  .case-visual { min-height: 460px; }
  .case-visual::before { background: linear-gradient(180deg, var(--paper) 0%, rgba(248, 247, 243, 0) 18%); }
  .leak-row { grid-template-columns: 14px 1fr 34px; row-gap: 4px; }
  .leak-body { grid-column: 2; grid-row: 2; }
  .leak-row .circle-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .industry-row { grid-template-columns: 48px 1fr 34px; }
  .industry-row-head, .industry-row .mini-apps { display: none; }
  .story, .example-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid--band { grid-template-columns: repeat(4, 1fr); row-gap: 24px; }
}

@media (max-width: 700px) {
  :root { --section-y: 64px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 170px); align-items: flex-end; }
  .hero-media { inset: 0; }
  .hero-panel { display: none; }
  .hero-photo { object-position: 70% 30%; }
  .hero-fade { background: linear-gradient(0deg, var(--ink) 30%, rgba(10, 10, 10, 0.7) 60%, rgba(10, 10, 10, 0.35) 100%); }
  .actions .btn { flex: 1 1 auto; }
  .product-rail, .product-rail--4, .product-rail--3, .product-rail--2 {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
    scrollbar-width: none;
  }
  .product-rail::-webkit-scrollbar { display: none; }
  .product-card { scroll-snap-align: start; }
  .industry-grid, .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-tile--all { grid-column: span 1; padding-left: 18px; }
  .solution-grid, .solution-grid--4, .cap-grid, .signal-grid, .report-grid, .compare-cards, .story, .example-grid, .signin-choices, .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .laptop { display: none; }
  .access-card { min-height: 0; }
  .access-copy { max-width: none; }
  .case-stats { grid-template-columns: 1fr 1fr 1fr; left: 12px; right: 12px; bottom: 12px; gap: 6px; }
  .case-stats div { padding: 12px 10px; }
  .case-stats strong { font-size: 20px; }
  .case-stats span { font-size: 11px; }
  .case-brand { font-size: 22px; right: 20px; top: 20px; }
  .product-grid--3 .product-wide, .product-wide { grid-template-columns: 1fr; grid-template-rows: 220px auto; }
  .mega-grid { grid-template-columns: 1fr; }
  .m-kanban { grid-template-columns: repeat(2, 1fr); }
  .m-inbox, .m-rep, .m-seq { grid-template-columns: 1fr; }
  .m-threads { display: none; }
  .m-feed li { grid-template-columns: 1fr auto; }
  .m-feed li span { grid-column: 1 / -1; grid-row: 2; }
  .m-cal > span { min-height: 44px; font-size: 10px; }
  .m-cal .chip { font-size: 9px; padding: 2px 4px; }
  .logo-grid--band { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .cta-band { padding-bottom: 140px; }
  .planet { width: 260vw; left: -120vw; top: 72%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.prose { max-width: 52rem; }
.prose .h3 { margin: 1.75rem 0 0.5rem; font-size: 1.25rem; }
.prose p { margin: 0 0 1rem; color: var(--text-muted, #444); line-height: 1.6; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1rem 0; }
.compare-table th, .compare-table td { border: 1px solid rgba(0,0,0,0.12); padding: 0.75rem 1rem; text-align: left; vertical-align: top; }
.compare-table th { background: rgba(0,0,0,0.04); font-weight: 600; }

/* Mega menus: skip layout/paint for closed panels; heavy object art loads on open (data-defer-src). */
.has-menu .mega {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}
.has-menu:not(.is-open) .mega {
  content-visibility: hidden;
}
