/* ══════════════════════════════════════════════════════════════════
   How It Works — page-specific styles
   Composes on colors_and_type.css + site.css. Builds the storefront /
   collection / fulfillment mockups in CSS to match the For-Pet-Pros
   visual vocabulary (bench-phone, share-ring, ship-path, bento art).
   ══════════════════════════════════════════════════════════════════ */

.page-hiw { background: var(--sd-bg); }

/* Generic section frame used across the page.
   Density canon (DESIGN-SYSTEM.md §9): sections run 80px, uniform. */
.hw-sec { position: relative; padding: var(--sd-sec-y) var(--sd-space-6); isolation: isolate; }
/* Wash band — home's hiw-section recipe: neutral surface + ambient washes
   (tangerine 0.06 / indigo 0.05 — §19-approved, drift not blob) */
.hw-sec--wash { background: #f5f6f6; overflow: hidden; }
.hw-sec--wash::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(225,84,57,0.06), transparent 60%),
    radial-gradient(700px 400px at 88% 100%, rgba(75,82,126,0.05), transparent 60%);
}
.hw-sec--mute  { background: var(--sd-bg-mute); }
.hw-inner { max-width: var(--sd-container); margin: 0 auto; }
.hw-inner--wide { max-width: 1320px; }

.hw-cap { max-width: 760px; margin: 0 auto var(--sd-space-10); text-align: center; }

.hw-cap .hw-step-num { justify-content: center; }
.hw-cap h2 {
  font-size: var(--sd-text-section);
  font-weight: var(--sd-fw-bold);
  line-height: 1.1;
  letter-spacing: var(--sd-tracking-tight);
  margin: 12px 0 0;
  text-wrap: balance;
}
.hw-cap p {
  font-size: var(--sd-text-lg);
  line-height: 1.6;
  color: var(--sd-fg-muted);
  margin: 18px 0 0;
  text-wrap: pretty;
}
.hw-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--sd-text-sm);
  font-weight: var(--sd-fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sd-primary-text);   /* AA — small orange on light binds the darker step */
}
/* Eyebrow dot — sitewide eyebrow pattern; currentColor follows the
   on-dark primary-400 variant automatically */
.hw-eyebrow::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: currentColor;
}

