:root {
  --bg: #071019;
  --bg-deep: #04090f;
  --panel: rgba(14, 24, 34, 0.78);
  --panel-solid: #0d1823;
  --line: rgba(172, 183, 188, 0.18);
  --line-strong: rgba(196, 134, 82, 0.46);
  --text: #f1f4f3;
  --muted: #b5c0c3;
  --subtle: #7f8e92;
  --copper: #c88959;
  --copper-light: #e2aa79;
  --steel: #b8b8ad;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --max-width: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 9%, rgba(200, 137, 89, 0.17), transparent 32rem),
    radial-gradient(circle at 12% 4%, rgba(99, 126, 138, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep) 54%, #08131e);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  padding: 0.7rem 1rem;
  font-weight: 700;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 9, 15, 0.78);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 3.5rem;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--copper-light);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.8rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--copper-light), var(--copper));
  color: #10151a;
  box-shadow: 0 16px 36px rgba(200, 137, 89, 0.28);
}

.button-primary:hover {
  box-shadow: 0 20px 46px rgba(200, 137, 89, 0.38);
}

.button-secondary,
.button-outline {
  border-color: rgba(226, 170, 121, 0.46);
  background: rgba(9, 18, 27, 0.5);
  color: var(--text);
}

.button-secondary:hover,
.button-outline:hover {
  border-color: var(--copper-light);
  background: rgba(200, 137, 89, 0.12);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(42rem, 78vh, 52rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.98) 0%, rgba(7, 16, 25, 0.86) 36%, rgba(7, 16, 25, 0.32) 74%),
    linear-gradient(180deg, rgba(7, 16, 25, 0.08), rgba(4, 9, 15, 0.84));
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  opacity: 0.72;
  transform: scale(1.03);
}

.hero-content {
  align-self: center;
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  padding: 6rem 0 7rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--copper-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 8.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

h1::after {
  display: block;
  width: min(7rem, 26vw);
  height: 2px;
  margin-top: 1.4rem;
  content: "";
  background: linear-gradient(90deg, var(--copper-light), transparent);
}

.hero-copy {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section,
.trust-section {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.capabilities-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.trust-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-heading p,
.trust-copy p,
.footer-brand p,
.site-footer li,
.site-footer p {
  color: var(--muted);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.capability-card {
  min-height: 17rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 44%),
    var(--panel);
  padding: 1.4rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.capability-card:hover {
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(200, 137, 89, 0.16), transparent 48%),
    var(--panel-solid);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(226, 170, 121, 0.45);
  border-radius: 50%;
  color: var(--copper-light);
  background: rgba(200, 137, 89, 0.08);
}

.card-icon svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.capability-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 92% 8%, rgba(200, 137, 89, 0.16), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(11, 21, 31, 0.84);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.trust-copy p:last-child {
  margin-bottom: 0;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.trust-badge {
  display: grid;
  gap: 0.8rem;
  min-height: 8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 9, 15, 0.42);
  padding: 1rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-badge span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: var(--copper-light);
  background: rgba(200, 137, 89, 0.1);
  font-size: 0.78rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 9, 15, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1.4fr) repeat(3, minmax(9rem, 0.7fr));
  gap: 2rem;
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  padding: 3rem 0 2rem;
}

.footer-brand img {
  width: auto;
  height: 4.4rem;
  margin-bottom: 1rem;
}

.site-footer h2 {
  margin: 0 0 0.85rem;
  color: var(--steel);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer p,
.site-footer li {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.footer-bottom {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0 1.5rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--subtle);
  font-size: 0.85rem;
}

@media (max-width: 920px) {
  .nav-shell {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero {
    min-height: 43rem;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 16, 25, 0.98), rgba(7, 16, 25, 0.7)),
      linear-gradient(180deg, rgba(7, 16, 25, 0.18), rgba(4, 9, 15, 0.9));
  }

  .capability-grid,
  .trust-section,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-shell {
    gap: 1rem;
  }

  .brand {
    width: auto;
  }

  .brand img {
    height: 3rem;
  }

  .nav-cta {
    width: 100%;
  }

  .nav-links {
    gap: 1rem;
    justify-content: flex-start;
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-background img {
    object-position: 66% center;
    opacity: 0.48;
  }

  .hero-content {
    padding: 5rem 0;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.3rem);
  }

  .hero-actions,
  .hero-actions .button,
  .site-footer .button {
    width: 100%;
  }

  .capability-grid,
  .trust-section,
  .trust-badges,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
