:root {
  color-scheme: dark;
  --bg: #030712;
  --bg-soft: #07111f;
  --panel: rgba(8, 18, 34, 0.82);
  --panel-strong: rgba(10, 24, 45, 0.96);
  --panel-deep: rgba(4, 10, 21, 0.92);
  --text: #f5f8ff;
  --muted: #9eabc2;
  --muted-strong: #c5d0e4;
  --line: rgba(132, 170, 219, 0.18);
  --line-strong: rgba(105, 174, 255, 0.42);
  --blue: #226dff;
  --blue-soft: #0f3e83;
  --cyan: #45d7ff;
  --ice: #b8e6ff;
  --green: #54e69b;
  --shadow: rgba(0, 0, 0, 0.46);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  font-family: Arial, Helvetica, "Segoe UI", Roboto, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(5, 13, 28, 0.94), rgba(3, 7, 18, 1) 48%, #02050d 100%),
    repeating-linear-gradient(90deg, rgba(69, 215, 255, 0.035) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(69, 215, 255, 0.025) 0 1px, transparent 1px 72px);
  font-family: Arial, Helvetica, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 38%, rgba(34, 109, 255, 0.12) 38% 39%, transparent 39% 100%),
    linear-gradient(62deg, transparent 0 58%, rgba(69, 215, 255, 0.08) 58% 59%, transparent 59% 100%),
    linear-gradient(180deg, rgba(14, 44, 91, 0.18), transparent 42%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 36%,
    rgba(184, 230, 255, 0.07) 48%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-70%);
  animation: page-scan 9s linear infinite;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

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

button,
a,
input,
select,
textarea {
  outline-color: var(--cyan);
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(69, 215, 255, 0.18), rgba(34, 109, 255, 0.1)),
    #06101e;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(34, 109, 255, 0.24);
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__logo span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.brand__name {
  font-weight: 900;
  font-size: 20px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  border-color: rgba(69, 215, 255, 0.42);
  background: rgba(34, 109, 255, 0.15);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

#app {
  min-height: calc(100vh - 156px);
}

.hero {
  position: relative;
  min-height: clamp(650px, 82vh, 860px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: 42px;
  padding: 92px max(32px, calc((100vw - 1180px) / 2)) 86px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.96), rgba(3, 12, 27, 0.78) 58%, rgba(7, 17, 31, 0.7)),
    repeating-linear-gradient(90deg, rgba(69, 215, 255, 0.06) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(69, 215, 255, 0.04) 0 1px, transparent 1px 92px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: auto 0 0;
  height: 180px;
  background:
    linear-gradient(90deg, transparent, rgba(34, 109, 255, 0.35), transparent),
    linear-gradient(180deg, transparent, rgba(3, 7, 18, 0.94));
  filter: blur(18px);
  opacity: 0.9;
}

.hero::after {
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 42%, rgba(69, 215, 255, 0.1) 42% 43%, transparent 43% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 6px);
  opacity: 0.42;
  transform: translateX(-45%);
  animation: hero-sweep 7.5s ease-in-out infinite;
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.page-section h1,
.legal h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 10ch;
  text-shadow: 0 0 34px rgba(34, 109, 255, 0.28);
}

.hero__slogan {
  max-width: 680px;
  margin: 24px 0 0;
  color: #dce7f8;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
}

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

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__chips span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(184, 230, 255, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  color: #e8f4ff;
  background: rgba(9, 22, 43, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.hero__visual {
  min-height: 460px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.system-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 109, 255, 0.18), rgba(5, 13, 28, 0.92)),
    var(--panel);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48), 0 0 42px rgba(34, 109, 255, 0.14);
  backdrop-filter: blur(16px);
}

.system-card::before {
  position: absolute;
  inset: 0;
  content: "";
  border-left: 4px solid var(--cyan);
  background: linear-gradient(90deg, rgba(69, 215, 255, 0.16), transparent 42%);
  pointer-events: none;
}

.system-card--main {
  min-height: 330px;
  padding: 24px;
}

.system-card--terminal {
  width: min(390px, 92%);
  justify-self: end;
  display: grid;
  gap: 10px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(69, 215, 255, 0.12), transparent 46%),
    #050c18;
}

.system-card__bar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-bottom: 44px;
}

.system-card__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(69, 215, 255, 0.55);
}

.system-card--main > strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
}

.system-card--main > p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 18px;
}

.signal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.signal-grid span {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(184, 230, 255, 0.14);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(3, 8, 18, 0.42);
}

