/* ShoeCare landing: "Docket & Stitch" (docs/BRAND.md, Landing). Tokens only; the stitch, perforation, care tag,
   risk dots and test box come from stitch.css. One hanging tag on the bench, then one long docket sheet cut by
   perforations, each section a numbered docket. Motion: the tag sways (transform only), the arrow is drawn once,
   the seal is stamped once, the tape runs; prefers-reduced-motion turns all of it off. */
.lp { --lp-gap: clamp(56px, 9vw, 104px); --lp-stub: 150px; --lp-edge: 0 1px 0 var(--line-strong), 0 5px 0 -2px var(--line); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.lp-wrap { max-width: var(--page-w); margin: 0 auto; padding: 0 var(--gutter); }
.lp-cap, .lp-eyebrow { font: 700 12px/1.3 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lp-mono { font: 13px/1.45 var(--mono); color: var(--ink); }
.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-h2 { font: 700 clamp(28px, 4vw, 44px)/1.08 var(--display); letter-spacing: -.01em; }
.lp-lede { max-width: 58ch; margin: 14px 0 30px; font-size: 18px; color: var(--muted); }
.lp-lede-big { font: 700 clamp(22px, 2.8vw, 30px)/1.28 var(--display); color: var(--ink); max-width: 34ch; }
.lp .btn.cta { min-height: 52px; padding: 13px 28px; font-size: 16px; }

/* ---------- hero ---------- */
.lp-hero { padding: clamp(92px, 12vw, 128px) 0 clamp(36px, 6vw, 64px); overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 32px; align-items: start; }
.lp-hero-copy { align-self: start; padding-top: clamp(16px, 4vw, 56px); }
.lp-h1 { margin: 14px 0 26px; font: 700 clamp(40px, 5.6vw, 72px)/1.04 var(--display); letter-spacing: -.01em; }
.lp-l1 { white-space: nowrap; }
.lp-here { position: relative; display: inline-block; white-space: nowrap; }
.lp-arrow { position: absolute; left: -2%; top: 88%; width: 112%; height: .56em; overflow: visible; color: var(--brand-ink); pointer-events: none; }
.lp-arrow path { fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .lp-arrow-line { animation: lp-draw .7s ease-out .5s both; }
  .lp-arrow-head { animation: lp-draw .3s ease-out 1.15s both; }
  @keyframes lp-draw { from { stroke-dashoffset: 1; opacity: 0; } 2% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
}
.lp-promise { max-width: 34em; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--ink); }
.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin: 32px 0 14px; }
.lp-quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-ink); font: 700 13px/1 var(--caps); letter-spacing: .14em; text-transform: uppercase; }
.lp-fine { color: var(--muted); font-size: 14px; }

