:root {
  --ink: #06111f;
  --ink-2: #10243d;
  --ink-3: #253a50;
  --muted: #3f5265;
  --paper: #f5f6f1;
  --paper-2: #e9ece5;
  --white: #fff;
  --blue: #2f65f5;
  --blue-dark: #1846c7;
  --blue-soft: #dbe6ff;
  --lime: #cbf45d;
  --cyan: #77e6ff;
  --line: rgba(6, 17, 31, .14);
  --line-light: rgba(255, 255, 255, .18);
  --shadow: 0 24px 70px rgba(6, 17, 31, .12);
  --shadow-soft: 0 14px 36px rgba(6, 17, 31, .08);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --container: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
main { overflow: clip; }
::selection { color: var(--ink); background: var(--lime); }

:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 4px;
}
.architecture-section :focus-visible,
.open-role :focus-visible,
.contact-page :focus-visible,
.context-section :focus-visible,
.cta-panel :focus-visible,
.dark-page-hero :focus-visible,
.finder-panel :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lime);
}

.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;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(245, 246, 241, .86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(245, 246, 241, .96);
  box-shadow: 0 8px 30px rgba(6, 17, 31, .05);
}
.nav-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f4f3ed;
  box-shadow: 0 8px 24px rgba(6,17,31,.06);
}
.brand-mark svg { width: 38px; height: 38px; }
.brand-copy strong { display: block; font-size: 16px; font-weight: 850; letter-spacing: -.025em; }
.brand-copy strong em { color: var(--blue-dark); font-style: normal; }
.brand-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}
.site-nav > a:hover, .site-nav > a[aria-current="page"] { color: var(--blue-dark); background: rgba(47,101,245,.09); }
.nav-search {
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}
.nav-search:hover { color: var(--blue-dark); border-color: rgba(47,101,245,.35); background: var(--white); transform: translateY(-1px); }
.nav-search svg { width: 17px; height: 17px; }
.nav-search kbd {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--paper);
  font: 750 10px/1.4 var(--sans);
}
.site-nav .nav-contact {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 8px;
  padding-inline: 20px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(47,101,245,.24);
}
.site-nav .nav-contact:hover { color: var(--white); background: var(--blue-dark); transform: translateY(-2px); }
.nav-contact svg { width: 17px; height: 17px; }
.menu-button {
  width: 46px;
  height: 46px;
  display: none;
  place-content: center;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}
.menu-button span:not(.sr-only) { width: 20px; height: 2px; display: block; border-radius: 2px; background: currentColor; transition: transform 180ms ease; }
.menu-button[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--lime));
  transform: scaleX(0);
  transform-origin: left center;
}

