:root {
  --twilight: #25224a;
  --deep-indigo: #1e1b40;
  --minsk: #34306c;
  --cobalt: #3e50f7;
  --cobalt-dark: #2f3fd9;
  --overcast: #afb9de;
  --lavender-blue: #cbd9ff;
  --hawkes-blue: #edf2ff;
  --snow: #f8faff;
  --white: #fff;
  --text: #4f4a63;
  --muted: #625d73;
  --border: rgba(37, 34, 74, 0.12);
  --container: 1200px;
  --header-height: 112px;
  --radius-card: 0 30px 30px 30px;
  --radius-button: 0 11px 11px 11px;
  --shadow: 0 24px 60px rgba(37, 34, 74, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--white);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--twilight);
  background: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  color: inherit;
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

strong,
h1,
h2,
h3 {
  font-weight: 750;
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--white);
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--cobalt);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--cobalt);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--overcast);
}

.section-heading {
  max-width: 760px;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.contact-copy h2 {
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-heading > p:last-child,
.feature-copy > p,
.contact-copy > p {
  margin-top: 18px;
  color: var(--text);
  line-height: 1.85;
}

.section-tint {
  background: var(--hawkes-blue);
}

.section-plain {
  background: var(--white);
}

.button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--cobalt);
}

.button-primary:hover {
  background: var(--cobalt-dark);
  box-shadow: 3px 6px 14px rgba(42, 31, 65, 0.28);
}

.button-outline {
  border-color: rgba(203, 217, 255, 0.65);
  color: var(--white);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  background: transparent;
  transition:
    height 260ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  height: 76px;
  color: var(--twilight);
  background: var(--white);
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.22);
}

.site-header.has-open-menu {
  height: 92px;
  color: var(--twilight);
  background: var(--white);
  box-shadow: none;
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  display: block;
  width: 31px;
  height: 27px;
}

.brand-mark i {
  position: absolute;
  bottom: 2px;
  width: 9px;
  height: 25px;
  border-radius: 8px;
  background: currentColor;
  transform: rotate(38deg);
}

.brand-mark i:nth-child(1) {
  left: 5px;
}

.brand-mark i:nth-child(2) {
  right: 5px;
  transform: rotate(-38deg);
}

.brand-mark i:nth-child(3) {
  right: 2px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavender-blue);
  transform: none;
}

.desktop-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 34px;
  margin-left: 72px;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav > a,
.nav-disclosure,
.nav-trigger,
.header-contact {
  display: inline-flex;
  height: 100%;
  min-height: 44px;
  align-items: center;
}

.desktop-nav > a:hover,
.desktop-nav > a:focus-visible,
.nav-trigger:hover,
.nav-trigger:focus-visible,
.nav-trigger[aria-expanded="true"] {
  color: var(--lavender-blue);
}

.site-header.is-scrolled .desktop-nav > a:hover,
.site-header.is-scrolled .desktop-nav > a:focus-visible,
.site-header.is-scrolled .nav-trigger:hover,
.site-header.is-scrolled .nav-trigger:focus-visible,
.site-header.has-open-menu .desktop-nav > a:hover,
.site-header.has-open-menu .desktop-nav > a:focus-visible,
.site-header.has-open-menu .nav-trigger:hover,
.site-header.has-open-menu .nav-trigger:focus-visible,
.site-header .nav-trigger[aria-expanded="true"] {
  color: var(--cobalt);
}

.nav-disclosure {
  position: relative;
}

.nav-trigger {
  gap: 11px;
  font-size: 14px;
  font-weight: 650;
}

.nav-trigger > span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-trigger[aria-expanded="true"] > span {
  transform: translateY(2px) rotate(225deg);
}

.nav-panel {
  position: fixed;
  z-index: -1;
  top: 92px;
  right: 0;
  left: 0;
  padding: 24px 0 38px;
  color: var(--twilight);
  background: var(--white);
  box-shadow: 0 22px 36px rgba(37, 34, 74, 0.1);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 180ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 240ms;
}

.nav-disclosure.is-open > .nav-panel,
html:not(.js) .nav-disclosure:hover > .nav-panel,
html:not(.js) .nav-disclosure:focus-within > .nav-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.nav-panel-inner {
  padding-top: 22px;
  border-top: 1px dashed rgba(37, 34, 74, 0.28);
}

