/* NAU Labs
   True white and super black, medium weight San Francisco type, small corners, pill buttons and a lot of white space.
   Colour appears only as the Harness gold (on black) and inside the product illustrations. */

/* Inter (SIL Open Font License 1.1, license in assets/fonts/Inter-LICENSE.txt), served from this site. One variable
   file covers every weight, and its optical size axis tightens the letters automatically at large sizes. */
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --white: #fff;
  --black: #000;
  --ink: #000;
  --gray: #6e6e73;          /* secondary text on white */
  --gray-2: #86868b;        /* secondary text on black, quiet words in headlines */
  --hair: rgba(0, 0, 0, .1);
  --hair-dark: rgba(255, 255, 255, .12);
  --gold-1: #f7e8c9;
  --gold-2: #dfb678;
  --gold-3: #b7803f;
  --focus: #0071e3;
  --max: 1376px;
  --max-wide: 1376px;
  --gutter: max(clamp(20px, 2.4vw, 32px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));   /* clears the iPhone notch in landscape */
  --section: clamp(80px, 9vw, 136px);
  --header: 64px;
  --radius: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
  /* page colors that change with the system's light or dark appearance */
  --bg: #fff;                 /* page */
  --text: #1d1d1f;            /* body copy, menus, footer links */
  --fg: #000;                 /* strongest text: hover, current page */
  --nav: rgba(0, 0, 0, .66);  /* menu links at rest */
  --muted-2: #636366;         /* quiet text on gray cards */
  --soft: rgba(0, 0, 0, .05); /* gray pills */
  --soft-hover: rgba(0, 0, 0, .09);
  --tint: rgba(0, 0, 0, .04); /* the closing panel */
  --surface: #f5f5f7;         /* gray cards */
  --raised: #fff;             /* chips and menus that sit on top */
  --line: rgba(0, 0, 0, .12); /* card outlines */
  --btn-bg: #000;
  --btn-fg: #fff;
  --btn-hover: #2b2b2d;
  --panel: #000;              /* the black panels */
  --panel-edge: rgba(255, 255, 255, 0);
  --logo-filter: none;
  --scrim: rgba(232, 232, 237, .4);
  --selection: rgba(0, 0, 0, .14);
  --pop-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .1);
  --chip-shadow: 0 1px 2px rgba(0, 0, 0, .06), inset 0 0 0 1px rgba(0, 0, 0, .06);
  color-scheme: light dark;
}
/* Dark appearance: super black page, the black panels stay black with a fine edge, white buttons and logo, gold stays */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f5f7;
    --gray: #a1a1a6;
    --hair: rgba(255, 255, 255, .14);
    --focus: #2997ff;
    --bg: #000;
    --text: #f5f5f7;
    --fg: #fff;
    --nav: rgba(255, 255, 255, .7);
    --muted-2: #a1a1a6;
    --soft: rgba(255, 255, 255, .12);
    --soft-hover: rgba(255, 255, 255, .2);
    --tint: rgba(255, 255, 255, .06);
    --surface: #111113;
    --raised: #1c1c1e;
    --line: rgba(255, 255, 255, .16);
    --btn-bg: #fff;
    --btn-fg: #000;
    --btn-hover: #e3e3e6;
    --panel: #000;              /* the black panels stay black; only a fine edge shows their shape */
    --panel-edge: rgba(255, 255, 255, .1);
    --logo-filter: invert(1);
    --scrim: rgba(0, 0, 0, .5);
    --selection: rgba(255, 255, 255, .24);
    --pop-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 48px rgba(0, 0, 0, .6);
    --chip-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-lock { overflow: hidden; }
