:root {
  --ink: #14171a;
  --muted: #5f6b73;
  --line: #d8e0e4;
  --paper: #ffffff;
  --soft: #f5f8f7;
  --warm: #f7f3ed;
  --navy: #0f2330;
  --navy-2: #17394a;
  --red: #d64f3c;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --shadow: 0 18px 42px rgba(15, 35, 48, 0.14);
  --radius: 8px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 420px, #f7faf9 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.shell {
  width: min(100% - 32px, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 220px;
  max-width: 48vw;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--navy);
  background: var(--soft);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.nav-cta,
.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(214, 79, 60, 0.22);
}

.button-secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(214, 79, 60, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("../img/tagg-hr-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 35, 48, 0.92) 0%, rgba(15, 35, 48, 0.72) 45%, rgba(15, 35, 48, 0.18) 100%),
    linear-gradient(0deg, rgba(15, 35, 48, 0.25), rgba(15, 35, 48, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  padding: 70px 0;
}

.hero-content h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 4.2rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.25rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  min-height: 92px;
  padding: 18px;
  background: rgba(15, 35, 48, 0.58);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 1.05rem;
}

.hero-proof span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ff1e8;
}

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

.signal-band {
  background: var(--navy);
  color: #fff;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.signal-grid div {
  min-height: 126px;
  padding: 24px;
  background: var(--navy);
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 92px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(245, 248, 247, 0.96), rgba(245, 248, 247, 1)),
    repeating-linear-gradient(90deg, transparent 0, transparent 23px, rgba(15, 35, 48, 0.04) 24px);
}

.proof-strip {
  padding: 76px 0;
  background:
    linear-gradient(135deg, #f7f3ed 0%, #ffffff 44%, #eef8f6 100%);
  border-bottom: 1px solid #e3ece9;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 44px;
  align-items: center;
}

.proof-copy h2,
.offer-system h2,
.quote-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.25rem;
  line-height: 1.08;
}

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

.proof-metrics div {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(15, 35, 48, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(15, 35, 48, 0.08);
}

.proof-metrics span,
.proof-metrics strong,
.proof-metrics small {
  display: block;
}

.proof-metrics span {
  color: var(--red);
  font-weight: 900;
}

.proof-metrics strong {
  margin-top: 26px;
  color: var(--navy);
  font-size: 1.12rem;
}

.proof-metrics small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section-grid,
.split,
.form-layout,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 54px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.split h2,
.cta-section h2,
.service-row h2,
.product-detail h2,
.pricing-options h2,
.lead-form h2,
.contact-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section-copy p,
.section-heading p,
.split p,
.cta-section p,
.service-row p,
.product-detail p,
.pricing-options p,
.contact-panel p {
  color: var(--muted);
}

.feature-list,
.product-grid,
.product-detail-grid,
.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.product-card,
.product-detail,
.check-panel,
.contact-panel,
.pricing-options article,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 35, 48, 0.07);
}

.feature-card,
.product-card,
.product-detail {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.product-card::before,
.product-detail::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--teal));
  content: "";
}

.feature-card:hover,
.product-card:hover,
.product-detail:hover {
  box-shadow: 0 20px 42px rgba(15, 35, 48, 0.12);
  transform: translateY(-2px);
}