.nav-panel-title {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 750;
}

.nav-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nav-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nav-card {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 26px;
  border-radius: 0 22px 22px 22px;
  color: var(--twilight);
  background: var(--hawkes-blue);
  text-align: left;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.nav-card:hover,
.nav-card:focus-visible {
  color: var(--twilight);
  background: #e3eaff;
  transform: translateY(-2px);
}

.nav-card strong,
.nav-card span {
  display: block;
}

.nav-card strong {
  font-size: 14px;
}

.nav-card span {
  margin-top: 5px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.6;
}

.nav-card-button {
  width: 100%;
}

.desktop-menu-overlay {
  position: fixed;
  z-index: 900;
  inset: 92px 0 0;
  background: rgba(37, 34, 74, 0.08);
}

.header-contact {
  gap: 12px;
  margin-left: auto;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 700;
}

.header-contact span {
  color: inherit;
  font-size: 20px;
}

.mobile-menu-toggle,
.mobile-menu,
.no-script-nav {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  color: var(--white);
  background: var(--twilight);
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 688px;
  grid-template-columns: minmax(0, 580px) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 6px;
}

.hero-copy h1 {
  max-width: 600px;
  color: var(--white);
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.hero-lede {
  max-width: 580px;
  margin-top: 22px;
  color: var(--overcast);
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 38px;
}

.hero-note {
  margin-top: 26px;
  color: var(--overcast);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  align-self: stretch;
  margin-right: -72px;
}

.visual-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(48, 44, 112, 0.9), rgba(48, 44, 112, 0.9)) 0 7% / 100%
      39% no-repeat,
    linear-gradient(rgba(48, 44, 112, 0.66), rgba(48, 44, 112, 0.66)) 8% 82% /
      92% 26% no-repeat;
}

.flow-window {
  position: absolute;
  inset: 74px 0 36px;
  overflow: hidden;
  padding-inline: 18px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.flow-track {
  animation: hero-flow-rise 22s linear infinite;
  will-change: transform;
}

.flow-sequence {
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
}

.flow-scene {
  display: grid;
  min-height: 206px;
  grid-template-columns: minmax(158px, 1fr) 88px minmax(170px, 1fr);
  align-items: center;
  gap: 12px;
}

.flow-document {
  min-width: 0;
  min-height: 174px;
  padding: 19px;
  border-radius: 0 18px 18px 18px;
  color: var(--twilight);
  background: #b9c7ed;
  box-shadow: 0 20px 44px rgba(19, 17, 52, 0.2);
}

.flow-solution {
  background: #f4f6ff;
}

.flow-document-head {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 9px;
}

.flow-document-head-right {
  justify-content: flex-end;
}

.flow-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--twilight);
  font-size: 11px;
  font-weight: 800;
}

.flow-solution .flow-avatar {
  color: var(--white);
  background: var(--cobalt);
}

.flow-document small {
  color: #54506d;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.flow-document > strong {
  display: block;
  overflow: hidden;
  margin-top: 17px;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-document > p {
  overflow: hidden;
  margin-top: 4px;
  color: #5d5874;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-document-lines {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.flow-document-lines i {
  display: block;
  width: 88%;
  height: 4px;
  border-radius: 4px;
  background: rgba(62, 58, 110, 0.16);
}

.flow-document-lines i:nth-child(2) {
  width: 66%;
}

.flow-document-lines i:nth-child(3) {
  width: 42%;
}

.flow-transfer {
  position: relative;
  display: grid;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--overcast);
  text-align: center;
}

.flow-transfer span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.flow-transfer i {
  display: block;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(203, 217, 255, 0.82) 0 6px,
    transparent 6px 11px
  );
}

.flow-transfer b {
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lavender-blue);
  box-shadow: 0 0 0 4px rgba(203, 217, 255, 0.12);
  animation: flow-node-right 2.2s ease-in-out infinite;
}

@keyframes hero-flow-rise {
  to {
    transform: translateY(-50%);
  }
}

@keyframes flow-node-right {
  from {
    right: calc(100% - 8px);
  }

  to {
    right: 0;
  }
}

.evidence-strip {
  min-height: 172px;
  background: #2d2a70;
}