.signal-grid strong,
.signal-grid small,
.terminal-line {
  position: relative;
  z-index: 1;
}

.signal-grid strong {
  font-size: 18px;
}

.signal-grid small,
.terminal-line {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.terminal-line {
  min-height: 32px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(69, 215, 255, 0.15);
  border-radius: var(--radius);
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.04);
}

.terminal-line::before {
  content: ">";
  margin-right: 8px;
  color: var(--cyan);
}

.button {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, filter 180ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-115%);
  transition: transform 500ms ease;
}

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

.button:hover::before {
  transform: translateX(115%);
}

.button--primary {
  background: linear-gradient(180deg, #2f83ff, #0f49ae);
  box-shadow: 0 16px 34px rgba(34, 109, 255, 0.35);
}

.button--primary:hover {
  filter: brightness(1.08);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(8, 18, 34, 0.76);
}

.button--ghost:hover {
  border-color: rgba(69, 215, 255, 0.5);
  background: rgba(34, 109, 255, 0.15);
}

.section,
.page-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.page-section.compact {
  width: min(900px, calc(100% - 48px));
}

.intro-band {
  padding-top: 62px;
}

.section__header {
  max-width: 790px;
  margin-bottom: 30px;
}

.section__header.centered {
  margin-inline: auto;
  text-align: center;
}

.section__header h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.section__header p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.section__header strong {
  color: var(--text);
}

.feature-grid,
.info-grid,
.service-grid,
.project-grid,
.process-grid,
.team-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

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

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

.feature-card,
.info-card,
.service-card,
.project-card,
.process-card,
.contact-card,
.message-panel,
.accordion__item,
.pulse-panel,
.team-role {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 42px var(--shadow);
}

.feature-card,
.info-card,
.service-card,
.project-card,
.process-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::after,
.info-card::after,
.service-card::after,
.project-card::after,
.process-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent);
  opacity: 0.62;
}

.feature-card:hover,
.info-card:hover,
.service-card:hover,
.project-card:hover,
.process-card:hover {
  border-color: rgba(69, 215, 255, 0.44);
  background: var(--panel-strong);
  transform: translateY(-4px);
}

.feature-card__marker {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 4px;
  display: block;
  margin-bottom: 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.feature-card h3,
.info-card h2,
.service-card h2,
.project-card h2,
.process-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p,
.info-card p,
.service-card p,
.project-card p,
.process-card p,
.legal p,
.message-panel p,
.contact-card p,
.pulse-panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-card__tag,
.project-card span,
.process-card span,
.info-card__number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(69, 215, 255, 0.34);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ice);
  background: rgba(69, 215, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card ul {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(184, 230, 255, 0.14);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 28px;
}

.pulse-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.pulse-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, rgba(34, 109, 255, 0.16), transparent 45%, rgba(69, 215, 255, 0.12));
  opacity: 0.9;
}

.pulse-panel__line {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
  background-size: 240% 100%;
  animation: color-slide 3.2s linear infinite;
}

.pulse-panel strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.stat-pill {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--panel-deep);
}

.stat-pill strong {
  color: var(--cyan);
  font-size: 20px;
}

.stat-pill span {
  color: var(--muted-strong);
  font-weight: 800;
}

.team-section {
  padding-top: 42px;
}

.team-list {
  align-items: start;
}

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

.team-role {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(34, 109, 255, 0.14), transparent 42%),
    rgba(8, 18, 34, 0.86);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.team-role::before {
  position: absolute;
  inset: 0;
  content: "";
  border-left: 4px solid var(--team-accent, var(--cyan));
  background: linear-gradient(90deg, color-mix(in srgb, var(--team-accent, var(--cyan)) 18%, transparent), transparent 42%);
  opacity: 0.72;
  pointer-events: none;
}

.team-role:hover {
  border-color: color-mix(in srgb, var(--team-accent, var(--cyan)) 70%, white 0%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  transform: translateY(-4px);
}

.team-role--owner {
  --team-accent: #45d7ff;
}

.team-role--lead {
  --team-accent: #5d95ff;
}

.team-role--management {
  --team-accent: #54e69b;
}

.team-role--teamlead {
  --team-accent: #88b8ff;
}

.team-role__head,
.team-role__members {
  position: relative;
  z-index: 1;
}

.team-role__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-role__head span {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.team-role__head small {
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--team-accent, var(--cyan)) 82%, white 18%);
  font-size: 12px;
  font-weight: 900;
}

