:root {
  --ink: #f8fbff;
  --muted: #aab5c8;
  --line: rgba(255, 255, 255, 0.14);
  --surface: #0b1224;
  --surface-soft: #0f1729;
  --page: #070b16;
  --blue: #0874ff;
  --cyan: #14b8d8;
  --violet: #7625e8;
  --green: #18a16f;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--page);
  line-height: 1.5;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 74px;
  padding: 16px clamp(20px, 5vw, 64px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: #ffffff;
  background: rgba(7, 11, 22, 0.88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 50px;
}

.brand-logo-img {
  width: auto;
  height: 46px;
  max-width: min(320px, 54vw);
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 86vh;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
  background: #070b16;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, rgba(7, 11, 22, 0), #070b16);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(20, 184, 216, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(8, 116, 255, 0.16), transparent 42%),
    #070b16;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: 86vh;
  padding-top: 76px;
}

.hero-content {
  max-width: 820px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 14px 28px rgba(8, 116, 255, 0.28);
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  padding: 0;
  background: #070b16;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transform: translateY(46px);
  box-shadow: var(--shadow);
}

.stats div {
  min-height: 150px;
  padding: 28px;
  color: #ffffff;
  background: #111827;
}

.stats strong {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 14px;
}

.stats span {
  display: block;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.78);
}

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

.section-heading p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

#services {
  padding-top: 150px;
}

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

.service-card {
  min-height: 280px;
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.service-card p,
.process-list p,
.work-copy p,
.deliverable p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 40px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 8px;
}

.work-section {
  color: #ffffff;
  background: linear-gradient(135deg, #070b16, #10192d);
}

.work-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.work-copy p {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.work-panel {
  display: grid;
  gap: 16px;
}

.deliverable {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.deliverable span {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  background: var(--green);
  border-radius: 50%;
}

.deliverable strong {
  display: block;
  margin-bottom: 4px;
}

.deliverable p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-list article {
  padding-top: 24px;
  border-top: 3px solid rgba(255, 255, 255, 0.16);
}

.process-list span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-section {
  background: #090f1d;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy p {
  font-size: 18px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-weight: 800;
}

.contact-links a {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 14px;
  color: #ffffff;
  font: inherit;
  background: rgba(7, 11, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7d879b;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 34px 0;
  background: #070b16;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  text-align: right;
}

@media (max-width: 920px) {
  .service-grid,
  .process-list,
  .stats {
    grid-template-columns: 1fr;
  }

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

  .work-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .hero-bg {
    background:
      radial-gradient(circle at 50% 12%, rgba(20, 184, 216, 0.16), transparent 36%),
      linear-gradient(180deg, rgba(8, 116, 255, 0.12), transparent 46%),
      #070b16;
  }

  .hero-content {
    padding-top: 8vh;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 0;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 66px;
    padding: 12px 14px;
  }

  .brand {
    height: 42px;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 230px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    color: #ffffff;
    background: rgba(11, 18, 36, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .hero-inner {
    min-height: 92vh;
  }

  h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  #services {
    padding-top: 130px;
  }

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

  .footer-inner p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