.evidence-inner {
  display: grid;
  min-height: 172px;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.evidence-inner > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--overcast);
  text-align: center;
}

.evidence-inner > div:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  height: 28px;
  border-right: 1px dashed rgba(175, 185, 222, 0.55);
  content: "";
  transform: translateY(-50%);
}

.evidence-inner strong {
  color: var(--white);
  font-size: 18px;
}

.evidence-inner span {
  margin-top: 4px;
  font-size: 13px;
}

/* Services */

.services {
  padding: 112px 0 124px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 62px;
}

.service-card {
  min-height: 438px;
  padding: 32px 28px;
  border: 1px solid rgba(37, 34, 74, 0.05);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(37, 34, 74, 0.06);
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 0 16px 16px 16px;
  color: var(--white);
  background: var(--cobalt);
  font-size: 18px;
  font-weight: 800;
}

.service-card:nth-child(2) .service-icon {
  color: var(--twilight);
  background: var(--lavender-blue);
}

.service-card:nth-child(3) .service-icon {
  background: var(--twilight);
}

.service-card:nth-child(4) .service-icon {
  color: var(--white);
  background: var(--cobalt-dark);
}

.service-card h3 {
  margin-top: 28px;
  font-size: 24px;
  line-height: 1.3;
}

.service-card dl {
  margin-top: 24px;
}

.service-card dl > div + div {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px dashed rgba(37, 34, 74, 0.18);
}

.service-card dt {
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.service-card dd {
  margin-top: 6px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

/* Feature blocks */

.feature {
  padding: 110px 0;
  overflow: hidden;
}

.feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(530px, 1.1fr);
  align-items: center;
  gap: 86px;
}

.feature-inner-reverse {
  grid-template-columns: minmax(530px, 1.1fr) minmax(0, 0.9fr);
}

.feature-copy h2 {
  max-width: 540px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.feature-list li {
  position: relative;
  padding-left: 32px;
  color: var(--twilight);
  font-size: 15px;
  font-weight: 650;
}

.feature-list li::before {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 16px;
  border: 5px solid var(--cobalt);
  border-radius: 50%;
  content: "";
}

.process-board {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 30px;
  border-radius: 0 34px 34px 34px;
  background: var(--lavender-blue);
}

.process-board::before {
  position: absolute;
  top: 54px;
  bottom: 54px;
  left: 70px;
  border-left: 2px dotted rgba(37, 34, 74, 0.22);
  content: "";
}

.process-board li {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 86px;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 18px;
  padding: 12px 18px 12px 0;
  border-radius: 0 16px 16px 16px;
  background: rgba(255, 255, 255, 0.72);
}

.process-board li > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-left: 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--twilight);
  font-size: 11px;
  font-weight: 800;
}

.process-board strong {
  display: block;
  font-size: 15px;
}

.process-board p {
  margin-top: 3px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
}

.feature-ai {
  padding-block: 126px;
}

.ai-board {
  display: grid;
  min-height: 610px;
  place-items: center;
  border-radius: 0 34px 34px 34px;
  background: var(--twilight);
}

.ai-window {
  width: min(82%, 470px);
  padding: 34px;
  border-radius: 0 24px 24px 24px;
  color: var(--white);
  background: #34306c;
  box-shadow: 0 25px 70px rgba(10, 8, 38, 0.35);
}

.window-bar {
  display: flex;
  gap: 7px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.window-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--overcast);
}

.window-bar i:last-child {
  background: var(--lavender-blue);
}

.ai-kicker {
  display: block;
  margin-top: 32px;
  color: var(--overcast);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.ai-window > strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
}

.ai-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
}

.ai-flow b {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(203, 217, 255, 0.4);
  border-radius: 0 8px 8px 8px;
  font-size: 10px;
}

.ai-flow i {
  border-top: 2px dotted rgba(203, 217, 255, 0.45);
}

.ai-status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 48px;
}

.ai-status span {
  padding: 14px;
  border-radius: 0 10px 10px 10px;
  color: var(--twilight);
  background: var(--lavender-blue);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.boundary-note {
  padding: 18px 20px;
  border-left: 4px solid var(--cobalt);
  border-radius: 0 10px 10px 0;
  background: var(--white);
  font-size: 13px;
}

/* Professional methods */

.methods {
  padding: 112px 0 124px;
  overflow: hidden;
}

.method-showcase {
  margin-top: 58px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.method-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius-card);
  background: var(--hawkes-blue);
}

