/* ============================================================
   Perkd site — shared styles (built on colors_and_type.css)
   Refined v3 — tightened rhythm, harmonized borders + shadows,
   sharper interaction states, polished responsive transitions.
   ============================================================ */

/* Cascade layers — order: reset (in colors_and_type.css) < base < overrides.
   The override layer eliminates the need for !important. */
@layer reset, base, overrides;

@layer base {

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body {
  background: color-mix(in srgb, var(--perkd-yellow) 3%, white);
  color: var(--fg1);
  margin: 0;
  min-height: 100%;
}
body {
  overflow-x: hidden;
  font-feature-settings: "ss01", "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: 0; border: 0; cursor: pointer; }
img, svg { max-width: 100%; display: block; }
::selection { background: var(--perkd-yellow); color: var(--perkd-yellow-ink); }

.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;
}

/* Brand focus styling system-wide: dark inner ring + yellow halo for AA on any surface */
:where(a, button, [role="button"]):focus-visible {
  outline: 2px solid var(--espresso-900);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--perkd-yellow);
  border-radius: var(--radius-sm);
}

/* Let cards control their own text color — override the
   global dark color on h1–h4 inside any colored surface. */
.aside-card h2, .aside-card h3, .aside-card p,
.lcard h3, .lcard .lcard-title,
.market .n, .market .k,
.threecard h3, .threecard p,
.step h3, .step h4, .step p,
.scope.alt h3, .scope.alt p,
.pp .k, .pp .l,
.feat:where(.dark, .on-dark) h3,
.pack.feat-pack h3, .pack.featp h3,
.aside-card h2, .aside-card h3 { color: inherit; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 1040px; margin: 0 auto; padding: 0 32px; }

/* Numbers feel more considered with tabular + slashed zero */
.stat-num, .lcard-title, .pstat .k, .pp .k, .step-num,
.market .n, .p-card .n, .pack-range, .pack .range,
.pack-num, .pricing-num { font-variant-numeric: tabular-nums slashed-zero; }

/* ---------- utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-12); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--fg3);
  line-height: 1;
  font-weight: var(--fw-regular);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: currentColor; opacity: .55; flex: none;
  transform: translateY(0.5px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-md);
  font-size: var(--fs-16); font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.005em;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  min-height: var(--touch-min); border: 2px solid transparent;
  cursor: pointer;
  will-change: transform;
}
.btn i, .btn svg { transition: transform var(--dur-base) var(--ease-out); flex: none; }
.btn:hover i, .btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--perkd-yellow); color: var(--espresso-900);
  box-shadow: 0 1px 0 0 rgba(27,27,32,.55), 0 8px 18px rgba(27,27,32,.08);
}
.btn-primary:hover {
  box-shadow: 0 1px 0 0 rgba(27,27,32,.55), 0 12px 28px rgba(255,184,0,.28);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 1px 0 0 rgba(27,27,32,.55); }

.btn-dark {
  background: var(--espresso-900); color: var(--fg-inverse);
  box-shadow: 0 1px 0 0 rgba(27,27,32,.35), 0 8px 18px rgba(27,27,32,.10);
}
.btn-dark:hover {
  background: var(--espresso-700);
  transform: translateY(-1px);
  box-shadow: 0 2px 0 0 rgba(27,27,32,.35), 0 10px 28px rgba(27,27,32,.18);
}
.btn-dark:active { transform: translateY(0); box-shadow: 0 2px 0 0 rgba(27,27,32,.35); }

.btn-ghost {
  background: transparent; color: var(--fg1);
  border-color: rgba(27,27,32,.72);
}
.btn-ghost:hover {
  background: var(--espresso-900); color: var(--fg-inverse);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,.18);
  color: var(--espresso-900);
  border-color: var(--espresso-900);
}
.btn-secondary:hover {
  background: var(--espresso-900);
  color: var(--fg-inverse);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(27,27,32,.14);
}
.btn-secondary:active { transform: translateY(0); box-shadow: none; }

.btn:focus-visible { outline: 2px solid var(--espresso-900); outline-offset: 2px; box-shadow: 0 0 0 5px var(--perkd-yellow); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--perkd-yellow);
  border-bottom: 2px solid var(--espresso-900);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 30px;
}
.logo-row { display: flex; align-items: center; gap: 12px; min-width: var(--touch-min); }
.logo-mark { width: 36px; height: 36px; border-radius: 8px; display: block; flex: none; }
.logo-text {
  font-size: var(--fs-20); color: var(--perkd-yellow-ink);
  letter-spacing: -0.01em; line-height: 1.1;
  display: inline-flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.logo-text .sub {
  display: block; font-size: 10.5px; letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: rgba(28,21,16,.62);
  margin-top: 0;
  line-height: 1;
  white-space: nowrap;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: var(--fs-16); color: var(--perkd-yellow-ink);
  padding: 6px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  min-width: var(--touch-min);
  transition: color var(--dur-base) var(--ease-out);
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--perkd-yellow-ink);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--espresso-900); color: var(--fg-inverse) !important;
  padding: 11px 18px 11px 20px; border-radius: var(--radius-md);
  font-size: var(--fs-14); display: inline-flex; align-items: center; gap: 8px;
  line-height: 1;
  letter-spacing: -0.005em;
  transition: background var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  box-shadow: 0 1px 0 0 rgba(27,27,32,.25);
}
.nav-cta i, .nav-cta svg { transition: transform var(--dur-base) var(--ease-out); flex: none; }
.nav-cta:hover { background: var(--espresso-700); transform: translateY(-1px); }
.nav-cta:hover i, .nav-cta:hover svg { transform: translateX(2px); }
.nav-cta:active { transform: translateY(0); }
.nav-cta.active { background: var(--espresso-950); }

/* ---------- markets marquee ---------- */
.markets {
  padding: 24px 0;
  border-bottom: 2px solid var(--espresso-900);
  background: var(--perkd-yellow);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.markets-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: march 42s linear infinite;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.025em;
  color: var(--perkd-yellow-ink);
  line-height: 1;
  align-items: center;
  will-change: transform;
}
.markets-track span {
  display: inline-flex; align-items: center; gap: 56px;
  flex: none;
}
.markets-track span::after {
  content: "★"; color: var(--espresso-900);
  font-size: 18px;
  transform: translateY(-2px);
}
@keyframes march { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.section { padding: clamp(72px, 8vw, 112px) 0; }
.sec-head {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px;
  align-items: end; margin-bottom: 56px;
}
.sec-head h2 {
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02;
  letter-spacing: -0.028em; font-weight: var(--fw-regular);
  color: var(--espresso-900); margin: 16px 0 0;
  text-wrap: balance;
}
.sec-head p {
  color: var(--fg2); font-size: var(--fs-18); line-height: 1.55;
  max-width: 540px; margin: 0;
  text-wrap: pretty;
}

/* ---------- footer ---------- */
footer {
  border-top: 2px solid var(--espresso-900);
  background: var(--espresso-900); color: var(--fg-inverse);
  padding: 72px 0 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.foot-grid h4,
.foot-grid .footer-heading {
  font-size: var(--fs-12); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin: 0 0 18px; font-weight: var(--fw-regular);
  line-height: 1.2;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid a, .foot-grid li {
  color: rgba(255,255,255,.78); font-size: var(--fs-16);
  line-height: 1.3;
  transition: color var(--dur-base) var(--ease-out);
}
.foot-grid a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
  min-width: var(--touch-min);
}
.foot-grid a:hover { color: var(--perkd-yellow); }
.foot-brand p {
  color: rgba(255,255,255,.7);
  font-size: var(--fs-16); line-height: 1.6;
  margin: 20px 0 0; max-width: 340px;
}
.foot-brand .logo-text { color: var(--fg-inverse); }
.foot-brand .logo-text .sub { color: rgba(255,255,255,.55); }
.foot-bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-12); letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: rgba(255,255,255,.5);
  gap: 16px;
}

/* ---------- editorial card (generic) ---------- */
.ed-card {
  background: var(--bg-page); border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: 8px 8px 0 0 var(--espresso-900);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.ed-card:hover {
  transform: translate(-2px,-2px);
  box-shadow: 10px 10px 0 0 var(--espresso-900);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .section { padding: 96px 0; }
  .sec-head { gap: 40px; margin-bottom: 44px; }
}

@media (max-width: 980px) {
  .wrap, .wrap-narrow { padding: 0 24px; }
  .sec-head, .foot-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head p { max-width: 600px; }
  .section { padding: 80px 0; }
  footer { padding: 56px 0 28px; }
  .foot-bottom {
    flex-direction: column; align-items: flex-start; gap: 8px;
    margin-top: 48px;
  }
}

@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .nav-inner { height: 60px; }
  .logo-mark { width: 32px; height: 32px; }
  .logo-text { font-size: var(--fs-18); }
  .logo-text .sub { display: none; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta):not(.active) { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .markets { padding: 18px 0; }
  .markets-track { gap: 36px; }
  .markets-track span { gap: 36px; }
  .markets-track span::after { font-size: 14px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  .ed-card { padding: 24px; border-radius: var(--radius-lg); }
  .ed-card:hover { transform: none; box-shadow: var(--shadow-editorial); }
  .btn { padding: 13px 18px; border-radius: var(--radius-sm); }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .markets-track { animation: none; }
}

/* ============================================================
   POLISH PASS — page-specific refinements that override inline
   page <style> blocks. Page inline styles load after site.css,
   so intentional overrides use stronger selectors.
   ============================================================ */

/* Hero -------------------------------------------------------- */
.hero {
  padding: clamp(48px, 6vw, 72px) 0 clamp(40px, 5vw, 56px);
}
.landing-hero {
  padding: 48px 0 64px;
}
.hero-grid {
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  grid-template-areas:
    "copy conversion"
    "media conversion"
    "support conversion";
  gap: clamp(22px, 3vw, 44px) clamp(28px, 4vw, 64px);
  align-items: start;
}
.hero-eyebrow {
  font-weight: var(--fw-regular);
  box-shadow: 0 1px 0 rgba(27,27,32,.04);
  transition: transform var(--dur-base) var(--ease-out);
}
.hero h1 {
  margin-top: 28px;
  letter-spacing: 0;
}
.landing-hero h1 {
  font-size: clamp(44px, 6vw, 86px);
  line-height: .96;
  letter-spacing: -.04em;
  font-weight: var(--fw-regular);
  color: var(--espresso-900);
  margin: 20px 0;
  text-wrap: balance;
}
.hero-sub {
  color: var(--fg2);
  text-wrap: pretty;
}
.hero-grid p a {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
  vertical-align: middle;
}
.landing-hero .lead {
  font-size: var(--fs-18);
  line-height: 1.55;
  color: var(--fg2);
  max-width: 650px;
}
.hero-ctas,
.landing-ctas {
  gap: 14px;
}
.landing-ctas {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  align-items: center;
}
.landing-copy {
  grid-area: copy;
  min-width: 0;
}
.landing-support {
  grid-area: support;
  min-width: 0;
}
.landing-benefits {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  max-width: 620px;
}
.landing-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border: 2px solid rgba(27, 27, 32, .16);
  border-radius: var(--radius-pill);
  background: var(--bg-page);
  color: var(--espresso-900);
  font-size: var(--fs-15);
  line-height: 1.25;
  box-shadow: 0 4px 12px rgba(27, 27, 32, .05);
}
.landing-benefits svg {
  flex: none;
  color: var(--perkd-green);
}
.landing-microproof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--fg3);
  font-size: var(--fs-14);
  line-height: 1.45;
}
.landing-microproof svg {
  color: var(--perkd-green);
  flex: none;
}
.landing-conversion {
  grid-area: conversion;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
  align-content: start;
  align-items: start;
  min-width: 0;
}
.landing-conversion .form-card {
  position: static;
  top: auto;
  align-self: start;
}
.landing-hero-image {
  grid-area: media;
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: var(--bg-page);
  box-shadow: var(--shadow-editorial);
}
.landing-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 27, 32, 0) 52%, rgba(27, 27, 32, .26) 100%);
  pointer-events: none;
}
.landing-hero-image figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: rgba(27, 27, 32, .84);
  color: var(--fg-inverse);
  font-size: var(--fs-12);
  line-height: 1.15;
  text-transform: uppercase;
  z-index: 1;
}
.landing-problem {
  padding: clamp(44px, 5vw, 68px) 0;
  background: var(--espresso-900);
  color: var(--fg-inverse);
  border-top: 2px solid var(--espresso-900);
  border-bottom: 2px solid var(--espresso-900);
}
.landing-problem .eyebrow {
  color: rgba(255, 255, 255, .7);
}
.landing-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.landing-problem h2 {
  margin: 16px 0 0;
  max-width: 900px;
  color: var(--fg-inverse);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
  font-weight: var(--fw-regular);
}
.landing-outcome {
  padding: 26px;
  border: 2px solid var(--perkd-yellow);
  border-radius: var(--radius-lg);
  background: rgba(255, 184, 0, .10);
}
.landing-outcome span {
  display: block;
  margin-bottom: 14px;
  color: var(--perkd-yellow);
  font-size: var(--fs-12);
  text-transform: uppercase;
}
.landing-outcome p {
  margin: 0;
  color: var(--fg-inverse);
  font-size: var(--fs-18);
  line-height: 1.55;
}
.fomo-strip {
  padding: clamp(56px, 7vw, 92px) 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--perkd-yellow) 28%, var(--bg-page)) 0%, var(--bg-page) 54%),
    var(--bg-page);
  border-bottom: 2px solid var(--espresso-900);
}
.fomo-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.fomo-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}
.fomo-copy h2 {
  margin: 0;
  color: var(--espresso-900);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -0.035em;
  font-weight: var(--fw-regular);
  text-wrap: balance;
}
.fomo-copy p {
  margin: 0;
  max-width: 52ch;
  color: var(--fg2);
  font-size: var(--fs-18);
  line-height: 1.55;
}
.fomo-copy .btn {
  width: fit-content;
}
.fomo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.fomo-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 250px;
  padding: clamp(20px, 2.3vw, 28px);
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: var(--bg-page);
  box-shadow: 0 10px 28px rgba(27, 27, 32, .08);
}
.fomo-card:nth-child(2) {
  background: var(--perkd-yellow);
}
.fomo-card:nth-child(3) {
  background: var(--espresso-900);
  color: var(--fg-inverse);
}
.fomo-card span {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: inherit;
  font-variant-numeric: tabular-nums slashed-zero;
}
.fomo-card h3 {
  margin: auto 0 0;
  color: inherit;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.fomo-card p {
  margin: 0;
  color: inherit;
  line-height: 1.5;
  opacity: .78;
}
@media (max-width: 980px) {
  .fomo-layout,
  .fomo-cards {
    grid-template-columns: 1fr;
  }
  .fomo-card {
    min-height: 0;
  }
}
.landing-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-sm);
  background: var(--perkd-yellow);
  color: var(--espresso-900);
}
.landing-feature-band {
  padding-top: 0 !important;
}
.landing-feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: var(--bg-page);
  box-shadow: var(--shadow-editorial);
}
.landing-feature-copy h2 {
  margin: 16px 0 18px;
  color: var(--espresso-900);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  font-weight: var(--fw-regular);
}
.landing-feature-copy p {
  margin: 0 0 26px;
  color: var(--fg2);
  font-size: var(--fs-18);
  line-height: 1.58;
  max-width: 560px;
}
.landing-feature-image {
  overflow: hidden;
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--perkd-yellow) 12%, white);
  aspect-ratio: 16 / 10;
}
.landing-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.landing-feature-image img[src*="ui"],
.landing-feature-image img[src*="dashboard"],
.landing-feature-image img[src*="guide"],
.landing-feature-image img[src*="economics"],
.landing-feature-image img[src*="interface"] {
  object-fit: contain;
  padding: clamp(12px, 2vw, 24px);
}
.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.landing-step {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: var(--bg-page);
}
.landing-step:nth-child(2) {
  background: var(--perkd-yellow);
}
.landing-step:nth-child(3) {
  background: var(--espresso-900);
  color: var(--fg-inverse);
}
.landing-step span {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
  color: inherit;
}
.landing-step h3 {
  margin: auto 0 0;
  font-size: var(--fs-24);
  line-height: 1.12;
  color: inherit;
}
.landing-step p {
  margin: 0;
  color: inherit;
  opacity: .82;
  line-height: 1.5;
}
.landing-final-cta {
  display: grid;
  gap: 18px;
  padding: clamp(30px, 5vw, 56px);
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: var(--perkd-yellow);
  box-shadow: var(--shadow-editorial);
}
.landing-final-cta h2 {
  margin: 0;
  max-width: 780px;
  color: var(--espresso-900);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  font-weight: var(--fw-regular);
}
.landing-final-cta p {
  margin: 0;
  max-width: 620px;
  color: var(--perkd-yellow-ink);
  font-size: var(--fs-18);
  line-height: 1.55;
}
.landing-final-cta .eyebrow {
  color: var(--perkd-yellow-ink);
}
.landing-final-cta .btn {
  width: fit-content;
}

/* The rotated card-stack — preserve editorial feel but clamp
   transforms so cards stay inside the viewport and feel
   composed rather than chaotic. */
.card-stack {
  width: min(100%, 600px);
  height: clamp(420px, 50vw, 540px);
  min-height: clamp(420px, 50vw, 540px);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.lcard {
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.lcard.c1 { transform: rotate(-2.4deg); }
.lcard.c2 { transform: rotate(2deg); }
.lcard.c3 { transform: rotate(-1.4deg); }
.card-stack:hover .lcard.c1 { transform: rotate(-2.4deg) translateY(-2px); }
.card-stack:hover .lcard.c2 { transform: rotate(2deg) translateY(-2px); }
.card-stack:hover .lcard.c3 { transform: rotate(-1.4deg) translateY(-2px); }

/* Stats strip — give numbers more presence, labels more poise */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: clamp(16px, 2vw, 32px);
  border-top: 1px solid rgba(27,27,32,.14);
  border-bottom: 1px solid rgba(27,27,32,.14);
  padding: 28px 0;
  margin-top: clamp(40px, 5vw, 64px);
}
.stat-strip > * + * {
  border-left: 1px solid rgba(27,27,32,.10);
  padding-left: clamp(16px, 2vw, 32px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--espresso-900);
  display: inline-flex; align-items: baseline; gap: 4px;
}
.stat-num .y, .stat-num .v, .stat-num .u {
  color: var(--perkd-yellow);
  font-size: 0.7em;
  letter-spacing: -0.04em;
}
.stat-lbl {
  display: block;
  margin-top: 14px;
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
  line-height: 1.3;
  max-width: 220px;
}
.mini-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
  max-width: 560px;
}
.mini-proof .pp {
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-xl);
  padding: 20px;
  background: var(--bg-page);
  box-shadow: var(--shadow-editorial);
}
.mini-proof .k {
  display: block;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--espresso-900);
}
.mini-proof .l {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
  line-height: 1.35;
}

/* Three-card / fit grid -- tighter rhythm, more confident hover */
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.threecard {
  position: relative;
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-xl);
  padding: 28px;
  background: var(--bg-page);
  box-shadow: var(--shadow-editorial);
}
.threecard h3 {
  font-size: var(--fs-24);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--espresso-900);
}
.threecard-tag {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  color: var(--fg3);
  font-variant-numeric: tabular-nums;
}
.threecard--primary {
  background: var(--surface-cream);
  border-color: var(--perkd-yellow);
  box-shadow: 8px 8px 0 0 var(--perkd-yellow);
}
.threecard--primary .threecard-tag {
  color: var(--espresso-900);
  font-weight: var(--fw-bold, 700);
}
.threecard--primary .landing-card-icon {
  background: var(--perkd-yellow);
  color: var(--espresso-900);
}
.fit-grid {
  gap: clamp(20px, 2vw, 28px);
}
.fit-card {
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}

/* Step flow (4-card "Simple for customers") */
.flow {
  gap: clamp(16px, 1.6vw, 24px);
}
.step {
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.step-num {
  font-size: clamp(40px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1;
}

/* Feature blocks (image + copy) */
.feat-tag {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-weight: var(--fw-regular);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 8px;
}
.feat-list {
  display: grid; gap: 12px;
  margin-top: 20px;
  list-style: none; padding: 0;
}
.feat-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: var(--fs-16); line-height: 1.55;
  color: var(--fg2);
}
.feat-list li::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--perkd-yellow);
  margin-top: 9px; flex: none;
  box-shadow: 0 0 0 4px rgba(255,184,0,.18);
}

