/* ─── Hero ─── */
.hero {
  padding-top: calc(82px + var(--space-6)); /* 72px header + 10px air (10 Aug) */
  padding-bottom: var(--space-12);
  min-height: calc(100vh - 68px); /* ticker (56px) plus its 12px gap sit flush on the fold */
  display: flex;
  align-items: center;
  position: relative;
}

/* Scroll hint pill */
.scroll-hint {
  position: absolute;
  right: calc(var(--container-pad) * 3);
  bottom: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(11, 27, 51, 0.6);
  text-decoration: none;
  z-index: 5;
  transition: background var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out);
}

.scroll-hint:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

.scroll-hint__icon {
  width: 12px;
  height: 17px;
  flex-shrink: 0;
  color: inherit;
}

.scroll-hint__wheel {
  animation: scroll-hint-wheel 1.8s var(--ease-in-out) infinite;
  transform-origin: center;
}

@keyframes scroll-hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes scroll-hint-wheel {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(7px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__badge {
  margin-bottom: calc(var(--space-6) - 15px);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hot);
  animation: pulse-ring 2s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4.75rem, 3.2rem + 10.5vw, 10rem);
  font-weight: 700;
  line-height: 0.85; /* homepage exception: no +5px, per brand-guidelines.md */
  letter-spacing: -0.05em;
  color: var(--ink);
  margin-top: 23px;
  margin-bottom: 64px;
}

.hero__asterisk {
  color: var(--hot);
  display: inline-block;
  margin-left: 0.05em;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-style: normal;
}

/* Shorter laptop screens (e.g. MacBook Air): compress vertical padding and
   margins only — headline keeps its full size — so the ticker marquee is
   visible on load without scrolling */
@media (min-width: 769px) and (max-height: 900px) {
  .hero {
    min-height: calc(100vh - 68px);
    padding-top: 94px;
    padding-bottom: 42px;
  }

  .hero__title {
    margin-top: 16px;
    margin-bottom: 49px;
  }

  .hero__subtitle {
    margin-bottom: 36px;
  }
}

.hero__subtitle {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--ink);
  max-width: 480px;
  margin-bottom: calc(var(--space-8) + 15px);
  letter-spacing: -0.005em;
  line-height: var(--leading-normal);
}

.hero__subtitle-asterisk {
  color: var(--hot);
  margin-right: 0.4em;
}

.hero__actions {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-frame {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  position: relative;
  margin: 0 auto;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 50%, var(--ink) 100%);
  background-size: 200% 200%;
  animation: shimmer 8s ease infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__image-label {
  color: rgba(255, 255, 255, 0.2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}

.hero__floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  animation: float 4s var(--ease-in-out) infinite;
}

.hero__floating-card--1 {
  top: 15%;
  right: -20px;
}

.hero__floating-card--2 {
  bottom: 15%;
  left: -20px;
  animation-delay: 1.5s;
}

.hero__card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.hero__card-icon svg {
  width: 18px;
  height: 18px;
}

.hero__card-icon--instagram {
  background: none;
  padding: 0;
  overflow: hidden;
}

.hero__card-icon--instagram img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero__card-label {
  font-size: var(--text-xs);
  color: var(--mute);
}

.hero__card-value {
  font-weight: var(--weight-semibold);
  color: var(--ink);
}

.hero__card-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green); /* emerald — semantic: settled/paid */
  flex-shrink: 0;
}

[data-cycle-card] {
  display: grid;
}

.hero__card-state {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  opacity: 0;
  transition: opacity 0.6s var(--ease-in-out);
  pointer-events: none;
}

.hero__card-state.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Trust strip styling ─── */
.trust-strip__text {
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-4);
}

.trust-strip__logo-placeholder {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--mute);
  opacity: 0.4;
  padding: var(--space-2) var(--space-4);
  letter-spacing: var(--tracking-wide);
}

/* ─── Pillars grid ─── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.pillar-card {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  min-height: 242px;
  border-radius: 0;
  border: 2px solid var(--ink);
  transition: none;
  position: relative;
}

/* Resting variants */
.pillar-card.card--bone {
  background: var(--bone);
  color: var(--ink);
}

.pillar-card.card--dark {
  background: var(--ink);
  color: var(--white);
}

.pillar-card.card--accent {
  background: var(--hot);
  color: var(--white);
  border-color: var(--hot);
}

