:root {
  color: #172026;
  background: #f4f7f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #172026;
  background:
    linear-gradient(135deg, rgba(42, 91, 132, 0.12), transparent 34rem),
    linear-gradient(315deg, rgba(57, 138, 118, 0.12), transparent 28rem),
    #f4f7f5;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: #1d4f65;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: #607078;
  font-size: 0.78rem;
}

nav {
  display: flex;
  gap: 18px;
  color: #4c5e67;
  font-size: 0.93rem;
  font-weight: 650;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 48px;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #2b7a63;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #10232b;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #53656e;
  font-size: 1.14rem;
  line-height: 1.7;
}

.hero-panel {
  padding: 24px;
  border: 1px solid #d7e2df;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(15, 41, 52, 0.1);
}

.panel-label,
.hero-panel span:last-child,
.status-band span {
  display: block;
  color: #63757d;
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-panel strong {
  display: block;
  margin: 8px 0;
  color: #1d4f65;
  font-size: 4.2rem;
  line-height: 1;
}

.services {
  padding: 28px 0 34px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 0;
  color: #132932;
  font-size: 1.7rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 260px;
  padding: 22px;
  border: 1px solid #dce6e2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(21, 44, 52, 0.08);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
}

.service-icon.payslip {
  background: #1d4f65;
}

.service-icon.pdf {
  background: #7d5332;
}

.service-icon.yt {
  background: #9d2f3c;
}

h3 {
  margin-bottom: 8px;
  color: #142a32;
  font-size: 1.14rem;
}

.service-card p {
  margin-bottom: 0;
  color: #596b73;
  line-height: 1.6;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  min-height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: #172026;
  font-weight: 750;
}

.service-card a:hover,
.service-card a:focus-visible {
  background: #1d4f65;
}

.status-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 72px;
  overflow: hidden;
  border: 1px solid #dce6e2;
  border-radius: 8px;
  background: #dce6e2;
}

.status-band > div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.status-band strong {
  display: block;
  margin-top: 6px;
  color: #172026;
  font-size: 1rem;
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  color: #64767e;
  font-size: 0.9rem;
}

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

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 46px;
  }

  .hero-panel {
    max-width: 360px;
  }

  .service-grid,
  .status-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1120px);
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 2.7rem;
  }

  .service-card {
    min-height: 0;
  }
}