img, svg, canvas { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--selection); }
.dark ::selection { background: rgba(255, 255, 255, .24); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: #2997ff; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: fixed; top: 10px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-fg); font-size: 14px;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- layout and type ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.wrap-wide { width: min(100% - var(--gutter) * 2, var(--max-wide)); margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: var(--section); }
.dark { background: var(--panel); color: #f5f5f7; }
.section.dark, .product-tile.dark { margin-inline: var(--gutter); border-radius: var(--radius); overflow: clip; box-shadow: inset 0 0 0 1px var(--panel-edge); }

.eyebrow { font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: 0; }
.h-display { font-size: clamp(44px, 5.2vw, 76px); line-height: 1.04; font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.h-hero { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; text-wrap: balance; }
.h-1 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.1; font-weight: 500; letter-spacing: -.028em; text-wrap: balance; }
.h-2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.15; font-weight: 500; letter-spacing: -.022em; text-wrap: balance; }
.h-3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; font-weight: 500; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.dark .lead { color: #e8e8ed; }
.dim { color: var(--gray-2); }
.gold {
  background: linear-gradient(96deg, var(--gold-1) 0%, var(--gold-2) 46%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fine { font-size: 12px; line-height: 1.45; color: var(--gray); }
.dark .fine { color: var(--gray-2); }
br.lg { display: none; }
@media (min-width: 735px) { br.lg { display: inline; } }

/* ---------- buttons and links ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 20px; border: 0; border-radius: 40px; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 14px; font-weight: 500; letter-spacing: 0; white-space: nowrap;
  transition: background-color .25s var(--ease-soft), transform .35s var(--ease);
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: #e3e3e6; }
.btn-soft { background: var(--soft); color: var(--fg); }
.btn-soft:hover { background: var(--soft-hover); }
.link {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; letter-spacing: 0; white-space: nowrap;
}
.link:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
/* Next to a button, a link is a gray pill */
.cta-row .link {
  min-height: 40px; padding: 0 20px; border-radius: 40px; background: var(--soft);
  transition: background-color .25s var(--ease-soft), transform .35s var(--ease);
}
.cta-row .link:hover { background: var(--soft-hover); text-decoration: none; }
.cta-row .link:active { transform: scale(.97); }
.dark .cta-row .link, .dark .btn-soft { background: rgba(255, 255, 255, .14); color: #fff; }
.dark .cta-row .link:hover, .dark .btn-soft:hover { background: rgba(255, 255, 255, .22); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header);
  color: var(--text);
  transition: color .4s var(--ease-soft);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0);
  transition: box-shadow .3s var(--ease-soft);
}
.site-header.is-scrolled::before { box-shadow: 0 1px 0 var(--hair); }
.site-header.menu-open::before { background: var(--bg); box-shadow: none; }
.nav { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.022em; white-space: nowrap; }
.brand img { width: 28px; height: auto; filter: var(--logo-filter); transition: filter .4s var(--ease-soft); }
.dark .brand img { filter: invert(1); }
.nav-links { flex: 1; display: flex; align-items: center; gap: 28px; }
.nav-links > a, .nav-menu > summary { font-size: 15px; letter-spacing: -.01em; color: var(--nav); transition: color .2s var(--ease-soft); }
.nav-links > a:hover, .nav-links > a[aria-current="page"], .nav-menu > summary:hover, .nav-menu[open] > summary, .nav-menu.is-current > summary { color: var(--fg); }
/* Book a demo: the one filled control in the bar */
.nav-links > a.nav-cta, .nav-links > a.nav-cta:hover { min-height: 36px; padding: 0 16px; font-size: 14px; letter-spacing: 0; color: var(--btn-fg); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

/* Products: a flyout under the header listing the products (one today, more to come).
   It is a native disclosure, so it opens without JavaScript; script.js adds the dimmed page and closing. */
.nav-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 28px 0 44px;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--hair);
}
.site-header.flyout-open::before { box-shadow: none; }
.nav-panel-label { margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--gray); }
.nav-product { display: inline-block; font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -.025em; color: var(--text); transition: color .2s var(--ease-soft); }
.nav-product:hover, .nav-product[aria-current="page"] { color: var(--fg); }
.nav-scrim {
  position: fixed; left: 0; right: 0; top: var(--header); bottom: 0; z-index: -2;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease-soft), visibility 0s linear .3s;
}
.flyout-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-soft); }
@keyframes flyout-in { from { opacity: 0; transform: translate3d(0, -6px, 0); } to { opacity: 1; transform: none; } }
@keyframes flyout-out { from { opacity: 1; } to { opacity: 0; transform: translate3d(0, -4px, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .nav-menu[open] .nav-panel { animation: flyout-in .4s var(--ease) both; }
  .nav-menu.is-closing .nav-panel { animation: flyout-out .2s var(--ease-soft) both; }
  .mobile-group[open] .mobile-sub { animation: flyout-in .4s var(--ease) both; }
}
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin: 0 -12px 0 auto; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle span { position: absolute; left: 13px; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.mobile-nav {
  position: fixed; left: 0; right: 0; top: var(--header); bottom: 0; z-index: 99;
  display: flex; flex-direction: column; padding: 24px var(--gutter) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg);
  opacity: 0; transform: translate3d(0, -10px, 0);
  transition: opacity .3s var(--ease-soft), transform .5s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav > a, .mobile-group > summary { padding: 10px 0; font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: var(--text); opacity: 0; transform: translate3d(0, -6px, 0); transition: opacity .4s var(--ease-soft), transform .6s var(--ease); }
.mobile-nav.is-open > a, .mobile-nav.is-open .mobile-group > summary { opacity: 1; transform: none; }
.mobile-nav.is-open > :nth-child(2) { transition-delay: .05s; }
.mobile-nav.is-open > :nth-child(3) { transition-delay: .1s; }
.mobile-sub { padding: 0 0 8px 18px; }
.mobile-sub a { display: block; padding: 6px 0; font-size: 22px; font-weight: 500; letter-spacing: -.015em; color: var(--text); }
.mobile-nav > .mobile-cta { align-self: flex-start; margin-top: 18px; padding: 0 20px; font-size: 15px; color: var(--btn-fg); letter-spacing: 0; }

/* Language: the current language's two letters in the menu bar open a small menu; on phones the three languages sit at the bottom of the menu sheet. */
.nav-lang { position: relative; margin-left: auto; margin-right: -20px; }
.nav-lang > summary { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 36px; padding: 0 12px; border-radius: 40px; background: var(--soft); font-size: 13px; font-weight: 500; letter-spacing: .03em; transition: background-color .25s var(--ease-soft); }
.nav-lang > summary:hover, .nav-lang[open] > summary { background: var(--soft-hover); }
.lang-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 2; min-width: 180px; padding: 6px; border-radius: 12px; background: var(--raised); box-shadow: var(--pop-shadow); }
.lang-panel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14px; color: var(--nav); }
.lang-panel a[aria-current="true"] { color: var(--fg); }
.lang-panel a:hover { background: var(--soft); }
.lang-panel a[aria-current="true"] { font-weight: 500; }
.lang-panel a[aria-current="true"]::after { content: ""; width: 9px; height: 5px; margin-top: -3px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) { .nav-lang[open] .lang-panel { animation: flyout-in .3s var(--ease) both; } }
.mobile-nav > .mobile-lang { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--hair); opacity: 0; transition: opacity .4s var(--ease-soft) .12s; }
.mobile-nav.is-open > .mobile-lang { opacity: 1; }
.mobile-lang a { font-size: 17px; font-weight: 500; opacity: .7; }
.mobile-lang a[aria-current="true"] { font-weight: 500; opacity: 1; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes rise-big { from { opacity: 0; transform: translate3d(0, 70px, 0) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
  .rise-big { animation: rise-big 1.6s var(--ease) both; animation-delay: var(--d, .3s); }
  .motion-ok .reveal:not(.in) { opacity: 0; transform: translate3d(0, 40px, 0); }
  .motion-live .reveal { transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .zoom-in { animation: zoom-in linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
    @keyframes zoom-in { from { transform: scale(.93); } to { transform: none; } }
  }
}

/* ---------- page heroes ---------- */
.hero-visual { margin-top: clamp(48px, 5.4vw, 78px); padding-bottom: clamp(72px, 9vw, 132px); }
.hero-visual .hx { max-width: 1120px; margin-inline: auto; }
.figure-note { margin-top: 20px; text-align: center; font-size: 12px; color: var(--gray); }
.dark .figure-note { color: var(--gray-2); }
.story-note { margin-top: clamp(40px, 5vw, 64px); }

.page-hero { padding-top: clamp(64px, 8.4vw, 124px); padding-bottom: clamp(80px, 10vw, 140px); text-align: center; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero .h-hero { max-width: 13em; margin-inline: auto; }
.page-hero .lead { max-width: 31em; margin: clamp(18px, 2vw, 28px) auto 0; }
.page-hero .cta-row { margin-top: clamp(28px, 3vw, 40px); }
.page-hero .notfound-links { margin: clamp(48px, 6vw, 72px) auto 0; text-align: left; }
.page-hero.with-visual { padding-bottom: 0; }
.app-icon {
  width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 18px;
  display: grid; place-items: center;
  background: #202124;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .09), 0 12px 32px rgba(0, 0, 0, .22);
}
.app-icon img { width: 58px; }

/* ---------- the Harness app, as shipped (dark theme, default blue accent) ---------- */
.ui {
  --u-canvas: #020202; --u-page: #040404; --u-inset: #080808; --u-surface: #0f0f0f; --u-field: #101010;
  --u-hover: #171717; --u-hover2: #222; --u-line: #1e1e1e; --u-line2: #2e2e2e;
  --u-ink: #f3f3f3; --u-ink2: #a8a8a8; --u-ink3: #696969;
  --u-green: #3cbb72; --u-green-ink: #5bd690; --u-blue: #50a8ff; --u-blue-ink: #7ec0ff;
}
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.hx {
  container-type: inline-size;
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 16px;
  background: var(--u-canvas); color: var(--u-ink);
  font-size: 14px; line-height: 1.5; text-align: left;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .08), 0 30px 60px -18px rgba(0, 0, 0, .3), 0 70px 140px -40px rgba(0, 0, 0, .38);
}
.dark .hx { box-shadow: 0 40px 120px rgba(0, 0, 0, .85), 0 0 0 .5px rgba(0, 0, 0, .9); }
.hx::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); pointer-events: none; }
.hx-bar { position: relative; height: 32px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #1f1f21, #18181a); border-bottom: 1px solid #000; font-size: 13px; font-weight: 600; color: #8b8b90; }
.hx-lights { position: absolute; left: 14px; top: 10px; display: flex; gap: 8px; }
.hx-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .25); }
.hx-lights i:nth-child(2) { background: #febc2e; }
.hx-lights i:nth-child(3) { background: #28c840; }
.hx-app { display: flex; gap: 10px; padding: 10px; min-height: clamp(520px, calc(30cqw + 300px), 640px); }
.hx-side { width: 224px; flex: none; display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: 6px 6px 4px; }
.hx-ws { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 6px; font-size: 14px; font-weight: 500; color: var(--u-ink2); white-space: nowrap; }
.hx-ws .hx-chev { width: 14px; height: 14px; margin-left: -3px; color: var(--u-ink3); }
.hx-ws .hx-collapse { margin-left: auto; color: var(--u-ink3); }
.hx-tog { display: flex; margin: 10px 2px 8px; padding: 2px; border-radius: 8px; background: var(--u-field); }
.hx-tog span { flex: 1; height: 26px; border-radius: 6px; text-align: center; font-size: 12px; font-weight: 500; line-height: 26px; color: var(--u-ink3); }
.hx-tog .on { background: var(--u-surface); color: var(--u-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--u-line); }
.hx-nv { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 8px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--u-ink2); }
.hx-hd { display: flex; align-items: center; justify-content: space-between; margin: 18px 8px 6px; font-size: 14px; color: var(--u-ink3); }
.hx-hd .i { width: 16px; height: 16px; }
.hx-gp { margin: 10px 8px 4px; font-size: 11.5px; font-weight: 500; color: var(--u-ink3); }
.hx-ch { position: relative; display: flex; align-items: center; height: 32px; flex: none; padding: 0 22px 0 8px; border-radius: 8px; overflow: hidden; white-space: nowrap; font-size: 14px; color: var(--u-ink2); }
.hx-ch.on { background: var(--u-hover2); color: var(--u-ink); }
.hx-live { position: absolute; right: 10px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--u-blue); opacity: 0; }
.hx-pf { margin-top: auto; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px; font-size: 13px; font-weight: 500; color: var(--u-ink); }
.hx-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--u-hover2); font-size: 11px; font-weight: 600; color: var(--u-ink2); }
.hx-panel { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: var(--u-page); box-shadow: inset 0 0 0 1px var(--u-line); }
.hx-tabs { flex: none; height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 8px; border-bottom: 1px solid var(--u-line); color: var(--u-ink3); }
.hx-tab { display: flex; align-items: center; gap: 8px; width: 176px; height: 28px; padding: 0 10px; border-radius: 7px; background: var(--u-hover2); overflow: hidden; white-space: nowrap; font-size: 12.5px; font-weight: 500; color: var(--u-ink); }
.hx-tab .i { width: 12px; height: 12px; margin-left: auto; color: var(--u-ink3); }
.hx-plus { width: 16px; height: 16px; margin-left: 4px; }
.hx-rt { width: 17px; height: 17px; margin: 0 6px 0 auto; }
.hx-feed { flex: 1; min-height: 0; overflow: hidden; padding: 0 24px; }
.hx-thread { max-width: 640px; margin: 0 auto; padding-top: 30px; }
.hx-umsg { width: fit-content; max-width: min(520px, 90%); margin-left: auto; padding: 9px 14px; border-radius: 14px; background: var(--u-field); }
.hx-rh { display: flex; align-items: center; gap: 8px; min-height: 36px; margin-top: 26px; border-bottom: 1px solid rgba(30, 30, 30, .8); font-size: 13.5px; color: var(--u-ink3); }
.hx-pd { width: 6px; height: 6px; border-radius: 50%; background: var(--u-green); flex: none; }
.hx-swap { display: grid; }
.hx-swap > span { grid-area: 1 / 1; }
.hx-swap .a { opacity: 0; }
.hx-nar { margin-top: 12px; font-size: 14.5px; line-height: 1.65; }
.hx-tools { margin-top: 10px; }
.hx-tg { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13.5px; color: var(--u-ink2); }
.hx-ib { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--u-line); background: linear-gradient(145deg, var(--u-surface), var(--u-inset)); color: var(--u-ink2); }
.hx-ib .i { grid-area: 1 / 1; width: 14px; height: 14px; }
.hx-tg .hx-ct { margin-left: auto; }
.hx-cv { width: 14px !important; height: 14px !important; color: var(--u-ink3); }
.hx-ct { font: 400 10.5px/1 var(--mono); color: rgba(105, 105, 105, .85); }
.hx-art { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--u-surface); box-shadow: inset 0 0 0 1px var(--u-line), 0 8px 24px rgba(0, 0, 0, .35); color: var(--u-ink); }
.hx-art { margin-top: 16px; }
.hx-sheen { position: absolute; top: -20%; left: 0; width: 160px; height: 140%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .09) 50%, rgba(255, 255, 255, 0)); transform: translateX(-220px); pointer-events: none; }
.hx-comp { flex: none; width: calc(100% - 48px); max-width: 640px; margin: 14px auto 18px; padding: 10px; border-radius: 22px; background: var(--u-surface); box-shadow: inset 0 0 0 1px var(--u-line), 0 8px 24px rgba(0, 0, 0, .35); transition: box-shadow .5s var(--ease-soft); }
.hx-fld { min-height: 44px; padding: 6px 8px; font-size: 14px; line-height: 1.5; color: var(--u-ink); }
.hx-ph { color: var(--u-ink3); }
.hx-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.hx-pl { width: 30px; height: 30px; display: grid; place-items: center; color: var(--u-ink2); }
.hx-pl .i { width: 17px; height: 17px; stroke-width: 1.5; }
.hx-pc { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 500; color: var(--u-ink2); white-space: nowrap; }
.hx-pc i { width: 6px; height: 6px; border-radius: 50%; background: var(--u-green); }
.hx-sp { flex: 1; }
.hx-mic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--u-line); color: var(--u-ink2); }
.hx-mic .i { width: 15px; height: 15px; }
.hx-snd { position: relative; width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--u-blue); color: #06121f; }
.hx-snd .i { width: 15px; height: 15px; stroke-width: 2.4; }
.hx-snd::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(80, 168, 255, .9); opacity: 0; }
/* the demo: the home screen sits over the run until the request is sent */
.hx-stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.hx-layer-run { flex: 1; min-height: 0; display: flex; flex-direction: column; transition: opacity .6s var(--ease-soft) .1s; }
.hx-layer-home { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; background: var(--u-page); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-soft), visibility 0s linear .45s; }
.hx-tabname { display: grid; }
.hx-tabname > span { grid-area: 1 / 1; transition: opacity .4s var(--ease-soft); }
.hx-tabname .tn-new { opacity: 0; }
.hx-ch-run { background: var(--u-hover2); color: var(--u-ink); transition: height .5s var(--ease), opacity .5s var(--ease-soft), background-color .5s var(--ease-soft); }
.js .hx-demo:not(.is-run) .hx-layer-home { opacity: 1; visibility: visible; transition: none; }
.js .hx-demo:not(.is-run) .hx-layer-run { opacity: 0; transition: none; }
.js .hx-demo:not(.is-run) .hx-tabname .tn-new { opacity: 1; }
.js .hx-demo:not(.is-run) .hx-tabname .tn-run { opacity: 0; }
.js .hx-demo:not(.is-run) .hx-ch-run { height: 0; opacity: 0; background-color: transparent; }
.hx-demo { --hx-base: .55s; }
/* the home screen */
.hx-homebody { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.hx-homebody > * { width: 100%; max-width: 640px; margin-inline: auto; }
.hx-hello { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; }
.hx-hello span { display: block; color: var(--u-ink3); }
.hx-homebody .hx-comp { width: 100%; margin: 22px auto 0; }
.hx-comp.is-focus { box-shadow: inset 0 0 0 1px rgba(80, 168, 255, .55), 0 0 0 4px rgba(80, 168, 255, .1), 0 8px 24px rgba(0, 0, 0, .35); }
.hx-caret { display: inline-block; width: 1.5px; height: 17px; margin-left: 1px; vertical-align: -3px; background: var(--u-blue); }
.hx-sugs { margin-top: 24px; }
.hx-sugs li { display: flex; align-items: center; gap: 10px; height: 34px; font-size: 14px; }
.hx-sugs .i { width: 15px; height: 15px; color: var(--u-ink3); }
.js [data-typing]:not(.is-typing):not(.is-typed) .hx-typed { display: none; }
[data-typing] .hx-ph { display: none; }
.js [data-typing]:not(.is-typing):not(.is-typed) .hx-ph { display: inline; }
@keyframes hx-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes hx-ripple { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
@media (prefers-reduced-motion: no-preference) {
  .hx-caret { animation: hx-blink 1.05s steps(1) infinite; }
  .is-sent .hx-snd::after { animation: hx-ripple .9s var(--ease) 2; }
}
/* narrow windows reflow the way the app does */
@container (max-width: 880px) { .hx-side { display: none; } }
@container (max-width: 560px) {
  .hx-bar { height: 28px; font-size: 12px; }
  .hx-lights { left: 12px; top: 9px; gap: 6px; }
  .hx-lights i { width: 10px; height: 10px; }
  .hx-app { min-height: 0; padding: 6px; }
  .hx-tab { width: auto; max-width: 70%; }
  .hx-feed { flex: none; padding: 0 14px 4px; }
  .hx-thread { padding-top: 18px; }
  .hx-umsg { max-width: 94%; }
  .hx-rh { margin-top: 18px; }
  .hx-art { gap: 10px; padding: 10px; }
  .hx-th { width: 40px; height: 36px; }
  .hx-art-t b { font-size: 13px; }
  .hx-vw { padding: 0 11px; }
  .hx-comp { width: calc(100% - 28px); margin: 12px auto 14px; }
  .hx-homebody { padding: 34px 16px 28px; }
  .hx-hello { font-size: 21px; }
  .hx-sugs li:nth-child(n+3) { display: none; }
}
/* the sequence: rows land one by one, each icon turns from working blue to done green */
@keyframes hx-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
@keyframes hx-ib { 0%, 62% { border-color: rgba(80, 168, 255, .45); background: rgba(80, 168, 255, .12); color: var(--u-blue-ink); } 100% { border-color: var(--u-line); color: var(--u-ink2); } }
@keyframes hx-hide-late { 0%, 62% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hx-show-late { 0%, 62% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hx-hold-then-out { 0%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hx-dot { 0%, 96% { background: var(--u-blue); } 100% { background: var(--u-green); } }
@keyframes hx-sheen { from { transform: translateX(-220px); } to { transform: translateX(900px); } }
@media (prefers-reduced-motion: no-preference) {
  .hx-play .hx-seq { animation: hx-in .8s var(--ease) both; animation-delay: calc(var(--hx-base, 1.3s) + var(--i) * .5s); }
  .hx-play .hx-ib { animation: hx-ib .8s linear both; animation-delay: calc(var(--hx-base, 1.3s) + var(--i) * .5s); }
  .hx-play .hx-swap .a { animation: hx-hold-then-out linear both; animation-duration: calc(var(--hx-base, 1.3s) + 2.4s); }
  .hx-play .hx-swap .b { animation: fade .45s var(--ease-soft) both; animation-delay: calc(var(--hx-base, 1.3s) + 2.3s); }
  .hx-play .hx-pd { animation: hx-dot linear both; animation-duration: calc(var(--hx-base, 1.3s) + 2.4s); }
  .hx-play .hx-live { animation: hx-hold-then-out linear both; animation-duration: calc(var(--hx-base, 1.3s) + 2.4s); }
  .hx-play .hx-sheen { animation: hx-sheen 1.6s var(--ease-soft) both; animation-delay: calc(var(--hx-base, 1.3s) + 2.2s); }
}

/* ---------- one card language: rows, pills, the background capsule, verification ---------- */
.card { overflow: hidden; border-radius: 18px; background: var(--u-surface); box-shadow: inset 0 0 0 1px var(--u-line), 0 24px 60px rgba(0, 0, 0, .45); color: var(--u-ink); text-align: left; }
.card-k { padding: 16px 18px 8px; font-size: 12px; font-weight: 600; color: var(--u-ink3); }
.pill { flex: none; margin-left: auto; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--u-ink2); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill.ok { background: rgba(60, 187, 114, .14); color: var(--u-green-ink); }
.pill.live { background: rgba(80, 168, 255, .14); color: var(--u-blue-ink); }
.live-dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--u-blue); }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(80, 168, 255, .6); opacity: 0; }
@keyframes pulse { from { opacity: 1; transform: scale(.55); } to { opacity: 0; transform: scale(1.9); } }
@media (prefers-reduced-motion: no-preference) { .live-dot::after { animation: pulse 2.4s var(--ease-soft) infinite; } }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 22px; background: rgba(30, 30, 32, .86); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 50px rgba(0, 0, 0, .5); color: var(--u-ink); text-align: left; }
.notice-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #202124; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.notice-icon img { width: 27px; }
.notice > div { min-width: 0; flex: 1; }
.notice-top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--u-ink3); }
.notice-top b { font-weight: 600; color: var(--u-ink2); }
.notice-title { margin-top: 1px; font-size: 14.5px; font-weight: 600; }
.notice-text { font-size: 13.5px; color: var(--u-ink2); }
.verify-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--u-line); }
.verify-head b { display: block; font-size: 14.5px; font-weight: 600; }
.verify-head small { display: block; margin-top: 2px; font-size: 12px; color: var(--u-ink3); }
.checks li { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 18px; font-size: 14.5px; }
.checks li + li { border-top: 1px solid var(--u-line); }
.ck { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(60, 187, 114, .14); color: var(--u-green-ink); }
.ck .i { width: 12px; height: 12px; stroke-width: 2.6; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- home: the company first, then its product ---------- */
.home-hero { display: flex; align-items: center; min-height: calc(86svh - var(--header)); padding-block: clamp(72px, 9vw, 120px); text-align: center; }
.home-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.home-hero .eyebrow { margin-bottom: 18px; }
.home-hero .h-display { max-width: 10.5em; }
.home-hero .lead { max-width: 30em; margin-top: clamp(20px, 2.2vw, 30px); }
.home-hero .cta-row { margin-top: clamp(30px, 3.2vw, 44px); }

.product-tile { overflow: hidden; padding-block: clamp(88px, 10vw, 140px); }
.product-tile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.product-tile-copy .eyebrow { margin-bottom: 10px; color: var(--gray-2); }
.product-tile-copy .lead { max-width: 25em; margin-top: 20px; }
.product-tile-copy .cta-row { justify-content: flex-start; margin-top: 34px; }
.mark-stage { position: relative; width: min(560px, 100%); aspect-ratio: 1; justify-self: center; }
.mark-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease-soft); }
.mark-stage.is-3d canvas { opacity: 1; }
.mark-fallback { position: absolute; inset: 15%; width: 70%; height: 70%; opacity: 0; transition: opacity 1s var(--ease-soft); }
html:not(.js) .mark-fallback, .mark-stage.is-flat .mark-fallback { opacity: 1; }
.wordmark { font-size: clamp(56px, 6.4vw, 96px); line-height: 1; font-weight: 500; letter-spacing: -.03em; color: #fff; }
.tagline { margin-top: clamp(12px, 1.4vw, 20px); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: var(--gray-2); }

.manifesto { max-width: 24em; font-size: clamp(26px, 2.7vw, 40px); line-height: 1.25; font-weight: 500; letter-spacing: -.022em; color: var(--gray-2); text-wrap: pretty; }
.manifesto strong { font-weight: 500; color: var(--ink); }

.home-cards-section { padding-top: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fc { display: flex; flex-direction: column; color: inherit; }
.fc-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge); color: #f5f5f7; }
.fc-media > * { transition: transform .9s var(--ease); }
a.fc:hover .fc-media > * { transform: scale(1.025); }
.fc-title { margin-top: 18px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; text-wrap: balance; }
a.fc:hover .fc-title { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.fc-text { max-width: 34em; margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--gray); }
.fc-meta { margin-top: 12px; font-size: 13px; font-weight: 500; }
.fc-list { width: min(78%, 420px); }
.fc-list li { padding: 14px 0; border-top: 1px solid var(--hair-dark); font-size: clamp(16px, 1.4vw, 19px); }
.fc-list li:last-child { border-bottom: 1px solid var(--hair-dark); }
.fc-mark { width: min(38%, 240px); filter: invert(1); }

/* home: work in motion. Tasks drift left to right; crossing the gold line, each one turns from to do into done.
   The same rows sit in two layers, one clipped to each side of the line, so a pill changes as it passes. */
.flow { position: relative; display: grid; gap: 14px; width: 100%; margin-top: clamp(48px, 6vw, 84px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.flow-row { position: relative; height: 44px; overflow: hidden; }
.flow-layer { position: absolute; inset: 0; }
.flow-layer.is-todo { clip-path: inset(0 50% 0 0); }
.flow-layer.is-done { clip-path: inset(0 0 0 50%); }
.flow-track { display: flex; gap: 12px; width: max-content; padding-right: 12px; animation: flow-right var(--speed, 60s) linear infinite; }
@keyframes flow-right { from { transform: translateX(-50%); } to { transform: none; } }
.flow-pill { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border-radius: 40px; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.flow-pill i { position: relative; width: 16px; height: 16px; flex: none; border-radius: 50%; }
.is-todo .flow-pill { box-shadow: inset 0 0 0 1px var(--line); color: var(--gray); }
.is-todo .flow-pill i { box-shadow: inset 0 0 0 1.5px var(--line); }
.is-done .flow-pill { background: var(--btn-bg); color: var(--btn-fg); }
.is-done .flow-pill i { background: var(--gold-2); }
.is-done .flow-pill i::after { content: ""; position: absolute; left: 4.5px; top: 4px; width: 7px; height: 4px; border-left: 1.6px solid #000; border-bottom: 1.6px solid #000; transform: rotate(-45deg); }
.flow-line { position: absolute; left: 50%; top: -14px; bottom: -14px; width: 1px; background: linear-gradient(180deg, transparent, var(--gold-2) 20%, var(--gold-2) 80%, transparent); box-shadow: 0 0 16px 1px rgba(223, 182, 120, .55); }
.flow.is-paused .flow-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .flow-track { animation: none; transform: translateX(-25%); } }

/* home: Services, the second side of the business (words left, the system picture right) */
.home-svc .svc-copy .eyebrow { color: var(--gray); }
.svc-tagline { margin-top: 10px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: var(--gray); }
.home-svc .lead { margin-top: 20px; }
.svc-offers { max-width: 32em; margin-top: 28px; border-top: 1px solid var(--hair); }
.svc-offers a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.svc-offers strong { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.svc-offers span { font-size: 15px; line-height: 1.5; color: var(--gray); }
.svc-offers a:hover strong { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.home-svc-media .sys { width: 84%; }
@media (prefers-reduced-motion: no-preference) {
  .sys .sys-core { animation: core-glow 4.8s var(--ease-soft) infinite alternate; }
}
@keyframes core-glow { from { box-shadow: inset 0 0 0 1px rgba(223, 182, 120, .42), 0 0 40px rgba(197, 138, 60, .12); } to { box-shadow: inset 0 0 0 1px rgba(223, 182, 120, .62), 0 0 76px rgba(197, 138, 60, .26); } }

/* photos: real places and real work between sections, the way OpenAI breaks up a page */
.photo-section { padding-top: 0; }
.dark + .photo-section { padding-top: clamp(64px, 8vw, 120px); }
.photo-section + .section:not(.dark), .photo-section + .co-section { padding-top: 0; }   /* the photo's own space is enough */
.photo-band { margin: 0; }
.photo-band img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); background: var(--surface); }

/* Video band: a silent loop of people at work. It plays only while on screen, and the round button pauses it. */
.video-band { position: relative; margin: clamp(32px, 3.6vw, 52px) 0 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.video-band video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.video-toggle { position: absolute; right: clamp(12px, 1.6vw, 20px); bottom: clamp(12px, 1.6vw, 20px); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .42); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); transition: background .2s ease, transform .2s ease; }
.video-toggle[hidden] { display: none; }
.video-toggle:hover { background: rgba(0, 0, 0, .62); }
.video-toggle:active { transform: scale(.94); }
.video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px rgba(0, 0, 0, .5); border-radius: 50%; }
.video-toggle svg { display: block; width: 14px; height: 14px; fill: currentColor; }
.video-toggle .vt-play, .video-band.is-paused .vt-pause { display: none; }
.video-band.is-paused .vt-play { display: block; }
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 3.6vw, 52px); }
.who-card { margin: 0; }
.who-link { display: block; color: inherit; border-radius: var(--radius); }
.who-link:hover .who-card strong { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.who-link .who-card img { transition: opacity .25s var(--ease-soft); }
.who-link:hover .who-card img { opacity: .9; }
.who-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.who-card figcaption { margin-top: 16px; }
.who-card strong { display: block; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.3; font-weight: 500; letter-spacing: -.012em; }
.who-card span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--gray); }