/* Pack cards (pricing/rollout) */
.packs { gap: clamp(20px, 2vw, 28px); }
.pack {
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.pack-tag {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-weight: var(--fw-regular);
  display: inline-flex; align-items: center; gap: 8px;
}
.pack-range {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-12);
  letter-spacing: 0.02em;
}

/* Card lede — body paragraph that sits between a card title and its bullet list */
.card-lede {
  margin: 0;
  color: var(--fg2);
  font-size: var(--fs-16);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Proof / testimonial stats */
.proof-stats { gap: clamp(12px, 1.5vw, 20px); }
.pstat .k {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1;
  font-weight: var(--fw-regular);
}
.pstat .l {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
  line-height: 1.4;
  max-width: 240px;
}

/* Big final CTA -- soften the radial highlight, fix button contrast */
.bigcta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.bigcta .eyebrow,
.bigcta .eyebrow::before {
  color: var(--perkd-yellow-ink);
}
.bigcta::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(
    600px circle at 88% 50%,
    rgba(255,255,255,.28) 0%,
    rgba(255,255,255,0) 65%
  );
  pointer-events: none;
  z-index: -1;
}
.bigcta .ctas { gap: 14px; flex-wrap: wrap; }

/* Photo band — improve gallery rhythm */
.photoband { padding: clamp(48px, 6vw, 96px) 0; }
.pb-grid { gap: clamp(12px, 1.4vw, 20px); }
.pb-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.pb-item img {
  transition: transform var(--dur-slower) var(--ease-out);
}
.pb-item:hover img { transform: scale(1.04); }

/* Gallery (cafe partners) */
.gallery { gap: clamp(12px, 1.4vw, 20px); }
.g-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.g-caption {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

/* Generated UI mockups carry important text and diagrams. Keep
   them fully visible instead of cropping them like photography. */
.gallery .g-tile.g-tile,
.pb-item.pb-item,
.hero-image.hero-image,
.viz.viz {
  background: color-mix(in srgb, var(--perkd-yellow) 7%, #fff);
}
.gallery .g-tile.g-tile img,
.pb-item.pb-item img,
.hero-image.hero-image img,
.viz.viz img {
  object-fit: contain;
  object-position: center;
}
.gallery .g-tile.g-tile.tall,
.pb-item.pb-item {
  aspect-ratio: 16 / 10;
  height: auto;
}
.gallery .g-tile.g-tile.short {
  aspect-ratio: 16 / 10;
  height: auto;
}
.hero-image.hero-image {
  aspect-ratio: 16 / 10;
}
.viz.viz {
  aspect-ratio: 16 / 10;
}

/* Quote attribution */
.quote { line-height: 1.3; letter-spacing: -0.018em; }
.attrib {
  font-size: var(--fs-14);
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg3);
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
}
.faq-item {
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  background: var(--bg-page);
}
.faq-item summary {
  cursor: pointer;
  font-size: var(--fs-18);
  color: var(--espresso-900);
}
.faq-item p {
  margin: 12px 0 0;
  color: var(--fg2);
}

/* Tighten responsive transitions for hero stack */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .landing-grid {
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
    grid-template-areas:
      "copy conversion"
      "media conversion"
      "support conversion";
    gap: clamp(20px, 3vw, 32px);
  }
  .landing-hero h1 {
    font-size: clamp(42px, 5.2vw, 64px);
  }
  .card-stack {
    height: clamp(380px, 56vw, 480px);
    min-height: clamp(380px, 56vw, 480px);
  }
}

@media (max-width: 760px) {
  .hero,
  .hero-v {
    padding-top: 40px;
  }
  .hero.hero h1,
  .hero-grid.hero-grid h1 {
    font-size: clamp(44px, 13vw, 68px);
    line-height: 0.98;
    letter-spacing: 0;
  }
  .hero-sub.hero-sub,
  .hero-grid.hero-grid p,
  .sec-head.sec-head p {
    font-size: var(--fs-16);
    line-height: 1.58;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    padding: 24px 0;
  }
  .stat-strip > * + * { border-left: 0; padding-left: 0; }
  .stat-strip > *:nth-child(odd) {
    border-right: 1px solid rgba(27,27,32,.10);
    padding-right: 16px;
  }
  .stat-num { font-size: 40px; }
  .lcard.c1, .lcard.c2, .lcard.c3 { transform: rotate(-1deg); }
  .lcard.c2 { transform: rotate(0.8deg); }
  .lcard.c3 { transform: rotate(-0.6deg); }
  .flow { grid-template-columns: 1fr 1fr !important; }
  .pb-grid { grid-template-columns: 1fr 1fr !important; }
  .gallery { grid-template-columns: 1fr 1fr !important; }
  .landing-grid,
  .three-grid,
  .mini-proof,
  .landing-problem-grid,
  .landing-feature,
  .landing-steps {
    grid-template-columns: 1fr;
  }
  .landing-grid {
    grid-template-areas:
      "copy"
      "media"
      "conversion"
      "support";
  }
  .form-card {
    position: static;
  }
  .landing-hero {
    padding: 36px 0 48px;
  }
  .landing-conversion .form-card {
    position: static;
    top: auto;
  }
  .landing-hero-image {
    min-height: 220px;
  }
  .landing-final-cta .btn {
    width: 100%;
  }
  .rollout-row,
  .packs,
  .fit-grid {
    gap: 18px;
  }
  .feat,
  .pack,
  .scope,
  .bigcta,
  .landing-feature,
  .landing-final-cta {
    box-shadow: 6px 6px 0 0 var(--espresso-900);
  }
}

@media (max-width: 480px) {
  .flow { grid-template-columns: 1fr !important; }
  .pb-grid { grid-template-columns: 1fr !important; }
  .gallery { grid-template-columns: 1fr !important; }
  .wrap,
  .wrap-narrow {
    padding: 0 18px;
  }
  .btn,
  .nav-cta {
    white-space: normal;
    text-align: center;
  }
  .btn {
    width: 100%;
  }
  .hero-ctas,
  .hero-grid .ctas,
  .bigcta .ctas {
    width: 100%;
  }
  .card-stack {
    height: 390px;
    min-height: 390px;
  }
  .lcard {
    padding: 16px;
    box-shadow: 6px 6px 0 0 var(--espresso-900);
  }
  .lcard-title {
    font-size: var(--fs-20);
  }
  .stamps {
    gap: 6px;
  }
  .feat,
  .pack,
  .scope,
  .bigcta,
  .landing-feature,
  .landing-final-cta {
    padding: 24px;
    border-radius: var(--radius-lg);
  }
  .step {
    min-height: 220px;
    padding: 24px;
  }
  .foot-grid {
    gap: 32px;
  }
}

/* Forms ------------------------------------------------------- */
.form-card {
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-2xl);
  background: var(--bg-page);
  padding: 28px;
  box-shadow: var(--shadow-editorial);
  position: sticky;
  top: 96px;
}
.form-card h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 12px;
  color: var(--espresso-900);
}
.form-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(27, 27, 32, .18);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--perkd-yellow) 18%, white);
  color: var(--espresso-900);
  font-size: var(--fs-12);
  line-height: 1;
  text-transform: uppercase;
}
.form-card .desc {
  color: var(--fg3);
  margin: 0 0 24px;
  line-height: 1.5;
}
.fields {
  display: grid;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
input:where([type="text"], [type="email"], [type="tel"], [type="url"], :not([type])),
select,
textarea {
  font-family: inherit;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
input:where([type="text"], [type="email"], [type="tel"], [type="url"], :not([type])):hover,
select:hover,
textarea:hover {
  border-color: var(--espresso-400) !important;
}
input:where([type="text"], [type="email"], [type="tel"], [type="url"], :not([type])):focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--espresso-900) !important;
  box-shadow: 0 0 0 3px rgba(255,184,0,.28);
}
input::placeholder, textarea::placeholder { color: var(--fg3); }

/* ============================================================
   Home v2 — magazine-style 3-track router (2026-05-01 redesign)
   Reuses existing .landing-step / .landing-final-cta / .feat
   classes for cream/yellow/dark contrast, plus these home-only
   refinements.
   ============================================================ */

/* Section-head: title left, lede right, like the screenshot reference */
.home-sec-head { gap: clamp(20px, 4vw, 64px); }
.home-sec-head h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: var(--fw-regular, 400);
  margin: 8px 0 0;
  text-wrap: balance;
}

