* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:root {
  --wdx-border: #D6E3EC;
  --wdx-muted-border: #E7EEF4;
  --wdx-shadow: 0 18px 40px rgba(11, 31, 58, 0.10);
  --wdx-soft-shadow: 0 10px 24px rgba(11, 31, 58, 0.08);
  --wdx-radius: 8px;
  --wdx-header-height: 76px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--wdx-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--wdx-radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--wdx-soft-shadow);
}

.btn-primary {
  background: var(--wdx-green);
  color: var(--wdx-navy);
}

.btn-primary:hover {
  background: var(--wdx-lime);
}

.btn-secondary {
  background: var(--wdx-electric-blue);
  color: var(--wdx-white);
}

.btn-secondary:hover {
  background: var(--wdx-teal);
}

.btn-outline {
  background: var(--wdx-white);
  border-color: var(--wdx-border);
  color: var(--wdx-deep-blue);
}

.btn-outline:hover {
  border-color: var(--wdx-electric-blue);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.badge-new {
  background: rgba(30, 159, 232, 0.12);
  color: var(--wdx-deep-blue);
}

.badge-assigned {
  background: rgba(14, 124, 134, 0.12);
  color: var(--wdx-teal);
}

.badge-progress {
  background: rgba(245, 158, 11, 0.16);
  color: #9A5A00;
}

.badge-completed {
  background: rgba(34, 197, 94, 0.14);
  color: #137A38;
}

.badge-invoiced {
  background: rgba(122, 201, 67, 0.18);
  color: #3E721E;
}

.badge-cancelled {
  background: rgba(225, 29, 72, 0.12);
  color: var(--wdx-danger);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--wdx-muted-border);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--wdx-header-height);
  gap: 24px;
}

.brand-link {
  flex: 0 0 auto;
}

.brand-logo {
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--wdx-slate);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--wdx-deep-blue);
}

.header-cta {
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--wdx-border);
  border-radius: var(--wdx-radius);
  background: var(--wdx-white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--wdx-navy);
}

.site-footer {
  background: var(--wdx-navy);
  color: var(--wdx-white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 28px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 14px;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--wdx-white);
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0;
  }

  .brand-logo {
    width: 164px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 0 4px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav-static {
    display: flex;
    width: auto;
    order: 0;
    flex-direction: row;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

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