@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope/manrope-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --color-navy: #0b1f3a;
  --color-navy-light: #102a4c;
  --color-blue: #2563eb;
  --color-magenta: #d946ef;
  --color-background: #f7f9fc;
  --color-white: #ffffff;
  --color-text: #111827;
  --color-text-muted: #5b6472;
  --color-border: #dce3ec;
  --color-surface: #ffffff;
  --color-card: #ffffff;
  --color-interactive: #2563eb;
  --color-interactive-hover: #1d4ed8;
  --color-on-interactive: #ffffff;
  --color-on-dark: #ffffff;
  --color-header-background: rgb(255 255 255 / 86%);
  --color-menu-hover: #f7f9fc;
  --color-button-border: #9aabc1;
  --color-eyebrow-background: #edf3ff;
  --color-eyebrow-border: #c8d8f8;
  --color-eyebrow-text: #1746a2;
  --color-icon-background: #edf3ff;
  --color-step: #7d8796;
  --color-flow-label: #c8d8f8;
  --color-backdrop: rgb(11 31 58 / 42%);
  --color-control-background: rgb(255 255 255 / 88%);
  --hero-gradient: linear-gradient(145deg, #0b1f3a 0%, #102a4c 100%);
  --container: 1200px;
  --radius: 14px;
  --header-height: 72px;
  --shadow-soft: 0 16px 38px rgb(4 19 38 / 10%);
  --shadow-header: 0 8px 28px rgb(11 31 58 / 6%);
  --shadow-visual: 0 24px 56px rgb(11 31 58 / 18%);
  --transition: 220ms ease;
  color-scheme: light;
}

[data-theme="dark"] {
  --color-navy: #f5f7fb;
  --color-navy-light: #14243b;
  --color-blue: #4f7cff;
  --color-background: #07111f;
  --color-white: #f5f7fb;
  --color-text: #f5f7fb;
  --color-text-muted: #aab5c5;
  --color-border: #273a55;
  --color-surface: #0f1e33;
  --color-card: #14243b;
  --color-interactive: #4f7cff;
  --color-interactive-hover: #6b91ff;
  --color-on-interactive: #07111f;
  --color-on-dark: #f5f7fb;
  --color-header-background: rgb(7 17 31 / 88%);
  --color-menu-hover: #14243b;
  --color-button-border: #50627b;
  --color-eyebrow-background: #0f1e33;
  --color-eyebrow-border: #273a55;
  --color-eyebrow-text: #b9c9ff;
  --color-icon-background: #0f1e33;
  --color-step: #aab5c5;
  --color-flow-label: #aab5c5;
  --color-backdrop: rgb(2 7 15 / 72%);
  --color-control-background: rgb(15 30 51 / 92%);
  --hero-gradient: linear-gradient(145deg, #0f1e33 0%, #14243b 100%);
  --shadow-soft: 0 16px 38px rgb(0 0 0 / 28%);
  --shadow-header: 0 8px 28px rgb(0 0 0 / 24%);
  --shadow-visual: 0 24px 56px rgb(0 0 0 / 34%);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-background);
  color: var(--color-text);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  position: fixed;
  width: 100%;
  padding-right: var(--scrollbar-compensation, 0px);
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-magenta);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-navy);
  font-weight: 700;
  transition: transform var(--transition);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-bottom-color: var(--color-border);
  background: var(--color-header-background);
  box-shadow: var(--shadow-header);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.menu-open .site-header {
  padding-right: var(--scrollbar-compensation, 0px);
}

.header-inner {
  display: flex;
  width: min(100% - 32px, var(--container));
  min-height: var(--header-height);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  position: relative;
  z-index: 2;
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}

.header-controls {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.menu-toggle {
  display: inline-flex;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-control-background);
  color: var(--color-navy);
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--color-interactive);
  background: var(--color-menu-hover);
  color: var(--color-interactive);
}

