:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --ink: #18201f;
  --muted: #5f6c69;
  --line: #dce3de;
  --accent: #0f766e;
  --accent-dark: #134e4a;
  --blue: #2563eb;
  --gold: #c48a21;
  --shadow: 0 18px 45px rgba(24, 32, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(247, 248, 245, 0.9);
  border-bottom: 1px solid rgba(220, 227, 222, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
}

.nav-studio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--accent-dark);
  border-radius: 8px;
}

.site-nav .nav-studio:hover,
.site-nav .nav-studio:focus-visible {
  color: #ffffff;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.96fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 64px) clamp(34px, 5vw, 64px);
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

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

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

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-identity {
  display: grid;
  grid-template-columns: minmax(220px, 420px) minmax(220px, 340px);
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
  margin-bottom: 18px;
}

.hero-wordmark {
  width: 100%;
  max-width: 420px;
  object-fit: contain;
}

.hero-tagline {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.7vw, 2.15rem);
  font-weight: 850;
  line-height: 1.04;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent-dark);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--ink);
}

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

.crm-panel {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #101414;
}

.crm-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 50%;
}

.image-credit {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  margin: 0;
  padding: 12px 14px;
  width: fit-content;
  max-width: calc(100% - 56px);
  color: #ffffff;
  background: rgba(16, 20, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.metrics,
.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metrics div {
  min-height: 112px;
  padding: 22px;
  background: var(--surface);
}

.metric-value,
.metric-label {
  display: block;
}

.metric-value {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 850;
  line-height: 1;
}

.metric-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(72px, 10vw, 120px) 0 0;
}

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

.section-heading p:not(.eyebrow),
.contribute p {
  color: var(--muted);
  font-size: 1.05rem;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.design-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.design-figure {
  position: relative;
  min-height: 210px;
  background: #e8eee9;
  overflow: hidden;
}

.design-figure::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 74%;
  height: 34px;
  background: var(--accent-dark);
  clip-path: polygon(0 50%, 43% 0, 100% 48%, 43% 100%);
  transform: translate(-50%, -50%);
}

.design-figure::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 22%;
  height: 10px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.design-figure.blended::before {
  width: 68%;
  height: 92px;
  border-radius: 54% 46% 48% 52%;
  clip-path: polygon(2% 54%, 38% 14%, 100% 45%, 38% 86%);
  background: var(--blue);
}

.design-figure.uav::before {
  width: 70%;
  height: 22px;
  clip-path: polygon(0 50%, 35% 20%, 47% 0, 100% 50%, 47% 100%, 35% 80%);
}

.design-body {
  padding: 22px;
}

.design-body p {
  margin-bottom: 0;
  color: var(--muted);
}

.status {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(26px, 6vw, 76px);
  align-items: start;
}

.spec-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.spec-table div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  min-height: 58px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
  border-bottom: 0;
}

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

.doc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.doc-list a {
  min-height: 132px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.doc-list a:hover,
.doc-list a:focus-visible {
  border-color: rgba(15, 118, 110, 0.6);
}

.doc-list span,
.doc-list small {
  display: block;
}

.doc-list span {
  margin-bottom: 12px;
  font-weight: 850;
}

.doc-list small {
  color: var(--muted);
  font-size: 0.92rem;
}

.contribute {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-bottom: clamp(72px, 10vw, 120px);
}

.contribute div {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .metrics,
  .design-grid,
  .doc-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-identity {
    grid-template-columns: 1fr;
  }

  .hero-wordmark {
    max-width: 340px;
  }

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

  .metrics,
  .design-grid,
  .doc-list {
    grid-template-columns: 1fr;
  }

  .spec-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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