:root {
  --ink: #13201d;
  --muted: #5d6d68;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: #dce3df;
  --accent: #3f8f6f;
  --accent-dark: #25624b;
  --gold: #b68b3e;
  --deep: #0d1715;
  --shadow: 0 18px 45px rgba(17, 30, 27, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #fff;
}

.site-header.compact {
  position: sticky;
  color: var(--ink);
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(10, 22, 19, 0.52);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.compact .brand-mark,
.not-found .brand-mark {
  border-color: var(--line);
  background: var(--deep);
}

.brand-text {
  font-size: 16px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(10, 22, 19, 0.34);
}

.compact .nav-toggle {
  border-color: var(--line);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 13, 12, 0.92) 0%, rgba(8, 17, 15, 0.78) 34%, rgba(8, 17, 15, 0.28) 72%),
    linear-gradient(0deg, rgba(13, 23, 21, 0.55), rgba(13, 23, 21, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 132px clamp(22px, 6vw, 76px) 78px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.hero-copy {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
}

.hero-actions,
.contact-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

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

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 92px clamp(22px, 6vw, 76px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading p,
.stacked-copy p,
.contact-panel p,
.page-hero p {
  max-width: 760px;
}

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

.capability-card,
.support-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(17, 30, 27, 0.04);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #e4f1eb;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(28px, 8vw, 92px);
  background: #edf1ee;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.proof-item {
  min-height: 160px;
  padding: 36px;
  background: var(--deep);
  color: #fff;
}

.proof-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.contact-panel {
  justify-content: space-between;
  background: var(--surface);
}

.contact-panel h2 {
  max-width: 700px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(22px, 6vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer div,
.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer span,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.page-main {
  min-height: calc(100vh - 210px);
}

.page-hero {
  padding: 82px clamp(22px, 6vw, 76px) 52px;
  background: #edf1ee;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(40px, 6vw, 68px);
}

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

.support-card a,
.policy-content a {
  color: var(--accent-dark);
  font-weight: 750;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.policy-content {
  max-width: 920px;
  padding: 72px clamp(22px, 6vw, 76px);
}

.policy-content h2 {
  margin-top: 40px;
  font-size: 28px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 40px clamp(22px, 6vw, 76px);
}

.not-found h1 {
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
}

@media (max-width: 860px) {
  .site-header {
    min-height: 70px;
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
    color: currentColor;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 4px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 13, 12, 0.94) 0%, rgba(8, 17, 15, 0.78) 58%, rgba(8, 17, 15, 0.34) 100%),
      linear-gradient(0deg, rgba(13, 23, 21, 0.5), rgba(13, 23, 21, 0.12));
  }

  .capability-grid,
  .split-section,
  .proof-band,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .proof-band {
    gap: 1px;
  }

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

@media (max-width: 520px) {
  .brand-text {
    font-size: 14px;
    white-space: normal;
  }

  .hero-content {
    padding-top: 118px;
  }

  h1 {
    font-size: 45px;
  }

  .button {
    width: 100%;
  }

  .capability-card,
  .support-card {
    min-height: auto;
    padding: 24px;
  }
}