/* Type and controls */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 2px; content: ""; background: currentColor; }
.eyebrow.on-dark { color: var(--lime); }
.open-role .eyebrow,
.architecture-section .eyebrow,
.contact-page .eyebrow,
.context-section .eyebrow,
.cta-panel .eyebrow,
.dark-page-hero .eyebrow,
.finder-panel .eyebrow,
.site-footer .eyebrow { color: var(--lime); }
.section-title {
  max-width: 830px;
  margin: 17px 0 0;
  font-size: clamp(35px, 4.3vw, 58px);
  font-weight: 720;
  letter-spacing: -.047em;
  line-height: 1.03;
}
.section-lead, .page-lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.65;
}
.on-dark, .section-lead.on-dark, .page-lead.on-dark { color: rgba(255,255,255,.86); }
.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  align-items: end;
  gap: clamp(42px, 7vw, 100px);
  margin-bottom: 52px;
}
.split-heading > .section-lead { max-width: 500px; margin: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.button svg { width: 18px; height: 18px; transition: transform 220ms var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover svg { transform: translateX(4px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 14px 32px rgba(47,101,245,.24); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 18px 38px rgba(47,101,245,.3); }
.button-secondary { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.5); }
.button-secondary:hover { border-color: rgba(6,17,31,.3); background: var(--white); }
.button-lime { color: var(--ink); background: var(--lime); box-shadow: 0 14px 34px rgba(203,244,93,.14); }
.button-lime:hover { background: #dcff7c; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}
.text-link svg { width: 18px; height: 18px; transition: transform 220ms var(--ease); }
.text-link:hover svg { transform: translateX(5px); }
.text-link.on-dark { color: var(--lime); }
.section { padding: 108px 0; }
.section-end { display: flex; justify-content: flex-end; margin-top: 36px; }

/* Pointer surfaces */
[data-interactive] { --pointer-x: 50%; --pointer-y: 50%; position: relative; overflow: hidden; }
[data-interactive]::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), rgba(47,101,245,.13), transparent 58%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
[data-interactive]:hover::before { opacity: 1; }
[data-interactive] > * { position: relative; z-index: 1; }

/* Home hero */
.hero { position: relative; padding: 74px 0 86px; }
.hero::before {
  position: absolute;
  width: 760px;
  height: 760px;
  top: -390px;
  right: -290px;
  border: 1px solid rgba(47,101,245,.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(460px, .97fr);
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero h1, .page-hero h1, .service-hero h1, .article-hero h1, .contact-page h1, .not-found h1 {
  margin: 20px 0 0;
  font-size: clamp(52px, 5.8vw, 84px);
  font-weight: 730;
  letter-spacing: -.057em;
  line-height: .95;
}
.hero h1 { max-width: 760px; font-size: clamp(50px, 5vw, 74px); line-height: .98; }
.hero h1 em, .page-hero h1 em, .contact-page h1 em {
  font-family: var(--serif);
  font-weight: 450;
  letter-spacing: -.035em;
}
.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.65;
}
.hero-system {
  position: relative;
  min-height: 610px;
  border-radius: 50%;
  isolation: isolate;
}
.system-grid {
  position: absolute;
  inset: 5%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(rgba(47,101,245,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,101,245,.12) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(47,101,245,.13), transparent 61%),
    var(--paper-2);
  background-size: 24px 24px, 24px 24px, auto, auto;
  box-shadow: inset 0 0 0 28px rgba(255,255,255,.34), var(--shadow);
}
.system-lines { position: absolute; inset: 3%; width: 94%; height: 94%; color: rgba(6,17,31,.2); overflow: visible; }
.system-lines circle, .system-lines path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 5 7; }
.system-lines circle:first-child { animation: orbit 38s linear infinite; transform-origin: center; }
.system-lines circle:nth-child(2) { stroke: rgba(47,101,245,.28); animation: orbit 24s linear infinite reverse; transform-origin: center; }
.system-lines .signal-path { stroke: var(--blue); stroke-width: 2.3; stroke-dasharray: 8 12; animation: dash 5s linear infinite; }
@keyframes orbit { to { transform: rotate(1turn); } }
@keyframes dash { to { stroke-dashoffset: -80; } }
.system-core {
  position: absolute;
  inset: 34%;
  z-index: 4;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 0 0 14px rgba(255,255,255,.76), 0 24px 55px rgba(6,17,31,.24);
}
.system-core span { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.system-core strong { margin-top: 3px; font-size: 22px; letter-spacing: -.04em; }
.system-core small { margin-top: 7px; color: rgba(255,255,255,.84); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.system-node {
  position: absolute;
  z-index: 7;
  min-width: 118px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 220ms var(--ease);
}
.system-node span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(47,101,245,.1); }
.system-node:hover, .system-node.is-active { color: var(--blue-dark); border-color: rgba(47,101,245,.44); transform: translateY(-4px); }
.node-strategy { top: 9%; left: 14%; }
.node-data { top: 22%; right: -1%; }
.node-product { right: 4%; bottom: 17%; }
.node-operations { left: -2%; top: 44%; }
.system-console {
  position: absolute;
  z-index: 8;
  right: -10px;
  bottom: 24px;
  width: 240px;
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 24px 56px rgba(47,101,245,.3);
}
.system-console > span { display: block; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.system-console strong { display: block; margin-top: 9px; font-size: 19px; line-height: 1.25; }
.system-console p { margin: 8px 0 0; color: var(--white); font-size: 13px; line-height: 1.5; }
.system-console div { display: flex; gap: 5px; margin-top: 18px; }
.system-console i { height: 4px; flex: 1; border-radius: 99px; background: rgba(255,255,255,.26); }
.system-console i:first-child, .system-console i:nth-child(2) { background: var(--lime); }
/* Service surfaces */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255,255,255,.48);
  text-decoration: none;
  transition: transform 260ms var(--ease), box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}
.service-card:hover { border-color: rgba(47,101,245,.35); background: var(--white); box-shadow: var(--shadow-soft); transform: translateY(-6px); }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.service-category {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(47,101,245,.2);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(47,101,245,.07);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--blue-dark); background: var(--paper); }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { margin: 40px 0 0; font-size: 25px; letter-spacing: -.037em; line-height: 1.14; }
.service-card p { margin: 14px 0 26px; color: var(--muted); font-size: 16px; line-height: 1.67; }
.card-action { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: var(--blue-dark); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.card-action svg { width: 18px; height: 18px; transition: transform 220ms var(--ease); }
.service-card:hover .card-action svg { transform: translateX(5px); }
.architecture-section { color: var(--white); background: var(--ink); }
.architecture-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(58px, 9vw, 132px); }
.architecture-copy { position: sticky; top: 124px; }
.architecture-copy .button { margin-top: 32px; }
.architecture-stack { display: grid; gap: 12px; perspective: 1000px; }
.architecture-stack article {
  min-height: 114px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 26px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  transition: transform 260ms var(--ease), background 260ms ease, border-color 260ms ease;
}
.architecture-stack article:hover { border-color: rgba(203,244,93,.45); background: rgba(255,255,255,.1); transform: translateX(-8px); }
.architecture-stack article > span { color: var(--lime); font-family: var(--serif); font-size: 20px; font-style: italic; }
.architecture-stack h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.architecture-stack p { margin: 5px 0 0; color: rgba(255,255,255,.82); font-size: 15px; }
.architecture-stack i { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 7px rgba(119,230,255,.1); }
.process-section { background: var(--paper-2); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 132px); align-items: start; }
.process-intro { position: sticky; top: 124px; }
.process-list { border-top: 1px solid var(--line); }
.process-list article { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.process-list article > span { color: var(--blue-dark); font-family: var(--serif); font-size: 26px; font-style: italic; }
.process-list h3 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
.process-list p { max-width: 650px; margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* Industries and insights */
.industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.industry-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.46);
  transition: transform 260ms var(--ease), box-shadow 260ms ease, background 260ms ease;
}
.industry-card:hover { background: var(--white); box-shadow: var(--shadow-soft); transform: translateY(-5px); }
.industry-card > span { color: var(--blue-dark); font-family: var(--serif); font-style: italic; }
.industry-card h3, .industry-card h2 { max-width: 480px; margin: 50px 0 0; font-size: clamp(29px, 2.9vw, 39px); letter-spacing: -.045em; line-height: 1.06; }
.industry-card p { max-width: 530px; margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.68; }
.industry-card div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.industry-card small { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); font-size: 12px; font-weight: 750; }
.industry-card-large { min-height: 350px; }
.insights-preview { background: var(--white); }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.insight-card {
  min-height: 355px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: transform 260ms var(--ease), box-shadow 260ms ease, border-color 260ms ease;
}
.insight-card:hover { border-color: rgba(47,101,245,.38); box-shadow: var(--shadow-soft); transform: translateY(-5px); }
.insight-card > span { color: var(--blue-dark); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.insight-card h3 { margin: 54px 0 0; font-size: 26px; letter-spacing: -.038em; line-height: 1.15; }
.insight-card p { margin: 15px 0 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.insight-card > i { width: 44px; height: 44px; display: grid; place-items: center; margin-top: auto; border-radius: 50%; color: var(--white); background: var(--blue); transition: transform 220ms var(--ease); }
.insight-card > i svg { width: 19px; height: 19px; }
.insight-card:hover > i { transform: translateX(5px); }

/* FAQ and CTA */
.faq-section { background: var(--paper-2); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span:first-child { font-size: clamp(20px, 2.2vw, 28px); font-weight: 730; letter-spacing: -.025em; }
.faq-list summary span:last-child { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue-dark); font-size: 23px; transition: transform 220ms var(--ease); }
.faq-list details[open] summary span:last-child { transform: rotate(45deg); }
.faq-list details > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease); }
.faq-list details[open] > div { grid-template-rows: 1fr; }
.faq-list details > div p { max-width: 780px; min-height: 0; margin: 0; overflow: hidden; color: var(--muted); font-size: 17px; line-height: 1.72; }
.faq-list details[open] > div p { padding: 0 0 30px; }
.cta-section { padding: 28px 0; background: var(--paper); }
.cta-panel {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 60px;
  padding: clamp(38px, 6vw, 76px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(47,101,245,.42), transparent 32%),
    linear-gradient(135deg, #071321, #102b4a);
  background-color: #071321;
}
.cta-panel::before { background: radial-gradient(500px circle at var(--pointer-x) var(--pointer-y), rgba(119,230,255,.13), transparent 56%); }
.cta-panel h2 { max-width: 760px; margin: 18px 0 0; font-size: clamp(38px, 5vw, 66px); letter-spacing: -.052em; line-height: 1; }
.cta-panel p:not(.eyebrow) { max-width: 650px; margin: 20px 0 0; color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.65; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* Subpages */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 46px; color: var(--muted); font-size: 13px; font-weight: 750; }
.breadcrumbs a { color: var(--blue-dark); text-decoration: none; }
.dark-page-hero .breadcrumbs { color: rgba(255,255,255,.76); }
.dark-page-hero .breadcrumbs a { color: var(--lime); }
.page-hero { position: relative; padding: 68px 0 92px; border-bottom: 1px solid var(--line); }
.page-hero::after {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 20px;
  right: -150px;
  border: 1px solid rgba(47,101,245,.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.page-hero h1 { max-width: 1100px; font-size: clamp(48px, 5.5vw, 74px); }
.page-hero .page-lead { max-width: 790px; }
.dark-page-hero { color: var(--white); background: var(--ink); border-color: var(--line-light); }
.dark-page-hero::after { border-color: rgba(119,230,255,.18); }
.engagement-section { background: var(--paper-2); }
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.engagement-grid article { min-height: 290px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.48); }
.engagement-grid article > span { color: var(--blue-dark); font-family: var(--serif); font-style: italic; }
.engagement-grid h3 { margin: 54px 0 0; font-size: 26px; letter-spacing: -.038em; }
.engagement-grid p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.service-hero { position: relative; padding: 64px 0 92px; border-bottom: 1px solid var(--line); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: center; gap: clamp(56px, 9vw, 126px); }
.service-hero h1 { max-width: 850px; font-size: clamp(47px, 5.4vw, 72px); }
.service-blueprint {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(47,101,245,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,101,245,.12) 1px, transparent 1px),
    var(--paper-2);
  background-size: 22px 22px;
  box-shadow: var(--shadow);
}
.service-blueprint::before { background: radial-gradient(360px circle at var(--pointer-x) var(--pointer-y), rgba(47,101,245,.22), transparent 57%); }
.blueprint-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: auto; border-radius: 18px; color: var(--white); background: var(--blue); box-shadow: 0 16px 34px rgba(47,101,245,.25); }
.blueprint-icon svg { width: 30px; height: 30px; }
.service-blueprint small { color: var(--blue-dark); font-size: 12px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.service-blueprint strong { margin-top: 5px; font-size: 28px; letter-spacing: -.04em; }
.service-blueprint div { display: flex; gap: 5px; margin-top: 20px; }
.service-blueprint i { height: 5px; flex: 1; border-radius: 99px; background: rgba(6,17,31,.14); }
.service-blueprint i:first-child, .service-blueprint i:nth-child(2) { background: var(--blue); }
.overview-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(58px, 9vw, 128px); align-items: start; }
.overview-copy { margin: 0; color: var(--muted); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.55; }
.overview-copy p { margin: 0 0 20px; }
.overview-copy.on-dark { color: rgba(255,255,255,.8); }
.detail-section { padding-top: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.detail-grid article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.5); }
.detail-grid h2 { margin: 22px 0 0; font-size: 28px; letter-spacing: -.04em; line-height: 1.12; }
.detail-grid ul { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.detail-grid li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.detail-grid li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-dark); }
.related-section { background: var(--paper-2); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.context-section { color: var(--white); background: var(--blue-dark); }
.context-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.context-list article { min-height: 220px; padding: 28px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.context-list article span { color: var(--lime); font-family: var(--serif); font-style: italic; }
.context-list h3 { margin: 42px 0 0; font-size: 24px; }
.context-list p { margin: 10px 0 0; color: rgba(255,255,255,.84); }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle-grid article { min-height: 300px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.45); }
.principle-grid article > span { color: var(--blue-dark); font-family: var(--serif); font-style: italic; }
.principle-grid h2 { margin: 56px 0 0; font-size: clamp(28px, 3vw, 39px); letter-spacing: -.045em; line-height: 1.08; }
.principle-grid p { max-width: 560px; margin: 15px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* Articles */
.article-hero { padding: 64px 0 88px; border-bottom: 1px solid var(--line); }
.article-heading { max-width: 1060px; }
.article-hero h1 { max-width: 1000px; font-size: clamp(46px, 5.5vw, 72px); }
.article-layout { display: grid; grid-template-columns: 270px minmax(0, 760px); justify-content: space-between; gap: 70px; padding-top: 80px; padding-bottom: 110px; }
.article-layout aside { position: sticky; top: 120px; align-self: start; display: grid; gap: 13px; }
.article-layout aside strong { margin-bottom: 7px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.article-layout aside a, .article-layout aside span { color: var(--muted); font-size: 13px; line-height: 1.45; text-decoration: none; }
.article-layout aside a:hover { color: var(--blue-dark); }
.article-body section { padding: 0 0 56px; scroll-margin-top: 110px; }
.article-body section > span { color: var(--blue-dark); font-family: var(--serif); font-size: 19px; font-style: italic; }
.article-body h2 { margin: 14px 0 0; font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.045em; line-height: 1.08; }
.article-body p, .article-body li { color: var(--muted); font-size: 18px; line-height: 1.78; }
.article-body p { margin: 20px 0 0; }
.article-body ul { padding-left: 22px; }
.article-callout { margin-top: 12px; padding: 30px; border-left: 4px solid var(--lime); border-radius: 0 var(--radius) var(--radius) 0; color: var(--white); background: var(--ink); }
.article-callout strong { color: var(--lime); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.article-callout p { margin: 10px 0 0; color: var(--white); font-size: 21px; line-height: 1.5; }
.legal-hero { background: var(--paper-2); }
.legal-layout { padding-top: 70px; }

/* Contact */
.contact-page { min-height: calc(100vh - 80px); padding: 64px 0 100px; color: var(--white); background: var(--ink); }
.contact-page .breadcrumbs { color: rgba(255,255,255,.76); }
.contact-page .breadcrumbs a { color: var(--lime); }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(58px, 9vw, 128px); align-items: start; }
.contact-intro { position: sticky; top: 120px; }
.contact-page h1 { font-size: clamp(46px, 5.5vw, 74px); }
.application-section { scroll-margin-top: 80px; }
.application-section h2 { margin: 20px 0 0; font-size: clamp(42px, 5.2vw, 68px); font-weight: 730; letter-spacing: -.055em; line-height: .98; }
.application-section h2 em { font-family: var(--serif); font-weight: 450; letter-spacing: -.035em; }
.contact-direct { margin-top: 42px; }
.contact-direct small { display: block; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-direct a { display: inline-block; margin-top: 7px; color: var(--lime); font-size: 18px; font-weight: 800; text-underline-offset: 5px; }
.contact-direct p { max-width: 460px; margin: 14px 0 0; color: rgba(255,255,255,.8); line-height: 1.65; }
.response-path { display: grid; gap: 10px; margin-top: 38px; }
.response-path span { color: rgba(255,255,255,.76); font-family: var(--serif); font-style: italic; }
.response-path b { margin-left: 8px; color: var(--white); font-family: var(--sans); font-style: normal; font-size: 14px; }
.contact-form { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: rgba(255,255,255,.07); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { color: rgba(255,255,255,.92); font-size: 14px; font-weight: 780; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 14px;
  color: var(--white);
  background: rgba(6,17,31,.34);
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.field input, .field select { min-height: 54px; padding: 0 15px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(135deg, var(--lime) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 15px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); background: var(--white); }
.field textarea { min-height: 180px; padding: 15px; resize: vertical; }
.field textarea::placeholder { color: rgba(255,255,255,.74); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); background: rgba(6,17,31,.5); box-shadow: 0 0 0 4px rgba(203,244,93,.11); }
.field small { min-height: 0; color: #ffb8b8; font-size: 12px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff9f9f; }
.honeypot { position: absolute; left: -9999px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.55; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lime); }
.consent a { color: var(--lime); }
.consent-error { display: block; min-height: 0; margin: -10px 0 4px 30px; color: #ffb8b8; font-size: 12px; }
.human-check {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  background: rgba(6,17,31,.3);
}
.human-check-copy { display: grid; gap: 4px; }
.human-check strong { color: var(--white); font-size: 14px; }
.human-check p { margin: 0; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.5; }
.human-check small, .human-check noscript { color: #ffb8b8; font-size: 12px; line-height: 1.5; }
.human-check.has-error { border-color: #ff9f9f; background: rgba(255,159,159,.07); }
.turnstile-container { min-height: 65px; overflow: hidden; border-radius: 8px; }
.turnstile-container iframe { max-width: 100%; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.form-actions p { max-width: 210px; margin: 0; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.5; }
.form-status { display: none; margin: 0 0 20px; padding: 15px 17px; border: 1px solid rgba(119,230,255,.4); border-radius: 12px; color: var(--white); background: rgba(119,230,255,.09); font-size: 14px; line-height: 1.55; }
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: rgba(255,159,159,.5); background: rgba(255,159,159,.09); }
.contact-form.is-submitting { opacity: .76; pointer-events: none; }

/* Careers and 404 */
.open-role { margin-top: 70px; padding: clamp(32px, 5vw, 58px); border-radius: var(--radius-lg); color: var(--white); background: var(--ink); }
.open-role h2 { margin: 18px 0 0; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.047em; line-height: 1.05; }
.open-role p:not(.eyebrow) { max-width: 750px; color: rgba(255,255,255,.84); font-size: 17px; line-height: 1.7; }
.notice { max-width: 720px; margin-top: 32px; padding: 20px; border-left: 4px solid var(--lime); border-radius: 0 14px 14px 0; background: rgba(203,244,93,.11); }
.notice p { margin: 6px 0 0; color: var(--muted); }
.not-found { min-height: 72vh; display: grid; align-items: center; padding: 90px 0; }
.not-found h1 { max-width: 900px; }

/* Footer, planner, and search */
.site-footer { padding: 100px 0 30px; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; padding: 0 0 58px; }
.footer-brand .brand-mark { color: var(--ink); }
.footer-brand p { max-width: 310px; color: rgba(255,255,255,.8); line-height: 1.65; }
.footer-brand address { margin-top: 14px; color: rgba(255,255,255,.68); font-style: normal; line-height: 1.55; }
.footer-grid nav { display: grid; align-content: start; gap: 12px; }
.footer-grid nav strong { margin-bottom: 5px; color: var(--white); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid nav a { width: fit-content; color: rgba(255,255,255,.82); font-size: 14px; text-decoration: none; }
.footer-grid nav a:hover { color: var(--lime); }
.footer-base { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.74); font-size: 13px; }
.finder-dialog {
  width: min(100% - 32px, 760px);
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: transparent;
  box-shadow: 0 36px 110px rgba(0,0,0,.42);
}
.finder-dialog::backdrop { background: rgba(6,17,31,.78); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.finder-panel {
  max-height: calc(100vh - 40px);
  padding: clamp(28px, 5vw, 46px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--white);
  background: var(--ink);
}
.finder-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.finder-step { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.icon-button { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; color: var(--white); background: transparent; font-size: 23px; cursor: pointer; }
.finder-panel h2 { margin: 32px 0 0; font-size: clamp(32px, 5vw, 47px); letter-spacing: -.048em; line-height: 1.05; }
.finder-panel p:not(.eyebrow) { margin: 14px 0 0; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.62; }
.finder-options { display: grid; gap: 10px; margin-top: 30px; }
.finder-options button {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border: 1px solid var(--line-light);
  border-radius: 15px;
  color: var(--white);
  background: rgba(255,255,255,.05);
  font-size: 15px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}
.finder-options button:hover { border-color: var(--lime); background: rgba(203,244,93,.09); transform: translateX(4px); }
.finder-options button > span:last-child { color: var(--lime); font-size: 20px; line-height: 1; }
.finder-progress {
  height: 4px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
}
.finder-progress span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
  transition: width 260ms var(--ease);
}
.finder-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 0 10px;
  border: 0;
  color: rgba(255,255,255,.86);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.finder-back:hover { color: var(--lime); }
.planner-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.planner-result article {
  min-height: 224px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}
.planner-result small {
  color: var(--lime);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.planner-result strong { display: block; margin-top: 12px; font-size: 20px; line-height: 1.25; }
.planner-result p { font-size: 14px !important; line-height: 1.55 !important; }
.planner-result a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--lime);
  font-size: 13px;
  font-weight: 850;
  text-underline-offset: 4px;
}
.finder-result-actions { margin-top: 28px; }
.finder-panel .button-secondary {
  border-color: rgba(255,255,255,.34);
  color: var(--white);
  background: rgba(255,255,255,.09);
}
.finder-panel .button-secondary:hover {
  border-color: rgba(255,255,255,.62);
  color: var(--white);
  background: rgba(255,255,255,.15);
}
.finder-restart {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255,255,255,.07);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}
.finder-restart span { color: var(--lime); font-size: 18px; line-height: 1; }
.finder-restart:hover { border-color: var(--lime); background: rgba(203,244,93,.1); transform: translateY(-1px); }
.planner-status { min-height: 22px; margin-top: 14px !important; color: var(--cyan) !important; font-size: 13px !important; }

.search-dialog {
  width: min(100% - 32px, 760px);
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  color: var(--ink);
  background: transparent;
  box-shadow: 0 36px 110px rgba(0,0,0,.38);
}
.search-dialog::backdrop { background: rgba(6,17,31,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.search-panel {
  max-height: calc(100vh - 40px);
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: inherit;
  background: var(--paper);
}
.search-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 26px 18px;
}
.search-head h2 { margin: 9px 0 0; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.045em; line-height: 1.05; }
.search-panel .icon-button { color: var(--ink); border-color: var(--line); background: var(--white); }
.search-panel .icon-button:hover { color: var(--blue-dark); border-color: rgba(47,101,245,.4); }
.search-form {
  min-height: 64px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0 26px;
  padding: 0 17px;
  border: 2px solid rgba(47,101,245,.38);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(6,17,31,.07);
}
.search-form > span { color: var(--blue-dark); }
.search-form svg { width: 22px; height: 22px; }
.search-form input {
  min-width: 0;
  min-height: 56px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: 0;
  font-size: 17px;
}
.search-form input::placeholder { color: #596a79; }
.search-form kbd, .search-foot kbd {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--paper-2);
  font: 800 11px/1.4 var(--sans);
}
.search-status { margin: 17px 28px 8px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.search-results {
  min-height: 210px;
  max-height: min(52vh, 480px);
  display: grid;
  align-content: start;
  gap: 5px;
  overflow-y: auto;
  padding: 0 18px 18px;
  overscroll-behavior: contain;
}
.search-result {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--ink);
  text-decoration: none;
}
.search-result:hover, .search-result[aria-selected="true"] {
  border-color: rgba(47,101,245,.24);
  background: var(--blue-soft);
}
.search-result-copy { min-width: 0; }
.search-result-category { display: block; color: var(--blue-dark); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.search-result strong { display: block; margin-top: 4px; overflow: hidden; font-size: 16px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.search-result p { margin: 4px 0 0; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.search-result-arrow { color: var(--blue-dark); font-size: 22px; text-align: center; }
.search-empty { padding: 36px 18px; text-align: center; }
.search-empty strong { font-size: 18px; }
.search-empty p { margin: 8px 0 0; color: var(--muted); }
.search-foot {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper-2);
  font-size: 11px;
}
.search-foot span:last-child { margin-left: auto; }

/* Website assistant */
.assistant-panel :focus-visible { outline-color: var(--lime); }
.assistant-shell {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 180;
}
.assistant-launcher {
  min-width: 164px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px 0 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 44px rgba(6,17,31,.24), 0 10px 25px rgba(47,101,245,.28);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 220ms var(--ease), opacity 180ms ease;
}
.assistant-launcher:hover { background: var(--blue-dark); box-shadow: 0 22px 52px rgba(6,17,31,.28), 0 12px 30px rgba(47,101,245,.3); transform: translateY(-3px); }
.assistant-launcher:active { transform: translateY(0) scale(.98); }
.assistant-launcher-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
}
.assistant-launcher-icon svg { width: 20px; height: 20px; }
.assistant-launcher > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(203,244,93,.16);
}
.assistant-shell.is-open .assistant-launcher { opacity: 0; pointer-events: none; transform: translateY(8px); }
.assistant-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(410px, calc(100vw - 32px));
  height: min(650px, calc(100vh - 112px));
  min-height: 520px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  overflow: hidden;
  border: 1px solid rgba(6,17,31,.18);
  border-radius: 28px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 36px 100px rgba(6,17,31,.3);
  animation: assistant-enter 260ms var(--ease);
}
.assistant-panel[hidden] { display: none; }
@keyframes assistant-enter {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.assistant-head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px 14px 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 0, rgba(119,230,255,.18), transparent 42%),
    var(--ink);
}
.assistant-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.assistant-identity > span:last-child { min-width: 0; }
.assistant-symbol, .assistant-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: linear-gradient(145deg, var(--lime), var(--cyan));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.assistant-symbol { width: 44px; height: 44px; box-shadow: 0 9px 24px rgba(0,0,0,.2); }
.assistant-identity strong { display: block; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.assistant-identity small { display: flex; align-items: center; gap: 7px; margin-top: 3px; color: rgba(255,255,255,.82); font-size: 12px; }
.assistant-identity small i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(203,244,93,.12); }
.assistant-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.08);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}
.assistant-close:hover { border-color: var(--lime); background: rgba(203,244,93,.1); transform: rotate(4deg); }
.assistant-messages {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding: 22px 18px 14px;
  overscroll-behavior: contain;
  scrollbar-color: rgba(6,17,31,.24) transparent;
}
.assistant-message { display: flex; align-items: flex-start; gap: 9px; animation: assistant-message-in 220ms var(--ease); }
@keyframes assistant-message-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.assistant-message-user { justify-content: flex-end; }
.assistant-avatar { width: 30px; height: 30px; border-radius: 9px; font-size: 9px; }
.assistant-bubble {
  max-width: calc(100% - 42px);
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 17px 17px 17px 5px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(6,17,31,.05);
}
.assistant-message-user .assistant-bubble {
  border-color: transparent;
  border-radius: 17px 17px 5px 17px;
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(24,70,199,.18);
}
.assistant-bubble strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 13px; }
.assistant-bubble p { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.assistant-message-user .assistant-bubble p { color: var(--white); }
.assistant-bubble a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
  text-underline-offset: 4px;
}
.assistant-command {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 0;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.assistant-thinking .assistant-bubble { display: flex; align-items: center; gap: 5px; min-width: 58px; min-height: 44px; }
.assistant-thinking .assistant-bubble i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: assistant-thinking 900ms ease-in-out infinite alternate;
}
.assistant-thinking .assistant-bubble i:nth-child(2) { animation-delay: 140ms; }
.assistant-thinking .assistant-bubble i:nth-child(3) { animation-delay: 280ms; }
@keyframes assistant-thinking { to { opacity: .32; transform: translateY(-3px); } }
.assistant-prompts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 10px 18px 12px;
  border-top: 1px solid var(--line);
}
.assistant-prompts button {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(47,101,245,.2);
  border-radius: 12px;
  color: var(--blue-dark);
  background: rgba(47,101,245,.07);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms var(--ease);
}
.assistant-prompts button:hover { border-color: rgba(47,101,245,.5); background: var(--blue-soft); transform: translateY(-1px); }
.assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  padding: 0 18px 8px;
}
.assistant-form input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(6,17,31,.24);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.assistant-form input::placeholder { color: #596a79; }
.assistant-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,101,245,.12); }
.assistant-form button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms var(--ease);
}
.assistant-form button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.assistant-form button svg { width: 20px; height: 20px; }
.assistant-note { margin: 0; padding: 0 18px 13px; color: var(--muted); font-size: 12px; line-height: 1.4; text-align: center; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-shell { gap: 14px; }
  .brand { gap: 9px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { display: none; }
  .site-nav { gap: 2px; }
  .site-nav > a { padding: 9px 8px; font-size: 14px; }
  .nav-search span, .nav-search kbd { display: none; }
  .nav-search { width: 44px; flex-basis: 44px; justify-content: center; padding: 0; }
  .site-nav .nav-contact { min-height: 46px; margin-left: 4px; padding-inline: 14px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 850px; }
  .hero-system { width: min(100%, 650px); min-height: 620px; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .insight-card:last-child { grid-column: 1 / -1; min-height: 300px; }
  .detail-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid .service-card:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 900px) {
  .nav-shell { min-height: 70px; }
  .menu-button { display: grid; }
  .site-nav {
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    display: grid;
    padding: 14px 24px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms var(--ease), visibility 180ms ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .site-nav > a { padding: 13px; border-radius: 12px; font-size: 16px; }
  .nav-search {
    width: 100%;
    flex-basis: auto;
    min-height: 48px;
    justify-content: flex-start;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 16px;
  }
  .nav-search span { display: inline; }
  .nav-search kbd { display: none; }
  .site-nav .nav-contact { margin: 8px 0 0; justify-content: center; }
  .section { padding: 84px 0; }
  .split-heading, .architecture-grid, .process-grid, .overview-grid, .service-hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .split-heading > .section-lead { margin-top: -20px; }
  .architecture-copy, .process-intro, .contact-intro { position: static; }
  .service-blueprint { min-height: 310px; }
  .engagement-grid { grid-template-columns: 1fr; }
  .engagement-grid article { min-height: 240px; }
  .cta-panel { grid-template-columns: 1fr; min-height: 500px; }
  .cta-actions { margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 45px; }
  .article-layout aside { position: static; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
}

@media (max-width: 680px) {
  body.assistant-open { overflow: hidden; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
  .brand-mark svg { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { display: none; }
  .hero { padding: 55px 0 62px; }
  .hero h1, .page-hero h1, .service-hero h1, .article-hero h1, .contact-page h1, .not-found h1 { font-size: clamp(40px, 11vw, 52px); line-height: .99; }
  .hero-lead, .page-lead { font-size: 18px; line-height: 1.65; }
  .hero-copy .button-row { display: grid; grid-template-columns: 1fr; }
  .hero-copy .button { width: 100%; }
  .hero-system { width: 100%; min-height: 430px; margin-top: 22px; }
  .system-grid { inset: 6%; box-shadow: inset 0 0 0 15px rgba(255,255,255,.34), var(--shadow); }
  .system-lines { inset: 4%; width: 92%; height: 92%; }
  .system-core { inset: 34%; box-shadow: 0 0 0 8px rgba(255,255,255,.76), 0 18px 38px rgba(6,17,31,.22); }
  .system-core span { font-size: 10px; }
  .system-core strong { font-size: 16px; }
  .system-core small { font-size: 10px; }
  .system-node { min-width: auto; min-height: 44px; padding: 0 11px; border-radius: 12px; font-size: 12px; }
  .node-strategy { top: 8%; left: 10%; }
  .node-data { top: 23%; right: -1%; }
  .node-product { right: 0; bottom: 17%; }
  .node-operations { left: -1%; top: 44%; }
  .system-console { right: 0; bottom: 8px; width: 180px; min-height: 125px; padding: 15px; border-radius: 16px; }
  .system-console > span { font-size: 11px; }
  .system-console strong { font-size: 14px; }
  .system-console p { display: none; }
  .services-grid, .industry-grid, .insight-grid, .related-grid, .principle-grid { grid-template-columns: 1fr; }
  .insight-card:last-child, .related-grid .service-card:last-child { grid-column: auto; }
  .service-card { min-height: 300px; padding: 24px; }
  .service-card h3 { margin-top: 34px; }
  .architecture-stack article { grid-template-columns: 42px 1fr; }
  .architecture-stack article i { display: none; }
  .process-list article { grid-template-columns: 48px 1fr; gap: 16px; }
  .industry-card { min-height: 285px; padding: 25px; }
  .industry-card h3, .industry-card h2 { margin-top: 42px; font-size: 30px; }
  .insight-card { min-height: 320px; padding: 25px; }
  .faq-list summary { min-height: 82px; }
  .faq-list summary span:first-child { font-size: 19px; }
  .cta-panel { min-height: 520px; padding: 28px 24px; border-radius: var(--radius); }
  .cta-panel h2 { font-size: 40px; }
  .page-hero, .service-hero, .article-hero { padding: 50px 0 62px; }
  .breadcrumbs { margin-bottom: 34px; }
  .service-blueprint { min-height: 280px; padding: 26px; border-radius: var(--radius); }
  .context-list { grid-template-columns: 1fr; }
  .article-layout { padding-top: 52px; padding-bottom: 76px; }
  .article-body p, .article-body li { font-size: 17px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; border-radius: var(--radius); }
  .form-actions { display: grid; }
  .form-actions .button { width: 100%; }
  .form-actions p { max-width: none; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { display: grid; }
  .finder-dialog { width: min(100% - 20px, 640px); }
  .finder-panel { padding: 26px 20px; }
  .planner-result { grid-template-columns: 1fr; }
  .planner-result article { min-height: 200px; }
  .finder-result-actions { display: grid; }
  .finder-result-actions .button { width: 100%; }
  .search-dialog { width: min(100% - 16px, 760px); }
  .search-head { padding: 22px 18px 15px; }
  .search-form { margin-inline: 18px; }
  .search-status { margin-inline: 20px; }
  .search-results { padding-inline: 10px; }
  .search-foot { padding-inline: 18px; }
  .search-foot span:not(:last-child) { display: none; }
  .search-foot span:last-child { margin-left: 0; }
  .contact-page { padding: 50px 0 76px; }
  .site-footer { padding: 72px 0 26px; }
  .footer-grid { gap: 36px; padding-bottom: 42px; }
  .assistant-shell { right: 14px; bottom: 14px; }
  .assistant-launcher { min-width: 56px; width: 56px; height: 56px; padding: 0; }
  .assistant-launcher > span:nth-child(2), .assistant-launcher > i { display: none; }
  .assistant-launcher-icon { width: 42px; height: 42px; }
  .assistant-panel {
    position: fixed;
    inset: 8px;
    width: auto;
    height: auto;
    min-height: 0;
    border-radius: 22px;
  }
  .assistant-head { min-height: 72px; padding: 12px 13px 12px 15px; }
  .assistant-messages { padding: 18px 14px 12px; }
  .assistant-prompts { padding-inline: 14px; }
  .assistant-form { padding-inline: 14px; }
  .assistant-note { padding: 0 14px max(13px, env(safe-area-inset-bottom)); }
}

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

@media (forced-colors: active) {
  .button, .service-card, .industry-card, .insight-card, .contact-form, .principle-grid article, .detail-grid article, .assistant-panel, .assistant-bubble, .assistant-form input, .search-panel, .search-result, .planner-result article { border: 1px solid CanvasText; }
  .system-grid { background: Canvas; }
  .assistant-symbol, .assistant-avatar, .assistant-launcher-icon { border: 1px solid CanvasText; }
}