/* the fan of three example tags */
.lp-hero-tags { display: grid; gap: 14px; justify-items: center; min-width: 0; }
.lp-fan { --W: clamp(236px, 26vw, 300px); position: relative; width: 100%; max-width: 560px; height: var(--fan-h, calc(var(--W) * 1.72 + 120px)); }
.lp-slot { position: absolute; left: 50%; top: 0; width: var(--W); margin-left: calc(var(--W) / -2); cursor: pointer; transform-origin: 50% 0; transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.lp-slot[data-pos="0"] { z-index: 3; transform: none; cursor: default; }
.lp-slot[data-pos="1"] { z-index: 2; transform: translate(calc(var(--W) * -.30), 22px) rotate(-6deg); }
.lp-slot[data-pos="2"] { z-index: 1; transform: translate(calc(var(--W) * .30), 36px) rotate(6deg); }
@media (prefers-reduced-motion: reduce) { .lp-slot { transition: none; } }
.lp-slot:not(.is-front):hover { transform-origin: 50% 0; }
.lp-slot[data-pos="1"]:hover { transform: translate(calc(var(--W) * -.35), 18px) rotate(-7deg); }
.lp-slot[data-pos="2"]:hover { transform: translate(calc(var(--W) * .35), 32px) rotate(7deg); }
.lp-fan[data-state="loading"] { min-height: 460px; }
.lp-fan[data-state="loading"] .lp-slot { transition: none; }
.lp-hang { padding-top: 52px; }
@media (prefers-reduced-motion: no-preference) {
  .lp-hang { transform-origin: 50% 0; animation: lp-sway 7s ease-in-out infinite alternate; }
  .lp-slot[data-pos="1"] .lp-hang { animation-delay: -2.4s; animation-duration: 8s; }
  .lp-slot[data-pos="2"] .lp-hang { animation-delay: -4.6s; animation-duration: 6.4s; }
  @keyframes lp-sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
}
.lp-tag { min-height: calc(var(--W) * 1.5); padding: 40px 14px 14px; filter: drop-shadow(0 2px 0 color-mix(in srgb, var(--k-ink) 35%, transparent)); }
.lp-tag > .stitch { min-height: 100%; display: flex; flex-direction: column; padding: 20px 16px 12px; }
.lp-ribbon { margin: -4px -6px 12px; padding: 5px 8px; background: var(--k-ink); color: var(--kraft); font: 700 9.5px/1.2 var(--caps); letter-spacing: .1em; text-transform: uppercase; text-align: center; border-radius: 2px; white-space: nowrap; }
.lp-ribbon-inline { margin: 0; flex: none; }
.lp-facts { display: grid; gap: 6px; align-content: start; flex: 1; }
.lp-fact { transition: opacity .2s; }
.lp-fk { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 20px; font: 700 10px/1.2 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--k-muted); }
.lp-tag .stitch--chip { font-size: 10px; padding: 3px 8px; }
.lp-tag .stitch--chip.stitch--confirmed { padding-left: 17px; }
.lp-tag .stitch--chip.stitch--confirmed .stitch__knot { left: 2px; width: 10px; height: 10px; margin-top: -5px; }
.lp-fv { margin-top: 1px; font: 700 14px/1.25 var(--font); color: var(--k-ink); overflow-wrap: anywhere; }
.lp-fv.is-mono { font: 11.5px/1.35 var(--mono); font-weight: 600; letter-spacing: -.01em; }
.lp-fv.is-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-checks { margin: 8px 0 0; padding-right: 86px; min-height: 56px; display: flex; flex-direction: column; justify-content: flex-end; font: 600 11.5px/1.3 var(--mono); color: var(--k-ink); }
.lp-checks b { font: 700 19px/1.1 var(--mono); white-space: nowrap; }
.lp-seal { position: absolute; right: 8px; bottom: 6px; width: 80px; height: 80px; color: var(--k-brand); transform: rotate(-14deg); opacity: .92; pointer-events: none; }
.lp-seal-ring { fill: none; stroke: currentColor; stroke-width: 3; } .lp-seal-thin { stroke-width: 1.4; }
.lp-seal-text { fill: currentColor; font: 700 11.5px/1 var(--caps); letter-spacing: 2.4px; }
.lp-seal-tick { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .lp-seal:not(.is-placed) { animation: lp-stamp .42s cubic-bezier(.2, .9, .3, 1.2) .7s both; }
  @keyframes lp-stamp { from { transform: rotate(-14deg) scale(1.18); opacity: 0; } to { transform: rotate(-14deg) scale(1); opacity: .92; } }
}
/* the legend: hovering or focusing a stitch dims every other line on the front tag */
.lp-fan[data-focus="observed"] .lp-fact:not([data-l="observed"]),
.lp-fan[data-focus="possible"] .lp-fact:not([data-l="possible"]),
.lp-fan[data-focus="confirmed"] .lp-fact:not([data-l="confirmed"]),
.lp-fan[data-focus="not_verifiable"] .lp-fact:not([data-l="not_verifiable"]) { opacity: .32; }
.lp-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-pk { display: grid; gap: 1px; min-height: 44px; padding: 7px 14px; text-align: left; background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); border-radius: var(--r); cursor: pointer; }
.lp-pk b { font: 700 13px/1.2 var(--caps); letter-spacing: .12em; text-transform: uppercase; }
.lp-pk span { font-size: 12px; color: var(--muted); }
.lp-pk:hover { border-color: var(--ink); }
.lp-pk[aria-pressed="true"] { background: var(--grain), var(--kraft); color: var(--k-ink); border-color: var(--k-ink); }
.lp-pk[aria-pressed="true"] span { color: var(--k-muted); }
.lp-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; margin: 0; padding: 0; list-style: none; }
.lp-lg { min-height: 44px; padding: 6px 4px; background: none; border: 0; cursor: pointer; }
.lp-ex-note { max-width: 40ch; min-height: 2.8em; text-align: center; font: 12px/1.4 var(--mono); color: var(--muted); }

