/* =========================================================================
   PUMP KITCHENS AE — conversion band + feature pillars
   A typewriter statement band and the three differentiator cards. Uses the
   brand tokens from core.css only; no new colours.
   ========================================================================= */

/* screen-reader-only utility (the typewriter's static promise) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- conversion band (typewriter) ---------- */
.cband { text-align: center; }
.cband__in {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
}
.cband__eyebrow { justify-content: center; }

.cband__lead {
  font-size: clamp(28px, 6vw, 64px);
  line-height: 1.06;
  /* Reserve TWO lines of height. The first promise ("Sync your WHOOP, Oura or
     health app") wraps to two lines; the rest are one. Holding two lines keeps
     the sub + button from bouncing as the text changes, and holds height while
     the line is momentarily empty between promises. Short lines sit centred. */
  min-height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 8px;
}
.cband__lead .tw { color: var(--d-hi); }

/* the typing caret sits at the end of the current text */
.tw__line::after {
  content: "";
  display: inline-block;
  width: 0.055em;
  height: 0.92em;
  margin-left: 0.06em;
  background: var(--accent);
  vertical-align: -0.08em;
  animation: tw-blink 1s steps(1) infinite;
}
.tw__line.is-static::after { display: none; }
@keyframes tw-blink { 50% { opacity: 0; } }

.cband__sub {
  color: var(--d-mid);
  max-width: 46ch;
  margin-inline: auto;
}

/* ---------- feature pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  margin-top: clamp(36px, 4.5vw, 64px);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.6vw, 38px);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--rule-soft);
  transition: transform var(--t-hover) var(--e-out), box-shadow var(--t-hover) var(--e-out);
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px var(--rule), 0 18px 44px rgba(11, 11, 11, 0.08);
  }
}

.pillar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pillar__icon {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--accent-deep);
}
.pillar__icon svg { width: 100%; height: 100%; display: block; }
.pillar__no {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  opacity: 0.7;
}
.pillar__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.pillar__title {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-size: clamp(26px, 2.9vw, 40px);
  color: var(--t-hi);
}
.pillar__body {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: var(--t-mid);
  font-weight: 300;
}
.pillar__proof {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-deep);
}
.pillar__proof::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: var(--accent-deep);
  /* a small check, masked so it takes the token colour */
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.5 5.5L20 7'/%3E%3C/svg%3E");
  mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5.5 5.5L20 7'/%3E%3C/svg%3E");
}

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
}