/* Hero polish for the home (vs landings) */
.home-hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(255,184,0,.16), transparent 60%),
    radial-gradient(900px 320px at 5% 110%, rgba(255,184,0,.10), transparent 60%),
    var(--bg-page, #fff);
}
.home-hero-grid { align-items: center; }
.home-hero h1 {
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: .94;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.home-benefits {
  margin-top: 28px;
}
.home-benefits svg { color: var(--perkd-yellow-ink, #3D3D3D); }
.home-benefits li {
  border-color: rgba(27, 27, 32, .14);
  background: var(--bg-page);
}
.home-hero-image figcaption {
  font-size: var(--fs-13);
  letter-spacing: .015em;
}

/* Section that contains the 3-track showcase. Cream backdrop with a faint
   ruled top edge so it visually separates from the hero. */
.home-tracks-section {
  background: var(--cream, #faf7f1);
  border-top: 1px solid rgba(27, 27, 32, .08);
  border-bottom: 1px solid rgba(27, 27, 32, .08);
}

/* The 3-track showcase. Built on .landing-step (which already alternates
   cream / yellow / espresso-dark via :nth-child) plus per-card refinements. */
.home-tracks {
  margin-top: 32px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .landing-steps.home-tracks { grid-template-columns: 1fr; }
}
.home-track {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  gap: 16px;
  min-height: 360px;
  box-shadow: 0 1px 0 0 rgba(27,27,32,.18), 0 18px 40px -24px rgba(27,27,32,.25);
  transition: transform var(--dur-base, 180ms) var(--ease-out, ease),
              box-shadow var(--dur-base, 180ms) var(--ease-out, ease);
}
.home-track:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 0 rgba(27,27,32,.22), 0 24px 56px -22px rgba(27,27,32,.32);
}
.home-track h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 6px 0 4px;
}
.home-track p {
  margin: 0;
  font-size: var(--fs-16, 16px);
  line-height: 1.55;
  opacity: 1;
}
.home-track-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1;
  font-weight: var(--fw-regular, 400);
  letter-spacing: -0.04em;
  display: inline-block;
}
.home-track-tag {
  font-size: var(--fs-12, 12px);
  letter-spacing: var(--tracking-caps, .12em);
  text-transform: uppercase;
  font-weight: 540;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill, 999px);
  background: rgba(27, 27, 32, .08);
  width: fit-content;
}
.home-track-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}
.home-track-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-15, 15px);
  line-height: 1.4;
}
.home-track-bullets svg {
  flex: none;
  opacity: .85;
}
.home-track-cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Card 1 (cream) — track-tag pill is dark on cream */
.landing-step.home-track:nth-child(1) .home-track-tag {
  background: rgba(27, 27, 32, .08);
  color: var(--espresso-900, #1B1B20);
}
/* Card 2 (yellow) — featured. Track-tag pill is dark on yellow. */
.landing-step.home-track:nth-child(2) {
  border-color: var(--espresso-900, #1B1B20);
}
.landing-step.home-track:nth-child(2) .home-track-tag {
  background: rgba(27, 27, 32, .14);
  color: var(--espresso-900, #1B1B20);
}
.landing-step.home-track:nth-child(2) .home-track-num,
.landing-step.home-track:nth-child(2) h3,
.landing-step.home-track:nth-child(2) p,
.landing-step.home-track:nth-child(2) li { color: var(--espresso-900, #1B1B20); }
/* Card 3 (espresso) — pill is yellow text on translucent white */
.landing-step.home-track:nth-child(3) .home-track-tag {
  background: rgba(255, 184, 0, .18);
  color: var(--perkd-yellow, #FFB800);
}
.landing-step.home-track:nth-child(3) .home-track-num { color: var(--perkd-yellow, #FFB800); }
.landing-step.home-track:nth-child(3) .home-track-cta {
  background: var(--perkd-yellow, #FFB800);
  color: var(--espresso-900, #1B1B20);
  border-color: var(--perkd-yellow, #FFB800);
}
.landing-step.home-track:nth-child(3) .home-track-cta:hover {
  filter: brightness(1.05);
}

/* Dark "What Perkd is" contrast band */
.home-stack-section {
  background: var(--espresso-950, #0D0D10);
  color: var(--fg-inverse);
}
.home-stack-section .eyebrow,
.home-stack-section .editorial-eyebrow,
.home-stack-section h2,
.home-stack-section p { color: inherit; }
.home-stack-section .eyebrow,
.home-stack-section .editorial-eyebrow {
  color: var(--perkd-yellow, #FFB800);
}
.home-stack-section .eyebrow::before,
.home-stack-section .editorial-eyebrow::before {
  background: var(--perkd-yellow, #FFB800);
}
.eyebrow-on-dark { color: var(--perkd-yellow, #FFB800); }
.home-stack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: center;
}
@media (max-width: 960px) {
  .home-stack-grid { grid-template-columns: 1fr; }
}
.home-stack-section h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 8px 0 18px;
  text-wrap: balance;
}
.home-stack-section p {
  font-size: var(--fs-18, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  max-width: 56ch;
}
.home-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.home-stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill, 999px);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--fg-inverse);
  font-size: var(--fs-14, 14px);
  letter-spacing: .01em;
}
.home-stack-pill svg { color: var(--perkd-yellow, #FFB800); }
.home-stack-cta {
  margin-top: 8px;
}
.home-stack-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg, 20px);
  border: 1px solid rgba(255, 255, 255, .12);
  background: var(--espresso-900);
}
.home-stack-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Compass Coffee pull-quote */
.home-quote-section {
  background:
    linear-gradient(180deg, var(--cream, #faf7f1) 0%, #fff 100%);
}
.home-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
}
@media (max-width: 880px) {
  .home-quote-grid { grid-template-columns: 1fr; }
}
.home-quote-stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg, 20px);
  background: var(--perkd-yellow, #FFB800);
  border: 2px solid var(--espresso-900, #1B1B20);
  box-shadow: 6px 6px 0 0 var(--espresso-900, #1B1B20);
  align-self: stretch;
  justify-content: center;
}
.home-quote-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 168px);
  line-height: .85;
  letter-spacing: -0.05em;
  font-weight: var(--fw-regular, 400);
  color: var(--espresso-900, #1B1B20);
  text-wrap: nowrap;
}
.home-quote-label {
  font-size: var(--fs-14, 14px);
  letter-spacing: var(--tracking-caps, .12em);
  text-transform: uppercase;
  color: var(--perkd-yellow-ink, #3D3D3D);
  max-width: 26ch;
  line-height: 1.3;
}
.home-quote-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-quote-text {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--fg1, #1B1B20);
  font-weight: 460;
  text-wrap: pretty;
}
.home-quote-text p { margin: 0; }
.home-quote-attrib {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--fg3, #5A5A63);
  font-size: var(--fs-15, 15px);
}
.home-quote-attrib strong {
  color: var(--fg1, #1B1B20);
  font-weight: 540;
}
.home-quote-link {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--espresso-900, #1B1B20);
  font-weight: 540;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  width: fit-content;
}
.home-quote-link:hover { color: var(--perkd-yellow-ink, #3D3D3D); }

/* Built-in Loyalty teaser — uses existing .feat structure with home-specific
   bullet styling. */
.home-loyalty-feat .home-loyalty-bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: grid;
  gap: 8px;
}
.home-loyalty-feat .home-loyalty-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-16, 16px);
  color: var(--fg2, #42424A);
}
.home-loyalty-feat .home-loyalty-bullets svg {
  flex: none;
  color: var(--perkd-green, #2E6B16);
}

/* Final CTA polish */
.home-final-cta { text-align: left; }
.home-final-cta .ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.home-final-cta .btn-ghost {
  border-color: rgba(27, 27, 32, .25);
}

/* Per-track form components (2026-05-01 redesign) */
.field-radios,
.field-checkboxes {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-radios legend,
.field-checkboxes legend {
  padding: 0;
  margin: 0 0 6px;
  font-weight: 540;
  color: var(--fg2, #292827);
  font-size: var(--fs-15, 15px);
}
.field-radios label,
.field-checkboxes label {
  display: flex;
  position: relative;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px 8px 48px;
  border: 1px solid var(--border, #dcd7d3);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color var(--dur-base, 180ms) var(--ease-out, ease),
              background var(--dur-base, 180ms) var(--ease-out, ease);
  line-height: 1.4;
}
.field-radios label:hover,
.field-checkboxes label:hover {
  border-color: var(--espresso-400, #b8a890);
  background: var(--cream, #f6f3ee);
}
.field-radios.field-invalid legend,
.field-checkboxes.field-invalid legend {
  color: var(--danger);
}
.field-radios.field-invalid label,
.field-checkboxes.field-invalid label {
  border-color: color-mix(in srgb, var(--danger) 45%, var(--border-2));
}
.field-radios label:has(input:checked),
.field-checkboxes label:has(input:checked) {
  border-color: var(--espresso-900, #292827);
  background: var(--cream, #f6f3ee);
  font-weight: 540;
}
.field-radios input[type="radio"],
.field-checkboxes input[type="checkbox"] {
  position: absolute;
  inset: 0 auto 0 0;
  width: 44px;
  height: 100%;
  min-height: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  flex: none;
}
.field-radios label::before,
.field-checkboxes label::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border: 2px solid var(--espresso-700);
  background: var(--bg-page);
}
.field-radios label::before {
  border-radius: 999px;
}
.field-checkboxes label::before {
  border-radius: 5px;
}
.field-radios label:has(input:checked)::after,
.field-checkboxes label:has(input:checked)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  background: var(--espresso-900);
}
.field-radios label:has(input:checked)::after {
  border-radius: 999px;
}
.field-checkboxes label:has(input:checked)::after {
  left: 19px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.field-radios label:has(input:focus-visible),
.field-checkboxes label:has(input:focus-visible) {
  outline: 2px solid var(--espresso-900);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--perkd-yellow);
}
.field-optional {
  margin-left: 6px;
  font-weight: 400;
  font-size: var(--fs-12, 12px);
  color: var(--fg3, #5b574f);
  letter-spacing: 0;
  text-transform: none;
}
.field-disclosure {
  margin-top: 4px;
}
.field-disclosure > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 0;
  font-weight: 540;
  font-size: var(--fs-14, 14px);
  color: var(--fg3, #5b574f);
  display: flex;
  align-items: center;
  gap: 8px;
}
.field-disclosure > summary::-webkit-details-marker { display: none; }
.field-disclosure > summary::before {
  content: '+';
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cream, #f6f3ee);
  border: 1px solid var(--border, #dcd7d3);
  font-weight: 600;
  line-height: 1;
}
.field-disclosure[open] > summary::before { content: '−'; }
.field-disclosure > .fields {
  margin-top: 10px;
  padding-left: 26px;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  clip-path: inset(50%);
  pointer-events: none;
}
.form-status {
  display: none;
  margin: 14px 0 0;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: var(--fs-14);
  line-height: 1.5;
}
.form-status-success,
.form-status-error {
  display: block;
}
.form-status-success {
  border: 1px solid rgba(46, 107, 22, 0.24);
  background: rgba(46, 107, 22, 0.08);
  color: var(--perkd-green);
}
.form-status-error {
  border: 1px solid rgba(230, 57, 70, 0.32);
  background: rgba(230, 57, 70, 0.08);
  color: var(--danger);
}
.field > input:not([type="radio"]):not([type="checkbox"]),
.field > .iti,
.field > select,
.field > textarea {
  width: 100%;
  box-sizing: border-box;
}
.field > input:not([type="radio"]):not([type="checkbox"]),
.field > .iti input[type="tel"],
.field > select,
.field > textarea {
  min-height: var(--touch-min);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  font: inherit;
  color: var(--fg1);
  background: var(--bg-page);
}
.field > .iti input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
}
.field > .iti .iti__selected-country {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.form-card .btn {
  width: 100%;
  margin-top: 18px;
}
.cf-turnstile {
  margin: 4px 0 14px;
  min-height: 65px;
}
.trust-note {
  display: block;
  margin-top: 12px;
  font-size: var(--fs-12);
  color: var(--fg3);
  text-align: center;
}
.trust-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 760px) {
  body:has(.mobile-sticky-cta) {
    padding-bottom: 84px;
  }
  .landing-nav .nav-inner {
    height: 64px;
  }
  .landing-nav .logo-text .sub {
    display: none;
  }
  .landing-hero h1 {
    font-size: clamp(36px, 10vw, 50px);
    line-height: 1.02;
    margin: 16px 0 14px;
  }
  .landing-hero .lead {
    font-size: var(--fs-16);
  }
  .landing-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }
  .landing-benefits li {
    width: auto;
    flex: 0 1 auto;
    box-sizing: border-box;
    border-radius: var(--radius-lg);
    padding: 9px 12px;
    font-size: var(--fs-14);
    white-space: normal;
  }
  .landing-ctas {
    margin-top: 22px;
  }
  .landing-ctas .btn-ghost {
    display: none;
  }
  .landing-microproof {
    align-items: flex-start;
    margin-top: 14px;
  }
  .mini-proof {
    display: none;
  }
  .landing-conversion {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .landing-hero-image {
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }
  .form-card {
    padding: 22px;
    border-radius: var(--radius-xl);
  }
  .form-card h2 {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.05;
  }
  .form-card .desc {
    margin-bottom: 20px;
  }
  .field textarea {
    min-height: 76px;
  }
  .mobile-sticky-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border: 2px solid var(--espresso-900);
    border-radius: var(--radius-pill);
    background: var(--perkd-yellow);
    color: var(--espresso-900) !important;
    box-shadow: 6px 6px 0 0 var(--espresso-900);
    font-size: var(--fs-16);
    line-height: 1.15;
    text-align: center;
    transition:
      opacity var(--dur-base) var(--ease-out),
      transform var(--dur-base) var(--ease-out);
  }
  body.lead-form-visible .mobile-sticky-cta {
    opacity: 0;
    transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom)));
    pointer-events: none;
  }
}

/* Slight refinement on form labels above tiny inputs */
label:where([for], .field > label, .field-label),
.field > label {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
  font-weight: var(--fw-regular);
}

} /* end @layer base */

@layer overrides {
/* Final premium polish pass — deliberate breathing room, calmer hero rhythm,
   stronger secondary affordances, and accessibility-safe colored surfaces. */
.hero-grid {
  gap: clamp(40px, 5.2vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 5.4vw, 80px);
  line-height: 1;
  max-width: 940px;
}
.hero-sub {
  max-width: 560px;
}
.hero .card-stack {
  transform: scale(.98);
  transform-origin: center right;
}
.btn-ghost {
  border-width: 2px;
  box-shadow: inset 0 0 0 1px rgba(28,21,16,.08);
}
.section {
  scroll-margin-top: 112px;
}
.form-card .fields {
  gap: 16px;
}
.field-radios,
.field-checkboxes {
  gap: 10px;
}
.field-radios legend,
.field-checkboxes legend {
  margin-bottom: 8px;
}
.field-radios label,
.field-checkboxes label {
  align-items: center;
  min-height: 48px;
  padding: 10px 14px 10px 50px;
  color: var(--fg2);
  font-size: var(--fs-14);
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  font-weight: var(--fw-regular);
}
.field-radios label:has(input:checked),
.field-checkboxes label:has(input:checked) {
  font-weight: 540;
}
.field-disclosure {
  margin-top: 2px;
}

/* Accessibility polish — keep the premium palette while ensuring
   small labels, badges, and colored tiles pass focused AA checks. */
.logo-text .sub {
  color: #5E4400;
}
.foot-brand .logo-text .sub {
  color: rgba(255, 255, 255, .72);
}
.nav-cta,
.nav-cta.active,
.nav-links .nav-cta.active {
  background: var(--espresso-900);
  color: var(--fg-inverse);
}
.lcard-badge[style*="#7CB342"],
.lcard-badge[style*="7CB342"] {
  background: var(--perkd-green);
  color: var(--fg-inverse);
}
.stat-num .y,
.stat-num .v,
.stat-num .u {
  color: var(--perkd-yellow-deep);
}
.step[style*="--perkd-blue"],
.step[style*="--perkd-blue"] h4,
.step[style*="--perkd-blue"] p,
.feat-tag[style*="--perkd-blue"],
.feat-tag[style*="--perkd-green"],
.aside-card.b,
.aside-card.b h3,
.aside-card.b p,
.aside-card.b .kicker,
.aside-card.b .num,
.aside-card.y .kicker {
  color: var(--fg-inverse);
}
.aside-card.y .kicker {
  color: var(--espresso-900);
}
.aside-card.b .kicker,
.aside-card.b .kicker .num {
  opacity: 1;
}
} /* end @layer overrides */

@layer base {

/* Page-scoped marketing styles -------------------------------- */
/* home */
  /* ---------- Hero ---------- */
  body[data-page="home"] .hero { padding: 72px 0 48px; position: relative; }
  body[data-page="home"] .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
  body[data-page="home"] .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: var(--fs-12); letter-spacing: var(--tracking-caps);
    text-transform: uppercase; color: var(--fg2);
    background: var(--bg-page); border: 1px solid var(--border-1);
    padding: 9px 14px; border-radius: var(--radius-pill);
    line-height: 1;
  }
  body[data-page="home"] .hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--perkd-yellow); box-shadow: 0 0 0 4px rgba(255,184,0,.18); flex: none; }
  body[data-page="home"] .hero h1 {
    font-size: clamp(52px, 7vw, 104px); line-height: .96;
    letter-spacing: -0.035em; font-weight: var(--fw-regular);
    margin: 24px 0 0; color: var(--espresso-900); text-wrap: balance;
  }
  body[data-page="home"] .hero h1 .hl {
    color: var(--perkd-yellow-ink);
    padding-right: .02em;
  }
  body[data-page="home"] .hero-sub { margin-top: 28px; max-width: 520px; font-size: var(--fs-18); line-height: 1.55; color: var(--fg2); text-wrap: pretty; }
  body[data-page="home"] .hero-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

  /* Card stack */
  body[data-page="home"] .card-stack { position: relative; height: 560px; min-height: 560px; }
  body[data-page="home"] .lcard {
    position: absolute; width: 100%; padding: 22px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-editorial);
    border: 2px solid var(--espresso-900);
    background: var(--bg-page);
  }
  body[data-page="home"] .lcard.c1 { background: var(--perkd-yellow); top: 0; right: 0; width: 80%; transform: rotate(-3deg); }
  body[data-page="home"] .lcard.c2 { background: var(--bg-page); top: 130px; left: 0; width: 74%; transform: rotate(2.4deg); }
  body[data-page="home"] .lcard.c3 { background: var(--espresso-900); color: var(--fg-inverse); bottom: 0; right: 10%; width: 74%; transform: rotate(-1.8deg); }
  body[data-page="home"] .lcard-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  body[data-page="home"] .lcard-brand { font-size: var(--fs-14); letter-spacing: var(--tracking-caps); text-transform: uppercase; }
  body[data-page="home"] .lcard-badge {
    font-size: 10px; letter-spacing: var(--tracking-caps); text-transform: uppercase;
    padding: 4px 9px; border-radius: var(--radius-pill);
    background: rgba(0,0,0,.12); color: inherit;
  }
  body[data-page="home"] .lcard.c3 .lcard-badge { background: rgba(255,255,255,.14); color: var(--fg-inverse); }
  body[data-page="home"] .lcard-title { font-size: var(--fs-24); line-height: 1.1; margin: 2px 0 14px; font-weight: var(--fw-regular); }
  body[data-page="home"] .stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  body[data-page="home"] .stamp { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed currentColor; opacity: .45; display: grid; place-items: center; }
  body[data-page="home"] .stamp.filled { opacity: 1; background: currentColor; border-style: solid; }
  body[data-page="home"] .stamp.filled::after { content: "★"; color: var(--espresso-900); font-size: 14px; }
  body[data-page="home"] .lcard.c1 .stamp.filled::after { color: var(--perkd-yellow); }
  body[data-page="home"] .lcard.c3 .stamp.filled::after { color: var(--espresso-900); }
  body[data-page="home"] .lcard-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.12); display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-14); opacity: .85; }
  body[data-page="home"] .lcard.c3 .lcard-foot { border-top-color: rgba(255,255,255,.2); }

  /* Stat strip */
  body[data-page="home"] .stat-strip { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--espresso-900); border-bottom: 2px solid var(--espresso-900); }
  body[data-page="home"] .stat-strip > div { padding: 32px 20px; border-right: 1px solid var(--border-2); }
  body[data-page="home"] .stat-strip > div:last-child { border-right: 0; }
  body[data-page="home"] .stat-num { font-family: var(--font-display); font-size: clamp(44px, 4.8vw, 72px); line-height: 1; letter-spacing: -0.035em; color: var(--espresso-900); font-variant-numeric: tabular-nums slashed-zero; }
  body[data-page="home"] .stat-num .u { color: var(--perkd-yellow-deep); }
  body[data-page="home"] .stat-lbl { margin-top: 14px; font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg3); line-height: 1.3; }

  /* Image gallery */
  body[data-page="home"] .gallery { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 16px; margin-top: -8px; }
  body[data-page="home"] .gallery .g-tile {
    border: 2px solid var(--espresso-900); border-radius: var(--radius-xl);
    overflow: hidden; position: relative; background: var(--espresso-900);
  }
  body[data-page="home"] .gallery .g-tile img { width: 100%; height: 100%; object-fit: cover; }
  body[data-page="home"] .gallery .g-tile { transition: transform var(--dur-base) var(--ease-out); }
  body[data-page="home"] .gallery .g-tile:hover { transform: translateY(-2px); }
  body[data-page="home"] .gallery .g-tile.tall { grid-row: span 2; aspect-ratio: auto; height: 520px; }
  body[data-page="home"] .gallery .g-tile.short { height: 252px; }
  body[data-page="home"] .g-caption {
    position: absolute; left: 18px; bottom: 18px; right: 18px;
    display: flex; justify-content: space-between; gap: 10px;
    font-size: var(--fs-12); letter-spacing: var(--tracking-caps);
    text-transform: uppercase; color: var(--fg-inverse);
  }
  body[data-page="home"] .g-caption .pill { padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(27, 27, 32, .82); }
  body[data-page="home"] .g-caption .pill.y { background: var(--perkd-yellow); color: var(--perkd-yellow-ink); }

  /* Partner fit */
  body[data-page="home"] .fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
  body[data-page="home"] .fit-ix {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--perkd-yellow); display: grid; place-items: center;
    border: 2px solid var(--espresso-900);
  }
  body[data-page="home"] .fit-card.v2 .fit-ix { background: var(--perkd-blue); color: var(--fg-inverse); }
  body[data-page="home"] .fit-card.v3 .fit-ix { background: var(--perkd-green); color: var(--fg-inverse); }
  body[data-page="home"] .fit-card h3 { font-size: var(--fs-28); line-height: 1.15; margin: 4px 0 0; color: var(--espresso-900); letter-spacing: -0.02em; font-weight: var(--fw-regular); text-wrap: balance; }
  body[data-page="home"] .fit-card p { margin: 0; color: var(--fg2); font-size: var(--fs-16); line-height: 1.55; text-wrap: pretty; }
  body[data-page="home"] .fit-tag { margin-top: auto; padding-top: 8px; font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg3); border-top: 1px solid var(--border-1); padding-top: 14px; }

  /* Machine flow */
  body[data-page="home"] .flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  body[data-page="home"] .step { position: relative; padding: 28px; border-radius: var(--radius-xl); border: 2px solid var(--espresso-900); min-height: 290px; display: flex; flex-direction: column; gap: 14px; transition: transform var(--dur-base) var(--ease-out); }
  body[data-page="home"] .step:hover { transform: translateY(-3px); }
  body[data-page="home"] .step:nth-child(1) { background: var(--perkd-yellow); }
  body[data-page="home"] .step:nth-child(2) { background: var(--bg-page); }
  body[data-page="home"] .step:nth-child(3) { background: var(--perkd-blue); color: var(--fg-inverse); }
  body[data-page="home"] .step:nth-child(4) { background: var(--espresso-900); color: var(--fg-inverse); }
  body[data-page="home"] .step-num { font-size: 44px; line-height: 1; letter-spacing: -0.04em; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
  body[data-page="home"] .step-ix { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 2px solid currentColor; display: grid; place-items: center; }
  body[data-page="home"] .step h3,
  body[data-page="home"] .step h4 { font-size: var(--fs-24); line-height: 1.15; margin: auto 0 6px; letter-spacing: -0.018em; font-weight: var(--fw-regular); text-wrap: balance; }
  body[data-page="home"] .step p { margin: 0; font-size: var(--fs-16); line-height: 1.5; opacity: .88; text-wrap: pretty; }

  /* Platform features */
  body[data-page="home"] .feat {
    display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px;
    padding: 48px; border-radius: var(--radius-xl);
    background: var(--bg-page); border: 2px solid var(--espresso-900);
    box-shadow: var(--shadow-editorial);
    margin-bottom: 28px; align-items: center;
  }
  body[data-page="home"] .feat:nth-child(even) { grid-template-columns: 1.05fr 1fr; }
  body[data-page="home"] .feat:nth-child(even) .feat-txt { order: 2; }
  body[data-page="home"] .feat-tag { display: inline-block; padding: 6px 12px; border-radius: var(--radius-pill); font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--espresso-900); background: var(--perkd-yellow); margin-bottom: 18px; }
  body[data-page="home"] .feat-txt h3 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 18px; font-weight: var(--fw-regular); color: var(--espresso-900); text-wrap: balance; }
  body[data-page="home"] .feat-txt p { color: var(--fg2); font-size: var(--fs-18); line-height: 1.55; margin: 0 0 24px; max-width: 520px; text-wrap: pretty; }
  body[data-page="home"] .feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  body[data-page="home"] .feat-list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-16); color: var(--fg2); line-height: 1.5; }
  body[data-page="home"] .feat-list li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--perkd-yellow); box-shadow: inset 0 0 0 4px var(--espresso-900); }

  body[data-page="home"] .viz { border-radius: var(--radius-xl); aspect-ratio: 4/3; border: 2px solid var(--espresso-900); position: relative; overflow: hidden; }
  body[data-page="home"] .viz img { width: 100%; height: 100%; object-fit: cover; }

  /* Customer photos band */
  body[data-page="home"] .photoband { padding: 96px 0; background: var(--perkd-yellow); border-top: 2px solid var(--espresso-900); border-bottom: 2px solid var(--espresso-900); }
  body[data-page="home"] .pb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  body[data-page="home"] .pb-item { position: relative; overflow: hidden; border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); aspect-ratio: 3/4; background: var(--bg-page); }
  body[data-page="home"] .pb-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
  body[data-page="home"] .pb-item:hover img { transform: scale(1.04); }
  body[data-page="home"] .pb-caption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; gap: 10px; font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg-inverse); }
  body[data-page="home"] .pb-caption .pill { padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(27, 27, 32, .85); }

  /* Packages */
  body[data-page="home"] .packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
  body[data-page="home"] .pack { background: var(--bg-page); border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-editorial); display: flex; flex-direction: column; gap: 18px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
  body[data-page="home"] .pack:hover { transform: translate(-3px,-3px); box-shadow: 15px 15px 0 0 var(--espresso-900); }
  body[data-page="home"] .pack.feat-pack { background: var(--perkd-yellow); }
  body[data-page="home"] .pack-tag { font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg3); }
  body[data-page="home"] .pack.feat-pack .pack-tag { color: var(--perkd-yellow-ink); }
  body[data-page="home"] .pack h3 { font-size: var(--fs-36); line-height: 1.05; margin: 0; letter-spacing: -0.025em; color: var(--espresso-900); font-weight: var(--fw-regular); }
  body[data-page="home"] .pack-range { display: inline-block; font-size: var(--fs-14); padding: 4px 12px; border-radius: var(--radius-pill); background: var(--espresso-900); color: var(--fg-inverse); align-self: flex-start; }
  body[data-page="home"] .pack ul { list-style: none; padding: 16px 0 0; margin: 0 0 0; display: grid; gap: 12px; border-top: 1px solid var(--border-1); }
  body[data-page="home"] .pack.feat-pack ul { border-top-color: rgba(28,21,16,.18); }
  body[data-page="home"] .pack li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-16); color: var(--fg2); line-height: 1.5; }
  body[data-page="home"] .pack li::before { content: "→"; color: var(--espresso-900); flex: none; font-variant-numeric: tabular-nums; }
  body[data-page="home"] .pack.feat-pack li { color: var(--perkd-yellow-ink); }

  /* Proof */
  body[data-page="home"] .proof { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; padding: 112px 0; }
  body[data-page="home"] .quote { font-family: var(--font-display); font-weight: var(--fw-regular); font-size: clamp(32px, 3.4vw, 52px); line-height: 1.1; letter-spacing: -0.02em; color: var(--espresso-900); text-wrap: balance; margin: 20px 0 0; }
  body[data-page="home"] .quote .hl { background: var(--perkd-yellow); padding: 0 2px; }
  body[data-page="home"] .attrib { margin-top: 28px; font-size: var(--fs-14); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg3); }
  body[data-page="home"] .attrib b { color: var(--espresso-900); font-weight: var(--fw-regular); letter-spacing: 0; text-transform: none; font-size: var(--fs-16); }
  body[data-page="home"] .proof-stats { display: grid; gap: 14px; }
  body[data-page="home"] .pstat { padding: 24px; border-radius: var(--radius-xl); border: 2px solid var(--espresso-900); background: var(--bg-page); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
  body[data-page="home"] .pstat { transition: transform var(--dur-base) var(--ease-out); }
  body[data-page="home"] .pstat:hover { transform: translateX(-3px); }
  body[data-page="home"] .pstat .k { font-family: var(--font-display); font-size: 48px; letter-spacing: -0.035em; color: var(--espresso-900); line-height: 1; font-variant-numeric: tabular-nums slashed-zero; }
  body[data-page="home"] .pstat .k .u { color: var(--perkd-yellow); }
  body[data-page="home"] .pstat:nth-child(2) .k .u { color: var(--perkd-blue); }
  body[data-page="home"] .pstat:nth-child(3) .k .u { color: var(--perkd-green); }
  body[data-page="home"] .pstat .v { font-size: var(--fs-14); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg3); text-align: right; max-width: 180px; }

  /* Big CTA */
  body[data-page="home"] .bigcta { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 88px 64px; margin: 48px 0 112px; border: 2px solid var(--espresso-900); background: var(--perkd-yellow); box-shadow: var(--shadow-editorial); }
  body[data-page="home"] .bigcta::after { content: ""; position: absolute; inset: auto 0 0 auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.34), transparent 65%); pointer-events: none; }
  body[data-page="home"] .bigcta h2 { font-size: clamp(42px, 5.2vw, 84px); line-height: .98; letter-spacing: -0.035em; margin: 16px 0 22px; font-weight: var(--fw-regular); color: var(--espresso-900); max-width: 900px; text-wrap: balance; }
  body[data-page="home"] .bigcta p { color: var(--perkd-yellow-ink); font-size: var(--fs-18); max-width: 560px; margin: 0 0 36px; opacity: .82; line-height: 1.55; text-wrap: pretty; }
  body[data-page="home"] .bigcta .ctas { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

  @media (max-width: 980px) {
    body[data-page="home"] .hero-grid, body[data-page="home"] .proof, body[data-page="home"] .feat { grid-template-columns: 1fr !important; }
    body[data-page="home"] .fit-grid, body[data-page="home"] .flow, body[data-page="home"] .packs, body[data-page="home"] .gallery, body[data-page="home"] .pb-grid { grid-template-columns: 1fr; }
    body[data-page="home"] .stat-strip { grid-template-columns: repeat(2, 1fr); }
    body[data-page="home"] .feat:nth-child(even) .feat-txt { order: 0; }
    body[data-page="home"] .card-stack { height: 560px; }
    body[data-page="home"] .gallery .g-tile.tall { height: 320px; grid-row: auto; }
    body[data-page="home"] .gallery .g-tile.short { height: 200px; }
  }

/* about */
  body[data-page="about"] .hero-a { padding: 80px 0 56px; }
  body[data-page="about"] .hero-a h1 { font-size: clamp(52px, 7vw, 108px); line-height: .96; letter-spacing: -0.035em; margin: 20px 0 0; font-weight: var(--fw-regular); color: var(--espresso-900); text-wrap: balance; max-width: 1000px; }
  body[data-page="about"] .hero-a h1 .hl { background: var(--perkd-yellow); padding: 0 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  body[data-page="about"] .hero-a p { color: var(--fg2); font-size: var(--fs-20); line-height: 1.55; max-width: 640px; margin-top: 28px; text-wrap: pretty; }
  body[data-page="about"] .hero-a .ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

  body[data-page="about"] .hero-photos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 64px; }
  body[data-page="about"] .hero-photos .tile { aspect-ratio: 4/5; border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); overflow: hidden; transition: transform var(--dur-base) var(--ease-out); }
  body[data-page="about"] .hero-photos .tile:hover { transform: translateY(-3px); }
  body[data-page="about"] .hero-photos .tile img { width: 100%; height: 100%; object-fit: cover; }
  body[data-page="about"] .hero-photos .tile.mid { aspect-ratio: 4/3; align-self: end; }

  body[data-page="about"] .prose { max-width: 760px; font-size: var(--fs-18); line-height: 1.7; color: var(--fg2); }
  body[data-page="about"] .prose p { margin: 0; }
  body[data-page="about"] .prose p + p { margin-top: 22px; }

  body[data-page="about"] .markets-list { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 48px; }
  body[data-page="about"] .market { background: var(--bg-page); border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); padding: 24px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; transition: transform var(--dur-base) var(--ease-out); }
  body[data-page="about"] .market:hover { transform: translateY(-3px); }
  body[data-page="about"] .market:nth-child(1){ background: var(--perkd-yellow); }
  body[data-page="about"] .market:nth-child(3){ background: var(--espresso-900); color: var(--fg-inverse); }
  body[data-page="about"] .market:nth-child(5){ background: var(--perkd-blue); color: var(--fg-inverse); }
  body[data-page="about"] .market .k { font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; opacity: .72; line-height: 1; }
  body[data-page="about"] .market:nth-child(3) .k,
  body[data-page="about"] .market:nth-child(5) .k { opacity: 1; }
  body[data-page="about"] .market .n { font-family: var(--font-display); font-size: var(--fs-28); letter-spacing: -0.02em; font-weight: var(--fw-regular); line-height: 1.1; }

  body[data-page="about"] .principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
  body[data-page="about"] .p-card { background: var(--bg-page); border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); padding: 36px 32px; box-shadow: var(--shadow-editorial); min-height: 280px; display: flex; flex-direction: column; gap: 14px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
  body[data-page="about"] .p-card:hover { transform: translate(-3px,-3px); box-shadow: 15px 15px 0 0 var(--espresso-900); }
  body[data-page="about"] .p-card .n { font-family: var(--font-display); font-size: 48px; letter-spacing: -0.04em; line-height: 1; color: var(--espresso-900); -webkit-text-fill-color: var(--perkd-yellow); -webkit-text-stroke: 1.5px var(--espresso-900); font-variant-numeric: tabular-nums; }
  body[data-page="about"] .p-card h3 { margin: auto 0 4px; font-size: var(--fs-24); font-weight: var(--fw-regular); letter-spacing: -0.02em; color: var(--espresso-900); line-height: 1.15; text-wrap: balance; }
  body[data-page="about"] .p-card p { margin: 0; font-size: var(--fs-16); line-height: 1.55; color: var(--fg2); text-wrap: pretty; }

  body[data-page="about"] .bigcta { border: 2px solid var(--espresso-900); background: var(--perkd-yellow); border-radius: var(--radius-xl); padding: 80px 56px; box-shadow: var(--shadow-editorial); margin: 48px 0 112px; }
  body[data-page="about"] .bigcta h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: .98; letter-spacing: -0.03em; font-weight: var(--fw-regular); color: var(--espresso-900); margin: 16px 0 20px; max-width: 820px; text-wrap: balance; }
  body[data-page="about"] .bigcta p { color: var(--perkd-yellow-ink); font-size: var(--fs-18); opacity: .82; max-width: 540px; margin: 0 0 32px; line-height: 1.55; text-wrap: pretty; }

  @media (max-width: 980px) {
    body[data-page="about"] .hero-photos, body[data-page="about"] .markets-list, body[data-page="about"] .principles, body[data-page="about"] .sec-head { grid-template-columns: 1fr !important; }
  }

