:root {
  --ink: #111827;
  --muted: #5c6675;
  --paper: #fbfcf8;
  --panel: #ffffff;
  --line: #dce3df;
  --deep: #071311;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --gold: #c58a21;
  --blue: #224f86;
  --rust: #9b4d2b;
  --shadow: 0 18px 55px rgba(10, 22, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 58px);
  color: #fff;
  background: rgba(5, 15, 14, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  font-size: 13px;
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.header-cta:hover,
.site-footer a:hover {
  color: #fff;
}

.header-cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 12, 11, 0.94) 0%, rgba(5, 18, 16, 0.84) 35%, rgba(5, 18, 16, 0.36) 74%, rgba(5, 18, 16, 0.24) 100%),
    linear-gradient(180deg, rgba(3, 12, 11, 0.14) 0%, rgba(3, 12, 11, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 92px);
  padding-top: 86px;
  color: #fff;
}

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

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

h1 {
  margin-bottom: 20px;
  max-width: 820px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.2;
}

.button-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.35);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 4vw, 58px);
}

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

.intro-band {
  padding-block: 44px;
  background: var(--deep);
  color: #fff;
}

.intro-grid,
.about-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

.intro-grid p:last-child,
.about-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

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

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.section-heading p,
.sticky-heading p,
.service-card p,
.case-list p,
.cta-inner p {
  color: var(--muted);
}

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

.service-card,
.case-list article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.card-index {
  display: block;
  margin-bottom: 30px;
  color: var(--teal);
  font-weight: 800;
}

.muted-section {
  background: #edf2ee;
}

.sticky-heading {
  position: sticky;
  top: 104px;
}

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

.pill-grid span,
.tech-grid span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid #cfd9d4;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.case-list article {
  min-height: 260px;
}

.case-list article:nth-child(2) {
  border-top: 4px solid var(--blue);
}

.case-list article:nth-child(3) {
  border-top: 4px solid var(--rust);
}

.case-list article:nth-child(4) {
  border-top: 4px solid var(--teal);
}

.case-list article:nth-child(5) {
  border-top: 4px solid var(--gold);
}

.about-section {
  background: #101b18;
  color: #fff;
}

.tech-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)),
    var(--paper);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.tech-grid span {
  justify-content: center;
  min-height: 54px;
  background: #fff;
  text-align: center;
}

.cta-section {
  padding: clamp(72px, 9vw, 126px) 20px;
  background: linear-gradient(135deg, #06211f, #18314f 62%, #3b2417);
  color: #fff;
}

.cta-inner {
  max-width: 900px;
}

.cta-inner p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.cta-inner .button {
  margin-top: 18px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 40px clamp(20px, 4vw, 58px);
  color: rgba(255, 255, 255, 0.74);
  background: #050c0b;
}

.footer-brand {
  color: #fff;
}

.site-footer p {
  margin: 12px 0 0;
}

.contact-list {
  display: grid;
  gap: 8px;
  font-style: normal;
  text-align: right;
}

.policy-page {
  background: #fff;
}

.policy-header {
  position: sticky;
  color: #fff;
  background: rgba(5, 15, 14, 0.94);
}

.policy-hero {
  padding: 150px clamp(20px, 4vw, 58px) 72px;
  color: #fff;
  background: linear-gradient(135deg, #06211f, #18314f 62%, #3b2417);
}

.policy-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 7vw, 72px);
}

.policy-hero p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.policy-section {
  padding-top: 64px;
}

.policy-content {
  width: min(860px, 100%);
  margin: 0 auto;
}

.policy-content h2 {
  margin: 40px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.policy-content p {
  color: var(--muted);
  font-size: 17px;
}

.policy-content a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .intro-grid,
  .about-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .pill-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .case-list article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }

  .contact-list {
    text-align: left;
  }
}