/* ---------- Harness page: how it works (a pinned stage on wide screens) ---------- */
.how-head { text-align: center; }
#how { overflow-x: clip; }   /* the stage glow bleeds wide; clip keeps the page from scrolling sideways (and, unlike hidden, keeps the stage sticky) */
.story { margin-top: clamp(64px, 8vw, 112px); }
.story-step + .story-step { margin-top: 96px; }
.step-num { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.story-step h3 { margin-top: 12px; color: #f5f5f7; }
.step-text { max-width: 25em; margin-top: 16px; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.45; color: var(--gray-2); }
.story-visual { margin-top: 36px; }
.story-stage { display: none; }
.stage-glow { position: absolute; left: 50%; top: 50%; width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(80, 120, 190, .16), rgba(80, 120, 190, 0)); pointer-events: none; }
@media (min-width: 1069px) {
  .story.has-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(48px, 6vw, 104px); }
  .story.has-stage .story-visual { display: none; }
  .story.has-stage .story-step { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; margin: 0; }
  .story.has-stage .story-step h3, .story.has-stage .story-step .step-text { transition: color .7s var(--ease-soft); }
  /* steps out of view step back, but stay readable (at least 4.5:1 on black) */
  .story.has-stage .story-step:not(.is-active) h3, .story.has-stage .story-step:not(.is-active) .step-text { color: #7c7c80; }
  .story.has-stage .story-step:not(.is-active) .step-num { background: none; color: #7c7c80; }
  .story.has-stage .story-stage { display: block; position: sticky; top: calc(50vh - 240px + var(--header) / 2); height: 480px; }
  .story-scene { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translate3d(0, 26px, 0) scale(.985); transition: opacity .7s var(--ease-soft), transform 1s var(--ease); pointer-events: none; }
  .story-scene.is-active { opacity: 1; transform: none; }
  .story-scene > * { zoom: 1.14; }
}

/* ---------- Harness page: feature bands (one tile language: the words, then the app) ---------- */
.band-head { max-width: 800px; margin-inline: auto; text-align: center; }
.band-head .eyebrow { margin-bottom: 14px; }
.band-head .lead { max-width: 32em; margin: 20px auto 0; }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1180px; margin: clamp(48px, 5vw, 76px) auto 0; }   /* the app pictures keep their proportions */
.tile { min-width: 0; display: flex; flex-direction: column; gap: 32px; padding: clamp(28px, 3.2vw, 44px); border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge); color: #f5f5f7; }
.dark .tile { background: #0d0d0e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.tile-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 4.5vw, 80px); }
.tile-title { color: #fff; }
.tile-text { max-width: 26em; margin-top: 10px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.45; color: var(--gray-2); }
.tile-art { min-width: 0; margin-top: auto; }
.tile-wide .tile-art { margin-top: 0; }
.tile-art .card { box-shadow: inset 0 0 0 1px var(--u-line); }
.band-note { margin-top: 28px; }
.caps-section { padding-top: 0; }
.seg { display: flex; gap: 2px; margin: 16px 18px 8px; padding: 3px; border-radius: 10px; background: var(--u-inset); box-shadow: inset 0 0 0 1px var(--u-line); }
.seg span { flex: 1; padding: 6px 0; border-radius: 8px; text-align: center; font-size: 13px; color: var(--u-ink3); }
.seg span.on { background: var(--u-hover2); color: var(--u-ink); }
.composer-card { padding: 14px 14px 10px; }
.composer-text { margin: 14px 4px 6px; font-size: 14.5px; }
.mc-user { width: fit-content; max-width: 85%; margin: 0 18px 0 auto; padding: 9px 14px; border-radius: 16px; background: var(--u-hover2); font-size: 14px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { display: flex; align-items: stretch; }
}

/* ---------- replicas of the app's own components, drawn from the shipped Harness code ---------- */
.stack.tight { gap: 10px; }
.ui-btn { height: 28px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--u-line2); font-size: 12px; font-weight: 500; line-height: 28px; color: var(--u-ink2); white-space: nowrap; }
.ui-btn.on { background: var(--u-ink); box-shadow: none; color: var(--u-canvas); }
.oc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--u-surface); box-shadow: inset 0 0 0 1px var(--u-line), 0 6px 18px rgba(0, 0, 0, .28); }
.oc-t { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.oc-v { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--u-ink); color: var(--u-canvas); font-size: 12px; font-weight: 500; }
.oc-v .i { width: 14px; height: 14px; }
.oc-m { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--u-ink3); }
.oc-m .i { width: 17px; height: 17px; stroke-width: 2.6; }
.th { position: relative; width: 54px; height: 42px; flex: none; overflow: hidden; border-radius: 10px; border: 1px solid rgba(80, 168, 255, .18); background: radial-gradient(circle at 78% 18%, rgba(80, 168, 255, .28), transparent 40%), linear-gradient(145deg, #0f1a26, var(--u-inset)); }
.th-s { position: absolute; inset: 6px; overflow: hidden; border-radius: 6px; border: 1px solid rgba(46, 46, 46, .8); background: rgba(15, 15, 15, .92); box-shadow: 0 2px 7px rgba(0, 0, 0, .2); }
.th-grid { position: absolute; inset: 4px; opacity: .42; background-image: linear-gradient(var(--u-line2) 1px, transparent 1px), linear-gradient(90deg, var(--u-line2) 1px, transparent 1px); background-size: 7px 7px; }
.th-slide { position: absolute; inset: 5px; border-radius: 3px; background: linear-gradient(135deg, rgba(80, 168, 255, .25), var(--u-surface)); }
.th-img { position: absolute; inset: 6px 6px 5px; display: flex; align-items: flex-end; gap: 2px; }
.th-img i { flex: 1; height: var(--h); border-radius: 1px; background: rgba(126, 192, 255, .7); }
.th .th-i { position: absolute; z-index: 2; right: 5px; bottom: 4px; width: 12px; height: 12px; color: var(--u-blue-ink); }
.chat-card { padding: 16px 18px; }
.chat-card .hx-nar { margin-top: 0; }
.chat-card .mc-user + .hx-nar { margin-top: 14px; }
.chat-composer { margin-top: 14px; padding: 8px 10px 6px; border-radius: 16px; background: var(--u-field); box-shadow: inset 0 0 0 1px var(--u-line); }
.appr { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 159, 67, .12); box-shadow: inset 0 0 0 1px rgba(255, 159, 67, .14); }
.appr-k { font-size: 12px; font-weight: 600; }
.appr-s { margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--u-ink2); }
.appr-b { display: flex; gap: 8px; margin-top: 8px; }
.sb-card { padding: 8px 8px 10px; }
.sb-card .hx-tog { margin-top: 2px; }
.sb-proj { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; font-size: 14px; font-weight: 500; color: var(--u-ink2); }
.sb-proj .i { width: 12px; height: 12px; color: var(--u-ink3); }
.sb-in { padding-left: 28px; }
.sb-live { position: absolute; right: 10px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--u-blue); }
.sb-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(80, 168, 255, .6); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .sb-live::after { animation: pulse 2.4s var(--ease-soft) infinite; } }
.mdt { position: relative; margin-top: 30px; }
.mdt-copy { position: absolute; right: 4px; top: -30px; width: 28px; height: 28px; display: grid; place-items: center; color: var(--u-ink3); }
.mdt-copy .i { width: 15px; height: 15px; }
.mdt table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--u-line); border-radius: 12px; background: var(--u-surface); font-size: 12.5px; text-align: left; }
.mdt th, .mdt td { padding: 9px 12px; white-space: nowrap; }
.mdt th { font-weight: 600; color: var(--u-ink2); background: var(--u-inset); }
.mdt td { border-top: 1px solid var(--u-line); }
.mdt td:last-child { color: var(--u-green-ink); }
.att-row { display: flex; flex-wrap: wrap; gap: 8px; }
.att-tile { width: 64px; height: 64px; display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 15px; background: var(--u-inset); box-shadow: inset 0 0 0 1px var(--u-line), 0 6px 18px rgba(0, 0, 0, .3); color: var(--u-ink2); }
.att-tile .i { width: 20px; height: 20px; }
.att-tile small { font-size: 9.5px; font-weight: 600; letter-spacing: .03em; color: var(--u-ink3); }
.att-photo { background: radial-gradient(60% 50% at 30% 30%, #6b7f94, transparent 70%), linear-gradient(160deg, #3d4c5d, #1b232c 60%, #303c47); }
.composer-text.dim { color: var(--u-ink3); }
.lib-tabs { display: flex; padding: 0 10px; border-bottom: 1px solid var(--u-line); }
.lib-tabs span { position: relative; height: 40px; padding: 0 10px; font-size: 12px; font-weight: 500; line-height: 40px; color: var(--u-ink3); }
.lib-tabs .on { color: var(--u-ink); }
.lib-tabs .on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--u-blue); }
.lib-list { padding: 6px; }
.lib-row { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 10px; overflow: hidden; white-space: nowrap; font-size: 12.5px; font-weight: 500; }
.lib-mark { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--u-inset); box-shadow: inset 0 0 0 1px var(--u-line); color: var(--u-ink2); }
.lib-mark .i { width: 16px; height: 16px; }
.au { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; }
.au + .au, .au-ctl + .au { border-top: 1px solid var(--u-line); }
.au-k { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--u-field); box-shadow: inset 0 0 0 1px var(--u-line); color: var(--u-ink2); }
.au-k .i { width: 16px; height: 16px; stroke-width: 1.8; }
.au-b { min-width: 0; flex: 1; }
.au-t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.au-t .pill { margin-left: 0; }
.au-w { display: block; margin-top: 2px; font-size: 12px; color: var(--u-ink2); }
.au-m { display: block; margin-top: 2px; font-size: 11.5px; color: var(--u-ink3); }
.au-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 16px 12px 60px; }
.msel { display: inline-flex; flex: none; align-items: center; justify-content: space-between; gap: 8px; min-width: 150px; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--u-field); box-shadow: inset 0 0 0 1px var(--u-line); font-size: 12.5px; color: var(--u-ink); white-space: nowrap; }
.msel .i { width: 13px; height: 13px; color: var(--u-ink3); }
.msel.sm { min-width: 104px; height: 28px; font-size: 12px; }
.msel.open { box-shadow: inset 0 0 0 1px rgba(80, 168, 255, .55), 0 0 0 3px rgba(80, 168, 255, .12); }
.sr { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 0 16px; }
.sr + .sr { border-top: 1px solid var(--u-line); }
.sr-t { font-size: 13px; font-weight: 500; }
.mpop { width: max-content; max-width: calc(100% - 32px); margin: 0 16px 14px auto; padding: 4px; border-radius: 12px; background: var(--u-hover); box-shadow: inset 0 0 0 1px var(--u-line2), 0 16px 40px rgba(0, 0, 0, .5); }
.mpop span { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 32px; padding: 0 10px; border-radius: 8px; overflow: hidden; white-space: nowrap; font-size: 12.5px; color: var(--u-ink2); }
.mpop .on { background: var(--u-hover2); color: var(--u-ink); }
.mpop .mp-ck { width: 13px; height: 13px; flex: none; color: var(--u-blue-ink); stroke-width: 2.4; }
.mail { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--u-inset); box-shadow: inset 0 0 0 1px var(--u-line); font-size: 12.5px; }
.mail-k { display: flex; flex-wrap: wrap; gap: 10px; }
.mail-k b { font-weight: 600; }
.mail-k span { color: var(--u-ink2); }
.mail-to { margin-top: 2px; font-size: 11.5px; color: var(--u-ink3); }
.mail-p { margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--u-ink2); }
.mail-b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mail-send, .mail-open { height: 32px; padding: 0 12px; border-radius: 9px; font-size: 11.5px; font-weight: 600; line-height: 32px; }
.mail-send { background: var(--u-blue); color: #04121f; }
.mail-open { box-shadow: inset 0 0 0 1px var(--u-line2); }
.add { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.add + .add { border-top: 1px solid var(--u-line); }
.add-m { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--u-field); box-shadow: inset 0 0 0 1px var(--u-line); font-size: 11px; font-weight: 700; color: var(--u-ink2); }
.add-b { min-width: 0; flex: 1; }
.add-b b { display: block; font-size: 13px; font-weight: 500; }
.add-b small { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--u-ink3); }
.add .add-c { width: 14px; height: 14px; color: var(--u-ink3); stroke-width: 2.2; }
.src-chip { display: inline-flex; align-items: center; gap: 8px; height: 28px; margin-top: 12px; padding: 0 10px; border-radius: 999px; background: var(--u-field); box-shadow: inset 0 0 0 1px var(--u-line); font-size: 11.5px; font-weight: 500; color: var(--u-ink2); }
.src-chip small { font-family: var(--mono); font-size: 10px; color: var(--u-ink3); }
.src-dots { display: flex; }
.src-dots i { width: 14px; height: 14px; margin-left: -6px; border-radius: 50%; background: var(--u-hover2); box-shadow: 0 0 0 2px var(--u-field); }
.src-dots i:first-child { margin-left: 0; background: #4f7cff; }
.src-dots i:nth-child(2) { background: #2bb673; }
.src-dots i:nth-child(3) { background: #e8a33a; }
.src-lead { margin: -4px 18px 8px; font-size: 12px; color: var(--u-ink3); }
.src-row { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; overflow: hidden; white-space: nowrap; font-size: 13.5px; }
.src-row + .src-row { border-top: 1px solid var(--u-line); }
.fav { width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--u-hover2); box-shadow: inset 0 0 0 1px var(--u-line2); }
.live-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.live-cap { max-width: min(440px, 100%); padding: 8px 14px; border-radius: 16px; background: rgba(15, 15, 15, .88); box-shadow: inset 0 0 0 1px var(--u-line), 0 8px 28px rgba(243, 243, 243, .06); text-align: center; font-size: 14px; font-weight: 500; line-height: 1.5; }
.fluid-orb { width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(70% 55% at 45% 30%, rgba(253, 254, 254, .95), rgba(253, 254, 254, 0) 70%), linear-gradient(180deg, #fdfefe 0%, #eef5ff 26%, #b7d8ff 50%, #6fb1ff 72%, #4a98f7 100%); box-shadow: 0 10px 28px rgba(90, 165, 255, .24); }
@keyframes orb-breathe { from { transform: scale(.97); } to { transform: scale(1.03); } }
@media (prefers-reduced-motion: no-preference) { .fluid-orb { animation: orb-breathe 4.8s var(--ease-soft) infinite alternate; } }
.composer-card.slim { width: 100%; }
.seg.sm span { padding: 5px 0; font-size: 12px; }
.mem-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px 6px; }
.mem-b { min-width: 0; flex: 1; }
.mem-b b { display: block; font-size: 13px; font-weight: 500; line-height: 1.45; }
.mem-b small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--u-ink3); }
.mpop.mem-menu { width: 150px; }
.srv { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 16px; }
.srv + .srv { border-top: 1px solid var(--u-line); }
.srv-i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--u-field); box-shadow: inset 0 0 0 1px var(--u-line); color: var(--u-ink2); }
.srv-i.on { background: rgba(80, 168, 255, .14); color: var(--u-blue-ink); }
.srv-i .i { width: 16px; height: 16px; }
.srv-b { min-width: 0; flex: 1; }
.srv-b b { display: block; font-size: 13.5px; font-weight: 500; }
.srv-b small { display: block; margin-top: 2px; font-size: 12px; color: var(--u-ink3); }
.srv .pill { margin-left: 0; }