/* book-demo */
  body[data-page="hello"] .page { padding: 80px 0 120px; }
  body[data-page="hello"] .top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  body[data-page="hello"] .top-grid h1 {
    font-size: clamp(44px, 5.2vw, 80px); line-height: .98;
    letter-spacing: -0.03em; margin: 20px 0 0;
    font-weight: var(--fw-regular); color: var(--espresso-900);
    text-wrap: balance;
  }
  body[data-page="hello"] .top-grid h1 .hl {
    background: var(--perkd-yellow); padding: 0 6px;
    box-decoration-break: clone; -webkit-box-decoration-break: clone;
  }
  body[data-page="hello"] .top-grid p.lead {
    color: var(--fg2); font-size: var(--fs-18); line-height: 1.55;
    max-width: 520px; margin-top: 24px; text-wrap: pretty;
  }

  /* ---------- form card ---------- */
  body[data-page="hello"] .form-card {
    background: var(--bg-page); border: 2px solid var(--espresso-900);
    border-radius: var(--radius-xl); padding: 40px;
    box-shadow: var(--shadow-editorial);
    position: sticky; top: 92px;
  }
  body[data-page="hello"] .form-card h2 {
    font-size: var(--fs-28); font-weight: var(--fw-regular);
    letter-spacing: -0.02em; margin: 0 0 6px; color: var(--espresso-900);
    line-height: 1.15;
  }
  body[data-page="hello"] .form-card .desc {
    font-size: var(--fs-16); color: var(--fg3);
    margin: 0 0 28px; line-height: 1.5;
  }

  body[data-page="hello"] .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  body[data-page="hello"] .field { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  body[data-page="hello"] .field.full { grid-column: 1 / -1; }
  body[data-page="hello"] .field label {
    display: block; font-size: var(--fs-12);
    letter-spacing: var(--tracking-caps); text-transform: uppercase;
    color: var(--fg3); margin-bottom: 0;
    font-weight: var(--fw-regular);
  }
  body[data-page="hello"] .field > input:not([type="radio"]):not([type="checkbox"]),
  body[data-page="hello"] .field > .iti,
  body[data-page="hello"] .field > select,
  body[data-page="hello"] .field > textarea {
    width: 100%;
  }
  body[data-page="hello"] .field > input:not([type="radio"]):not([type="checkbox"]),
  body[data-page="hello"] .field > .iti input[type="tel"],
  body[data-page="hello"] .field > select,
  body[data-page="hello"] .field > textarea {
    font: inherit; font-size: var(--fs-16);
    padding: 13px 14px; border: 1.5px solid var(--border-2);
    border-radius: var(--radius-md); background: var(--bg-page); color: var(--fg1);
    transition: border-color var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out),
                background var(--dur-base) var(--ease-out);
    min-height: var(--touch-min); box-sizing: border-box;
    line-height: 1.4;
  }
  body[data-page="hello"] .field > .iti input[type="tel"] {
    width: 100%;
  }
  body[data-page="hello"] .field > input::placeholder,
  body[data-page="hello"] .field > textarea::placeholder { color: var(--fg3); }
  body[data-page="hello"] .field > textarea { min-height: 120px; resize: vertical; font-family: inherit; }
  body[data-page="hello"] .field > select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%231B1B20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    cursor: pointer;
  }
  body[data-page="hello"] .field > input:hover:not([type="radio"]):not([type="checkbox"]),
  body[data-page="hello"] .field > select:hover,
  body[data-page="hello"] .field > textarea:hover { border-color: var(--espresso-500); }
  body[data-page="hello"] .field > input:focus:not([type="radio"]):not([type="checkbox"]),
  body[data-page="hello"] .field > select:focus,
  body[data-page="hello"] .field > textarea:focus {
    outline: 0;
    border-color: var(--espresso-900);
    box-shadow: 0 0 0 4px rgba(255,184,0,.28);
  }

  body[data-page="hello"] .submit {
    margin-top: 32px; padding-top: 24px;
    border-top: 1px solid var(--border-1);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 14px;
  }
  body[data-page="hello"] .submit .sla {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: var(--fs-12); letter-spacing: var(--tracking-caps);
    text-transform: uppercase; color: var(--fg3); line-height: 1;
  }
  body[data-page="hello"] .submit .sla::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--perkd-green);
    box-shadow: 0 0 0 4px rgba(124,179,66,.18);
  }
  body[data-page="hello"] .submit .sla a {
    display: inline-flex;
    align-items: center;
    min-height: var(--touch-min);
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* ---------- aside expectation cards ---------- */
  body[data-page="hello"] .aside { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
  body[data-page="hello"] .aside-card {
    background: var(--espresso-900); color: var(--fg-inverse);
    border: 2px solid var(--espresso-900);
    border-radius: var(--radius-xl);
    padding: 24px 26px;
    display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  }
  body[data-page="hello"] .aside-card .ix {
    width: 44px; height: 44px; border-radius: var(--radius-md);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    display: grid; place-items: center;
    flex: none;
  }
  body[data-page="hello"] .aside-card.y { background: var(--perkd-yellow); color: var(--perkd-yellow-ink); border-color: var(--espresso-900); }
  body[data-page="hello"] .aside-card.y .ix { background: rgba(28,21,16,.08); border-color: rgba(28,21,16,.16); }
  body[data-page="hello"] .aside-card.b { background: var(--perkd-blue); color: var(--fg-inverse); }
  body[data-page="hello"] .aside-card.b .ix { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); }
  body[data-page="hello"] .aside-card .kicker {
    font-size: var(--fs-12); letter-spacing: var(--tracking-caps);
    text-transform: uppercase; opacity: .72; line-height: 1;
    display: inline-flex; align-items: center; gap: 8px;
  }
  body[data-page="hello"] .aside-card .kicker .num {
    display: inline-grid; place-items: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(255,255,255,.14); font-size: 10px;
    letter-spacing: 0;
  }
  body[data-page="hello"] .aside-card.y .kicker .num { background: rgba(28,21,16,.1); }
  body[data-page="hello"] .aside-card h2,
  body[data-page="hello"] .aside-card h3 {
    font-size: var(--fs-20); font-weight: var(--fw-regular);
    margin: 10px 0 6px; letter-spacing: -0.015em; line-height: 1.2;
  }
  body[data-page="hello"] .aside-card p { margin: 0; font-size: var(--fs-14); line-height: 1.55; opacity: .9; }

  /* ---------- proof strip ---------- */
  body[data-page="hello"] .section { padding: 120px 0 0; }
  body[data-page="hello"] .proof {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
    margin-top: 40px;
  }
  body[data-page="hello"] .pp {
    background: var(--bg-page); border: 2px solid var(--espresso-900);
    border-radius: var(--radius-xl); padding: 28px;
    min-height: 180px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  }
  body[data-page="hello"] .pp:nth-child(1){ background: var(--perkd-yellow); }
  body[data-page="hello"] .pp:nth-child(4){ background: var(--espresso-900); color: var(--fg-inverse); }
  body[data-page="hello"] .pp .k {
    font-family: var(--font-display);
    font-size: 44px; letter-spacing: -0.03em; line-height: .95;
    color: var(--espresso-900);
  }
  body[data-page="hello"] .pp:nth-child(4) .k { color: var(--fg-inverse); }
  body[data-page="hello"] .pp .l {
    font-size: var(--fs-12); letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
    opacity: .72;
    line-height: 1.35;
  }

  body[data-page="hello"] .contact-line {
    margin-top: 56px;
    padding: 24px 28px;
    border: 1.5px solid var(--border-2);
    border-radius: var(--radius-xl);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    font-size: var(--fs-16); color: var(--fg3);
  }
  body[data-page="hello"] .contact-line a {
    color: var(--espresso-900);
    border-bottom: 2px solid var(--perkd-yellow);
    padding-bottom: 1px;
    transition: border-color var(--dur-base) var(--ease-out);
  }
  body[data-page="hello"] .contact-line a:hover { border-bottom-color: var(--espresso-900); }

  @media (max-width: 980px) {
    body[data-page="hello"] .top-grid, body[data-page="hello"] .fields { grid-template-columns: 1fr !important; }
    body[data-page="hello"] .form-card { position: static; padding: 28px; }
    body[data-page="hello"] .proof { grid-template-columns: 1fr 1fr; }
    body[data-page="hello"] .page { padding: 56px 0 80px; }
    body[data-page="hello"] .section { padding: 80px 0 0; }
  }
  @media (max-width: 560px) {
    body[data-page="hello"] .proof { grid-template-columns: 1fr; }
  }

/* built-in-loyalty */
  body[data-page="built-in-loyalty"] .hero-c { padding: 80px 0 56px; }
  body[data-page="built-in-loyalty"] .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: end; }
  body[data-page="built-in-loyalty"] .hero-grid h1 { font-size: clamp(48px, 6.4vw, 96px); line-height: .96; letter-spacing: -0.035em; margin: 20px 0 0; font-weight: var(--fw-regular); color: var(--espresso-900); text-wrap: balance; }
  body[data-page="built-in-loyalty"] .hero-grid .hl { background: var(--perkd-yellow); padding: 0 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  body[data-page="built-in-loyalty"] .hero-grid p { color: var(--fg2); font-size: var(--fs-18); line-height: 1.55; max-width: 520px; margin-top: 28px; text-wrap: pretty; }
  body[data-page="built-in-loyalty"] .hero-grid .ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
  body[data-page="built-in-loyalty"] .hero-image { border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-editorial); background: var(--espresso-900); }
  body[data-page="built-in-loyalty"] .hero-image img { width: 100%; height: 100%; object-fit: cover; }

  body[data-page="built-in-loyalty"] .three { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
  body[data-page="built-in-loyalty"] .threecard { background: var(--bg-page); border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); padding: 32px; min-height: 280px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-editorial); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
  body[data-page="built-in-loyalty"] .threecard:hover { transform: translate(-3px,-3px); box-shadow: 15px 15px 0 0 var(--espresso-900); }
  body[data-page="built-in-loyalty"] .threecard:nth-child(1) { background: var(--perkd-yellow); }
  body[data-page="built-in-loyalty"] .threecard:nth-child(3) { background: var(--espresso-900); color: var(--fg-inverse); }
  body[data-page="built-in-loyalty"] .threecard h3 { font-size: var(--fs-24); margin: auto 0 0; font-weight: var(--fw-regular); letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
  body[data-page="built-in-loyalty"] .threecard p { margin: 0; font-size: var(--fs-16); line-height: 1.55; color: var(--fg2); text-wrap: pretty; }
  body[data-page="built-in-loyalty"] .threecard:nth-child(1) p { color: var(--perkd-yellow-ink); }
  body[data-page="built-in-loyalty"] .threecard:nth-child(3) p { color: rgba(255,255,255,.82); }
  body[data-page="built-in-loyalty"] .threecard .ix { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--bg-page); border: 2px solid var(--espresso-900); display: grid; place-items: center; flex: none; }
  body[data-page="built-in-loyalty"] .threecard:nth-child(1) .ix { background: var(--espresso-900); color: var(--perkd-yellow); }
  body[data-page="built-in-loyalty"] .threecard:nth-child(3) .ix { background: var(--perkd-yellow); color: var(--espresso-900); border-color: var(--perkd-yellow); }

  body[data-page="built-in-loyalty"] .feat { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; padding: 56px; border-radius: var(--radius-xl); background: var(--bg-page); border: 2px solid var(--espresso-900); box-shadow: var(--shadow-editorial); margin-bottom: 28px; align-items: center; }
  body[data-page="built-in-loyalty"] .feat:nth-child(even) { grid-template-columns: 1.05fr 1fr; }
  body[data-page="built-in-loyalty"] .feat:nth-child(even) .feat-txt { order: 2; }
  body[data-page="built-in-loyalty"] .feat-tag { display: inline-block; padding: 7px 12px; border-radius: var(--radius-pill); font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--espresso-900); background: var(--perkd-yellow); margin-bottom: 20px; line-height: 1; }
  body[data-page="built-in-loyalty"] .feat h3 { font-size: clamp(28px, 2.8vw, 40px); margin: 0 0 18px; font-weight: var(--fw-regular); letter-spacing: -0.025em; color: var(--espresso-900); line-height: 1.1; text-wrap: balance; }
  body[data-page="built-in-loyalty"] .feat p { color: var(--fg2); font-size: var(--fs-18); line-height: 1.55; margin: 0 0 24px; max-width: 520px; text-wrap: pretty; }
  body[data-page="built-in-loyalty"] .feat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  body[data-page="built-in-loyalty"] .feat ul li { display: flex; gap: 12px; font-size: var(--fs-16); color: var(--fg2); line-height: 1.5; }
  body[data-page="built-in-loyalty"] .feat ul li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--perkd-yellow); box-shadow: inset 0 0 0 4px var(--espresso-900); }
  body[data-page="built-in-loyalty"] .viz { border-radius: var(--radius-xl); aspect-ratio: 4/3; border: 2px solid var(--espresso-900); overflow: hidden; }
  body[data-page="built-in-loyalty"] .viz img { width: 100%; height: 100%; object-fit: cover; }

  body[data-page="built-in-loyalty"] .pb-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
  body[data-page="built-in-loyalty"] .pb-item { position: relative; overflow: hidden; border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); aspect-ratio: 3/4; transition: transform var(--dur-base) var(--ease-out); }
  body[data-page="built-in-loyalty"] .pb-item:hover { transform: translateY(-3px); }
  body[data-page="built-in-loyalty"] .pb-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
  body[data-page="built-in-loyalty"] .pb-item:hover img { transform: scale(1.04); }

  body[data-page="built-in-loyalty"] .bigcta { border: 2px solid var(--espresso-900); background: var(--perkd-yellow); border-radius: var(--radius-xl); padding: 80px 56px; box-shadow: var(--shadow-editorial); margin: 48px 0 112px; }
  body[data-page="built-in-loyalty"] .bigcta h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: .98; letter-spacing: -0.03em; font-weight: var(--fw-regular); color: var(--espresso-900); margin: 16px 0 20px; max-width: 820px; text-wrap: balance; }
  body[data-page="built-in-loyalty"] .bigcta p { color: var(--perkd-yellow-ink); font-size: var(--fs-18); opacity: .82; max-width: 540px; margin: 0 0 32px; line-height: 1.55; text-wrap: pretty; }
  body[data-page="built-in-loyalty"] .bigcta .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

  @media (max-width: 980px) {
    body[data-page="built-in-loyalty"] .hero-grid, body[data-page="built-in-loyalty"] .feat, body[data-page="built-in-loyalty"] .sec-head { grid-template-columns: 1fr !important; }
    body[data-page="built-in-loyalty"] .three, body[data-page="built-in-loyalty"] .pb-grid { grid-template-columns: 1fr; }
    body[data-page="built-in-loyalty"] .feat:nth-child(even) .feat-txt { order: 0; }
  }

