:root {
  --bg: #f5f7fa;
  --ink: #101722;
  --muted: #596677;
  --line: #d7dde6;
  --panel: #ffffff;
  --panel-strong: #eaf0f6;
  --accent: #007f8f;
  --accent-strong: #005d6b;
  --gold: #c18a2d;
  --red: #9f4343;
  --night: #07111f;
  --night-soft: #0d1b2d;
  --shadow: 0 18px 44px rgba(16, 23, 34, 0.1);
  --shadow-strong: 0 28px 70px rgba(16, 23, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(16, 23, 34, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 23, 34, 0.026) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(245, 247, 250, 0.9);
  border-bottom: 1px solid rgba(217, 223, 235, 0.75);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.contact-details,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 8px -3px 0 rgba(193, 138, 45, 0.72);
}

.brand-mark::after {
  position: absolute;
  inset: 10px -7px;
  content: "";
  border-top: 1px solid var(--accent-strong);
  transform: rotate(-22deg);
}

.nav-links {
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent-strong);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 64px) 84px;
  background: var(--night);
  color: #fff;
}

#particle-field,
.hero-overlay {
  position: absolute;
  inset: 0;
}

#particle-field {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 31, 0.98), rgba(7, 17, 31, 0.78) 48%, rgba(7, 17, 31, 0.56)),
    radial-gradient(circle at 82% 26%, rgba(0, 127, 143, 0.4), transparent 32%),
    radial-gradient(circle at 52% 86%, rgba(193, 138, 45, 0.18), transparent 28%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero-text {
  max-width: 780px;
}

.hero-image {
  display: block;
  width: 100%;
  max-height: 66vh;
  aspect-ratio: 1003 / 1117;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 5.8vw, 5.15rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  color: #d8e0ea;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 127, 143, 0.26);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.telemetry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  color: #bdd1df;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telemetry-row span {
  padding: 7px 10px;
  border: 1px solid rgba(184, 207, 220, 0.28);
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.055);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section,
.section-band {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 64px);
}

.section-band {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(234, 240, 246, 0)),
    var(--panel-strong);
}

.section-contrast {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--night-soft);
  background-size: 46px 46px;
  color: #edf4fb;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column,
.split-panel,
.contact-layout,
.consulting-layout,
.roadmap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
}

.intro p:last-child,
.section-heading p,
.split-panel p,
.consulting-layout p,
.contact-layout p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-contrast .section-kicker {
  color: #e7b85e;
}

.section-contrast p,
.section-contrast .check-list {
  color: #cdd8e6;
}

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

.media-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.media-frame {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.intro-video {
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  object-fit: cover;
}

.domain-image {
  aspect-ratio: 1229 / 633;
  object-fit: contain;
  padding: clamp(12px, 2vw, 22px);
}

.mesh-image {
  aspect-ratio: 1167 / 875;
  object-fit: contain;
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--night);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.service-list article,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 82px;
  height: 82px;
  background: linear-gradient(135deg, rgba(0, 127, 143, 0), rgba(0, 127, 143, 0.12));
  content: "";
}

.feature-card::before,
.service-list article::before {
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--accent);
  content: "";
}

.feature-card p,
.service-list p {
  color: var(--muted);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border: 1px solid #bfced8;
  border-radius: 4px;
  background: #eef6f7;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.check-list {
  padding-left: 20px;
}

.check-list li {
  margin-bottom: 10px;
}

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

.service-list article {
  position: relative;
  padding: 24px;
  box-shadow: none;
}

.consulting-section {
  background: #fff;
}

.consulting-layout {
  align-items: start;
}

.roadmap {
  align-items: start;
}

.roadmap-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roadmap-items span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(234, 240, 246, 0.86), rgba(255, 255, 255, 1));
}

.contact-details {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
  font-weight: 800;
}

.contact-details span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cbd4e2;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(11, 111, 114, 0.18);
  border-color: var(--accent);
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--night);
  color: #d8e0ea;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    min-height: 96vh;
    padding-top: 164px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-height: 52vh;
    object-position: center;
  }

  .two-column,
  .split-panel,
  .contact-layout,
  .consulting-layout,
  .roadmap,
  .media-heading,
  .feature-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .mesh-image {
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  .brand {
    white-space: normal;
  }

  .nav-links {
    font-size: 0.86rem;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

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