:root {
  --glass-cobalt: #2458c6;
  --glass-cyan: #44c2cf;
  --glass-ice: #f7fbff;
  --glass-alpha: 0.12;
  --glass-line: rgb(255 255 255 / 72%);
  --glass-ink: #101b31;
  --glass-muted: #465a70;
  --glass-shadow: 0 22px 58px rgb(28 71 122 / 16%);
  --button-flow-speed: 5s;
  --button-flow-opacity: 0.9;
  --button-hover-scale: 1.05;
  --button-press-scale: 0.96;
  --paper: var(--glass-ice);
  --surface: #ffffff;
  --soft: #e9f6fa;
  --line: #d6e5ed;
  --line-strong: #aac5d3;
  --blue: var(--glass-cobalt);
  --blue-dark: #173f94;
  --blue-soft: #e5f3f8;
  --signal: #dff6f7;
  --ink: var(--glass-ink);
  --ink-strong: #091329;
  --muted: var(--glass-muted);
  --shadow: var(--glass-shadow);
}

body {
  background: var(--glass-ice);
}

.site-header {
  border-color: rgb(255 255 255 / 66%);
  background: rgb(247 251 255 / 68%);
  box-shadow: 0 10px 34px rgb(28 71 122 / 8%);
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
  backdrop-filter: blur(24px) saturate(1.24);
}

.site-header.liquid-glass {
  position: sticky;
}

.wordmark-mark {
  border-color: rgb(255 255 255 / 74%);
  background: var(--glass-cobalt);
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / 44%), 0 8px 20px rgb(36 88 198 / 20%);
}

.language-switch,
.mobile-menu-button {
  border-color: var(--glass-line);
  background: rgb(255 255 255 / 54%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.language-switch a[aria-current="true"] {
  background: rgb(68 194 207 / 16%);
  color: var(--blue-dark);
}

.primary-nav .nav-consult-button {
  border: 1px solid rgb(255 255 255 / 58%);
  background: rgb(36 88 198 / 90%);
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / 36%), 0 10px 24px rgb(36 88 198 / 20%);
}

.primary-nav .nav-consult-button:hover {
  background: var(--blue-dark);
}

.hero-section {
  min-height: min(850px, calc(100dvh - 72px));
  border-color: rgb(255 255 255 / 74%);
  background: var(--glass-ice);
}

.hero-section::before {
  opacity: 0;
}

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

.hero-color-field {
  position: absolute;
  z-index: -3;
  inset: -15% -12% -10%;
  overflow: hidden;
  pointer-events: none;
  filter: blur(76px) saturate(1.05);
}

.color-band {
  position: absolute;
  top: -12%;
  bottom: -12%;
  width: 68%;
  border-radius: 18%;
  opacity: 0.86;
  will-change: transform;
}

.band-ice {
  left: -18%;
  background: var(--glass-ice);
  transform: rotate(-8deg) scale(1.2);
}

.band-cyan {
  left: 24%;
  background: var(--glass-cyan);
  opacity: 0.5;
  transform: rotate(9deg) scale(1.06);
}

.band-cobalt {
  right: -24%;
  background: var(--glass-cobalt);
  opacity: 0.42;
  transform: rotate(-7deg) scale(1.14);
}

.hero-wash {
  z-index: -2;
  background: rgb(247 251 255 / 28%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  padding-top: 80px;
  padding-bottom: 68px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-inner h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(54px, 4.75vw, 68px);
  overflow-wrap: anywhere;
}

.hero-description {
  color: #304b68;
}

.hero-evidence {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 8px;
  background: rgb(255 255 255 / 32%);
  box-shadow: var(--glass-shadow), inset 1px 1px 0 rgb(255 255 255 / 74%);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
  transform: translateY(22px) rotate(1.2deg);
}

.hero-evidence figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgb(255 255 255 / 58%);
}

.hero-evidence figcaption strong {
  color: var(--ink-strong);
  font-size: 14px;
}

.hero-evidence figcaption span {
  color: #405b72;
  font-size: 12px;
  text-align: right;
}

.hero-evidence img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  mix-blend-mode: multiply;
}

.hero-question-band {
  gap: 10px;
}

.hero-question-band button,
[data-glass="surface"] {
  border-color: var(--glass-line);
  background: rgb(255 255 255 / 48%);
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / 66%);
  -webkit-backdrop-filter: blur(20px) saturate(1.14);
  backdrop-filter: blur(20px) saturate(1.14);
}

.hero-question-band button {
  border: 1px solid var(--glass-line);
  border-radius: 8px;
}

.hero-question-band button:first-child,
.hero-question-band button:last-child {
  border: 1px solid var(--glass-line);
  border-radius: 8px;
}

.hero-question-band button:hover {
  background: rgb(255 255 255 / 72%);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.liquid-action {
  position: relative;
  isolation: isolate;
  min-width: 158px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 68%);
  border-radius: 8px;
  background: var(--glass-cobalt);
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / 44%), 0 14px 30px rgb(36 88 198 / 24%);
  color: #ffffff;
  transform: translateZ(0) scale(1);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease;
}

.liquid-action:hover {
  border-color: rgb(255 255 255 / 80%);
  background: var(--glass-cobalt);
  box-shadow: inset 1px 1px 0 rgb(255 255 255 / 54%), 0 18px 38px rgb(36 88 198 / 30%);
  transform: translateZ(0) scale(var(--button-hover-scale));
}

.liquid-action:active {
  transform: translateZ(0) scale(var(--button-press-scale));
}