/* ----------------------------------------------------------------
   Product/info page template. Six pages share an almost-identical
   layout (hero + rollout strip + flow + feat + scope + bigcta).
   Shared rules below; per-page deltas afterwards.
   ---------------------------------------------------------------- */
  body[data-layout="product-stack"] .hero-v { padding: 80px 0 56px; }
  body[data-layout="product-stack"] .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
  body[data-layout="product-stack"] .hero-grid h1 { font-size: clamp(48px, 6.4vw, 96px); line-height: .96; letter-spacing: -0.035em; margin: 20px 0 0; font-weight: var(--fw-regular); color: var(--espresso-900); text-wrap: balance; }
  body[data-layout="product-stack"] .hero-grid p { color: var(--fg2); font-size: var(--fs-18); line-height: 1.55; max-width: 560px; margin-top: 28px; text-wrap: pretty; }
  body[data-layout="product-stack"] .hero-grid .ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
  body[data-layout="product-stack"] .hero-image { border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-editorial); background: var(--perkd-yellow); }
  body[data-layout="product-stack"] .hero-image img { width: 100%; height: 100%; object-fit: cover; }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .hero-grid .hl { background: var(--perkd-yellow); padding: 0 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

  body[data-layout="product-stack"] .rollout-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 80px; }
  body[data-layout="product-stack"] .rollout-card { background: var(--bg-page); border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); padding: 28px; display: flex; gap: 20px; align-items: flex-start; transition: transform var(--dur-base) var(--ease-out); }
  body[data-layout="product-stack"] .rollout-card:hover { transform: translateY(-3px); }
  body[data-layout="product-stack"] .rollout-card .kicker { font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg3); line-height: 1; }
  body[data-layout="product-stack"] .rollout-card h4,
  body[data-layout="product-stack"] .rollout-card .rollout-title { display: block; font-size: var(--fs-20); font-weight: var(--fw-regular); margin: 10px 0 6px; color: var(--espresso-900); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
  body[data-layout="product-stack"] .rollout-card p { margin: 0; font-size: var(--fs-16); color: var(--fg2); line-height: 1.5; text-wrap: pretty; }
  body[data-layout="product-stack"] .rollout-ix { flex: none; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--perkd-yellow); border: 2px solid var(--espresso-900); display: grid; place-items: center; }

  /* Flow + Step (5 pages — australia has no flow section) */
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step { position: relative; padding: 28px; border-radius: var(--radius-xl); border: 2px solid var(--espresso-900); min-height: 270px; display: flex; flex-direction: column; gap: 14px; transition: transform var(--dur-base) var(--ease-out); }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step:hover { transform: translateY(-3px); }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step:nth-child(1) { background: var(--perkd-yellow); }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step:nth-child(2) { background: var(--bg-page); }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step:nth-child(3) { background: var(--perkd-blue); color: var(--fg-inverse); }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step:nth-child(4) { background: var(--espresso-900); color: var(--fg-inverse); }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step-num { font-family: var(--font-display); font-size: 44px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step h3,
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step h4 { font-size: var(--fs-20); font-weight: var(--fw-regular); margin: auto 0 4px; letter-spacing: -0.018em; line-height: 1.2; text-wrap: balance; }
  body[data-layout="product-stack"]:not(:where([data-page="ai-vending-machine-australia"])) .step p { margin: 0; font-size: var(--fs-16); line-height: 1.5; opacity: .88; text-wrap: pretty; }

  /* Packs */
  body[data-layout="product-stack"] .packs { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
  body[data-layout="product-stack"] .pack { background: var(--bg-page); border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-editorial); display: flex; flex-direction: column; gap: 16px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
  body[data-layout="product-stack"] .pack:hover { transform: translate(-3px,-3px); box-shadow: 15px 15px 0 0 var(--espresso-900); }
  body[data-layout="product-stack"] .pack.featp { background: var(--perkd-yellow); }
  body[data-layout="product-stack"] .pack .tag { font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg3); line-height: 1; }
  body[data-layout="product-stack"] .pack h3 { font-size: var(--fs-28); margin: 0; letter-spacing: -0.025em; color: var(--espresso-900); font-weight: var(--fw-regular); line-height: 1.1; }
  body[data-layout="product-stack"] .pack .range { align-self: flex-start; padding: 5px 12px; border-radius: var(--radius-pill); font-size: var(--fs-14); background: var(--espresso-900); color: var(--fg-inverse); line-height: 1.2; font-variant-numeric: tabular-nums; }
  body[data-layout="product-stack"] .pack .card-lede { margin: 0; color: var(--fg2); font-size: var(--fs-16); line-height: 1.55; text-wrap: pretty; }
  body[data-layout="product-stack"] .pack.featp .card-lede { color: var(--perkd-yellow-ink); }
  body[data-layout="product-stack"] .pack ul { list-style: none; padding: 16px 0 0; margin: 0; display: grid; gap: 12px; border-top: 1px solid var(--border-1); }
  body[data-layout="product-stack"] .pack.featp ul { border-top-color: rgba(28,21,16,.18); }
  body[data-layout="product-stack"] .pack li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-16); color: var(--fg2); line-height: 1.5; }
  body[data-layout="product-stack"] .pack li::before { content:"→"; color: var(--espresso-900); flex: none; }

  /* Feat blocks */
  body[data-layout="product-stack"] .feat { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; padding: 56px; border-radius: var(--radius-xl); background: var(--bg-page); border: 2px solid var(--espresso-900); box-shadow: var(--shadow-editorial); margin-bottom: 28px; align-items: center; }
  body[data-layout="product-stack"] .feat:nth-child(even) { grid-template-columns: 1.05fr 1fr; }
  body[data-layout="product-stack"] .feat:nth-child(even) .feat-txt { order: 2; }
  body[data-layout="product-stack"] .feat-tag { display: inline-block; padding: 7px 12px; border-radius: var(--radius-pill); font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--espresso-900); background: var(--perkd-yellow); margin-bottom: 20px; line-height: 1; }
  body[data-layout="product-stack"] .feat h3 { font-size: clamp(28px, 2.8vw, 40px); margin: 0 0 18px; font-weight: var(--fw-regular); letter-spacing: -0.025em; color: var(--espresso-900); line-height: 1.1; text-wrap: balance; }
  body[data-layout="product-stack"] .feat p { color: var(--fg2); font-size: var(--fs-18); line-height: 1.55; margin: 0 0 24px; max-width: 520px; text-wrap: pretty; }
  body[data-layout="product-stack"] .feat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  body[data-layout="product-stack"] .feat ul li { display: flex; gap: 12px; font-size: var(--fs-16); color: var(--fg2); line-height: 1.5; }
  body[data-layout="product-stack"] .feat ul li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 4px; border-radius: 50%; background: var(--perkd-yellow); box-shadow: inset 0 0 0 4px var(--espresso-900); }
  body[data-layout="product-stack"] .viz { border-radius: var(--radius-xl); aspect-ratio: 4/3; border: 2px solid var(--espresso-900); overflow: hidden; background: color-mix(in srgb, var(--perkd-yellow) 6%, #fff); }
  body[data-layout="product-stack"] .viz img { width: 100%; height: 100%; object-fit: cover; }

  /* Split / Scope */
  body[data-layout="product-stack"] .split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  body[data-layout="product-stack"] .scope { background: var(--bg-page); border: 2px solid var(--espresso-900); border-radius: var(--radius-xl); padding: 36px; }
  body[data-layout="product-stack"] .scope.alt { background: var(--espresso-900); color: var(--fg-inverse); }
  body[data-layout="product-stack"] .scope h3 { font-size: var(--fs-28); margin: 10px 0 0; font-weight: var(--fw-regular); letter-spacing: -0.02em; line-height: 1.15; }
  body[data-layout="product-stack"] .scope .kicker { font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--fg3); line-height: 1; }
  body[data-layout="product-stack"] .scope.alt .kicker { color: rgba(255,255,255,.6); }
  body[data-layout="product-stack"] .scope ul { list-style: none; padding: 24px 0 0; margin: 24px 0 0; border-top: 1px solid var(--border-1); display: grid; gap: 14px; }
  body[data-layout="product-stack"] .scope.alt ul { border-top-color: rgba(255,255,255,.15); }
  body[data-layout="product-stack"] .scope li { display: flex; gap: 14px; font-size: var(--fs-16); line-height: 1.5; color: var(--fg2); }
  body[data-layout="product-stack"] .scope.alt li { color: rgba(255,255,255,.85); }
  body[data-layout="product-stack"] .scope li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--perkd-yellow); flex: none; }

  /* Big CTA */
  body[data-layout="product-stack"] .bigcta { border: 2px solid var(--espresso-900); background: var(--perkd-yellow); border-radius: var(--radius-xl); padding: 80px 56px; box-shadow: var(--shadow-editorial); margin: 48px 0 112px; }
  body[data-layout="product-stack"] .bigcta h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: .98; letter-spacing: -0.03em; font-weight: var(--fw-regular); color: var(--espresso-900); margin: 16px 0 20px; max-width: 820px; text-wrap: balance; }
  body[data-layout="product-stack"] .bigcta p { color: var(--perkd-yellow-ink); font-size: var(--fs-18); opacity: .82; max-width: 620px; margin: 0 0 32px; line-height: 1.55; text-wrap: pretty; }
  body[data-layout="product-stack"] .bigcta .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

  /* Per-page deltas (only properties that differ from the shared template) */
  body[data-page="vending-machine"] .hero-grid p { max-width: 520px; }
  body[data-page="vending-machine"] .hero-image { background: none; }
  body[data-page="vending-machine"] .viz { background: none; }
  body[data-page="vending-machine"] .rollout-row { grid-template-columns: repeat(2,1fr); }
  body[data-page="vending-machine"] .bigcta p { max-width: 540px; }

  body[data-page="ai-vending-machine-australia"] .feat h3 { font-size: var(--fs-36); letter-spacing: 0; }
  body[data-page="ai-vending-machine-australia"] .scope h3 { letter-spacing: 0; text-wrap: balance; }
  body[data-page="ai-vending-machine-australia"] .bigcta h2 { font-size: var(--fs-48); line-height: 1; letter-spacing: 0; }

  /* Shared mobile collapse for the 6 product pages */
  @media (max-width: 980px) {
    body[data-layout="product-stack"] :is(.hero-grid, .feat, .sec-head, .split) { grid-template-columns: 1fr !important; }
    body[data-layout="product-stack"] :is(.rollout-row, .flow, .packs) { grid-template-columns: 1fr; }
    body[data-layout="product-stack"] .feat:nth-child(even) .feat-txt { order: 0; }
    body[data-page="ai-vending-machine-australia"] :is(.feat, .scope, .bigcta) { padding: 28px; }
  }
/* End page-scoped marketing styles ---------------------------- */

} /* end @layer base */

@layer overrides {
/* Final shared refinements.
   Keep these at the end of site.css so marketing styles have one source of truth. */

:root {
  --tracking-tight: 0;
  --tracking-wide: 0;
  --tracking-caps: 0;
  --shadow-editorial: 7px 7px 0 0 var(--espresso-900);
}

* {
  letter-spacing: 0;
}

html,
body {
  background: color-mix(in srgb, var(--perkd-yellow) 3%, white);
  overflow-x: clip;
}

body {
  min-width: 0;
}

main {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  min-height: 44px;
  padding: 13px 18px;
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-md);
  background: var(--perkd-yellow);
  color: var(--espresso-900);
  box-shadow: 5px 5px 0 0 var(--espresso-900);
  transform: translateY(calc(-100% - 24px));
  transition: transform var(--dur-base) var(--ease-out);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

body[data-page] .pack.featp .tag {
  color: var(--perkd-yellow-ink);
}

:where(*, *::before, *::after) {
  box-sizing: border-box;
}

:where(.wrap, .wrap-narrow) {
  width: min(100% - 40px, var(--max-w));
  padding-inline: 0;
}

:where(.landing-feature) {
  padding-inline: clamp(28px, 4vw, 48px);
}

:where(.nav) {
  box-shadow: 0 1px 0 rgba(27, 27, 32, .08);
}

:where(.nav-inner) {
  height: 80px;
  gap: clamp(12px, 3vw, 30px);
}

:where(.logo-row) {
  min-width: var(--touch-min);
  min-height: 44px;
}

:where(.logo-text) {
  min-width: 0;
}

:where(.logo-text .sub) {
  letter-spacing: 0;
}

:where(h1 .hl, h2 .hl, .quote .hl) {
  background: linear-gradient(to top, var(--perkd-yellow) 0 .42em, transparent .42em);
  color: inherit;
  padding: 0 .04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

:where(.nav-links) {
  gap: clamp(20px, 2.4vw, 36px);
}

:where(.nav-toggle) {
  display: none;
}

:where(.btn, .nav-cta) {
  border-radius: var(--radius-md);
}

:where(.nav-cta) {
  min-height: 44px;
  padding: 12px 22px;
  gap: 10px;
  line-height: 1;
}

:where(.btn) {
  min-height: 46px;
  padding: 13px 21px;
  line-height: 1.08;
}

:where(.btn-primary) {
  box-shadow: 0 1px 0 rgba(27,27,32,.55), 0 10px 22px rgba(255,184,0,.20);
}

:where(.btn-primary:hover) {
  box-shadow: 0 1px 0 rgba(27,27,32,.55), 0 14px 30px rgba(255,184,0,.26);
}

:where(.btn-dark, .nav-cta) {
  box-shadow: 0 1px 0 rgba(27,27,32,.28), 0 10px 22px rgba(27,27,32,.12);
}

:where(.hero, .hero-a, .hero-v, .landing-hero) {
  padding-top: clamp(48px, 6vw, 76px);
}

:where(.hero-grid) {
  align-items: start;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(40px, 5vw, 72px);
}

:where(.hero-grid > *) {
  min-width: 0;
}

:where(.hero h1, .hero-a h1, .hero-v h1, .hero-grid h1, .landing-hero h1) {
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1;
  letter-spacing: 0;
  max-width: 680px;
}

:where(.hero h1 .hl) {
  background: none;
  color: var(--perkd-yellow-deep);
  -webkit-background-clip: initial;
  background-clip: initial;
}

:where(.hero-sub, .hero-grid p, .hero-a p, .landing-copy p, .sec-head p) {
  line-height: 1.58;
  max-width: 640px;
}

:where(.section) {
  padding-block: clamp(72px, 8vw, 112px);
}

:where(.sec-head) {
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

:where(.ed-card, .feat, .pack, .p-card, .threecard, .form-card, .faq-item, .scope, .rollout-card, .step, .market, .hero-image, .viz, .g-tile, .pb-item, .bigcta, .landing-hero-image, .landing-feature, .landing-feature-image, .landing-step, .landing-final-cta, .landing-outcome) {
  border-radius: var(--radius-lg);
}

:where(.ed-card, .feat, .pack, .p-card, .threecard, .form-card, .bigcta, .landing-hero-image, .landing-feature, .landing-final-cta) {
  box-shadow: var(--shadow-editorial);
}

:where(.feat, .pack, .p-card, .threecard, .form-card, .scope, .rollout-card, .step, .market, .bigcta, .landing-hero-image, .landing-feature, .landing-feature-image, .landing-step, .landing-final-cta, .landing-outcome) {
  border-width: 2px;
}

body[data-page^="landing-"] .landing-conversion .form-card {
  position: static;
  top: auto;
  z-index: 1;
  box-shadow: 0 18px 54px rgba(27, 27, 32, .16), 0 0 0 6px rgba(255, 184, 0, .12);
}

body[data-page^="landing-"] .landing-conversion .landing-hero-image {
  position: relative;
  z-index: 0;
}

:where(.ed-card:hover, .pack:hover, .p-card:hover) {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 0 var(--espresso-900);
}

:where(.step:hover, .rollout-card:hover, .market:hover, .hero-photos .tile:hover, .gallery .g-tile:hover) {
  transform: translateY(-2px);
}

:where(.card-stack) {
  width: min(100%, 580px);
  height: clamp(400px, 48vw, 520px);
  min-height: clamp(400px, 48vw, 520px);
  margin-inline: auto;
}

:where(.lcard) {
  box-shadow: var(--shadow-editorial);
}

:where(.stat-strip) {
  margin-top: clamp(40px, 5vw, 64px);
  border-block-width: 1px;
  padding-block: clamp(22px, 2.6vw, 30px);
  gap: 0;
}

:where(.stat-strip > div) {
  min-width: 0;
  border-right: 0;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 34px);
}

:where(.stat-strip > div + div) {
  border-left: 1px solid rgba(27, 27, 32, .14);
}

:where(.gallery, .pb-grid, .packs, .flow, .fit-grid, .rollout-row, .principles, .three-grid, .mini-proof, .landing-steps) {
  gap: clamp(16px, 2vw, 24px);
}

:where(.pack li, .feat-list li, .feat ul li, .scope li) {
  min-width: 0;
}

:where(.pack li a, .feat-list li a, .feat ul li a, .scope li a, .contact-line a) {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-min);
}

:where(.gallery) {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

:where(.gallery .g-tile.tall) {
  grid-row: span 2;
  height: clamp(540px, 42vw, 660px);
  min-height: 540px;
  aspect-ratio: auto;
}

:where(.gallery .g-tile.short) {
  height: clamp(258px, 20vw, 318px);
  min-height: 258px;
  aspect-ratio: auto;
}

:where(.hero-image img, .viz img) {
  object-fit: cover;
}

:where(.viz img[src*="dashboard"], .viz img[src*="ui"], .viz img[src*="overview"], .viz img[src*="reporting"], .viz img[src*="economics"], .viz img[src*="mock"], .pb-item img[src*="interface"]) {
  object-fit: contain;
  object-position: center;
}

:where(.photoband) {
  padding-block: clamp(64px, 7vw, 96px);
}

.canva-library {
  padding-top: clamp(72px, 8vw, 108px);
  padding-bottom: clamp(76px, 8vw, 116px);
}

.canva-collage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr) minmax(0, .88fr);
  grid-auto-flow: dense;
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

.canva-tile {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

.canva-tile img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: var(--bg-page);
  box-shadow: var(--shadow-editorial);
}

.canva-tile figcaption {
  justify-self: start;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--espresso-900);
  color: var(--fg-inverse);
  font-size: var(--fs-12);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.canva-wide {
  grid-column: span 2;
  width: min(100%, 617px);
}

.canva-portrait {
  width: min(100%, 400px);
}

.canva-square {
  width: min(100%, 447px);
}

:where(.bigcta) {
  margin-bottom: clamp(72px, 8vw, 112px);
  overflow: hidden;
}

:where(.bigcta) .btn-primary {
  background: var(--espresso-900);
  color: var(--fg-inverse) !important;
  box-shadow: 0 1px 0 rgba(27, 27, 32, .28), 0 10px 22px rgba(27, 27, 32, .12);
}

:where(.bigcta) .btn-primary:hover {
  background: var(--espresso-700);
  box-shadow: 0 1px 0 rgba(27, 27, 32, .28), 0 14px 30px rgba(27, 27, 32, .18);
}

:where(.bigcta h2, .sec-head h2, .feat h3, .feat-txt h3, .pack h3, .scope h3, .threecard h3, .step h3, .rollout-title) {
  text-wrap: balance;
}

:where(.bigcta p, .feat p, .feat-txt p, .scope li, .pack li, .threecard p, .step p, .rollout-card p) {
  text-wrap: pretty;
}

:where(input, select, textarea) {
  border-radius: var(--radius-sm);
}

:where(.faq-item summary, .field-disclosure > summary) {
  display: flex;
  align-items: center;
  min-height: var(--touch-min);
  line-height: 1.35;
  box-sizing: border-box;
}

:where(.faq-item summary) {
  padding-block: 4px;
}

:where(.mobile-sticky-cta) {
  max-width: calc(100vw - 28px);
  box-sizing: border-box;
  contain: paint;
}

@media (min-width: 981px) and (max-width: 1120px) {
  .landing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, .8fr);
  }

  .landing-conversion {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  :where(.hero-grid, .proof, .feat, .sec-head, .split, .landing-problem-grid, .landing-feature) {
    grid-template-columns: 1fr;
  }

  :where(.feat:nth-child(even) .feat-txt) {
    order: 0;
  }

  :where(.gallery) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .canva-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .canva-wide {
    grid-column: span 2;
  }

  :where(.gallery .g-tile.tall) {
    grid-column: span 2;
  }

  :where(.gallery .g-tile.tall, .gallery .g-tile.short) {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  :where(.wrap, .wrap-narrow) {
    width: min(100% - 36px, var(--max-w));
  }

  :where(.hero, .hero-a, .hero-v, .landing-hero) {
    padding-top: 40px;
  }

  :where(.hero h1, .hero-a h1, .hero-v h1, .hero-grid h1, .landing-hero h1) {
    font-size: clamp(38px, 11vw, 56px);
  }

  :where(.sec-head h2) {
    font-size: clamp(32px, 9vw, 46px);
    line-height: 1.04;
  }

  :where(.flow, .pb-grid, .gallery, .mini-proof) {
    grid-template-columns: 1fr 1fr;
  }

  :where(.landing-steps) {
    grid-template-columns: 1fr;
  }

  :where(.stat-strip > div) {
    padding: 24px 20px;
  }

  :where(.stat-strip > div + div) {
    border-left: 0;
  }

  :where(.stat-strip > div:nth-child(even)) {
    border-left: 1px solid rgba(27, 27, 32, .14);
  }

  :where(.ed-card, .feat, .pack, .p-card, .threecard, .form-card, .bigcta, .landing-hero-image, .landing-feature, .landing-final-cta) {
    box-shadow: 5px 5px 0 0 var(--espresso-900);
  }
}

@media (max-width: 767px) {
  :where(.hero-grid) {
    grid-template-columns: 1fr;
  }

  :where(.wrap, .wrap-narrow) {
    width: min(100% - 32px, var(--max-w));
  }

  :where(.nav-inner) {
    position: relative;
    height: 64px;
    min-height: 64px;
    flex-wrap: nowrap;
    align-content: center;
    padding-block: 0;
  }

  :where(.logo-mark) {
    width: 32px;
    height: 32px;
  }

  :where(.logo-text) {
    font-size: var(--fs-18);
  }

  :where(.logo-text .sub) {
    display: none;
  }

  :where(.nav-links) {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
    margin-left: 0;
    padding: 12px;
    border: 2px solid var(--espresso-900);
    border-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--perkd-yellow);
    box-shadow: 0 12px 0 rgba(27, 27, 32, .10);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
    z-index: 60;
  }

  :where(.nav.nav-open .nav-links) {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  :where(.nav-links a) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(27, 27, 32, .28);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .48);
    color: var(--perkd-yellow-ink);
    font-size: var(--fs-16);
    line-height: 1;
  }

  :where(.nav-links a:not(.nav-cta).active) {
    background: var(--espresso-900);
    color: var(--fg-inverse);
    border-color: var(--espresso-900);
  }

  :where(.nav-cta) {
    position: static;
    width: 100%;
    min-height: 48px;
    margin-left: 0;
    padding: 13px 14px;
    background: var(--espresso-900);
    color: var(--fg-inverse);
    font-size: var(--fs-16);
    white-space: normal;
  }

  :where(.nav-toggle) {
    display: inline-flex;
    width: 44px;
    height: 44px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 2px solid var(--espresso-900);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .5);
    box-shadow: 0 1px 0 rgba(27, 27, 32, .35);
    color: var(--espresso-900);
  }

  :where(.nav-toggle span) {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
  }

  :where(.nav.nav-open .nav-toggle span:nth-child(1)) {
    transform: translateY(7px) rotate(45deg);
  }

  :where(.nav.nav-open .nav-toggle span:nth-child(2)) {
    opacity: 0;
  }

  :where(.nav.nav-open .nav-toggle span:nth-child(3)) {
    transform: translateY(-7px) rotate(-45deg);
  }

  :where(.hero, .hero-a, .hero-v, .landing-hero) {
    padding-top: 28px;
  }

  :where(.hero h1, .hero-a h1, .hero-v h1, .hero-grid h1, .landing-hero h1) {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.02;
  }

  :where(.hero-sub, .hero-grid p, .hero-a p, .landing-copy p) {
    margin-top: 18px;
  }

  :where(.btn) {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    text-align: center;
  }

  :where(.hero-ctas, .hero-grid .ctas, .bigcta .ctas, .landing-copy .ctas) {
    width: 100%;
  }

  :where(.flow, .pb-grid, .gallery, .packs, .fit-grid, .rollout-row, .principles, .three-grid, .mini-proof, .markets-list, .landing-steps) {
    grid-template-columns: 1fr;
  }

  .canva-collage {
    grid-template-columns: 1fr;
  }

  .canva-wide {
    grid-column: auto;
  }

  .canva-portrait,
  .canva-square {
    width: 100%;
  }

  :where(.gallery .g-tile.tall) {
    grid-column: auto;
  }

  :where(.card-stack) {
    height: 326px;
    min-height: 326px;
    margin-top: 22px;
  }

  :where(.lcard) {
    padding: 16px;
    box-shadow: 5px 5px 0 0 var(--espresso-900);
  }

  :where(.feat, .pack, .scope, .bigcta, .form-card, .threecard, .landing-feature, .landing-final-cta, .landing-step, .landing-outcome) {
    padding: 22px;
  }

  :where(.rollout-card, .step) {
    padding: 22px;
  }

  :where(.stat-strip) {
    grid-template-columns: 1fr;
  }

  :where(.stat-strip > div, .stat-strip > div:nth-child(even), .stat-strip > div:nth-child(odd)) {
    border-left: 0;
    border-right: 0;
    padding-inline: 0;
  }

  :where(.stat-strip > div + div) {
    border-top: 1px solid rgba(27, 27, 32, .14);
  }
}

