/* Self-hosted Google Fonts (SIL Open Font License): DM Sans, Roboto Mono, Space Grotesk. Latin + Latin Extended subsets. */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/DMSans-latin-ext-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/DMSans-latin-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/DMSans-latin-ext-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/DMSans-latin-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/DMSans-latin-ext-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/DMSans-latin-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-latin-ext-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/RobotoMono-latin-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/RobotoMono-latin-ext-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/RobotoMono-latin-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-latin-ext-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-latin-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-latin-ext-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-latin-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Photoliqsys — design system
   Light, airy base + dark cinematic "instrument" blocks. Spectrum accent from logo.
   Themes: default = light. Add .theme-dark to any block to flip tokens.
   ========================================================================== */

:root {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --text: #0b0d12;
  --muted: #4d5462;
  --dim: #6a7080;
  --line: rgba(11, 13, 18, 0.08);
  --line-strong: rgba(11, 13, 18, 0.16);
  --accent: #1d63d8;
  --glow: rgba(29, 99, 216, 0.18);
  --shadow: 0 1px 2px rgba(11, 13, 18, 0.04), 0 12px 32px -12px rgba(11, 13, 18, 0.12);
  --shadow-lg: 0 2px 4px rgba(11, 13, 18, 0.04), 0 30px 60px -20px rgba(11, 13, 18, 0.22);

  --night: #070912;
  --page: #f3f4f7; /* page background, never flipped by .theme-dark */

  /* Spectrum (from logo ring) */
  --s-red: #e4262d; --s-orange: #f7941d; --s-yellow: #ffd200; --s-green: #4cb848;
  --s-cyan: #00aeef; --s-blue: #3b5bdb; --s-violet: #92278f; --s-magenta: #ec008c;
  --spectrum: linear-gradient(90deg, #e4262d 0%, #f7941d 15%, #ffd200 30%, #4cb848 46%, #00aeef 62%, #3b5bdb 76%, #92278f 88%, #ec008c 100%);
  --spectrum-conic: conic-gradient(from 210deg, #e4262d, #f7941d, #ffd200, #4cb848, #00aeef, #3b5bdb, #92278f, #ec008c, #e4262d);

  --success: #12804a;
  --danger: #c8302f;

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-3xl: clamp(2.6rem, 1.5rem + 4.4vw, 5rem);

  --sp-1: 0.5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2rem; --sp-5: 3rem; --sp-6: 4.5rem; --sp-7: 7rem;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1240px;
  --header-h: 88px;
  --frame: 14px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 800ms;
}

.theme-dark {
  --bg: #070912;
  --surface: #0f1220;
  --surface-2: #151a2b;
  --text: #eef0f6;
  --muted: #a8afc0;
  --dim: #8b92a3;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #5fd4ff;
  --glow: rgba(95, 212, 255, 0.35);
  --shadow: none;
  --danger: #ff8080;
  color: var(--text);
  background-color: var(--bg);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(0, 174, 239, 0.25); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--text); color: var(--bg); padding: 0.75rem 1.25rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--sp-7); position: relative; }
.section--tight { padding-block: var(--sp-5); }
.section--white { background: var(--surface); }
.frame { margin-inline: var(--frame); border-radius: var(--radius-xl); overflow: hidden; position: relative; isolation: isolate; }

.grid { display: grid; gap: var(--sp-3); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
.split--form { grid-template-columns: 1.2fr 0.8fr; gap: var(--sp-4); }
.split--top { align-items: start; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1024px) { .sticky-col { position: static; } }

@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left, .split--form { grid-template-columns: 1fr; gap: var(--sp-5); }
}
@media (max-width: 640px) {
  :root { --frame: 8px; --radius-xl: 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding-block: var(--sp-6); }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem; width: fit-content;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--muted); padding: 0.4rem 0.85rem 0.4rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--spectrum-conic); }
