:root {
  --brand: #fc5200;
  --brand-dark: #e34a00;
  --ink: #ffffff;
  --ink-muted: rgba(255, 255, 255, 0.82);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background: #1a1a1c;
}

a {
  color: var(--ink);
  text-decoration: none;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #1a1a1c;
  background-image:
    linear-gradient(
      105deg,
      rgba(10, 10, 12, 0.82) 0%,
      rgba(10, 10, 12, 0.55) 42%,
      rgba(10, 10, 12, 0.25) 70%,
      rgba(10, 10, 12, 0.35) 100%
    ),
    url("/hero.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  position: relative;
  z-index: 1;
}

.logo {
  height: 1.75rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.top nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  background: var(--brand);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.55rem 1rem;
  transition: background 0.15s ease;
}

.cta:hover {
  background: var(--brand-dark);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero p {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink-muted);
  max-width: 28rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

footer {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .page {
    background-position: 70% center;
    background-image:
      linear-gradient(
        180deg,
        rgba(10, 10, 12, 0.55) 0%,
        rgba(10, 10, 12, 0.72) 45%,
        rgba(10, 10, 12, 0.88) 100%
      ),
      url("/hero.jpg");
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    justify-content: flex-end;
  }

  .hero h1 {
    max-width: none;
  }
}