.method-card:nth-child(even) {
  background: var(--snow);
}

.method-card > span {
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.method-card h3 {
  margin-top: 16px;
  font-size: 24px;
}

.method-card p {
  margin-top: 18px;
  color: var(--text);
  font-size: 14px;
}

.method-card strong {
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px dashed rgba(37, 34, 74, 0.2);
  font-size: 13px;
}

.method-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.button-dark {
  color: var(--white);
  background: var(--twilight);
}

.button-dark:hover {
  background: var(--minsk);
}

/* Solutions */

.solutions {
  padding: 112px 0 130px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 64px;
}

.solution-card {
  overflow: hidden;
  border: 1px solid rgba(37, 34, 74, 0.05);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(37, 34, 74, 0.06);
}

.solution-kicker {
  display: block;
  padding: 19px 30px;
  color: var(--white);
  background: var(--twilight);
  font-size: 13px;
  font-weight: 700;
}

.solution-card:nth-child(2) .solution-kicker,
.solution-card:nth-child(3) .solution-kicker {
  background: var(--minsk);
}

.solution-body {
  padding: 32px 30px 30px;
}

.solution-body h3 {
  max-width: 480px;
  font-size: 22px;
  line-height: 1.4;
}

.solution-body > p {
  margin-top: 16px;
  color: var(--text);
  font-size: 14px;
}

.solution-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.solution-body li {
  padding: 7px 12px;
  border-radius: 0 8px 8px 8px;
  color: var(--twilight);
  background: var(--hawkes-blue);
  font-size: 11px;
  font-weight: 700;
}

.solution-body small {
  display: block;
  padding: 14px 16px;
  margin-top: 24px;
  border-radius: 0 10px 10px 10px;
  color: var(--muted);
  background: var(--snow);
  font-size: 12px;
  line-height: 1.65;
}

/* Contact */

.contact {
  padding: 64px 0;
  background: var(--white);
}

.contact-panel {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  align-items: center;
  gap: 64px;
  padding: 58px 72px;
  border-radius: 0 50px 50px 50px;
  background: var(--lavender-blue);
}

.contact-copy > p {
  max-width: 680px;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.wechat-contact,
.email-contact {
  display: flex;
  min-height: 186px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border-radius: 0 14px 14px 14px;
  background: rgba(255, 255, 255, 0.72);
}

.wechat-contact span,
.email-contact span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wechat-contact strong,
.email-contact strong {
  font-size: 17px;
}

.wechat-contact small,
.email-contact small {
  color: var(--muted);
  font-size: 11px;
}

.copy-button {
  align-self: flex-start;
  min-height: 38px;
  padding: 0 14px;
  margin-top: 12px;
  border: 1px solid rgba(37, 34, 74, 0.28);
  border-radius: 0 8px 8px 8px;
  color: var(--twilight);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.copy-button:hover {
  color: var(--white);
  background: var(--twilight);
}

.wechat-contact .copy-status {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.email-contact .copy-status {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.contact-button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}

.contact-button-row .copy-button {
  margin-top: 0;
}

.contact-link-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 0 8px 8px 8px;
  color: var(--white);
  background: var(--twilight);
  font-size: 12px;
  font-weight: 700;
}

.contact-link-button:hover {
  color: var(--white);
  background: var(--minsk);
}

.qr-card {
  width: min(100%, 310px);
  padding: 12px;
  margin: 0;
  border: 1px solid rgba(37, 34, 74, 0.14);
  border-radius: 0 24px 24px 24px;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(37, 34, 74, 0.14);
  text-align: center;
}

.wechat-qr {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 820 / 1219;
  border-radius: 0 16px 16px 16px;
  background: var(--white);
  object-fit: contain;
}

/* Footer */

.site-footer {
  padding: 112px 0 56px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 72px;
}

.brand-dark {
  color: var(--twilight);
}

.footer-brand > p {
  max-width: 290px;
  margin-top: 16px;
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--twilight);
  font-size: 14px;
}

.footer-grid ul {
  display: grid;
  gap: 9px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--cobalt);
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 40px;
  margin-top: 78px;
  border-top: 1px solid var(--border);
}

.footer-bottom p + p {
  margin-top: 4px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.public-security-record {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.55;
}

.public-security-record img {
  width: 18px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

/* Progressive reveal */

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Cooperation dialog */

.dialog-shell {
  position: fixed;
  z-index: 2800;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 220ms ease,
    visibility 0s linear 240ms;
}

.dialog-shell.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 34, 74, 0.72);
}

.cooperation-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 80px));
  max-height: calc(100vh - 80px);
  padding: 54px;
  overflow: hidden auto;
  border-radius: 0 34px 34px 34px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(15, 12, 50, 0.4);
  transform: translateY(18px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dialog-shell.is-open .cooperation-dialog {
  transform: none;
}

.dialog-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 0 12px 12px 12px;
}