/* Narrow tiles (two columns on a half screen, or a phone): the output cards drop the menu button and let long file names wrap. */
.tile-art { container-type: inline-size; }
@container (max-width: 440px) {
  .oc .oc-m { display: none; }
  .oc-t { white-space: normal; overflow-wrap: anywhere; }
}
/* On phones the app pictures wrap their labels instead of cutting them off (Spanish and Portuguese run longer). */
@media (max-width: 480px) {
  .oc { gap: 10px; padding: 9px 10px; }
  .oc .oc-m { display: none; }
  .oc .th { width: 44px; height: 36px; }
  .oc-t { font-size: 13px; white-space: normal; overflow-wrap: anywhere; }
  .add-b small, .lib-row, .src-row, .mpop span { white-space: normal; }
  .lib-row, .src-row { height: auto; min-height: 44px; padding-block: 8px; }
  .mpop span { height: auto; min-height: 32px; padding-block: 6px; }
}

/* ---------- Harness page: capabilities ---------- */
.caps-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.caps-intro .lead { margin-top: 20px; }
.acc { border-top: 1px solid var(--hair); }
.acc details { border-bottom: 1px solid var(--hair); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; list-style: none; cursor: pointer; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.014em; transition: opacity .25s var(--ease-soft); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { opacity: .7; }
.acc-icon { position: relative; width: 17px; height: 17px; flex: none; transition: transform .5s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.6px; margin-top: -.8px; border-radius: 1px; background: currentColor; transition: transform .5s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc details[open]:not(.is-closing) .acc-icon { transform: rotate(180deg); }
.acc details[open]:not(.is-closing) .acc-icon::after { transform: rotate(0deg); }
.acc-body { overflow: hidden; }
.acc ul { padding: 0 0 22px; }
.acc li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 11px 0; font-size: 17px; line-height: 1.45; }
.acc li strong { font-weight: 500; }
.acc li span { color: var(--gray); }
.caps-note { margin-top: 24px; }
.caps-cta { margin-top: 26px; }

/* ---------- company ---------- */
.statement { max-width: 860px; margin-inline: auto; text-align: center; }
.statement p:not(.eyebrow) { max-width: 36em; margin: 26px auto 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--gray-2); }
.statement p + p { margin-top: 18px; }
/* The Company page reads like an editorial page: text beside one picture, then the founder. */
.co-section { padding-block: clamp(52px, 6.5vw, 104px); }
.co-person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
/* editorial columns: a small label on the left, the words on the right */
.co-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.co-label { padding-top: 6px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; font-weight: 500; letter-spacing: -.012em; }
.co-statement { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.28; font-weight: 500; letter-spacing: -.022em; text-wrap: pretty; }
.co-body .co-text { max-width: 38em; margin-top: 24px; font-size: clamp(17px, 1.3vw, 19px); }
.co-what { margin-top: clamp(40px, 4.4vw, 64px); }
.co-what-mark { width: min(36%, 220px); filter: drop-shadow(0 0 40px rgba(197, 138, 60, .25)); }
.co-what .sys { width: 78%; }
.co-h { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.25; font-weight: 500; letter-spacing: -.015em; }
.co-text { margin-top: 18px; max-width: 34em; font-size: 17px; line-height: 1.65; letter-spacing: -.01em; text-wrap: pretty; }
.co-h + .co-text { margin-top: 20px; }
.co-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.co-section-title { margin-bottom: clamp(28px, 3.4vw, 48px); }
.co-portrait { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.co-portrait img { width: 100%; height: 100%; object-fit: cover; }
.co-name { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.06; font-weight: 500; letter-spacing: -.025em; }
.co-role { margin-top: 10px; font-size: 17px; line-height: 1.4; color: var(--gray); }
.co-role + .co-text { margin-top: 28px; }

/* ---------- services: custom builds ---------- */
.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(82%, 460px); }
.os-grid span { display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: var(--radius); background: #141414; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: clamp(12px, 1.05vw, 15px); color: #f5f5f7; }
.fc-steps { width: min(78%, 420px); list-style: none; padding: 0; margin: 0; }
.fc-steps li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hair-dark); font-size: clamp(15px, 1.35vw, 19px); }
.fc-steps li:last-child { border-bottom: 1px solid var(--hair-dark); }
.fc-steps b { font-weight: 500; color: var(--gold-2); }
.bsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: clamp(32px, 3.6vw, 52px) 0 0; padding: 0; list-style: none; }
.bstep { padding-top: 20px; border-top: 1px solid var(--hair); }
.bstep-title { margin-top: 12px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; }
.bstep-text { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--gray); }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 4.4vw, 64px); }
.why-item { padding-top: 20px; border-top: 1px solid var(--hair-dark); }
.why-title { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; color: #fff; }
.why-text { max-width: 26em; margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--gray-2); }