@media (hover: none) {
  :where(.ed-card:hover, .pack:hover, .p-card:hover, .step:hover, .rollout-card:hover, .market:hover, .hero-photos .tile:hover, .gallery .g-tile:hover) {
    transform: none;
  }
}

@media (max-width: 767px) {
  body[data-page="home"] .hero {
    padding-top: 30px;
    padding-bottom: 46px;
  }

  body[data-page="home"] .hero-grid {
    gap: 28px;
  }

  body[data-page="home"] .hero-eyebrow {
    max-width: 100%;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
  }

  body[data-page="home"] .hero h1 {
    margin-top: 20px;
    font-size: clamp(34px, 9.5vw, 40px);
    line-height: 1.04;
  }

  body[data-page="home"] .hero-sub {
    font-size: var(--fs-16);
    line-height: 1.55;
  }

  body[data-page="home"] .hero-ctas {
    margin-top: 28px;
    gap: 12px;
  }

  body[data-page="home"] .card-stack {
    width: min(100%, 360px);
    height: 318px;
    min-height: 318px;
    margin-top: 10px;
    margin-bottom: 34px;
  }

  body[data-page="home"] .lcard {
    padding: 14px;
    border-radius: 18px;
    box-shadow: 4px 4px 0 0 var(--espresso-900);
  }

  body[data-page="home"] .lcard.c1 {
    top: 0;
    right: 2px;
    left: auto;
    width: 82%;
    transform: rotate(-1.8deg);
  }

  body[data-page="home"] .lcard.c2 {
    top: 84px;
    left: 2px;
    width: 72%;
    transform: rotate(1.1deg);
  }

  body[data-page="home"] .lcard.c3 {
    top: 120px;
    right: 4px;
    bottom: auto;
    width: 78%;
    transform: rotate(-.8deg);
  }

  body[data-page="home"] .lcard-head {
    margin-bottom: 8px;
  }

  body[data-page="home"] .lcard-brand {
    font-size: 12px;
  }

  body[data-page="home"] .lcard-badge {
    padding: 3px 8px;
    font-size: 9px;
  }

  body[data-page="home"] .lcard-title {
    margin-bottom: 10px;
    font-size: clamp(18px, 5.2vw, 21px);
    line-height: 1.12;
  }

  body[data-page="home"] .stamps {
    gap: 5px;
  }

  body[data-page="home"] .lcard-foot {
    margin-top: 10px;
    padding-top: 9px;
    font-size: 12px;
  }

  body[data-page="home"] .lcard.c2 > div[style*="display:grid"] {
    gap: 5px;
    font-size: 12px;
  }

  body[data-page="home"] .lcard.c3 > div[style*="display:flex"] {
    gap: 10px;
  }

  body[data-page="home"] .lcard.c3 div[style*="font-size:44px"] {
    font-size: 34px;
  }

  body[data-page="home"] .hero .gallery[style] {
    margin-top: 38px;
  }

  body[data-page="home"] .gallery {
    gap: 14px;
  }

  body[data-page="home"] .gallery .g-tile.tall,
  body[data-page="home"] .gallery .g-tile.short {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  body[data-page="home"] .g-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  body[data-page="home"] .g-caption .pill {
    padding: 5px 9px;
    font-size: 11px;
  }

  body[data-page="hello"] .top-grid {
    display: grid;
    gap: 28px;
  }

  body[data-page="hello"] .top-grid > div:first-child {
    display: contents;
  }

  body[data-page="hello"] .top-grid .eyebrow {
    order: 1;
  }

  body[data-page="hello"] .top-grid h1 {
    order: 2;
    font-size: clamp(38px, 10vw, 46px);
    line-height: 1.03;
    margin-top: 0;
  }

  body[data-page="hello"] .top-grid p.lead {
    order: 3;
    margin-top: 0;
    font-size: var(--fs-16);
    line-height: 1.58;
  }

  body[data-page="hello"] .form-card {
    order: 4;
  }

  body[data-page="hello"] .aside {
    order: 5;
    margin-top: 4px;
  }

  body[data-page="hello"] .aside-card {
    padding: 22px;
  }
}

@media (max-width: 767px) {
  :where(footer a, .hero-grid p a, .sec-head p a, .feat li a, .scope li a, .pack li a, .contact-line a) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* 2026-05-01 redesign: audience-aware two-tier nav and track assets */
.site-nav-shell {
  position: sticky;
  top: 0;
  z-index: 90;
}

.site-nav-shell .nav {
  position: relative;
  top: auto;
  z-index: 91;
}

.nav-cta-mobile,
.mobile-nav-shell {
  display: none;
}

.nav-cta-label-short {
  display: none;
}

.site-nav-shell.nav-compact .nav-links > a:not(.nav-cta) {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.site-nav-shell.nav-compact .track-sub-nav {
  max-height: 64px;
  opacity: 1;
  pointer-events: auto;
  overflow: visible;
}

.track-sub-nav {
  max-height: 64px;
  background: #FFF8E7;
  border-bottom: 1px solid rgba(27, 27, 32, .18);
  box-shadow: 0 8px 24px rgba(27, 27, 32, .06);
  transition: opacity var(--dur-base) var(--ease-out);
}

.track-sub-nav-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
}

.track-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  white-space: nowrap;
}

.track-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.track-crumbs li + li::before {
  content: "/";
  color: rgba(27, 27, 32, .32);
}

.track-crumbs a {
  color: rgba(27, 27, 32, .66);
  text-decoration: none;
}

.track-crumbs a:hover {
  color: var(--espresso-900);
}

.track-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  max-width: max-content;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid rgba(27, 27, 32, .16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .74);
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
}

.track-tabs::-webkit-scrollbar {
  display: none;
}

.track-tabs li {
  display: contents;
}

.track-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--espresso-900);
  font-size: var(--fs-14);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.track-tabs a:hover {
  background: rgba(255, 184, 0, .2);
}

.track-tabs a.active,
.track-tabs a[aria-current="page"] {
  background: var(--espresso-900);
  color: var(--bg-page);
}

.track-asset-wrap {
  margin-top: clamp(28px, 4vw, 48px);
}

.centerpiece-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  padding: clamp(24px, 3vw, 38px);
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: var(--bg-page);
  box-shadow: var(--shadow-editorial);
  scroll-margin-top: 160px;
}

.centerpiece-card > * {
  min-width: 0;
}

.coverage-grid > *,
.roi-output-grid > *,
.handles-grid > * {
  min-width: 0;
}

.centerpiece-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

.centerpiece-copy p {
  margin: 0;
  color: var(--fg2);
  font-size: var(--fs-16);
  line-height: 1.55;
}

.calculator-grid,
.roi-output-grid,
.handles-grid,
.coverage-grid {
  display: grid;
  gap: 14px;
}

.calculator-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
}

.calculator-grid--hours {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.calculator-grid label {
  display: grid;
  gap: 8px;
  color: var(--fg2);
  font-size: var(--fs-14);
}

.calculator-grid fieldset {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

.calculator-grid legend {
  margin: 0;
  padding: 0;
  color: var(--fg2);
  font-size: var(--fs-14);
}

.calculator-grid .field-help {
  color: var(--fg3);
  font-size: var(--fs-12);
  letter-spacing: 0.01em;
}

.calculator-grid input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(27, 27, 32, .28);
  padding: 10px 12px;
  background: color-mix(in srgb, var(--perkd-yellow) 6%, white);
  color: var(--espresso-900);
  font: inherit;
}

.machine-option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.machine-option {
  position: relative;
}

.machine-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.machine-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid rgba(27, 27, 32, .28);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--perkd-yellow) 6%, white);
  color: var(--espresso-900);
  font: inherit;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.machine-option input:checked + span {
  border-color: var(--espresso-900);
  background: var(--espresso-900);
  color: var(--fg-inverse);
}

.machine-option input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--perkd-yellow) 60%, white);
  outline-offset: 2px;
}

.custom-machine-field {
  max-width: 320px;
}

.custom-machine-field[hidden] {
  display: none;
}

.calculator-output {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(27, 27, 32, .16);
  border-radius: var(--radius-md);
  background: var(--espresso-900);
  color: var(--fg-inverse);
}

.after-hour-revenue-calculator .calculator-output {
  grid-column: 1 / -1;
}

.calculator-output span,
.calculator-output small {
  color: rgba(255, 255, 255, .74);
}

.calculator-output strong {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.roi-output-grid,
.handles-grid,
.coverage-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.handles-grid > div,
.coverage-map-panel,
.coverage-density-panel,
.sku-velocity-panel {
  padding: 18px;
  border: 1px solid rgba(27, 27, 32, .18);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--perkd-yellow) 5%, white);
}

.handles-grid h3,
.sku-velocity-panel h3 {
  margin: 0 0 12px;
  font-size: var(--fs-20);
  letter-spacing: 0;
}

.handles-grid ul,
.coverage-density-panel ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.density-list-grid {
  display: grid;
  gap: 8px;
}

.handles-grid li,
.coverage-density-panel li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--fg2);
  line-height: 1.4;
}

.coverage-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.coverage-map-panel {
  grid-row: span 2;
}

.coverage-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--fg3);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.market-node-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.market-node-grid:focus-visible {
  outline: 2px solid var(--espresso-900);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--perkd-yellow);
}

.market-node {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px;
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-md);
  background: var(--perkd-yellow);
  text-align: center;
}

.market-node strong {
  font-size: var(--fs-24);
}

.market-node span {
  color: var(--espresso-900);
  font-size: var(--fs-12);
  line-height: 1.35;
}

.sku-velocity-panel small {
  color: var(--fg3);
  font-size: var(--fs-12);
  line-height: 1.35;
}

.foot-market-line {
  margin-top: 22px;
  color: rgba(255, 255, 255, .5);
  font-size: var(--fs-12);
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .centerpiece-card,
  .roi-output-grid,
  .handles-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .coverage-map-panel {
    grid-row: auto;
  }

  .market-node-grid {
    grid-template-columns: repeat(5, minmax(84px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 767px) {
  .nav-inner {
    gap: 10px;
  }

  .site-nav-shell .nav-links,
  .track-sub-nav {
    display: none;
  }

  .mobile-nav-shell {
    display: block;
    position: static;
    margin-left: auto;
  }

  .nav-cta-mobile {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 44px;
    padding: 10px 11px;
    font-size: var(--fs-14);
    white-space: nowrap;
    text-align: center;
  }

  .nav-cta-mobile .nav-cta-label-full {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .nav-cta-mobile .nav-cta-label-short {
    display: inline;
  }

  .site-nav-shell .nav-toggle {
    display: inline-flex;
    width: auto;
    height: 44px;
    min-width: 82px;
    margin-left: 0;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 8px;
    border: 2px solid var(--espresso-900);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .5);
    box-shadow: 0 1px 0 rgba(27, 27, 32, .35);
    color: var(--espresso-900);
  }

  .site-nav-shell .nav-toggle .nav-toggle-label {
    display: inline;
    width: auto;
    height: auto;
    background: transparent;
    font-size: var(--fs-14);
    line-height: 1;
  }

  .site-nav-shell .nav-toggle .nav-toggle-bars {
    display: inline-flex;
    width: 18px;
    height: 16px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: transparent;
  }

  .site-nav-shell .nav-toggle .nav-toggle-bars span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
  }

  .site-nav-shell.nav-open .nav-toggle .nav-toggle-bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-nav-shell.nav-open .nav-toggle .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
  }

  .site-nav-shell.nav-open .nav-toggle .nav-toggle-bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav-panel {
    position: fixed;
    top: calc(60px + max(10px, env(safe-area-inset-top)));
    right: max(14px, env(safe-area-inset-right));
    left: max(14px, env(safe-area-inset-left));
    width: auto;
    max-height: calc(100dvh - 76px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 2px solid var(--espresso-900);
    border-radius: var(--radius-lg);
    background: var(--perkd-yellow);
    box-shadow: 0 14px 0 rgba(27, 27, 32, .12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
    z-index: 96;
  }

  .site-nav-shell.nav-open .mobile-nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav-group {
    display: grid;
    gap: 8px;
  }

  .mobile-nav-kicker {
    color: rgba(28, 21, 16, .7);
    font-size: var(--fs-12);
    letter-spacing: var(--tracking-caps);
    text-transform: uppercase;
  }

  .mobile-nav-panel a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(27, 27, 32, .28);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .5);
    color: var(--perkd-yellow-ink);
    font-size: var(--fs-16);
    line-height: 1.15;
  }

  .calculator-grid,
  .roi-output-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .nav-inner.wrap {
    padding-inline: 18px;
  }

  .site-nav-shell .logo-row {
    gap: 8px;
    flex: 0 1 auto;
  }

  .site-nav-shell .logo-mark {
    width: 34px;
    height: 34px;
  }

  .site-nav-shell .logo-text {
    font-size: var(--fs-18);
  }

  .nav-cta-mobile {
    padding-inline: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1040px) {
  .calculator-grid--hours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   REDESIGN 2026-05-01 — JTBD-aligned editorial system
   Per-track tonal variations layered on the yellow+black+cream
   Melbourne house style. Anchored by Perkd Site Redesign Spec
   2026-05-01 (workspace canon).
   ============================================================ */

/* ---------- editorial primitives ---------- */
.kicker-rule {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(20px, 3vw, 56px);
  padding: clamp(60px, 8vw, 96px) 0 clamp(28px, 3vw, 48px);
  border-bottom: 1px solid rgba(27, 27, 32, .14);
}
.kicker-rule .roman {
  font-family: var(--font-display);
  font-size: clamp(96px, 14vw, 200px);
  line-height: .82;
  letter-spacing: -0.05em;
  color: var(--espresso-900);
}
.kicker-rule .meta {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
  text-align: right;
  display: grid;
  gap: 4px;
  font-variant-numeric: tabular-nums slashed-zero;
}
@media (max-width: 760px) {
  .kicker-rule {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .kicker-rule .meta {
    text-align: left;
    justify-items: start;
  }
}

.house-display {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: clamp(44px, 7.6vw, 116px);
  line-height: .94;
  letter-spacing: -0.038em;
  color: var(--espresso-900);
  text-wrap: balance;
}
.house-lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--fg2);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- 3-card router (homepage masthead) ---------- */
.tri-router {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(36px, 5vw, 64px);
  border-top: 2px solid var(--espresso-900);
  border-bottom: 2px solid var(--espresso-900);
}
.tri-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 36px) clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--espresso-900);
  background: var(--bg-page);
  position: relative;
  isolation: isolate;
  transition: background var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
  min-height: 480px;
}
.tri-card:last-child { border-right: 0; }
.tri-card .card-roman,
.tri-card .card-step-num {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  line-height: 1;
  color: var(--fg3);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  margin-bottom: clamp(40px, 5vw, 72px);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.tri-card .card-roman::after,
.tri-card .card-step-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(27, 27, 32, .18);
}
.tri-card .card-frame {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 12px;
}
.tri-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: .98;
  letter-spacing: -0.025em;
  color: var(--espresso-900);
  margin: 0 0 16px;
  text-wrap: balance;
}
.tri-card p {
  color: var(--fg2);
  font-size: var(--fs-16);
  line-height: 1.5;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.tri-card ul.tri-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 8px;
}
.tri-card ul.tri-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-14);
  color: var(--fg2);
  line-height: 1.4;
}
.tri-card ul.tri-bullets li::before {
  content: "/";
  color: var(--perkd-yellow-ink);
  font-weight: var(--fw-regular);
  flex: none;
  margin-top: 1px;
}
.tri-card .tri-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1.5px solid var(--espresso-900);
  border-radius: var(--radius-sm);
  font-size: var(--fs-15);
  color: var(--espresso-900);
  width: fit-content;
  background: transparent;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.tri-card:hover { background: color-mix(in srgb, var(--perkd-yellow) 10%, white); }
.tri-card:hover .tri-cta { background: var(--espresso-900); color: var(--fg-inverse); transform: translateY(-1px); }

.tri-card.tri-trial { background: var(--track-trial-bg); }
.tri-card.tri-licence { background: var(--track-licence-bg); }
.tri-card.tri-brand { background: var(--track-brand-bg); }
.tri-card.tri-trial:hover { background: var(--track-trial-bg-hover); }
.tri-card.tri-licence:hover { background: var(--track-licence-bg-hover); }
.tri-card.tri-brand:hover { background: var(--track-brand-bg-hover); }

/* Trial decision pair: 2-card variant of the tri-router. */
.tri-router--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tri-card .card-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--perkd-yellow) 22%, white);
  color: var(--espresso-900);
  margin-bottom: 12px;
}

@media (max-width: 980px) {
  .tri-router { grid-template-columns: 1fr; }
  .tri-router--pair { grid-template-columns: 1fr; }
  .tri-card { border-right: 0; border-bottom: 1px solid var(--espresso-900); min-height: 0; }
  .tri-card:last-child { border-bottom: 0; }
}

