:root {
  --bg: #08060c;
  --ink: #f4f1f8;
  --muted: #b7adc2;
  --line: rgba(244, 241, 248, 0.12);
  --violet: #7c3aed;
  --violet-hot: #e9d5ff;
  --pad: clamp(18px, 4vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

::selection {
  background: #7c3aed;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet-hot);
  outline-offset: 3px;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  background: #fff;
  color: #14081f;
  z-index: 40;
}

.wrap {
  width: min(1200px, calc(100% - var(--pad) * 2));
  margin-inline: auto;
  container-type: inline-size;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 0 var(--pad);
  background: #08060c;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover { color: #fff; }

.header-mail {
  color: var(--muted);
  font-size: 15px;
}

.header-mail:hover { color: var(--violet-hot); }

.short { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 12px;
  font: 600 14px/1 "Barlow", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 36px 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.11) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: 0;
  top: -80px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 68%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.kicker {
  margin: 0 0 18px;
  color: var(--violet-hot);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
  vertical-align: 1px;
}

h1, .poster {
  margin: 0;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.86;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(48px, 8vw, 116px);
}

@supports (font-size: 1cqi) {
  h1 { font-size: clamp(48px, 11cqi, 120px); }
}

h1 span, .poster span { display: block; }

.glow {
  color: #fff;
  text-shadow:
    0 0 10px rgba(216, 180, 254, 0.95),
    0 0 28px rgba(168, 85, 247, 0.85),
    0 0 64px rgba(109, 40, 217, 0.55);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}

.deck {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--violet);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font: 600 16px/1 "Barlow", "Segoe UI", sans-serif;
  box-shadow:
    0 0 0 1px rgba(216, 180, 254, 0.35),
    0 0 26px rgba(124, 58, 237, 0.5);
  cursor: pointer;
}

.btn:hover { background: #6d28d9; }

.mail {
  color: var(--violet-hot);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-art {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.screen, .wire {
  width: 100%;
  background: #100c16;
  border: 1px solid rgba(196, 168, 255, 0.42);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.screen { position: relative; }

.screen::before,
.screen::after,
.wire::before,
.wire::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(233, 213, 255, 0.85);
}

.screen::before,
.wire::before {
  top: -5px;
  left: -5px;
  border-right: 0;
  border-bottom: 0;
}

.screen::after,
.wire::after {
  right: -5px;
  bottom: -5px;
  border-left: 0;
  border-top: 0;
}

.wire { position: relative; width: 74%; }

.screen-top, .wire-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.code {
  padding: 16px 14px 8px;
  font-family: "Cascadia Mono", "Segoe UI Mono", ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.7;
}

.code p { margin: 0; color: #ddd2f3; }

.code span { color: #c4b5fd; }

.screen-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.screen-meta li {
  padding: 12px 10px 14px;
  font-size: 14px;
}

.screen-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wire-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 148px;
}

.wire-side {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border-right: 1px solid var(--line);
}

.wire-side i,
.wire-main b,
.wire-main em {
  display: block;
  background: rgba(196, 168, 255, 0.18);
}

.wire-side i { height: 8px; }

.wire-main {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.wire-main b { height: 10px; width: 70%; }
.wire-main b:nth-child(2) { width: 46%; }
.wire-main em { height: 54px; }

.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding: 16px 0;
  border-top: 1px solid rgba(168, 85, 247, 0.28);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-foot p { margin: 0; }

.block { padding: 92px 0; }

h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.intro {
  max-width: 38rem;
  margin: 16px 0 8px;
  color: var(--muted);
}

.group-label {
  margin: 36px 0 0;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-list { border-bottom: 1px solid rgba(168, 85, 247, 0.28); }

.service {
  display: grid;
  grid-template-columns: 72px minmax(190px, 300px) 1fr;
  gap: 18px 24px;
  align-items: baseline;
  padding: 26px 8px;
  border-top: 1px solid rgba(168, 85, 247, 0.28);
}

.service:hover { background: #110a18; }

.num {
  margin: 0;
  color: #c4b5fd;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: 30px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.service h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.service p:last-child {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
}

.scope {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 12% 40%, rgba(124, 58, 237, 0.24), transparent 52%),
    #0c0614;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.poster { font-size: clamp(64px, 8vw, 150px); }

@supports (font-size: 1cqi) {
  .poster { font-size: clamp(68px, 16cqi, 168px); }
}

.scope-copy {
  max-width: 42rem;
  margin: 28px 0 32px;
  font-size: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.giant-mail {
  display: inline-block;
  margin-top: 18px;
  color: var(--violet-hot);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.fields .wide { grid-column: 1 / -1; }

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input, textarea {
  width: 100%;
  margin: 0;
  padding: 12px 12px;
  background: #100c16;
  color: var(--ink);
  border: 1px solid rgba(196, 168, 255, 0.35);
  border-radius: 0;
  font: 400 16px/1.45 "Barlow", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

textarea { resize: vertical; min-height: 130px; }

input:focus, textarea:focus { border-color: #c4b5fd; }

input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  transition: background-color 9999s ease-out;
}

form .btn { margin-top: 18px; }

.site-footer {
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.footer-row p { margin: 0; }

.footer-row a:hover { color: var(--violet-hot); }

@media (max-width: 860px) {
  .hero-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .wire { display: none; }

  .hero-art { justify-items: stretch; }

  .screen { max-width: 560px; }

  .poster { font-size: clamp(60px, 18vw, 120px); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }

  .long { display: none; }

  .short { display: inline; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background: #0c0a10;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 14px var(--pad);
    border-top: 1px solid var(--line);
  }

  .hero-foot { flex-direction: column; }

  .service {
    grid-template-columns: 44px 1fr;
    gap: 6px 14px;
  }

  .service p:last-child { grid-column: 2; }

  .fields { grid-template-columns: 1fr; }

  .block { padding: 68px 0; }

  .scope { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