/* ---------- the docket: one long sheet of card stock ---------- */
.lp-sheet { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--page-w) - 2 * var(--gutter)); margin: 0 auto; background: var(--surface); border-radius: var(--r); box-shadow: var(--lp-edge); }
.lp-cut { display: block; position: relative; margin: 0 24px; }
.lp-cut::before, .lp-cut::after { content: ""; position: absolute; top: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); }
.lp-cut::before { left: -31px; } .lp-cut::after { right: -31px; }
.lp-sec { display: grid; grid-template-columns: var(--lp-stub) 9px minmax(0, 1fr); gap: 0 32px; padding: clamp(32px, 5vw, 60px) clamp(20px, 3.4vw, 44px) clamp(32px, 5vw, 60px) 28px; scroll-margin-top: 16px; }
.lp-stub { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 6px; min-height: 200px; }
.lp-no { font: 700 30px/1 var(--mono); letter-spacing: -.02em; color: var(--ink); }
.lp-stubcap { font: 700 12px/1.3 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lp-stub::after { content: "CARE TAG · TEST HERE FIRST"; margin-top: 28px; writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; font: 700 11px/1 var(--caps); letter-spacing: .24em; color: var(--line-strong); }
.lp-body { min-width: 0; }
.lp-body > .lp-h2 { max-width: 20ch; }
.lp-aside { margin-top: 22px; max-width: 56ch; color: var(--muted); font-size: 15px; }

/* No. 01: the sewing sampler */
.lp-sampler { margin: 0; padding: 6px clamp(16px, 3vw, 32px); list-style: none; background: var(--grain), var(--kraft); color: var(--k-ink); border-radius: var(--r); box-shadow: var(--lp-edge); }
.lp-sampler li { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 20px 32px; align-items: center; padding: 20px 0; }
.lp-sampler li + li { border-top: 2px dotted color-mix(in srgb, var(--k-ink) 40%, transparent); }
.lp-sample { --st-t: 3px; --st-dash: 14px; --st-gap: 5px; min-height: 72px; display: grid; place-items: center; padding: 14px; }
.lp-sample.stitch--possible { --st-dash: 5px; --st-gap: 10px; }
.lp-sample.stitch--confirmed { --st-dash: 12px; --st-gap: 5px; }
.lp-sample-word { font: 700 15px/1 var(--caps); letter-spacing: .14em; text-transform: uppercase; }
.lp-sample.stitch--possible .lp-sample-word { color: var(--k-warn); } .lp-sample.stitch--confirmed .lp-sample-word { color: var(--k-brand); } .lp-sample.stitch--nv .lp-sample-word { color: var(--k-nv); }
.lp-sample.stitch--nv { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--k-nv) 22%, transparent) 0 1px, transparent 1px 7px), var(--kraft); border-color: var(--k-nv); }
.lp-sampler h3 { font: 700 18px/1.3 var(--font); color: var(--k-ink); }
.lp-sampler p { margin-top: 4px; color: var(--k-muted); }

