:root {
  --ink: #122033;
  --muted: #5a697c;
  --line: #dbe5ef;
  --soft: #f4f8fb;
  --soft-blue: #eef7fb;
  --panel: #ffffff;
  --navy: #0b2b52;
  --blue: #1367d1;
  --sky: #43a9d1;
  --teal: #10a6a6;
  --green: #26a269;
  --shadow: 0 20px 50px rgba(18, 32, 51, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

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

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

a:hover {
  color: var(--blue);
}

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

.narrow {
  max-width: 820px;
}

.section {
  padding: 88px 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(219, 229, 239, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.brand-logo,
.custom-logo {
  width: auto;
  height: 48px;
  max-width: 60px;
  object-fit: contain;
}

.brand-text {
  white-space: nowrap;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu a {
  position: relative;
  color: #26384d;
  font-weight: 650;
  font-size: 0.95rem;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--sky);
  transition: transform 160ms ease;
}

.menu a:hover::after {
  transform: scaleX(1);
}

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

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  padding: 80px 0 62px;
  background: linear-gradient(180deg, #f7fbfd 0%, #fff 100%);
}

.hero-grid,
.split-grid,
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lede,
.section-heading p,
.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

.micro-proof {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(19, 103, 209, 0.18);
}

.button:hover {
  color: #fff;
  background: #0e56b0;
}

.button-secondary,
.button-light {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}

.button-secondary:hover,
.button-light:hover {
  color: #fff;
  background: var(--blue);
}

.hero-media,
.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-media {
  transform: translateY(6px);
}

.hero-media img,
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0 0;
}

.proof-strip div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.proof-strip dt {
  font-weight: 850;
}

.proof-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.section-heading h2,
.split-grid h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.card-grid,
.case-grid,
.testimonial-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.case-card,
.testimonial-card,
.product-card,
.detail-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feature-card:hover,
.case-card:hover,
.product-card:hover {
  border-color: #b9d9ef;
  box-shadow: 0 18px 40px rgba(18, 32, 51, 0.1);
  transform: translateY(-2px);
}

.card-image {
  display: block;
  overflow: hidden;
  margin: -26px -26px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.card-image img,
.entry-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.entry-image {
  overflow: hidden;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card h3,
.case-card h3,
.product-card h3 {
  margin: 14px 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.feature-card p,
.case-card p,
.product-card p,
.testimonial-card {
  color: var(--muted);
}

.icon-badge {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf7f7;
  color: var(--teal);
}

.icon-badge svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hris-band,
.products-band,
.page-hero,
.process-band {
  background: var(--soft);
}

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

.process-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-grid span {
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.process-grid h3 {
  margin: 10px 0 8px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
}

.faq-band {
  background: linear-gradient(180deg, #fff 0%, var(--soft-blue) 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-grid details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
}

.case-meta,
.product-card span {
  display: inline-flex;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.text-link {
  color: var(--blue);
  font-weight: 850;
}

.testimonial-card {
  margin: 0;
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card figcaption {
  margin-top: 18px;
  color: var(--ink);
}

.testimonial-card figcaption span {
  display: block;
  color: var(--muted);
}

.final-cta {
  background: var(--navy);
  color: #fff;
}

.final-cta .eyebrow {
  color: #91f0e8;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-content {
  padding-top: 56px;
}

.content {
  max-width: 780px;
}

.content h2,
.content h3 {
  line-height: 1.15;
}

.content a {
  color: var(--blue);
  font-weight: 700;
}

.content-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 320px;
}

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

.site-footer {
  padding: 58px 0 24px;
  background: #07192e;
  color: #d8e6f4;
}

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

.footer-brand {
  color: #fff;
}

.footer-brand .brand-logo {
  background: #fff;
  border-radius: 8px;
}

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

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9bb2c8;
}

@media (max-width: 980px) {
  .section {
    padding: 66px 0;
  }

  .hero-grid,
  .split-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .card-grid,
  .case-grid,
  .testimonial-grid,
  .process-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .menu,
  .proof-strip,
  .product-grid,
  .card-grid,
  .case-grid,
  .testimonial-grid,
  .process-grid,
  .faq-grid,
  .footer-grid,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .menu {
    display: grid;
    gap: 10px;
  }

  .brand-text {
    max-width: 176px;
    white-space: normal;
    line-height: 1.15;
  }

  .brand-logo,
  .custom-logo {
    height: 42px;
    max-width: 52px;
  }

  .hero {
    padding-top: 48px;
  }

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

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