.feature-card,
.product-card,
.product-detail {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.feature-card,
.product-card,
.product-detail,
.check-panel,
.contact-panel,
.pricing-options article {
  padding: 26px;
}

.feature-card h3,
.product-card h3,
.check-panel h3 {
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: 1.2rem;
}

.feature-card p,
.product-card p,
.product-detail p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 28px;
  padding: 4px 8px;
  color: var(--teal-dark);
  background: #e7f8f6;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.product-card a,
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.product-card a:hover,
.text-link:hover {
  text-decoration: underline;
}

.process-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 104px;
  padding: 24px 24px 24px 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.process-list li::before {
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  counter-increment: process;
  content: counter(process);
  font-weight: 900;
}

.process-list span,
.check-list li {
  color: var(--muted);
}

.cta-section {
  padding: 66px 0;
  color: #fff;
  background: var(--navy);
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-layout div {
  max-width: 760px;
}

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  position: relative;
  padding: 84px 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(247, 243, 237, 0.98), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(135deg, rgba(15, 35, 48, 0.08) 0 1px, transparent 1px 18px);
  border-bottom: 1px solid #eadfd2;
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 8px;
  background: linear-gradient(90deg, var(--teal), var(--red));
  content: "";
}

.page-hero p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.page-visual {
  display: grid;
  gap: 12px;
  padding: 26px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 35, 48, 0.98), rgba(23, 57, 74, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 54px rgba(15, 35, 48, 0.18);
}

.page-visual span {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 6px 12px;
  color: #dffcf8;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-weight: 900;
}

.page-visual span:nth-child(2) {
  margin-left: 42px;
}

.page-visual span:nth-child(3) {
  margin-left: 84px;
}

.page-visual strong {
  display: block;
  margin-top: 10px;
  font-size: 1.05rem;
}

.product-showcase-section {
  padding-bottom: 0;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 20px;
}

.offer-system,
.quote-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offer-system {
  padding: 36px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 35, 48, 0.96), rgba(15, 118, 110, 0.82)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px);
}

.offer-system .eyebrow {
  color: #bdf8f1;
}

.offer-system h2,
.offer-system p {
  color: #fff;
}

.offer-system p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.system-steps div {
  min-height: 112px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.system-steps span,
.system-steps strong {
  display: block;
}

.system-steps span {
  color: #ffcbc2;
  font-weight: 900;
}

.system-steps strong {
  margin-top: 18px;
  color: #fff;
}

.quote-panel {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
}

.quote-panel p {
  color: var(--muted);
}

.quote-panel .button {
  margin-top: 10px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-meta span {
  min-height: 30px;
  padding: 6px 10px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-stack {
  display: grid;
  gap: 16px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  content: "";
}

.check-list li::after {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.product-detail-grid {
  align-items: stretch;
}

.product-detail {
  display: flex;
  min-height: 360px;
  flex-direction: column;
}

.product-detail .text-link {
  margin-top: auto;
}

.pricing-options {
  display: grid;
  gap: 16px;
}

.lead-form {
  padding: 28px;
}

.lead-form h2 {
  font-size: 1.65rem;
}

.lead-form p {
  color: var(--muted);
}

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

label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd6dc;
  border-radius: var(--radius);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(13, 148, 136, 0.22);
  border-color: var(--teal);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-weight: 800;
}

.contact-panel {
  position: sticky;
  top: 104px;
}

.phone-link {
  display: inline-flex;
  margin: 6px 0 18px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 54px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #11181d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 36px;
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand small,
.site-footer p,
.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

@media (max-width: 920px) {
  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    min-height: 44px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .signal-grid,
  .proof-grid,
  .section-grid,
  .split,
  .form-layout,
  .page-hero-grid,
  .service-row,
  .footer-grid,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .proof-metrics,
  .system-steps {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding: 64px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .split h2,
  .cta-section h2,
  .service-row h2,
  .proof-copy h2,
  .offer-system h2,
  .quote-panel h2 {
    font-size: 2rem;
  }

  .cta-layout,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, var(--shell));
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand-logo {
    width: 178px;
    max-width: 58vw;
  }

  .hero {
    min-height: 520px;
  }

  .hero-overlay {
    background: rgba(15, 35, 48, 0.72);
  }

  .hero-content {
    padding: 54px 0;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: 2.35rem;
    line-height: 1.05;
  }

  .hero-actions,
  .button,
  .nav-cta {
    width: 100%;
  }

  .feature-list,
  .product-grid,
  .product-detail-grid,
  .role-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .product-card,
  .product-detail,
  .check-panel,
  .contact-panel,
  .pricing-options article,
  .lead-form,
  .service-row,
  .offer-system,
  .quote-panel {
    padding: 22px;
  }

  .process-list li {
    padding: 78px 22px 22px;
  }

  .process-list li::before {
    left: 22px;
  }

  .contact-panel h2 {
    font-size: 1.75rem;
  }

  .page-visual span:nth-child(2),
  .page-visual span:nth-child(3) {
    margin-left: 0;
  }
}