/* services: the hero picture, offering rows, ideas, ways to work, questions */
.svc-visual { margin-top: clamp(48px, 5.4vw, 78px); }
.svc-visual-panel { display: grid; place-items: center; padding: clamp(36px, 6vw, 88px) clamp(16px, 4vw, 48px); border-radius: var(--radius); background: radial-gradient(55% 75% at 50% 50%, #16120b 0%, #000 72%); box-shadow: inset 0 0 0 1px var(--panel-edge); }
.sys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); width: min(100%, 760px); }
.sys span { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: clamp(12px, 1.2vw, 16px); color: #f5f5f7; }
.sys .sys-core { background: #0b0906; box-shadow: inset 0 0 0 1px rgba(223, 182, 120, .5), 0 0 64px rgba(197, 138, 60, .2); }
.sys-core img { width: 34%; filter: invert(1); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(72px, 9vw, 136px); }
.svc-row.flip .svc-media { order: -1; justify-self: start; }
.svc-media { display: grid; place-items: center; width: 100%; max-width: 600px; justify-self: end; aspect-ratio: 1; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge); color: #f5f5f7; }
.svc-copy .eyebrow { margin-bottom: 12px; color: var(--gray); }
.tools { display: grid; grid-template-columns: auto minmax(48px, 1fr) auto; align-items: center; width: min(86%, 500px); }
.tools-list { display: grid; gap: 16px; }
.tools-list li { display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: var(--radius); background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: clamp(13px, 1.1vw, 15px); white-space: nowrap; }
.tools-lines { width: 100%; height: 284px; }   /* five 44px tools with 16px gaps */
.tools-lines path { fill: none; stroke: rgba(223, 182, 120, .55); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.tools-core { display: grid; place-items: center; align-content: center; gap: 12px; width: clamp(112px, 11vw, 150px); aspect-ratio: 1; border-radius: var(--radius); background: #0b0906; box-shadow: inset 0 0 0 1px rgba(223, 182, 120, .5), 0 0 56px rgba(197, 138, 60, .2); }
.tools-core img { width: 46%; filter: invert(1); }
.tools-core span { font-size: 13px; color: #f5f5f7; }
.svc-copy .lead { max-width: 30em; margin-top: 18px; }
.svc-list { max-width: 32em; margin-top: 28px; border-top: 1px solid var(--hair); }
.svc-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 16px; letter-spacing: -.01em; }
.svc-list li::before { content: ""; flex: none; width: 10px; height: 5px; margin: -3px 2px 0; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); }
.svc-copy .cta-row { justify-content: flex-start; margin-top: 30px; }
.section-head { max-width: 760px; }
.section-head .lead { margin-top: 16px; }
.ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 3.6vw, 52px); }
.idea { display: flex; flex-direction: column; min-height: 248px; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.idea-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--raised); box-shadow: var(--chip-shadow); }
.idea-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.idea-title { margin-top: auto; padding-top: 40px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; font-weight: 500; letter-spacing: -.015em; }
.idea-text { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted-2); }
/* titles and texts line up across each row of cards, whatever their length: the cards share the grid's rows */
@supports (grid-template-rows: subgrid) {
  .ideas { grid-auto-rows: minmax(96px, auto) auto auto; }
  .idea { display: grid; grid-row: span 3; grid-template-rows: subgrid; min-height: 0; }
  .idea-title { margin-top: 0; padding-top: 24px; }
  .idea-text { margin-top: -6px; }
}
.btypes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 3.6vw, 52px); }
.btype { display: flex; flex-direction: column; min-height: 236px; padding: 28px; border-radius: var(--radius); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.btype .idea-icon { background: var(--btn-bg); box-shadow: none; }
.btype .idea-icon svg { stroke: var(--btn-fg); }
.btype-title { margin-top: 28px; padding-top: 0; font-size: clamp(18px, 1.45vw, 20px); line-height: 1.3; font-weight: 500; letter-spacing: -.015em; }
.btype-text { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--gray); }
.wire { width: min(84%, 460px); overflow: hidden; border-radius: var(--radius); background: #0d0d0e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .6); }
.wire-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.wire-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.wire-body { display: grid; grid-template-columns: 26% minmax(0, 1fr); min-height: 250px; }
.wire-side { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; border-right: 1px solid rgba(255, 255, 255, .08); }
.wire-side b { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.wire-side b:first-child { width: 70%; background: rgba(223, 182, 120, .6); }
.wire-main { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.wire-title { width: 45%; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .22); }
.wire-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wire-cards span { height: 52px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.wire-cards .on { background: rgba(223, 182, 120, .14); box-shadow: inset 0 0 0 1px rgba(223, 182, 120, .45); }
.wire-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding: 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.wire-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, .16); }
.wire-chart .on { background: linear-gradient(180deg, var(--gold-1), var(--gold-3)); }
.engage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 3.6vw, 52px); }
.engage-card { display: flex; flex-direction: column; min-height: 260px; padding: 32px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.engage-title { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.25; font-weight: 500; letter-spacing: -.018em; }
.engage-text { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--gray); }
.engage-best { margin-top: auto; padding-top: 28px; font-size: 13px; font-weight: 500; color: var(--gray); }
.engage-best strong { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--fg); }
.engage-note { margin-top: 24px; font-size: 15px; color: var(--gray); }
.faq summary { padding: 22px 0; font-size: clamp(18px, 1.55vw, 21px); }
.caps-intro .cta-row { justify-content: flex-start; margin-top: 26px; }
.faq-a { max-width: 42em; padding: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--gray); }

