:root {
  --bg: #09070f;
  --bg-2: #110d1c;
  --text: #f4f1fb;
  --muted: #c8bedd;
  --faint: #8f84a8;
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(255, 255, 255, 0.035);
  --violet: #8a2cff;
  --cyan: #3ad7ff;
  --grad: linear-gradient(120deg, #9b3bff 0%, #5b6dff 50%, #3ad7ff 100%);
  --display: "Unbounded", "Avenir Next", "Trebuchet MS", sans-serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(138, 44, 255, 0.22), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(58, 215, 255, 0.1), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

main { flex: 1; }

a { color: inherit; -webkit-tap-highlight-color: transparent; }

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 32px; }
h3, .h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 10px; }

p { margin: 0; }

.wrap {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 34em;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
}

/* Header */

.site-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 7, 15, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-bar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img { width: 54px; }
.brand-small { font-size: 18px; }
.brand-small img { width: 36px; }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font: 700 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(110, 60, 255, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.button:hover { filter: brightness(1.1); transform: translateY(-1px); }

.button-small { min-height: 42px; padding: 0 20px; font-size: 15px; }

.button-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.button-ghost:hover { border-color: var(--cyan); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Hero */

.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  background: var(--grad);
  filter: blur(80px);
  opacity: 0.45;
  z-index: -1;
}

.hero-art img { width: 100%; }

/* Sections */

.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.section-tight { padding-top: 0; border-top: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}

.split h2 { margin-bottom: 0; }

.split-text { display: grid; gap: 18px; color: var(--muted); font-size: 18px; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.value {
  padding-top: 20px;
  border-top: 2px solid transparent;
  border-image: var(--grad) 1;
}

.value p, .card p, .steps p { color: var(--muted); font-size: 16px; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: rgba(58, 215, 255, 0.4); transform: translateY(-3px); }

.card-icon {
  display: inline-block;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 64px 0 0;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  font-family: var(--display);
  font-weight: 700;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 54px;
  right: 0;
  height: 1px;
  background: var(--line);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(58, 215, 255, 0.18), transparent 70%),
    linear-gradient(135deg, rgba(138, 44, 255, 0.28), rgba(17, 13, 28, 0.9));
  border: 1px solid rgba(155, 59, 255, 0.35);
}

.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); }
.cta .actions { margin-top: 0; }

/* Contacts */

.page-head { padding: clamp(56px, 9vw, 112px) 0 56px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card { display: flex; flex-direction: column; gap: 12px; }
.contact-card .h3 { color: var(--faint); font-size: 14px; font-family: var(--sans); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.contact-link {
  font-family: var(--display);
  font-size: 20px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-link:hover { color: var(--cyan); }

address { font-style: normal; font-size: 18px; line-height: 1.55; }

.text-link {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.facts { display: grid; gap: 4px; margin: 0; }
.facts dt { color: var(--faint); font-size: 14px; }
.facts dd { margin: 0 0 10px; font-size: 18px; font-weight: 600; }

/* Footer */

.footer { border-top: 1px solid var(--line); padding: 40px 0; }

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.footer-nav a { color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--text); }

.copy { grid-column: 1 / -1; color: var(--faint); font-size: 14px; }

/* Responsive */

@media (max-width: 1000px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav { display: none; }
  .site-bar-inner { justify-content: space-between; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-art { width: min(70%, 300px); order: -1; }
  .values, .cards, .steps, .contact-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .card { transition: none; }
}