.button-flow {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 190%;
  height: 320%;
  border-radius: 46%;
  opacity: var(--button-flow-opacity);
  filter: blur(9px) saturate(1.12);
  pointer-events: none;
  mix-blend-mode: screen;
  transform-origin: center;
  will-change: transform;
}

.liquid-action > .lg-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
}

.flow-one {
  top: -110%;
  left: -72%;
  background: var(--glass-cobalt);
  transform: rotate(12deg);
}

.flow-two {
  top: -80%;
  left: 45%;
  width: 85%;
  height: 250%;
  background: var(--glass-cyan);
  opacity: 0.82;
  transform: rotate(132deg);
}

.flow-three {
  top: -50%;
  left: 60%;
  width: 45%;
  height: 190%;
  background: var(--glass-ice);
  opacity: 0.64;
  transform: rotate(244deg);
}

.button-label {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 1px rgb(13 39 87 / 32%);
}

.problem-section,
.services-section,
.evidence-section,
.faq-preview-section,
.related-faq-section,
.roles-section {
  background: rgb(255 255 255 / 58%);
}

.method-section,
.process-section,
.principles-section,
.cases-section {
  background: rgb(238 248 251 / 62%);
}

.problem-list {
  gap: 12px;
  border-top: 0;
}

.problem-list article,
.method-list article,
.service-card,
.case-row,
.evidence-facts article,
.faq-row,
.scope-panel,
.faq-controls,
.chat-panel {
  border-color: var(--glass-line);
}

.problem-list article {
  padding: 30px 28px;
  border: 1px solid var(--glass-line);
  border-radius: 8px;
}

.problem-list article + article {
  padding-left: 28px;
  border-left: 1px solid var(--glass-line);
}

.method-list article {
  margin-bottom: 12px;
  padding: 24px 24px 24px 82px;
  border: 1px solid var(--glass-line);
  border-radius: 8px;
}

.method-list article + article {
  padding-top: 24px;
}

.method-list article::before,
.method-list article + article::before {
  top: 24px;
  left: 20px;
  border-color: rgb(36 88 198 / 24%);
  background: rgb(255 255 255 / 42%);
}

.service-card {
  border-color: var(--glass-line);
  border-radius: 8px;
  background: rgb(255 255 255 / 46%);
  box-shadow: 0 18px 44px rgb(28 71 122 / 8%), inset 1px 1px 0 rgb(255 255 255 / 70%);
}

.service-card-featured {
  background: rgb(68 194 207 / 12%);
}

.case-list,
.faq-list,
.evidence-facts {
  border-top: 0;
}

.case-row {
  margin-bottom: 12px;
  padding: 28px 24px;
  border: 1px solid var(--glass-line);
  border-radius: 8px;
}

.data-model,
.process-visual,
.scope-panel,
.faq-controls,
.chat-panel {
  border-color: var(--glass-line);
  background: rgb(255 255 255 / 54%);
  box-shadow: var(--glass-shadow), inset 1px 1px 0 rgb(255 255 255 / 70%);
  -webkit-backdrop-filter: blur(24px) saturate(1.14);
  backdrop-filter: blur(24px) saturate(1.14);
}

.data-model {
  --model-line-x: 1;
  --model-line-y: 1;
}

.data-model::before {
  transform: scaleX(var(--model-line-x));
  transform-origin: left center;
}

.data-model::after {
  transform: scaleY(var(--model-line-y));
  transform-origin: center top;
}

.about-band,
.closing-section,
.case-next {
  background: rgb(68 194 207 / 15%);
}

.mission-band {
  background: var(--glass-cobalt);
}

.site-footer {
  background: #101b31;
}

.detail-hero,
.case-hero,
.about-hero,
.page-intro {
  background-color: rgb(232 246 250 / 72%);
}

.faq-row {
  margin-bottom: 10px;
  padding-inline: 18px;
  border: 1px solid var(--glass-line);
  border-radius: 8px;
}

.chat-header {
  background: rgb(36 88 198 / 94%);
}

.chat-log,
.handoff-area {
  background: rgb(247 251 255 / 76%);
}

@media (max-width: 900px) {
  .primary-nav {
    border-color: var(--glass-line);
    background: rgb(247 251 255 / 88%);
    -webkit-backdrop-filter: blur(24px) saturate(1.16);
    backdrop-filter: blur(24px) saturate(1.16);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    gap: 30px;
  }

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

  .hero-evidence img {
    min-height: 250px;
  }
}

@media (max-width: 620px) {
  .hero-section {
    min-height: auto;
  }

  .hero-color-field {
    inset: -8% -52% 0;
    filter: blur(52px) saturate(1.02);
  }

  .color-band {
    width: 82%;
    opacity: 0.72;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 62px;
    padding-bottom: 42px;
  }

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

  .hero-evidence {
    transform: none;
  }

  .hero-evidence figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hero-evidence figcaption span {
    text-align: left;
  }

  .hero-evidence img {
    min-height: 220px;
  }

  .hero-question-band {
    gap: 8px;
  }

  .hero-question-band button,
  .hero-question-band button:first-child,
  .hero-question-band button:last-child {
    border: 1px solid var(--glass-line);
    border-radius: 8px;
  }

  .problem-list article,
  .problem-list article + article {
    padding: 24px 20px;
    border: 1px solid var(--glass-line);
    border-radius: 8px;
  }

  .method-list article,
  .method-list article + article {
    padding: 22px 18px 22px 72px;
  }

  .method-list article::before,
  .method-list article + article::before {
    top: 22px;
    left: 16px;
  }

  .liquid-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .color-band,
  .button-flow {
    will-change: auto;
  }

  .liquid-action:hover,
  .liquid-action:active,
  .hero-question-band button:hover {
    transform: none;
  }
}