/* ── reveal ─────────────────────────────────────────────────────── */
.fade { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--sd-ease-out), transform .7s var(--sd-ease-out); }
.fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hw-hero {
  position: relative;
  padding: var(--sd-hero-pad-top) 24px var(--sd-hero-pad-bottom);
  background: var(--sd-grad-cream);
  overflow: hidden;
  isolation: isolate;
}
.hw-hero::before {
  content: none;
}
.hw-hero-grid {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px; align-items: center;
}
.hw-hero-copy { max-width: 560px; }
.hw-hero-copy h1 {
  font-family: var(--sd-font-display);
  font-weight: var(--sd-fw-bold);
  font-size: var(--sd-text-h1-fluid);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.hw-hero-copy h1 .accent {
  color: var(--sd-primary); /* light cream hero — match the base accent used site-wide */
}
.hw-hero-sub {
  font-size: var(--sd-text-hero-sub);
  line-height: 1.5;
  color: var(--sd-neutral-900);
  font-weight: var(--sd-fw-medium);
  margin: 22px 0 0;
  text-wrap: pretty;
}
.hw-hero-support {
  font-size: var(--sd-text-md);
  line-height: 1.65;
  color: var(--sd-fg-muted);
  margin: 16px 0 0;
  max-width: 500px;
  text-wrap: pretty;
}
.hw-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ── Browser-window storefront mockup ───────────────────────────── */
.hw-browser {
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--sd-shadow-xl), 0 4px 12px rgba(44,47,50,0.06);
  border: 1px solid var(--sd-border);
  overflow: hidden;
}
.hw-browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--sd-neutral-50);
  border-bottom: 1px solid var(--sd-border);
}
.hw-browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--sd-neutral-200); }
.hw-browser-bar .dot:nth-child(1) { background: #f1796a; }
.hw-browser-bar .dot:nth-child(2) { background: #f6c945; }
.hw-browser-bar .dot:nth-child(3) { background: #5fb878; }
.hw-browser-url {
  margin-left: 10px; flex: 1;
  background: #fff; border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-pill);
  font-size: 12px; color: var(--sd-fg-subtle);
  padding: 6px 14px;
  display: flex; align-items: center; gap: 7px;
  max-width: 320px;
}
.hw-browser-url i { width: 13px; height: 13px; color: var(--sd-success); }
/* Real storefront screenshot inside the browser frame (pattern: site.css .cta-shot) */
.hw-browser-shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sd-neutral-50); }
.hw-browser-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* Builder-mockup product tiles (Step 3 only) */
.hw-prod {
  border-radius: var(--sd-radius-md);
  border: 1px solid var(--sd-border);
  overflow: hidden; background: #fff;
}
.hw-prod-img { aspect-ratio: 1 / 1; background: #fff; position: relative; }
.hw-prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 9px; display: block; }
.hw-prod-meta { padding: 8px 9px 9px; border-top: 1px solid var(--sd-border); }
.hw-prod-meta .nm { font-size: 11.5px; font-weight: 700; line-height: 1.15; }
.hw-prod-meta .br { font-size: 10.5px; color: var(--sd-fg-muted); margin-top: 2px; }

/* ── accurate iPhone component (.ipx — approved framework, see CLAUDE.md) ── */
.ipx{ --pw:140px; width:var(--pw); aspect-ratio:393/852; position:relative; border-radius:calc(var(--pw)*0.205); padding:calc(var(--pw)*0.042); background:linear-gradient(150deg,#43474d 0%,#23262b 42%,#0c0d0f 100%); box-shadow:0 calc(var(--pw)*0.14) calc(var(--pw)*0.26) calc(var(--pw)*-0.08) rgba(0,0,0,.5), inset 0 0 0 1.5px rgba(255,255,255,.10), inset 0 0 0 4px #0a0b0c; }
.ipx-screen{ position:relative; width:100%; height:100%; background:#fff; overflow:hidden; border-radius:calc(var(--pw)*0.165); }
.ipx-status{ position:absolute; top:0; left:0; right:0; z-index:3; height:calc(var(--pw)*0.125); display:flex; align-items:center; justify-content:space-between; padding:0 calc(var(--pw)*0.082); color:#0a0a0a; }
.ipx-time{ font-weight:600; font-size:calc(var(--pw)*0.044); padding-top:calc(var(--pw)*0.01); }
.ipx-stat-icons{ display:flex; align-items:center; gap:calc(var(--pw)*0.014); padding-top:calc(var(--pw)*0.012); }
.ipx-stat-icons svg{ height:calc(var(--pw)*0.037); width:auto; display:block; fill:#0a0a0a; }
.ipx-island{ position:absolute; top:calc(var(--pw)*0.040); left:50%; transform:translateX(-50%); z-index:5; width:calc(var(--pw)*0.235); height:calc(var(--pw)*0.085); background:#000; border-radius:9999px; }
.ipx-content{ position:absolute; left:0; right:0; bottom:0; overflow:hidden; top:calc(var(--pw)*0.125); container-type:inline-size; }
.ipx-content img{ width:100%; display:block; }
.ipx-home{ position:absolute; bottom:calc(var(--pw)*0.028); left:50%; transform:translateX(-50%); z-index:6; width:calc(var(--pw)*0.34); height:calc(var(--pw)*0.013); background:#111; opacity:.32; border-radius:9999px; }

/* Floating earnings chip on the hero mockup */
.hw-float-chip {
  position: absolute; z-index: 3;
  background: #fff; border-radius: var(--sd-radius-lg);
  box-shadow: var(--sd-shadow-lg);
  border: 1px solid var(--sd-border);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.hw-float-chip .ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--sd-success-100); color: var(--sd-success);
  display: flex; align-items: center; justify-content: center;
}
.hw-float-chip .ic i { width: 19px; height: 19px; }
.hw-float-chip .lbl { font-size: 11px; color: var(--sd-fg-muted); }
.hw-float-chip .val { font-size: 16px; font-weight: 700; color: var(--sd-neutral-950); }
.hw-hero-stage { position: relative; }
.hw-hero-stage .hw-float-chip { bottom: -22px; left: -26px; animation: hwFloat 7s ease-in-out infinite alternate; }
@keyframes hwFloat { from { transform: translateY(0); } to { transform: translateY(-12px); } }

/* ════════════════════════════════════════════════════════════════
   BETTER WAY — before / after
   ════════════════════════════════════════════════════════════════ */
.hw-better-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.hw-compare-card {
  border-radius: var(--sd-radius-2xl);
  padding: 30px;
  border: 1px solid var(--sd-border);
  background: #fff;
  display: flex; flex-direction: column;
  min-height: 360px;
}
.hw-compare-card.before { background: var(--sd-neutral-50); border-style: dashed; border-color: var(--sd-border-strong); }
.hw-compare-card.after { background: linear-gradient(170deg, #fff, var(--sd-primary-25)); box-shadow: var(--sd-shadow-lg); }
.hw-compare-tag {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--sd-radius-pill); padding: 5px 12px; margin-bottom: 20px;
}
.hw-compare-card.before .hw-compare-tag { background: var(--sd-neutral-200); color: var(--sd-neutral-700); }
.hw-compare-card.after .hw-compare-tag { background: var(--sd-primary); color: #fff; }
.hw-compare-card h3 { font-size: 22px; font-weight: var(--sd-fw-bold); margin-bottom: 6px; }
.hw-compare-card .sub { font-size: 14.5px; color: var(--sd-fg-muted); margin-bottom: 22px; }

/* "before" = zoomed top of a phone (cropped) showing a messy client text thread, chips scattered around it */
.hw-before-stage { position: relative; flex: 1; margin-top: 18px; min-height: 300px; }
.hw-before-clip { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.hw-before-clip .ipx { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); }
.bchat { height: 100%; display: flex; flex-direction: column; background: #fff; }
.bchat-top { display: flex; align-items: center; gap: 2.5cqw; padding: 3cqw 4cqw; border-bottom: 1px solid var(--sd-border); flex: none; }
.bchat-av { width: 7cqw; height: 7cqw; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--sd-neutral-300), var(--sd-neutral-400)); }
.bchat-nm { font-size: 4.6cqw; font-weight: 700; color: var(--sd-neutral-800); }
.bchat-body { flex: 1; display: flex; flex-direction: column; gap: 2.8cqw; padding: 4cqw; overflow: hidden; }
.bchat-ts { align-self: center; font-size: 3.4cqw; font-weight: 600; color: var(--sd-fg-subtle); margin-bottom: 1cqw; }
/* iMessage bubble look — kept consistent with the For Pet Pros hero thread:
   received = neutral gray, sent = iMessage blue, rounded with one squared corner. */
.bb { max-width: 82%; font-size: 4.4cqw; line-height: 1.36; padding: 2.6cqw 3.4cqw; border-radius: 5.6cqw; }
.bb.in { align-self: flex-start; background: #e9e9eb; color: #1a1a1c; border-bottom-left-radius: 1.6cqw; }
.bb.out { align-self: flex-end; background: linear-gradient(180deg, #2da0ff 0%, #0a84ff 100%); color: #fff; border-bottom-right-radius: 1.6cqw; }
.bb.link { display: inline-flex; align-items: center; gap: 1.8cqw; font-weight: 600; color: rgba(255,255,255,0.92); }
.bb.link svg { width: 4cqw; height: 4cqw; flex: none; }
.bb-expired { align-self: flex-end; display: inline-flex; align-items: center; gap: 1.4cqw; margin-top: -0.8cqw; font-size: 3.6cqw; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #d1453b; }
.bb-expired svg { width: 3.8cqw; height: 3.8cqw; flex: none; }

/* scattered link chips floating around the before phone */
.bchip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius-sm);
  padding: 7px 11px; font-size: 12px; font-weight: 600; color: var(--sd-neutral-700);
  box-shadow: var(--sd-shadow-md); white-space: nowrap; }
.bchip i { width: 13px; height: 13px; color: var(--sd-neutral-400); }
.bchip.c1 { top: 4px;    left: -8px;   transform: rotate(-7deg); }
.bchip.c2 { top: 34px;   right: -10px; transform: rotate(6deg); }
.bchip.c3 { top: 140px;  left: -12px;  transform: rotate(-4deg); }
.bchip.c4 { bottom: 58px; right: -6px;  transform: rotate(7deg); }
.bchip.c5 { bottom: 14px; left: 2px;    transform: rotate(-3deg); }
.bchip.c6 { top: 178px;  right: -12px; transform: rotate(5deg); }

/* real "after" storefront in iPhone frame */
.hw-after-phone { margin-top: auto; display: flex; justify-content: center; padding-top: 8px; }

/* ════════════════════════════════════════════════════════════════
   STEPS spine
   ════════════════════════════════════════════════════════════════ */
.hw-step {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 72px; align-items: center;
  /* No vertical padding: each step is its own .hw-sec, whose --sd-section-y
     already supplies the rhythm. The old 56px (a leftover from the multi-step
     spine) doubled the gap between steps. */
}
.hw-step + .hw-step { border-top: 1px solid var(--sd-border); }
.hw-step--rev .hw-step-media { order: -1; }
.hw-step-num {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.hw-step-num .n {
  width: 46px; height: 46px; border-radius: var(--sd-radius-pill);
  background: var(--sd-primary); color: #fff;
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hw-step-num .lbl { font-size: var(--sd-text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sd-primary-text); /* AA */ }
.hw-step-copy h3 { font-size: var(--sd-text-section-sub); font-weight: var(--sd-fw-bold); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 14px; text-wrap: balance; }
.hw-step-copy p { font-size: var(--sd-text-md); line-height: 1.65; color: var(--sd-fg-muted); text-wrap: pretty; }
.hw-step-copy p + p { margin-top: 14px; }
.hw-step-copy p.emph { font-weight: var(--sd-fw-semibold); color: var(--sd-neutral-900); }
.hw-step-pts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.hw-step-pts li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; color: var(--sd-neutral-900); }
.hw-step-pts li i { width: 18px; height: 18px; color: var(--sd-primary); flex: none; margin-top: 2px; }

/* ── Step 1 media: profile customization ───────────────────────── */
.hw-customize {
  position: absolute; z-index: 3; right: -18px; top: -20px;
  background: #fff; border-radius: var(--sd-radius-lg); box-shadow: var(--sd-shadow-lg); border: 1px solid var(--sd-border);
  padding: 14px; width: 188px;
}
.hw-customize .ttl { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sd-fg-subtle); margin-bottom: 11px; }
.hw-customize .swatches { display: flex; gap: 8px; margin-bottom: 12px; }
.hw-customize .sw { width: 24px; height: 24px; border-radius: 50%; }
.hw-customize .sw.s1 { background: #070128; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #070128; } /* Wanderpups */
.hw-customize .sw.s2 { background: var(--sd-primary); }
.hw-customize .sw.s3 { background: var(--sd-success); }
.hw-customize .sw.s4 { background: var(--sd-warning); }
.hw-customize .field { height: 30px; border-radius: var(--sd-radius-sm); border: 1px solid var(--sd-border); display: flex; align-items: center; padding: 0 10px; font-size: 11.5px; color: var(--sd-neutral-700); }
.hw-customize .upload { margin-top: 9px; border: 1px dashed var(--sd-border-strong); border-radius: var(--sd-radius-sm); padding: 11px; text-align: center; font-size: 11px; color: var(--sd-fg-muted); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.hw-customize .upload i { width: 16px; height: 16px; color: var(--sd-primary); }

/* ════════════════════════════════════════════════════════════════
   STEP 2 — COLLECTIONS (centerpiece, full band)
   ════════════════════════════════════════════════════════════════ */
.hw-coll-band { position: relative; }
.hw-coll-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.hw-coll-grid .hw-collection:first-child { grid-column: span 2; grid-row: span 2; }
.hw-collection {
  position: relative; border-radius: var(--sd-radius-xl); overflow: hidden;
  background: #fff; border: 1px solid var(--sd-border);
  box-shadow: var(--sd-shadow-md);
  display: flex; flex-direction: column;
  min-height: 248px;
  transition: transform var(--sd-dur-base) var(--sd-ease), box-shadow var(--sd-dur-base) var(--sd-ease);
}
.hw-collection:hover { transform: translateY(-4px); box-shadow: var(--sd-shadow-hover); }
.hw-coll-cover { position: relative; flex: 1; min-height: 156px; overflow: hidden; }
.hw-coll-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(44,47,50,0.45)); }
.cover-puppy  { background: var(--sd-peach)     url("assets/Stock%20Images/collection-puppy.jpg")    center/cover no-repeat; }
.cover-train  { background: var(--sd-indigo-300) url("assets/Stock%20Images/DogTraining-Tile.jpg")     center/cover no-repeat; }
.cover-senior { background: #bcd9c4              url("assets/Stock%20Images/senior-dog-hr.jpg") center 50%/cover no-repeat; }
.cover-cat    { background: var(--sd-mist)       url("assets/Stock%20Images/Cat-enrichment-Valley-6431SAx_5B1_5D.jpg") center/cover no-repeat; }
.cover-calm   { background: #a9ddd2              url("assets/Stock%20Images/collection-calming.jpg")   center 30%/cover no-repeat; }

.hw-coll-count {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-size: 11px; font-weight: 600; color: var(--sd-neutral-900);
  background: rgba(255,255,255,0.92); border-radius: var(--sd-radius-pill); padding: 4px 10px;
  backdrop-filter: blur(4px);
}
.hw-coll-info { padding: 12px 16px; }
.hw-collection:first-child .hw-coll-info { padding: 16px 18px; }
.hw-coll-info h4 { font-size: 14px; font-weight: var(--sd-fw-bold); line-height: 1.2; margin-bottom: 3px; }
.hw-collection:first-child .hw-coll-info h4 { font-size: 19px; }
.hw-coll-info p { font-size: 12.5px; color: var(--sd-fg-muted); line-height: 1.4; text-wrap: pretty; }
.hw-collection:first-child .hw-coll-info p { font-size: 14px; }
/* small tiles: lock description to one line so all covers are equal height */
.hw-collection:not(:first-child) .hw-coll-info p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════════
   STEP 3 — add products (collection builder)
   ════════════════════════════════════════════════════════════════ */
.hw-builder { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; border-radius: var(--sd-radius-xl); overflow: hidden; border: 1px solid var(--sd-border); box-shadow: var(--sd-shadow-xl); background: #fff; }
.hw-builder-main { padding: 22px; }
.hw-builder-side { background: var(--sd-neutral-50); border-left: 1px solid var(--sd-border); padding: 20px 18px; }
.hw-builder-side .sttl { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sd-fg-subtle); margin-bottom: 6px; }
.hw-builder-side .ssub { font-size: 12px; color: var(--sd-fg-muted); margin-bottom: 16px; }
.hw-net-prod {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius-md);
  padding: 10px; margin-bottom: 10px;
}
.hw-net-prod .th { width: 38px; height: 38px; border-radius: var(--sd-radius-sm); flex: none; overflow: hidden; background: #fff; border: 1px solid var(--sd-border); }
.hw-net-prod .th img { width: 100%; height: 100%; object-fit: contain; padding: 3px; display: block; }
.hw-net-more { font-size: 11.5px; color: var(--sd-fg-subtle); padding-top: 4px; }
.hw-net-prod .nm { font-size: 12.5px; font-weight: 700; line-height: 1.1; }
.hw-net-prod .br { font-size: 11px; color: var(--sd-fg-muted); margin-top: 2px; }
.hw-net-prod .add { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--sd-primary); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.hw-net-prod .add i { width: 15px; height: 15px; }
.hw-builder-coll-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.hw-builder-coll-head .ic { width: 30px; height: 30px; border-radius: var(--sd-radius-sm); background: var(--sd-primary-100); color: var(--sd-primary); display: flex; align-items: center; justify-content: center; }
.hw-builder-coll-head .ic i { width: 16px; height: 16px; }
.hw-builder-coll-head .t { font-size: 15px; font-weight: 700; }
.hw-builder-coll-head .c { font-size: 12px; color: var(--sd-fg-muted); margin-left: auto; }
.hw-builder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hw-builder-empty { border: 1.5px dashed var(--sd-border-strong); border-radius: var(--sd-radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--sd-fg-subtle); font-size: 11.5px; aspect-ratio: 1 / 1; }
.hw-builder-empty i { width: 18px; height: 18px; }

/* ════════════════════════════════════════════════════════════════
   STEP 4 — share hub
   ════════════════════════════════════════════════════════════════ */
.hw-hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hw-hub-tile {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius-lg);
  padding: 16px 18px;
  transition: transform var(--sd-dur-base) var(--sd-ease), box-shadow var(--sd-dur-base) var(--sd-ease), border-color var(--sd-dur-base) var(--sd-ease);
}
.hw-hub-tile:hover { transform: translateY(-3px); box-shadow: var(--sd-shadow-md); border-color: var(--sd-border-strong); }
.hw-hub-tile .ic { width: 42px; height: 42px; border-radius: var(--sd-radius-md); flex: none; background: var(--sd-primary-100); color: var(--sd-primary); display: flex; align-items: center; justify-content: center; }
.hw-hub-tile .ic i { width: 20px; height: 20px; }
.hw-hub-tile .t { font-size: 15px; font-weight: 700; line-height: 1.15; }
.hw-hub-tile .s { font-size: 12.5px; color: var(--sd-fg-muted); margin-top: 2px; }

/* ════════════════════════════════════════════════════════════════
   STEP 5 — fulfillment flow
   ════════════════════════════════════════════════════════════════ */
.hw-flow {
  display: flex; align-items: stretch; gap: 0; flex-wrap: wrap;
  border-radius: var(--sd-radius-xl); border: 1px solid var(--sd-border); background: #fff;
  box-shadow: var(--sd-shadow-md); overflow: hidden;
}
.hw-flow-node { flex: 1 1 0; min-width: 128px; padding: 26px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.hw-flow-node + .hw-flow-node { border-left: 1px solid var(--sd-border); }
.hw-flow-node .ic { width: 50px; height: 50px; border-radius: var(--sd-radius-lg); display: flex; align-items: center; justify-content: center; }
.hw-flow-node .ic i { width: 24px; height: 24px; }
.hw-flow-node.n1 .ic { background: var(--sd-primary-100); color: var(--sd-primary); }
.hw-flow-node.n2 .ic { background: var(--sd-indigo-100); color: var(--sd-indigo); }
.hw-flow-node.n3 .ic { background: var(--sd-warning-100); color: var(--sd-warning-text); }
.hw-flow-node.n4 .ic { background: var(--sd-success-100); color: var(--sd-success); }
.hw-flow-node .t { font-size: 15px; font-weight: 700; }
.hw-flow-node .s { font-size: 12.5px; color: var(--sd-fg-muted); line-height: 1.4; }
.hw-flow-node .arrow { position: absolute; right: -11px; top: 50%; transform: translateY(-50%); z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--sd-border); display: flex; align-items: center; justify-content: center; color: var(--sd-primary); }
.hw-flow-node .arrow i { width: 13px; height: 13px; }

/* ════════════════════════════════════════════════════════════════
   WHY — feature cards
   ════════════════════════════════════════════════════════════════ */
.hw-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hw-why-card {
  background: #fff; border: 1px solid var(--sd-border); border-radius: var(--sd-radius-xl);
  padding: 28px 24px;
  transition: transform var(--sd-dur-base) var(--sd-ease), box-shadow var(--sd-dur-base) var(--sd-ease), border-color var(--sd-dur-base) var(--sd-ease);
}
.hw-why-card:hover { transform: translateY(-4px); box-shadow: var(--sd-shadow-hover); border-color: var(--sd-border-strong); }
.hw-why-card .ic { width: 50px; height: 50px; border-radius: var(--sd-radius-lg); background: var(--sd-primary-100); color: var(--sd-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.hw-why-card .ic i { width: 24px; height: 24px; }
.hw-why-card h4 { font-size: 18px; font-weight: var(--sd-fw-bold); line-height: 1.2; margin-bottom: 9px; text-wrap: balance; }
.hw-why-card p { font-size: 16px; color: var(--sd-fg-muted); line-height: 1.55; text-wrap: pretty; }

/* ════════════════════════════════════════════════════════════════
   SHOWCASE
   ════════════════════════════════════════════════════════════════ */
.hw-showcase-stage {
  position: relative; margin-top: 8px;
  display: flex; align-items: flex-end; justify-content: center; gap: 0;
  min-height: 520px;
}
.hw-showcase-stage .hw-browser { width: min(760px, 76%); }
.hw-showcase-phone {
  position: absolute; right: 4%; bottom: -18px; z-index: 4;
}
.hw-showcase-tag {
  position: absolute; left: 3%; top: 14%; z-index: 5;
  background: #fff; border-radius: var(--sd-radius-lg); box-shadow: var(--sd-shadow-lg); border: 1px solid var(--sd-border);
  padding: 13px 16px; display: flex; align-items: center; gap: 11px;
}
.hw-showcase-tag .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--sd-primary-100); color: var(--sd-primary); display: flex; align-items: center; justify-content: center; flex: none; }
.hw-showcase-tag .ic i { width: 18px; height: 18px; }
.hw-showcase-tag .lbl { font-size: 11px; color: var(--sd-fg-muted); }
.hw-showcase-tag .val { font-size: 14px; font-weight: 700; }

/* ════════════════════════════════════════════════════════════════
   PLATFORMS CROSS-LINK — slim wayfinding strip (compact-router
   pattern, cf. DESIGN-SYSTEM.md §14.3). Tangerine accent per §2.
   ════════════════════════════════════════════════════════════════ */
.hw-sec--slim { padding-block: 0 var(--sd-section-y-sm); }
.hw-platcall {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--sd-border);
  border-radius: var(--sd-radius-xl); padding: 22px 26px;
  box-shadow: var(--sd-shadow-sm);
  text-decoration: none; color: inherit;
  transition: transform var(--sd-dur-base) var(--sd-ease), box-shadow var(--sd-dur-base) var(--sd-ease), border-color var(--sd-dur-base) var(--sd-ease);
}
.hw-platcall:hover { transform: translateY(-2px); box-shadow: var(--sd-shadow-md); border-color: var(--sd-border-strong); }
.hw-platcall:focus-visible { outline: 2px solid var(--sd-primary); outline-offset: 2px; }
.hw-platcall:active { transform: translateY(0); box-shadow: var(--sd-shadow-sm); }
.hw-platcall .ic {
  width: 46px; height: 46px; border-radius: var(--sd-radius-md); flex: none;
  background: var(--sd-primary-100); color: var(--sd-primary);
  display: flex; align-items: center; justify-content: center;
}
.hw-platcall .ic i { width: 22px; height: 22px; }
.hw-platcall .t { display: block; font-size: 16px; font-weight: var(--sd-fw-bold); }
.hw-platcall .s { display: block; font-size: 14px; color: var(--sd-fg-muted); margin-top: 3px; text-wrap: pretty; }
.hw-platcall .go {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: var(--sd-fw-semibold);
  color: var(--sd-primary-text); white-space: nowrap;
}
.hw-platcall .go i { width: 16px; height: 16px; }

/* ════════════════════════════════════════════════════════════════
   CLOSING CTA — flat charcoal, no glows (DESIGN-SYSTEM.md §19)
   ════════════════════════════════════════════════════════════════ */
.hw-cta { background: var(--sd-surface-dark); color: #fff; padding: var(--sd-sec-y-cta) var(--sd-space-6); text-align: center; }
.hw-cta-inner { max-width: 720px; margin: 0 auto; }
.hw-cta h2 { font-size: var(--sd-text-section-lg); font-weight: var(--sd-fw-bold); line-height: 1.1; letter-spacing: -0.02em; margin: 16px 0 0; text-wrap: balance; }
.hw-cta p { font-size: var(--sd-text-lg); line-height: 1.6; color: var(--sd-fg-on-dark-muted); margin: 18px auto 0; max-width: 560px; text-wrap: pretty; }
.hw-cta .hw-eyebrow { color: var(--sd-primary-400); }   /* on-dark tint per §2 */
.hw-cta-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hw-hero-grid { grid-template-columns: 1fr; gap: 48px; justify-items: center; text-align: center; }
  .hw-hero-copy { max-width: 620px; margin: 0 auto; }
  .hw-hero-ctas { justify-content: center; }
  .hw-hero-stage { max-width: 560px; margin: 0 auto; }
  .hw-step { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hw-step-copy, .hw-step-media { min-width: 0; }
  .hw-step--rev .hw-step-media { order: 0; }
  .hw-coll-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-coll-grid .hw-collection:first-child { grid-column: span 2; grid-row: auto; }
  .hw-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hw-showcase-phone { right: 0; }
  .hw-showcase-phone .ipx { --pw: 160px; }
  .hw-showcase-stage .hw-browser { width: 86%; }
}
@media (max-width: 720px) {
  .hw-sec { padding: var(--sd-sec-y) var(--sd-space-5); }
  .hw-hero { padding: 124px 20px 72px; }
  .hw-better-grid { grid-template-columns: 1fr; }
  .hw-hub { grid-template-columns: 1fr; }
  .hw-coll-grid { grid-template-columns: 1fr; }
  .hw-coll-grid .hw-collection:first-child { grid-column: auto; }
  .hw-why-grid { grid-template-columns: 1fr; }
  .hw-builder { grid-template-columns: 1fr; }
  .hw-builder-side { border-left: 0; border-top: 1px solid var(--sd-border); }
  .hw-flow-node { flex: 1 1 100%; }
  .hw-flow-node + .hw-flow-node { border-left: 0; border-top: 1px solid var(--sd-border); }
  .hw-flow-node .arrow { right: 50%; top: auto; bottom: -11px; transform: translateX(50%) rotate(90deg); }

  .hw-showcase-phone { display: none; }
  .hw-platcall { flex-wrap: wrap; }
  .hw-platcall .go { margin-left: 64px; }
  .hw-showcase-stage .hw-browser { width: 100%; }
  .hw-customize { position: static; width: auto; margin-top: 16px; }
}