.h-display { font-size: var(--fs-3xl); letter-spacing: -0.04em; }
.h-section { font-size: var(--fs-2xl); letter-spacing: -0.035em; }
.h-section .soft, .h-display .soft { color: var(--dim); }
.h-card { font-size: var(--fs-lg); letter-spacing: -0.015em; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.text-spectrum { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { display: grid; gap: var(--sp-2); max-width: 760px; margin-bottom: var(--sp-5); justify-items: start; }
.section-head--center { text-align: center; margin-inline: auto; justify-items: center; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; max-width: none; flex-wrap: wrap; gap: var(--sp-3); }
.section-head--row > div { display: grid; gap: var(--sp-2); justify-items: start; max-width: 640px; }
.placeholder {
  font-family: var(--font-mono); font-size: 0.82em; color: #8a5a00; font-weight: 500;
  background: rgba(255, 210, 0, 0.18); border: 1px dashed rgba(196, 140, 0, 0.55);
  padding: 0 0.35em; border-radius: 5px; letter-spacing: 0;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.theme-dark .placeholder { color: #ffe066; background: rgba(255, 210, 0, 0.1); border-color: rgba(255, 210, 0, 0.4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--text); color: var(--bg); font-weight: 600; font-size: var(--fs-sm);
  cursor: pointer; touch-action: manipulation; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px var(--glow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.theme-dark .btn--ghost { background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: var(--text); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0.55rem 1.15rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--text); font-size: var(--fs-sm); min-height: 44px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translate(2px, -2px); }
.link-arrow:hover { color: var(--accent); }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--surface); flex-shrink: 0; transition: all var(--dur) var(--ease-out); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Header (floating bar) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); padding: 12px var(--frame) 0; pointer-events: none; }
.site-header__bar {
  pointer-events: auto; height: 64px; max-width: 1320px; margin-inline: auto; padding: 0 0.6rem 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 30px -16px rgba(11, 13, 18, 0.25);
  transition: box-shadow var(--dur), background var(--dur);
}
.site-header.is-scrolled .site-header__bar { background: rgba(255, 255, 255, 0.92); box-shadow: 0 12px 40px -16px rgba(11, 13, 18, 0.3); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--sp-3); }
.nav__list { display: flex; gap: 0.15rem; }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.85rem; border-radius: 999px;
  font-size: var(--fs-sm); color: var(--muted); font-weight: 500; transition: color var(--dur-fast), background var(--dur-fast);
}
.nav__link:hover { color: var(--text); background: rgba(11, 13, 18, 0.05); }
.nav__link[aria-current="page"] { color: var(--text); background: rgba(11, 13, 18, 0.06); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform var(--dur) var(--ease-out), background var(--dur-fast); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: calc(var(--header-h) + 4px); left: var(--frame); right: var(--frame); max-height: calc(100svh - var(--header-h) - 20px);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: var(--sp-3); padding: var(--sp-3);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; }
  .nav__link { font-family: var(--font-head); font-size: 1.35rem; color: var(--text); min-height: 56px; border-radius: 12px; padding: 0 0.75rem; }
  .nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (dark inset panel) ---------- */