/* Icon — larger, top-right per Figma */
.pillar-card__icon {
  width: 56px;
  height: 56px;
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
}

.pillar-card__icon svg {
  width: 100%;
  height: 100%;
}

.pillar-card.card--bone .pillar-card__icon {
  color: rgba(11, 27, 51, 0.3);
}

.pillar-card.card--dark .pillar-card__icon,
.pillar-card.card--accent .pillar-card__icon {
  color: rgba(255, 255, 255, 0.7);
}

/* Text colours per variant (at rest) */
.pillar-card.card--bone .card__label,
.pillar-card.card--bone .card__title,
.pillar-card.card--bone .card__link {
  color: var(--ink);
}

.pillar-card.card--bone .card__text {
  color: var(--mute);
}

.pillar-card.card--dark .card__title,
.pillar-card.card--dark .card__link,
.pillar-card.card--accent .card__title,
.pillar-card.card--accent .card__link {
  color: var(--white);
}

/* Orange counter labels */
.pillar-card .card__label {
  color: var(--hot);
  opacity: 1;
  font-weight: var(--weight-bold);
}

.pillar-card.card--dark .card__text,
.pillar-card.card--accent .card__text {
  color: rgba(255, 255, 255, 0.75);
}

/* Hover — bone & dark cards flip to orange */
.pillar-card.card--bone:hover,
.pillar-card.card--dark:hover {
  background: var(--hot);
  border-color: var(--hot);
  color: var(--white);
  transform: none;
  box-shadow: none;
}

.pillar-card.card--bone:hover .card__title,
.pillar-card.card--bone:hover .card__link,
.pillar-card.card--dark:hover .card__title,
.pillar-card.card--dark:hover .card__link {
  color: var(--white);
}

/* Keep the counter white when hovering over orange bg */
.pillar-card:hover .card__label {
  color: var(--white);
}

.pillar-card.card--bone:hover .card__text,
.pillar-card.card--dark:hover .card__text {
  color: rgba(255, 255, 255, 0.85);
}

.pillar-card.card--bone:hover .pillar-card__icon,
.pillar-card.card--dark:hover .pillar-card__icon {
  color: rgba(255, 255, 255, 0.7);
}

/* Hover — orange cards flip to dark navy (the inverse direction) */
.pillar-card.card--accent:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: none;
  box-shadow: none;
}

.pillar-card.card--accent:hover .card__label,
.pillar-card.card--accent:hover .card__title,
.pillar-card.card--accent:hover .card__link {
  color: var(--white);
}

.pillar-card.card--accent:hover .card__text {
  color: rgba(255, 255, 255, 0.85);
}

.pillar-card.card--accent:hover .pillar-card__icon {
  color: rgba(255, 255, 255, 0.7);
}

/* Title size */
.pillar-card .card__title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
}

.pillar-card .card__link {
  margin-top: auto;
}

/* Pad the right side so titles don't crash into the bigger top-right icon */
.pillar-card .card__label {
  padding-right: 70px;
}

