:root {
  --black: #050505;
  --panel: #0b0b0b;
  --gold: #d4aa3c;
  --gold-light: #f0c75f;
  --white: #f5f5f5;
  --muted: #b3b3b3;
  --border: rgba(212, 170, 60, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */

.site-header {
  width: min(1400px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
}

.brand-text span {
  display: block;
  max-width: 180px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.header-button {
  padding: 13px 18px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
}

/* HERO */

.hero {
  position: relative;
  isolation: isolate;

  width: min(1400px, calc(100% - 48px));
  min-height: 650px;
  margin: 0 auto;
  padding: 70px 0 80px;

  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  gap: 45px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;

  top: 0;
  bottom: 0;
  left: 50%;

  width: 100vw;
  transform: translateX(-50%);

  background-image:
    linear-gradient(
      to bottom,
      rgba(5, 5, 5, 0.2) 0%,
      rgba(5, 5, 5, 0.25) 45%,
      rgba(5, 5, 5, 0.75) 82%,
      #050505 100%
    ),
    url("images/mountains.png");

  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow,
.section-label {
  color: var(--gold-light);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero-description {
  max-width: 540px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-width: 160px;
  padding: 15px 22px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: bold;
  text-transform: uppercase;
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #090909;
}

.button-secondary {
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

/* DASHBOARD */

.hero-visual {
  width: 100%;
  min-width: 0;
}

.dashboard-glow {
  display: none;
}

.dashboard-frame {
  width: 100%;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #080808;
  box-shadow:
    0 0 35px rgba(212, 170, 60, 0.16),
    0 25px 60px rgba(0, 0, 0, 0.55);
}

.dashboard-frame img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  display: block;

  /* Fade the left edge */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 100%);
}

/* BENEFITS */

.benefits {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.benefit {
  min-height: 190px;
  padding: 34px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.benefit:last-child {
  border-right: none;
}

.benefit-number {
  color: var(--gold);
  font-size: 0.78rem;
}

.benefit h2 {
  margin-top: 22px;
  color: var(--gold-light);
  font-size: 1rem;
  text-transform: uppercase;
}

.benefit p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* CONTENT */

.content-section {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-section > h2 {
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(2.3rem, 4vw, 4.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.content-section > h2 span {
  display: block;
  color: var(--gold);
}

.content-section > p:not(.section-label) {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.7;
}

/* ENGINES */

.engine-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.engine-grid article {
  min-height: 230px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.engine-grid article > span {
  color: rgba(212, 170, 60, 0.55);
  font-size: 0.76rem;
}

.engine-grid h3 {
  margin-top: 32px;
  color: var(--gold-light);
  font-size: 0.95rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.engine-grid p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* FOOTER */

footer {
  width: min(1400px, calc(100% - 48px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
}

footer strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.2rem;
}

footer span,
footer p {
  font-size: 0.75rem;
}

/* TABLET */

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    max-width: 1000px;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit:nth-child(2) {
    border-right: none;
  }

  .benefit:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .engine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */

@media (max-width: 680px) {
  .site-header,
  .hero,
  .benefits,
  .content-section,
  footer {
    width: min(100% - 28px, 1400px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-text span,
  .header-button {
    display: none;
  }

  .hero {
    padding: 45px 0 55px;
    gap: 35px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .benefit {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .benefit:last-child {
    border-bottom: none;
  }

  .engine-grid {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 30px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}