:root {
  --bg: #07090d;
  --surface: #10141b;
  --surface-2: #171c24;
  --line: rgba(214, 219, 226, 0.16);
  --text: #f2f4f6;
  --muted: #aab2bf;
  --silver: #d7dde5;
  --silver-soft: #8f99a8;
  --gold: #d8b45a;
  --gold-strong: #f0cf78;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(216, 180, 90, 0.12), transparent 30rem),
    linear-gradient(135deg, #07090d 0%, #10141b 54%, #090b10 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.84);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 180, 90, 0.58);
  background: linear-gradient(145deg, rgba(216, 180, 90, 0.18), rgba(215, 221, 229, 0.08));
  color: var(--gold-strong);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--silver-soft);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-strong);
  border-color: rgba(216, 180, 90, 0.68);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--silver);
}

.section-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 94px 0;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
}

.hero-grid,
.split-section,
.contact,
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.hero-logo-crop {
  width: min(520px, 100%);
  height: 260px;
  margin-bottom: 28px;
  overflow: visible;
  border: 1px solid rgba(216, 180, 90, 0.24);
  background: #07090d;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
  padding: 16px;
}

.hero-logo-crop img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3.25rem, 9vw, 7.6rem);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--silver);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #141009;
  box-shadow: 0 18px 36px rgba(216, 180, 90, 0.18);
}

.btn-secondary {
  border-color: rgba(215, 221, 229, 0.28);
  background: rgba(215, 221, 229, 0.06);
  color: var(--silver);
}

.hero-visual {
  min-height: 520px;
}

.blueprint-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(215, 221, 229, 0.2);
  background:
    linear-gradient(rgba(215, 221, 229, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 221, 229, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(16, 20, 27, 0.94), rgba(23, 28, 36, 0.76));
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--silver-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.tech-grid {
  position: absolute;
  inset: 88px 42px 170px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
}

.tech-grid span {
  border: 1px solid rgba(215, 221, 229, 0.18);
  background: rgba(215, 221, 229, 0.03);
}

.diagram-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-strong), var(--silver), transparent);
  transform-origin: left center;
}

.line-a {
  width: 78%;
  left: 48px;
  top: 58%;
  transform: rotate(-13deg);
}

.line-b {
  width: 60%;
  left: 112px;
  top: 37%;
  transform: rotate(28deg);
}

.diagram-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold-strong);
  background: var(--surface);
  box-shadow: 0 0 0 8px rgba(216, 180, 90, 0.08);
}

.node-a {
  left: 18%;
  top: 34%;
}

.node-b {
  right: 18%;
  top: 48%;
}

.node-c {
  left: 48%;
  bottom: 23%;
}

.metric {
  position: absolute;
  width: min(210px, calc(100% - 48px));
  border: 1px solid rgba(216, 180, 90, 0.24);
  background: rgba(7, 9, 13, 0.76);
  padding: 16px;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--gold-strong);
  font-size: 1.45rem;
}

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

.metric-a {
  left: 28px;
  bottom: 32px;
}

.metric-b {
  right: 28px;
  bottom: 84px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow),
.split-section > div > p,
.about-content p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.availability-note {
  display: inline-flex;
  align-items: center;
  margin: 20px 0 0;
  border: 1px solid rgba(216, 180, 90, 0.42);
  background: rgba(216, 180, 90, 0.08);
  color: var(--gold-strong);
  padding: 8px 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

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

.service-card,
.event-panel,
.values-grid div,
.stats-row div,
.contact-form {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(23, 28, 36, 0.92), rgba(12, 15, 21, 0.88));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.service-card {
  min-height: 242px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 180, 90, 0.42);
  color: var(--gold-strong);
  font-weight: 800;
}

.service-card p,
.feature-item p,
.event-panel li,
.values-grid p,
.stats-row span {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  padding: 0 0 22px 26px;
  border-left: 2px solid rgba(216, 180, 90, 0.5);
}

.feature-item p {
  margin-bottom: 0;
}

.accent-band {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(216, 180, 90, 0.1), transparent 42%),
    rgba(215, 221, 229, 0.035);
}

.stats-row div,
.values-grid div {
  padding: 24px;
}

.stats-row strong,
.stats-row span,
.values-grid span,
.values-grid p {
  display: block;
}

.stats-row strong,
.values-grid span {
  color: var(--silver);
  font-size: 1.1rem;
  font-weight: 800;
}

.stats-row span,
.values-grid p {
  margin-top: 10px;
}

.event-panel {
  padding: 30px;
}

.event-panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.event-panel li + li {
  margin-top: 12px;
}

.about {
  align-items: start;
}

.about-content {
  max-width: 680px;
}

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

.contact {
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: var(--silver);
  font-weight: 700;
}

.contact-details a:hover {
  color: var(--gold-strong);
}

.contact-form {
  padding: 26px;
}

.legal-section {
  border-top: 1px solid var(--line);
}

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

.legal-grid div,
.legal-copy {
  border: 1px solid var(--line);
  background: rgba(23, 28, 36, 0.58);
  padding: 20px;
}

.legal-grid strong,
.legal-grid span {
  display: block;
}

.legal-grid strong {
  color: var(--gold-strong);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-grid span {
  margin-top: 8px;
  color: var(--silver);
}

.legal-copy {
  color: var(--muted);
}

.legal-copy a,
.legal-grid a {
  color: var(--gold-strong);
  font-weight: 700;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--silver);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(215, 221, 229, 0.2);
  background: rgba(7, 9, 13, 0.7);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(240, 207, 120, 0.7);
}

.form-note {
  margin: 14px 0 0;
  color: var(--silver-soft);
  font-size: 0.88rem;
}

.form-note.success {
  color: #9ee6b8;
}

.form-note.error {
  color: #ffb4a8;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.site-footer a {
  color: var(--gold-strong);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    background: rgba(10, 12, 18, 0.98);
    padding: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero-grid,
  .split-section,
  .contact,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .blueprint-panel {
    min-height: 420px;
  }

  .service-grid,
  .stats-row,
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .navbar,
  .section-band,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .section-band {
    padding: 68px 0;
  }

  .accent-band {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual,
  .blueprint-panel {
    min-height: 360px;
  }

  .hero-logo-crop {
    height: 210px;
    margin-bottom: 22px;
    padding: 12px;
  }

  .tech-grid {
    inset: 76px 18px 150px;
    gap: 8px;
  }

  .metric {
    padding: 12px;
  }

  .metric-a {
    left: 16px;
    bottom: 18px;
  }

  .metric-b {
    right: 16px;
    bottom: 92px;
  }

  .service-card,
  .event-panel,
  .contact-form {
    padding: 22px;
  }
}
