:root {
  --paper: #0d0915;
  --surface: #1b102c;
  --soft: #2a1843;
  --line: rgb(255 255 255 / 16%);
  --line-strong: rgb(255 255 255 / 26%);
  --blue: #7a45ff;
  --blue-dark: #5227ff;
  --blue-soft: #261746;
  --green: #96f7d2;
  --signal: #ff9ffc;
  --danger: #ffb4c8;
  --ink: #f8f3ff;
  --ink-strong: #ffffff;
  --muted: #c8bdd8;
  --shadow: 0 24px 64px rgb(4 2 10 / 34%);
  --formal-purple: #7a45ff;
  --formal-violet: #5227ff;
  --formal-rose: #ff9ffc;
  --formal-lilac: #b497cf;
  --formal-night: #0d0915;
  --formal-panel: rgb(26 15 43 / 88%);
  --formal-light: #f8f5ff;
  --glass-cobalt: var(--formal-purple);
  --glass-cyan: var(--formal-rose);
  --glass-ice: var(--formal-night);
  --glass-alpha: 0.15;
  --glass-line: rgb(255 255 255 / 20%);
  --glass-ink: var(--ink);
  --glass-muted: var(--muted);
  --glass-shadow: var(--shadow);
}

html {
  background: var(--formal-night);
}

body {
  background: var(--formal-night);
  color: var(--ink);
}

#main-content,
.site-footer {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  z-index: -10;
  inset: 0;
  background: #0d0915;
}

h1,
h2,
h3 {
  color: var(--ink-strong);
}

:focus-visible {
  outline-color: var(--formal-rose);
}

.skip-link {
  background: var(--formal-light);
  color: #2a1146;
}

.site-header,
.site-header.liquid-glass {
  position: fixed;
  z-index: 80;
  top: 14px;
  left: 50%;
  width: min(1200px, calc(100% - 40px));
  min-height: 58px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
  transform: translateX(-50%);
  transition:
    border-color 560ms ease,
    border-radius 760ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 560ms ease,
    box-shadow 560ms ease,
    backdrop-filter 560ms ease;
}

.site-header.is-scrolled,
.site-header.liquid-glass.is-scrolled {
  top: 10px;
  width: min(900px, calc(100% - 32px));
  min-height: 54px;
  border-color: rgb(255 255 255 / 24%);
  border-radius: 999px;
  background: rgb(18 10 31 / 76%);
  box-shadow: 0 16px 44px rgb(3 1 9 / 36%), inset 0 1px 0 rgb(255 255 255 / 16%);
  -webkit-backdrop-filter: blur(20px) saturate(1.28);
  backdrop-filter: blur(20px) saturate(1.28);
}

.site-header > .lg-refract,
.site-header > .lg-tint,
.site-header > .lg-edge {
  opacity: 0;
  transition: opacity 560ms ease;
}

.site-header.is-scrolled > .lg-refract,
.site-header.is-scrolled > .lg-tint,
.site-header.is-scrolled > .lg-edge {
  opacity: 1;
}

.nav-shell,
.site-header > .lg-content > .nav-shell {
  width: 100%;
  min-height: 58px;
  padding: 7px 10px;
}

.site-header.is-scrolled .nav-shell {
  min-height: 52px;
  padding: 5px 8px;
}

.wordmark {
  min-width: 188px;
  color: #ffffff;
}

.wordmark-mark {
  width: 38px;
  height: 38px;
  border-color: rgb(255 255 255 / 24%);
  border-radius: 9px;
  background: var(--formal-violet);
  box-shadow: 0 10px 28px rgb(82 39 255 / 38%), inset 0 1px 0 rgb(255 255 255 / 28%);
  transition: border-radius 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled .wordmark-mark {
  border-radius: 50%;
  transform: scale(0.9);
}

.wordmark-copy small {
  color: #d5c8e8;
}

.primary-nav {
  gap: 3px;
}

.primary-nav > a,
.primary-nav > button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 999px;
  color: #f8f3ff;
  transition: color 360ms ease;
}