/* ---------- approach ---------- */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 5vw, 72px); }
.principle { display: flex; flex-direction: column; min-height: 340px; padding: clamp(32px, 3.6vw, 48px); border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--panel-edge); color: #f5f5f7; }
.principle .step-num { color: var(--gold-2); }
.principle h3 { margin-top: auto; padding-top: 48px; }
.principle-text { max-width: 26em; margin-top: 12px; color: var(--gray-2); }
.closing { text-align: center; }
.closing > .wrap { padding: clamp(56px, 7vw, 104px) clamp(24px, 4vw, 64px); border-radius: var(--radius); background: var(--tint); }
.closing .lead { max-width: 28em; margin: 22px auto 0; }
.closing .cta-row { margin-top: 36px; }

/* ---------- contact: Send delivers the message to the inbox, then confirms ---------- */
/* The contact page opens on its black panel, a little below the header. */
.contact-page { margin-top: 24px; padding-top: clamp(56px, 7.4vw, 112px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-intro .eyebrow { margin-bottom: 14px; }
.contact-intro .lead { max-width: 23em; margin-top: 20px; }
.contact-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 32px; font-size: 17px; color: var(--gray-2); }
html:not(.js) .contact-direct { display: none; }
.contact-direct .mail-link { color: #f5f5f7; }
.mail-link:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.copy-btn { position: relative; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #f5f5f7; cursor: pointer; transition: background-color .25s var(--ease-soft), transform .35s var(--ease); }
.copy-btn:hover { background: rgba(255, 255, 255, .16); }
.copy-btn:active { transform: scale(.94); }
.copy-btn .i { grid-area: 1 / 1; width: 15px; height: 15px; transition: opacity .25s var(--ease-soft), transform .35s var(--ease); }
.copy-btn .done { opacity: 0; transform: scale(.6); stroke-width: 2.4; }
.copy-btn.is-copied .copy { opacity: 0; transform: scale(.6); }
.copy-btn.is-copied .done { opacity: 1; transform: none; }
.copy-note { min-width: 4em; font-size: 14px; color: var(--gold-2); }
.contact-form { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: linear-gradient(180deg, #121214 0%, #0a0a0b 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .05); }
.topics { margin: 0 0 26px; padding: 0; border: 0; }
.topics legend { margin-bottom: 12px; padding: 0; font-size: 14px; color: var(--gray-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip-radio span { display: inline-flex; align-items: center; height: 38px; padding: 0 17px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); font-size: 15px; color: #f5f5f7; transition: background-color .25s var(--ease-soft), color .25s var(--ease-soft), box-shadow .25s var(--ease-soft); }
.chip-radio:hover span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.chip-radio input:checked + span { background: #fff; color: #000; box-shadow: none; }
.chip-radio input:focus-visible + span { outline: 2px solid #2997ff; outline-offset: 3px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; color: var(--gray-2); }
.field .opt { color: #98989d; }
.field input::placeholder { color: #8e8e93; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 0; border-radius: var(--radius);
  background: #161618; color: #fff;
  font: inherit; font-size: 16px; line-height: 1.4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: box-shadow .25s var(--ease-soft), background-color .25s var(--ease-soft);
}
.field textarea { min-height: 148px; resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
.field select option { color: #000; background: #fff; }
.field input[type="date"] { color-scheme: dark; height: calc(1.4em + 28px); -webkit-appearance: none; appearance: none; }
.field input[type="date"]::-webkit-date-and-time-value { margin: 0; text-align: left; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .75; cursor: pointer; }
.field input:hover, .field textarea:hover, .field select:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background-color: #1b1b1d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 0 0 4px rgba(255, 255, 255, .07); }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; caret-color: #fff; box-shadow: inset 0 0 0 1000px #161618, inset 0 0 0 1px rgba(255, 255, 255, .1); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1px #ff6b6b; }
.field [aria-invalid="true"]:focus { box-shadow: inset 0 0 0 1px #ff6b6b, 0 0 0 4px rgba(255, 107, 107, .16); }
.field-error { font-size: 14px; color: #ff8a80; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 10px; }
.form-note { font-size: 14px; color: var(--gray-2); }
.form-note a { color: #f5f5f7; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.form-status { margin-top: 18px; font-size: 15px; line-height: 1.45; color: #ff8a80; }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn-spin { display: none; width: 16px; height: 16px; margin-right: 10px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .15); border-top-color: #000; }
.is-sending .btn-spin { display: inline-block; animation: spin .75s linear infinite; }
.is-sending .btn { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 420px; padding: 24px 12px; text-align: center; }
.form-done[hidden] { display: none; }
.done-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 12px 40px rgba(255, 255, 255, .12); }
.done-mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
.form-done .done-title { margin-top: 24px; color: #fff; outline: none; }
.done-text { max-width: 26em; margin-top: 10px; font-size: 17px; line-height: 1.5; color: var(--gray-2); }
.done-again { margin-top: 26px; padding: 0; border: 0; background: none; color: #f5f5f7; font: inherit; font-size: 17px; cursor: pointer; }
.done-again:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
@keyframes pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .form-done:not([hidden]) { animation: pop .6s cubic-bezier(.32, 1.25, .5, 1) both; }
  .form-done:not([hidden]) .done-mark svg { animation: draw .5s var(--ease) .25s both; }
}

/* ---------- legal pages and site map ---------- */
/* Docs style: a sticky sidebar with the legal pages and this page's sections beside the text. On narrower
   screens it sits under the title: the pages become pills and the sections fold into "On this page". */
.legal { width: min(100% - var(--gutter) * 2, 1120px); margin-inline: auto; padding: clamp(64px, 8vw, 112px) 0 clamp(80px, 9vw, 128px); display: grid; grid-template-columns: 216px minmax(0, 760px); grid-template-areas: "side head" "side body"; column-gap: clamp(48px, 7vw, 120px); justify-content: center; }
.legal-head { grid-area: head; }
.legal-body, .legal > .sitemap { grid-area: body; }
.legal-side { grid-area: side; align-self: start; position: sticky; top: calc(var(--header) + 32px); max-height: calc(100vh - var(--header) - 56px); overflow-y: auto; overscroll-behavior: contain; }
.legal-side-h, .legal-toc > summary { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.legal-pages a, .legal-toc nav a { display: block; margin-left: -10px; padding: 6px 10px; border-radius: 6px; font-size: 14px; line-height: 1.35; color: var(--gray); transition: color .15s ease, background-color .15s ease; }
.legal-pages a:hover, .legal-toc nav a:hover { color: var(--text); background: var(--soft); }
.legal-pages a[aria-current="page"] { color: var(--text); font-weight: 500; background: var(--soft); }
.legal-toc { margin-top: 28px; }
.legal-toc > summary { list-style: none; cursor: default; }
.legal-toc > summary::-webkit-details-marker { display: none; }
.legal-toc nav a.is-current { color: var(--text); }
@media (max-width: 1068px) {
  .legal { width: min(100% - var(--gutter) * 2, 760px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "side" "body"; }
  .legal-side { position: static; max-height: none; overflow: visible; margin-top: 24px; }
  .legal-side-h { display: none; }
  .legal-pages { display: flex; flex-wrap: wrap; gap: 8px; }
  .legal-pages a { display: inline-flex; align-items: center; height: 34px; margin: 0; padding: 0 14px; border-radius: 999px; background: var(--soft); color: var(--text); }
  .legal-pages a[aria-current="page"] { background: var(--btn-bg); color: var(--btn-fg); }
  .legal-toc { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
  .legal-toc > summary { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 14px 16px; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text); cursor: pointer; }
  .legal-toc > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
  .legal-toc[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
  .legal-toc nav { padding: 0 16px 12px; }
}
.legal-head { padding-bottom: 32px; border-bottom: 1px solid var(--hair); }
.legal-head .eyebrow { margin-bottom: 12px; color: var(--gray); font-size: 17px; }
.legal-date { margin-top: 16px; font-size: 15px; color: var(--gray); }
.legal-note { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); font-size: 14px; line-height: 1.45; color: var(--text); }
.legal-body { font-size: 17px; line-height: 1.6; color: var(--text); }
.legal-body > p:first-child { margin-top: 32px; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.5; }
.legal-body h2 { margin-top: 44px; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; font-weight: 500; letter-spacing: -.012em; }
.legal-body h3 { margin-top: 24px; font-size: 18px; font-weight: 500; }
.legal-body p { margin-top: 14px; }
.legal-body ul { margin-top: 14px; }
.legal-body li { margin-top: 10px; padding-left: 16px; border-left: 2px solid var(--hair); }
.legal-body a { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.legal-body a:hover { text-decoration-thickness: 2px; }
.sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 40px; }
.sitemap h2 { padding-bottom: 12px; border-bottom: 1px solid var(--hair); font-size: 13px; font-weight: 500; color: var(--gray); letter-spacing: 0; }
.sitemap ul { margin-top: 10px; }
.sitemap li { padding: 7px 0; font-size: 17px; }
.sitemap a:hover { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- footer ---------- */
/* Footer: a hairline, the name with one line on the left and the links on the right, then the copyright and legal links */
.site-footer { padding: 0 0 40px; font-size: 13px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 32px; padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--hair); }
.footer-tagline { max-width: 20em; margin-top: 16px; font-size: 15px; line-height: 1.5; letter-spacing: -.01em; color: var(--gray); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-h { margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--gray); }
.footer-col a { font-size: 14px; letter-spacing: -.01em; color: var(--text); }
.footer-col a:hover, .footer-col a[aria-current="page"] { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: clamp(48px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--hair); color: var(--gray); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { color: var(--gray); transition: color .2s var(--ease-soft); }
.footer-legal a:hover, .footer-legal a[aria-current="page"] { color: var(--fg); }

/* ---------- responsive ---------- */
@media (max-width: 1068px) {
  .caps-layout, .product-tile-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btypes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-intro { text-align: center; }
  .contact-intro .lead { margin-inline: auto; }
  .contact-direct { justify-content: center; }
  .product-tile-copy { text-align: center; }
  .product-tile-copy .lead { margin-inline: auto; }
  .product-tile-copy .cta-row { justify-content: center; }
  .mark-stage { width: min(500px, 88vw); }
  .caps-intro { text-align: center; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .svc-row .svc-media, .svc-row.flip .svc-media { order: 0; justify-self: start; width: min(100%, 480px); }
  .ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engage { grid-template-columns: minmax(0, 1fr); }
  .engage-card { min-height: 0; }
  .why { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-person { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .co-cols { grid-template-columns: minmax(0, 1fr); }
  .co-portrait { width: min(100%, 440px); }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principle { min-height: 0; }
  .principle h3 { padding-top: 40px; }
}
/* the full menu bar needs about 860px in Spanish and Portuguese; below that, the menu sheet */
@media (max-width: 859px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 734px) {
  .home-hero { min-height: 0; }
  .acc li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ideas { grid-template-columns: minmax(0, 1fr); }
  .flow { gap: 10px; }
  .flow-row, .flow-pill { height: 38px; }
  .flow-pill { font-size: 13px; padding: 0 14px 0 11px; }
  .photo-band img { aspect-ratio: 4 / 3; }
  .video-band video { aspect-ratio: 4 / 3; }
  .who { gap: 24px 12px; }
  .btypes { grid-template-columns: minmax(0, 1fr); }
  .btype { min-height: 0; }
  .idea { min-height: 0; }
  .idea-title { padding-top: 28px; }
  @supports (grid-template-rows: subgrid) { .ideas { grid-auto-rows: auto; } .idea-title { padding-top: 12px; } }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsteps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .sitemap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .story-step + .story-step { margin-top: 80px; }
}
@media (max-width: 420px) {
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .nav-scrim, .flyout-open .nav-scrim { transition: none; }
}

/* Industry pages: the line under the Harness cards, and the Harness page's link to its terms */
.ind-note { max-width: 46em; margin-top: clamp(28px, 3vw, 40px); font-size: 15px; line-height: 1.55; color: var(--gray); }
.ind-note a, .caps-note a { color: var(--text); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.caps-note { margin-top: 18px; font-size: 15px; }
.faq-a a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* Footer: round links to NAU Labs' public profiles (added by scripts/add_social.py) */
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--text); transition: background-color .2s var(--ease-soft); }
.footer-social a:hover { background: var(--soft-hover); }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

/* Industry pages: six build cards three across on wide screens, and the Industries page lists in two columns */
@media (min-width: 1069px) { .btypes.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ind-list { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
@media (max-width: 734px) { .ind-list { grid-template-columns: minmax(0, 1fr); } }
.who-more { margin-top: clamp(28px, 3vw, 40px); }