/* ─── Stats section ─── */
.section--stats {
  padding: var(--space-16) 0;
  background: var(--hot);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.section--stats .stat__number {
  font-size: clamp(5rem, 4rem + 8vw, 10rem);
  color: var(--white);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.section--stats .stat__label {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  margin-top: var(--space-3);
}

.stat__sublabel {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* ─── Sectors section ─── */
.section--sectors {
  padding-bottom: var(--space-8);
}

.section--sectors .section-header {
  max-width: 100%;
}

/* Same size as every other homepage section heading (Danny, 4 Nov 2026);
   only the line height opens up to fit the highlight */
.section--sectors .section-header__title {
  line-height: 1.1;
  isolation: isolate;
}

.section--sectors .section-header__title .highlight {
  background: var(--bone);
  position: relative;
  z-index: -1;
  padding: 0.05em 0.15em;
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlight--dark {
  background: var(--bone);
  color: var(--ink);
  padding: 0 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Trustpilot social proof strip */
/* ─── Trust line ───
   Trustpilot named in words and linked, not shown as their logo (Danny's
   call, 24 July 2026). Mirrors the rule in css/pages/solutions.css; keep
   the two in step. The number sits in [data-trustpilot-rating] so
   scripts/update-trustpilot-rating.mjs can refresh it weekly. */
.trust-line {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

/* Only the brand name underlines on hover, not the whole sentence */
.trust-line__name {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
  transition: text-decoration-color var(--duration-base) var(--ease-out);
}

.trust-line:hover .trust-line__name {
  text-decoration-color: currentColor;
}

.trust-line__star {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: -5px;
  margin-right: 8px;
}

.trust-line__star svg {
  display: block;
  width: 100%;
  height: 100%;
}

.trustpilot-strip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.trustpilot-strip__link {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 10px;
}

.trustpilot-strip__link .trust-line__star {
  width: 34px;
  height: 34px;
  vertical-align: -6px;
  margin-right: 2px;
}

.trustpilot-strip__score {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.trustpilot-strip__label {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--ink);
}

/* Full-bleed merchant photo strip */
.merchant-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  border-top: 4px solid var(--hot);
  border-bottom: 4px solid var(--hot);
  margin-top: var(--space-12);
  background: var(--ink);
}

.merchant-strip__tile {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink-light);
  position: relative;
  text-decoration: none;
}

.merchant-strip__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out),
              filter var(--duration-base) var(--ease-out);
  filter: grayscale(0%);
}

.merchant-strip__tile:hover img {
  transform: scale(1.04);
}

/* Fallback when the image is missing — keeps the grid looking intentional */
.merchant-strip__tile img[src=""],
.merchant-strip__tile img:not([src]) {
  visibility: hidden;
}

@media (max-width: 900px) {
  .merchant-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .merchant-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sectors-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sectors-scroll::-webkit-scrollbar {
  display: none;
}

.sectors-scroll__track {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-2) 0;
}

.sector-chip {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5) var(--space-2) var(--space-2);
  background: var(--white);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}

.sector-chip:hover {
  border-color: var(--hot);
  box-shadow: 0 0 0 3px var(--hot-light);
}

.sector-chip__image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
}

.sector-chip__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

/* ─── Platform spotlight ─── */
.section--why-stored {
  padding-bottom: var(--space-section);
}

.section--why-stored + .section--dark {
  padding-top: var(--space-section);
}

.platform-spotlight {
  display: block;
}

.platform-spotlight__visual {
  position: relative;
}

.dashboard-mock {
  background: var(--ink);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.dashboard-mock__header {
  display: flex;
  gap: 6px;
  padding: var(--space-4) var(--space-5);
  background: rgba(255, 255, 255, 0.05);
}

.dashboard-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.dashboard-mock__dot:first-child { background: #ff5f57; }
.dashboard-mock__dot:nth-child(2) { background: #febc2e; }
.dashboard-mock__dot:nth-child(3) { background: #28c840; }

.dashboard-mock__body {
  display: grid;
  grid-template-columns: 60px 1fr;
  min-height: 350px;
}

.dashboard-mock__sidebar {
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-mock__main {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.dashboard-mock__chart {
  flex: 1;
  background: linear-gradient(180deg, rgba(var(--green-rgb), 0.15) 0%, rgba(var(--green-rgb), 0.02) 100%);
  border-radius: var(--radius-md);
  min-height: 160px;
  position: relative;
  overflow: hidden;
}

.dashboard-mock__chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(var(--green-rgb), 0.08) 30%,
    rgba(var(--green-rgb), 0.2) 100%
  );
  clip-path: polygon(0% 80%, 10% 60%, 25% 70%, 40% 30%, 55% 45%, 70% 15%, 85% 35%, 100% 10%, 100% 100%, 0% 100%);
}

.dashboard-mock__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.dashboard-mock__stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  min-height: 60px;
}

/* ─── Partners grid ─── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.partner-card {
  text-align: center;
  padding: var(--space-10) var(--space-6);
}

.partner-card__logo {
  margin-bottom: var(--space-6);
}

.partner-logo-placeholder {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--mute);
  opacity: 0.4;
}

.partner-card .heading-sm {
  margin-bottom: var(--space-3);
}

/* ─── Pricing teaser ─── */
.pricing-teaser__header {
  margin-bottom: var(--space-10);
}

.pricing-teaser__rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  max-width: 100%;
}

@media (max-width: 768px) {
  .pricing-teaser__rates {
    grid-template-columns: 1fr;
  }
}

.pricing-teaser__rate-card {
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: var(--space-8) var(--space-6);
  background: var(--paper);
  transition: transform var(--duration-base) var(--ease-out);
}

.pricing-teaser__rate-card:hover {
  transform: translateY(-2px);
}

.pricing-teaser__rate-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--hot);
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
}