.dialog-close span {
  position: absolute;
  top: 21px;
  left: 10px;
  width: 23px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
}

.dialog-close span:last-child {
  transform: rotate(-45deg);
}

.cooperation-dialog h2 {
  max-width: 700px;
  padding-right: 48px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.25;
}

.dialog-lede {
  margin-top: 14px;
  color: var(--text);
}

.dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.dialog-grid article {
  padding: 26px;
  border-radius: 0 20px 20px 20px;
  background: var(--hawkes-blue);
}

.dialog-grid article > span {
  color: var(--cobalt);
  font-size: 11px;
  font-weight: 800;
}

.dialog-grid h3 {
  margin-top: 8px;
  font-size: 18px;
}

.dialog-grid p {
  margin-top: 8px;
  color: var(--text);
  font-size: 13px;
}

/* Privacy and error pages */

.subpage-header {
  min-height: 96px;
  color: var(--twilight);
  background: var(--white);
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.16);
}

.subpage-header-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
}

.subpage-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 650;
}

.subpage-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.subpage-back {
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
}

.legal-hero {
  color: var(--white);
  background: var(--twilight);
}

.legal-hero-inner {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
}

.legal-hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.legal-hero p:last-child {
  margin-top: 18px;
  color: var(--overcast);
}

.legal-content {
  width: min(820px, calc(100% - 48px));
  padding: 94px 0 104px;
}

.legal-content section + section {
  padding-top: 38px;
  margin-top: 38px;
  border-top: 1px dashed rgba(37, 34, 74, 0.24);
}

.legal-content h2 {
  font-size: 24px;
  line-height: 1.4;
}

.legal-content p,
.legal-content ul {
  margin-top: 16px;
  color: var(--text);
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  list-style: disc;
}