/* ---------- proof rail (tabular numerals strip) ---------- */
.proof-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--espresso-900);
  border-bottom: 2px solid var(--espresso-900);
  background: var(--espresso-900);
  color: var(--fg-inverse);
}
.proof-cell {
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
  border-right: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  gap: 6px;
}
.proof-cell:last-child { border-right: 0; }
.proof-cell .num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums slashed-zero;
  color: var(--perkd-yellow);
}
.proof-cell .lbl {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.proof-cell .src {
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, .5);
  margin-top: 4px;
}
@media (max-width: 760px) {
  .proof-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-cell { border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .proof-cell:nth-child(2n) { border-right: 0; }
  .proof-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- homepage hero imagery ---------- */
.home-hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .58fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  margin-top: clamp(26px, 3.4vw, 44px);
  padding: clamp(8px, 1.2vw, 14px);
  border: 1px solid rgba(27, 27, 32, .12);
  border-radius: calc(var(--radius-xl) + 10px);
  background:
    linear-gradient(135deg, rgba(255, 184, 0, .16), rgba(255, 248, 231, .82) 42%, rgba(248, 248, 249, .96));
  box-shadow: 0 22px 62px rgba(27, 27, 32, .13);
  align-items: stretch;
}
.home-hero-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 0;
  border: 1px solid rgba(27, 27, 32, .28);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--perkd-yellow) 10%, var(--surface-page));
}
.home-hero-frame.main {
  grid-row: 1 / span 2;
  min-height: clamp(360px, 36vw, 520px);
}
.home-hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.01);
}
.home-hero-frame.main img {
  object-position: 50% 56%;
}
.home-hero-frame:not(.main) img {
  object-position: 50% 50%;
}
.home-hero-frame figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: calc(100% - 20px);
  padding: 5px 9px;
  border: 1px solid rgba(248, 248, 249, .34);
  border-radius: var(--radius-sm);
  background: rgba(27, 27, 32, .78);
  color: rgba(248, 248, 249, .94);
  font-size: var(--fs-12);
  line-height: 1.2;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: clamp(22px, 2.6vw, 34px);
}
.home-hero-actions .btn {
  min-height: 56px;
  padding-inline: clamp(22px, 2.4vw, 34px);
  font-size: clamp(17px, 1.25vw, 20px);
  box-shadow: 0 2px 0 rgba(27, 27, 32, .58), 0 16px 34px rgba(255, 184, 0, .24);
}
@media (max-width: 760px) {
  .home-hero-showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .home-hero-frame.main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: clamp(230px, 62vw, 330px);
  }
  .home-hero-frame {
    min-height: clamp(148px, 38vw, 220px);
  }
  .home-hero-actions .btn {
    min-height: 52px;
    padding-inline: 18px;
    font-size: var(--fs-16);
  }
}

/* Annotation pass: simplify the home hero proof imagery. */
body[data-page="home"] .home-hero-showcase {
  gap: clamp(10px, 1.3vw, 16px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .home-hero-frame {
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-xl);
  box-shadow: 0 14px 34px rgba(27, 27, 32, .12);
}

body[data-page="home"] .home-hero-frame figcaption {
  left: 14px;
  bottom: 14px;
  min-height: 32px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(27, 27, 32, .82);
  letter-spacing: .04em;
}

/* ---------- startup explainers ---------- */
.startup-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}
.startup-step {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1.5px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: var(--bg-page);
  box-shadow: 0 2px 0 rgba(27, 27, 32, .12);
}
.startup-step .step-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--perkd-yellow);
  color: var(--espresso-900);
  font-size: 22px;
  line-height: 1;
}
.startup-step h3 {
  margin: 0;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--espresso-900);
}
.startup-step p {
  margin: 0;
  color: var(--fg2);
}
.startup-pull {
  margin-top: clamp(30px, 4vw, 48px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background: var(--espresso-900);
  color: var(--fg-inverse);
  display: grid;
  gap: 10px;
}
.startup-pull strong {
  color: var(--perkd-yellow);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.startup-pull span,
.startup-pull p {
  color: rgba(255, 255, 255, .78);
  margin: 0;
}
.visual-bullets {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.visual-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--fg2);
  line-height: 1.45;
}
.visual-bullets li .emoji {
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--perkd-yellow) 18%, white);
}
@media (max-width: 860px) {
  .startup-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   TRACK TONES — temperature shifts per audience
   ============================================================ */

/* Trial / operators ---------------------------------------- */
.dim-band {
  background: var(--perkd-black);
  color: var(--fg-inverse);
  padding: clamp(64px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.dim-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 200px at 80% 30%, rgba(255, 184, 0, .12), transparent 60%),
    radial-gradient(ellipse 400px 200px at 15% 80%, rgba(255, 184, 0, .06), transparent 70%);
  pointer-events: none;
}
.dim-band > * { position: relative; }
.dim-band h2 {
  font-size: clamp(34px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -0.03em;
  color: var(--fg-inverse);
  max-width: 22ch;
  font-weight: var(--fw-regular);
}
.dim-band p { color: rgba(255, 255, 255, .78); max-width: 60ch; }

.hour-clock {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(36px, 5vw, 64px) 0 0;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.hour-clock .time {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--perkd-yellow);
  font-variant-numeric: tabular-nums slashed-zero;
}
.hour-clock .time-block {
  display: grid;
  gap: 8px;
}
.hour-clock .time-block:last-child {
  justify-items: end;
  text-align: right;
}
.hour-clock .time-label {
  color: rgba(255, 255, 255, .7);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  line-height: 1;
  text-transform: uppercase;
}
.hour-clock .gap-line {
  height: 1px;
  background: linear-gradient(90deg, var(--perkd-yellow) 0%, rgba(255, 184, 0, .25) 50%, var(--perkd-yellow) 100%);
  position: relative;
}
.hour-clock .gap-line::after {
  content: "quiet hours";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  white-space: nowrap;
}

.venue-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: clamp(32px, 4vw, 56px);
}
.venue-strip .vchip {
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .9);
  font-size: var(--fs-14);
  text-align: center;
  line-height: 1.2;
  transition: background var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.venue-strip .vchip:hover {
  background: rgba(255, 184, 0, .12);
  transform: translateY(-1px);
}
@media (max-width: 760px) {
  .venue-strip { grid-template-columns: repeat(3, 1fr); }
  .hour-clock {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .04);
  }
  .hour-clock .time-block,
  .hour-clock .time-block:last-child {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    text-align: left;
  }
  .hour-clock .time-block:last-child {
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .hour-clock .time {
    font-size: clamp(30px, 10vw, 42px);
    text-align: right;
    white-space: nowrap;
  }
  .hour-clock .gap-line { display: none; }
}

/* Licence / investors --------------------------------------- */
.track-tone-licence {
  background: linear-gradient(180deg, #FAF6EE 0%, var(--track-licence-surface) 100%);
}
.ledger-table {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  table-layout: fixed;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums slashed-zero;
  background: var(--bg-page);
  border: 1px solid var(--espresso-900);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.ledger-table th,
.ledger-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(27, 27, 32, .12);
  text-align: left;
  font-size: var(--fs-15);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.ledger-table thead th {
  background: var(--espresso-900);
  color: var(--fg-inverse);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-weight: var(--fw-regular);
}
.ledger-table tbody tr:last-child td { border-bottom: 0; }
.ledger-table td.num {
  text-align: right;
  font-feature-settings: "tnum";
  white-space: nowrap;
}
.ledger-table tr.totals td {
  background: color-mix(in srgb, var(--perkd-yellow) 12%, white);
  border-top: 2px solid var(--espresso-900);
  font-size: var(--fs-16);
}

@media (max-width: 767px) {
  .ledger-table th,
  .ledger-table td {
    padding: 10px 8px;
    font-size: var(--fs-12);
  }

  .ledger-table td.num {
    white-space: normal;
  }
}

.hours-vs-rev {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
  padding: clamp(28px, 3vw, 44px);
  background: var(--bg-page);
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-editorial);
}
.hours-vs-rev .col { display: grid; gap: 6px; align-content: start; }
.hours-vs-rev .col .lbl {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
}
.hours-vs-rev .col .figure {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--espresso-900);
  font-variant-numeric: tabular-nums slashed-zero;
}
.hours-vs-rev .col .unit {
  font-size: var(--fs-15);
  color: var(--fg3);
  margin-left: 4px;
}
.hours-vs-rev .col .note {
  font-size: var(--fs-13);
  color: var(--fg3);
  margin-top: 8px;
  line-height: 1.45;
}
.hours-vs-rev .divider { background: rgba(27, 27, 32, .12); }
@media (max-width: 760px) {
  .hours-vs-rev { grid-template-columns: 1fr; }
  .hours-vs-rev .divider { height: 1px; width: 100%; }
}

.handles-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: clamp(32px, 4vw, 48px);
  border: 1px solid rgba(27, 27, 32, .14);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-page);
}
.handles-ledger .col {
  padding: 24px clamp(20px, 2.4vw, 28px);
  border-right: 1px solid rgba(27, 27, 32, .12);
}
.handles-ledger .col:last-child { border-right: 0; }
.handles-ledger .col h3 {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
  margin: 0 0 18px;
  font-weight: var(--fw-regular);
}
.handles-ledger .col h3 .marker {
  color: var(--perkd-yellow-ink);
  margin-right: 6px;
}
.handles-ledger ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: handles-i;
}
.handles-ledger li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: var(--fs-15);
  line-height: 1.42;
  color: var(--fg1);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(27, 27, 32, .08);
}
.handles-ledger li:last-child { border-bottom: 0; padding-bottom: 0; }
.handles-ledger li::before {
  content: counter(handles-i, decimal-leading-zero);
  counter-increment: handles-i;
  color: var(--fg3);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-13);
}
@media (max-width: 760px) {
  .handles-ledger { grid-template-columns: 1fr; }
  .handles-ledger .col { border-right: 0; border-bottom: 1px solid rgba(27, 27, 32, .12); }
  .handles-ledger .col:last-child { border-bottom: 0; }
}

/* Brand / suppliers ----------------------------------------- */
.track-tone-brand {
  background:
    radial-gradient(circle at 1px 1px, rgba(15, 90, 168, .08) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #FCFCFD 0%, #F6F8FB 100%);
}
.metric-mono {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 10px;
  background: var(--bg-page);
  border: 1px solid rgba(15, 90, 168, .35);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--perkd-blue);
  letter-spacing: 0;
}
.metric-mono .num { font-variant-numeric: tabular-nums slashed-zero; color: var(--espresso-900); }

.coverage-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--espresso-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-page);
}
.coverage-mini-grid .cell {
  padding: 18px 16px;
  border-right: 1px solid rgba(27, 27, 32, .12);
  display: grid;
  gap: 4px;
  background: var(--bg-page);
  position: relative;
}
.coverage-mini-grid .cell:last-child { border-right: 0; }
.coverage-mini-grid .cell .market {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
}
.coverage-mini-grid .cell .figure {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  color: var(--espresso-900);
  font-variant-numeric: tabular-nums slashed-zero;
}
.coverage-mini-grid .cell .density {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--perkd-blue);
}
.coverage-mini-grid .cell.live::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--perkd-green);
  box-shadow: 0 0 0 4px rgba(46, 107, 22, .15);
}
@media (max-width: 760px) {
  .coverage-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-mini-grid .cell { border-right: 1px solid rgba(27, 27, 32, .12); border-bottom: 1px solid rgba(27, 27, 32, .12); }
  .coverage-mini-grid .cell:nth-child(2n) { border-right: 0; }
}

.density-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: var(--fs-15);
  background: var(--bg-page);
  border: 1px solid rgba(27, 27, 32, .12);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-variant-numeric: tabular-nums slashed-zero;
}
.density-table th,
.density-table td { padding: 12px 16px; border-bottom: 1px solid rgba(27, 27, 32, .08); text-align: left; }
.density-table thead th { background: #F2F5F9; color: var(--fg3); font-size: var(--fs-12); letter-spacing: var(--tracking-caps); text-transform: uppercase; font-weight: var(--fw-regular); }
.density-table td.num { text-align: right; font-feature-settings: "tnum"; color: var(--perkd-blue); font-family: var(--font-mono); font-size: var(--fs-13); }
.density-table tbody tr:last-child td { border-bottom: 0; }

.brand-velocity-quote {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(28px, 3vw, 44px);
  border: 2px solid var(--perkd-blue);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}
.brand-velocity-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  margin: 0;
  color: var(--espresso-900);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.brand-velocity-quote .attrib {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .brand-velocity-quote { grid-template-columns: 1fr; }
  .brand-velocity-quote .attrib { text-align: left; }
}

/* Brand · pain contrast ------------------------------------- */
.brand-contrast-section {
  background:
    radial-gradient(circle at 1px 1px, rgba(27, 27, 32, .06) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #FFFFFF 0%, #FAFAFB 100%);
}
.brand-contrast-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(32px, 4vw, 48px);
  align-items: stretch;
  position: relative;
}
.brand-contrast-pair::before {
  content: "vs";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--espresso-900);
  color: var(--fg-inverse);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-page);
}
.brand-contrast-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--border-1);
  background: var(--bg-page);
}
.brand-contrast-card.brand-contrast-old {
  background: #F4F4F5;
  border-color: rgba(27, 27, 32, .12);
  color: var(--fg2);
}
.brand-contrast-card.brand-contrast-old h3,
.brand-contrast-card.brand-contrast-old strong { color: var(--espresso-900); }
.brand-contrast-card.brand-contrast-new {
  background: var(--bg-page);
  border: 2px solid var(--espresso-900);
  box-shadow: 0 18px 40px -22px rgba(255, 184, 0, .55), 0 2px 8px rgba(27, 27, 32, .08);
}
.brand-contrast-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand-contrast-card .contrast-tag {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: var(--espresso-900);
  color: var(--fg-inverse);
}
.brand-contrast-card .contrast-tag.on-yellow {
  background: var(--perkd-yellow);
  color: var(--espresso-900);
}
.brand-contrast-card .contrast-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--fg2);
  padding: 6px 10px;
  border: 1px solid rgba(27, 27, 32, .12);
  border-radius: var(--radius-pill);
  background: var(--bg-page);
  font-variant-numeric: tabular-nums;
}
.brand-contrast-card.brand-contrast-new .contrast-time {
  color: var(--espresso-900);
  border-color: var(--espresso-900);
  font-weight: var(--fw-bold, 700);
}
.brand-contrast-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: var(--fw-regular);
}
.brand-contrast-card .contrast-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: brand-step;
}
.brand-contrast-card .contrast-steps li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: var(--fs-15);
  line-height: 1.5;
}
.brand-contrast-card .contrast-steps li .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(27, 27, 32, .08);
  position: relative;
  margin-top: 2px;
  flex-shrink: 0;
  counter-increment: brand-step;
}
.brand-contrast-card .contrast-steps li .dot::after {
  content: counter(brand-step);
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--fg3);
}
.brand-contrast-card.brand-contrast-new .contrast-steps li .dot {
  background: var(--perkd-yellow);
}
.brand-contrast-card.brand-contrast-new .contrast-steps li .dot::after {
  color: var(--espresso-900);
}
.brand-contrast-card .contrast-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(27, 27, 32, .15);
  font-size: var(--fs-14);
  color: var(--fg3);
  font-style: italic;
}
.brand-contrast-card.brand-contrast-new .contrast-foot {
  color: var(--espresso-900);
  font-style: normal;
  font-weight: var(--fw-bold, 700);
  border-top-style: solid;
  border-top-color: var(--perkd-yellow);
}
@media (max-width: 860px) {
  .brand-contrast-pair { grid-template-columns: 1fr; gap: 36px; }
  .brand-contrast-pair::before { display: none; }
}

/* Brand · step-icon glyph (replacing emoji on brand startup-steps) */
.startup-step .step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--perkd-yellow);
  color: var(--espresso-900);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

/* Brand · live sales dashboard preview ---------------------- */
.brand-dashboard-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FB 100%);
}
.brand-dash {
  margin-top: clamp(32px, 4vw, 48px);
  background: var(--bg-app);
  color: var(--fg-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 60px -28px rgba(15, 90, 168, .35), 0 2px 8px rgba(27, 27, 32, .14);
  overflow: hidden;
}
.brand-dash-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.brand-dash-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-dash-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  font-family: var(--font-mono);
}
.brand-dash-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--perkd-yellow);
  box-shadow: 0 0 0 4px rgba(255, 184, 0, .2);
  animation: brand-dash-pulse 1.8s ease-in-out infinite;
}
@keyframes brand-dash-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-dash-eyebrow .dot { animation: none; }
}
.brand-dash-h {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-inverse);
}
.brand-dash-chips {
  display: inline-flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-mono);
}
.brand-dash-chips::before {
  content: 'Scope';
  margin-right: 10px;
  color: rgba(255, 255, 255, .35);
}
.brand-dash-chip {
  font: inherit;
  color: inherit;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.brand-dash-chip + .brand-dash-chip::before {
  content: '·';
  margin: 0 8px;
  color: rgba(255, 255, 255, .25);
}
.brand-dash-chip.is-active {
  color: var(--perkd-yellow);
  font-weight: var(--fw-bold, 700);
}
.brand-dash-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.brand-dash-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 clamp(16px, 2vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, .08);
}
.brand-dash-stat:first-child { padding-left: 0; }
.brand-dash-stat:last-child { border-right: 0; padding-right: 0; }
.brand-dash-stat .lbl {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-mono);
}
.brand-dash-stat .num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  color: var(--fg-inverse);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.brand-dash-stat .delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-12);
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, .65);
}
.brand-dash-stat .delta.up { color: var(--perkd-mint); }
.brand-dash-stat .delta.down { color: var(--perkd-pink); }
.brand-dash-table-wrap {
  margin-top: clamp(16px, 2vw, 22px);
  overflow-x: auto;
}
.brand-dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-14);
  font-variant-numeric: tabular-nums;
  min-width: 560px;
}
.brand-dash-table th,
.brand-dash-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.brand-dash-table thead th {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  font-weight: var(--fw-regular);
  font-family: var(--font-mono);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.brand-dash-table td.num,
.brand-dash-table th.num {
  text-align: right;
  font-family: var(--font-mono);
  color: var(--fg-inverse);
}
.brand-dash-table tbody tr:last-child td { border-bottom: 0; }
.brand-dash-table tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.brand-dash-table .venue-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--perkd-yellow);
}
.venue-dot--yellow { background: var(--perkd-yellow); }
.venue-dot--mint { background: var(--perkd-mint); }
.venue-dot--blue { background: var(--perkd-blue); }
.venue-dot--pink { background: var(--perkd-pink); }
.venue-dot--gold { background: var(--perkd-yellow-alt); }
.venue-dot--gray { background: var(--espresso-500); }
.brand-dash-table .spark {
  width: 100px;
  height: 24px;
  display: block;
  color: var(--perkd-yellow);
}
.brand-dash-table .spark.up { color: var(--perkd-mint); }
.brand-dash-table .spark.flat { color: rgba(255, 255, 255, .5); }
.brand-dash-table .spark.down { color: var(--perkd-pink); }
.brand-dash-note {
  margin: clamp(14px, 1.6vw, 18px) 0 0;
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, .72);
  font-family: var(--font-mono);
}
@media (max-width: 860px) {
  .brand-dash-summary { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .brand-dash-stat { padding: 0 clamp(12px, 2vw, 18px); }
  .brand-dash-stat:nth-child(2) { border-right: 0; padding-right: 0; }
  .brand-dash-stat:nth-child(3) { padding-left: 0; }
  .brand-dash-stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
}

/* Built-in Loyalty / cross-format ---------------------------- */
.format-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--espresso-900);
  border-bottom: 1px solid var(--espresso-900);
  background: color-mix(in srgb, var(--perkd-yellow) 7%, white);
  margin-top: clamp(32px, 4vw, 56px);
}
.format-strip .fmt {
  padding: clamp(24px, 2.6vw, 36px) clamp(18px, 2vw, 24px);
  border-right: 1px solid rgba(27, 27, 32, .14);
  display: grid;
  gap: 8px;
  align-content: start;
}
.format-strip .fmt:last-child { border-right: 0; }
.format-strip .fmt .glyph {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--perkd-yellow);
  border: 1px solid var(--espresso-900);
  border-radius: var(--radius-xs);
  margin-bottom: 6px;
}
.format-strip .fmt .ftype {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  line-height: 1;
  color: var(--espresso-900);
}
.format-strip .fmt .frev {
  font-size: var(--fs-13);
  color: var(--fg3);
  line-height: 1.4;
}
@media (max-width: 760px) {
  .format-strip { grid-template-columns: repeat(2, 1fr); }
  .format-strip .fmt { border-right: 1px solid rgba(27, 27, 32, .14); border-bottom: 1px solid rgba(27, 27, 32, .14); }
  .format-strip .fmt:nth-child(2n) { border-right: 0; }
}