.primary-nav > a::before,
.primary-nav > button:not(.nav-consult-button)::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -52px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateX(-50%) scale(0.08);
  transform-origin: center;
  transition: transform 540ms cubic-bezier(0.16, 1, 0.3, 1), bottom 540ms cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-nav > a:hover,
.primary-nav > button:not(.nav-consult-button):hover {
  color: #2a1146;
}

.primary-nav > a:hover::before,
.primary-nav > button:not(.nav-consult-button):hover::before {
  bottom: -17px;
  transform: translateX(-50%) scale(1.55);
}

.primary-nav .nav-consult-button {
  min-width: 126px;
  margin-left: 7px;
  border-color: rgb(255 255 255 / 34%);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgb(4 1 12 / 28%);
  color: #2a1146;
  transition: transform 260ms ease, background-color 260ms ease, color 260ms ease;
}

.primary-nav .nav-consult-button:hover {
  background: var(--formal-rose);
  color: #1b0a2e;
  transform: translateY(-2px);
}

.language-switch,
.mobile-menu-button {
  border-color: rgb(255 255 255 / 22%);
  background: rgb(29 17 47 / 72%);
  color: #ffffff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.language-switch a {
  color: #cdbfe0;
}

.language-switch a[aria-current="true"] {
  background: rgb(255 159 252 / 20%);
  color: #ffffff;
}

.hero-section {
  min-height: max(760px, 100dvh);
  justify-content: center;
  border: 0;
  background: transparent;
}

.hero-section::before,
.hero-section::after {
  display: none;
}

.hero-color-bends,
.hero-color-field,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-color-bends {
  z-index: -4;
  overflow: hidden;
  background: var(--formal-night);
}

.hero-color-bends-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.94;
  filter: saturate(1.28) brightness(0.78);
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-color-field {
  z-index: -5;
  inset: -12%;
  filter: blur(76px) saturate(1.12);
}

.color-band {
  width: 64%;
  opacity: 0.44;
}

.band-ice {
  background: #0d0915;
}

.band-cyan {
  background: var(--formal-rose);
  opacity: 0.32;
}

.band-cobalt {
  background: var(--formal-violet);
  opacity: 0.52;
}

.hero-wash {
  z-index: -2;
  background: rgb(13 9 21 / 22%);
}

.hero-layout {
  position: relative;
  width: min(1040px, calc(100% - 56px));
  min-height: max(700px, calc(100dvh - 100px));
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding-top: 128px;
  padding-bottom: 164px;
  text-align: center;
}

.hero-layout::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(720px, 76vw);
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 50%;
  box-shadow: 0 0 90px rgb(82 39 255 / 13%), inset 0 0 80px rgb(255 159 252 / 4%);
  transform: translate(-50%, -49%);
  pointer-events: none;
}

.hero-copy {
  width: min(880px, 100%);
  display: flex;
  align-items: center;
  flex-direction: column;
  text-shadow: 0 3px 24px rgb(5 2 12 / 58%);
}

