/* Nifty Payroll 2.0 — static HTML/CSS */
:root {
  --bg: #f7f4ee;
  --surface: #fffcf7;
  --fg: #161412;
  --muted: #5e5850;
  --primary: #c41e1e;
  --primary-dark: #9a1616;
  --border: #e4ddd2;
  --ink: #1c1916;
  --radius: 8px;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --display: Fraunces, Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 50;
  background: var(--surface); padding: .5rem .75rem;
}
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner, .wrap, footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-name {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 650;
}
.badge {
  background: var(--primary);
  color: var(--surface);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.nav-toggle { position: absolute; left: -9999px; }
.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: .4rem .7rem;
  border-radius: 8px;
  font: 600 14px var(--sans);
  cursor: pointer;
  align-items: center;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem;
}
nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem .65rem;
  border-radius: 6px;
}
nav a:hover, nav a.active { background: var(--bg); color: var(--primary); }
nav a.cta {
  background: var(--primary);
  color: var(--surface) !important;
}
nav a.cta:hover, nav a.cta.active { background: var(--primary-dark); color: var(--surface) !important; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .nav-toggle:checked ~ nav { display: flex; }
}
h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 650;
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: .3rem 0 1rem; }
h2 { font-size: 1.45rem; }
.kicker {
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  margin: 0;
}
.muted { color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .6rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: var(--surface) !important; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: var(--bg);
  color: var(--fg) !important;
  border-color: var(--border);
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
section.block { padding: 3rem 0; }
section.alt { background: var(--surface); }
.cards { display: grid; gap: 1rem; padding: 0; list-style: none; }
@media (min-width: 700px) {
  .cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
}
.card.plain { background: var(--bg); }
.biz { display: grid; gap: .4rem; list-style: none; padding: 0; }
@media (min-width: 700px) { .biz { grid-template-columns: 1fr 1fr; } }
.biz li { display: flex; gap: .4rem; font-size: .95rem; }
.biz li::before { content: "✓"; color: var(--primary); font-weight: 700; }
ul.plain, ol.plain { padding-left: 1.2rem; }
figure.shot {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  margin: 0;
}
figcaption { padding: .5rem 1rem; font-size: .9rem; color: var(--muted); }
.shot-img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.article { max-width: 760px; margin: 0 auto; padding: 1.25rem 1.25rem 3rem; }
.article.wide { max-width: 1100px; }
.article p { color: var(--muted); }
.article h2 { margin-top: 2rem; }
.article > h2:first-of-type { margin-top: 0; }
.about-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 18rem; } }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .65rem .75rem; border-top: 1px solid var(--border); }
th { background: var(--bg); color: var(--muted); }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.list-links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}
.list-links a {
  display: block;
  padding: .75rem 1rem;
  text-decoration: none;
  color: var(--fg);
  font-weight: 650;
  border-top: 1px solid var(--border);
}
.list-links li:first-child a { border-top: 0; }
.list-links a:hover { background: var(--bg); color: var(--primary); }
.video {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: .75rem 0 2rem;
}
.video iframe { width: 100%; height: 100%; border: 0; }
.email-img { height: 28px; width: auto; }
.email-img.sm { height: 20px; }
footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.foot-grid { display: grid; gap: 1.5rem; padding: 2.2rem 0; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
.legal {
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  padding: 1rem;
}
.hero.sales { padding: 2.5rem 0 1rem; text-align: center; }
.hero-leads {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 1rem;
  text-align: center;
}
.hero-leads h1 { margin: 0; }
.hero-leads .subhead {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 650;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: .65rem;
}
.checks li {
  padding: .85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.feature-list {
  display: grid;
  gap: .65rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.feature-list li {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  padding: .85rem 1rem;
}
.article .actions { margin-top: 2.5rem; }
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  margin-top: 1rem;
}
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }
.panel .biz { margin: 0; }
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 600px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