.theme-toggle__icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="light"] .theme-toggle__icon--sun,
[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.menu-toggle__line {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-navigation {
  position: absolute;
  top: calc(100% + 1px);
  right: 16px;
  left: 16px;
  display: none;
  padding: 16px;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.site-navigation.is-open {
  display: flex;
}

.site-navigation > a:not(.button) {
  display: flex;
  min-height: 48px;
  padding-inline: 14px;
  align-items: center;
  border-radius: 10px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
}

.site-navigation > a:not(.button):hover {
  background: var(--color-menu-hover);
  color: var(--color-interactive);
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary,
.button--header {
  background: var(--color-interactive);
  color: var(--color-on-interactive);
  box-shadow: 0 9px 22px rgb(37 99 235 / 22%);
}

.button--primary:hover,
.button--header:hover {
  background: var(--color-interactive-hover);
  box-shadow: 0 12px 28px rgb(37 99 235 / 28%);
}

.button--secondary {
  border-color: var(--color-button-border);
  background: transparent;
  color: var(--color-navy);
}

.button--secondary:hover {
  border-color: var(--color-interactive);
  background: var(--color-surface);
  color: var(--color-interactive);
}

.button--header {
  margin-top: 8px;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 124px) 0 64px;
  display: grid;
  align-items: center;
}

.store-teaser {
  position: absolute;
  top: calc(var(--header-height) + 18px);
  left: 50%;
  z-index: 2;
  display: flex;
  width: min(100% - 32px, var(--container));
  min-height: 52px;
  padding: 10px 14px;
  align-items: center;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--color-interactive) 28%, var(--color-border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  color: var(--color-text);
  box-shadow: 0 12px 34px rgb(11 31 58 / 8%);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.store-teaser:hover {
  border-color: var(--color-interactive);
  box-shadow: 0 14px 36px rgb(37 99 235 / 14%);
  transform: translateX(-50%) translateY(-2px);
}

.store-teaser__status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: var(--color-interactive);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-teaser__status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-magenta);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--color-magenta) 15%, transparent);
  animation: store-pulse 2.4s ease-in-out infinite;
}

.store-teaser__message {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.4;
}

.store-teaser__action {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--color-interactive);
  font-size: 14px;
  font-weight: 700;
}

@keyframes store-pulse {
  50% {
    transform: scale(1.2);
    opacity: 0.72;
  }
}

@media (max-width: 599px) {
  .store-teaser {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
  }

  .store-teaser__message {
    grid-column: 1 / -1;
    font-size: 12px;
  }

  .store-teaser__action {
    margin-left: 0;
    font-size: 12px;
  }
}

.hero__inner {
  display: grid;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  gap: 48px;
}

.hero__content {
  align-self: center;
  animation: enter-up 280ms ease-out both;
}

