:root {
  --ink: #08111f;
  --navy: #10192b;
  --muted: #53657a;
  --line: #d9e0ea;
  --page: #f4f7fb;
  --gold: #c99a2e;
  --gold-dark: #b98418;
  --teal: #17b1a4;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 224, 234, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  width: min(100% - 40px, 1180px);
  height: 64px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 18px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 36px;
  color: #5c6d80;
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: transparent;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--gold-dark);
}

.nav-links .active::after {
  background: var(--gold);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  border: 1px solid #07101f;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(8, 17, 31, 0.16);
}

.button-dark:hover {
  background: #172239;
}

.button-gold {
  border: 1px solid var(--gold-dark);
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 18px 28px rgba(185, 132, 24, 0.28);
}

.button-gold:hover {
  background: #d9ad4b;
}

.button-light {
  border: 1px solid #d4dce8;
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--gold);
  color: #8c6415;
}

.button-teal {
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #06221f;
  box-shadow: 0 18px 34px rgba(23, 177, 164, 0.28);
}

.button-teal:hover {
  background: #3ed0c2;
}

.hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(201, 154, 46, 0.2), transparent 30%),
    radial-gradient(circle at 30% 22%, rgba(23, 177, 164, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding-block: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  padding: 7px 11px;
  color: #385067;
  font-size: 13px;
  font-weight: 750;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(23, 177, 164, 0.12);
}

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

h1 {
  max-width: 680px;
  margin-top: 20px;
  color: #06101f;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 850;
  line-height: 1.05;
}

h1 strong {
  display: inline;
  color: var(--gold-dark);
}

.hero-copy {
  max-width: 590px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button-row.center {
  justify-content: center;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 336px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #dfe7ef;
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.18),
    0 0 0 10px rgba(255, 255, 255, 0.42);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 336px;
  object-fit: cover;
}

.window-dots {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 1;
}

.window-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d77f74;
  box-shadow: 16px 0 0 #d9b45d, 32px 0 0 #74c7bd;
}

.assessment {
  background: var(--navy);
  color: var(--white);
  padding-block: 64px;
}

.assessment-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 48px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}

.assessment h2 {
  max-width: 680px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
}

.assessment p {
  max-width: 680px;
  margin-top: 16px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
}

.features {
  padding-block: 104px;
}

.section-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.final-cta h2 {
  color: #06101f;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 850;
  line-height: 1.08;
}

.section-heading p,
.final-cta p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 32px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
}

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

.feature-card h3 {
  margin-top: 16px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.feature-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.feature-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  color: #51647a;
  font-size: 13px;
  list-style: none;
}

.feature-card li::before {
  margin-right: 7px;
  color: var(--teal);
  content: "✓";
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1fr 0.9fr;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #ecf4ff;
}

.feature-icon span {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.shield {
  color: #1e5fd7;
}

.flow {
  color: var(--teal);
  background: #e7faf8;
}

.audit {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.22);
}

.gold-card {
  border-color: var(--gold-dark);
  background: var(--gold);
  color: var(--ink);
}

.gold-card h3,
.gold-card p {
  color: var(--ink);
}

.gold-card a {
  display: inline-flex;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.mini-dashboard {
  position: relative;
  overflow: hidden;
  min-height: 208px;
  border: 1px solid #d5dfec;
  border-radius: 8px;
  background: #eef4fb;
}

.mini-dashboard.access {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 18px;
}

.dash-sidebar {
  border-radius: 8px;
  background: #12213a;
}

.dash-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.dash-main span {
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 -36px 0 rgba(201, 154, 46, 0.18);
}

.dash-lock {
  position: absolute;
  right: 18px;
  bottom: 16px;
  border-radius: 8px;
  background: var(--teal);
  padding: 9px 13px;
  color: #06221f;
  font-size: 13px;
  font-weight: 850;
}

.approval-row {
  display: flex;
  gap: 6px;
  margin-top: 32px;
}

.approval-row span,
.approval-row strong {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: #dce7f2;
}

.approval-row strong {
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
}

.mini-dashboard.payroll {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 16px;
  padding: 20px;
}

.mini-dashboard.payroll div {
  border-radius: 8px;
  background: var(--white);
}

.mini-dashboard.payroll div:first-child {
  grid-row: span 2;
  background:
    linear-gradient(90deg, rgba(23, 177, 164, 0.18) 16%, transparent 16%),
    var(--white);
}

.mini-dashboard.payroll div:nth-child(2) {
  box-shadow: inset 0 -52px 0 rgba(201, 154, 46, 0.2);
}

.mini-dashboard.payroll div:nth-child(3) {
  box-shadow: inset 0 -40px 0 rgba(23, 177, 164, 0.18);
}

.progress-box {
  margin-top: 24px;
  border-radius: 8px;
  background: #edf4f8;
  padding: 16px;
}

.progress-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #52677c;
  font-size: 13px;
}

.progress-box strong {
  color: #17a497;
}

.progress-box i {
  display: block;
  height: 7px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal) 0 85%, #d8e4ee 85%);
}

.stats {
  border-block: 1px solid #d9e0ea;
  background: var(--white);
  padding-block: 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats strong {
  display: block;
  color: #06101f;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 850;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.final-cta {
  padding-block: 104px;
  text-align: center;
}

.narrow {
  max-width: 780px;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-block: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 64px;
}

.site-footer h2 {
  font-size: 18px;
}

.site-footer p {
  max-width: 390px;
  margin-top: 20px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.75;
}

.site-footer small {
  display: block;
  margin-top: 24px;
  color: #94a3b8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #98a7ba;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-top: 14px;
  color: #d7deea;
  font-size: 14px;
}

.site-footer a:hover {
  color: #d9ad4b;
}

@media (max-width: 900px) {
  .hero-grid,
  .assessment-card,
  .split,
  .split.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-card.wide {
    grid-column: auto;
  }

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .container,
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    gap: 12px;
  }

  .nav .button {
    padding-inline: 14px;
  }

  .button {
    width: 100%;
  }

  .button-row {
    width: 100%;
  }

  .hero-grid,
  .features,
  .final-cta {
    padding-block: 64px;
  }

  .assessment-card,
  .feature-card {
    padding: 24px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 260px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