.legal-content a {
  color: var(--cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.subpage-footer {
  padding-top: 0;
}

.subpage-footer .footer-bottom {
  margin-top: 0;
}

.error-main {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 44px;
  overflow: hidden;
  color: var(--white);
  background: var(--twilight);
}

.error-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#302c70, #302c70) 8% 12% / 24% 33% no-repeat,
    linear-gradient(#302c70, #302c70) 72% 60% / 25% 38% no-repeat,
    linear-gradient(#302c70, #302c70) 44% 6% / 16% 18% no-repeat;
}

.error-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  text-align: center;
}

.error-content .brand {
  justify-content: center;
}

.error-code {
  margin-top: 48px;
  color: var(--lavender-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.error-content h1 {
  margin-top: 12px;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.12;
}

.error-content > p:not(.error-code) {
  margin-top: 20px;
  color: var(--overcast);
}

.error-content .button {
  margin-top: 36px;
}

@media (max-width: 1100px) {
  :root {
    --header-height: 96px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    width: 54px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-button);
  }

  html:not(.js) .mobile-menu-toggle {
    display: none;
  }

  .site-header.is-scrolled .mobile-menu-toggle,
  .site-header.has-open-menu .mobile-menu-toggle {
    border-color: rgba(37, 34, 74, 0.28);
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .mobile-menu {
    position: fixed;
    z-index: 2400;
    inset: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition:
      opacity 220ms ease,
      visibility 0s linear 300ms;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }

  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(37, 34, 74, 0.38);
  }

  .mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 620px);
    height: 100%;
    overflow: hidden auto;
    color: var(--twilight);
    background: var(--white);
    opacity: 0;
    transform: translateX(30px);
    transition:
      opacity 220ms ease,
      transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
    overscroll-behavior: contain;
  }

  .mobile-menu.is-open .mobile-menu-panel {
    opacity: 1;
    transform: translateX(0);
  }

  .mobile-menu-header {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    min-height: 96px;
    align-items: center;
    padding: 0 38px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
  }

  .mobile-menu-close {
    position: relative;
    width: 44px;
    height: 44px;
    margin-left: auto;
  }

  .mobile-menu-close span {
    position: absolute;
    top: 21px;
    left: 8px;
    width: 28px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
  }

  .mobile-menu-close span:last-child {
    transform: rotate(-45deg);
  }

  .mobile-menu-body {
    display: block;
    padding: 28px 38px 64px;
  }

  .mobile-accordion-trigger,
  .mobile-menu-secondary > a {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
  }

  .mobile-accordion-trigger i {
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform 180ms ease;
  }

  .mobile-accordion-trigger[aria-expanded="true"] {
    color: var(--cobalt);
  }

  .mobile-accordion-trigger[aria-expanded="true"] i {
    transform: translateY(3px) rotate(225deg);
  }

  .mobile-accordion-panel {
    display: grid;
    gap: 14px;
    padding: 4px 0 22px;
  }

  .mobile-accordion-panel[hidden] {
    display: none;
  }

  .mobile-menu-card {
    display: flex;
    min-height: 156px;
    flex-direction: column;
    justify-content: center;
    padding: 25px 28px;
    border-radius: 0 26px 26px 26px;
    background: var(--hawkes-blue);
  }

  .mobile-menu-card strong,
  .mobile-menu-card span {
    display: block;
  }

  .mobile-menu-card strong {
    font-size: 15px;
  }

  .mobile-menu-card span {
    margin-top: 8px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
  }

  .mobile-menu-secondary {
    display: grid;
    padding-top: 24px;
    margin-top: 14px;
    border-top: 1px dashed rgba(37, 34, 74, 0.28);
  }

  .no-script-nav {
    display: flex;
    gap: 12px;
    margin-left: auto;
    font-size: 13px;
  }

  .no-script-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: 32px;
  }

  .hero-visual {
    margin-right: -96px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 390px;
  }

  .feature-inner,
  .feature-inner-reverse {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    max-width: 760px;
  }

  .process-board {
    grid-template-columns: 1fr 1fr;
  }

  .process-board::before {
    display: none;
  }

  .feature-inner-reverse .ai-board {
    order: 2;
  }

  .feature-inner-reverse .feature-copy {
    order: 1;
  }

  .ai-board {
    min-height: 520px;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr 270px;
    gap: 44px;
    padding-inline: 48px;
  }

  .qr-card {
    width: 260px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    display: block;
    min-height: auto;
    padding-top: 128px;
  }

  .hero-copy {
    padding-bottom: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-visual {
    display: block;
    height: 440px;
    margin: 0 -20px;
  }

  .flow-window {
    inset: 0;
    padding-inline: 14px;
  }

  .flow-scene {
    grid-template-columns: minmax(150px, 1fr) 72px minmax(158px, 1fr);
    gap: 8px;
  }

  .evidence-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 0;
  }

  .evidence-inner > div {
    min-height: 104px;
  }

  .evidence-inner > div:nth-child(2n)::after,
  .evidence-inner > div:last-child::after {
    display: none;
  }

  .evidence-inner > div:last-child {
    grid-column: 1 / -1;
  }

  .service-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .process-board {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 48px 30px;
    border-radius: 0 34px 34px 34px;
  }

  .qr-card {
    width: min(100%, 360px);
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 54px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .dialog-shell {
    padding: 20px;
  }

  .cooperation-dialog {
    width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    padding: 46px 26px 30px;
    border-radius: 0 26px 26px 26px;
  }

  .dialog-grid {
    grid-template-columns: 1fr;
  }

  .subpage-header nav > a:not(.subpage-back) {
    display: none;
  }

  .legal-hero-inner {
    min-height: 360px;
  }

  .legal-content {
    width: calc(100% - 40px);
    padding-block: 72px 82px;
  }

  .subpage-footer .footer-bottom {
    display: block;
  }

  .subpage-footer .footer-legal {
    align-items: flex-start;
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 84px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 44px);
  }

  .brand {
    font-size: 20px;
  }

  .brand-mark {
    transform: scale(0.9);
    transform-origin: left center;
  }

  .mobile-menu-toggle {
    width: 38px;
    border: 0;
  }

  .mobile-menu-panel {
    width: 100%;
  }

  .mobile-menu-header {
    min-height: 84px;
    padding: 0 22px;
  }

  .mobile-menu-body {
    padding: 18px 22px 52px;
  }

  .mobile-accordion-trigger,
  .mobile-menu-secondary > a {
    min-height: 64px;
    font-size: 17px;
  }

  .mobile-menu-card {
    min-height: 178px;
    padding: 26px 28px;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-copy h1 {
    font-size: 35px;
    line-height: 1.18;
  }

  .hero-lede {
    margin-top: 20px;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    gap: 14px;
    margin-top: 30px;
  }

  .button {
    width: 100%;
    min-height: 60px;
  }

  .hero-note {
    line-height: 1.7;
  }

  .hero-visual {
    height: 410px;
    margin-inline: -12px;
  }

  .flow-window {
    padding-inline: 4px;
  }

  .flow-sequence {
    gap: 18px;
    padding-bottom: 18px;
  }

  .flow-scene {
    min-height: 186px;
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
    gap: 5px;
  }

  .flow-document {
    min-height: 156px;
    padding: 12px;
    border-radius: 0 14px 14px 14px;
  }

  .flow-document-head {
    min-height: 28px;
    gap: 6px;
  }

  .flow-avatar {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    font-size: 9px;
  }

  .flow-document small,
  .flow-transfer span {
    font-size: 8px;
  }

  .flow-document > strong {
    margin-top: 14px;
    font-size: 12px;
  }

  .flow-document > p {
    font-size: 8px;
  }

  .flow-document-lines {
    gap: 5px;
    margin-top: 15px;
  }

  .evidence-inner {
    display: flex;
    min-height: 440px;
    flex-direction: column;
    padding: 0 22px;
  }

  .evidence-inner > div,
  .evidence-inner > div:last-child {
    width: 100%;
    min-height: 88px;
  }

  .evidence-inner > div:not(:last-child)::after,
  .evidence-inner > div:nth-child(2n)::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    display: block;
    width: 76px;
    height: 1px;
    border-right: 0;
    border-bottom: 1px dashed rgba(175, 185, 222, 0.55);
    transform: translateX(-50%);
  }

  .evidence-inner > div:last-child::after {
    display: none;
  }

  .services,
  .methods,
  .solutions {
    padding: 82px 0 90px;
  }

  .section-heading h2,
  .feature-copy h2,
  .contact-copy h2 {
    font-size: 30px;
    line-height: 1.25;
  }

  .section-heading > p:last-child,
  .feature-copy > p,
  .contact-copy > p {
    line-height: 1.75;
  }

  .service-grid,
  .solution-grid {
    margin-top: 46px;
  }

  .service-card {
    padding: 28px 25px;
  }

  .feature,
  .feature-ai {
    padding: 86px 0;
  }

  .feature-inner,
  .feature-inner-reverse {
    gap: 48px;
  }

  .process-board {
    padding: 18px;
  }

  .process-board li {
    grid-template-columns: 58px 1fr;
    padding-right: 12px;
  }

  .process-board li > span {
    margin-left: 12px;
  }

  .ai-board {
    min-height: 430px;
    margin-inline: -22px;
    border-radius: 0;
  }

  .ai-window {
    width: calc(100% - 44px);
    padding: 26px 20px;
  }

  .ai-flow {
    gap: 5px;
  }

  .ai-flow b {
    padding-inline: 6px;
    font-size: 9px;
  }

  .method-showcase {
    margin-top: 48px;
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .method-card {
    min-height: 310px;
  }

  .solution-body {
    padding: 28px 24px 24px;
  }

  .contact {
    padding: 0;
    background: var(--white);
  }

  .contact .container {
    width: 100%;
  }

  .contact-panel {
    padding: 80px 22px;
    border-radius: 0;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-top: 84px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
    margin-top: 62px;
  }

  .footer-legal {
    align-items: flex-start;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .flow-track,
  .flow-transfer b {
    animation: none !important;
  }
}