.hero__eyebrow {
  display: inline-flex;
  min-height: 34px;
  margin: 0 0 20px;
  padding: 7px 12px;
  align-items: center;
  border: 1px solid var(--color-eyebrow-border);
  border-radius: 999px;
  background: var(--color-eyebrow-background);
  color: var(--color-eyebrow-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero__lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 400;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions .button {
  flex: 1 1 190px;
}

.hero__visual {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  background: var(--hero-gradient);
  box-shadow: var(--shadow-visual);
  isolation: isolate;
  animation: enter-up 300ms 60ms ease-out both;
}

.hero__visual::before {
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  top: -90px;
  right: -70px;
  border: 1px solid rgb(217 70 239 / 30%);
  border-radius: 50%;
  content: "";
}

.flow-heading {
  margin-bottom: 22px;
  color: var(--color-on-dark);
}

.flow-heading__label {
  margin: 0 0 7px;
  color: var(--color-flow-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow-heading h2 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.2;
}

.process-flow {
  display: grid;
  padding: 0;
  margin: 0;
  gap: 14px;
  list-style: none;
}

.flow-card {
  position: relative;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: 0 10px 24px rgb(4 19 38 / 9%);
}

.flow-card:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: -23px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 3px solid var(--color-navy-light);
  border-radius: 50%;
  background: var(--color-interactive);
  color: var(--color-on-interactive);
  content: "↓";
  font-size: 16px;
  font-weight: 700;
}

.flow-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 12px;
  background: var(--color-icon-background);
  color: var(--color-interactive);
}

.flow-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-card__step {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--color-step);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.flow-card h3 {
  margin: 0;
  color: var(--color-navy);
  font-size: 17px;
  line-height: 1.3;
}

.flow-card p {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.services {
  padding: 76px 0 88px;
  scroll-margin-top: var(--header-height);
  background: var(--color-background);
}

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

.services__header {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-label,
.service-card__label {
  color: var(--color-interactive);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.section-label {
  margin: 0 0 14px;
}

.services h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.services__intro {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
}

.services__grid {
  display: grid;
  gap: 20px;
}

.service-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  padding: 24px;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: 0 12px 30px rgb(4 19 38 / 7%);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

[data-theme="dark"] .service-card {
  box-shadow: 0 12px 30px rgb(0 0 0 / 22%);
}

.service-card__visual {
  display: grid;
  min-height: 150px;
  margin-bottom: 24px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-interactive);
}

.service-card__visual svg {
  display: block;
  width: min(100%, 280px);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-graphic__module,
.service-graphic__node {
  fill: var(--color-card);
  stroke: var(--color-interactive);
}

.service-graphic__module--accent,
.service-graphic__signal {
  fill: var(--color-magenta);
  stroke: var(--color-magenta);
}

.service-graphic__connection {
  stroke: var(--color-interactive);
  stroke-dasharray: 5 6;
}

.service-graphic__direction,
.service-graphic__detail {
  stroke: var(--color-interactive);
}

.service-card__label {
  margin: 0 0 12px;
}

.service-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.22;
}

.service-card > p:last-child {
  margin: 14px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.projects {
  padding: 68px 0 76px;
  scroll-margin-top: var(--header-height);
  background: var(--color-surface);
}

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

.projects__header {
  max-width: 780px;
  margin-bottom: 32px;
}

.projects h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(29px, 4.25vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.projects__intro {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
}

.projects__list {
  display: grid;
  gap: 18px;
}

.project-card {
  display: grid;
  min-width: 0;
  padding: clamp(20px, 4vw, 38px);
  gap: 26px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: 0 16px 38px rgb(4 19 38 / 8%);
}

[data-theme="dark"] .project-card {
  box-shadow: 0 16px 38px rgb(0 0 0 / 24%);
}

.project-card__content {
  min-width: 0;
  align-self: center;
}

.project-card__status {
  display: inline-flex;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 6px 10px;
  align-items: center;
  border: 1px solid var(--color-eyebrow-border);
  border-radius: 999px;
  background: var(--color-eyebrow-background);
  color: var(--color-eyebrow-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.project-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(24px, 3.4vw, 35px);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.project-card__content > p:last-child {
  max-width: 520px;
  margin: 15px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
}

.project-card__visual {
  min-width: 0;
  padding: clamp(10px, 2.5vw, 20px);
  align-self: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-icon-background);
}

.project-card__visual svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 272px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-graphic__connection,
.project-graphic__route {
  stroke: var(--color-interactive);
  stroke-width: 3;
  stroke-dasharray: 8 9;
}

.project-graphic__pulse {
  fill: none;
  stroke: var(--color-magenta);
  stroke-width: 2;
  stroke-dasharray: 5 9;
  opacity: 0.6;
}

.project-graphic__core,
.project-graphic__confirmation {
  fill: var(--color-interactive);
  stroke: var(--color-interactive);
  stroke-width: 2;
}

.project-graphic__core-mark,
.project-graphic__confirmation-mark {
  stroke: var(--color-on-interactive);
  stroke-width: 4;
}

.project-graphic__module,
.project-graphic__document,
.project-graphic__stage {
  fill: var(--color-card);
  stroke: var(--color-border);
  stroke-width: 3;
}

.project-graphic__detail,
.project-graphic__document-fold,
.project-graphic__stage-mark,
.project-graphic__arrow {
  stroke: var(--color-interactive);
  stroke-width: 3;
}

.project-graphic__signal {
  fill: var(--color-magenta);
  stroke: var(--color-card);
  stroke-width: 3;
}

.project-graphic__stage-caption {
  stroke: var(--color-text-muted);
  stroke-width: 4;
  opacity: 0.55;
}

.about {
  padding: 76px 0 88px;
  scroll-margin-top: var(--header-height);
  background: var(--color-background);
}

.about__inner {
  display: grid;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  gap: 44px;
}

.about__header {
  max-width: 720px;
}

.about h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

.about__intro {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
}

.principles {
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}

.principle {
  display: grid;
  padding: 22px 0;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--color-border);
  background: transparent;
}

.principle:last-child {
  border-bottom: 1px solid var(--color-border);
}

.principle__number {
  padding-top: 3px;
  color: var(--color-magenta);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.principle h3 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.25;
}

.principle p {
  margin: 8px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.about-flow {
  min-width: 0;
  padding: clamp(18px, 4vw, 34px);
  align-self: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 16px 38px rgb(4 19 38 / 7%);
}

[data-theme="dark"] .about-flow {
  background: var(--color-surface);
  box-shadow: 0 16px 38px rgb(0 0 0 / 22%);
}

.about-flow svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-flow__path,
.about-flow__arrow {
  stroke: var(--color-interactive);
  stroke-width: 3;
}

.about-flow__path {
  stroke-dasharray: 7 8;
}

.about-flow__stage > rect {
  fill: var(--color-card);
  stroke: var(--color-border);
  stroke-width: 2;
}

.about-flow__stage text {
  fill: var(--color-magenta);
  stroke: none;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-flow__disorder,
.about-flow__cluster,
.about-flow__detail,
.about-flow__structure,
.about-flow__cycle {
  stroke: var(--color-interactive);
  stroke-width: 3;
}

.about-flow__cluster,
.about-flow__structure {
  fill: var(--color-icon-background);
}

.about-flow__signal {
  fill: var(--color-magenta);
  stroke: var(--color-magenta);
}

.about-flow__stage--continuous > rect {
  stroke-dasharray: 7 7;
}

.commerce-digital {
  padding: 64px 0 72px;
  scroll-margin-top: var(--header-height);
  background: var(--color-surface);
}

.commerce-digital__inner {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.commerce-digital__panel {
  display: grid;
  min-width: 0;
  padding: clamp(24px, 5vw, 38px);
  gap: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: 0 12px 30px rgb(4 19 38 / 6%);
}

[data-theme="dark"] .commerce-digital__panel {
  background: var(--color-surface);
  box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
}

.commerce-digital__content {
  min-width: 0;
  padding-bottom: 24px;
  align-self: center;
}

.commerce-digital h2 {
  max-width: 680px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.commerce-digital__intro {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.commerce-digital__visual {
  min-width: 0;
  padding: clamp(12px, 3vw, 22px);
  align-self: center;
  border-radius: var(--radius);
  background: var(--color-icon-background);
}

.commerce-digital__visual svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 250px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.commerce-flow__connection,
.commerce-flow__arrow {
  stroke: var(--color-interactive);
  stroke-width: 3;
}

.commerce-flow__connection {
  stroke-dasharray: 7 8;
}

.commerce-flow__accent {
  fill: var(--color-magenta);
  stroke: var(--color-magenta);
}

.commerce-flow__product,
.commerce-flow__browser,
.commerce-flow__client {
  stroke: var(--color-interactive);
  stroke-width: 3;
}

.commerce-flow__browser rect,
.commerce-flow__product path:first-child {
  fill: var(--color-card);
}

.commerce-flow__browser circle {
  fill: var(--color-magenta);
  stroke: none;
}

.commerce-flow__receipt {
  stroke: var(--color-magenta);
  stroke-width: 4;
}

.commerce-flow__receipt-ring {
  stroke: var(--color-magenta);
  stroke-width: 2;
  stroke-dasharray: 5 7;
}

.contact {
  padding: 76px 0 88px;
  scroll-margin-top: var(--header-height);
  background: var(--color-background);
}

.contact__inner {
  display: grid;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  gap: 40px;
}

.contact__content {
  min-width: 0;
}

.contact h2 {
  max-width: 620px;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;
}

.contact__intro {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--color-text-muted);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
}

.contact__notes {
  display: grid;
  padding: 0;
  margin: 30px 0 0;
  gap: 12px;
  list-style: none;
}

.contact__notes li {
  position: relative;
  padding-left: 24px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.contact__notes li::before {
  position: absolute;
  width: 9px;
  height: 9px;
  top: 7px;
  left: 0;
  border: 2px solid var(--color-interactive);
  border-radius: 50%;
  content: "";
}

.contact-form {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: 0 16px 38px rgb(4 19 38 / 8%);
}

[data-theme="dark"] .contact-form {
  background: var(--color-surface);
  box-shadow: 0 16px 38px rgb(0 0 0 / 24%);
}

.contact-form__grid {
  display: grid;
  gap: 18px;
}

.form-field {
  min-width: 0;
}

.form-field label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}

.form-field__optional {
  margin-left: 6px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
}

.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-background);
  color: var(--color-text);
  font: inherit;
  transition:
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.form-field input:not([type="checkbox"]),
.form-field select {
  min-height: 52px;
  padding: 12px 14px;
}

.form-field textarea {
  min-height: 160px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:not([type="checkbox"]):hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--color-button-border);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--color-magenta);
  outline: 3px solid color-mix(in srgb, var(--color-magenta) 32%, transparent);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--color-magenta);
}

.form-field [aria-invalid="true"]:not([type="checkbox"]) {
  border-color: #b42318;
  box-shadow: 0 0 0 1px #b42318;
}

[data-theme="dark"] .form-field [aria-invalid="true"]:not([type="checkbox"]) {
  border-color: #ff8a80;
  box-shadow: 0 0 0 1px #ff8a80;
}

.form-field__help,
.form-field__error {
  font-size: 13px;
  line-height: 1.45;
}

.form-field__help {
  margin: 7px 0 0;
  color: var(--color-text-muted);
}

.form-field__error {
  min-height: 19px;
  margin: 6px 0 0;
  color: #a31515;
  font-weight: 600;
}

[data-theme="dark"] .form-field__error {
  color: #ffaaa3;
}

.privacy-control {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.privacy-control input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--color-interactive);
}

.privacy-control input[aria-invalid="true"] {
  outline: 2px solid #b42318;
  outline-offset: 2px;
}

.privacy-control label {
  margin: 0;
  font-weight: 500;
}

.contact-form__actions {
  display: grid;
  gap: 12px;
}

.contact-form__submit {
  width: 100%;
  min-height: 48px;
  cursor: pointer;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.contact-form__status {
  min-height: 24px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-form__status.is-informative {
  padding: 10px 12px;
  border-left: 3px solid var(--color-interactive);
  border-radius: 6px;
  background: var(--color-icon-background);
  color: var(--color-text);
}

.site-footer {
  border-top: 1px solid #273a55;
  background: #0b1f3a;
  color: #f5f7fb;
}

[data-theme="dark"] .site-footer {
  border-top-color: #273a55;
  background: #0f1e33;
}

.site-footer__inner {
  display: grid;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  padding: 48px 0 24px;
  gap: 34px;
}

.site-footer__identity,
.site-footer__navigation,
.site-footer__information {
  min-width: 0;
}

.site-footer__wordmark {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}

.site-footer__tagline {
  max-width: 360px;
  margin: 16px 0 0;
  color: #aab5c5;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer__heading {
  margin: 0 0 14px;
  color: #f5f7fb;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.site-footer__links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 4px;
  list-style: none;
}

.site-footer__links a,
.site-footer__links span,
.site-footer__closing a {
  color: #c7d2e2;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer__links a,
.site-footer__closing a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--transition);
}

.site-footer__links a:hover,
.site-footer__closing a:hover {
  color: #7fa0ff;
}

.site-footer__links span {
  display: block;
  padding-block: 11px;
}

.site-footer__closing {
  display: flex;
  padding-top: 22px;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #273a55;
}

.site-footer__closing p {
  margin: 0;
  color: #aab5c5;
  font-size: 13px;
  line-height: 1.6;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(12px);
}

.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 240ms ease-out, transform 240ms ease-out;
}

.section-anchor {
  min-height: 1px;
  scroll-margin-top: var(--header-height);
}

.menu-backdrop {
  position: fixed;
  z-index: 90;
  inset: var(--header-height) 0 0;
  visibility: hidden;
  opacity: 0;
  background: var(--color-backdrop);
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

body.menu-open .menu-backdrop {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 600px) {
  .hero__actions .button {
    flex: 0 0 auto;
  }

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

  .flow-card:not(:last-child)::after {
    right: -23px;
    bottom: 22px;
    content: "→";
  }

  .flow-card:nth-child(2)::after {
    right: 22px;
    bottom: -23px;
    content: "↓";
  }
}

@media (min-width: 640px) {
  .site-footer__inner {
    width: min(100% - 64px, var(--container));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }

  .site-footer__identity,
  .site-footer__closing {
    grid-column: 1 / -1;
  }

  .site-footer__closing {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 700px) {
  .services {
    padding: 96px 0 104px;
  }

  .services__inner {
    width: min(100% - 64px, var(--container));
  }

  .services__header {
    margin-bottom: 48px;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .service-card:nth-child(3) {
    width: calc((100% - 24px) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .projects {
    padding: 82px 0 88px;
  }

  .projects__inner {
    width: min(100% - 64px, var(--container));
  }

  .projects__header {
    margin-bottom: 38px;
  }

  .about {
    padding: 96px 0 104px;
  }

  .about__inner {
    width: min(100% - 64px, var(--container));
  }

  .contact {
    padding: 96px 0 104px;
  }

  .contact__inner {
    width: min(100% - 64px, var(--container));
  }
}

@media (min-width: 760px) {
  .commerce-digital {
    padding: 72px 0 80px;
  }

  .commerce-digital__inner {
    width: min(100% - 64px, var(--container));
  }

  .commerce-digital__panel {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    align-items: center;
    gap: clamp(32px, 5vw, 60px);
  }
}

@media (min-width: 820px) {
  .project-card {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    align-items: center;
    gap: clamp(36px, 5vw, 64px);
  }

  .project-card--tax {
    grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
  }

  .project-card--tax .project-card__content {
    grid-column: 2;
    grid-row: 1;
  }

  .project-card--tax .project-card__visual {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (min-width: 900px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    width: min(100% - 64px, var(--container));
  }

  .menu-toggle {
    display: none;
  }

  .header-controls {
    order: 3;
    margin-left: 8px;
  }

  .theme-toggle {
    width: 46px;
    height: 46px;
  }

  .site-navigation {
    position: static;
    display: flex;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    order: 2;
    margin-left: auto;
  }

  .site-navigation > a:not(.button) {
    min-height: 44px;
    padding-inline: 13px;
  }

  .button--header {
    min-height: 46px;
    margin: 0 0 0 8px;
    padding-inline: 20px;
  }

  .menu-backdrop {
    display: none;
  }

  .hero {
    padding: calc(var(--header-height) + 112px) 0 72px;
  }

  .hero__inner {
    width: min(100% - 64px, var(--container));
    grid-template-columns: minmax(0, 52fr) minmax(460px, 48fr);
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
  }

  .hero__visual {
    padding: clamp(28px, 3vw, 38px);
  }

  .about__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    align-items: center;
    gap: clamp(48px, 6vw, 80px);
  }

  .contact__inner {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    align-items: start;
    gap: clamp(48px, 6vw, 80px);
  }

  .contact-form {
    padding: 32px;
  }

  .contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
  }

  .form-field--full {
    grid-column: 1 / -1;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1.8fr) minmax(160px, 0.7fr) minmax(190px, 0.8fr);
    column-gap: clamp(48px, 7vw, 96px);
  }

  .site-footer__identity {
    grid-column: auto;
  }
}

@media (min-width: 1050px) {
  .services {
    padding: 112px 0 120px;
  }

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

  .service-card:nth-child(3) {
    width: auto;
    grid-column: auto;
    justify-self: stretch;
  }

  .projects {
    padding: 96px 0 102px;
  }

  .about {
    padding: 112px 0 120px;
  }

  .contact {
    padding: 112px 0 120px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-interactive);
    box-shadow: 0 16px 34px rgb(4 19 38 / 10%);
  }

  [data-theme="dark"] .service-card:hover {
    box-shadow: 0 16px 34px rgb(0 0 0 / 28%);
  }
}

@media (min-width: 1280px) {
  .store-teaser,
  .hero__inner,
  .header-inner,
  .projects__inner,
  .about__inner,
  .commerce-digital__inner,
  .contact__inner,
  .site-footer__inner {
    width: min(100% - 96px, var(--container));
  }
}

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

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

  .button:hover {
    transform: none;
  }

  .store-teaser:hover {
    transform: translateX(-50%);
  }

  .reveal-pending,
  .reveal-pending.is-visible {
    opacity: 1;
    transform: none;
  }
}