.hero-wrap { padding-top: calc(var(--header-h) + 10px); }
.hero {
  position: relative; min-height: min(860px, calc(100svh - var(--header-h) - 24px)); display: flex; align-items: center;
  padding-block: var(--sp-6) calc(var(--sp-6) + 40px);
  background: radial-gradient(80% 90% at 75% 45%, #121a3c 0%, #0a0d1d 45%, var(--night) 75%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,9,18,0.9) 0%, rgba(7,9,18,0.45) 42%, rgba(7,9,18,0) 70%);
}
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent); }
.hero__content { display: grid; gap: var(--sp-3); max-width: 680px; justify-items: start; }
.hero .lead { color: #b9c0d0; }

/* floating chips over hero visual */
.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.9rem 0.45rem 0.45rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500;
  background: rgba(255, 255, 255, 0.95); color: #0b0d12; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.45);
  animation: bob 6s ease-in-out infinite; animation-delay: var(--delay, 0s); white-space: nowrap;
}
.float-chip__icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #0b0d12; color: #fff; }
.float-chip__icon svg { width: 14px; height: 14px; }
.float-chip--dark { background: rgba(15, 18, 32, 0.85); color: #eef0f6; border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(10px); }
.float-chip--dark .float-chip__icon { background: var(--spectrum-conic); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .hero .float-chip { display: none; } }

/* stats card notched into the hero's bottom-right */
.hero-stats {
  position: absolute; right: 0; bottom: 0; z-index: 3; background: var(--page); color: #0b0d12;
  border-top-left-radius: var(--radius-xl); padding: 1.4rem 2rem 1.1rem 2.2rem;
  display: grid; grid-template-columns: repeat(3, auto); gap: 0 2.4rem;
}
.hero-stats::before, .hero-stats::after { content: ""; position: absolute; width: var(--radius-xl); height: var(--radius-xl); background: radial-gradient(circle at 0 0, transparent calc(var(--radius-xl) - 0.5px), var(--page) var(--radius-xl)); }
.hero-stats .placeholder { color: #8a5a00; background: rgba(255, 210, 0, 0.18); border-color: rgba(196, 140, 0, 0.55); }
.hero-stats::before { right: 0; top: calc(var(--radius-xl) * -1); }
.hero-stats::after { left: calc(var(--radius-xl) * -1); bottom: 0; }
.hero-stats dt { font-size: var(--fs-xs); color: #4d5462; order: 2; max-width: 16ch; line-height: 1.35; }
.hero-stats div { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-stats dd { margin: 0; font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
@media (max-width: 900px) {
  .hero { padding-top: 240px; padding-bottom: var(--sp-5); flex-direction: column; align-items: stretch; justify-content: flex-end; min-height: 720px; }
  .hero::after { background: linear-gradient(0deg, rgba(7,9,18,0.96) 45%, rgba(7,9,18,0.2) 80%, rgba(7,9,18,0) 100%); }
  .hero-stats { position: static; margin: var(--sp-4) calc(var(--frame) * -1) 0; border-radius: 0; background: transparent; color: #eef0f6; padding: var(--sp-3) 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.12); grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .hero-stats::before, .hero-stats::after { display: none; }
  .hero-stats dt { color: #a8afc0; }
  .hero-stats .placeholder { color: #ffe066; background: rgba(255, 210, 0, 0.1); border-color: rgba(255, 210, 0, 0.4); }
  .hero-stats dd { font-size: 1.4rem; }
}

/* Inner page hero */
.page-hero {
  position: relative; padding-block: var(--sp-7) var(--sp-6);
  background: radial-gradient(70% 120% at 85% 0%, #142048 0%, #0a0d1d 50%, var(--night) 80%);
}
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: var(--spectrum-conic); filter: blur(120px); opacity: 0.28; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(60% 80% at 80% 20%, #000, transparent); }
.page-hero__inner { display: grid; gap: var(--sp-3); max-width: 820px; justify-items: start; }
.page-hero .lead { color: #b9c0d0; }
.breadcrumbs { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--dim); display: flex; gap: 0.5rem; }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); box-shadow: var(--shadow);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.card--flat { box-shadow: none; background: var(--surface-2); }
.card--link { cursor: pointer; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.card__icon svg { width: 22px; height: 22px; stroke: currentColor; }
.card__icon--spectrum { background: var(--text); color: var(--bg); border: 0; position: relative; }
.card__foot { margin-top: auto; padding-top: var(--sp-2); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.card p { color: var(--muted); font-size: var(--fs-sm); }
.card .stretched::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card--link:hover .icon-btn { background: var(--text); color: var(--bg); border-color: var(--text); }
.card__num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--dim); }
.tag { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.75rem; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); width: fit-content; background: var(--surface); }
.tag__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--spectrum-conic); }

/* Feature grid with hairline dividers */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid > * { padding: var(--sp-4); display: grid; gap: 0.8rem; align-content: start; border-left: 1px solid var(--line); border-top: 1px solid var(--line); margin: -1px 0 0 -1px; }
.feature-grid h3 { font-size: var(--fs-lg); }
.feature-grid p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 1024px) { .feature-grid, .feature-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feature-grid, .feature-grid--3 { grid-template-columns: 1fr; } }

/* Product visual */
.product-visual { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; position: relative; background: radial-gradient(100% 90% at 50% 110%, #1b2550, #0a0d1d 60%, var(--night)); margin-bottom: var(--sp-1); }
.product-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Orbit visual (concentric rings + floating pills) ---------- */
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; display: grid; place-items: center; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); }
.orbit__ring:nth-child(1) { inset: 0; }
.orbit__ring:nth-child(2) { inset: 13%; }
.orbit__ring:nth-child(3) { inset: 26%; border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--spectrum-conic) border-box; border-width: 2px; animation: spin-slow 40s linear infinite; }
.orbit__core {
  position: relative; width: 42%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #1b2550, var(--night) 70%); box-shadow: 0 30px 60px -20px rgba(7, 9, 18, 0.6), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.orbit__core svg { width: 62%; height: 62%; }
.orbit .float-chip { position: absolute; }
@media (max-width: 640px) {
  .orbit .float-chip { font-size: 0.75rem; padding: 0.3rem 0.65rem 0.3rem 0.3rem; }
  .orbit .float-chip__icon { width: 22px; height: 22px; }
  .orbit .float-chip:nth-of-type(1) { left: 30% !important; }
  .orbit .float-chip:nth-of-type(2) { left: 0 !important; }
  .orbit .float-chip:nth-of-type(3) { left: auto !important; right: 0; }
}
.orbit__dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 6px var(--bg); }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.stat { display: grid; gap: 0.35rem; padding-top: var(--sp-3); border-top: 1px solid var(--line-strong); }
.stat__value { font-family: var(--font-head); font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.stat__label { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Partner badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 0; }
.badge-circle {
  width: 168px; aspect-ratio: 1; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); margin-right: -14px;
  display: grid; place-items: center; text-align: center; padding: 1rem; font-size: var(--fs-xs); box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease-out), z-index 0s; position: relative;
}
.badge-circle:hover { transform: translateY(-6px); z-index: 2; }
.badge-circle .placeholder { white-space: normal; }
.badge-link { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; padding: 1rem; text-align: center; color: inherit; }
.badge-link:focus-visible { outline-offset: 4px; border-radius: 50%; }
.badge-circle:has(.badge-link):hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.badge-circle:has(.badge-link):hover strong { color: var(--accent); }
@media (max-width: 760px) { .badge-circle { width: 120px; margin-right: -10px; font-size: 0.72rem; line-height: 1.35; } .badge-link { padding: 0.55rem; } }

/* Steps */
.steps { counter-reset: step; display: grid; }
.step { counter-increment: step; display: grid; grid-template-columns: 72px 1fr; gap: var(--sp-3); padding: var(--sp-4) 0; border-top: 1px solid var(--line-strong); }
.step::before { content: "0" counter(step); font-family: var(--font-mono); color: var(--dim); font-size: var(--fs-sm); padding-top: 0.35rem; }
.step h3 { font-size: var(--fs-xl); margin-bottom: 0.5rem; }
.step p { color: var(--muted); max-width: 60ch; }

/* Legal pages (privacy, terms) */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 0.25rem; font-size: var(--fs-sm); }
.legal-toc p { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.5rem; }
.legal-toc a { color: var(--muted); padding: 0.3rem 0; display: block; line-height: 1.35; }
.legal-toc a:hover { color: var(--accent); }
.prose { max-width: 72ch; display: grid; gap: var(--sp-2); color: var(--muted); }
.prose h2 { font-size: var(--fs-xl); color: var(--text); margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: var(--fs-lg); color: var(--text); margin-top: var(--sp-2); }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.45rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .table-wrap { margin-block: var(--sp-1); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.prose td:first-child { color: var(--text); font-weight: 500; }
.prose tr:last-child td { border-bottom: 0; }
.legal-note { font-size: var(--fs-sm); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
@media (max-width: 1024px) { .legal { grid-template-columns: 1fr; gap: var(--sp-4); } .legal-toc { position: static; } }

/* Checklist */
.checklist { display: grid; gap: 0.7rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; color: var(--muted); font-size: var(--fs-sm); }
.checklist li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.app-row { padding-block: var(--sp-6); border-top: 1px solid var(--line-strong); }
.app-row:first-child { border-top: 0; padding-top: 0; }
.app-row .figure { aspect-ratio: 16 / 11; }

/* Specs */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--sp-4); margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: var(--sp-2); padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-family: var(--font-mono); text-align: right; }
@media (max-width: 640px) { .specs { grid-template-columns: 1fr; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 640px; }
.compare th, .compare td { padding: 1.05rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); font-weight: 500; }
.compare tbody th { font-weight: 500; color: var(--muted); }
.compare .is-us { color: var(--text); background: rgba(29, 99, 216, 0.05); font-weight: 500; }
.compare thead .is-us { color: var(--accent); }

/* ---------- Dark instrument demo panel ---------- */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-4); display: grid; gap: var(--sp-3); box-shadow: 0 40px 80px -30px rgba(7,9,18,0.55); }
.demo__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.demo__live { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.demo__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4cd07a; box-shadow: 0 0 0 4px rgba(76, 208, 122, 0.2); }
.demo__canvas { width: 100%; height: 260px; border-radius: var(--radius); background: #070912; border: 1px solid var(--line); }
.demo__controls { display: grid; gap: 0.6rem; }
.demo__readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); font-family: var(--font-mono); font-size: var(--fs-sm); }
.demo__readout > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 0.9rem; }
.demo__readout span { color: var(--dim); display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.demo__readout output { font-size: var(--fs-base); color: var(--text); }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 0.4rem; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; touch-action: manipulation; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: var(--range-track, var(--spectrum)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--range-track, var(--spectrum)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid #0f1220; box-shadow: 0 0 0 1px rgba(255,255,255,0.3), 0 4px 14px rgba(0,0,0,0.5); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid #0f1220; }
.range--mono { --range-track: linear-gradient(90deg, #2a2f3c, #eef0f6); }
.range-label { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 520px) { .demo { padding: var(--sp-3); } .demo__readout { grid-template-columns: 1fr 1fr; } }

/* ---------- Dark feature block (rounded) ---------- */
.dark-block { padding: var(--sp-7) 0; }
.dark-block::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; left: -240px; bottom: -380px; border-radius: 50%; background: var(--spectrum-conic); filter: blur(140px); opacity: 0.18; }

/* Figure */
.figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(100% 100% at 50% 100%, #172045, var(--night) 70%); aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.figure svg { width: 100%; height: 100%; }
.figure--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.figure__caption { position: absolute; left: 1rem; bottom: 1rem; font-family: var(--font-mono); font-size: var(--fs-xs); color: #c8cede; background: rgba(7,9,18,0.7); padding: 0.35rem 0.65rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); }

/* Team */
.person { display: grid; gap: 0.7rem; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #e6e8ee, #d6d9e2); display: grid; place-items: center; position: relative; }
.person__photo span { font-family: var(--font-head); font-size: 2.6rem; color: #8b92a3; }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__photo::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 3px; border-radius: 3px; background: var(--spectrum); opacity: 0.8; }
.person h3 { font-size: var(--fs-lg); }
.card .person-lead, .person-lead { font-family: var(--font-head); font-weight: 500; font-size: var(--fs-base); line-height: 1.4; color: var(--text); letter-spacing: -0.01em; }
.bio-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--dur-fast), text-decoration-color var(--dur-fast); }
.bio-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.person-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.person-chips .tag { font-size: 0.72rem; }
.person-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.person-linkedin { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast); }
.person-linkedin svg { width: 17px; height: 17px; }
.person-linkedin:hover { color: #fff; background: #0a66c2; border-color: #0a66c2; }
.person-links { display: flex; gap: 0.4rem; flex-shrink: 0; }
.person-web:hover { color: #fff; background: var(--text); border-color: var(--text); }
.person p { color: var(--muted); font-size: var(--fs-sm); }

/* Timeline */
.timeline { display: grid; }
.timeline__item { display: grid; grid-template-columns: 120px 1fr; gap: var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid var(--line-strong); }
.timeline__year { font-family: var(--font-mono); color: var(--accent); font-weight: 500; }
.timeline__item h3 { font-size: var(--fs-lg); margin-bottom: 0.3rem; }
.timeline__item p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 640px) { .timeline__item { grid-template-columns: 1fr; gap: 0.4rem; } }

/* Jobs */
.jobs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.job { display: grid; grid-template-columns: 1fr auto auto; gap: var(--sp-3); align-items: center; padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--line); position: relative; transition: background var(--dur-fast); }
.job:first-child { border-top: 0; }
.job:hover { background: var(--surface-2); }
.job h3 { font-size: var(--fs-lg); }
.job__meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
.job:hover .icon-btn { background: var(--text); color: var(--bg); border-color: var(--text); }
@media (max-width: 760px) { .job { grid-template-columns: 1fr auto; } .job__meta { grid-column: 1; } }

/* News */
.news-card { padding: 0; overflow: hidden; gap: 0; }
.news-card__media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--night); }
.news-card__media svg { width: 100%; height: 100%; transition: transform var(--dur-slow) var(--ease-out); }
.news-card:hover .news-card__media svg { transform: scale(1.05); }
.news-card__media--logo { background: #fff; display: grid; place-items: center; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.news-card__media--logo img { width: 78%; height: auto; transition: transform var(--dur-slow) var(--ease-out); }
.news-card:hover .news-card__media--logo img { transform: scale(1.04); }
.news-card__media--photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transform-origin: left center; transition: transform var(--dur-slow) var(--ease-out); }
.news-card:hover .news-card__media--photo img { transform: scale(1.04); }
.news-card__media--center img { object-position: center; transform-origin: center; }
.news-card__media--diagram { background: #fff; border-bottom: 1px solid var(--line); }
.news-card__media--diagram img { width: 100%; height: 100%; object-fit: contain; padding: 0.6rem; transition: transform var(--dur-slow) var(--ease-out); }
.news-card:hover .news-card__media--diagram img { transform: scale(1.04); }
.news-card__media--diagram.news-card__media--dark { background: #060606; border-bottom-color: transparent; }
.news-card__media--dark img { padding: 0; }
.news-card__body { padding: var(--sp-3); display: grid; gap: 0.7rem; }
.news-card__date { display: inline-flex; width: fit-content; font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); background: rgba(29, 99, 216, 0.08); padding: 0.25rem 0.6rem; border-radius: 999px; }
.news-card h3 { font-size: var(--fs-lg); line-height: 1.3; letter-spacing: -0.01em; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--sp-4); }
.chip { min-height: 44px; padding: 0 1.15rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); cursor: pointer; font-size: var(--fs-sm); transition: all var(--dur-fast); }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- CTA band (dark) ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); padding: var(--sp-6) var(--sp-5); display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--sp-4); align-items: end; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -200px; width: 560px; height: 560px; z-index: -1; border-radius: 50%; background: var(--spectrum-conic); filter: blur(110px); opacity: 0.3; }
.cta-band::after { content: ""; position: absolute; right: 40px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); z-index: -1; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 0 0 60px rgba(255,255,255,0.015), 0 0 0 61px rgba(255,255,255,0.08), 0 0 0 120px rgba(255,255,255,0.01), 0 0 0 121px rgba(255,255,255,0.06); }
.cta-band > div { display: grid; gap: var(--sp-3); justify-items: start; }
.cta-band .lead { color: #b9c0d0; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; padding: var(--sp-5) var(--sp-3); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--sp-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem; border-radius: 14px; background: var(--surface-2);
  border: 1px solid var(--line-strong); color: var(--text); font-size: 1rem; transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234d5462' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(29, 99, 216, 0.14); }
.field__hint { font-size: var(--fs-xs); color: var(--dim); }
.field__error { font-size: var(--fs-xs); color: var(--danger); display: none; align-items: center; gap: 0.35rem; font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field__error { display: flex; }
.checkbox { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--text); flex-shrink: 0; }
.form-status { padding: 1rem 1.2rem; border-radius: 14px; font-size: var(--fs-sm); display: none; }
.form-status.is-success { display: block; background: rgba(18, 128, 74, 0.08); border: 1px solid rgba(18, 128, 74, 0.35); color: #0d5c35; }
.form-status.is-error { display: block; background: rgba(200, 48, 47, 0.07); border: 1px solid rgba(200, 48, 47, 0.35); color: #8f1f1e; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-list { display: grid; gap: var(--sp-3); }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: var(--sp-2); }
.contact-item h3 { font-size: var(--fs-base); margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { color: var(--muted); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.contact-item > div { min-width: 0; }
.contact-item a:hover { color: var(--accent); }

/* ---------- Footer (dark rounded) ---------- */
.site-footer { margin: var(--sp-5) var(--frame) var(--frame); border-radius: var(--radius-xl); padding-top: var(--sp-6); padding-bottom: var(--sp-4); position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--spectrum); opacity: 0.8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-5); }
.footer-brand { display: grid; gap: var(--sp-3); align-content: start; max-width: 340px; justify-items: start; }
.footer-brand img { height: 64px; width: auto; }
.footer-brand p { color: var(--muted); font-size: var(--fs-sm); }
.footer-col h2 { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); margin-bottom: var(--sp-2); }
.footer-col ul { display: grid; gap: 0.15rem; }
.footer-col a { color: var(--muted); font-size: var(--fs-sm); display: inline-flex; min-height: 34px; align-items: center; }
.footer-col a:hover { color: var(--text); }
.footer-mega { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.05em; font-size: clamp(3.5rem, 14vw, 13rem); line-height: 0.85; margin-top: var(--sp-6); background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.footer-bottom { margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-2); color: var(--dim); font-size: var(--fs-xs); font-family: var(--font-mono); }
.footer-bottom a:hover { color: var(--text); }
.socials { display: flex; gap: 0.5rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); transition: all var(--dur-fast); }
.socials a:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.socials svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Above-the-fold: pure CSS entrance, never waits on the observer */
.js .hero .reveal, .js .page-hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 0.9s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.news-card__media--diagram.news-card__media--spie { background: linear-gradient(180deg, #fefefe 0%, #eef2f5 100%); }
.news-card__media--spie img { padding: 0; }
.news-card__media--cover img { padding: 1rem; filter: drop-shadow(0 8px 16px rgba(11, 13, 18, 0.15)); }
/* Contact form spam trap: hidden from people, visible to bots */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
