:root {
  --navy-950: #041326;
  --navy-900: #071d38;
  --navy-800: #0d315d;
  --blue: #2374e8;
  --cyan: #20b7d4;
  --orange: #e67d27;
  --orange-light: #ffad62;
  --green: #32c88a;
  --ink: #132238;
  --muted: #637188;
  --surface: #ffffff;
  --soft: #f3f6fa;
  --border: #dbe4ef;
  --shadow: 0 24px 60px rgba(7, 29, 56, .13);
  --small-shadow: 0 12px 30px rgba(7, 29, 56, .08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.62;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 102px 0; }
.soft-section { background: var(--soft); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6.9vw, 6.3rem);
  line-height: .96;
  letter-spacing: -.055em;
}
h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.3vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.042em;
}
h3 { line-height: 1.15; letter-spacing: -.02em; }
p { color: var(--muted); }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #f39b46);
  box-shadow: 0 14px 32px rgba(230, 125, 39, .25);
}
.button-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(4, 19, 38, .94);
  backdrop-filter: blur(15px);
}
.nav {
  position: relative;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo {
  width: 53px;
  height: 53px;
  flex: 0 0 auto;
  border-radius: 13px;
  object-fit: cover;
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 1.27rem; }
.brand-copy small { margin-top: 5px; color: #9fd0ff; font-size: .77rem; }
.site-nav { display: flex; align-items: center; gap: 19px; font-size: .92rem; font-weight: 750; }
.site-nav a { color: #dce9f8; transition: color .2s ease; }
.site-nav a:hover { color: #fff; }
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--blue);
  box-shadow: 0 10px 25px rgba(35,116,232,.27);
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  border-radius: 4px;
  background: #fff;
  transition: .2s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(35,116,232,.42), transparent 29%),
    radial-gradient(circle at 30% 95%, rgba(230,125,39,.16), transparent 31%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 54px 54px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 760px;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 70px;
  padding: 94px 0;
}
.hero-lead { max-width: 700px; color: #dce9f8; font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.audience-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.audience-chips span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  color: #c9dcf2;
  background: rgba(255,255,255,.06);
  font-size: .82rem;
  font-weight: 760;
}
.hero-visual { position: relative; }
.hero-screen {
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 28px;
  background: rgba(255,255,255,.09);
  box-shadow: 0 34px 90px rgba(0,0,0,.34);
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
}
.hero-screen img { width: 100%; border-radius: 18px; }
.floating-card {
  position: absolute;
  display: flex;
  min-width: 215px;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 16px;
  color: #fff;
  background: rgba(5,28,54,.85);
  box-shadow: 0 20px 45px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
}
.floating-card div { display: grid; }
.floating-card small { color: #bcd3ea; }
.mini-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--orange);
  font-size: 1.35rem;
}
.floating-mobile { left: -38px; bottom: 60px; }
.floating-schedule { top: 38px; right: -34px; }

/* Common sections */
.section-heading { max-width: 820px; margin-bottom: 44px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p:last-child { font-size: 1.08rem; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
}
.pillar-card {
  position: relative;
  min-height: 310px;
  padding: 29px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--small-shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pillar-number {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.pillar-card h3 { font-size: 1.55rem; }
.pillar-card p { font-size: .96rem; }
.pillar-card a { color: var(--blue); font-weight: 800; }
.split-section {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 70px;
}
.section-copy > p:not(.eyebrow) { font-size: 1.08rem; }
.check-list { display: grid; gap: 12px; margin: 27px 0 0; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding-left: 31px;
  color: #35455b;
  font-weight: 680;
}
.check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  content: "✓";
  color: #fff;
  background: var(--green);
  font-size: .72rem;
}
.framed-image {
  overflow: hidden;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 27px;
  background: #fff;
  box-shadow: var(--shadow);
}
.framed-image img { width: 100%; border-radius: 18px; }
.dark-feature {
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(35,116,232,.25), transparent 30%),
    var(--navy-900);
}
.dark-feature h2 { color: #fff; }
.dark-feature p { color: #cbdcf0; }
.dark-frame { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.07); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.feature-tags span {
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  color: #e1edf9;
  background: rgba(255,255,255,.07);
  font-size: .89rem;
  font-weight: 750;
}

/* Integrations */
.payroll-section { background: #fff; }
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.integration-card {
  display: grid;
  min-height: 125px;
  align-content: center;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--small-shadow);
}
.integration-card strong { color: var(--navy-800); font-size: 1.18rem; }
.integration-card span { margin-top: 5px; color: var(--muted); font-size: .9rem; }
.custom-export-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 32px;
  padding: 34px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  box-shadow: var(--shadow);
}
.custom-export-banner h3 { margin: 0 0 8px; font-size: 1.65rem; }
.custom-export-banner p:last-child { margin-bottom: 0; color: #cbdcf0; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--small-shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-card.gallery-wide { grid-column: span 2; }
.gallery-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #eaf0f7; }
.gallery-card .dashboard-image {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 16px;
  background: #eef3f8;
}
.gallery-card > div { padding: 22px 24px 24px; }
.gallery-card h3 { margin-bottom: 7px; font-size: 1.27rem; }
.gallery-card p { margin-bottom: 0; font-size: .94rem; }
.timesheet-card img { object-fit: contain; max-height: 670px; }

/* Industries & why */
.industries-section { color: #fff; background: var(--navy-900); }
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.industry-grid span {
  display: grid;
  min-height: 84px;
  place-items: center;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 15px;
  color: #dce9f8;
  background: rgba(255,255,255,.06);
  text-align: center;
  font-weight: 780;
}
.why-section { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.why-grid div {
  display: grid;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--soft);
}
.why-grid strong { color: var(--navy-800); font-size: 1.08rem; }
.why-grid span { margin-top: 4px; color: var(--muted); font-size: .9rem; }

/* Contact */
.contact-section {
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(35,116,232,.27), transparent 32%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-copy > p:not(.eyebrow) { color: #cadcf0; font-size: 1.08rem; }
.contact-points { display: grid; gap: 11px; color: #dce9f8; font-weight: 720; }
.contact-form {
  display: grid;
  gap: 17px;
  padding: 29px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.075);
  box-shadow: 0 28px 65px rgba(0,0,0,.2);
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.contact-form label { display: grid; gap: 7px; color: #dce9f8; font-weight: 760; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  outline: 0;
  color: #fff;
  background: rgba(255,255,255,.085);
}
.contact-form textarea { resize: vertical; }
.contact-form select option { color: var(--ink); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--orange-light); box-shadow: 0 0 0 3px rgba(230,125,39,.15); }
.form-button { justify-self: start; }
.honeypot { display: none !important; }

/* Footer */
.site-footer { padding: 34px 0; color: #bdd0e5; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { width: 43px; height: 43px; border-radius: 11px; object-fit: cover; }
.footer-brand div { display: grid; line-height: 1.15; }
.footer-brand strong { color: #fff; }
.footer-brand span { font-size: .76rem; }
.footer-links { display: flex; gap: 18px; font-size: .88rem; font-weight: 720; }
.copyright { grid-column: 1 / -1; margin: 4px 0 0; font-size: .78rem; }
.mobile-demo-button { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .pillar-card, .gallery-card { transition: none; }
}

/* Responsive */
@media (max-width: 1120px) {
  .site-nav { gap: 12px; font-size: .84rem; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  body { padding-bottom: 70px; }
  .container { width: min(100% - 30px, 1180px); }
  .section { padding: 75px 0; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 96px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 0 0 18px 18px;
    background: rgba(4,19,38,.99);
    box-shadow: 0 20px 45px rgba(0,0,0,.28);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 14px; border-radius: 9px; }
  .nav-cta { margin-top: 7px; text-align: center; }
  .hero-grid,
  .split-section,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; gap: 46px; padding: 72px 0; }
  .hero-screen { transform: none; }
  .floating-card { position: static; margin-top: 13px; }
  .hero-visual { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .hero-screen { grid-column: 1 / -1; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .reverse-mobile .section-copy { order: -1; }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-export-banner { align-items: flex-start; flex-direction: column; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card.gallery-wide { grid-column: span 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .mobile-demo-button {
    position: fixed;
    z-index: 100;
    left: 15px;
    right: 15px;
    bottom: 11px;
    display: block;
    padding: 14px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), #f39b46);
    box-shadow: 0 16px 35px rgba(4,19,38,.33);
    text-align: center;
    font-weight: 900;
  }
}
@media (max-width: 600px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav { min-height: 73px; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-copy strong { font-size: 1.12rem; }
  .brand-copy small { max-width: 168px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.15rem; }
  .hero-grid { padding: 57px 0; }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { grid-template-columns: 1fr; }
  .hero-screen { grid-column: auto; padding: 8px; border-radius: 19px; }
  .floating-card { min-width: 0; }
  .pillar-grid,
  .integration-grid,
  .why-grid,
  .industry-grid,
  .form-row { grid-template-columns: 1fr; }
  .pillar-card { min-height: auto; }
  .pillar-number { margin-bottom: 27px; }
  .framed-image { padding: 8px; border-radius: 19px; }
  .custom-export-banner { padding: 25px; }
  .contact-form { padding: 20px; }
  .contact-form input,
  .contact-form textarea,
  .contact-form select { font-size: 16px; }
}

/* Job Tracker Reports: give the report screenshot more room and show it in full */
#job-tracker-reports .split-section {
  grid-template-columns: 1.35fr 0.65fr;
  align-items: center;
}

#job-tracker-reports .framed-image {
  padding: 8px;
}

#job-tracker-reports .framed-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 900px) {
  #job-tracker-reports .split-section {
    grid-template-columns: 1fr;
  }
}
