:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #c5d4dc;
  --dim: #8da7b2;
  --navy: #061a24;
  --panel: rgba(8, 28, 38, 0.72);
  --line: rgba(185, 232, 232, 0.22);
  --teal: #31c5ba;
  --green: #8edc99;
  --amber: #f4ba58;
  --shadow: rgba(0, 0, 0, 0.35);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

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

.site {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.site::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("assets/hero-payrollgps.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
}

.site::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 14, 21, 0.92), rgba(3, 14, 21, 0.74) 42%, rgba(3, 14, 21, 0.2) 72%),
    linear-gradient(0deg, rgba(3, 14, 21, 0.68), rgba(3, 14, 21, 0.08) 48%);
}

.shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0;
}

.masthead,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 24, 34, 0.74);
  box-shadow: 0 18px 45px var(--shadow);
}

.mark svg {
  display: block;
}

.wordmark {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 24, 34, 0.48);
  backdrop-filter: blur(16px);
}

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.hero {
  display: grid;
  align-content: center;
  width: min(640px, 100%);
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(142, 220, 153, 0.14);
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

.summary {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.button.primary {
  border-color: transparent;
  background: var(--teal);
  color: #062027;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #7fe0d7;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
  margin-top: 46px;
}

.status {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 55px var(--shadow);
  backdrop-filter: blur(18px);
}

.status strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.status span {
  display: block;
  margin-top: 7px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.35;
}

.footer {
  color: rgba(247, 251, 255, 0.64);
  font-size: 13px;
}

.footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: rgba(49, 197, 186, 0.7);
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .site::before {
    background-position: 64% center;
  }

  .site::after {
    background:
      linear-gradient(90deg, rgba(3, 14, 21, 0.94), rgba(3, 14, 21, 0.76)),
      linear-gradient(0deg, rgba(3, 14, 21, 0.76), rgba(3, 14, 21, 0.22) 44%);
  }

  .shell {
    width: min(100% - 28px, 1120px);
    padding: 18px 0 22px;
  }

  .masthead,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    border-radius: 8px;
  }

  .nav a {
    flex: 1;
    text-align: center;
  }

  .hero {
    padding: 54px 0 34px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(44px, 16vw, 64px);
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: center;
  }

  .status-row {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }
}
