.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #111111;
}

.navbar {
  height: 90px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  color: #111111;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #111111;
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-login {
  margin-left: auto;
}

/* Push login button to the right */
.navbar > .button {
  margin-left: auto;
}

.button {
  height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.button:hover {
  background: #f6f6f6;
}

.button--primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

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

.button--outline {
  border: 1px solid #d9d9d9;
}

.button--text {
  border: none;
  background: transparent;
  padding-inline: 6px;
  color: var(--color-muted);
}

.button--full {
  width: 100%;
}

.steps-grid,
.pricing-grid {
  display: grid;
  gap: 20px;
}

/* Three steps, three columns - full container width. */
.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Two tiers, so a narrower centred block reads better than two cards
   stretched across the whole container. */
.pricing-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-inline: auto;
}

/* The cards are a centred 760px block, so a left-aligned heading left
   the section looking lopsided. Scoped to #pricing because
   .section-heading is shared with the FAQ and the rest of the page. */
#pricing .section-heading {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.step-card,
.pricing-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: #ffffff;
}

.step-card__number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--color-primary);
  font-weight: 800;
}

.step-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.step-card p,
.pricing-card__description {
  margin-bottom: 0;
  color: var(--color-muted);
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--color-primary);
}

.pricing-card__badge {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-card__name {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 800;
}

.pricing-card__price span {
  color: var(--color-text);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.pricing-card__price {
  margin-bottom: -5px;
  color: var(--color-muted);
}

.pricing-card__description {
  margin: 8px 0 24px;
}

.pricing-card__features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card__features li {
  position: relative;
  padding-left: 22px;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.pricing-card__features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.pricing-card__tasks {
  position: relative;
  min-height: 54px;
  margin-top: auto;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pricing-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(17, 19, 24, 0.08);
}

/* Resting state crossfades into the per-store breakdown on hover. The
   .tasks-default half was missing from the markup for a while, which
   left the card showing an empty 54px gap until you hovered it. */
.tasks-default,
.tasks-reveal {
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.tasks-default {
  font-weight: 700;
  opacity: 1;
  transform: translateY(0);
}

.tasks-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
}

.tasks-reveal p {
  margin: 0;
  font-weight: 700;
}

.tasks-reveal p + p {
  margin-top: 4px;
}

.pricing-card:hover .tasks-default {
  opacity: 0;
  transform: translateY(-8px);
}

.pricing-card:hover .tasks-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Deliberately no touch fallback here. Which retailers are covered is
   not something we publish, so on a device with no hover the card stays
   on its resting state rather than exposing the breakdown. */

.accordion {
  border-top: 1px solid var(--color-border);
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__button {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  color: var(--color-text);
  background: transparent;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.accordion__icon {
  font-size: 1.4rem;
  transition: transform 160ms ease;
}

.accordion__button[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
}

.accordion__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.accordion__content > p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--color-muted);
}

.accordion__item.is-open .accordion__content {
  grid-template-rows: 1fr;
}

.accordion__item.is-open .accordion__content > p {
  padding-bottom: 22px;
}

.site-footer {
  border-top: 1px solid var(--color-border);
}

.site-footer__inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer__inner p {
  margin: 0;
}

.site-footer__links {
  display: flex;
  gap: 24px;
}

.site-footer__links a {
  text-decoration: none;
}

@media (max-width: 800px) {
  .nav-links {
    display: none;
  }

  .steps-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}