:root {
  --ink: #182033;
  --muted: #5f6b7a;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: #dfe6ef;
  --blue: #162c73;
  --blue-2: #6675ef;
  --teal: #027b84;
  --green: #19845c;
  --coral: #e56547;
  --gold: #d89a22;
  --shadow: 0 18px 45px rgba(27, 39, 64, 0.12);
  --radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  animation: headerDrop 520ms ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 132px;
  height: auto;
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover img,
.brand:focus-visible img {
  filter: drop-shadow(0 8px 14px rgba(22, 44, 115, 0.14));
  transform: translateY(-1px);
}

.brand span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  min-height: 40px;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 6px;
  height: 2px;
  background: var(--coral);
  border-radius: 999px;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: #eef2ff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px) 54px;
  background:
    linear-gradient(115deg, #f8fbff 0%, #eef6f4 48%, #fff7ef 100%);
}

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

.lead {
  max-width: 680px;
  color: #3f4a5c;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.28) 46%, transparent 72%);
  content: "";
  transform: translateX(-120%);
  transition: transform 460ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(120%);
}

.button.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 24px rgba(229, 101, 71, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #c94f34;
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: #b8c4d6;
  background: #f8fafc;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
}

.trust-strip div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trust-strip div:hover {
  border-color: rgba(102, 117, 239, 0.4);
  box-shadow: 0 12px 24px rgba(27, 39, 64, 0.08);
  transform: translateY(-3px);
}

.trust-strip dt {
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 800;
}

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

.product-visual {
  overflow: hidden;
  min-height: 560px;
  background: #fff;
  border: 1px solid rgba(166, 180, 202, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform-origin: 70% 40%;
}

.visual-topbar {
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.visual-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c8d0dc;
}

.visual-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.visual-heading img {
  width: min(54%, 240px);
  transition: transform 220ms ease;
}

.product-visual:hover .visual-heading img {
  transform: translateY(-2px) scale(1.015);
}

.visual-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
}

.module,
.status-list,
.chart {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.module {
  min-height: 142px;
  padding: 18px;
}

.module strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.module span {
  color: var(--muted);
}

.module-payroll {
  border-top: 4px solid var(--blue-2);
}

.module-accounting {
  border-top: 4px solid var(--teal);
}

.module:hover,
.status-list:hover,
.chart:hover {
  border-color: rgba(102, 117, 239, 0.42);
  box-shadow: 0 12px 26px rgba(27, 39, 64, 0.09);
  transform: translateY(-3px);
}

.chart {
  display: flex;
  align-items: end;
  justify-content: space-around;
  height: 180px;
  padding: 20px 18px 16px;
  background: #f8fafc;
}

.chart span {
  width: 15%;
  min-height: 28px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--green), #75c19c);
  transform: scaleY(0.32);
  transform-origin: bottom;
  transition: filter 180ms ease;
}

.chart:hover span {
  filter: saturate(1.14);
}

.status-list {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 180px;
  padding: 20px;
}

.status-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-weight: 700;
}

.status-list i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(25, 132, 92, 0.25);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.status-list span:hover i {
  box-shadow: 0 0 0 5px rgba(25, 132, 92, 0.12);
  transform: scale(1.08);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.intro-band {
  color: #fff;
  background: var(--blue);
}

.intro-band p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  text-align: center;
}

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

.solutions {
  background: var(--paper);
}

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

.solution {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(27, 39, 64, 0.08);
}

.solution > img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: contain;
  padding: 28px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  transition: transform 220ms ease, background-color 220ms ease;
}

.solution:hover > img {
  background: #f3f7ff;
  transform: scale(1.025);
}

.solution-body {
  padding: 28px;
}

.pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  background: #eef2ff;
  border-radius: 999px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #3f4a5c;
  transition: color 180ms ease, transform 180ms ease;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 12px;
  height: 12px;
  border: 3px solid #e8f4ee;
  border-radius: 50%;
  background: var(--green);
  content: "";
  transition: border-color 180ms ease, transform 180ms ease;
}

.check-list li:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.check-list li:hover::before {
  border-color: rgba(25, 132, 92, 0.22);
  transform: scale(1.12);
}