.pricing-teaser__rate-old {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: rgba(11, 27, 51, 0.4);
  text-decoration: line-through;
  margin-bottom: var(--space-2);
  min-height: 1.6em;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.pricing-teaser__rate-old.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-teaser__rate-old span {
  font-size: var(--text-xs);
  text-decoration: none;
  display: inline-block;
  margin-left: var(--space-2);
  letter-spacing: 0.01em;
}

.pricing-teaser__rate-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
  font-weight: var(--weight-bold);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.pricing-teaser__rate-unit {
  font-size: 0.32em;
  font-weight: var(--weight-semibold);
  letter-spacing: 0;
  color: var(--mute);
  margin-left: 0.15em;
  vertical-align: 0.5em;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.pricing-teaser__rate-unit.is-visible {
  opacity: 1;
}

.pricing-teaser__rate-typed {
  position: relative;
}

.pricing-teaser__rate-typed.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  background: var(--hot);
  margin-left: 0.06em;
  vertical-align: -0.05em;
  animation: caret-blink 0.7s steps(2) infinite;
}

@keyframes caret-blink {
  50% { opacity: 0; }
}

.pricing-teaser__rate-note {
  font-size: var(--text-base);
  color: rgba(11, 27, 51, 0.4);
  font-weight: var(--weight-medium);
  line-height: 1.5;
  margin-bottom: var(--space-2);
  min-height: 1.6em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.pricing-teaser__rate-note.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-teaser__rate-footnote {
  font-size: var(--text-xs);
  color: var(--mute);
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.pricing-teaser__asterisk {
  color: var(--hot);
  font-weight: var(--weight-bold);
  margin-right: 0.15em;
}

/* ─── Resource cards ─── */
.resource-card {
  padding: 0;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.resource-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  background: var(--ink-light);
  flex-shrink: 0;
}

.resource-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.resource-card:hover .resource-card__image img {
  transform: scale(1.04);
}

.resource-card__image-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-lighter) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--space-4);
}

.resource-card__category {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--white);
  background: rgba(11, 27, 51, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  z-index: 1;
}

.resource-card__content {
  padding: var(--space-4) var(--space-6) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-card__meta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--mute);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}

.resource-card .heading-sm {
  color: var(--ink);
}

.resource-card .card__link {
  color: var(--ink);
}

.resource-card .card__link:hover {
  color: var(--hot);
}

/* ─── CTA band extras ─── */
.cta-band__note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 239, 232, 0.5);
  margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__floating-card--1 { right: -10px; }
  .hero__floating-card--2 { left: -10px; }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .platform-spotlight {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 80px; /* counter sits just under the logo */
  }

  /* "paid.*" fills about 90% of the phone's width; a little air before the
     subtitle, a little less before the buttons (Danny, 3 Nov 2026).
     !important beats the shared phone hero margin in components.css */
  .hero .hero__title {
    font-size: 30vw;
    margin-top: calc(var(--space-4) + 5px) !important;
    margin-bottom: var(--space-10) !important;
  }

  .hero__subtitle {
    margin-bottom: var(--space-8);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    min-height: 240px;
  }

  /* Hero photo a touch narrower than the screen (Danny, 3 Nov 2026) */
  .hero__visual {
    max-width: 90%;
  }

  /* Floating cards about a quarter smaller so the top one clears the
     shopkeeper's face (Danny, 4 Nov 2026) */
  .hero__floating-card {
    padding: var(--space-2) var(--space-3);
    gap: var(--space-2);
    font-size: 0.75rem;
  }

  .hero__card-state {
    gap: var(--space-2);
  }

  .hero__card-icon {
    width: 28px;
    height: 28px;
  }

  .hero__card-icon svg {
    width: 14px;
    height: 14px;
  }

  .hero__card-label {
    font-size: 0.6875rem;
  }

  .hero__card-status {
    width: 6px;
    height: 6px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .pricing-teaser__rates {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* Built for real businesses: the Trustpilot line sits close under the
     heading and the photos follow sooner (Danny, 4 Nov 2026) */
  .section--sectors .section-header {
    margin-bottom: var(--space-5);
  }

  .section--sectors .trustpilot-strip {
    margin-top: 0;
    margin-bottom: 0;
  }

  .section--sectors .merchant-strip {
    margin-top: var(--space-8);
  }

  /* Rate cards: the label sits close over its line of detail
     (Danny, 4 Nov 2026) */
  .pricing-teaser__rate-label {
    margin-bottom: var(--space-2);
  }
}

/* ════════════════════════════════════════════════════════ */
/* "One partner for every payment" — 3-pillar layout         */
/* ════════════════════════════════════════════════════════ */
.section--why-stored .section-header {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.section--why-stored .section-header__title {
  white-space: nowrap;
}

.section--why-stored .section-header__title .highlight {
  background: var(--bone);
  padding: 0.05em 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* One line only where it fits (1019px of type): narrower screens get two
   balanced lines instead of a sideways scroll */
@media (max-width: 1279px) {
  .section--why-stored .section-header__title {
    white-space: normal;
    text-wrap: balance;
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
  margin-top: var(--space-16);
}

.why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-4);
}

.why-card__illustration {
  width: 100%;
  max-width: 180px;
  margin-bottom: var(--space-6);
}

.why-card__illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

.why-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--space-3);
}

