/* ==========================================================================
   PayHouse — Direct Selling Commerce Modernization
   ========================================================================== */

:root {
  --ink: #121d19;
  --ink-2: #17241f;
  --ink-3: #1f2e28;
  --line-dark: rgba(255, 255, 255, 0.1);
  --text-on-dark: #eef4f1;
  --muted-on-dark: rgba(238, 244, 241, 0.62);

  --paper: #f2f5f3;
  --paper-2: #e3eae6;
  --card: #fbfcfb;
  --line: rgba(18, 29, 25, 0.12);
  --text: #121d19;
  --muted: #55625c;

  --legacy: #8e9c95;
  --legacy-ink: #6b7872;

  --accent: #2ba484;
  --accent-hover: #35b893;
  --accent-strong: #1d7d63;   /* green for small text and headings on light backgrounds */
  --accent-soft: rgba(43, 164, 132, 0.12);
  --good: #2ba484;

  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dark { background: var(--ink); color: var(--text-on-dark); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dark .eyebrow, .solution .eyebrow, .apply-side .eyebrow { color: var(--accent); }
.eyebrow::before {
  content: "";
  width: 15px; height: 17px; flex: none;
  background: url("assets/brand/payhouse-mark-green.svg") center / contain no-repeat;
}
h1, h2, h3 { font-family: var(--font-display); font-stretch: 112%; margin: 0; letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.serif { color: var(--accent-strong); }
.dark .serif, .solution .serif, .apply-side .serif { color: var(--accent); }
.dim { color: var(--muted); }
.dark .dim { color: var(--muted-on-dark); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 640px; }
.dark .lede { color: var(--muted-on-dark); }
.section-head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head h2 { margin: 18px 0 22px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.dark .fine { color: var(--muted-on-dark); }
sup.dagger { font-size: 0.5em; vertical-align: super; color: var(--accent); margin-left: 2px; text-decoration: none; }
sup.dagger a { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 0;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(43, 164, 132, 0.7); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary .arrow { transition: transform .15s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; opacity: .9; }
.btn-ghost:hover { opacity: 1; }
.btn-ink { background: var(--ink); color: var(--text-on-dark); }
.btn-ink:hover { background: #000; }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 13px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 29, 25, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-on-dark);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 750; font-size: 20px; letter-spacing: -0.015em; }
.logo img { height: 30px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 18px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(43, 164, 132, 0); } }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(43, 164, 132, 0.16), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 24px 24px;
  mask-image: linear-gradient(#000 40%, transparent 85%);
  pointer-events: none;
}
.hero-copy { position: relative; text-align: center; max-width: 1180px; margin: 0 auto; }
.hero h1 { font-size: clamp(36px, 4.5vw, 64px); font-weight: 750; margin: 24px 0 26px; text-wrap: balance; }
.hero h1 .line-old { display: block; color: var(--legacy); position: relative; }
.hero h1 .line-old s { text-decoration-thickness: 0.06em; text-decoration-color: rgba(43, 164, 132, 0.85); }
.hero h1 .line-new { display: block; }
.hero h1 .serif { color: var(--accent); }
.hero .lede { margin: 0 auto 34px; max-width: 800px; text-wrap: pretty; }
.hero .lede strong { color: var(--text-on-dark); font-weight: 600; }
.hero .cta-row { justify-content: center; }
.trust {
  list-style: none; padding: 0; margin: 32px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  font-size: 15px; color: var(--muted-on-dark);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.check { width: 18px; height: 18px; flex: none; color: var(--accent); }

/* Before / After compare */
.compare-wrap { position: relative; margin: clamp(48px, 5vw, 64px) auto 0; max-width: 1100px; }
.compare-labels { display: flex; justify-content: space-between; margin-bottom: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.compare-labels span { display: inline-flex; align-items: center; gap: 8px; }
.compare-labels .old { color: var(--legacy); }
.compare-labels .new { color: var(--text-on-dark); }
.compare-labels .old::before, .compare-labels .new::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.compare-labels .new::before { background: var(--accent); }
.compare {
  --pos: 40%;
  position: relative;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  box-shadow: 0 -1px 0 var(--line-dark), 0 40px 120px -30px rgba(0,0,0,.8);
  border: 1px solid var(--line-dark);
  border-bottom: 0;
  user-select: none;
  touch-action: pan-y;
  background: #fff;
}
.compare-stage { width: 1100px; height: 640px; transform-origin: 0 0; position: absolute; top: 0; left: 0; }
.compare-layer { position: absolute; inset: 0; }
.compare-layer.modern { clip-path: inset(0 0 0 var(--pos)); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px; background: var(--accent);
  pointer-events: none; z-index: 3;
}
.compare-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121d19' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 0 6px rgba(43, 164, 132, .25);
}
.compare input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; z-index: 4;
  -webkit-appearance: none; appearance: none; touch-action: pan-y;
}

/* --- Legacy mockup (intentionally dated) --- */
.legacy { background: #d9d9d9; font-family: Verdana, Tahoma, sans-serif; color: #000; font-size: 12px; }
.legacy .lg-top { background: linear-gradient(#2a4f8f, #12306a); color: #fff; padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid #c7a12b; }
.legacy .lg-brand { font-family: "Times New Roman", Times, serif; font-size: 30px; font-weight: bold; letter-spacing: 1px; text-shadow: 2px 2px 0 #000; }
.legacy .lg-brand small { display: block; font-size: 11px; font-family: Verdana, sans-serif; letter-spacing: 0; text-shadow: none; color: #ffd75e; font-style: italic; }
.legacy .lg-login { font-size: 11px; text-align: right; line-height: 1.6; }
.legacy .lg-login input { width: 92px; font-size: 10px; border: 1px inset #999; padding: 1px 3px; }
.legacy .lg-nav { display: flex; background: linear-gradient(#f2f2f2, #b5b5b5); border-bottom: 1px solid #777; }
.legacy .lg-nav span { padding: 7px 16px; border-right: 1px solid #888; font-weight: bold; font-size: 11px; color: #12306a; }
.legacy .lg-marquee { background: #fff8c4; color: #b00000; font-weight: bold; font-size: 11px; padding: 5px 22px; border-bottom: 1px dashed #c9b200; white-space: nowrap; overflow: hidden; }
.legacy .lg-body { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 14px 22px; }
.legacy .lg-side { background: #fff; border: 1px solid #999; }
.legacy .lg-side h4 { margin: 0; background: #12306a; color: #fff; font-size: 11px; padding: 5px 8px; }
.legacy .lg-side a { display: block; padding: 4px 8px; color: #0000ee; text-decoration: underline; font-size: 11px; border-bottom: 1px dotted #ccc; }
.legacy .lg-side .sponsor { padding: 8px; font-size: 10px; background: #eef; border-top: 1px solid #999; }
.legacy .lg-side .sponsor input { width: 100%; margin-top: 4px; font-size: 10px; }
.legacy .lg-main { background: #fff; border: 1px solid #999; padding: 12px; }
.legacy .lg-main h3 { font-family: "Times New Roman", serif; font-size: 18px; color: #12306a; letter-spacing: 0; border-bottom: 2px solid #12306a; padding-bottom: 4px; margin-bottom: 10px; }
.legacy table { width: 100%; border-collapse: collapse; font-size: 11px; }
.legacy th { background: #e3e3e3; border: 1px solid #aaa; padding: 4px; text-align: left; }
.legacy td { border: 1px solid #ccc; padding: 6px 4px; vertical-align: middle; }
.legacy td img { width: 44px; height: 44px; object-fit: cover; }
.legacy .lg-btn { background: linear-gradient(#fdfdfd, #c9c9c9); border: 1px outset #999; font-size: 10px; padding: 2px 6px; font-weight: bold; }
.legacy .lg-note { margin-top: 10px; font-size: 10px; color: #555; }
.legacy .lg-note b { color: #b00000; }
.legacy .lg-foot { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 10px; color: #555; padding: 8px; background: #cfcfcf; border-top: 1px solid #999; }

/* --- Modern mockup --- */
.modern { background: #fff; }
.modern img { display: block; width: 1100px; height: 640px; }

/* CTA over the modern side of the compare slider */
.compare-cta {
  position: absolute; right: 18px; bottom: 18px; z-index: 5;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 36px);
  padding: 10px 18px 10px 10px; border-radius: 999px;
  background: rgba(18, 29, 25, .94); color: #fff; text-decoration: none;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(43, 164, 132, .45);
  backdrop-filter: blur(8px);
  transition: transform .2s, box-shadow .2s, opacity .3s;
}
.compare-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -12px rgba(0, 0, 0, .6), 0 0 0 2px var(--accent); }
.compare-cta .cc-live { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--accent); color: #0d1613; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.compare-cta .cc-live i { width: 7px; height: 7px; border-radius: 50%; background: #0d1613; animation: ccPulse 1.6s ease-in-out infinite; }
.compare-cta .cc-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.compare-cta b { font-size: 16px; }
.compare-cta small { font-size: 12.5px; color: rgba(238, 244, 241, .7); }
.compare-cta .arrow { flex: none; color: var(--accent); transition: transform .2s; }
.compare-cta:hover .arrow { transform: translateX(3px); }
.compare-wrap.legacy-view .compare-cta { opacity: 0; pointer-events: none; }
@keyframes ccPulse { 50% { opacity: .3; } }
@media (max-width: 700px) {
  .compare-cta { position: relative; right: auto; bottom: auto; max-width: none; padding: 12px 14px; border-radius: 0 0 14px 14px; }
  .compare-cta small { display: none; }
  .compare-cta b { flex: 1; }
  .compare-wrap.legacy-view .compare-cta { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .compare-cta .cc-live i { animation: none; } }

/* Logos / engine strip */
.engines { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--ink-2); }
.engines .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 22px; padding-bottom: 22px; }
.engines p { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-dark); }
.engines ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.engines li { font-family: var(--font-display); font-weight: 600; font-size: 15px; padding: 8px 16px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--text-on-dark); }

/* ---------- Problem ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.problem { background: var(--paper); padding: 34px 30px 36px; position: relative; transition: background .2s ease; }
.problem:hover { background: var(--card); }
.problem .num { font-family: var(--font-mono); font-size: 12px; color: var(--legacy-ink); letter-spacing: .08em; }
.problem .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); margin: 22px 0 22px; }
.problem .icon svg { width: 22px; height: 22px; }
.problem h3 { margin-bottom: 10px; }
.problem p { margin: 0; color: var(--muted); font-size: 16px; }
.problem .x { position: absolute; top: 30px; right: 28px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #b0412a; background: rgba(176,65,42,.08); padding: 4px 8px; border-radius: 6px; }
.problem-close { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.problem-close p { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; max-width: 860px; }
.problem-close .serif { color: var(--accent); }

/* ---------- Solution / architecture ---------- */
.solution { background: var(--ink); color: var(--text-on-dark); overflow: clip; }
.solution::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(70% 60% at 50% 55%, #000 30%, transparent 80%); pointer-events: none; }
.arch { position: relative; max-width: 980px; margin: 0 auto; display: grid; gap: 0; }
.tier { position: relative; border-radius: 20px; padding: 28px 30px; display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center; }
.tier-label .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.tier-label h3 { font-size: 26px; margin-top: 8px; }
.tier-label p { margin: 6px 0 0; font-size: 14px; opacity: .75; }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tier li { font-size: 14px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.tier-shopify { background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.tier-shopify li { background: #fff; border: 1px solid var(--line); }
.tier-layer { background: var(--accent); color: var(--ink); box-shadow: 0 30px 90px -20px rgba(43, 164, 132, .55); }
.tier-layer li { background: rgba(255,255,255,.22); border: 1px solid rgba(18,29,25,.14); }
.tier-engine { background: var(--ink-3); color: var(--text-on-dark); border: 1px dashed rgba(244,239,230,.25); }
.tier-engine li { border: 1px solid var(--line-dark); color: var(--muted-on-dark); }
.tier-engine .keep { position: absolute; top: -12px; right: 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--good); color: var(--ink); padding: 5px 10px; border-radius: 6px; }
.flow { height: 78px; position: relative; display: flex; justify-content: center; gap: 120px; }
.flow svg { height: 100%; width: 24px; overflow: visible; }
.flow .dash { stroke: rgba(244,239,230,.35); stroke-width: 1.5; stroke-dasharray: 3 5; }
.flow .pkt { fill: var(--accent); }
.flow .pkt.up { fill: var(--text-on-dark); }
.flow-label { position: absolute; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted-on-dark); white-space: nowrap; }
.flow-label.l { right: calc(50% + 84px); }
.flow-label.r { left: calc(50% + 84px); }
.arch-foot { text-align: center; margin-top: 56px; }
.arch-foot h3 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -0.015em; }
.arch-foot .fine { margin: 14px auto 32px; max-width: 560px; }

/* ---------- Offer ---------- */
.offer { background: var(--paper); }
.offer-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.offer-title { margin: 18px 0 22px; font-size: clamp(38px, 4.6vw, 60px); }
.offer h2 .big { color: var(--accent-strong); }
.nowrap { white-space: nowrap; }
.guarantee {
  margin-top: 40px; border-radius: var(--radius); background: var(--ink); color: var(--text-on-dark);
  padding: 34px; position: relative; overflow: hidden;
}
.guarantee::after { content: ""; position: absolute; right: -70px; top: -50px; width: 260px; height: 300px; background: url("assets/brand/payhouse-mark-green.svg") center / contain no-repeat; opacity: .12; }
.guarantee .row { display: flex; align-items: center; gap: 24px; position: relative; z-index: 1; }
.seal { width: 112px; height: 112px; flex: none; }
.guarantee h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.015em; }
.guarantee h3 em { font-style: normal; color: var(--accent); }
.guarantee p { margin: 14px 0 0; color: var(--muted-on-dark); font-size: 15px; position: relative; z-index: 1; }
.included { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.included-head { padding: 22px 22px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.included-head h3 { font-size: 20px; }
.included-head span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.included ol { list-style: none; margin: 0; padding: 0; counter-reset: inc; }
.included li { counter-increment: inc; display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 15px 18px; border-radius: 12px; font-weight: 500; }
.included li:nth-child(odd) { background: var(--paper); }
.included li::before { content: counter(inc, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.included li .check { color: var(--accent); }
.included .fine { padding: 14px 18px 12px; margin: 0; }
.timeline { margin-top: 28px; }
.timeline-bar { position: relative; height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.timeline-bar i { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--ink), var(--accent)); border-radius: 99px; transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.in .timeline-bar i { width: 100%; }
.timeline-marks { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.timeline-marks b { color: var(--text); font-weight: 600; }

/* ---------- Why Shopify ---------- */
.shopify-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.creator { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; background: #ddd center / cover; }
.creator img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.creator-card { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(250, 247, 241, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; color: var(--ink); }
.creator-card small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.creator-card b { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; }
.creator-card .pill { grid-row: span 2; font-size: 12px; font-weight: 600; color: var(--good); background: #e6f3ea; padding: 6px 10px; border-radius: 999px; }
.caps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cap { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 16px; padding: 26px 24px; transition: border-color .2s ease, transform .2s ease; }
.cap:hover { border-color: rgba(43, 164, 132, .5); transform: translateY(-2px); }
.cap h3 { margin: 22px 0 8px; font-size: 20px; }
.cap p { margin: 0; font-size: 15px; color: var(--muted-on-dark); }
.quote-line { margin-top: clamp(48px, 6vw, 80px); padding-top: 40px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.quote-line p { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; max-width: 760px; }
.quote-line .serif { color: var(--accent); }

/* ---------- Why PayHouse ---------- */
.proof { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proof-slot { border: 1.5px dashed rgba(18,29,25,.22); border-radius: var(--radius); padding: 26px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(18,29,25,.025) 12px 24px); }
.proof-slot small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.proof-slot p { margin: 0; font-size: 15px; color: var(--muted); }
.proof-slot b { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; color: var(--text); margin-bottom: 6px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; position: relative; }
.step { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 32px 28px 30px; position: relative; }
.step .when { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); display: flex; justify-content: space-between; }
.step .when b { color: var(--accent); font-weight: 500; }
.step:last-child { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.step:last-child .when, .step:last-child p { color: rgba(18,29,25,.78); }
.step:last-child .when b { color: var(--ink); }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted-on-dark); font-size: 16px; }
.steps-cta { margin-top: 48px; display: flex; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); flex: none; position: relative; transition: background .2s ease, transform .25s ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.faq details[open] summary .pm { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { margin: 0 0 26px; color: var(--muted); max-width: 640px; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 14vw, 180px) 0; }
.final .bg { position: absolute; inset: 0; background: url("assets/packing.jpg") center 40% / cover; opacity: .55; }
.final::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(18,29,25,.55), rgba(18,29,25,.95)); }
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-size: clamp(40px, 6.6vw, 88px); margin: 22px 0 26px; }
.final h2 .line-old { display: block; color: var(--legacy); }
.final h2 .serif { color: var(--accent); }
.final .lede { margin: 0 auto 38px; }
.final .cta-row { justify-content: center; }
.final .fine { margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-on-dark); border-top: 1px solid var(--line-dark); padding: 56px 0 120px; font-size: 13px; }
.footer .top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 34px; color: var(--text-on-dark); flex-wrap: wrap; }
.footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark); margin: 0 0 10px; }
.footer .terms { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; line-height: 1.6; }
.footer .terms p { margin: 0 0 10px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Application modal ---------- */
.apply { position: fixed; inset: 0; z-index: 100; display: none; }
.apply.open { display: block; }
.apply-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 12, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s ease; }
.apply-panel {
  position: absolute; inset: 24px; max-width: 1120px; margin: 0 auto;
  background: var(--paper); border-radius: 22px; overflow: hidden;
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  animation: rise .28s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 50px 120px -20px rgba(0,0,0,.6);
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.apply-side { background: var(--ink); color: var(--text-on-dark); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.apply-side::before { content: ""; position: absolute; inset: 0; background: url("assets/hero-products.jpg") 75% center / cover; opacity: .16; }
.apply-side > * { position: relative; }
.apply-side h3 { font-size: 34px; letter-spacing: -0.02em; line-height: 1.05; margin: 22px 0 18px; }
.apply-side h3 .serif { color: var(--accent); }
.apply-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15px; color: var(--muted-on-dark); }
.apply-side li { display: flex; gap: 10px; align-items: flex-start; }
.apply-side .fine { margin-top: 24px; }
.apply-main { padding: 40px clamp(24px, 4vw, 56px); overflow-y: auto; position: relative; }
.apply-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 20px; line-height: 1; display: grid; place-items: center; z-index: 2; }
.progress { display: flex; gap: 8px; align-items: center; margin-bottom: 30px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-right: 50px; }
.progress .bar { flex: 1; height: 4px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 50%; background: var(--accent); transition: width .35s ease; }
.apply-main h4 { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.015em; margin: 0 0 6px; line-height: 1.1; }
.apply-main .sub { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--text); padding: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; min-height: 50px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312110f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18,29,25,.08); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c2412b; box-shadow: 0 0 0 4px rgba(194,65,43,.1); }
.field .err { display: none; font-size: 12px; color: #c2412b; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; font-weight: 500; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; transition: all .15s ease; }
.chips input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.form-step[hidden] { display: none; }
.consent { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.done { text-align: left; }
.done .badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--good); background: #e6f3ea; padding: 6px 10px; border-radius: 6px; margin-bottom: 18px; }
.calendar { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); min-height: 380px; overflow: hidden; }
.calendar iframe { width: 100%; height: 620px; border: 0; display: block; }
.cal-placeholder { padding: 24px; display: grid; gap: 14px; }
.cal-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cal-days div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; text-align: center; font-size: 13px; }
.cal-days div b { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; }
.cal-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cal-slots span { border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; font-size: 14px; font-weight: 500; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .flow .pkt { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .problems { grid-template-columns: repeat(2, 1fr); }
  .offer-grid, .shopify-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .capabilities { grid-template-columns: repeat(2, 1fr); }
  .tier { grid-template-columns: 1fr; gap: 18px; }
  .creator { min-height: 460px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .problems, .steps, .proof, .caps { grid-template-columns: 1fr; }
  .problem-close { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .footer .terms { grid-template-columns: 1fr; }
  .trust { display: grid; grid-template-columns: 1fr 1fr; text-align: left; gap: 10px 14px; font-size: 14px; max-width: 420px; }
  .hero .cta-row .btn { width: 100%; }
  .flow { gap: 64px; height: 70px; }
  .flow-label.l { right: calc(50% + 50px); }
  .flow-label.r { left: calc(50% + 50px); }
  .flow-label { font-size: 10px; }
  .tier { padding: 24px 20px; }
  .tier li { font-size: 13px; padding: 7px 12px; }
  .guarantee { padding: 26px 22px; }
  .guarantee .row { flex-direction: column; align-items: flex-start; }
  .seal { width: 88px; height: 88px; }
  .included li { grid-template-columns: 30px 1fr auto; padding: 13px 12px; font-size: 15px; }
  .compare-labels { font-size: 10px; }
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    transform: translateY(140%); transition: transform .3s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; box-shadow: 0 16px 40px -8px rgba(0,0,0,.5); }
  .apply-panel { inset: 0; border-radius: 0; grid-template-columns: 1fr; }
  .apply-side { display: none; }
  .apply-main { padding: 28px 20px 40px; }
  .fields { grid-template-columns: 1fr; }
  .cal-days { grid-template-columns: repeat(3, 1fr); }
  .cal-days div:nth-child(n+4) { display: none; }
  }

/* Grid children may shrink below their content width */
.offer-grid > *, .shopify-grid > *, .faq-grid > *, .problems > *, .steps > *, .caps > *, .venn > *, .proof > * { min-width: 0; }
@media (max-width: 760px) {
  .hero .eyebrow { font-size: 11px; text-wrap: balance; }
  .hero .eyebrow::before { display: none; }
  .hero .lede { font-size: 17px; }
  .timeline-marks { font-size: 10px; gap: 8px; }
}
@media (max-width: 760px) {
  .flow-label { white-space: normal; max-width: calc(50% - 46px); line-height: 1.35; }
  .flow-label.l { left: 0; right: auto; text-align: left; }
  .flow-label.r { right: 0; left: auto; text-align: right; }
}

/* ---------- Brand accents ---------- */
.solution::after { content: ""; position: absolute; right: -120px; top: 80px; width: 520px; height: 600px; background: url("assets/brand/payhouse-mark-green.svg") center / contain no-repeat; opacity: .05; pointer-events: none; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 760px; height: 880px; transform: translate(-50%, -50%); background: url("assets/brand/payhouse-mark-green.svg") center / contain no-repeat; opacity: .045; z-index: 1; pointer-events: none; }
.tier-layer .tier-label h3 { display: flex; align-items: center; gap: 10px; }
.tier-layer .tier-label h3 img { width: 24px; height: 28px; }
.apply-side .brand { height: 28px; width: auto; margin-bottom: 26px; }
@media (max-width: 760px) {
  .logo img { height: 26px; }
  .solution::after { display: none; }
  .final::before { width: 420px; height: 480px; }
}

/* ---------- Video player ---------- */
.hero.is-vsl { padding-top: clamp(40px, 5vw, 64px); }
.hero.is-vsl h1 { font-size: clamp(34px, 4.8vw, 64px); margin: 18px 0 18px; }
.hero.is-vsl .lede { font-size: clamp(16px, 1.4vw, 19px); max-width: 720px; margin-bottom: 28px; }
.vsl { max-width: 860px; margin: 0 auto 30px; }
.vsl-note { margin: 14px 0 0; }
.player {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: 18px; overflow: hidden; background: #0b1310;
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(43,164,132,.12), 0 0 80px -20px rgba(43,164,132,.35);
}
.player video, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; object-fit: cover; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--text-on-dark); }
.player-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.player-poster:hover img { transform: scale(1.03); }
.player-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,29,25,.94) 0%, rgba(18,29,25,.72) 45%, rgba(18,29,25,.2) 100%); }
.player-meta { position: absolute; left: clamp(18px, 4%, 40px); bottom: clamp(18px, 7%, 44px); max-width: min(520px, 62%); display: grid; gap: 10px; }
.player-meta small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.player-meta b { font-family: var(--font-display); font-weight: 650; font-size: clamp(17px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -0.025em; }
.player-play {
  position: absolute; left: 50%; top: 50%; width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(43,164,132,.22), 0 20px 50px -10px rgba(0,0,0,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.player-play svg { width: 42%; height: 42%; margin-left: 6%; }
.player-poster:hover .player-play { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 16px rgba(43,164,132,.18), 0 20px 50px -10px rgba(0,0,0,.6); }
.player-unmute {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--ink); font-family: var(--font-display); font-weight: 650; font-size: 16px;
  box-shadow: 0 0 0 10px rgba(43,164,132,.25), 0 20px 50px -10px rgba(0,0,0,.6);
  animation: pulse-ring 2.2s infinite;
}
.player-unmute svg { width: 22px; height: 22px; }
@keyframes pulse-ring { 50% { box-shadow: 0 0 0 18px rgba(43,164,132,0), 0 20px 50px -10px rgba(0,0,0,.6); } }

/* Pre-call video on the booking screen */
.precall { margin-top: 22px; }
.precall-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.precall-head b { font-family: var(--font-display); font-size: 17px; letter-spacing: -0.02em; }
.precall-head span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.precall .player { border-radius: 14px; box-shadow: none; border-color: var(--line); }
.precall .player-meta b { font-size: clamp(15px, 1.8vw, 20px); }
.precall .player-play { width: 56px; height: 56px; }

@media (max-width: 760px) {
  .vsl { margin: 0 calc(var(--gutter) * -1) 24px; }
  .vsl .player { border-radius: 0; border-left: 0; border-right: 0; }
  .player-meta { max-width: 80%; }
  .player-meta small { font-size: 10px; }
  .player-unmute { font-size: 14px; padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) { .player-unmute { animation: none; } }
@media (max-width: 760px) {
  .hero.is-vsl .eyebrow { display: none; }
  .hero.is-vsl h1 { margin-top: 0; }
  .hero.is-vsl .lede { font-size: 15px; margin-bottom: 22px; }
  .player-meta b { display: none; }
  .player-meta { left: 16px; bottom: 14px; }
}

/* ---------- Capability cards + steps: icon art ---------- */
.cap { position: relative; padding: 14px 14px 26px; }
.cap h3, .cap p { padding: 0 12px; }
.cap-art {
  height: 150px; border-radius: 12px; position: relative; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(55% 70% at 50% 60%, rgba(43,164,132,.22), transparent 70%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 100%,
    #121d19;
  border: 1px solid rgba(255,255,255,.05);
}
.cap-art img { width: 132px; height: 132px; object-fit: contain; transition: transform .35s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 14px 24px rgba(0,0,0,.45)); }
.cap:hover .cap-art img { transform: translateY(-4px) rotate(-2deg); }
.cap-tag { position: absolute; top: 24px; right: 24px; z-index: 1; font-size: 11px; font-weight: 600; color: var(--muted-on-dark); background: rgba(18,29,25,.8); border: 1px solid var(--line-dark); padding: 4px 9px; border-radius: 999px; }

.step { padding: 14px 14px 30px; display: flex; flex-direction: column; }
.step .when, .step h3, .step p { padding: 0 14px; }
.step .when { margin: 22px 0 12px; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
.step-art {
  height: 190px; border-radius: 12px; display: grid; place-items: center; position: relative; overflow: hidden;
  background:
    radial-gradient(55% 70% at 50% 60%, rgba(43,164,132,.2), transparent 70%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 100%,
    #121d19;
  border: 1px solid rgba(255,255,255,.05);
}
.step:last-child .step-art {
  background:
    radial-gradient(55% 70% at 50% 60%, rgba(255,255,255,.28), transparent 70%),
    linear-gradient(rgba(18,29,25,.07) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(18,29,25,.07) 1px, transparent 1px) 0 0 / 22px 100%,
    #34ad8c;
  border-color: rgba(18,29,25,.08);
}
.step-art img { width: 160px; height: 160px; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(0,0,0,.4)); }
/* connector between steps */
.steps { gap: 28px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 109px; right: -22px; width: 16px; height: 16px; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ba484' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 760px) {
  .step:not(:last-child)::after { display: none; }
  .steps { gap: 14px; }
  .cap-art { height: 140px; }
  .step-art { height: 170px; }
  .step-art img { width: 140px; height: 140px; }
}
@media (max-width: 760px) {
  .btn { white-space: normal; height: auto; min-height: var(--h); padding: 14px 22px; text-align: center; font-size: 14px; max-width: 100%; }
  .nav .btn-sm { font-size: 12px; padding: 10px 14px; }
}

/* ---------- Problem cards: icon art ---------- */
.problem { padding: 14px 14px 32px; }
.problem h3, .problem p { padding: 0 14px; }
.problem h3 { margin-top: 22px; }
.problem-art {
  height: 150px; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(55% 70% at 50% 60%, rgba(176,65,42,.07), transparent 70%),
    linear-gradient(rgba(18,29,25,.045) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(18,29,25,.045) 1px, transparent 1px) 0 0 / 22px 100%,
    var(--paper-2);
}
.problem-art img { width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(18,29,25,.18)); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.problem:hover .problem-art img { transform: translateY(-3px) rotate(2deg); }
.problem .x { top: 26px; right: 26px; z-index: 1; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.75); }
@media (max-width: 760px) { .problem-art { height: 140px; } }

/* ---------- Live schedule (offer) ---------- */
.schedule { margin-top: clamp(40px, 5vw, 64px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.schedule-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.schedule-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--accent-strong); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(43,164,132,.2); animation: pulse 2s infinite; }
.schedule-head h3 { font-size: clamp(22px, 2.6vw, 34px); margin-top: 10px; max-width: 640px; text-wrap: balance; }
.schedule-head h3 .hl { color: var(--accent-strong); }
.countdown { background: var(--ink); color: var(--text-on-dark); border-radius: 16px; padding: 14px 18px 12px; }
.countdown small { display: block; font-size: 12px; color: var(--muted-on-dark); margin-bottom: 6px; }
.cd-units { display: flex; gap: 6px; }
.cd-units span { display: flex; flex-direction: column; align-items: center; min-width: 54px; font-size: 11px; color: var(--muted-on-dark); }
.cd-units b { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--text-on-dark); font-variant-numeric: tabular-nums; }
.cd-units span:first-child b { color: var(--accent); }

.schedule-note { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .schedule-head { align-items: stretch; }
  .countdown { width: 100%; }
  .cd-units { justify-content: space-between; }
}

/* ---------- Route to launch day ---------- */
.journey > * { min-width: 0; }
.route-line { position: absolute; left: 8px; top: 104px; width: calc(100% - 8px); height: 100px; overflow: visible; pointer-events: none; }
.route-line path { fill: none; stroke-linecap: round; }
.road { stroke: rgba(18,29,25,.28); stroke-width: 2.5; stroke-dasharray: 2 9; }
.trail { stroke: var(--accent); stroke-width: 3.5; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.2s cubic-bezier(.45,.05,.25,1) .2s; }
.schedule.in .trail { stroke-dashoffset: 0; }
.pin { width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 3px solid var(--ink); margin: 41px 0 38px; position: relative; z-index: 1; transform: scale(.4); opacity: 0; transition: transform .4s cubic-bezier(.3,1.6,.5,1), opacity .3s ease, background .3s ease; transition-delay: calc(.35s + var(--i) * .5s); }
.schedule.in .pin { transform: scale(1); opacity: 1; background: var(--accent); }
.stop.is-today .pin { background: var(--accent); box-shadow: 0 0 0 7px rgba(43,164,132,.22); animation: pulse 2s infinite; }
.stop-title { font-family: var(--font-display); font-stretch: 112%; font-size: 16px; font-weight: 650; }

/* Calendar tile */
.ctile { width: 64px; border-radius: 12px; overflow: hidden; background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: 0 8px 20px -10px rgba(18,29,25,.35); text-align: center; font-variant-numeric: tabular-nums; }
.ctile .m { display: block; background: var(--paper-2); color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 0 3px; }
.ctile b { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 26px; font-weight: 700; line-height: 1; padding-top: 7px; }
.ctile .w { display: block; font-size: 11px; color: var(--muted); padding: 3px 0 7px; }
.ctile-today { border-color: var(--ink); }
.ctile-today .m { background: var(--ink); color: #fff; }
.ctile-end { border-color: var(--accent); }
.ctile-end .m { background: var(--accent); color: var(--ink); }

/* Launch-day card */
.browser-bar { display: flex; align-items: center; gap: 5px; padding: 7px 9px; background: #ece7dd; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #cfc8bb; }
.browser-bar span { flex: 1; margin-left: 6px; background: #fff; border-radius: 6px; font-size: 10.5px; color: #6d655a; padding: 3px 8px; }
.browser-bar em { font-style: normal; font-size: 10px; font-weight: 700; color: #1d7d63; background: #e1f2ea; border-radius: 999px; padding: 2px 7px; }

@media (prefers-reduced-motion: reduce) {
  .trail { transition: none; stroke-dashoffset: 0; }
  .pin { transition: none; transform: none; opacity: 1; }
  .peek { transition: none; transform: none; opacity: 1; }
}

/* ---------- Founder ---------- */
.founder { overflow: hidden; }
.founder::before { content: ""; position: absolute; left: -10%; top: 10%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(43,164,132,.16), transparent); pointer-events: none; }
.founder-grid { display: grid; grid-template-columns: 440px 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; }
.founder-grid > * { min-width: 0; }
.portrait-col { display: flex; flex-direction: column; align-items: center; }
.portrait { position: relative; width: 340px; height: 340px; margin: 40px 0 28px; }
/* rotating brand ring */
.portrait::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), rgba(43,164,132,0) 35%, rgba(43,164,132,0) 55%, #eef4f1 70%, var(--accent));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: spin 9s linear infinite;
}
.orbit { position: absolute; inset: -42px; border-radius: 50%; border: 1px dashed rgba(238,244,241,.18); animation: spin 26s linear infinite reverse; }
.orbit i { position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 2px rgba(43,164,132,.7); }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait-photo { position: absolute; inset: 6px; border-radius: 50%; overflow: hidden; background: radial-gradient(120% 120% at 30% 20%, #2a4a3f, #121d19 70%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06); }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9) contrast(1.05); }
.portrait-photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(180deg, transparent 55%, rgba(18,29,25,.45)); pointer-events: none; }
.monogram { display: none; position: absolute; inset: 0; place-items: center; font-family: var(--font-display); font-stretch: 125%; font-weight: 700; font-size: 96px; letter-spacing: -0.02em; color: rgba(238,244,241,.92); }
.monogram::before { content: ""; position: absolute; inset: 0; background: url("assets/brand/payhouse-mark-green.svg") center / 70% no-repeat; opacity: .22; }
.no-photo .portrait-photo img { display: none; }
.no-photo .monogram { display: grid; text-shadow: 0 8px 30px rgba(0,0,0,.5); }
.chip { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 1px; padding: 9px 14px; border-radius: 14px; background: rgba(23,36,31,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 16px 30px -12px rgba(0,0,0,.6); font-size: 12px; color: var(--muted-on-dark); white-space: nowrap; animation: float 6s ease-in-out infinite; }
.chip b { font-family: var(--font-display); font-stretch: 112%; font-size: 14px; color: var(--text-on-dark); }
.chip-a { left: -46px; top: 34px; }
.chip-b { right: -54px; top: 132px; animation-delay: -2s; }
.chip-c { left: -24px; bottom: 26px; animation-delay: -4s; }
.chip-c b { color: var(--accent); }
@keyframes float { 50% { transform: translateY(-8px); } }
.founder-name { text-align: center; }
.founder-name h3 { font-size: 28px; }
.founder-name p { margin: 4px 0 0; color: var(--muted-on-dark); font-size: 15px; }

.founder-copy h2 { margin: 18px 0 22px; font-size: clamp(34px, 4.4vw, 56px); }
.founder-copy .lede { margin-bottom: 34px; }
.career { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.career li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.career .yr { font-size: 13px; font-weight: 600; color: var(--accent); padding-top: 3px; font-variant-numeric: tabular-nums; }
.career b { font-family: var(--font-display); font-stretch: 112%; font-size: 18px; font-weight: 650; }
.career p { margin: 4px 0 0; font-size: 15px; color: var(--muted-on-dark); }


.press { margin-top: clamp(48px, 6vw, 72px); }
.press-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.press-head h3 { font-size: 22px; }
.press-head span { font-size: 14px; color: var(--muted-on-dark); }
.press-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.press-grid > * { min-width: 0; }
.press-card { display: flex; flex-direction: column; gap: 14px; min-height: 200px; padding: 22px; border-radius: 16px; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line-dark); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.press-card:hover { border-color: rgba(43,164,132,.55); transform: translateY(-3px); background: var(--ink-3); }
.press-card .pub { font-family: var(--font-display); font-stretch: 112%; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--accent); }
.press-card b { font-family: var(--font-display); font-stretch: 105%; font-size: 18px; font-weight: 600; line-height: 1.25; color: var(--text-on-dark); flex: 1; }
.press-card .meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted-on-dark); }
.press-card .meta i { font-style: normal; font-weight: 600; color: var(--text-on-dark); }

@media (max-width: 1100px) {
  .founder-grid { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .portrait { width: 250px; height: 250px; margin-top: 46px; }
  .orbit { inset: -26px; }
  .chip { padding: 7px 11px; font-size: 11px; }
  .chip b { font-size: 12.5px; }
  .chip-a { left: -30px; top: 6px; }
  .chip-b { right: -34px; top: 104px; }
  .chip-c { left: -18px; bottom: 4px; }
  .monogram { font-size: 72px; }
  .career li { grid-template-columns: 1fr; gap: 4px; }
  .press-grid { grid-template-columns: 1fr; }
  .press-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .portrait::before, .orbit, .chip { animation: none; }
}
.founder + .section.dark { border-top: 1px solid var(--line-dark); }
.linkedin { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 13px; font-weight: 600; color: var(--text-on-dark); text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.linkedin:hover { border-color: rgba(43,164,132,.6); background: rgba(43,164,132,.08); }
.linkedin svg { width: 15px; height: 15px; color: var(--accent); }
.portrait-photo img { object-position: 50% 30%; }

/* ---------- Founder pin board ---------- */
.board-wrap { margin-top: clamp(48px, 6vw, 72px); }
.board {
  position: relative; height: 660px; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px) 0 0 / 18px 18px,
    radial-gradient(80% 70% at 30% 20%, #224036, #17271f 60%, #121d19);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 30px 80px -40px rgba(0,0,0,.6);
}
.hand { font-family: "Caveat", cursive; font-weight: 500; font-size: 20px; line-height: 1.15; }
.pinned {
  position: absolute; left: var(--x); top: var(--y); width: var(--w);
  transform: rotate(var(--r)); transform-origin: 50% 0;
  color: #1c1a17; text-decoration: none; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 18px 30px -14px rgba(0,0,0,.6), 0 2px 4px rgba(0,0,0,.25);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
  z-index: 1;
}
a.pinned:hover, .pinned:hover { transform: rotate(0deg) translateY(-6px) scale(1.03); box-shadow: 0 30px 50px -18px rgba(0,0,0,.7); z-index: 5; }
.tack { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 35% 30%, #7fe3c4, var(--accent) 45%, #1b6e57 80%); box-shadow: 0 4px 6px rgba(0,0,0,.45); }
.tape { position: absolute; top: -12px; left: 50%; width: 86px; height: 26px; margin-left: -43px; z-index: 2;
  background: rgba(238,244,241,.55); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.15); backdrop-filter: blur(2px); }

/* magazine page */
.clip-mag { background: #f7f5ef; padding: 14px 14px 16px; }
.mag-mast { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: .02em; color: #121d19; line-height: 1; border-bottom: 3px solid #121d19; padding-bottom: 6px; }
.mag-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.clip-mag img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; filter: grayscale(.15); }
.clip-mag b { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.15; }

/* polaroid */
.polaroid { background: #fbfaf6; padding: 10px 10px 14px; }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid .hand { text-align: center; font-size: 19px; color: #2b2a26; }

/* awards card */
.awards { background: linear-gradient(160deg, #1f2f29, #121d19); color: var(--text-on-dark); padding: 22px 20px 18px; border: 1px solid rgba(213,178,98,.35); }
.ribbon { position: absolute; top: -6px; right: 18px; width: 38px; height: 56px; background: linear-gradient(#e7c873, #b8913b); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); }
.ribbon i { position: absolute; left: 50%; top: 10px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); }
.awards-title { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 20px; color: #e7c873; }
.awards ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; }
.awards li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; font-size: 13.5px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 7px; }
.awards li em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #121d19; background: #e1bf68; border-radius: 4px; padding: 2px 5px; }
.awards li span { color: var(--muted-on-dark); font-variant-numeric: tabular-nums; }

/* certificate */
.cert { background: #fbf8ee; padding: 20px 18px 18px; text-align: center; align-items: center; outline: 1px solid #d8c9a0; outline-offset: -8px; }
.cert-label { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; color: #1c1a17; }
.cert b { font-size: 13px; font-weight: 600; color: #4b463c; text-transform: uppercase; letter-spacing: .06em; }
.cert-name { font-family: "Caveat", cursive; font-size: 26px; color: #121d19; border-bottom: 1px solid #cdbf98; padding: 0 10px 2px; }
.seal { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff6dc; font-size: 18px;
  background: radial-gradient(circle at 35% 30%, #f0d283, #b8913b 70%); box-shadow: 0 0 0 4px #e9d9a8, 0 3px 6px rgba(0,0,0,.25); margin-top: 4px; }
.cert-date { font-size: 12px; color: #6b6556; }

/* newspaper clipping */
.clip-news { background: #f1ede2; padding: 16px 16px 14px; clip-path: polygon(0 2%, 4% 0, 12% 2%, 22% 0, 35% 1%, 50% 0, 64% 2%, 78% 0, 90% 1%, 100% 0, 100% 97%, 94% 100%, 80% 98%, 65% 100%, 50% 98%, 35% 100%, 20% 98%, 8% 100%, 0 98%); }
.news-mast { font-family: "Instrument Serif", Georgia, serif; font-size: 20px; border-bottom: 1px solid #1c1a17; padding-bottom: 5px; }
.clip-news b { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.05; }
.news-lines { display: grid; gap: 6px; margin-top: 2px; }
.news-lines i { height: 5px; background: rgba(28,26,23,.14); border-radius: 2px; }
.news-lines i:nth-child(2n) { width: 85%; }
.news-date { font-size: 11.5px; color: #6b6556; }

/* index card */
.index-card { background: #fdfcf8 repeating-linear-gradient(transparent 0 25px, rgba(43,164,132,.18) 25px 26px); padding: 20px 16px 16px; border-top: 3px solid #d66; }
.card-label { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.index-card b { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.2; }
.index-card .hand { font-size: 18px; color: #3b3a35; }

/* sticky note */
.sticky { background: linear-gradient(170deg, #9fe0c6, #7fd0b0); padding: 18px 14px; aspect-ratio: 1; justify-content: center; box-shadow: 0 16px 24px -12px rgba(0,0,0,.6); }
.sticky .hand { font-size: 19px; color: #10302a; }
.sticky b { font-weight: 700; }

/* filing card */
.filing { background: #fff; padding: 18px 14px 14px; border-left: 4px solid var(--accent); }
.filing b { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 17px; }
.filing .hand { font-size: 19px; color: #3b3a35; }

/* Board falls back to a tidy, slightly tilted grid on smaller screens */
@media (max-width: 1024px) {
  .board { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 22px; padding: 34px 22px 28px; }
  .pinned { position: relative; left: auto; top: auto; width: auto; }
  .sticky { aspect-ratio: auto; }
}
@media (max-width: 560px) {
  /* swipeable row instead of a long stack */
  .board { display: flex; align-items: flex-start; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px 22px 28px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .board::-webkit-scrollbar { display: none; }
  .pinned { flex: 0 0 74%; scroll-snap-align: center; }
  .pinned:nth-child(odd) { transform: rotate(-1.5deg); }
  .pinned:nth-child(even) { transform: rotate(1.5deg); }
  .sticky { flex-basis: 56%; aspect-ratio: 1; }
  .board-wrap .press-head span::after { content: " Swipe →"; font-weight: 600; color: var(--accent); }
}

/* ---------- Why PayHouse: equation + capability tiles ---------- */

.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 0; }
.capabilities .capability { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-weight: 600; font-size: 15px; line-height: 1.3; transition: border-color .2s ease, transform .2s ease; }
.capabilities .capability:hover { border-color: rgba(43,164,132,.45); transform: translateY(-2px); }
.cap-icon { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 55%, rgba(43,164,132,.25), transparent 75%), var(--ink); }
.cap-icon img { width: 44px; height: 44px; object-fit: contain; }

@media (max-width: 1024px) {
  .capabilities { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .capabilities { grid-template-columns: 1fr; }
}

/* ---------- Founder track record: numbers with proof visuals ---------- */
.record { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.record > * { min-width: 0; }
.rec { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line-dark); overflow: hidden; }
.rec-label { font-size: 13px; font-weight: 600; color: var(--accent); }
.rec-num { display: block; margin-top: 14px; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(44px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.01em; color: var(--text-on-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rec-sales .rec-num { color: var(--accent); }
.rec p { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted-on-dark); min-height: 2.9em; }
.viz { margin-top: auto; padding-top: 22px; }
.viz-key { margin-top: 10px; font-size: 12px; color: var(--muted-on-dark); }

/* rolling digits */
.odo { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.odo-strip { display: flex; flex-direction: column; transition: transform 1.8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--delay, 0s); }
.odo-strip span { height: 1em; line-height: 1; }
.record.in .odo-strip { transform: translateY(calc(var(--to) * -1em)); }

/* $9B+: rising bars */
.viz-bars { display: flex; align-items: flex-end; gap: 5px; height: 96px; }
.viz-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 1px 1px; background: rgba(238,244,241,.14); transform: scaleY(0); transform-origin: bottom; transition: transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.3s + var(--i) * .07s); }
.viz-bars i:nth-last-child(-n+3) { background: linear-gradient(180deg, var(--accent), rgba(43,164,132,.45)); }
.viz-bars i:last-child { box-shadow: 0 0 18px rgba(43,164,132,.55); }
.record.in .viz-bars i { transform: scaleY(1); }

/* 30+: one hexagon per deal */
.viz-hex { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.viz-hex i { aspect-ratio: 1 / 1.12; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(238,244,241,.12); transition: background .3s ease, transform .3s ease; transition-delay: calc(.3s + var(--i) * .045s); }
.record.in .viz-hex i { background: var(--accent); }
.record.in .viz-hex i:nth-child(3n) { background: #3fc29d; }
.record.in .viz-hex i:nth-child(5n+2) { background: #1f8a6d; }

/* 25+: career ruler */
.ruler-track { position: relative; height: 34px; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(238,244,241,.12) 0 1px, transparent 1px calc(100% / 28)); border: 1px solid var(--line-dark); }
.seg { position: absolute; top: 4px; bottom: 4px; left: calc(var(--a) / 28 * 100% + 2px); width: calc((var(--b) - var(--a)) / 28 * 100% - 4px); border-radius: 5px; display: flex; align-items: center; padding-left: 7px; transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.seg em { font-style: normal; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.seg-usana { background: rgba(238,244,241,.85); color: var(--ink); transition-delay: .3s; }
.seg-ariix { background: var(--accent); color: var(--ink); transition-delay: .9s; }
.seg-now { background: transparent; border: 1.5px dashed var(--accent); color: var(--accent); transition-delay: 1.4s; }
.record.in .seg { transform: scaleX(1); }
.ruler-years { position: relative; height: 18px; margin-top: 6px; }
.ruler-years span { position: absolute; left: calc(var(--a) / 28 * 100%); font-size: 11px; color: var(--muted-on-dark); font-variant-numeric: tabular-nums; }

/* 9-fig: deal ticket */
.viz-ticket { position: relative; border-radius: 12px; padding: 14px 14px 12px; background: #eef4f1; color: var(--ink);
  -webkit-mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.viz.viz-ticket { margin-top: auto; }
.rec-exit .viz { padding-top: 0; }
.rec-exit p { margin-bottom: 22px; }
.ticket-row { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-stretch: 112%; font-size: 17px; }
.ticket-arrow { color: var(--accent-strong); font-weight: 700; }
.ticket-meta { display: block; margin-top: 6px; padding-top: 8px; border-top: 1px dashed rgba(18,29,25,.25); font-size: 11.5px; color: var(--muted); }
.stamp { position: absolute; right: 12px; bottom: 12px; font-family: var(--font-display); font-stretch: 112%; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); border: 2px solid var(--accent-strong); border-radius: 6px; padding: 3px 7px; transform: rotate(8deg) scale(1.6); opacity: 0; transition: transform .35s cubic-bezier(.3,1.6,.5,1) 1.6s, opacity .2s ease 1.6s; }
.record.in .stamp { transform: rotate(8deg) scale(1); opacity: .9; }

@media (max-width: 1100px) { .record { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .record { grid-template-columns: 1fr; } .rec p { min-height: 0; } }
@media (prefers-reduced-motion: reduce) {
  .odo-strip, .viz-bars i, .viz-hex i, .seg, .stamp { transition: none; }
}

/* ---------- Why PayHouse: Venn ---------- */
.venn { position: relative; aspect-ratio: 1000 / 500; max-width: 1080px; margin: 8px auto 0; }
.venn-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.venn-v { display: none; }
.v-circle { fill: var(--card); }
.v-ring { fill: none; stroke: rgba(18,29,25,.16); stroke-width: 1.5; }
.v-lens-fill { fill: var(--ink); }
.v-a, .v-b { transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.venn-h .v-a { transform: translateX(-90px); }
.venn-h .v-b { transform: translateX(90px); }
.venn-v .v-a { transform: translateY(-90px); }
.venn-v .v-b { transform: translateY(90px); }
.v-lens { opacity: 0; transition: opacity .6s ease .9s; }
.venn.in .v-a, .venn.in .v-b { transform: none; }
.venn.in .v-lens { opacity: 1; }

.v-text { position: absolute; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; transition: opacity .6s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); }
.v-text img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 12px; filter: drop-shadow(0 8px 14px rgba(18,29,25,.25)); }
.v-text small { font-size: 13px; font-weight: 600; color: var(--muted); }
.v-text b { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(18px, 2vw, 24px); margin-top: 2px; }
.v-text ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.v-text em { margin-top: 12px; font-style: normal; font-size: 13px; font-weight: 600; color: #b0412a; }
.v-left { left: 13%; width: 22%; }
.v-right { right: 13%; width: 22%; }
.v-center { left: 50%; width: 17%; transform: translate(-50%, -50%) scale(.9); opacity: 0; transition-delay: 1s; }
.venn:not(.in) .v-left { transform: translate(-90px, -50%); }
.venn:not(.in) .v-right { transform: translate(90px, -50%); }
.venn.in .v-center { transform: translate(-50%, -50%); opacity: 1; }
.v-center img { width: 52px; height: 58px; filter: drop-shadow(0 0 16px rgba(43,164,132,.7)); }
.v-center b { color: var(--text-on-dark); }
.v-center ul { color: var(--muted-on-dark); font-size: 13px; }
.v-center li { position: relative; }
.venn-caption { text-align: center; margin: 26px auto 52px; font-family: var(--font-display); font-stretch: 112%; font-weight: 650; font-size: clamp(20px, 2.2vw, 28px); }

@media (max-width: 1024px) {
  .v-text ul { font-size: 12.5px; gap: 4px; }
  .v-text img { width: 46px; height: 46px; margin-bottom: 8px; }
  .v-center ul { display: none; }
  .v-text em { font-size: 12px; }
}
@media (max-width: 760px) {
  .venn { aspect-ratio: 500 / 1000; max-width: 420px; }
  .venn-h { display: none; }
  .venn-v { display: block; }
  .v-text { left: 50%; width: 64%; transform: translateX(-50%); top: auto; }
  .v-left { top: 17%; }
  .v-right { top: auto; bottom: 17%; right: auto; }
  .v-left ul, .v-right ul { display: none; }
  .v-text em { margin-top: 8px; }
  .v-left img, .v-right img { width: 34px; height: 34px; margin-bottom: 4px; }
  .v-center { top: 50%; width: 52%; transform: translate(-50%, -50%) scale(.9); }
  .venn:not(.in) .v-left { transform: translate(-50%, -90px); }
  .venn:not(.in) .v-right { transform: translate(-50%, 90px); }
  .venn.in .v-left, .venn.in .v-right { transform: translateX(-50%); }
  .v-center img { width: 40px; height: 44px; margin-bottom: 6px; }
  .v-center b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-a, .v-b, .v-lens, .v-text { transition: none; }
}

/* ---------- Route to launch: five stops with previews ---------- */
.journey { margin-top: 26px; }
.route {
  position: relative; border-radius: 18px; padding: 30px 10px 30px;
  background: var(--paper) url("assets/map-texture.jpg") center / cover;
  border: 1px solid var(--line);
}
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.stop { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 9px; position: relative; min-width: 0; }
.stop-day { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.stop.is-today .stop-day, .stop.is-launch .stop-day { color: var(--accent-strong); }
.stop-body { display: flex; flex-direction: column; align-items: center; width: 100%; }
.stop-body p { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); min-height: 2.8em; }
.stop.is-launch .stop-title { color: var(--accent-strong); }
.stop.is-launch .pin { border-color: var(--accent-strong); }

.peek {
  margin-top: 16px; width: 100%; max-width: 230px; height: 158px; border-radius: 12px; overflow: hidden; position: relative;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(18,29,25,.45);
  text-align: left; font-size: 11.5px; color: var(--text);
  opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(.6s + var(--i) * .45s);
}
.schedule.in .peek { opacity: 1; transform: none; }
.peek-head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 11px; color: var(--muted); padding: 10px 12px 6px; }

/* 1. kickoff checklist */
.peek-kick ul { list-style: none; margin: 0; padding: 0 12px; display: grid; gap: 7px; }
.peek-kick li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.peek-kick li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121d19' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* 2. design approved */
.pd-frame { margin: 10px 10px 0; border-radius: 8px; border: 1px solid var(--line); overflow: hidden; background: #faf7f1; }
.pd-hero { height: 58px; background: #e8dcc8 url("assets/hero-products.jpg") 72% 60% / cover; }
.pd-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 6px; }
.pd-row i { height: 22px; border-radius: 4px; background: #ece6da; }
.pd-note { position: absolute; left: 10px; right: 10px; bottom: 9px; display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 9px; background: var(--ink); color: var(--text-on-dark); font-weight: 600; box-shadow: 0 8px 16px -8px rgba(0,0,0,.5); }
.pd-av { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; background: var(--accent); color: var(--ink); }

/* 3. store built */
.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 10px 0; }
.ps-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.ps-bar { display: flex; justify-content: space-between; align-items: center; margin: 10px 10px 0; padding-top: 9px; border-top: 1px solid var(--line); font-weight: 700; }
.ps-bar em { font-style: normal; font-size: 10.5px; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 8px; }

/* 4. order sync log */
.peek-sync { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }
.peek-sync .peek-head { color: var(--muted-on-dark); }
.sy-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(43,164,132,.25); animation: pulse 2s infinite; }
.peek-sync ul { list-style: none; margin: 0; padding: 0 10px; display: grid; gap: 6px; }
.peek-sync li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 8px; background: rgba(255,255,255,.05); font-variant-numeric: tabular-nums; }
.peek-sync li span { color: var(--muted-on-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek-sync li em { font-style: normal; font-weight: 700; font-size: 10.5px; color: var(--accent); }
.peek-sync li.pending em { color: var(--muted-on-dark); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* 5. live store */
.peek-live { border-color: rgba(43,164,132,.6); box-shadow: 0 0 0 4px rgba(43,164,132,.15), 0 18px 30px -18px rgba(18,29,25,.45); }
.peek-live .browser-bar { padding: 6px 8px; }
.peek-live .browser-bar span { font-size: 10px; }
.pl-shot { height: 88px; background: #e8dcc8 url("assets/hero-products.jpg") 72% 60% / cover; }
.pl-toast { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 7px 9px; border-radius: 9px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 18px -10px rgba(18,29,25,.5); font-size: 10.5px; color: var(--muted); }
.pl-toast b { color: var(--accent-strong); }

/* Below 1100px: vertical route, preview beside the text */
@media (max-width: 1100px) {
  .route { padding: 26px 22px 6px; }
  .route-line { display: none; }
  .stops { grid-template-columns: 1fr; }
  .stop { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; align-items: start; padding: 0 0 28px; }
  .stop::before { content: ""; position: absolute; left: 31px; top: 0; bottom: 0; border-left: 2px dashed rgba(18,29,25,.22); }
  .stop:last-child::before { bottom: auto; height: 40px; }
  .stop .ctile { grid-column: 1; grid-row: 1 / span 2; position: relative; z-index: 1; }
  .stop-day { grid-column: 2; grid-row: 1; margin: 2px 0 0; }
  .pin { display: none; }
  .stop-body { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: 1fr 250px; grid-template-rows: auto 1fr; column-gap: 28px; align-items: start; }
  .stop-body .stop-title { grid-column: 1; font-size: 20px; }
  .stop-body p { grid-column: 1; min-height: 0; font-size: 15px; margin-top: 4px; }
  .stop-body .peek { grid-column: 2; grid-row: 1 / span 2; margin-top: -18px; }
}
@media (max-width: 640px) {
  .route { padding: 22px 16px 4px; }
  .stop { grid-template-columns: 56px 1fr; column-gap: 14px; }
  .stop::before { left: 27px; }
  .stop .ctile { width: 56px; }
  .stop-body { display: flex; flex-direction: column; align-items: flex-start; }
  .stop-body .peek { margin-top: 12px; max-width: 100%; }
}

/* ---------- "If we started today": pinned scroll story ---------- */
/* the pinned panel fills the screen below the nav, so no empty track ever shows */
.scrolly { --panel: max(600px, calc(100vh - 100px)); position: relative; height: calc(var(--panel) + 4 * 62vh); margin-top: 26px; }
.sc-sticky {
  position: sticky; top: 84px; height: var(--panel); overflow: hidden;
  display: grid; grid-template-columns: .85fr 1.15fr; grid-template-rows: 1fr auto; gap: 0 40px; align-items: center;
  border-radius: 20px; padding: 34px 40px 26px; border: 1px solid var(--line);
  background: var(--paper) url("assets/map-texture.jpg") center / cover;
}
.sc-left { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.sc-kicker { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.sc-stage { position: relative; width: 300px; height: 250px; display: grid; place-items: center; }
.sc-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 236px; height: 236px; margin: -118px 0 0 -118px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(43,164,132,.35), transparent 62%), var(--ink); box-shadow: 0 30px 60px -30px rgba(18,29,25,.7); }
.sc-stage::after { content: ""; position: absolute; left: 50%; top: 50%; width: 280px; height: 280px; margin: -140px 0 0 -140px; border-radius: 50%; border: 1px dashed rgba(18,29,25,.2); }
.ctile-xl { width: 150px; border-radius: 22px; box-shadow: 0 30px 50px -24px rgba(18,29,25,.55); position: relative; z-index: 1; }
.ctile-xl .m { font-size: 15px; padding: 9px 0 7px; letter-spacing: .12em; background: var(--ink); color: #fff; }
.ctile-xl b { font-size: 72px; padding-top: 12px; }
.ctile-xl .w { font-size: 15px; padding: 4px 0 14px; }
.ctile-xl.is-launch { border-color: var(--accent); box-shadow: 0 0 0 8px rgba(43,164,132,.18), 0 30px 50px -24px rgba(18,29,25,.55); }
.ctile-xl.is-launch .m { background: var(--accent); color: var(--ink); }
.sc-float img { position: absolute; width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(18,29,25,.35)); animation: bob 5s ease-in-out infinite; }
.sc-float .f0 { left: 0; top: 6px; }
.sc-float .f1 { right: 0; top: 30px; width: 74px; height: 74px; animation-delay: -1.6s; }
.sc-float .f2 { right: 22px; bottom: -4px; width: 70px; height: 70px; animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(3deg); } }
.sc-date { margin: 14px 0 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 22px; color: var(--accent-strong); }

.sc-right { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.sc-day { font-size: 13px; font-weight: 600; color: var(--accent-strong); }
.sc-title { margin: 6px 0 16px; font-family: var(--font-display); font-stretch: 112%; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.sc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sc-list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 600; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255,255,255,.82); border: 1px solid var(--line); backdrop-filter: blur(4px); }
.sc-list img { width: 40px; height: 40px; flex: none; object-fit: contain; border-radius: 10px; padding: 3px; background: radial-gradient(60% 60% at 50% 55%, rgba(43,164,132,.3), transparent 75%), var(--ink); }
.sc-peek { margin-top: 18px; }
.sc-peek .peek { opacity: 1; transform: none; max-width: 300px; height: 150px; transition: none; }

/* progress rail */
.sc-rail { grid-column: 1 / -1; position: relative; display: flex; justify-content: space-between; margin-top: 18px; padding-top: 18px; }
.sc-rail::before, .sc-rail-fill { content: ""; position: absolute; top: 25px; left: 7px; right: 7px; height: 2px; background: rgba(18,29,25,.14); }
.sc-rail-fill { right: auto; background: var(--accent); transition: width .5s cubic-bezier(.2,.8,.2,1); max-width: calc(100% - 14px); }
.sc-rail button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.sc-rail button:first-of-type { align-items: flex-start; }
.sc-rail button:last-of-type { align-items: flex-end; }
.sc-rail button i { width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid rgba(18,29,25,.25); transition: all .3s ease; }
.sc-rail button.done i { background: var(--accent); border-color: var(--accent); }
.sc-rail button.active i { background: var(--accent); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(43,164,132,.22); }
.sc-rail button.active { color: var(--text); }

/* entrance on each date change */
.swap .ctile-xl { animation: flipIn .5s cubic-bezier(.2,.8,.2,1); }
.swap .sc-float img { animation: popIn .55s cubic-bezier(.3,1.5,.5,1) backwards, bob 5s ease-in-out .55s infinite; }
.swap .sc-float .f1 { animation-delay: .08s, -1s; }
.swap .sc-float .f2 { animation-delay: .16s, -2s; }
.swap .sc-date, .swap .sc-day, .swap .sc-title { animation: fadeUp .45s ease backwards; }
.swap .sc-list li { animation: fadeUp .45s ease backwards; }
.swap .sc-list li:nth-child(2) { animation-delay: .07s; }
.swap .sc-list li:nth-child(3) { animation-delay: .14s; }
.swap .sc-peek { animation: fadeUp .5s ease .18s backwards; }
@keyframes flipIn { from { transform: rotateX(70deg) translateY(-10px); opacity: 0; } }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } }
@keyframes fadeUp { from { transform: translateY(12px); opacity: 0; } }

@media (max-width: 1024px) {
  .sc-sticky { padding: 28px 28px 22px; gap: 0 24px; }
  .sc-stage { width: 250px; height: 220px; }
  .sc-stage::before { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
  .sc-stage::after { width: 236px; height: 236px; margin: -118px 0 0 -118px; }
  .sc-float img { width: 66px; height: 66px; }
  .sc-float .f1, .sc-float .f2 { width: 58px; height: 58px; }
}
@media (max-width: 760px) {
  .scrolly { --panel: max(560px, calc(100svh - 88px)); height: calc(var(--panel) + 4 * 70vh); }
  .sc-sticky { top: 76px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 20px 18px 84px; }
  .sc-kicker { font-size: 13px; }
  .sc-stage { width: 230px; height: 150px; }
  .sc-stage::before { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .sc-stage::after { width: 180px; height: 180px; margin: -90px 0 0 -90px; }
  .ctile-xl { width: 104px; border-radius: 16px; }
  .ctile-xl .m { font-size: 12px; padding: 6px 0 5px; }
  .ctile-xl b { font-size: 46px; padding-top: 8px; }
  .ctile-xl .w { font-size: 12px; padding-bottom: 9px; }
  .sc-float img { width: 52px; height: 52px; }
  .sc-float .f1, .sc-float .f2 { width: 46px; height: 46px; }
  .sc-float .f2 { right: 6px; bottom: 0; }
  .sc-date { font-size: 18px; margin-top: 6px; }
  .sc-right { justify-content: flex-start; margin-top: 14px; }
  .sc-title { font-size: 26px; margin-bottom: 12px; }
  .sc-list { gap: 7px; }
  .sc-list li { font-size: 13.5px; padding: 6px 10px 6px 6px; }
  .sc-list img { width: 32px; height: 32px; }
  .sc-peek { display: none; }
  .sc-rail { margin-top: 12px; padding-top: 14px; }
  .sc-rail::before, .sc-rail-fill { top: 21px; }
  .sc-rail button { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-float img, .swap .ctile-xl, .swap .sc-float img, .swap .sc-date, .swap .sc-day, .swap .sc-title, .swap .sc-list li, .swap .sc-peek { animation: none; }
}

/* ---------- Condensed scroll story ----------
   The pinned layer is transparent and fills the screen; only the compact card is visible,
   centred, so nothing reads as an empty box while the dates change. */
.schedule { background: none; border: 0; padding: 0; border-radius: 0; }
.schedule-head { padding-bottom: 0; border-bottom: 0; }
.schedule-note { border-top: 0; padding-top: 0; text-align: center; }
.scrolly { --panel: calc(100vh - 84px); height: calc(var(--panel) + 4 * 48vh); margin-top: 0; }
.sc-sticky { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 0; background: none; }
.sc-card {
  width: 100%; display: grid; grid-template-columns: .8fr 1.2fr; grid-template-rows: auto auto; gap: 0 36px; align-items: center;
  padding: 26px 34px 20px; border-radius: 20px; border: 1px solid var(--line);
  background: var(--paper) url("assets/map-texture.jpg") center / cover;
  box-shadow: 0 30px 60px -40px rgba(18,29,25,.35);
}
.sc-stage { width: 250px; height: 200px; }
.sc-stage::before { width: 186px; height: 186px; margin: -93px 0 0 -93px; }
.sc-stage::after { width: 222px; height: 222px; margin: -111px 0 0 -111px; }
.ctile-xl { width: 116px; border-radius: 18px; }
.ctile-xl .m { font-size: 12.5px; padding: 7px 0 6px; }
.ctile-xl b { font-size: 54px; padding-top: 9px; }
.ctile-xl .w { font-size: 13px; padding: 3px 0 10px; }
.sc-float img { width: 64px; height: 64px; }
.sc-float .f1, .sc-float .f2 { width: 56px; height: 56px; }
.sc-float .f2 { right: 18px; bottom: 0; }
.sc-date { font-size: 18px; margin-top: 8px; }
.sc-title { font-size: clamp(24px, 2.4vw, 32px); margin: 4px 0 12px; }
.sc-list { gap: 7px; }
.sc-list li { font-size: 14px; padding: 6px 12px 6px 6px; border-radius: 12px; }
.sc-list img { width: 32px; height: 32px; border-radius: 8px; }
.sc-peek { margin-top: 12px; }
.sc-peek .peek { height: 128px; max-width: 280px; }
.sc-rail { margin-top: 14px; padding-top: 14px; }
.sc-rail::before, .sc-rail-fill { top: 21px; }

@media (max-width: 1024px) {
  .sc-card { padding: 22px 24px 18px; gap: 0 22px; }
  .sc-stage { width: 220px; height: 190px; }
}
@media (max-width: 760px) {
  .scrolly { --panel: calc(100svh - 76px); height: calc(var(--panel) + 4 * 60vh); }
  .sc-sticky { top: 76px; padding: 0 0 72px; }
  .sc-card { display: flex; flex-direction: column; align-items: stretch; padding: 16px 16px 14px; }
  .sc-stage { width: 210px; height: 140px; margin: 0 auto; }
  .sc-stage::before { width: 132px; height: 132px; margin: -66px 0 0 -66px; }
  .sc-stage::after { width: 160px; height: 160px; margin: -80px 0 0 -80px; }
  .ctile-xl { width: 90px; border-radius: 14px; }
  .ctile-xl b { font-size: 40px; }
  .sc-float img { width: 44px; height: 44px; }
  .sc-float .f1, .sc-float .f2 { width: 40px; height: 40px; }
  .sc-date { font-size: 16px; margin-top: 4px; }
  .sc-right { margin-top: 10px; }
  .sc-title { font-size: 22px; margin-bottom: 10px; }
  .sc-list li { font-size: 13px; }
  .sc-list img { width: 28px; height: 28px; }
}

/* heading + countdown pin together with the card as one centred group */
.sc-group { width: 100%; }
.sc-group .schedule-head { margin-bottom: 18px; align-items: center; }
.sc-group .schedule-head h3 { margin-top: 6px; }
.sc-peek .peek { height: 142px; }
@media (max-width: 760px) {
  .sc-group .schedule-head { gap: 10px; margin-bottom: 12px; }
  .sc-group .schedule-head h3 { font-size: 20px; margin-top: 4px; }
  .sc-group .countdown { padding: 8px 12px 6px; }
  .sc-group .countdown small { display: none; }
  .sc-group .cd-units b { font-size: 20px; }
  .sc-group .cd-units span { min-width: 0; font-size: 10px; }
}

/* Not pinned: a normal, compact block whose date advances as it scrolls past */
.scrolly { height: auto; margin-top: clamp(40px, 5vw, 64px); }
.sc-sticky { position: static; height: auto; display: block; overflow: visible; }
@media (max-width: 760px) {
  .scrolly { height: auto; }
  .sc-sticky { padding: 0; }
}

/* ---------- Keep your back office ---------- */
.keep { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strikes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.strike { padding: 26px 26px 24px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.strike s { text-decoration: none; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.25; color: var(--legacy-ink);
  /* strike drawn as a background so it crosses every wrapped line */
  background: linear-gradient(#b0412a, #b0412a) left 58% / 0% 4px no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .7s cubic-bezier(.6,0,.2,1); }
.strike:nth-child(2) s { transition-delay: .25s; }
.strike:nth-child(3) s { transition-delay: .5s; }
.strikes.in .strike s { background-size: 100% 4px; }
/* hand-drawn style strike that draws across on reveal */
.strike p { margin: 14px 0 0; font-size: 15px; color: var(--muted); }
.strike-close { text-align: center; margin: 34px 0 48px; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(26px, 3vw, 38px); }

.keep-split { display: grid; grid-template-columns: 1fr 150px 1fr; align-items: stretch; }
.keep-col { border-radius: 20px; padding: 26px; }
.keep-stays { background: var(--paper); border: 1px dashed rgba(18,29,25,.25); }
.keep-gets { background: var(--ink); color: var(--text-on-dark); box-shadow: 0 30px 60px -30px rgba(18,29,25,.6); position: relative; overflow: hidden; }
.keep-gets::after { content: ""; position: absolute; right: -50px; top: -40px; width: 180px; height: 210px; background: url("assets/brand/payhouse-mark-green.svg") center / contain no-repeat; opacity: .08; }
.keep-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.keep-head small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.keep-gets .keep-head small { color: var(--accent); }
.keep-head b { font-family: var(--font-display); font-stretch: 112%; font-size: 22px; }
.lock, .spark { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; }
.lock { background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355625c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E") center / 20px no-repeat; }
.spark { background: rgba(43,164,132,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ba484'%3E%3Cpath d='M12 2l2.2 6.3L20.5 10l-6.3 2.2L12 18.5l-2.2-6.3L3.5 10l6.3-1.7z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.keep-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.keep-col li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; padding: 8px 12px 8px 8px; border-radius: 12px; }
.keep-col li img { width: 38px; height: 38px; flex: none; object-fit: contain; border-radius: 10px; padding: 3px; }
.keep-stays li { background: var(--card); border: 1px solid var(--line); color: var(--legacy-ink); }
.keep-stays li img { background: #8e9c95; filter: grayscale(1) brightness(1.05); }
.keep-gets li { background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.keep-gets li img { background: radial-gradient(60% 60% at 50% 55%, rgba(43,164,132,.35), transparent 75%), #0e1714; }

.keep-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 10px; }
.keep-line { flex: 1; width: 2px; background: repeating-linear-gradient(var(--accent) 0 6px, transparent 6px 12px); opacity: .6; }
.keep-mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--ink); box-shadow: 0 0 0 6px rgba(43,164,132,.15), 0 16px 30px -12px rgba(18,29,25,.6); }
.keep-mark img { width: 34px; height: 38px; filter: drop-shadow(0 0 10px rgba(43,164,132,.6)); }
.keep-link small { font-size: 12px; font-weight: 600; color: var(--accent-strong); text-align: center; }
.keep-note { text-align: center; margin: 22px auto 0; max-width: 640px; }

@media (min-width: 761px) {
  /* horizontal connector on wide screens */
  .keep-link { flex-direction: row; }
  .keep-line { height: 2px; width: auto; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
  .keep-link { position: relative; }
  .keep-link small { position: absolute; top: calc(50% + 42px); left: 0; right: 0; }
}
@media (max-width: 1024px) {
  .strikes { grid-template-columns: 1fr; }
  .keep-split { grid-template-columns: 1fr 96px 1fr; }
  .keep-link small { display: none; }
}
@media (max-width: 760px) {
  .keep-split { grid-template-columns: 1fr; }
  .keep-link { flex-direction: column; height: 120px; }
  .keep-link small { display: block; }
  .keep-col { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .strike s { transition: none; background-size: 100% 4px; } }

/* ---------- Why Shopify: ecosystem ---------- */
.eco-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(48px, 6vw, 72px); }
.eco-top > * { min-width: 0; }
.eco-top .section-head { margin-bottom: 0; }
.eco-card { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-dark);
  background: radial-gradient(70% 80% at 50% 100%, rgba(43,164,132,.25), transparent 70%), var(--ink-2); padding: 26px 0 26px; }
.eco-marquee { display: grid; gap: 12px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.eco-row { overflow: hidden; }
.eco-track { display: flex; gap: 12px; width: max-content; animation: eco 38s linear infinite; }
.eco-rev .eco-track { animation-direction: reverse; animation-duration: 44s; }
.eco-track span { width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 55%, rgba(43,164,132,.22), transparent 75%), #0e1714; border: 1px solid var(--line-dark); flex: none; }
.eco-track img { width: 60px; height: 60px; object-fit: contain; }
@keyframes eco { to { transform: translateX(calc(-50% - 6px)); } }
.eco-count { text-align: center; padding: 22px 24px 0; }
.eco-count b { display: block; font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: clamp(54px, 6.4vw, 88px); line-height: 1; color: var(--accent); letter-spacing: -0.01em; }
.eco-count span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted-on-dark); }

.nodev-title { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 20px; }
.nodev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nodev article { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 18px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-dark); transition: border-color .2s ease, transform .2s ease; min-width: 0; }
.nodev article:hover { border-color: rgba(43,164,132,.5); transform: translateY(-2px); }
.nd-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 55%, rgba(43,164,132,.3), transparent 75%), #0e1714; border: 1px solid var(--line-dark); }
.nd-icon img { width: 44px; height: 44px; object-fit: contain; }
.nodev b { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 17px; font-weight: 650; }
.nodev p { margin: 5px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted-on-dark); }
.nodev em { position: absolute; top: 18px; right: 16px; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; color: var(--accent); background: rgba(43,164,132,.12); }

.cost { margin-top: clamp(48px, 6vw, 72px); }
.cost h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 16px; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cost-col { border-radius: 18px; padding: 22px 24px; }
.cost-col small { display: block; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.cost-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cost-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.cost-col li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 10px; }
.cost-old { border: 1px dashed rgba(238,244,241,.2); color: var(--muted-on-dark); }
.cost-old small { color: #e08a75; }
.cost-old li::before { background-color: rgba(176,65,42,.25); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e08a75' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.cost-new { background: rgba(43,164,132,.1); border: 1px solid rgba(43,164,132,.4); }
.cost-new small { color: var(--accent); }
.cost-new li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121d19' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); }

.ai-band { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 26px 30px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(43,164,132,.28), rgba(43,164,132,.06) 60%), var(--ink-2); border: 1px solid rgba(43,164,132,.35); position: relative; overflow: hidden; }
.ai-icon { width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; background: #0e1714; box-shadow: 0 0 0 1px rgba(43,164,132,.4), 0 0 40px -6px rgba(43,164,132,.6); }
.ai-icon img { width: 76px; height: 76px; object-fit: contain; animation: bob 5s ease-in-out infinite; }
.ai-band small { font-size: 13px; font-weight: 700; color: var(--accent); }
.ai-band h3 { margin: 4px 0 8px; font-size: clamp(22px, 2.4vw, 30px); }
.ai-band p { margin: 0; font-size: 15px; color: var(--muted-on-dark); max-width: 760px; }
.eco-note { margin-top: 16px; }

@media (max-width: 1024px) {
  .eco-top { grid-template-columns: 1fr; }
  .nodev { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nodev { grid-template-columns: 1fr; }
  .nodev article { flex-direction: row; align-items: flex-start; padding-right: 76px; }
  .cost-grid { grid-template-columns: 1fr; }
  .ai-band { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .ai-icon { width: 72px; height: 72px; }
  .ai-icon img { width: 58px; height: 58px; }
  .eco-track span { width: 64px; height: 64px; }
  .eco-track img { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .eco-track, .ai-icon img { animation: none; } }
.eco-top .section-head h2 { font-size: clamp(36px, 4.3vw, 58px); }
.nodev-more { margin: 16px 0 0; font-size: 15px; color: var(--muted-on-dark); }
.nd-icon { flex: none; }

/* ---------- Keep your back office: annotated product shot ---------- */
.kv { position: relative; max-width: 1120px; margin: 0 auto; }
.kv-stage { position: relative; width: 1120px; height: 640px; transform-origin: 0 0; }
/* back office window (muted, the system that stays) */
.bo { position: absolute; left: 0; top: 70px; width: 640px; height: 450px; border-radius: 14px; overflow: hidden; background: #f3f4f3; border: 1px solid #d5dad7; box-shadow: 0 30px 60px -30px rgba(18,29,25,.4); font-family: var(--font-body); color: #4a524e; }
.bo-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #e4e8e6; border-bottom: 1px solid #d5dad7; }
.bo-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c2c9c5; }
.bo-bar span { margin-left: 10px; flex: 1; font-size: 11px; color: #7b847f; background: #f6f7f6; border-radius: 6px; padding: 3px 10px; }
.bo-bar em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #55625c; background: #dfe4e1; border-radius: 999px; padding: 3px 9px 3px 22px; position: relative; }
.bo-bar em::before { content: ""; position: absolute; left: 8px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355625c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.bo-body { display: grid; grid-template-columns: 138px 1fr; height: calc(100% - 34px); }
.bo-nav { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: #e9ecea; border-right: 1px solid #d5dad7; font-size: 12px; }
.bo-nav b { font-size: 12px; color: #2f3733; margin: 0 6px 10px; }
.bo-nav span { padding: 7px 8px; border-radius: 7px; color: #6b7570; }
.bo-nav span.on { background: #fff; color: #2f3733; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.bo-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bo-head { display: flex; justify-content: space-between; align-items: flex-end; }
.bo-head small { display: block; font-size: 11px; color: #7b847f; }
.bo-head b { font-size: 16px; color: #2f3733; }
.bo-pill { font-size: 10.5px; font-weight: 600; background: #e4e8e6; border-radius: 999px; padding: 4px 9px; }
.bo table { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #e0e4e2; }
.bo th { text-align: left; font-size: 10.5px; font-weight: 600; color: #7b847f; padding: 8px 10px; background: #f6f7f6; border-bottom: 1px solid #e0e4e2; }
.bo td { padding: 8px 10px; border-bottom: 1px solid #eef0ef; font-variant-numeric: tabular-nums; }
.bo tr:last-child td { border-bottom: 0; }
.bo td .av { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: #d5dad7; vertical-align: -4px; margin-right: 7px; }
.bo .st { font-size: 10.5px; font-weight: 600; background: #eef0ef; color: #6b7570; border-radius: 999px; padding: 2px 8px; }
.bo tr.synced td { background: rgba(43,164,132,.12); color: #1b3a30; font-weight: 600; transition: background .4s ease; }
.bo tr.synced .av { background: var(--accent); }
.bo tr.synced .st { background: var(--accent); color: var(--ink); }
.bo-foot { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #7b847f; margin-top: auto; }
.tree { display: grid; grid-template-columns: repeat(7, 16px); gap: 6px; }
.tree b { height: 16px; border-radius: 50%; background: #d5dad7; }
.tree b:nth-child(3) { background: rgba(43,164,132,.55); }

/* phone with the new store */
.ph { position: absolute; left: 700px; top: 10px; width: 270px; height: 560px; border-radius: 44px; padding: 10px; background: #0b1310; box-shadow: 0 40px 80px -30px rgba(18,29,25,.7), inset 0 0 0 2px #26332e; z-index: 2; }
.ph-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #faf7f1; color: #1a1714; }
.ph-status { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 11px; font-weight: 700; }
.ph-nav { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 8px; }
.ph-nav b { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 24px; }
.ph-cart { width: 26px; height: 26px; border-radius: 50%; background: #1a1714; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.ph-chip { margin: 0 12px; display: flex; align-items: center; gap: 7px; padding: 6px 10px 6px 6px; border-radius: 999px; background: #fff; border: 1.5px solid var(--accent); font-size: 11px; font-weight: 600; box-shadow: 0 0 0 4px rgba(43,164,132,.15); }
.ph-chip i { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #e8b48a, #b5683d); }
.ph-hero { margin: 10px 12px 0; height: 150px; border-radius: 16px; background: #e8dcc8 url("assets/hero-products.jpg") 72% 60% / cover; position: relative; }
.ph-hero span { position: absolute; left: 10px; bottom: 10px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.92); padding: 5px 9px; border-radius: 999px; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px; }
.ph-grid div { background: #fff; border-radius: 12px; padding: 6px; }
.ph-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.ph-grid b { display: block; font-size: 11px; margin-top: 5px; }
.ph-grid small { font-size: 10.5px; color: #6d655a; }
.ph-pay { position: absolute; left: 12px; right: 12px; bottom: 16px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: #5a31f4; color: #fff; font-size: 13px; font-weight: 700; }

/* the order wire */
.kv-wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.kv-wire path { fill: none; stroke-linecap: round; }
.kv-wire-bg { stroke: rgba(43,164,132,.25); stroke-width: 6; }
.kv-wire-fg { stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 5 7; animation: wire 1s linear infinite; }
@keyframes wire { to { stroke-dashoffset: -12; } }
.kv-pkt { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(43,164,132,.9)); }
.kv-sync { position: absolute; left: 556px; top: 384px; z-index: 4; font-size: 11.5px; font-weight: 700; color: var(--ink); background: var(--accent); padding: 6px 11px; border-radius: 999px; box-shadow: 0 10px 20px -8px rgba(43,164,132,.7); white-space: nowrap; }

/* callouts with leader lines (Rains-style) */
.co { position: absolute; z-index: 5; display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.3; max-width: 220px; }
.co b { font-family: var(--font-display); font-stretch: 112%; font-size: 15px; font-weight: 700; color: var(--text); }
.co span { color: var(--muted); }
.co i { width: 1.5px; margin: 8px 0 0 6px; background: currentColor; position: relative; }
.co i::after { content: ""; position: absolute; bottom: -5px; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(18,29,25,.08); }
.co-up i { margin: 0 0 8px 6px; }
.co-up i::after { bottom: auto; top: -5px; }
.co-old { color: #8e9c95; }
.co-old b::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e9c95' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.co-new { color: var(--accent); }
.co-new b { color: var(--accent-strong); }
.co-side { padding-left: 18px; max-width: 130px; }
.co-side::before { content: ""; position: absolute; left: -30px; top: 9px; width: 40px; height: 1.5px; background: currentColor; }
.co-side::after { content: ""; position: absolute; left: -34px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(43,164,132,.18); }

/* reveal: the synced row lights up and the wire draws in */
.kv:not(.in) .bo tr.synced td { background: #fff; }
.kv:not(.in) .kv-wire, .kv:not(.in) .kv-sync { opacity: 0; }
.kv .kv-wire, .kv .kv-sync { transition: opacity .6s ease .6s; }

/* text lists: hidden on desktop (callouts carry it), shown on small screens */
.kv-lists { display: none; }
.kv-lists > div { border-radius: 16px; padding: 18px 20px; background: var(--paper); border: 1px dashed rgba(18,29,25,.22); }
.kv-lists .kv-new { background: var(--ink); color: var(--text-on-dark); border: 0; }
.kv-lists small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.kv-lists .kv-new small { color: var(--accent); }
.kv-lists ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; }
.kv-lists li { display: flex; gap: 9px; align-items: flex-start; }
.kv-lists li::before { content: ""; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: #8e9c95; flex: none; }
.kv-lists .kv-new li::before { background: var(--accent); }

@media (max-width: 900px) {
  .co { display: none; }
  .kv-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
}
@media (max-width: 560px) { .kv-lists { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .kv-wire-fg { animation: none; } .kv-pkt { display: none; } }
.keep-note { margin-top: 28px; }

/* ---------- Solution: exploded isometric stack ---------- */
.stack-wrap { position: relative; max-width: 1120px; margin: 0 auto; }
.stack-stage { position: relative; width: 1120px; height: 560px; transform-origin: 0 0; }
.iso { position: absolute; left: 50%; top: 418px; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(-45deg); }
.plate { position: absolute; left: -130px; top: -130px; width: 260px; height: 260px; border-radius: 26px; transform-style: preserve-3d;
  transform: translateZ(var(--z, 0px)); transition: transform 1.1s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, filter .3s ease; }
/* thickness: a darker slab just under each plate */
.plate::before { content: ""; position: absolute; inset: 0; border-radius: inherit; transform: translateZ(-14px); background: var(--edge); }
.p-engine { --zb: 0px; --zm: 0px; --edge: #0b1210; background: #1d2a25; border: 1.5px dashed rgba(238,244,241,.28); }
.p-layer  { --zb: 26px; --zm: 180px; --edge: #17735b; background: var(--accent); box-shadow: 0 0 80px rgba(43,164,132,.55); }
.p-shop   { --zb: 52px; --zm: 360px; --edge: #c9d3ce; background: #f6f8f7; }
.plate { --z: calc(var(--zb) + (var(--zm) - var(--zb)) * var(--spread, 1)); }
.plate.hot { filter: brightness(1.08); }
.p-shop.hot { box-shadow: 0 0 0 4px var(--accent); }
.p-engine.hot { box-shadow: 0 0 0 3px rgba(238,244,241,.5); }

/* plate surfaces */
.pl-shop { position: absolute; inset: 18px; display: grid; grid-template-rows: 80px 1fr 24px; gap: 9px; }
.pl-hero { border-radius: 12px; background: #e8dcc8 url("assets/hero-products.jpg") 70% 60% / cover; }
.pl-prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pl-prods i { border-radius: 10px; background: #fff center / cover; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.pl-btn { border-radius: 999px; background: #5a31f4; }
.pl-layer { position: absolute; inset: 0; display: grid; place-items: center; }
.pl-layer img { width: 80px; height: 90px; position: relative; z-index: 1; transform: rotateZ(45deg); }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 2px solid rgba(18,29,25,.35); transform: translate(-50%, -50%); }
.r1 { width: 150px; height: 150px; }
.r2 { width: 214px; height: 214px; border-style: dashed; animation: spin 30s linear infinite; }
@keyframes spinc { to { transform: translate(-50%, -50%) rotate(360deg); } }
.r2 { animation-name: spinc; }
.pl-engine { position: absolute; inset: 0; display: grid; place-items: center; }
.pl-engine b { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-size: 15px; color: rgba(238,244,241,.55); transform: rotateZ(45deg) translateY(40px); }
.pl-tree { display: grid; grid-template-columns: repeat(4, 22px); grid-template-rows: repeat(2, 22px); gap: 18px 26px; transform: rotateZ(45deg); }
.pl-tree i { border-radius: 50%; background: rgba(238,244,241,.22); }
.pl-tree i:first-child { grid-column: 2 / span 2; justify-self: center; width: 22px; background: rgba(238,244,241,.45); }
.pl-lock { position: absolute; top: 24px; left: 24px; width: 30px; height: 30px; border-radius: 9px; background: rgba(238,244,241,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef4f1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* beams: data moving between plates (2D overlay at the stack's centre line) */
.beam { position: absolute; left: calc(50% - 1px); width: 2px; top: 120px; height: 298px; background: repeating-linear-gradient(rgba(238,244,241,.25) 0 4px, transparent 4px 9px); opacity: 0; transition: opacity .6s ease 1s; }
.b-down { margin-left: -26px; }
.b-up { margin-left: 26px; }
.stack-wrap.in .beam { opacity: 1; }
.beam i { position: absolute; left: -4px; width: 10px; height: 10px; border-radius: 50%; }
.b-down i { background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: down 2.6s linear infinite; }
.b-up i { background: #eef4f1; box-shadow: 0 0 10px rgba(238,244,241,.8); animation: up 3.1s linear infinite; }
.beam i:nth-child(2) { animation-delay: -1.3s; }
@keyframes down { from { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { top: 100%; opacity: 0; } }
@keyframes up { from { top: 100%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { top: 0; opacity: 0; } }
.flow-tag { position: absolute; top: 184px; font-size: 12px; font-weight: 600; color: var(--muted-on-dark); white-space: nowrap; opacity: 0; transition: opacity .6s ease 1.2s; }
.ft-down { right: calc(50% + 40px); }
.ft-up { left: calc(50% + 40px); }
.stack-wrap.in .flow-tag { opacity: 1; }

/* labels with leader lines (Mercury-style), hover lifts the layer (Rox-style) */
.lbl { position: absolute; width: 300px; text-align: right; background: none; border: 0; padding: 0; color: var(--text-on-dark); cursor: default; }
.lbl small { display: block; font-size: 12px; font-weight: 700; color: var(--accent); }
.lbl b { display: block; margin-top: 4px; font-family: var(--font-display); font-stretch: 112%; font-size: 22px; font-weight: 700; }
.lbl span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--muted-on-dark); }
.lbl::after { content: ""; position: absolute; top: 12px; width: 120px; height: 1.5px; background: linear-gradient(90deg, rgba(238,244,241,.5), rgba(238,244,241,.1)); }
.lbl::before { content: ""; position: absolute; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--text-on-dark); }
.lbl:not(.lbl-right)::after { left: calc(100% + 18px); background: linear-gradient(90deg, rgba(238,244,241,.1), rgba(238,244,241,.5)); }
.lbl:not(.lbl-right)::before { left: calc(100% + 138px); }
.lbl-right { text-align: left; }
.lbl-right::after { right: calc(100% + 18px); }
.lbl-right::before { right: calc(100% + 138px); }
.lbl-shop { left: 60px; top: 108px; }
.lbl-layer { right: 60px; top: 257px; }
.lbl-layer small { color: var(--accent); }
.lbl-engine { left: 60px; top: 406px; }
.lbl-engine small { color: #9fb1a9; }
.lbl:hover b { color: var(--accent); }

.stack-list { display: none; }

@media (max-width: 900px) {
  .lbl, .flow-tag { display: none; }
  /* plates spread further apart so each label gets its own row */
  .stack-wrap { overflow: hidden; }
  .stack-stage { height: 720px; }
  .iso { top: 560px; }
  .p-layer { --zb: 30px; --zm: 260px; }
  .p-shop { --zb: 60px; --zm: 520px; }
  .beam { top: 129px; height: 431px; }
  .stack-list { display: block; position: absolute; inset: 0; }
  .stack-list > div {
    position: absolute; width: var(--lw, 200px); left: calc(var(--x0, 0px) + 384px * var(--s, .36) + 26px);
    top: calc(var(--y) * var(--s, .36) * 1px); transform: translateY(-27px);
    color: var(--text-on-dark); opacity: 0; transition: opacity .5s ease 1s;
  }
  .stack-wrap.in .stack-list > div { opacity: 1; }
  /* leader line from the plate's right corner to the label */
  .stack-list > div::before { content: ""; position: absolute; right: calc(100% + 4px); top: 27px; width: 18px; height: 1.5px; background: rgba(238,244,241,.45); }
  .stack-list > div::after { content: ""; position: absolute; right: calc(100% + 20px); top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--text-on-dark); }
  .stack-list .sl-layer::after { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
  .stack-list small { display: block; font-size: 11px; font-weight: 700; color: rgba(238,244,241,.7); line-height: 16px; }
  .stack-list .sl-layer small { color: var(--accent); }
  .stack-list .sl-engine small { color: #9fb1a9; }
  .stack-list b { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 16px; line-height: 22px; }
  .stack-list p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--muted-on-dark); }
}
@media (prefers-reduced-motion: reduce) {
  .plate { transition: none; }
  .beam i, .r2 { animation: none; }
}
.ft-up { top: 334px; }

/* ---------- Direct-selling commerce ---------- */
.ds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ds-grid > * { min-width: 0; }
.ds-copy h2 { margin: 18px 0 20px; font-size: clamp(34px, 4.2vw, 54px); }
.ds-copy .lede { margin-bottom: 26px; }
.ds-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ds-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; line-height: 1.35; }
.ds-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121d19' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }

.ds-demo { position: relative; }
.ds-demo::before { content: ""; position: absolute; inset: -40px; background: radial-gradient(closest-side, rgba(43,164,132,.22), transparent); pointer-events: none; }
.ds-tabs { position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--line-dark); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.ds-tabs::-webkit-scrollbar { display: none; }
.ds-tabs button { flex: 1 0 auto; padding: 9px 14px; border: 0; border-radius: 999px; background: none; color: var(--muted-on-dark); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.ds-tabs button:hover { color: var(--text-on-dark); }
.ds-tabs button.on { background: var(--accent); color: var(--ink); }
.ds-card { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; border-radius: 20px; overflow: hidden; background: #faf7f1; color: #1a1714; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.ds-img { position: relative; background: #efe7da; }
.ds-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.ds-who { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.94); padding: 6px 10px; border-radius: 999px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }
.ds-body { padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.ds-body small { font-size: 12px; color: #8a8072; font-weight: 600; }
.ds-name { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1; }
.ds-price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.ds-price .now { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 34px; font-variant-numeric: tabular-nums; }
.ds-price .was { font-size: 16px; color: #9a9184; text-decoration: line-through; }
.ds-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-tags span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #e6f3ea; color: #1d7d63; }
.ds-steps { display: flex; gap: 6px; }
.ds-steps span { flex: 1; text-align: center; font-size: 11.5px; font-weight: 700; padding: 6px 4px; border-radius: 8px; background: #efe9de; color: #8a8072; }
.ds-steps span.on { background: var(--ink); color: #fff; }
.ds-btn { margin-top: auto; height: 46px; border: 0; border-radius: 999px; background: #1a1714; color: #fff; font-size: 14px; font-weight: 700; }
.ds-note { margin: 0; font-size: 12.5px; color: #6d655a; line-height: 1.45; }
.ds-fine { margin-top: 12px; text-align: right; }
.ds-card.swap .now, .ds-card.swap .ds-tags, .ds-card.swap .ds-who, .ds-card.swap .ds-btn, .ds-card.swap .ds-note, .ds-card.swap .ds-steps { animation: fadeUp .35s ease backwards; }
.ds-card.swap .ds-tags { animation-delay: .05s; }
.ds-card.swap .ds-btn { animation-delay: .1s; }

@media (max-width: 1024px) {
  .ds-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ds-list { grid-template-columns: 1fr; }
  .ds-card { grid-template-columns: 1fr; }
  .ds-img img { aspect-ratio: 16 / 10; }
  .ds-tabs { border-radius: 14px; }
}
.ds-steps[hidden] { display: none; }
.ds { overflow: hidden; }
@media (max-width: 560px) {
  .ds-tabs { flex-wrap: wrap; justify-content: center; }
  .ds-tabs button { flex: 1 1 auto; padding: 8px 12px; font-size: 13px; }
}

/* ---------- Hero deal ticket: start today → live on day 45, or $0 ---------- */
.deal {
  position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: stretch;
  max-width: 820px; margin: 4px auto 12px; text-align: left;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px;
}
.deal small { display: block; font-size: 12.5px; color: var(--muted-on-dark); margin-bottom: 3px; white-space: nowrap; }
.deal b { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--text-on-dark); white-space: nowrap; }
.deal-end { padding: 18px 24px; display: flex; flex-direction: column; justify-content: center; }
.deal-end.live b { color: var(--accent); }
.deal-track { position: relative; align-self: center; height: 2px; margin: 0 4px; background: linear-gradient(90deg, rgba(238, 244, 241, 0.28), var(--accent)); }
.deal-track::before, .deal-track::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); }
.deal-track::before { left: 0; background: var(--text-on-dark); }
.deal-track::after { left: 100%; background: var(--accent); box-shadow: 0 0 0 5px rgba(43, 164, 132, 0.2); }
.deal-days {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  padding: 4px 12px; border-radius: 999px; background: var(--ink); border: 1px solid rgba(43, 164, 132, 0.55);
  font-size: 13px; color: var(--muted-on-dark); white-space: nowrap;
}
.deal-days b { display: inline; font-size: 15px; color: var(--text-on-dark); margin-right: 2px; }
.deal-run { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(43, 164, 132, 0.9); transform: translate(-50%, -50%); animation: dealRun 3.2s cubic-bezier(.55, 0, .35, 1) infinite; }
@keyframes dealRun { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .deal-run { display: none; } }
.deal-stub {
  position: relative; padding: 18px 26px; display: flex; flex-direction: column; justify-content: center;
  border-left: 2px dashed rgba(238, 244, 241, 0.2); border-radius: 0 17px 17px 0;
  background: linear-gradient(135deg, rgba(43, 164, 132, 0.22), rgba(43, 164, 132, 0.08));
}
.deal-stub b { color: var(--accent); }
/* ticket notches on the perforation */
.deal-stub::before, .deal-stub::after {
  content: ""; position: absolute; left: -10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.12);
}
.deal-stub::before { top: -10px; clip-path: inset(50% 0 0 0); }
.deal-stub::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.deal-fine { margin: 0 auto 30px; font-size: 13px; color: var(--muted-on-dark); }
.deal-fine sup a { color: inherit; }
.hero.is-vsl .deal, .hero.is-vsl .deal-fine { display: none; }

@media (max-width: 760px) {
  .deal { grid-template-columns: 1fr 1fr; grid-template-areas: "start live" "track track" "stub stub"; }
  .deal-end { padding: 16px 18px 10px; }
  .deal-end.start { grid-area: start; }
  .deal-end.live { grid-area: live; text-align: right; }
  .deal-track { grid-area: track; margin: 14px 18px 22px; }
  .deal b { font-size: 19px; }
  .deal-stub {
    grid-area: stub; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 14px 18px; border-left: 0; border-top: 2px dashed rgba(238, 244, 241, 0.2); border-radius: 0 0 17px 17px;
  }
  .deal-stub::before, .deal-stub::after { top: -10px; bottom: auto; clip-path: none; }
  .deal-stub::before { left: -10px; clip-path: inset(0 0 0 50%); }
  .deal-stub::after { left: auto; right: -10px; clip-path: inset(0 50% 0 0); }
  .deal-fine { font-size: 12px; text-wrap: balance; }
}

/* ---------- Bridge: direct sales on Shopify, with and without PayHouse ---------- */
.bridge { overflow: hidden; }
.bridge-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.bridge-copy h2 { font-size: clamp(32px, 3.6vw, 50px); margin: 18px 0 20px; text-wrap: balance; }
.bridge-copy .lede { margin-bottom: 18px; }
.bridge-say { font-size: 17px; line-height: 1.55; color: var(--muted-on-dark); margin: 0 0 28px; max-width: 560px; }
.bridge-say strong { color: var(--text-on-dark); font-weight: 600; }
.bridge-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.bridge-pillars li { padding: 16px 16px 0 0; }
.bridge-pillars li + li { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.bridge-pillars b { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 20px; color: var(--accent); margin-bottom: 4px; }
.bridge-pillars span { font-size: 13.5px; line-height: 1.4; color: var(--muted-on-dark); }

.br-panel { background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.7); }
.br-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.br-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.br-toggle button { font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted-on-dark); background: none; border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.br-toggle button[aria-selected="true"] { background: var(--text-on-dark); color: var(--ink); }
.br-panel[data-mode="after"] .br-toggle button[aria-selected="true"] { background: var(--accent); color: #fff; }
.br-score { display: flex; align-items: center; gap: 10px; text-align: left; }
.br-score b { font-family: var(--font-display); font-stretch: 112%; font-size: 40px; line-height: 1; color: #e07a62; transition: color .3s; min-width: 1ch; }
.br-panel[data-mode="after"] .br-score b { color: var(--accent); }
.br-score span { font-size: 12px; line-height: 1.3; color: var(--muted-on-dark); }

.br-group + .br-group { margin-top: 14px; }
.br-group h4 { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-dark); margin: 0 0 6px 4px; font-family: inherit; font-stretch: normal; }
.br-group ul { list-style: none; margin: 0; padding: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.07); }
.br-row { --d: 0ms; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255, 255, 255, 0.025); }
.br-row + .br-row { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.br-row::before {
  content: "✕"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font-size: 11px; font-weight: 700; color: #e07a62; background: rgba(176, 65, 42, 0.18);
  transition: background .35s var(--d), color .35s var(--d);
}
.br-row[data-tone="warn"]::before { content: "~"; color: var(--legacy); background: rgba(142, 156, 149, 0.16); font-size: 14px; }
.br-row b { display: block; font-size: 15px; font-weight: 600; color: var(--text-on-dark); }
.br-row span { display: block; font-size: 13px; color: var(--muted-on-dark); margin-top: 1px; }
.br-chip { display: grid; font-style: normal; justify-items: end; }
.br-chip i { grid-area: 1 / 1; font-style: normal; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; transition: opacity .3s var(--d), transform .35s var(--d); }
.br-chip .before { color: #e07a62; background: rgba(176, 65, 42, 0.16); }
.br-row[data-tone="warn"] .br-chip .before { color: var(--legacy); background: rgba(142, 156, 149, 0.14); }
.br-chip .after { color: #fff; background: var(--accent); opacity: 0; transform: translateY(6px); }
.br-panel[data-mode="after"] .br-row::before { content: "✓"; color: #fff; background: var(--accent); font-size: 12px; }
.br-panel[data-mode="after"] .br-chip .before { opacity: 0; transform: translateY(-6px); }
.br-panel[data-mode="after"] .br-chip .after { opacity: 1; transform: none; }
.br-fine { margin: 16px 4px 0; color: var(--muted-on-dark); }
@media (prefers-reduced-motion: reduce) { .br-row::before, .br-chip i { transition: none; } }

@media (max-width: 1024px) { .bridge-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .br-panel { padding: 16px; border-radius: 18px; }
  .br-head { flex-direction: column; align-items: stretch; }
  .br-toggle button { flex: 1; padding: 9px 8px; font-size: 13px; }
  .br-score { justify-content: center; }
  .br-row { grid-template-columns: 22px minmax(0, 1fr); row-gap: 8px; align-items: start; }
  .br-chip { grid-column: 2; justify-items: start; }
  .bridge-pillars { grid-template-columns: minmax(0, 1fr); }
  .bridge-pillars li, .bridge-pillars li + li { padding: 12px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

/* ---------- Autoship + saved-card migration band (inside the bridge section) ---------- */
.mig { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px clamp(32px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 6vw, 80px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.mig-copy h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 14px 0 14px; text-wrap: balance; }
.mig-copy h3 .serif { color: var(--accent); }
.mig-copy p { font-size: 16.5px; line-height: 1.6; color: var(--muted-on-dark); margin: 0 0 20px; max-width: 520px; }
.mig-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--text-on-dark); }
.mig-checks li { display: inline-flex; align-items: center; gap: 7px; }

.mig-demo { display: grid; grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); align-items: center; }
.mig-card { position: relative; border-radius: 16px; padding: 16px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.1); }
.mig-card.from { background: #e9e6dc; border-color: #cfcabb; color: #3a3a34; font-family: Verdana, Tahoma, sans-serif; border-radius: 4px; }
.mig-card.to { background: var(--card); border-color: transparent; color: var(--ink); box-shadow: 0 0 0 1px rgba(43, 164, 132, 0.5), 0 24px 60px -30px rgba(43, 164, 132, 0.6); }
.mig-card small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; opacity: .7; }
.mig-prod { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mig-prod img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; flex: none; }
.mig-card.from .mig-prod img { border-radius: 0; filter: saturate(.5) contrast(.9); border: 1px solid #b9b3a2; }
.mig-prod b { display: block; font-size: 14.5px; }
.mig-prod span { display: block; font-size: 12.5px; opacity: .7; }
.mig-card dl { margin: 0; display: grid; gap: 6px; }
.mig-card dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding-top: 6px; border-top: 1px dashed rgba(0, 0, 0, 0.12); }
.mig-card dt { opacity: .65; }
.mig-card dd { margin: 0; font-weight: 600; white-space: nowrap; }
.mig-brand { position: absolute; top: -10px; right: 12px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #8e9c95; color: #fff; font-family: var(--font-body, Inter, sans-serif); }
.mig-card.to .mig-brand { background: var(--accent); }

.mig-pipe { position: relative; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, rgba(43, 164, 132, 0.7) 0 6px, transparent 6px 11px); }
.mig-pipe::after { content: ""; position: absolute; right: -2px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.mig-pipe i { position: absolute; top: 50%; left: 0; width: 18px; height: 12px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 12px rgba(43, 164, 132, 0.8); transform: translate(-50%, -50%); animation: migMove 2.6s ease-in-out infinite; }
.mig-pipe span { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); font-size: 11px; line-height: 1.25; text-align: center; color: var(--muted-on-dark); width: 80px; }
@keyframes migMove { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mig-pipe i { display: none; } }
.mig-fine { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted-on-dark); }

@media (max-width: 1024px) { .mig { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .mig-demo { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mig-pipe { height: 56px; width: 2px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(43, 164, 132, 0.7) 0 6px, transparent 6px 11px); }
  .mig-pipe::after { right: auto; left: 50%; top: auto; bottom: -2px; transform: translateX(-50%) rotate(135deg); }
  .mig-pipe i { width: 12px; height: 18px; left: 50%; top: 0; animation-name: migMoveY; }
  .mig-pipe span { top: 50%; left: 14px; transform: translateY(-50%); text-align: left; width: max-content; }
  @keyframes migMoveY { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
}

/* ---------- Bridge visual (Higgsfield render + HTML labels) ---------- */
.bridge-lede { margin-bottom: 8px; }
.bridge-art { position: relative; margin: 36px -2% 0 -3%; }
.bridge-art img { display: block; width: 100%; height: auto; }
.ba-pin, .ba-tag { position: absolute; white-space: nowrap; font-size: 13px; font-weight: 700; line-height: 1; }
.ba-pin { transform: translate(-50%, calc(-100% - 22px)); padding: 7px 11px; border-radius: 999px; color: #fff; background: rgba(23, 36, 31, 0.92); border: 1px solid rgba(43, 164, 132, 0.7); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6); }
.ba-pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 20px; background: linear-gradient(rgba(43, 164, 132, 0.9), rgba(43, 164, 132, 0)); }
.ba-pay { left: 33.4%; top: 47.8%; }
.ba-cash { left: 48.1%; top: 39.9%; }
.ba-spend { left: 60.8%; top: 24.8%; }
.ba-tag { transform: translateX(-50%); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted-on-dark); }
.ba-shop { left: 15.9%; top: 93.6%; }
.ba-field { left: 81.9%; top: 2%; }
@media (max-width: 560px) {
  .bridge-art { margin: 40px -8px 20px; }
  .ba-pin { font-size: 11px; padding: 5px 8px; transform: translate(-50%, calc(-100% - 14px)); }
  .ba-pin::after { height: 12px; }
  .ba-tag { font-size: 10.5px; }
}

/* desktop: keep the bridge visual in view while the long compatibility panel scrolls */
@media (min-width: 1025px) {
  .bridge-grid { align-items: start; }
  .bridge-copy { position: sticky; top: 96px; }
}

/* ---------- Stack scroll story (enabled by app.js; static fully-spread stack otherwise) ---------- */
.stack-scroll.on { height: 300vh; margin-top: -8vh; }
.stack-scroll.on .stack-pin { position: sticky; top: 68px; height: calc(100vh - 68px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stack-scroll.on .stack-wrap { width: 100%; }
.stack-scroll.on .plate { transition: transform .12s linear, box-shadow .3s ease, filter .3s ease, opacity .35s ease; }
.stack-scroll.on .beam { opacity: var(--lab, 1); transition: none; }
.stack-scroll.on .lbl, .stack-scroll.on .stack-list > div { opacity: var(--lab, 1); transition: opacity .35s ease; }
/* spotlight: dim everything that isn't the focused layer */
.stack-wrap[data-focus="shop"] .plate:not(.p-shop),
.stack-wrap[data-focus="layer"] .plate:not(.p-layer),
.stack-wrap[data-focus="engine"] .plate:not(.p-engine) { opacity: .28; }
.stack-wrap[data-focus="shop"] .lbl:not(.lbl-shop),
.stack-wrap[data-focus="layer"] .lbl:not(.lbl-layer),
.stack-wrap[data-focus="engine"] .lbl:not(.lbl-engine),
.stack-wrap[data-focus="shop"] .stack-list > div:not(.sl-shop),
.stack-wrap[data-focus="layer"] .stack-list > div:not(.sl-layer),
.stack-wrap[data-focus="engine"] .stack-list > div:not(.sl-engine) { opacity: .25; }
.stack-wrap[data-focus="shop"] .p-shop { box-shadow: 0 0 0 4px var(--accent), 0 0 70px rgba(43,164,132,.45); }
.stack-wrap[data-focus="layer"] .p-layer { box-shadow: 0 0 0 4px #eef4f1, 0 0 110px rgba(43,164,132,.8); }
.stack-wrap[data-focus="engine"] .p-engine { box-shadow: 0 0 0 3px rgba(238,244,241,.7), 0 0 60px rgba(238,244,241,.15); border-style: solid; }
.stack-wrap[data-focus] .lbl b, .stack-wrap[data-focus] .stack-list b { transition: color .3s ease; }
.stack-wrap[data-focus="shop"] .lbl-shop b, .stack-wrap[data-focus="layer"] .lbl-layer b, .stack-wrap[data-focus="engine"] .lbl-engine b,
.stack-wrap[data-focus="shop"] .sl-shop b, .stack-wrap[data-focus="layer"] .sl-layer b, .stack-wrap[data-focus="engine"] .sl-engine b { color: var(--accent); }
/* progress dots under the stack */
.stack-steps { display: none; }
.stack-scroll.on .stack-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.stack-steps li { width: 8px; height: 8px; border-radius: 999px; background: rgba(238,244,241,.22); transition: width .3s ease, background .3s ease; }
.stack-steps li.on { width: 26px; background: var(--accent); }

/* ---------- Schedule carousel (autoplay + swipe) ---------- */
.sc-card { position: relative; touch-action: pan-y; }
.sc-arrow {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(18,29,25,.4);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.sc-arrow:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.sc-arrow.prev { left: -22px; }
.sc-arrow.next { right: -22px; }
/* slide in from the direction of travel */
.swap[data-dir="next"] .sc-left, .swap[data-dir="next"] .sc-right { animation: scSlideL .5s cubic-bezier(.2,.8,.2,1); }
.swap[data-dir="prev"] .sc-left, .swap[data-dir="prev"] .sc-right { animation: scSlideR .5s cubic-bezier(.2,.8,.2,1); }
@keyframes scSlideL { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes scSlideR { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
/* autoplay progress on the active rail stop */
.sc-rail button.active::after {
  content: ""; position: absolute; top: -2px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: conic-gradient(var(--accent) var(--p, 0%), transparent 0); mask: radial-gradient(circle, transparent 8px, #000 8.5px);
  -webkit-mask: radial-gradient(circle, transparent 8px, #000 8.5px); animation: scDwell var(--dwell, 4500ms) linear forwards;
}
.sc-rail button:first-of-type.active::after { left: 8px; }
.sc-rail button:last-of-type.active::after { left: auto; right: -3px; margin-left: 0; }
.sc-sticky:hover .sc-rail button.active::after { animation-play-state: paused; }
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes scDwell { to { --p: 100%; } }
@media (max-width: 760px) {
  .sc-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .swap[data-dir] .sc-left, .swap[data-dir] .sc-right, .sc-rail button.active::after { animation: none; }
}

/* ---------- Hero pop: feature chips, glowing ticket, shining CTA ---------- */
.hero-chips { list-style: none; padding: 0; margin: 0 auto 22px; max-width: 860px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-chips li {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px; border-radius: 999px; font-size: 15.5px; font-weight: 600; color: var(--text-on-dark);
  background: rgba(43, 164, 132, 0.1); border: 1px solid rgba(43, 164, 132, 0.45);
  box-shadow: 0 0 0 0 rgba(43, 164, 132, 0); opacity: 0; transform: translateY(8px) scale(.96);
  animation: chipIn .5s cubic-bezier(.2,.8,.2,1) calc(.25s + var(--i) * .08s) forwards, chipGlow 7.2s ease-in-out calc(1.4s + var(--i) * .6s) infinite;
}
.hero-chips .check { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.hero-chips li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 7.2s ease-in-out calc(1.4s + var(--i) * .6s) infinite; }
@keyframes chipIn { to { opacity: 1; transform: none; } }
@keyframes chipGlow { 0%, 12%, 100% { box-shadow: 0 0 0 0 rgba(43,164,132,0); border-color: rgba(43,164,132,.45); } 5% { box-shadow: 0 0 22px 2px rgba(43,164,132,.55); border-color: var(--accent); } }
@keyframes sheen { 0% { transform: translateX(-120%); } 10%, 100% { transform: translateX(120%); } }
.hero.is-vsl .hero-chips { display: none; }

/* ticket: a light that orbits the edge */
.deal { isolation: isolate; border-color: transparent; background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, conic-gradient(from var(--deal-a, 0deg), rgba(43,164,132,.15), rgba(43,164,132,.15) 60%, #5fe0b8 75%, rgba(43,164,132,.15) 90%) border-box; animation: dealOrbit 6s linear infinite; box-shadow: 0 24px 60px -30px rgba(43,164,132,.55); }
@property --deal-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes dealOrbit { to { --deal-a: 360deg; } }
.deal-stub { overflow: visible; background: linear-gradient(135deg, rgba(43,164,132,.32), rgba(43,164,132,.12)); }
.deal-stub b { font-size: 34px; line-height: 1; color: #5fe0b8; text-shadow: 0 0 24px rgba(95,224,184,.55); }
.deal-stub em {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(-12deg);
  font-style: normal; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #5fe0b8; padding: 4px 8px; border: 2px solid currentColor; border-radius: 6px; opacity: .85;
  animation: stamp .55s cubic-bezier(.3,1.6,.5,1) 1.1s backwards;
}
@keyframes stamp { from { opacity: 0; transform: translateY(-50%) rotate(-12deg) scale(2.2); } }
.deal-stub { padding-right: 82px; }

/* CTA: periodic light sweep */
.hero .cta-row .btn-primary { position: relative; overflow: hidden; }
.hero .cta-row .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-160%) skewX(-12deg); animation: ctaSweep 4.5s ease-in-out 2s infinite; }
@keyframes ctaSweep { 0% { transform: translateX(-160%) skewX(-12deg); } 22%, 100% { transform: translateX(360%) skewX(-12deg); } }

@media (max-width: 760px) {
  .hero-chips { gap: 7px; margin-bottom: 18px; }
  .hero-chips li { font-size: 13px; padding: 7px 12px 7px 9px; }
  .deal-stub b { font-size: 28px; }
  .deal-stub { padding-right: 18px; }
  .deal-stub em { position: static; transform: rotate(-8deg); margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-chips li { animation: none; opacity: 1; transform: none; }
  .hero-chips li::after, .hero .cta-row .btn-primary::after, .deal-stub em { animation: none; }
  .deal { animation: none; }
}

/* ---------- Hero ticket as a calendar ---------- */
.deal-end { align-items: center; gap: 8px; padding: 16px 20px; }
.deal-end small { margin: 0; text-align: center; }
.dpage { width: 66px; border-radius: 12px; overflow: hidden; background: #f6f8f7; text-align: center; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.dpage .m { display: block; padding: 4px 0 3px; background: #0d1613; color: #eef4f1; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.deal .dpage b { display: block; padding: 6px 0 1px; font-size: 30px; line-height: 1; color: var(--ink); text-shadow: none; }
.dpage .w { display: block; padding-bottom: 6px; font-size: 11px; color: #6b7872; }
.dpage.live { box-shadow: 0 0 0 2px var(--accent), 0 0 34px rgba(43,164,132,.55); animation: livePage 2.6s ease-in-out 2.4s infinite; }
.dpage.live .m { background: var(--accent); color: #0d1613; }
.deal-end.live .dpage b { color: var(--accent-strong); }
@keyframes livePage { 50% { box-shadow: 0 0 0 2px var(--accent), 0 0 48px rgba(95,224,184,.8); } }

.deal-cal { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; min-width: 0; }
.dc-months, .dc-grid { display: grid; grid-template-columns: repeat(var(--cols, 8), 14px); gap: 4px; }
.dc-months { width: 100%; justify-content: center; grid-template-columns: repeat(var(--cols, 8), 14px); }
.dc-months span { font-size: 10.5px; font-weight: 600; color: var(--muted-on-dark); white-space: nowrap; }
.dc-grid { grid-auto-flow: column; grid-template-rows: repeat(7, 14px); }
.dc-grid i { border-radius: 4px; background: rgba(238,244,241,.06); }
.dc-grid i.pre, .dc-grid i.post { background: none; box-shadow: inset 0 0 0 1px rgba(238,244,241,.06); }
.dc-grid i.on { animation: dcFill .35s ease calc(.5s + var(--d) * 32ms) both; }
.dc-grid i.start { background: #eef4f1; box-shadow: 0 0 0 2px rgba(238,244,241,.25); }
.dc-grid i.end { background: #5fe0b8; box-shadow: 0 0 10px 2px rgba(95,224,184,.7); animation: dcEnd 2.6s ease-in-out 2.4s infinite; }
@keyframes dcFill { from { background: rgba(238,244,241,.06); } to { background: var(--accent); } }
@keyframes dcEnd { 50% { box-shadow: 0 0 16px 5px rgba(95,224,184,.9); } }
.dc-cap { font-size: 12.5px; color: var(--muted-on-dark); }
.dc-cap b { display: inline; font-size: 13px; color: var(--text-on-dark); }
/* the months row needs the same column template as the grid */
.deal-cal { --cols: 8; }

@media (max-width: 760px) {
  .deal { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "start cal live" "stub stub stub"; }
  .deal-end { padding: 14px 10px 10px; gap: 6px; }
  .deal-end.start { grid-area: start; }
  .deal-end.live { grid-area: live; text-align: center; }
  .deal-cal { grid-area: cal; padding: 12px 0 8px; }
  .dpage { width: 56px; }
  .deal .dpage b { font-size: 24px; }
  .dc-months, .dc-grid { grid-template-columns: repeat(var(--cols, 8), 11px); gap: 3px; }
  .dc-grid { grid-template-rows: repeat(7, 11px); }
  .dc-months span { font-size: 9.5px; }
  .deal-end small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-grid i.on { animation: none; background: var(--accent); }
  .dc-grid i.end, .dpage.live { animation: none; }
}

/* ---------- Links to the demo store ---------- */
.hero-demo { font-size: 15px; font-weight: 600; color: var(--muted-on-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(238,244,241,.3); }
.hero-demo:hover { color: var(--accent); text-decoration-color: currentColor; }
.ds-store {
  display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 16px 18px; border-radius: 16px;
  background: rgba(43,164,132,.12); border: 1px solid rgba(43,164,132,.5); color: var(--text-on-dark); transition: background .2s, transform .2s;
}
.ds-store:hover { background: rgba(43,164,132,.2); transform: translateY(-1px); }
.ds-store b { display: block; font-size: 16px; }
.ds-store small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--muted-on-dark); }
.ds-store .arrow { flex: none; margin-left: auto; color: var(--accent); }
@media (max-width: 760px) { .hero-demo { width: 100%; text-align: center; } }
.ds-store, .ds-store * { text-decoration: none; }

/* ---------- NetFi Wallet: payments, subscriptions, payouts and SpendBack ---------- */
.netfi { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--muted); text-decoration: none; transition: color .2s ease; }
.netfi img { display: block; height: 30px; width: auto; flex: none; transition: transform .2s ease; }
.dark .netfi, .footer .netfi { color: var(--muted-on-dark); }
.netfi:hover { color: var(--text); }
.dark .netfi:hover, .footer .netfi:hover { color: var(--text-on-dark); }
.netfi:hover img { transform: translateY(-1px); }
.nf-i { display: inline-block; height: 1.05em; width: auto; margin: 0 .28em 0 .1em; vertical-align: -0.16em; }
a:has(> .nf-i) { color: inherit; text-decoration-color: rgba(17, 116, 198, .45); text-underline-offset: 3px; }

.hero-netfi { display: flex; justify-content: center; margin: -6px 0 22px; }
.br-h-netfi { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-right: 4px !important; }
.br-h-netfi .netfi { font-size: 11px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.br-h-netfi .netfi img { height: 26px; }
.mig-copy .netfi { margin-top: 18px; }
.ds-netfi { margin: 0 0 14px; }
.nodev em.nd-netfi { background: none; padding: 0; top: 16px; }
.nodev em.nd-netfi img { display: block; height: 20px; width: auto; }
.footer .netfi img { height: 28px; }
@media (max-width: 700px) {
  .netfi { font-size: 12px; gap: 7px; }
  .netfi img { height: 26px; }
  .hero-netfi .netfi { flex-direction: column; gap: 6px; }
}
