:root {
  color-scheme: dark;
  --bg: #121316;
  --shell: #17191c;
  --surface: #1c1f23;
  --raised: #22262b;
  --border: #2f343a;
  --text: #e7e9ea;
  --muted: #a6adb3;
  --subtle: #767e83;
  --accent: #4c9be8;
  --accent-strong: #1d6fc4;
  --green: #35c486;
  --max: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0, transparent 78%);
}

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

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

svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 70px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(47, 52, 58, 0.85);
  background: rgba(18, 19, 22, 0.86);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--raised);
  color: var(--accent);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  color: var(--subtle);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.header-cta:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(76, 155, 232, 0.38);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--accent);
  font-weight: 700;
}

.hero,
.section,
.showcase-row {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 70px 0 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-text,
.section-title p,
.showcase-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.button-primary {
  border: 1px solid #5aa8ed;
  background: var(--accent-strong);
  color: white;
}

.button-primary:hover {
  background: #2a7fd5;
}

.button-secondary {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: #4a5159;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.trust-row span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(28, 31, 35, 0.76);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-shot,
.showcase-row figure {
  margin: 0;
}

.hero-shot {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: #0f1012;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
}

.hero-shot img,
.showcase-row img {
  border-radius: 8px;
  border: 1px solid #262b30;
}

.hero-shot figcaption {
  margin-top: 10px;
  color: var(--subtle);
  font-size: 13px;
  text-align: center;
}

.section {
  padding: 92px 0;
}

.section-title {
  max-width: 840px;
  margin-bottom: 34px;
}

.intro-grid,
.business-grid,
.architecture-grid {
  display: grid;
  gap: 14px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
}

.intro-grid article,
.business-grid article,
.architecture-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 21px;
  background: var(--surface);
}

.intro-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.intro-grid p,
.business-grid p,
.architecture-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.showcase {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-row {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 46px;
  align-items: center;
  padding: 84px 0;
  border-bottom: 1px solid var(--border);
}

.showcase-row:last-child {
  border-bottom: 0;
}

.showcase-row.reverse {
  grid-template-columns: 1.22fr 0.78fr;
}

.showcase-row.reverse .showcase-copy {
  order: 2;
}

.showcase-row.reverse figure {
  order: 1;
}

.showcase-copy p {
  margin-bottom: 0;
}

.showcase-row figure {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: #0f1012;
}

.business-grid {
  grid-template-columns: repeat(3, 1fr);
}

.business-grid article {
  min-height: 166px;
}

.architecture {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.architecture-grid {
  grid-template-columns: repeat(4, 1fr);
}

.architecture-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 800;
}

.final-cta {
  max-width: 850px;
  text-align: center;
}

.final-cta p {
  margin-bottom: 28px;
}

.final-cta .contact-actions {
  justify-content: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--border);
  color: var(--subtle);
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .showcase-row,
  .showcase-row.reverse {
    grid-template-columns: 1fr;
  }

  .showcase-row.reverse .showcase-copy,
  .showcase-row.reverse figure {
    order: initial;
  }

  .intro-grid,
  .business-grid,
  .architecture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section,
  .showcase-row {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: auto;
    padding: 56px 0;
  }

  h1 {
    font-size: 42px;
  }

  .intro-grid,
  .business-grid,
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
