:root {
  color-scheme: dark;
  --bg: #10161a;
  --bg-soft: #151d21;
  --panel: #1b2428;
  --panel-light: #223034;
  --text: #f4efe7;
  --muted: #b7c0bd;
  --line: rgba(244, 239, 231, 0.16);
  --teal: #6ee4e7;
  --teal-soft: rgba(110, 228, 231, 0.16);
  --clay: #c87f4a;
  --sand: #d9c7aa;
  --shadow: rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

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

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 48px;
  background: rgba(16, 22, 26, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img,
.footer img {
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 12px 30px var(--shadow);
}

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

.nav a:hover,
.text-link:hover,
.footer a:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88svh;
  padding: 132px 48px 72px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12, 17, 20, 0.92) 0%, rgba(12, 17, 20, 0.78) 36%, rgba(12, 17, 20, 0.24) 72%),
    linear-gradient(0deg, rgba(16, 22, 26, 0.84), rgba(16, 22, 26, 0.08) 42%),
    url("assets/hero-archeovision.webp") center / cover no-repeat;
}

.hero__content {
  width: min(720px, 100%);
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label,
.card__kicker {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin: 14px 0 18px;
  font-size: 4.25rem;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: 2.2rem;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--sand);
  font-size: 1.45rem;
  line-height: 1.32;
}

.hero__text {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--teal);
  color: #071113;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(110, 228, 231, 0.22);
}

.button:hover {
  background: #95f1ef;
}

.text-link {
  color: var(--sand);
  font-weight: 700;
}

.section {
  padding: 86px 48px;
}

.section__heading,
.intro__body,
.capabilities,
.method-grid,
.outputs__text,
.footer {
  width: min(1160px, calc(100% - 0px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr);
  gap: 56px;
  background: var(--bg);
}

.intro .section__heading,
.intro__body {
  width: auto;
}

.intro__body {
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 1.06rem;
}

.intro__body p,
.card p,
.outputs__text p,
.footer p {
  margin: 0;
}

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

.card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card:nth-child(2) {
  background: var(--panel-light);
}

.card p {
  color: var(--muted);
}

.methods {
  background: #e9ddcb;
  color: #172023;
}

.methods .section-label {
  color: #7e4c2f;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.method-grid span {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 32, 35, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
  color: #172023;
  font-weight: 700;
}

.outputs {
  background: var(--bg-soft);
}

.outputs__text {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 48px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 900px) {
  .topbar {
    padding: 14px 22px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 112px 24px 56px;
    background:
      linear-gradient(90deg, rgba(12, 17, 20, 0.94) 0%, rgba(12, 17, 20, 0.78) 60%, rgba(12, 17, 20, 0.42) 100%),
      linear-gradient(0deg, rgba(16, 22, 26, 0.9), rgba(16, 22, 26, 0.16) 44%),
      url("assets/hero-archeovision.webp") center / cover no-repeat;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1.24rem;
  }

  .section {
    padding: 62px 24px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .footer {
    padding: 30px 24px 38px;
  }
}

@media (max-width: 560px) {
  .brand span {
    font-size: 0.98rem;
  }

  .hero {
    min-height: 84svh;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .button {
    width: 100%;
  }

  .capabilities,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

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