.benefits {
  background: var(--soft);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefit-grid article {
  min-height: 248px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: #fff;
  font-weight: 800;
  background: var(--teal);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.benefit-grid article:hover .icon {
  box-shadow: 0 10px 22px rgba(27, 39, 64, 0.15);
  transform: translateY(-2px) rotate(-2deg);
}

.benefit-grid article:nth-child(2) .icon {
  background: var(--blue-2);
}

.benefit-grid article:nth-child(3) .icon {
  background: var(--green);
}

.benefit-grid article:nth-child(4) .icon {
  background: var(--gold);
}

.benefit-grid p,
.workflow p,
.solution p,
.seo-section p,
.faq-section p,
.cta p {
  color: var(--muted);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: #fff;
}

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

.steps li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfd;
}

.steps strong {
  color: var(--blue);
  transition: color 180ms ease;
}

.steps li:hover strong {
  color: var(--coral);
}

.steps span {
  color: var(--muted);
}

.seo-section {
  background: var(--soft);
}

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

.seo-grid article,
.faq-list details {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.seo-grid article {
  min-height: 210px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.seo-grid article:hover {
  border-color: rgba(102, 117, 239, 0.45);
  box-shadow: 0 16px 36px rgba(27, 39, 64, 0.12);
  transform: translateY(-4px);
}

.faq-section {
  background: #fff;
}

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

.faq-list details {
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details:hover {
  border-color: rgba(102, 117, 239, 0.45);
  box-shadow: 0 12px 28px rgba(27, 39, 64, 0.08);
}

.faq-list summary {
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 14px 0 0;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  color: #fff;
  background: #13213f;
}

.cta .eyebrow,
.cta p {
  color: #dce9ff;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.form-fields {
  display: grid;
  gap: 16px;
}

.contact-panel label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
  transition: color 180ms ease;
}

.contact-panel label:focus-within {
  color: var(--blue);
}

.contact-panel input,
.contact-panel select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-panel input:hover,
.contact-panel select:hover {
  border-color: #9fb0c6;
}

.contact-panel input:focus,
.contact-panel select:focus {
  outline: 3px solid rgba(102, 117, 239, 0.22);
  border-color: var(--blue-2);
  box-shadow: 0 10px 20px rgba(27, 39, 64, 0.08);
  transform: translateY(-1px);
}

.form-note {
  margin: 2px 0 0;
  padding: 10px 12px;
  color: #555555;
  font-size: 0.94rem;
  background: #eef2f7;
  border: 1px solid #b9c6d8;
  border-radius: var(--radius);
}

.cta .contact-panel .form-note {
  color: #555555 !important;
}

.form-note.is-error {
  color: #8a2f1f;
  background: #fff1ed;
  border: 1px solid #ffd2c5;
  font-weight: 700;
}

.cta .contact-panel .form-note.is-error {
  color: #8a2f1f !important;
}

.form-note a {
  color: #0f256b;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cta .contact-panel .form-note a {
  color: #0f256b !important;
}

.form-success {
  display: grid;
  gap: 8px;
  padding: 22px;
  color: #154b38;
  background: #eefaf4;
  border: 1px solid #b8e6d0;
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(25, 132, 92, 0.12);
}

.form-success[hidden] {
  display: none;
}

.form-success strong {
  color: #0f3f2e;
  font-size: 1.45rem;
  line-height: 1.1;
}

.form-success span {
  color: #235b44;
  font-size: 1rem;
  font-weight: 700;
}

.form-success.is-error {
  color: #8a2f1f;
  background: #fff1ed;
  border-color: #ffd2c5;
  border-left-color: #e56547;
  box-shadow: 0 14px 28px rgba(229, 101, 71, 0.12);
}

.form-success.is-error strong,
.form-success.is-error span {
  color: #8a2f1f;
}

.contact-panel.is-sent {
  border-color: rgba(25, 132, 92, 0.45);
}

.contact-panel.is-sent .form-fields,
.contact-panel.is-sent .form-note {
  display: none !important;
}

.contact-panel.is-sent .form-success {
  display: grid;
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 72px);
  color: #4d5b6b;
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0 0 6px;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 180ms ease, text-underline-offset 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--coral);
  text-underline-offset: 5px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

[data-animate="scale"] {
  transform: translateY(18px) scale(0.96);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.is-visible .chart span {
  animation: barRise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--delay, 0ms) + 260ms);
}

.is-visible .chart span:nth-child(2) {
  animation-delay: calc(var(--delay, 0ms) + 330ms);
}

.is-visible .chart span:nth-child(3) {
  animation-delay: calc(var(--delay, 0ms) + 400ms);
}

.is-visible .chart span:nth-child(4) {
  animation-delay: calc(var(--delay, 0ms) + 470ms);
}

.is-visible .chart span:nth-child(5) {
  animation-delay: calc(var(--delay, 0ms) + 540ms);
}

.button,
.solution,
.benefit-grid article,
.steps li {
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.solution:hover,
.benefit-grid article:hover,
.steps li:hover {
  border-color: rgba(102, 117, 239, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(27, 39, 64, 0.12);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes barRise {
  from {
    transform: scaleY(0.32);
  }
  to {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .chart span {
    transform: scaleY(1);
  }
}

@media (max-width: 1040px) {
  .hero,
  .workflow,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-visual {
    min-height: 0;
  }

  .benefit-grid,
  .seo-grid,
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    padding: 12px 18px;
  }

  .brand span {
    display: none;
  }

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

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .hero {
    padding-top: 36px;
  }

  .hero-actions,
  .trust-strip,
  .visual-grid,
  .solution-grid,
  .seo-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    display: grid;
  }

  .visual-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .visual-heading p {
    text-align: left;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.1rem;
  }

  .button {
    width: 100%;
  }

  .product-visual,
  .solution,
  .benefit-grid article,
  .contact-panel {
    border-radius: 6px;
  }

  .solution-body,
  .contact-panel {
    padding: 20px;
  }
}
