:root {
  --bg: #d8ded6;
  --ink: #161713;
  --muted: #62665c;
  --forest: #23352a;
  --moss: #526b3b;
  --amber: #c8913a;
  --rust: #8f3427;
  --line: rgba(22, 23, 19, 0.14);
  --white: #fbfcf7;
  --shadow: 0 24px 70px rgba(18, 22, 17, 0.18);
  --section-y: clamp(32px, 4.5vw, 58px);
  --grid-gap: clamp(14px, 3vw, 32px);
  --inner-gap: 8px;
}

@font-face {
  font-family: "Stencil Standard";
  src: local("Stencil"), local("Stencil Regular");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  pointer-events: auto;
}

.site-header.is-solid {
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 280px;
  max-width: 100%;
}

.brand-logo {
  position: static;
  display: block;
  width: 280px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.32));
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 12px 0 rgba(54, 43, 25, 0.56),
    0 18px 34px rgba(0, 0, 0, 0.28);
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 0 rgba(54, 43, 25, 0.54),
    0 14px 28px rgba(0, 0, 0, 0.24);
}

.btn-primary {
  background: linear-gradient(180deg, #f1c16c 0%, var(--amber) 48%, #926325 100%);
  color: #17130c;
  border-color: rgba(255, 242, 204, 0.38);
}

.btn-secondary {
  border-color: rgba(255, 250, 240, 0.46);
  color: var(--white);
}

.btn-light {
  background: linear-gradient(180deg, #ffffff 0%, var(--white) 52%, #d9d2bd 100%);
  color: #172016;
}

.btn-app {
  background: linear-gradient(180deg, #5f735f 0%, #2f432f 52%, #182318 100%);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-btn {
  border-color: rgba(22, 23, 19, 0.22);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 12, 9, 0.9) 0%, rgba(8, 12, 9, 0.68) 34%, rgba(8, 12, 9, 0.12) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.64) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-inline: auto;
  padding: 300px 0 110px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--rust);
}

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

h1 {
  margin-bottom: 6px;
  font-family: "Stencil Standard", "Stencil", "Stencil Std", "Stardos Stencil", serif;
  font-size: clamp(72px, 11vw, 150px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
  margin-bottom: 0;
  font-family: "Bebas Neue", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 4px;
  font-size: 24px;
}

.hero-copy {
  max-width: 640px;
  margin-inline: auto;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto var(--grid-gap);
  background: rgba(20, 28, 20, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 250, 240, 0.16);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 82px;
  padding: 16px 20px;
  border-right: 1px solid rgba(255, 250, 240, 0.14);
  text-align: center;
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  margin: 0;
  color: var(--amber);
  font-size: 20px;
}

.hero-stats span {
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.4;
  margin: 0;
}

.intro-band,
.section,
.expansion,
.dispatcher-section {
  padding: var(--section-y) clamp(18px, 4vw, 56px);
}

.section-grid,
.section-heading,
.feature-grid,
.split,
.footer {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
  text-align: center;
}

.section-grid p:last-child,
.section-heading p,
.expansion-content p,
.feature-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: var(--grid-gap);
  margin-bottom: 10px;
  text-align: center;
}

.section-heading.compact {
  display: block;
  max-width: 640px;
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--inner-gap);
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 224px;
  padding: 18px;
  background: #fbfcf7;
  border: 1px solid var(--line);
  box-shadow: 0 14px 44px rgba(34, 28, 18, 0.07);
  text-align: center;
}

.expansion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: var(--grid-gap);
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(35, 53, 42, 0.98), rgba(31, 38, 28, 0.96)),
    var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.expansion h2 {
  margin-bottom: 8px;
}

.expansion-content p {
  color: rgba(255, 250, 240, 0.76);
}

.timeline {
  display: grid;
  gap: var(--inner-gap);
}

.timeline div {
  padding: 16px;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.14);
  text-align: center;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.45;
}

.dispatcher-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: var(--grid-gap);
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto clamp(42px, 7vw, 82px);
  background:
    linear-gradient(135deg, rgba(28, 32, 28, 0.98), rgba(65, 75, 58, 0.94)),
    var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.dispatcher-content h2 {
  margin-bottom: 8px;
}

.dispatcher-content p {
  color: rgba(255, 250, 240, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.dispatcher-points {
  display: grid;
  gap: var(--inner-gap);
}

.dispatcher-points div {
  padding: 16px;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.14);
}

.dispatcher-points strong,
.dispatcher-points span {
  display: block;
}

.dispatcher-points span {
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
  text-align: center;
}

.service-list {
  display: grid;
  gap: var(--inner-gap);
}

.service-list div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 68px;
  padding: 18px 20px;
  background: #fbfcf7;
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}

.service-list span {
  width: 12px;
  height: 12px;
  background: var(--amber);
}

.footer {
  display: grid;
  gap: 8px;
  padding: 32px clamp(18px, 4vw, 56px) 44px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer a {
  color: var(--forest);
  font-weight: 700;
}

.footer a:hover {
  color: var(--rust);
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
    min-height: 78px;
    padding: 12px 18px;
  }

  :root {
    --section-y: 28px;
    --grid-gap: 14px;
    --inner-gap: 8px;
  }

  .hero {
    min-height: auto;
    display: block;
  }

  .hero-media,
  .hero-shade {
    height: 100%;
  }

  .hero-content {
    padding: 210px 0 42px;
    margin-inline: auto;
  }

  .hero-stats,
  .section-grid,
  .section-heading,
  .feature-grid,
  .expansion,
  .dispatcher-section,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    width: calc(100% - 24px);
    margin: 0 auto 8px;
  }

  .hero-stats div {
    min-height: auto;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .feature-card {
    min-height: auto;
    padding: 16px;
  }

  .footer {
    padding-bottom: 30px;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 68px;
    padding-top: 10px;
  }

  .brand {
    width: 170px;
  }

  .brand-logo {
    width: 170px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding: 230px 0 44px;
  }

  h1 {
    margin-bottom: 4px;
    font-size: clamp(50px, 17vw, 82px);
    line-height: 0.92;
  }

  h1 span {
    margin-bottom: 0;
    font-size: clamp(15px, 5vw, 23px);
  }

  h2 {
    font-size: clamp(28px, 10vw, 42px);
    line-height: 1.05;
  }

  h3 {
    font-size: 22px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .btn {
    min-height: 48px;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
  }

  .hero-stats {
    width: calc(100% - 20px);
    margin-bottom: 10px;
  }

  .hero-stats strong {
    font-size: 18px;
  }

  .hero-stats span,
  .section-grid p:last-child,
  .section-heading p,
  .expansion-content p,
  .dispatcher-content p,
  .feature-card p {
    font-size: 16px;
    line-height: 1.6;
  }

  .intro-band,
  .section,
  .expansion,
  .dispatcher-section {
    padding: var(--section-y) 14px;
  }

  .expansion,
  .dispatcher-section {
    width: calc(100% - 20px);
    padding: 24px 14px;
  }

  .service-list div {
    min-height: 58px;
    padding: 14px;
    font-size: 16px;
  }

  .timeline div,
  .dispatcher-points div {
    padding: 14px;
  }
}

@media (max-width: 360px) {
  .brand,
  .brand-logo {
    width: 150px;
  }

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

  h1 {
    font-size: clamp(44px, 17vw, 66px);
  }
}
