/* Payrollify — component patterns */

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

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-block {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-block .num {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--teal-500);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-block .lbl {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 0.35rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  font-size: 0.92rem;
}
.compare-table th,
.compare-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.compare-table th {
  background: var(--slate-50);
  color: var(--navy-900);
  font-weight: 600;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td { color: var(--ink-soft); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.tab-btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.tab-btn[aria-selected="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l2.8 2.8 6.2-6.2' stroke='%230F8F78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px no-repeat,
    var(--mint-50);
  border: 1px solid rgba(15, 143, 120, 0.25);
}

.two-col-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tag-light {
  background: var(--mint-50);
  color: var(--teal-800);
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
}
.legal-body h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}
.legal-body h3 {
  margin-top: 1.35rem;
  font-size: 1.1rem;
}
.legal-updated {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.resource-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.resource-card .meta {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}
.resource-card .read-more {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-700);
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--slate-50);
  border: 1px solid var(--line-soft);
}

.accent-bar {
  height: 3px;
  width: 48px;
  border-radius: 3px;
  background: var(--gradient-brand);
  margin-bottom: 1rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.compliance-item {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line-soft);
}
.compliance-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.warning-banner {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
  border-radius: var(--radius);
  padding: 0.95rem 1.1rem;
  font-size: 0.9rem;
  margin: 1rem 0;
}
