:root {
  --cream: #f3efe7;
  --cream-strong: #ebe3d2;
  --soft: #edf2ee;
  --white: #ffffff;
  --charcoal: #1d2228;
  --slate: #5d6670;
  --line: rgba(29, 34, 40, 0.08);
  --line-light: rgba(255, 255, 255, 0.12);
  --green: #2f7b57;
  --green-bright: #83d45c;
  --shadow: 0 24px 60px rgba(23, 28, 31, 0.08);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--charcoal);
}

img {
  display: block;
  max-width: 100%;
}

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

.shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 231, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand img {
  height: 50px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--slate);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.button-primary {
  background: var(--green);
  color: var(--white);
}

.button-primary:hover {
  background: #24684b;
}

.button-secondary {
  background: var(--white);
  border: 1px solid rgba(29, 34, 40, 0.14);
  color: var(--charcoal);
}

.button-secondary:hover {
  background: var(--soft);
}

.hero-section {
  padding: 32px 0 80px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 2.4rem;
  box-shadow: var(--shadow);
  background: #c9d7e6;
}

.hero-background,
.hero-fade {
  position: absolute;
  inset: 0;
}

.hero-background {
  background: center / cover no-repeat url("assets/hero-environment.png");
}

.hero-fade {
  background:
    linear-gradient(
      90deg,
      rgba(243, 239, 231, 0.96) 0%,
      rgba(243, 239, 231, 0.88) 22%,
      rgba(243, 239, 231, 0.56) 42%,
      rgba(243, 239, 231, 0.18) 62%,
      rgba(243, 239, 231, 0.04) 100%
    );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
}

.eyebrow,
.section-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}

.section-label-accent {
  color: var(--green-bright);
}

.hero-copy h1,
.section h2 {
  margin: 20px 0 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section h2 {
  font-size: clamp(32px, 3.2vw, 48px);
  letter-spacing: -0.03em;
}

.hero-text,
.section-copy,
.cta-card p,
.vehicle-card p,
.info-card p {
  color: var(--slate);
  line-height: 1.8;
}

.hero-text {
  margin: 28px 0 0;
  max-width: 40rem;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 112px;
  background: linear-gradient(180deg, rgba(243,239,231,0), rgba(243,239,231,0.12));
}

.hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(2px);
}

.hero-feature-grid {
  position: absolute;
  inset: 160px 20px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.glass-card {
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  color: var(--white);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}

.glass-card h3,
.info-card h3,
.vehicle-card h3,
.platform-item h3 {
  margin: 0;
  font-size: 18px;
}

.glass-card p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  font-size: 13px;
}

.section {
  padding: 72px 0;
}

.section-tight {
  padding: 20px 0 32px;
}

.section-last {
  padding-bottom: 96px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

.info-card {
  padding: 28px;
  border-radius: 1.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-card-soft {
  background: var(--soft);
}

.compare-panel,
.cta-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.compare-card,
.cta-card {
  padding: 40px 48px;
}

.compare-card-light {
  background: var(--soft);
}

.compare-card-dark,
.cta-card-dark {
  background: var(--charcoal);
  color: var(--white);
}

.compare-card-dark .plain-list,
.cta-card-dark p {
  color: rgba(255,255,255,0.8);
}

.plain-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--slate);
}

.plain-list li + li {
  margin-top: 14px;
}

.platform-section {
  background: var(--charcoal);
  color: var(--white);
}

.platform-grid,
.deployments-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.platform-copy h2 {
  margin-top: 18px;
}

.stack-list {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

.platform-item {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,0.05);
}

.dashboard-card {
  padding: 20px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-light);
  background: #111924;
  box-shadow: var(--shadow);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-stats div {
  padding: 16px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
}

.dashboard-stats span {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dashboard-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.dashboard-visual {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #182433 0%, #0d1520 100%);
}

.dashboard-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.dashboard-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
}

.dispatch-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 208px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.95);
  color: var(--charcoal);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.dispatch-card p {
  margin: 8px 0 0;
  color: var(--slate);
  font-size: 14px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.vehicle-card {
  padding: 20px 24px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.vehicle-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
}

.vehicle-media img {
  max-height: 92%;
  width: auto;
}

.vehicle-card h3 {
  margin-top: 24px;
}

.vehicle-meta {
  margin: 12px 0 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.vehicle-sub {
  margin: 4px 0 0;
  font-size: 14px;
}

.metrics-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 30px 32px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.metrics-panel article strong {
  display: block;
  font-size: 40px;
  color: var(--green);
}

.metrics-panel article span {
  display: block;
  margin-top: 12px;
  color: var(--slate);
  line-height: 1.6;
  font-size: 14px;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.tag-grid span {
  display: block;
  padding: 15px 16px;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--slate);
  font-size: 14px;
  font-weight: 600;
}

.deployment-media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.deployment-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .hero-grid,
  .platform-grid,
  .deployments-grid,
  .compare-panel,
  .cta-panel,
  .vehicle-grid,
  .card-grid-4,
  .metrics-panel {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .text-link {
    display: none;
  }

  .hero-panel {
    min-height: 460px;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 32px, 1200px);
  }

  .hero-grid {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-feature-grid,
  .tag-grid {
    grid-template-columns: 1fr;
  }

  .hero-feature-grid {
    inset: 120px 16px auto;
    gap: 18px;
  }

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

  .compare-card,
  .cta-card,
  .info-card,
  .vehicle-card {
    padding: 24px;
  }

  .vehicle-media {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .header-bar {
    min-height: 72px;
  }

  .brand img {
    height: 36px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-copy h1,
  .section h2 {
    font-size: 34px;
  }
}