.subscription-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  background: var(--bg-page);
  margin-top: clamp(36px, 5vw, 56px);
}
.subscription-card .left { padding: clamp(28px, 3vw, 40px); background: var(--espresso-900); color: var(--fg-inverse); }
.subscription-card .right { padding: clamp(28px, 3vw, 40px); background: var(--bg-page); }
.subscription-card .left h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fg-inverse);
  margin: 0 0 12px;
}
.subscription-card .left p { color: rgba(255, 255, 255, .8); margin: 0 0 22px; }
.subscription-card .left .renewal {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px 10px;
  background: var(--perkd-yellow);
  color: var(--espresso-900);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  border-radius: var(--radius-xs);
}
.subscription-card .right h4 {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
  margin: 0 0 16px;
  font-weight: var(--fw-regular);
}
.subscription-card .right ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: sub;
}
.subscription-card .right li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: var(--fs-15);
  line-height: 1.45;
  color: var(--fg1);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(27, 27, 32, .08);
}
.subscription-card .right li:last-child { border-bottom: 0; padding-bottom: 0; }
.subscription-card .right li::before {
  counter-increment: sub;
  content: counter(sub, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--perkd-yellow-ink);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .subscription-card { grid-template-columns: 1fr; }
}

.editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--fg3);
}
.editorial-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.editorial-eyebrow.on-yellow { color: var(--perkd-yellow-ink); }
.editorial-eyebrow.on-dark { color: var(--perkd-yellow); }
.home-stack-section .editorial-eyebrow {
  color: var(--perkd-yellow);
}

.tri-step-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--espresso-900);
  border-bottom: 1px solid var(--espresso-900);
}
.tri-step-rail .rstep {
  padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.2vw, 28px);
  border-right: 1px solid rgba(27, 27, 32, .14);
  display: grid;
  gap: 10px;
  align-content: start;
}
.tri-step-rail .rstep:last-child { border-right: 0; }
.tri-step-rail .rstep .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--perkd-yellow-ink);
  font-variant-numeric: tabular-nums;
}
.tri-step-rail .rstep h3,
.tri-step-rail .rstep h4 {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  line-height: 1.1;
  margin: 0;
  color: var(--espresso-900);
}
.tri-step-rail .rstep p {
  margin: 0;
  font-size: var(--fs-15);
  color: var(--fg2);
  line-height: 1.5;
}
.dim-band .tri-step-rail { border-color: rgba(255, 255, 255, .22); }
.dim-band .tri-step-rail .rstep { border-right-color: rgba(255, 255, 255, .14); }
.dim-band .tri-step-rail .rstep h3,
.dim-band .tri-step-rail .rstep h4 { color: var(--fg-inverse); }
.dim-band .tri-step-rail .rstep p { color: rgba(255, 255, 255, .76); }
.dim-band .tri-step-rail .rstep .num { color: var(--perkd-yellow); }
@media (max-width: 760px) {
  .tri-step-rail { grid-template-columns: 1fr; }
  .tri-step-rail .rstep { border-right: 0; border-bottom: 1px solid rgba(27, 27, 32, .14); }
  .tri-step-rail .rstep:last-child { border-bottom: 0; }
}

.track-final-cta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  border: 2px solid var(--espresso-900);
  border-radius: var(--radius-lg);
  background: var(--perkd-yellow);
  box-shadow: var(--shadow-editorial);
  margin-top: clamp(48px, 5vw, 72px);
}
.track-final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: .98;
  letter-spacing: -0.03em;
  color: var(--espresso-900);
  margin: 12px 0 16px;
  font-weight: var(--fw-regular);
}
.track-final-cta p { font-size: var(--fs-17); color: var(--perkd-yellow-ink); margin: 0 0 24px; max-width: 50ch; }
.track-final-cta .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
}
.home-final-cta-promise {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  justify-items: stretch;
}
.home-final-cta-promise li {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .06);
}
.home-final-cta-promise li > i,
.home-final-cta-promise li > svg {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--perkd-yellow);
  color: var(--espresso-900);
  padding: 6px;
}
.home-final-cta-promise li > span {
  display: grid;
  gap: 2px;
}
.home-final-cta-promise li strong {
  color: var(--fg-inverse);
  font-weight: 600;
  font-size: var(--fs-15);
  letter-spacing: -0.005em;
}
.home-final-cta-promise li .sub {
  color: rgba(255, 255, 255, .72);
  font-size: var(--fs-13);
  line-height: 1.4;
}
.track-final-cta.dim { background: var(--espresso-900); border-color: var(--espresso-900); color: var(--fg-inverse); }
.track-final-cta.dim h2 { color: var(--fg-inverse); }
.track-final-cta.dim p { color: rgba(255, 255, 255, .82); }
.track-final-cta.dim .editorial-eyebrow { color: var(--perkd-yellow); }
.track-final-cta.dim .btn-primary { background: var(--perkd-yellow); color: var(--espresso-900); }
@media (max-width: 980px) {
  .track-final-cta { grid-template-columns: 1fr; }
}

.section-redesign { padding: clamp(72px, 8vw, 120px) 0; }

/* Refined Licence calculator framing override */
body[data-page="licence"] .centerpiece-card.roi-hours-calculator,
body[data-page="landing-vending-machine-business"] .centerpiece-card.roi-hours-calculator {
  background: var(--bg-page);
  color: var(--espresso-900);
  border: 2px solid var(--espresso-900);
  box-shadow: var(--shadow-editorial);
}
body[data-page="licence"] .centerpiece-card.roi-hours-calculator h2,
body[data-page="licence"] .centerpiece-card.roi-hours-calculator .eyebrow,
body[data-page="landing-vending-machine-business"] .centerpiece-card.roi-hours-calculator h2,
body[data-page="landing-vending-machine-business"] .centerpiece-card.roi-hours-calculator .eyebrow { color: var(--espresso-900); }
body[data-page="licence"] .centerpiece-card.roi-hours-calculator p,
body[data-page="landing-vending-machine-business"] .centerpiece-card.roi-hours-calculator p { color: var(--fg2); }
body[data-page="licence"] .centerpiece-card.roi-hours-calculator .calculator-output,
body[data-page="landing-vending-machine-business"] .centerpiece-card.roi-hours-calculator .calculator-output {
  background: color-mix(in srgb, var(--perkd-yellow) 12%, white);
  border: 1px solid var(--espresso-900);
  border-radius: var(--radius-md);
  padding: 20px;
}
body[data-page="licence"] .centerpiece-card.roi-hours-calculator .calculator-output span,
body[data-page="licence"] .centerpiece-card.roi-hours-calculator .calculator-output small,
body[data-page="landing-vending-machine-business"] .centerpiece-card.roi-hours-calculator .calculator-output span,
body[data-page="landing-vending-machine-business"] .centerpiece-card.roi-hours-calculator .calculator-output small { color: var(--fg3); }
body[data-page="licence"] .centerpiece-card.roi-hours-calculator .calculator-output strong,
body[data-page="landing-vending-machine-business"] .centerpiece-card.roi-hours-calculator .calculator-output strong { color: var(--espresso-900); }

/* ============================================================
   PRODUCT STARTUP REDESIGN — removes editorial magazine cues
   ============================================================ */
:root {
  --shadow-editorial: 0 18px 55px rgba(27, 27, 32, .12);
  --shadow-product-card: 0 14px 40px rgba(27, 27, 32, .10);
}

.kicker-rule {
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 3vw, 36px);
  border-bottom: 0;
}
.kicker-rule .meta {
  justify-self: end;
  text-align: left;
  display: inline-grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(27, 27, 32, .10);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 32px rgba(27, 27, 32, .08);
  backdrop-filter: none;
}
.kicker-rule .meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--perkd-yellow) 10%, white);
  color: var(--espresso-900);
}
.kicker-rule .meta span:first-child {
  background: var(--espresso-900);
  color: var(--fg-inverse);
}

.editorial-eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(27, 27, 32, .12);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--perkd-yellow) 14%, white);
  color: var(--espresso-900);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(27, 27, 32, .06);
}
.editorial-eyebrow::before,
.eyebrow::before {
  display: none;
}
.editorial-eyebrow.on-dark {
  border-color: rgba(255, 184, 0, .26);
  background: rgba(255, 184, 0, .12);
  color: var(--perkd-yellow);
}
.editorial-eyebrow.on-yellow {
  background: rgba(255, 255, 255, .62);
  color: var(--espresso-900);
}
.home-stack-section .editorial-eyebrow {
  color: var(--espresso-900);
}

.house-display {
  font-weight: 700;
  line-height: .98;
  letter-spacing: -0.035em;
}
.house-lede {
  max-width: 62ch;
  font-size: clamp(18px, 1.7vw, 24px);
}

.tri-router {
  gap: 18px;
  border: 0;
}
.tri-card {
  min-height: 0;
  border: 1px solid rgba(27, 27, 32, .12);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 2.7vw, 36px);
  box-shadow: var(--shadow-product-card);
  overflow: hidden;
}
.tri-card:last-child {
  border-right: 1px solid rgba(27, 27, 32, .12);
}
.tri-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -34% 45%;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 184, 0, .22), transparent 68%);
  z-index: -1;
}
.tri-card .card-roman,
.tri-card .card-step-num {
  width: fit-content;
  margin-bottom: clamp(24px, 3vw, 42px);
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  background: var(--espresso-900);
  color: var(--fg-inverse);
  font-family: var(--font-sans);
  font-size: var(--fs-12);
  letter-spacing: .06em;
}
.tri-card .card-roman::after,
.tri-card .card-step-num::after {
  display: none;
}
.tri-card .card-frame {
  color: var(--fg3);
  letter-spacing: .06em;
}
.tri-card h3 {
  line-height: 1.02;
  font-weight: 700;
}
.tri-card ul.tri-bullets li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--perkd-yellow);
  color: var(--espresso-900);
  font-size: 11px;
}
.tri-card .tri-cta {
  border-radius: var(--radius-md);
  border-color: rgba(27, 27, 32, .18);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 8px 20px rgba(27, 27, 32, .06);
}
.tri-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(27, 27, 32, .14);
}
.tri-card:hover .tri-cta {
  background: var(--espresso-900);
  color: var(--fg-inverse);
}

.proof-rail {
  margin: clamp(28px, 4vw, 56px) auto 0;
  width: min(1180px, calc(100% - 40px));
  border: 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(27, 27, 32, .16);
}
body[data-page="home"] .home-masthead {
  padding-bottom: clamp(28px, 4vw, 52px);
}
body[data-page="home"] .home-masthead + .proof-rail {
  margin-top: 0;
  margin-bottom: clamp(40px, 5vw, 64px);
}
body[data-page="home"] .proof-rail + .home-stack-section {
  padding-top: clamp(48px, 5vw, 72px);
}
body[data-page="home"] .home-stack-grid {
  align-items: start;
}
@media (min-width: 981px) {
  body[data-page="home"] .home-masthead > .wrap {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(320px, .72fr);
    column-gap: clamp(36px, 5vw, 84px);
    align-items: end;
  }
  body[data-page="home"] .home-masthead .kicker-rule,
  body[data-page="home"] .home-masthead .house-lede {
    grid-column: 1;
  }
  body[data-page="home"] .home-masthead .kicker-rule {
    grid-template-columns: 1fr;
    padding-top: clamp(48px, 6vw, 76px);
  }
  body[data-page="home"] .home-masthead .kicker-rule .meta {
    justify-self: start;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  body[data-page="home"] .home-masthead .home-hero-showcase {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: clamp(48px, 6vw, 76px);
  }
  body[data-page="home"] .home-masthead .startup-steps,
  body[data-page="home"] .home-masthead .startup-pull,
  body[data-page="home"] .home-masthead .tri-router {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  body[data-page="home"] .home-masthead {
    padding-top: clamp(36px, 9vw, 52px);
  }
  body[data-page="home"] .home-masthead .kicker-rule {
    padding-top: 0;
    padding-bottom: clamp(22px, 6vw, 32px);
  }
  body[data-page="home"] .home-masthead .home-hero-showcase {
    margin-top: clamp(20px, 6vw, 30px);
    margin-bottom: clamp(24px, 7vw, 36px);
  }
}

.track-final-cta,
body[data-page="licence"] .centerpiece-card.roi-hours-calculator,
body[data-page="landing-vending-machine-business"] .centerpiece-card.roi-hours-calculator {
  border: 1px solid rgba(27, 27, 32, .14);
  border-radius: var(--radius-2xl);
  box-shadow: 0 22px 60px rgba(27, 27, 32, .13);
}
.track-final-cta h2,
.dim-band h2 {
  font-weight: 700;
  line-height: 1.02;
}

@media (max-width: 980px) {
  .kicker-rule {
    grid-template-columns: 1fr;
  }
  .kicker-rule .meta {
    justify-self: start;
  }
}
@media (max-width: 480px) {
  body[data-page="home"] .home-hero-actions .btn {
    width: auto;
  }
}

/* per-track hero tonal grounding */
.hero-v.track-tone-trial-hero {
  background: linear-gradient(180deg, color-mix(in srgb, var(--perkd-yellow) 12%, white) 0%, color-mix(in srgb, var(--perkd-yellow) 5%, white) 100%);
}
.hero-v.track-tone-licence-hero {
  background: linear-gradient(180deg, #FAF6EE 0%, var(--track-licence-surface) 100%);
}
.hero-v.track-tone-brand-hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(15, 90, 168, .08) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #FCFCFD 0%, #F6F8FB 100%);
}
.track-hero-copy {
  min-width: 0;
}
.track-hero-media {
  margin: 32px 0 0;
  overflow: hidden;
  border: 2px solid rgba(34, 34, 39, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .58);
  box-shadow: var(--shadow-soft);
}
.track-hero-media img {
  display: block;
  width: 100%;
  height: clamp(260px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
}
.track-hero-media figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.hero-v .kicker-rule .roman { font-size: clamp(56px, 7.6vw, 116px); }

/* keep hero-v rendering tidy when redesigned heros stack */
.hero-v.track-tone-trial-hero .editorial-eyebrow,
.hero-v.track-tone-licence-hero .editorial-eyebrow,
.hero-v.track-tone-brand-hero .editorial-eyebrow {
  color: var(--fg3);
}
.hero-v.track-tone-licence-hero .meta .metric-mono,
.hero-v.track-tone-brand-hero .meta .metric-mono {
  white-space: nowrap;
}

@media (min-width: 980px) {
  .hero-v.track-tone-trial-hero .track-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .46fr);
    gap: clamp(36px, 5vw, 78px);
    align-items: start;
  }

  .hero-v.track-tone-trial-hero .track-hero-media {
    margin-top: clamp(48px, 6vw, 80px);
  }
}

/* ============================================================
   END REDESIGN 2026-05-01
   ============================================================ */

/* ============================================================
   AUDIT FIXES 2026-05-05 — /trial accessibility + polish pass
   ============================================================ */

/* P0: visual bullets must contrast on dark surfaces. */
.dim-band .visual-bullets li,
.dim-band .visual-bullets li > span:not(.emoji) {
  color: rgba(255, 255, 255, .86);
}

/* P1: branded focus ring on calculator inputs (replaces UA default). */
.after-hour-revenue-calculator input:focus-visible,
.calculator-grid input:focus-visible {
  outline: 3px solid var(--perkd-yellow);
  outline-offset: 2px;
  border-color: var(--espresso-900);
}

/* P1: currency adornment on the spend field. */
.calculator-grid .field-with-adornment {
  position: relative;
}
.calculator-grid .field-with-adornment input {
  padding-left: 28px;
}
.calculator-grid .field-with-adornment .adornment {
  position: absolute;
  left: 12px;
  bottom: 14px;
  color: var(--fg3);
  pointer-events: none;
  font-size: var(--fs-14);
}

/* P1: definition-list version of the final-CTA metric stack. */
.track-final-cta .metric-stack {
  display: grid;
  gap: 10px;
  margin: 0;
  justify-items: start;
}
.track-final-cta .metric-stack > div {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}
.track-final-cta .metric-stack dt {
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  margin: 0;
}
.track-final-cta .metric-stack dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: var(--fg-inverse);
}
/* Light variant for non-dark final-CTA backgrounds (licence, brand). */
.track-final-cta .metric-stack--light > div {
  background: rgba(27, 27, 32, .04);
  border-color: rgba(27, 27, 32, .12);
}
.track-final-cta .metric-stack--light dt { color: var(--espresso-900); }
.track-final-cta .metric-stack--light dd { color: var(--espresso-900); }

/* P2: bump sub-nav and breadcrumb to a 44px hit area without changing visual size. */
.track-tabs a {
  min-height: 44px;
  padding: 12px 14px;
}
.track-crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 4px;
}
.track-crumbs li,
.track-crumbs li + li::before {
  align-self: center;
}

/* P3: type minimums - never let eyebrow / card-frame fall below 12px. */
.editorial-eyebrow {
  font-size: max(12px, var(--fs-12));
}
.tri-card .card-frame {
  font-size: max(12px, var(--fs-12));
}

/* P2 + P3: utility classes extracted from inline styles in trackPages.ts. */
.cta-row {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-row--lg { margin-top: 40px; }
.kicker-meta-stable .metric-mono,
.kicker-meta-stable span { white-space: nowrap; }
.house-display--md { font-size: clamp(34px, 5vw, 72px); margin-top: 18px; }
.tri-router--gap { margin-top: 48px; }
.house-lede--narrow { margin-top: 24px; max-width: 64ch; }

.inline-lead-section {
  background: var(--surface-warm);
}

.objection-section {
  background: color-mix(in srgb, var(--perkd-yellow) 5%, var(--bg-page));
}

.objection-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.objection-copy h2 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
  font-weight: var(--fw-regular);
  color: var(--espresso-900);
}

.objection-copy p {
  max-width: 58ch;
  color: var(--muted);
  font-size: var(--fs-18);
  line-height: 1.55;
}

.objection-list {
  display: grid;
  gap: 14px;
}

.objection-card {
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
}

.objection-card h3 {
  margin: 0 0 8px;
  color: var(--espresso-900);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
}

.objection-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.inline-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.inline-lead-copy h2,
.guide-conversion-card h2 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1;
  font-weight: var(--fw-regular);
  color: var(--espresso-900);
}

.inline-lead-copy p,
.guide-conversion-card p {
  max-width: 62ch;
  color: var(--muted);
  font-size: var(--fs-18);
  line-height: 1.55;
}

.inline-proof-row,
.guide-conversion-proof,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-proof-row,
.guide-conversion-proof {
  margin-top: 28px;
}

.inline-proof-row span,
.guide-conversion-proof span,
.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  padding: 9px 12px;
  color: var(--muted);
  font-size: var(--fs-13);
}

.inline-proof-row strong,
.guide-conversion-proof strong {
  color: var(--espresso-900);
}

.inline-lead-form {
  position: static;
  width: 100%;
  max-width: 760px;
}

.trust-row {
  margin: 16px 0;
}

.lead-step-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: var(--fs-12);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.guide-conversion-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 2px solid var(--espresso-900);
  border-radius: 22px;
  background: var(--perkd-yellow);
  box-shadow: var(--shadow-soft);
}

.guide-conversion-proof {
  grid-column: 1 / -1;
  margin-top: 0;
}

body[data-page^="landing-"] .site-nav-shell .nav-links > a:not(.nav-cta) {
  display: none;
}

body[data-page^="landing-"] .site-nav-shell .track-sub-nav,
body[data-page^="landing-"] .site-nav-shell .mobile-nav-shell {
  display: none;
}

body[data-page^="landing-"] .form-card .field-disclosure > summary {
  border-style: dashed;
}

@media (max-width: 900px) {
  .objection-grid,
  .inline-lead-grid,
  .guide-conversion-card {
    grid-template-columns: 1fr;
  }

  .inline-lead-form {
    position: static;
  }
}

} /* end @layer overrides */
