/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
@font-face {
    font-family: 'clearface';
    src: url(/../../fonts/clearface_bold-webfont.woff2) format('woff2'),
         url(/../../fonts/clearface_bold-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
  --primary: #f45d48;
  --secondary: #ef523c;
  --tertiary: #f8f5f2;
  --white: #ffffff;
  --black: #222525;
  --blue: #0a8080;
  --serif: "clearface", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  /* background: linear-gradient(to left, #f45d48 0%, #ef523c 100%); */
  color: var(--black);
}

h1,h2,h3, h4, p {
  margin: 0;
}

h2 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 9px;
}

h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 9px;
}

h4 {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 9px;
}

.container {
  padding: 6vh 1rem 1rem 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.container-xl {
  padding: 6vh 1rem 1rem 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.container-xxl {
  padding: 6vh 1.5rem 1rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.container-lg {
  padding: 6vh 1rem 1rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.headline {
  color: var(--black);
  font-family: var(--serif);
  padding-top:0;
  padding-bottom: 24px;
  font-size: 32px;
  font-size: calc(32 / 10) rem;
  font-weight: 700;
  line-height: 39px;
  letter-spacing: -0.27px;
}
.link {
  color: var(--blue);
  font-family: var(--sans-serif);
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  margin: 0 auto 8px auto;
  width: 100% !important;
  display: flex;
  justify-content: center;
}
.faq-links p a:not(.btn),
.faq-links a:not(.btn),
.text-container-long-answer p a,
.text-container-long-answer a,
.faq-container a.link-blue,
.faq-container p a {
  color: var(--blue);
  font-family: var(--sans-serif);
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  margin-top: 0.5rem;
}

.read-more {
  color: var(--blue);
  font-family: var(--sans-serif);
  font-weight: 500;
  font-size: 16px;
  display: block;
  margin-top: 0.75rem;
  line-height: 24px;
  text-decoration: underline !important;
  letter-spacing: .16px;
}
.link:hover {
  text-decoration: underline;
}

.btn {
  background-color: var(--primary);
  border: 1.5px solid var(--primary);
  font-family: var(--sans-serif);
  border-radius: 4px;
  color: var(--white);
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1em;
  padding: 14px 18px;
  text-align: center;
  text-decoration: none;
  transition: all .3s ease!important;
  transition-property: color,border,background;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover,
.btn:focus {
  border: 1.5px solid var(--secondary);
  transition: all 200ms ease-in-out;
  background-color: var(--secondary);
}
.btn-fixed {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  margin-bottom: 0;
}

.form-container {
  margin: 0 auto 2rem;
  text-align: center;
}

.form-field {
  display: block;
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  font-size: 16px;
  padding-left: 15px;
  font-weight: 300;
  outline: none;
}

.form-field::placeholder {
  font-family: var(--sans-serif);
}
.eyebrow {
  font-family: var(--sans-serif);
  padding-top:0;
  padding-bottom: 15px;
  font-size: 16px;
  font-size: calc(16 / 10) rem;
  font-weight: 300;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0px;
  -webkit-font-smoothing: antialiased;
  color: var(--primary);
}

.text-container-long-answer,
p {
  font-family: var(--sans-serif);
  font-weight: 400;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0px;
  margin-top: 0;
  margin-bottom: 2rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: #222525;
  text-rendering: optimizeLegibility;
}

.card {
  padding: 30px;
  margin-bottom: 10vh;
  border-radius: 5px;
  background: var(--white);
}


.logo-container {
  margin-bottom: 2.125rem;
  text-align: center;
}
.text-container {
  text-align: center;
}

.text-container-long-answer {
  text-align: left;
}

.faq-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 20px; /* Space between columns */
  padding: 20px;
}

@media only screen and (max-width: 600px) {
  .faq-2-col {
    display: flex;
    flex-direction: column;
  }
}

.faq-question,
.faq-container a {
  color: var(--black);
  font-family: var(--serif);
  padding-top:0;
  font-size: 18px;
  font-size: calc(18 / 10) rem;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.27px;
  margin-bottom: 6px;
  text-decoration: none;
}

.faq-container {
  margin-bottom: 25px;
}


/*Vertical Sliding*/
.review-stars {
  width: 100%;
  display: flex;
  align-items: center;
  max-width: 20%;
  justify-content: center;
  margin: 0 auto;
}
.vertical-carousel{
  display: flex;
  margin: 0 auto;
  text-indent: 8px;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0px;
  font-family: var(--sans-serif);
  width: 100%;
  justify-content: center;
}
.vertical-carousel span{
	animation: topToBottom 12.5s linear infinite 0s;
	-ms-animation: topToBottom 12.5s linear infinite 0s;
	-webkit-animation: topToBottom 12.5s linear infinite 0s;
	opacity: 0;
	overflow: hidden;
	position: absolute;
}
.vertical-carousel span:nth-child(2){
	animation-delay: 2.5s;
	-ms-animation-delay: 2.5s;
	-webkit-animation-delay: 2.5s;
}
.vertical-carousel span:nth-child(3){
	animation-delay: 5s;
	-ms-animation-delay: 5s;
	-webkit-animation-delay: 5s;
}
.vertical-carousel span:nth-child(4){
	animation-delay: 7.5s;
	-ms-animation-delay: 7.5s;
	-webkit-animation-delay: 7.5s;
}
.vertical-carousel span:nth-child(5){
	animation-delay: 10s;
	-ms-animation-delay: 10s;
	-webkit-animation-delay: 10s;
}

@-moz-keyframes topToBottom{
	0% { opacity: 0; }
	5% { opacity: 0; -moz-transform: translateY(-20px); }
	10% { opacity: 1; -moz-transform: translateY(0px); }
	25% { opacity: 1; -moz-transform: translateY(0px); }
	30% { opacity: 0; -moz-transform: translateY(20px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}
@-webkit-keyframes topToBottom{
	0% { opacity: 0; }
	5% { opacity: 0; -webkit-transform: translateY(-20px); }
	10% { opacity: 1; -webkit-transform: translateY(0px); }
	25% { opacity: 1; -webkit-transform: translateY(0px); }
	30% { opacity: 0; -webkit-transform: translateY(20px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}
@-ms-keyframes topToBottom{
	0% { opacity: 0; }
	5% { opacity: 0; -ms-transform: translateY(-20px); }
	10% { opacity: 1; -ms-transform: translateY(0px); }
	25% { opacity: 1; -ms-transform: translateY(0px); }
	30% { opacity: 0; -ms-transform: translateY(20px); }
	80% { opacity: 0; }
	100% { opacity: 0; }
}

.filter-container {
  margin-bottom: 1.5rem;
}
.faq-category {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 0.5em;
}
.faq-long-answer {
  display: block;
  color: #333;
  margin-top: 0.5em;
}

.breadcrumb {
  font-size: 15px;
  margin-bottom: 1.5rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans-serif);
}

.breadcrumb-link,
.breadcrumb-link:visited {
  color: var(--blue);
  font-weight: 500;
  line-height: 24px;
  letter-spacing: .16px;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.breadcrumb-current {
  color: #222;
  font-weight: 500;
  white-space: nowrap;
  line-height: 24px;
  letter-spacing: .16px;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.breadcrumb-link:hover {
  text-decoration: none;
}

.breadcrumb-separator {
  color: #bbb;
  font-size: 1em;
  margin: 0 0.3em;
}

/* Site header / nav */
.site-header {
  border-bottom: 1px solid #eee;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 1.5rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-brand img {
  height: 26px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav-cta {
  flex: 0 0 auto;
  margin-bottom: 0;
  padding: 9px 14px;
  font-size: 14px;
}

@media only screen and (max-width: 820px) {
  .site-header-inner {
    flex-wrap: wrap;
    padding: 10px 1rem;
    gap: 10px 16px;
  }
  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .site-nav-cta {
    margin-left: auto;
  }
}

/* Site footer */
.site-footer {
  background: var(--tertiary);
  border-top: 1px solid #ececec;
  margin-top: 6vh;
  padding: 2.5rem 1.5rem 1.5rem;
}

.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.site-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer-col strong {
  font-family: var(--serif);
  font-size: 16px;
  margin-bottom: 4px;
}

.site-footer-col p {
  font-size: 14px;
  line-height: 21px;
  margin: 0 0 8px;
  background: transparent;
}

.site-footer-col a:not(.btn) {
  font-family: var(--sans-serif);
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
}

.site-footer-col a:not(.btn):hover {
  text-decoration: underline;
}

.site-footer-col .btn {
  align-self: flex-start;
  margin-bottom: 0;
  padding: 10px 14px;
  font-size: 14px;
}

.site-footer-legal {
  max-width: 1240px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #e2ddd7;
  font-size: 13px;
  line-height: 19px;
  color: #777;
  background: transparent;
}

.site-footer-legal a {
  color: var(--blue);
  text-decoration: none;
}

@media only screen and (max-width: 720px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Payroll calculator */
.calc {
  margin: 0.5rem 0 1rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--sans-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.calc-field input,
.calc-field select {
  height: 46px;
  border: 1px solid #c9c9c9;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--sans-serif);
  background: var(--white);
  outline: none;
}

.calc-field input:focus,
.calc-field select:focus {
  border-color: var(--blue);
}

.calc-results {
  border: 1px solid #ececec;
  border-radius: 8px;
  overflow: hidden;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 16px;
  font-family: var(--sans-serif);
  font-size: 15px;
  border-bottom: 1px solid #f2f2f2;
}

.calc-row span:last-child {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.calc-row-total {
  background: var(--tertiary);
  border-top: 2px solid var(--black);
  border-bottom: none;
  font-size: 18px;
}

.calc-row-total span {
  font-family: var(--serif);
}

.calc-row-total span:last-child {
  color: var(--primary);
  font-weight: 700;
}

.calc-annual {
  font-size: 13px;
  color: #666;
  border-bottom: none;
}

@media only screen and (max-width: 560px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessible visually-hidden helper */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Payroll comparison chart + head-to-head tables */
.compare-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.5rem 0 1rem;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans-serif);
  font-size: 15px;
  line-height: 21px;
  min-width: 640px;
}

/* Master chart needs more room for 7 columns — let it fill the wide container */
.compare-table-chart {
  min-width: 860px;
}

.compare-table-h2h {
  min-width: 0;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--black);
  border-bottom: 2px solid var(--black);
  white-space: nowrap;
}

.compare-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--black);
}

.compare-gusto-row {
  background: var(--tertiary);
}

.compare-gusto-row th[scope="row"] {
  color: var(--primary);
}

.compare-gusto-col {
  background: var(--tertiary);
}

.compare-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

.compare-cta {
  display: inline-block;
  color: var(--white);
  background: var(--primary);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms ease-in-out;
}

.compare-cta:hover {
  background: var(--secondary);
}

.compare-cta-alt {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.compare-cta-alt:hover {
  background: var(--blue);
  color: var(--white);
}

.compare-note {
  font-size: 13px;
  line-height: 19px;
  color: #666;
  margin-bottom: 2rem;
}

.compare-cta-cell {
  white-space: nowrap;
}

/* Mobile: turn the 7-column master chart into stacked provider cards */
@media only screen and (max-width: 760px) {
  .compare-scroll {
    overflow-x: visible;
  }

  .compare-table-chart {
    min-width: 0;
  }

  .compare-table-chart thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .compare-table-chart,
  .compare-table-chart tbody,
  .compare-table-chart tr,
  .compare-table-chart th,
  .compare-table-chart td {
    display: block;
    width: 100%;
  }

  .compare-table-chart tr {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 6px 16px 14px;
    margin-bottom: 16px;
    background: var(--white);
  }

  .compare-table-chart tr.compare-gusto-row {
    border-color: var(--primary);
    background: var(--tertiary);
  }

  .compare-table-chart th[scope="row"] {
    font-family: var(--serif);
    font-size: 20px;
    padding: 12px 0 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
  }

  .compare-table-chart td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f2f2f2;
    text-align: right;
  }

  .compare-table-chart td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
    text-align: left;
    flex: 0 0 42%;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .compare-table-chart td.compare-cta-cell {
    display: block;
    text-align: center;
    border-bottom: 0;
    padding-top: 14px;
  }

  .compare-table-chart td.compare-cta-cell::before {
    content: none;
  }

  .compare-table-chart .compare-cta {
    display: block;
    width: 100%;
  }
}

.compare-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem 0 2rem;
}

.compare-pill {
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  transition: all 200ms ease-in-out;
}

.compare-pill:hover {
  border-color: var(--blue);
  background: var(--tertiary);
}

.text-container-long-answer ul {
  margin: 0 0 2rem;
  padding-left: 1.2rem;
}

.text-container-long-answer li {
  font-family: var(--sans-serif);
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0.5rem;
}

