:root {
  color-scheme: light;
  --ink: #161514;
  --ink-soft: #413e39;
  --paper: #f6fbff;
  --surface: #ffffff;
  --line: #cfe5f7;
  --ember: #f0522c;
  --ember-dark: #bd3519;
  --teal: #009dff;
  --moss: #0052de;
  --gold: #f5b23d;
  --sky: #3da7d9;
  --charcoal: #25221f;
  --shadow: 0 24px 70px rgba(0, 82, 222, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(207, 229, 247, 0.9);
  background: rgba(246, 251, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(0, 82, 222, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 184px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav {
  justify-content: center;
}

.site-nav a,
.text-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(22, 21, 20, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active,
.text-link:hover {
  color: var(--ink);
  background: #e6f5ff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 21, 20, 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button svg,
.inline-action svg,
.contact-methods svg,
.check-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 16px 28px rgba(240, 82, 44, 0.28);
}

.button-primary:hover {
  background: var(--ember-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.hero,
.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 78vh;
  isolation: isolate;
  color: #fffaf0;
  background-position: center;
  background-size: cover;
}

.page-hero {
  min-height: 66vh;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(38, 32, 25, 0.82), rgba(38, 32, 25, 0.43) 55%, rgba(0, 157, 255, 0.16)),
    linear-gradient(0deg, rgba(38, 32, 25, 0.74), rgba(245, 178, 61, 0.08) 58%, rgba(255, 255, 255, 0.08));
}

.hero-home {
  background-image: url("/assets/images/jobboard_hero-1.webp");
}

.page-hero-platform {
  background-image: url("/assets/images/jb_upper-grid.webp");
}

.page-hero-field {
  background-image: url("/assets/images/ipad_static.webp");
  background-position: center right;
}

.page-hero-safety {
  background-image: url("/assets/images/compliance-1.webp");
}

.page-hero-forms {
  background-image: url("/assets/images/jb_indexcard__compliance.webp");
}

.page-hero-payroll {
  background-image: url("/assets/images/photo-1516216628859-9bccecab13ca.webp");
}

.page-hero-costing {
  background-image: url("/assets/images/markus-winkler-IrRbSND5EUc-unsplash.webp");
}

.page-hero-resources {
  background-image: url("/assets/images/scott-graham-OQMZwNd3ThU-unsplash.webp");
}

.page-hero-contact {
  background-image: url("/assets/images/compliance-1.webp");
}

.hero-content,
.page-hero > div {
  width: var(--container);
  margin: 0 auto;
  padding: 116px 0 92px;
}

.hero-content {
  max-width: 780px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.page-hero > div {
  max-width: 860px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #ffb38e;
}

h1 {
  margin-bottom: 18px;
  max-width: 920px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 5.4rem);
}

.hero-copy,
.page-hero p:last-child {
  max-width: 700px;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.trust-strip {
  width: var(--container);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: #8ddcff;
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 132px;
  padding: 24px;
  background: #ffffff;
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.trust-strip span {
  color: var(--ink-soft);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 92px 0;
}

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

.section-copy h2,
.section-heading h2,
.final-cta h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.section-copy p,
.section-heading p:not(.eyebrow),
.final-cta p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.muted {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: #e9f6ff;
}

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

.product-frame,
.media-stack {
  position: relative;
}

.product-frame img,
.media-stack img,
.rounded-media {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-frame-overlap {
  margin-top: -34px;
}

.inline-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ember-dark);
  font-weight: 900;
}

.feature-grid,
.module-grid,
.outcome-list,
.compliance-cards,
.principle-grid,
.log-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid.three,
.outcome-list,
.principle-grid,
.log-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.module-grid article,
.outcome-list article,
.compliance-cards article,
.principle-grid article,
.log-card,
.contact-card,
.demo-form,
.ledger-panel,
.resource-card,
.accordion-item {
  border: 1px solid rgba(65, 62, 57, 0.12);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(33, 28, 22, 0.08);
}

.feature-card,
.module-grid article,
.outcome-list article,
.compliance-cards article,
.principle-grid article,
.log-card {
  min-height: 220px;
  padding: 24px;
}

.feature-card,
.module-grid article,
.principle-grid article,
.log-card,
.resource-card {
  border-top: 4px solid rgba(0, 157, 255, 0.62);
}

.feature-card:nth-child(3n + 1),
.module-grid article:nth-child(3n + 1),
.log-card:nth-child(3n + 1) {
  border-top-color: rgba(240, 82, 44, 0.68);
}

.feature-card:nth-child(3n + 2),
.module-grid article:nth-child(3n + 2),
.log-card:nth-child(3n + 2) {
  border-top-color: rgba(245, 178, 61, 0.85);
}

.feature-card h3,
.module-grid h3,
.outcome-list h3,
.compliance-cards h3,
.principle-grid h3,
.log-card h3,
.resource-card h2 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.feature-card p,
.module-grid p,
.outcome-list p,
.compliance-cards p,
.principle-grid p,
.log-card p,
.resource-card p,
.ledger-row span {
  color: var(--ink-soft);
}

.feature-card svg,
.module-grid svg,
.outcome-list svg,
.compliance-cards svg,
.principle-grid svg,
.log-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
  color: var(--teal);
}

.image-card {
  display: grid;
  grid-template-rows: 150px 1fr;
  overflow: hidden;
  padding: 0;
}

.image-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.image-card div {
  padding: 22px;
}

.outcome-band,
.compliance-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: #0874c8;
  color: #fffaf0;
}

.outcome-band h2,
.compliance-band h2 {
  color: #fffaf0;
}

.outcome-band .eyebrow,
.compliance-band .eyebrow {
  color: #ffb38e;
}

.outcome-list article,
.compliance-cards article {
  background: rgba(255, 253, 247, 0.12);
  border-color: rgba(255, 253, 247, 0.22);
}

.outcome-list p,
.compliance-cards p {
  color: rgba(255, 250, 240, 0.78);
}

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

.proof-row div {
  padding: 30px;
  border-left: 4px solid var(--gold);
  background: #ffffff;
}

.metric {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 950;
  line-height: 0.9;
}

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

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--ink-soft);
}

.check-list svg {
  color: var(--teal);
  margin-top: 2px;
}

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

.floating-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 280px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.floating-note svg {
  width: 26px;
  height: 26px;
  color: var(--ember);
}

.workflow,
.timeline,
.resource-grid,
.ops-console {
  display: grid;
  gap: 18px;
}

.workflow {
  grid-template-columns: repeat(3, 1fr);
}

.workflow article {
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border-top: 4px solid var(--gold);
}

.workflow span,
.timeline span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--ember);
  font-weight: 950;
}