/* No. 02: the workshop card and its switch */
.lp-control { display: grid; gap: 8px; margin-bottom: 22px; }
.lp-control-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.lp-switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font: 700 16px/1.2 var(--font); color: var(--ink); text-align: left; }
.lp-switch-track { position: relative; flex: none; width: 52px; height: 28px; background: var(--surface-2); border: 2px solid var(--line-strong); border-radius: var(--r); transition: background .2s, border-color .2s; }
.lp-switch-track i { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: var(--line-strong); border-radius: 2px; transition: transform .2s, background .2s; }
.lp-switch[aria-checked="true"] .lp-switch-track { background: var(--brand); border-color: var(--brand); }
.lp-switch[aria-checked="true"] .lp-switch-track i { transform: translateX(24px); background: var(--brand-fg); }
@media (prefers-reduced-motion: reduce) { .lp-switch-track, .lp-switch-track i { transition: none; } }
.lp-state { display: inline-flex; align-items: center; gap: 8px; font: 14px/1.3 var(--font); }
.lp-hint { max-width: 60ch; color: var(--muted); font-size: 15px; }
.lp-wcard { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: var(--lp-edge); overflow: hidden; }
.lp-wc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 20px; padding: 16px 20px; background: var(--grain), var(--kraft); color: var(--k-ink); }
.lp-wc-head .lp-cap { color: var(--k-muted); }
.lp-wc-basis { margin-top: 4px; max-width: 62ch; font-size: 15px; color: var(--k-ink); }
.lp-wcard > :not(.lp-wc-head) { margin-left: 20px; margin-right: 20px; }
.lp-test { margin-top: 20px; }
.lp-test h3 { font-size: 15px; }
.lp-test > p { font-size: 16px; max-width: 70ch; }
.lp-wmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 8px; }
.lp-rev { font: 700 12px/1 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--ok); }
.lp-need { font-size: 13px; color: var(--warn); }
.lp-basis { margin-top: 8px; font: 12px/1.5 var(--mono); color: var(--muted); }
.lp-wmeta .lp-basis { margin: 0; }
.lp-wsteps { list-style: none; margin-top: 18px; margin-bottom: 0; padding: 0; display: grid; gap: 0; }
.lp-wstep { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 4px 10px; padding: 16px 6px; border-top: 1px solid var(--line); }
.lp-wstep.stitch { --st-in: 3px; --st-bg: var(--surface); margin: 8px -8px; padding: 18px 16px 20px; border-top: 0; }
.lp-wn { font: 700 22px/1 var(--mono); color: var(--muted); }
.lp-wstep h4 { font: 700 16px/1.3 var(--font); }
.lp-wstep p { margin-top: 3px; max-width: 66ch; }
.lp-wstep .lp-basis { margin-top: 8px; }
.lp-wstep .lp-wmeta { margin-top: 10px; }
.lp-avoid { margin-top: 20px; margin-bottom: 0; padding: 20px 22px; }
.lp-avoid h3 { font: 700 13px/1.2 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--nv); margin-bottom: 8px; }
.lp-avoid ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.lp-waiting { margin-top: 18px; margin-bottom: 20px; padding-left: 12px; border-left: 3px dashed var(--warn); color: var(--ink); max-width: 66ch; }
.lp-wcard > :last-child { margin-bottom: 20px; }

/* No. 03: the four limits as the unstitched tag */
.lp-limits { padding: clamp(22px, 3.4vw, 40px); background-color: var(--surface); }
.lp-limits ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.lp-limits li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 8px; }
.lp-limn { font: 700 40px/1 var(--display); color: var(--nv); }
.lp-limits p { font-size: 19px; line-height: 1.45; color: var(--ink); }
.lp-limits b { margin-right: .4em; font: 700 13px/1.2 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--nv); }

