:root {
  --ink: #0f2136;
  --muted: #52657d;
  --soft: #eef5fb;
  --panel: #ffffff;
  --line: #d4e2ef;
  --blue: #0878d3;
  --blue-dark: #0c4f91;
  --cyan: #13a8d8;
  --teal: #0f9f8f;
  --gold: #b7851e;
  --shadow: 0 24px 70px rgba(31, 76, 130, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 245, 251, 0.95) 560px),
    linear-gradient(90deg, rgba(8, 120, 211, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 120, 211, 0.035) 1px, transparent 1px),
    var(--soft);
  background-size: auto, 54px 54px, 54px 54px, auto;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

img {
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(212, 226, 239, 0.9);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 54px);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 60px;
  justify-content: center;
  min-width: 188px;
}

.brand img {
  display: block;
  height: 52px;
  max-width: 188px;
  object-fit: contain;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  color: #43576f;
  font-size: 14px;
}

.site-nav a:hover,
.header-action:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #203751;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
}

.hero {
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(7, 23, 41, 0.95) 0%, rgba(7, 23, 41, 0.84) 46%, rgba(7, 23, 41, 0.2) 100%),
    url("assets/staffpilot-pro-dashboard.png");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.hero-bg::after {
  background: linear-gradient(180deg, transparent 0%, rgba(238, 245, 251, 1) 100%);
  bottom: -1px;
  content: "";
  height: 170px;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-inner {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  margin: 0 auto;
  max-width: 1220px;
  padding: 122px 24px 160px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  color: #fff;
  max-width: 800px;
}

.eyebrow,
.section-label {
  align-items: center;
  color: var(--blue-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  padding: 9px 12px;
}

.eyebrow span,
.section-label::before {
  background: var(--cyan);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
}

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

h1 {
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.96;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.button.primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 18px 38px rgba(19, 168, 216, 0.28);
}

.button.primary:hover {
  background: #0e95bf;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(2, 12, 24, 0.28);
  color: var(--ink);
  overflow: hidden;
}

.panel-header {
  align-items: center;
  background: linear-gradient(90deg, #f7fbff, #e9f6ff);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
}

.panel-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.flow-list {
  display: grid;
  gap: 0;
}

.flow-item {
  display: grid;
  gap: 14px;
  grid-template-columns: 16px 1fr;
  padding: 18px;
}

.flow-item + .flow-item {
  border-top: 1px solid #e0edf7;
}

.flow-mark {
  background: #b8c9db;
  border-radius: 999px;
  height: 11px;
  margin-top: 5px;
  width: 11px;
}

.flow-item.active .flow-mark {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(15, 159, 143, 0.12);
}

.flow-item strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.flow-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.proof-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin: -88px auto 0;
  max-width: 1120px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.proof-strip div {
  min-height: 110px;
  padding: 24px;
}

.proof-strip strong {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 92px 24px;
}

.split {
  display: grid;
  gap: 58px;
  grid-template-columns: 0.86fr 1.14fr;
}

.section p,
.dashboard-showcase p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.automation-grid,
.module-grid {
  display: grid;
  gap: 16px;
}

.automation-grid {
  grid-template-columns: repeat(2, 1fr);
}

.automation-grid article,
.module-grid article,
.integration-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(31, 76, 130, 0.08);
  padding: 24px;
}

.icon {
  background: #e9f7ff;
  border-radius: 8px;
  display: block;
  height: 42px;
  margin-bottom: 18px;
  position: relative;
  width: 42px;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
}

.icon.match::before {
  border: 3px solid var(--blue);
  border-radius: 50%;
  height: 18px;
  left: 9px;
  top: 9px;
  width: 18px;
}

.icon.match::after {
  background: var(--blue);
  height: 3px;
  left: 25px;
  top: 27px;
  transform: rotate(45deg);
  width: 11px;
}

.icon.message::before {
  border: 3px solid var(--blue);
  border-radius: 6px;
  height: 18px;
  left: 8px;
  top: 9px;
  width: 24px;
}

.icon.message::after {
  border-left: 6px solid transparent;
  border-top: 7px solid var(--blue);
  left: 15px;
  top: 27px;
}

.icon.approval::before {
  border-bottom: 4px solid var(--teal);
  border-left: 4px solid var(--teal);
  height: 10px;
  left: 12px;
  top: 14px;
  transform: rotate(-45deg);
  width: 20px;
}

.icon.audit::before {
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 8px 0 var(--blue), 0 16px 0 var(--blue);
  height: 3px;
  left: 11px;
  top: 11px;
  width: 20px;
}

.platform {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1220px) / 2));
  padding-right: max(24px, calc((100vw - 1220px) / 2));
  background: #f8fbff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
}

.module-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.module-grid article {
  min-height: 210px;
}

.module-grid article::before {
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 999px;
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 22px;
  width: 64px;
}

.dashboard-showcase {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: 0.78fr 1.22fr;
  margin: 0 auto;
  max-width: 1220px;
  padding: 92px 24px;
}

.dashboard-showcase img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
}

.screenshots {
  border-top: 1px solid var(--line);
}

.screenshot-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.screenshot-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(31, 76, 130, 0.08);
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 18px;
}

.screenshot-card.wide {
  grid-column: span 3;
}

.screenshot-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.screenshot-card span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  line-height: 1.55;
}

.screenshot-card img {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 280px;
  object-fit: cover;
  object-position: top left;
  width: 100%;
}

.screenshot-card.wide img {
  height: 520px;
}

.integrations {
  border-top: 1px solid var(--line);
}

.integration-shell {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
}

.integration-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 10px;
}

.integration-card span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  line-height: 1.55;
}

.contact-band {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 33, 54, 0.98), rgba(12, 79, 145, 0.94)),
    url("assets/staffpilot-pro-dashboard.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto;
  padding: 88px max(24px, calc((100vw - 1220px) / 2));
}

.contact-band .section-label {
  color: #bfecff;
}

.contact-band h2 {
  max-width: 880px;
}

.site-footer {
  align-items: center;
  background: #071729;
  color: rgba(255, 255, 255, 0.74);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 24px max(24px, calc((100vw - 1220px) / 2));
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split,
  .dashboard-showcase,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .module-grid,
  .screenshot-grid,
  .integration-shell {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-card.wide {
    grid-column: span 2;
  }

  .contact-band .button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-action {
    width: 100%;
  }

  .hero-inner {
    padding-top: 82px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-panel {
    align-self: stretch;
  }

  .proof-strip,
  .automation-grid,
  .module-grid,
  .screenshot-grid,
  .integration-shell {
    grid-template-columns: 1fr;
  }

  .screenshot-card.wide {
    grid-column: span 1;
  }

  .screenshot-card img,
  .screenshot-card.wide img {
    height: 230px;
  }

  .proof-strip {
    margin-top: -54px;
  }

  .section,
  .dashboard-showcase,
  .platform,
  .contact-band {
    padding-bottom: 68px;
    padding-top: 68px;
  }
}