.team-role__members {
  display: grid;
  gap: 12px;
}

.team-member {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.team-member__avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--team-accent, var(--cyan)) 62%, white 0%);
  border-radius: var(--radius);
  color: var(--text);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--team-accent, var(--cyan)) 30%, transparent), rgba(255, 255, 255, 0.04));
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 0 22px color-mix(in srgb, var(--team-accent, var(--cyan)) 18%, transparent);
}

.team-member strong,
.team-member a {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.team-member strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.team-member__links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.team-member a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--team-accent, var(--cyan)) 45%, transparent);
  border-radius: 999px;
  padding: 0 10px;
  color: color-mix(in srgb, var(--team-accent, var(--cyan)) 82%, white 18%);
  background: color-mix(in srgb, var(--team-accent, var(--cyan)) 12%, transparent);
  font-size: 13px;
  font-weight: 800;
}

.team-member a:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--team-accent, var(--cyan)) 75%, white 0%);
  background: color-mix(in srgb, var(--team-accent, var(--cyan)) 22%, transparent);
}

.seo-fallback {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion__item {
  overflow: hidden;
}

.accordion__trigger {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border: 0;
  color: var(--text);
  background: transparent;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.accordion__trigger span:last-child {
  flex: 0 0 auto;
  color: var(--cyan);
  font-size: 24px;
}

.accordion__panel {
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-page {
  width: min(1080px, calc(100% - 48px));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 42px var(--shadow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #050c18;
  padding: 0 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--cyan) 50%) calc(100% - 18px) 20px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--cyan) 50%, transparent 50%) calc(100% - 12px) 20px / 7px 7px no-repeat,
    #050c18;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(69, 215, 255, 0.62);
  background: #081528;
  box-shadow: 0 0 0 4px rgba(69, 215, 255, 0.1);
}

textarea {
  min-height: 150px;
  padding-top: 12px;
  resize: vertical;
}

.form-status,
.muted {
  color: var(--muted);
}

.form-privacy {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-privacy a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(34, 109, 255, 0.16), transparent 45%),
    var(--panel);
}

.contact-card__kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.28;
}

.message-panel {
  padding: 34px;
  text-align: center;
}

.message-panel h1 {
  margin: 0 0 14px;
  font-size: 42px;
}

.message-panel .button {
  margin-top: 24px;
}

.legal {
  min-height: 420px;
}

.legal-card {
  display: grid;
  gap: 0;
  max-width: 820px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(10, 24, 45, 0.96), rgba(4, 10, 21, 0.94));
  box-shadow: 0 18px 42px var(--shadow);
}

.legal-card section {
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
}

.legal-card section:last-child {
  border-bottom: 0;
}

.legal-card h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(20px, 3vw, 26px);
}

.legal-card h3 {
  margin: 22px 0 10px;
  color: var(--text);
  font-size: 18px;
}

.legal-card p,
.legal-card address,
.legal-card ul {
  margin: 8px 0 0;
  color: var(--muted);
  font: inherit;
  font-style: normal;
  line-height: 1.75;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card li + li {
  margin-top: 5px;
}

.legal-card--privacy {
  max-width: 920px;
}

.legal-card a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-card a:hover {
  color: var(--text);
}

.site-footer {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #02050d;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a:hover {
  color: var(--text);
}

@keyframes page-scan {
  0% {
    transform: translateX(-75%);
  }
  100% {
    transform: translateX(75%);
  }
}

@keyframes hero-sweep {
  0%,
  30% {
    transform: translateX(-55%);
  }
  72%,
  100% {
    transform: translateX(55%);
  }
}

@keyframes color-slide {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 240% 0;
  }
}

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

@media (max-width: 980px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand__name {
    font-size: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #050c18;
    box-shadow: 0 20px 50px var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 66px 24px 70px;
  }

  .hero__visual {
    min-height: 0;
  }

  .hero h1,
  .page-section h1,
  .legal h1 {
    font-size: 42px;
  }

  .section,
  .page-section,
  .page-section.compact,
  .contact-page {
    width: min(100% - 32px, 760px);
  }

  .feature-grid,
  .info-grid,
  .service-grid,
  .project-grid,
  .process-grid,
  .team-list,
  .team-list--compact,
  .split-section,
  .stats-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .system-card--terminal {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand__name {
    display: none;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero h1,
  .page-section h1,
  .legal h1 {
    font-size: 36px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

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

  .section__header h2,
  .message-panel h1 {
    font-size: 30px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