.ledger-panel {
  padding: 16px;
  background: #ffffff;
}

.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
}

.ledger-row.total {
  margin-top: 10px;
  border: 0;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
}

.ledger-row.total span {
  color: rgba(255, 255, 255, 0.78);
}

.timeline {
  grid-template-columns: repeat(5, 1fr);
}

.timeline article {
  min-height: 190px;
  padding: 24px;
  border-top: 4px solid var(--ember);
  background: #ffffff;
}

.security-panel {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.security-panel .ledger-panel {
  background: #0052de;
  color: #fffaf0;
}

.security-panel .ledger-row {
  border-color: rgba(255, 250, 240, 0.16);
}

.security-panel .ledger-row span {
  color: rgba(255, 250, 240, 0.68);
}

.ops-console {
  grid-template-columns: repeat(2, 1fr);
}

.ops-console article {
  min-height: 170px;
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(33, 28, 22, 0.08);
}

.ops-console strong {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-grid {
  grid-template-columns: repeat(3, 1fr);
}

.resource-card {
  overflow: hidden;
}

.resource-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.resource-card div {
  padding: 24px;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq .section-heading {
  margin-bottom: 10px;
}

.accordion-item {
  overflow: hidden;
}

.accordion-item button {
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  padding: 0 24px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.accordion-item p {
  display: none;
  margin: 0;
  padding: 0 24px 24px;
  color: var(--ink-soft);
}

.accordion-item.is-open p {
  display: block;
}

.accordion-item.is-open button svg {
  transform: rotate(180deg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-card,
.demo-form {
  padding: 30px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-methods a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  color: var(--teal);
  font-weight: 900;
}

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

.demo-form label,
.demo-form .full {
  display: grid;
  gap: 8px;
}

.demo-form .full,
.demo-form button {
  grid-column: 1 / -1;
}

.demo-form span {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.final-cta {
  width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 92px auto;
  padding: 34px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 70px max(20px, calc((100vw - 1180px) / 2)) 28px;
  background: var(--ink);
  color: #fffaf0;
}

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

.footer-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 950;
  font-size: 1.08rem;
}

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

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 250, 240, 0.72);
}

.footer-callout {
  padding: 18px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: var(--radius);
}

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

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-actions {
    grid-column: 1 / -1;
  }

  .site-nav {
    display: none;
    justify-content: start;
    flex-wrap: wrap;
  }

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

  .header-actions {
    justify-content: space-between;
  }

  .section-split,
  .outcome-band,
  .compliance-band,
  .contact-layout,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .feature-grid.three,
  .module-grid,
  .outcome-list,
  .compliance-cards,
  .principle-grid,
  .log-grid,
  .workflow,
  .timeline,
  .resource-grid,
  .security-panel,
  .proof-row,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand span {
    max-width: 104px;
    line-height: 1.05;
  }

  .header-actions {
    display: none;
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .page-hero {
    min-height: 72vh;
  }

  .hero-content,
  .page-hero > div {
    width: var(--container);
    margin-inline: auto;
    padding: 88px 0 62px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .hero-actions,
  .action-row {
    display: grid;
  }

  .trust-strip,
  .feature-grid,
  .feature-grid.three,
  .module-grid,
  .outcome-list,
  .compliance-cards,
  .principle-grid,
  .log-grid,
  .workflow,
  .timeline,
  .resource-grid,
  .security-panel,
  .ops-console,
  .proof-row,
  .footer-grid,
  .demo-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .trust-strip {
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }

  .muted,
  .outcome-band,
  .compliance-band {
    padding-inline: 14px;
  }

  .floating-note {
    position: static;
    margin-top: 14px;
    max-width: none;
  }

  .final-cta {
    width: var(--container);
    margin-block: 64px;
    padding: 24px;
  }

  .footer-bottom {
    display: grid;
  }
}