.why-card__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--mute);
  max-width: 320px;
  margin: 0;
}

.why-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-20);
}

/* responsive */
@media (max-width: 880px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-top: var(--space-12);
  }
  .why-card__illustration {
    max-width: 180px;
  }
}

/* ─── Illustration motion ─── */

/* Pillar 1 · phone slow float */
.anim-float-phone {
  transform-box: view-box;
  transform-origin: center;
  animation: why-float 4.5s ease-in-out infinite;
}
@keyframes why-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Pillar 1 · approved tick subtle scale pulse */
.anim-tick-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: why-tick-pulse 3.6s ease-in-out infinite;
}
@keyframes why-tick-pulse {
  0%, 65%, 100% { transform: scale(1); }
  80%           { transform: scale(1.18); }
}

/* Pillar 2 · clock hands */
.anim-clock-hour,
.anim-clock-minute {
  transform-box: view-box;
  transform-origin: 116px 160px;
}
.anim-clock-minute {
  animation: why-clock-rotate 30s linear infinite;
}
.anim-clock-hour {
  animation: why-clock-rotate 360s linear infinite;
}
@keyframes why-clock-rotate {
  to { transform: rotate(360deg); }
}

/* Pillar 3 · chat dots typing bounce */
.anim-chat-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: why-chat-bounce 1.4s ease-in-out infinite;
}
.anim-chat-dot-1 { animation-delay: 0s; }
.anim-chat-dot-2 { animation-delay: 0.18s; }
.anim-chat-dot-3 { animation-delay: 0.36s; }
@keyframes why-chat-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .anim-float-phone,
  .anim-tick-pulse,
  .anim-clock-hour,
  .anim-clock-minute,
  .anim-chat-dot {
    animation: none;
  }
}


/* ─── Blurple secondary (brand-guidelines.md) ─── */
/* Structural marks on navy use the bright navy-legible variant */
.pillar-card.card--dark .card__label {
  color: var(--blurple-bright);
}

/* Navy cards flip to blurple on hover; all text goes white */
.pillar-card.card--dark:hover {
  background: var(--blurple);
  border-color: var(--blurple);
}

.pillar-card.card--dark:hover .card__label,
.pillar-card.card--dark:hover .card__text {
  color: var(--white);
}

/* Blurple strike through the crossed-out industry rate */
.pricing-teaser__rate-old {
  text-decoration-color: var(--blurple);
  text-decoration-thickness: 2px;
}

/* Homepage exception: display headers keep the bare 0.85 stack here */
.cta-band__title {
  line-height: 0.85;
}

/* ─── Hero Trustpilot line and one-line section headline (Emily's proposal,
   approved by Danny 23 Oct 2026) ─── */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  row-gap: 4px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ink);
}

.hero__proof {
  margin-top: var(--space-6);
}


@media (max-width: 1024px) {
  .hero__proof {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .proof-strip {
    margin-top: var(--space-5);
    font-size: 0.8125rem;
  }

  .proof-strip .trust-line__star {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 6px;
  }
}

/* Counter, headline, subtitle and buttons sit 5px higher; the Trustpilot
   line under them stays put (Danny, 23 Oct 2026). A relative offset moves
   them without changing the layout around them. */
.hero__content > .live-pill,
.hero__title,
.hero__subtitle,
.hero__actions {
  position: relative;
  top: -5px;
}