/* No. 04: stub-and-body dockets */
.lp-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.lp-steps li { display: grid; grid-template-columns: 148px 9px minmax(0, 1fr); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; }
.lp-step-stub { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 18px 12px; background: var(--grain), var(--kraft); color: var(--k-ink); }
.lp-step-stub svg { width: 76px; height: 52px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-step-stub svg .lp-dash { stroke-dasharray: 4 4; }
.lp-step-stub b { font: 700 18px/1 var(--mono); }
.lp-steps .perf { background-color: var(--kraft); background-image: radial-gradient(circle, var(--line-strong) 1.4px, transparent 2px); background-size: 9px 9px; background-repeat: repeat-y; }
.lp-step-body { padding: 20px 24px; align-self: center; }
.lp-step-body h3 { font: 700 20px/1.25 var(--display); }
.lp-step-body p { margin-top: 6px; max-width: 60ch; color: var(--muted); }

/* No. 05: the pieces of a report, laid out by hand */
.lp-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 24px; align-items: start; padding: clamp(20px, 3vw, 36px); background: var(--surface-2); border: 2px dashed var(--line-strong); border-radius: var(--r); }
.lp-board[data-state="loading"] { min-height: 420px; }
.lp-piece { margin: 0; background: var(--surface); padding: 18px; border-radius: var(--r); box-shadow: var(--lp-edge); border: 1px solid var(--line); }
.lp-piece figcaption { margin-top: 12px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.lp-p-tag { grid-column: 1 / span 4; grid-row: 1 / span 2; --W: 250px; justify-self: center; background: none; border: 0; box-shadow: none; padding: 0; }
.lp-p-tag .lp-hang { animation: none; }
.lp-p-wear { grid-column: 5 / span 8; }
.lp-p-swatch { grid-column: 5 / span 4; }
.lp-p-pair { grid-column: 9 / span 4; }
@media (min-width: 900px) { .lp-p-swatch { transform: rotate(-1.2deg); } .lp-p-pair { transform: rotate(1deg); margin-top: 18px; } .lp-p-wear { transform: rotate(.4deg); } }
.lp-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-sw { --st-in: 5px; padding: 18px; display: grid; gap: 12px; }
.lp-sw-bands { display: flex; height: 92px; border: 1px solid var(--line-strong); }
.lp-sw-bands i { flex: 1; }
.lp-sw-name { font: 700 12px/1.2 var(--caps); letter-spacing: .14em; text-transform: uppercase; }
.lp-wm { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.wz { outline: none; }
.wz .wz-base { fill: transparent; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.wz--light .wz-base { fill: var(--wear-1); } .wz--moderate .wz-base { fill: var(--wear-2); } .wz--heavy .wz-base { fill: var(--wear-3); }
.wz--unseen .wz-base { stroke: var(--nv); stroke-dasharray: 5 4; fill: transparent; }
.wz .wz-pat { pointer-events: none; }
.wm-ink { fill: var(--ink); } .wm-line { stroke: var(--ink); stroke-width: 1.2; fill: none; }
.wm-tag { fill: var(--muted); font: 700 11px var(--caps); letter-spacing: .2em; }
.wz:hover .wz-base, .wz:focus-visible .wz-base { stroke: var(--brand); stroke-width: 3.2; }
.lp-wm-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 0; list-style: none; font: 700 12px/1 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.lp-wm-key li { display: inline-flex; align-items: center; gap: 8px; }
.lp-wm-key svg { width: 22px; height: 15px; }
.lp-wm-cap { min-height: 2.9em; color: var(--ink); font-weight: 600; }
.lp-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.lp-pair-sw { --st-in: 5px; min-height: 124px; display: grid; place-items: center; align-content: center; gap: 4px; padding: 18px 8px; text-align: center; font: 700 11px/1.2 var(--caps); letter-spacing: .12em; text-transform: uppercase; }
.lp-pair-sw.stitch--possible { color: var(--warn); } .lp-pair-sw.stitch--nv { color: var(--nv); }
.lp-big { font: 700 48px/1 var(--display); letter-spacing: 0; color: var(--ink); }
.lp-join { display: grid; justify-items: center; gap: 4px; padding: 0 4px; }
.lp-join-line { display: block; width: clamp(24px, 4vw, 44px); border-top: 2px dashed var(--ink); }
.lp-join .lp-mono { font-weight: 700; font-size: 12px; }

/* No. 06: privacy */
.lp-priv { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.lp-priv li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.lp-priv svg { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-priv p { font-size: 17px; }
.lp-priv b { display: block; font: 700 17px/1.3 var(--font); }

/* No. 07: Enterprise, a framed kraft docket */
.lp-ent { padding: var(--lp-gap) 0 0; }
.lp-ent-frame { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px 44px; padding: clamp(28px, 5vw, 56px); background: var(--grain), var(--kraft); color: var(--k-ink); border: 2px solid var(--k-ink); border-radius: var(--r); box-shadow: var(--lp-edge); }
.lp-ent-frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--k-ink); border-radius: 2px; pointer-events: none; opacity: .6; }
.lp-ent-no { position: absolute; right: 22px; top: 18px; font: 700 13px/1 var(--mono); font-style: normal; color: var(--k-muted); }
.lp-eyebrow { color: var(--k-muted); }
.lp-ent-l { align-self: center; }
.lp-ent-l .lp-h2 { margin: 12px 0 16px; max-width: 14ch; color: var(--k-ink); }
.lp-ent-l p { color: var(--k-ink); max-width: 46ch; }
.lp-ent-btn { margin-top: 26px; min-height: 48px; background: transparent; color: var(--k-ink); border: 2px solid var(--k-ink); }
.lp-ent-btn:hover { background: var(--k-ink); color: var(--kraft); border-color: var(--k-ink); }
.lp-ent-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lp-ent-grid li { padding: 20px; background: var(--surface); color: var(--ink); border: 1px solid var(--k-ink); border-radius: var(--r); box-shadow: var(--lp-edge); }
.lp-ei { width: 36px; height: 36px; margin-bottom: 10px; fill: none; stroke: var(--brand-ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lp-ent-grid h3 { font: 700 17px/1.25 var(--font); }
.lp-ent-grid p { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* the repair-ticket tape */
.lp-who { padding: var(--lp-gap) 0 calc(var(--lp-gap) * .7); }
.lp-who .lp-cap { margin-bottom: 18px; }
.lp-tape { overflow: hidden; padding: 6px 0; }
.lp-tape-track { display: flex; width: max-content; }
.lp-tape-ul { display: flex; flex: none; gap: 14px; margin: 0; padding: 0 7px; list-style: none; }
.lp-tape-ul li { position: relative; padding: 14px 30px; background: var(--grain), var(--kraft); color: var(--k-ink); font: 700 14px/1 var(--caps); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; border-radius: 2px; box-shadow: 0 1px 0 var(--line-strong); }
.lp-tape-ul li::before, .lp-tape-ul li::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--bg); }
.lp-tape-ul li::before { left: -5px; } .lp-tape-ul li::after { right: -5px; }
@media (prefers-reduced-motion: no-preference) {
  .lp-tape-track { animation: lp-tape 46s linear infinite; }
  .lp-tape:hover .lp-tape-track { animation-play-state: paused; }
  @keyframes lp-tape { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .lp-tape-track { width: auto; }
  .lp-tape-ul { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); row-gap: 12px; }
  .lp-tape-dup { display: none; }
}

/* FAQ */
.lp-faq { padding: calc(var(--lp-gap) * .5) 0 var(--lp-gap); }
.lp-faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 56px; }
.lp-faq .lp-h2 { max-width: 12ch; position: sticky; top: 24px; align-self: start; }
.lp-qs { border-bottom: 1px solid var(--line-strong); }
.lp-qs details { border-top: 1px solid var(--line-strong); }
.lp-qs summary { position: relative; display: flex; align-items: center; min-height: 56px; padding: 14px 44px 14px 0; font: 700 18px/1.3 var(--font); cursor: pointer; list-style: none; }
.lp-qs summary::-webkit-details-marker { display: none; }
.lp-qs summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .2s; }
.lp-qs details[open] summary::after { transform: rotate(45deg); }
.lp-qs summary:focus-visible { box-shadow: var(--ring); }
.lp-qs details p { margin: 0 0 20px; max-width: 62ch; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .lp-qs summary::after { transition: none; } }

/* the closing strip and footer */
.lp-final { position: relative; padding: clamp(40px, 6vw, 64px) 0; background: var(--grain), var(--kraft); color: var(--k-ink); }
.lp-final::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; bottom: 10px; pointer-events: none;
  --run: var(--k-ink) 0 10px, transparent 10px 15px;
  background: repeating-linear-gradient(90deg, var(--run)) 0 0 / 100% 2px no-repeat, repeating-linear-gradient(90deg, var(--run)) 0 100% / 100% 2px no-repeat; }
.lp-final-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.lp-final h2 { font: 700 clamp(32px, 6vw, 56px)/1.05 var(--display); letter-spacing: -.01em; color: var(--k-ink); }
.lp-foot { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
.lp-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.lp-foot nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.lp-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font: 700 12px/1 var(--caps); letter-spacing: .14em; text-transform: uppercase; }
.lp-foot a:hover { color: var(--ink); }

/* ---------- 1099 and down: the stub folds into a strip above its section ---------- */
@media (max-width: 1099px) {
  .lp-sec { grid-template-columns: minmax(0, 1fr); gap: 16px 0; padding: 32px clamp(18px, 4vw, 36px); }
  .lp-stub { position: static; flex-direction: row; align-items: baseline; gap: 16px; min-height: 0; }
  .lp-stub::after { display: none; }
  .lp-no { font-size: 22px; }
  .lp-perf { width: auto; height: 9px; order: 2; background-repeat: repeat-x; }
  .lp-perf { margin: -4px 0 4px; order: 0; grid-row: 2; }
  .lp-body { grid-row: 3; }
  .lp-cut { margin: 0 14px; } .lp-cut::before { left: -21px; } .lp-cut::after { right: -21px; }
}
@media (max-width: 899px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-fan { --W: min(250px, 66vw); }
  .lp-slot[data-pos="1"] { transform: translate(calc(var(--W) * -.30), 18px) rotate(-5deg); }
  .lp-slot[data-pos="2"] { transform: translate(calc(var(--W) * .30), 30px) rotate(5deg); }
  .lp-slot[data-pos="1"]:hover { transform: translate(calc(var(--W) * -.33), 16px) rotate(-6deg); }
  .lp-slot[data-pos="2"]:hover { transform: translate(calc(var(--W) * .33), 28px) rotate(6deg); }
  .lp-sampler li { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-limits ol, .lp-priv { grid-template-columns: minmax(0, 1fr); }
  .lp-steps li { grid-template-columns: minmax(0, 1fr); }
  .lp-step-stub { grid-auto-flow: column; justify-content: start; padding: 12px 16px; gap: 14px; }
  .lp-step-stub svg { width: 56px; height: 38px; }
  .lp-steps .perf { width: auto; height: 9px; background-repeat: repeat-x; }
  .lp-board { grid-template-columns: minmax(0, 1fr); }
  .lp-p-tag, .lp-p-wear, .lp-p-swatch, .lp-p-pair { grid-column: 1; grid-row: auto; transform: none; margin-top: 0; }
  .lp-ent-frame, .lp-faq-in { grid-template-columns: minmax(0, 1fr); }
  .lp-faq .lp-h2 { position: static; max-width: none; }
}
@media (max-width: 520px) {
  .lp-ent-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-wcard > :not(.lp-wc-head) { margin-left: 14px; margin-right: 14px; }
  .lp-wstep { grid-template-columns: 30px minmax(0, 1fr); }
  .lp-actions .btn.cta { width: 100%; }
  .lp-final-in .btn.cta { width: 100%; }
  .lp-ent-btn { width: 100%; }
  .lp-sheet { width: calc(100% - 24px); }
}
@media print { .lp-slot { transition: none; } .lp-hang { animation: none; } }
@media (forced-colors: active) { .lp-seal-ring, .lp-seal-tick { stroke: CanvasText; } .lp-sample.stitch--nv { background: Canvas; } }

/* the closing CTA sits on kraft in both themes: a cobalt thread button in the kraft inks keeps its contrast */
.lp-final .btn.cta { background: var(--k-brand); border-color: var(--k-brand); color: var(--kraft); }
.lp-final .btn.cta::before { border-color: color-mix(in srgb, var(--kraft) 55%, transparent); }
.lp-final .btn.cta:hover { background: var(--k-ink); border-color: var(--k-ink); color: var(--kraft); }