.hero-brand-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  background: rgb(21 10 39 / 70%);
  box-shadow: 0 18px 52px rgb(82 39 255 / 38%), inset 0 1px 0 rgb(255 255 255 / 28%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-brand {
  margin-bottom: 18px;
  color: #f4d8ff;
  font-size: 16px;
  font-weight: 720;
}

.hero-inner h1 {
  max-width: 900px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(58px, 6.1vw, 88px);
  font-weight: 720;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-description {
  max-width: 720px;
  margin-bottom: 34px;
  color: #e0d4ed;
  font-size: 19px;
  line-height: 1.72;
  text-align: center;
}

.hero-actions {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.hero-actions .btn-wrapper,
.hero-actions .secondary-button {
  flex: 0 0 auto;
}

.hero-language-switch {
  position: absolute;
  right: 34px;
  bottom: 116px;
  z-index: 10;
  margin-left: 0;
  border-color: rgb(255 255 255 / 24%);
  background: rgb(16 9 28 / 58%);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

.hero-language-switch a {
  color: #d8cce8;
}

.hero-language-switch a[aria-current="true"] {
  background: rgb(255 159 252 / 22%);
  color: #ffffff;
}

.hero-actions .secondary-button {
  border-color: rgb(255 255 255 / 30%);
  background: rgb(22 12 38 / 72%);
  color: #ffffff;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-actions .secondary-button:hover {
  border-color: rgb(255 255 255 / 52%);
  background: rgb(44 23 72 / 84%);
}

.liquid-action {
  min-width: 184px;
  min-height: 56px;
  border-color: rgb(255 255 255 / 44%);
  border-radius: 999px;
  background: var(--formal-violet);
  box-shadow: 0 18px 44px rgb(82 39 255 / 36%), inset 0 1px 0 rgb(255 255 255 / 34%);
}

.liquid-action:hover {
  background: var(--formal-violet);
  box-shadow: 0 22px 54px rgb(255 159 252 / 30%), inset 0 1px 0 rgb(255 255 255 / 44%);
}

.flow-one {
  background: var(--formal-violet);
}

.flow-two {
  background: var(--formal-rose);
}

.flow-three {
  background: var(--formal-lilac);
}

.hero-question-band {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 38px;
  left: 0;
  gap: 10px;
  padding: 0;
}

.hero-question-band button,
.hero-question-band button:first-child,
.hero-question-band button:last-child {
  min-height: 66px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 12px;
  background: rgb(24 13 40 / 70%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%);
  color: #f7efff;
  text-align: center;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-question-band button:hover {
  border-color: rgb(255 159 252 / 48%);
  background: rgb(42 22 68 / 84%);
  color: #ffffff;
}

.section {
  padding: 108px 0;
  background: transparent;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading p,
.closing-section p,
.about-band p,
.problem-list p,
.method-list p,
.service-card p,
.case-row p,
.evidence-facts p,
.role-grid p,
.case-story p,
.detail-main p,
.scope-panel p {
  color: var(--muted);
}

.problem-section,
.cases-section,
.process-section {
  background: transparent;
  color: var(--ink);
}

.problem-section h2,
.problem-section h3,
.cases-section h2,
.cases-section h3,
.process-section h2 {
  color: #ffffff;
}

.problem-section .problem-list h3,
.cases-section .case-row h3 {
  color: #ffffff;
}

.problem-section .section-heading p,
.cases-section .section-heading p,
.process-section .section-heading p {
  color: var(--muted);
}

.section-heading h2 {
  overflow-wrap: normal;
  text-wrap: balance;
}

.method-section .section-heading h2 {
  max-width: 10.5em;
}

.method-section,
.services-section,
.evidence-section,
.faq-preview-section,
.related-faq-section,
.roles-section,
.principles-section,
.faq-page-section {
  background: transparent;
}

.problem-list,
.case-list,
.faq-list,
.evidence-facts,
.role-grid,
.principle-list {
  border-top: 0;
}

.problem-list {
  gap: 14px;
}

.problem-list article,
.problem-list article + article,
.method-list article,
.method-list article + article,
.service-card,
.case-row,
.evidence-facts article,
.faq-row,
.scope-panel,
.role-grid article,
.role-grid article:nth-child(even),
.deliverable-list li,
.faq-controls,
.consent-prompt,
.case-story .case-boundary {
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 14px;
  background: var(--formal-panel);
  box-shadow: 0 20px 46px rgb(5 2 12 / 18%), inset 0 1px 0 rgb(255 255 255 / 8%);
  color: var(--ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.problem-list article,
.problem-list article + article {
  min-height: 232px;
  padding: 30px 28px;
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-list article,
.method-list article + article {
  margin: 0;
  padding: 26px 26px 26px 82px;
}

.method-list article::before,
.method-list article + article::before {
  top: 26px;
  left: 22px;
  border-color: rgb(255 159 252 / 32%);
  border-radius: 50%;
  background: rgb(255 159 252 / 8%);
  color: var(--formal-rose);
}

.services-layout {
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
}

.service-card {
  border-color: rgb(255 255 255 / 15%);
  border-radius: 14px;
  background: var(--formal-panel);
}

.service-card-featured {
  grid-row: auto;
  min-height: 286px;
  background: rgb(72 34 126 / 78%);
}

.service-id,
.detail-id,
.evidence-facts strong {
  color: var(--formal-rose);
}

.service-card-footer {
  border-top-color: rgb(255 255 255 / 14%);
}

.text-link,
.back-link {
  color: #dfc9ff;
}

.case-row {
  margin-bottom: 12px;
  padding: 28px 24px;
}

.case-disclosure {
  color: #a6f4d5;
}

.secondary-button,
.quiet-button {
  border-color: rgb(255 255 255 / 24%);
  background: rgb(29 16 48 / 88%);
  color: #f8f3ff;
}

.secondary-button:hover,
.quiet-button:hover {
  border-color: rgb(255 159 252 / 48%);
  background: rgb(52 28 84 / 94%);
  color: #ffffff;
}

.evidence-layout {
  align-items: stretch;
}

.evidence-facts {
  display: grid;
  gap: 12px;
}

.evidence-facts article {
  grid-template-columns: 88px minmax(150px, 0.7fr) minmax(0, 1.2fr);
  padding: 24px;
}

.data-model {
  border-color: rgb(255 255 255 / 16%);
  border-radius: 14px;
  background: rgb(30 16 50 / 90%);
}

.model-node {
  border-color: rgb(255 255 255 / 18%);
  border-radius: 10px;
  background: rgb(12 7 21 / 56%);
}

.model-node span,
.data-model > p {
  color: #bdaece;
}

.data-model::before,
.data-model::after {
  background: var(--formal-rose);
}

.about-band,
.mission-band,
.closing-section,
.case-next {
  background: transparent;
}

.about-band h2,
.about-band p,
.about-band .secondary-button,
.mission-band h2,
.mission-band p,
.closing-section h2,
.closing-section p,
.case-next p {
  color: #ffffff;
}

.about-band .secondary-button {
  border-color: rgb(255 255 255 / 46%);
  background: rgb(23 10 43 / 18%);
}

.about-band .secondary-button:hover {
  background: #ffffff;
  color: #2a1146;
}

.process-drift-stage {
  position: relative;
  left: 50%;
  width: 100vw;
  height: 600px;
  margin-left: -50vw;
  overflow: hidden;
}

.process-drift-stage > .drift-wall {
  width: calc(100% + 320px);
  margin-left: -160px;
}

.faq-row {
  margin-bottom: 10px;
  padding-inline: 18px;
}

.faq-row summary {
  color: #ffffff;
}

.faq-row summary::marker {
  color: var(--formal-rose);
}

.faq-row summary small,
.faq-answer,
.result-count {
  color: var(--muted);
}

.closing-section {
  background: transparent;
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 12%);
  background: transparent;
}

.detail-hero,
.case-hero,
.about-hero,
.page-intro {
  padding-top: 154px;
  border-bottom-color: rgb(255 255 255 / 12%);
  background: transparent;
}

.detail-page,
.case-page,
.about-page,
.faq-page-section,
.empty-page {
  background: transparent;
}

.animated-list-item {
  transform-origin: 50% 55%;
  will-change: transform, opacity;
}

.detail-hero .page-shell > p:last-of-type,
.case-hero .page-shell > p:not(.case-disclosure, .disclosure-note),
.about-hero .page-shell > p:last-child,
.page-intro .page-shell > p {
  color: var(--muted);
}

.problem-callout,
.disclosure-note {
  border-color: rgb(255 255 255 / 16%);
  background: rgb(61 32 96 / 62%);
  color: #e4d8f1;
}

.scope-panel {
  top: 92px;
}

.case-story > section {
  border-bottom-color: rgb(255 255 255 / 13%);
}

.case-story .case-boundary {
  padding: 32px;
}

.role-grid {
  gap: 14px;
}

.role-grid article,
.role-grid article:nth-child(even) {
  padding: 30px 32px;
}

.principle-list li {
  border-bottom-color: rgb(255 255 255 / 16%);
  color: #ffffff;
}

.faq-controls input,
.faq-controls select,
.followup-form input,
.followup-form textarea,
.chat-form textarea {
  border-color: rgb(255 255 255 / 20%);
  background: rgb(10 6 18 / 64%);
  color: #ffffff;
}

.faq-controls input::placeholder,
.chat-form textarea::placeholder {
  color: #9f91b1;
}

.chat-panel {
  position: fixed;
  isolation: isolate;
  border-color: rgb(255 255 255 / 20%);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgb(106 56 168 / 32%), rgb(17 9 30 / 34%)),
    rgb(22 13 37 / 30%);
  box-shadow:
    0 30px 80px rgb(2 1 6 / 48%),
    inset 0 1px 0 rgb(255 255 255 / 18%);
  -webkit-backdrop-filter: blur(24px) saturate(1.28);
  backdrop-filter: blur(24px) saturate(1.28);
}

.chat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgb(255 159 252 / 20%), transparent 34%),
    radial-gradient(circle at 88% 78%, rgb(82 39 255 / 22%), transparent 38%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.chat-panel > * {
  position: relative;
  z-index: 1;
}

.chat-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), inset 0 0 38px rgb(255 159 252 / 5%);
}

.chat-reopen {
  position: fixed;
  z-index: 96;
  top: 58%;
  right: 0;
  width: 142px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 10px;
  overflow: hidden;
  border: 1px solid rgb(255 159 252 / 48%);
  border-right: 0;
  border-radius: 18px 0 0 18px;
  background: rgb(25 13 43 / 92%);
  box-shadow: 0 16px 34px rgb(2 1 6 / 36%), inset 0 1px 0 rgb(255 255 255 / 16%);
  color: #ffffff;
  cursor: pointer;
  transform: translate(94px, -50%);
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, border-color 220ms ease;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.chat-panel,
.chat-reopen {
  z-index: 1100;
}

.chat-reopen:hover,
.chat-reopen:focus-visible {
  border-color: rgb(255 159 252 / 78%);
  background: rgb(50 24 82 / 96%);
  transform: translate(0, -50%);
}

.chat-reopen[hidden] {
  display: none;
}

.chat-reopen-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #5227ff;
  box-shadow: 0 0 0 5px rgb(82 39 255 / 16%);
}

.chat-reopen-icon svg {
  width: 17px;
  height: 17px;
}

.chat-reopen-label {
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
}

.chat-header {
  border-bottom-color: rgb(255 255 255 / 14%);
  background:
    linear-gradient(120deg, rgb(122 69 255 / 64%), rgb(82 39 255 / 46%)),
    rgb(82 39 255 / 42%);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}

.chat-log,
.handoff-area,
.chat-quick-actions,
.chat-form {
  border-color: rgb(255 255 255 / 12%);
  background: rgb(18 10 32 / 22%);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
  backdrop-filter: blur(12px) saturate(1.12);
}

.chat-message-assistant,
.consent-prompt {
  border-color: rgb(255 255 255 / 16%);
  background: rgb(58 30 88 / 36%);
  color: #f8f3ff;
}

.chat-message-user,
.chat-form button,
.primary-button,
.primary-small-button {
  border-color: var(--formal-violet);
  background: var(--formal-violet);
}

.chat-quick-actions button {
  border-color: rgb(255 255 255 / 18%);
  background: rgb(44 23 70 / 30%);
  color: #e6d8f7;
}

.chat-quick-actions button:hover {
  border-color: var(--formal-rose);
  background: rgb(92 47 142 / 52%);
}

@supports not ((backdrop-filter: blur(1px))) {
  .chat-panel {
    background: rgb(22 13 37 / 96%);
  }

  .chat-panel::before,
  .chat-panel::after {
    display: none;
  }
  .chat-log,
  .handoff-area,
  .chat-quick-actions,
  .chat-form { background: #120a20; }
  .chat-message-assistant,
  .consent-prompt { background: rgb(38 20 62 / 96%); }
  .chat-quick-actions button { background: rgb(30 16 49 / 96%); }
}

@media (max-width: 600px) {
  .chat-panel {
    background:
      linear-gradient(145deg, rgb(78 40 126 / 42%), rgb(17 9 30 / 48%)),
      rgb(22 13 37 / 46%);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
  }

  .chat-log,
  .handoff-area,
  .chat-quick-actions,
  .chat-form {
    background: rgb(18 10 32 / 30%);
    -webkit-backdrop-filter: blur(8px) saturate(1.08);
    backdrop-filter: blur(8px) saturate(1.08);
  }
}

.border-glow-card {
  --border-glow-x: 50%;
  --border-glow-y: 50%;
  --border-glow-opacity: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.border-glow-card::before {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--border-glow-x) var(--border-glow-y),
    rgb(255 255 255 / 98%) 0,
    rgb(255 159 252 / 94%) 22%,
    rgb(122 69 255 / 72%) 50%,
    transparent 76%
  );
  opacity: var(--border-glow-opacity);
  filter: drop-shadow(0 0 10px rgb(255 159 252 / 34%));
  pointer-events: none;
  transition: opacity 220ms ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.border-glow-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%);
  pointer-events: none;
}

@media (max-width: 1040px) {
  .site-header.is-scrolled,
  .site-header.liquid-glass.is-scrolled {
    width: min(820px, calc(100% - 24px));
  }

  .primary-nav > a,
  .primary-nav > button {
    padding-inline: 7px;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header.liquid-glass,
  .site-header.is-scrolled,
  .site-header.liquid-glass.is-scrolled {
    top: 8px;
    width: calc(100% - 20px);
    border-radius: 14px;
  }

  .primary-nav {
    top: 60px;
    border-color: rgb(255 255 255 / 22%);
    border-radius: 14px;
    background: rgb(17 9 29 / 94%);
    box-shadow: 0 24px 64px rgb(2 1 7 / 48%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .hero-layout {
    width: min(760px, calc(100% - 32px));
  }

  .hero-inner h1 {
    font-size: 60px;
  }

  .hero-question-band {
    width: min(760px, calc(100% - 32px));
  }
}

@media (max-width: 620px) {
  .chat-reopen {
    top: auto;
    bottom: 84px;
    transform: translateX(94px);
  }

  .chat-reopen:hover,
  .chat-reopen:focus-visible {
    transform: translateX(0);
  }

  .site-header,
  .site-header.liquid-glass,
  .site-header.is-scrolled,
  .site-header.liquid-glass.is-scrolled {
    min-height: 56px;
  }

  .nav-shell,
  .site-header > .lg-content > .nav-shell,
  .site-header.is-scrolled .nav-shell {
    min-height: 54px;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-layout {
    min-height: 0;
    padding-top: 116px;
    padding-bottom: 44px;
  }

  .hero-layout::before {
    width: 112vw;
  }

  .hero-brand-mark {
    width: 62px;
    height: 62px;
  }

  .hero-inner h1 {
    font-size: 46px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions > * {
    width: 100%;
  }

  .hero-language-switch {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-end;
    margin: 0 16px 18px 0;
  }

  .hero-question-band {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    gap: 7px;
    padding-bottom: 24px;
  }

  .hero-question-band button,
  .hero-question-band button:first-child,
  .hero-question-band button:last-child {
    min-height: 50px;
  }

  .problem-list article,
  .problem-list article + article,
  .role-grid article,
  .role-grid article:nth-child(even) {
    padding: 24px 20px;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 14px;
  }

  .evidence-facts article {
    grid-template-columns: 70px 1fr;
  }

  .border-glow-card::before {
    display: none;
  }

  .hero-actions .btn-wrapper.liquid-action,
  .closing-inner .btn-wrapper.liquid-action {
    width: min(100%, 280px);
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-actions .btn-wrapper.liquid-action .gradient-btn,
  .closing-inner .btn-wrapper.liquid-action .gradient-btn,
  .hero-actions .btn-wrapper.liquid-action .text-overlay,
  .closing-inner .btn-wrapper.liquid-action .text-overlay {
    width: 100%;
    box-sizing: border-box;
    padding-inline: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header * {
    transition-duration: 0.01ms !important;
  }

  .hero-color-bends-canvas {
    opacity: 0.78;
  }

  .border-glow-card::before {
    transition: none;
  }
}
