/* PackWise public pages: landing, privacy, error. Concept: a luggage tag / airmail slip on kraft paper.
   Self-contained on purpose: it defines the brand tokens itself (docs/BRAND.md) so a public page never
   depends on the dashboard stylesheet. All classes are lp-*. */
:root {
  color-scheme: light;
  --bg: #F3ECDD; --surface: #FBF8F0; --ink: #16202B; --muted: #6A685F; --line: #D8CCB2;
  --brand: #1E4FD0; --brand-ink: #173FA8; --on-brand: #FFFFFF; --stripe: #D6322E;
  --ok: #237A4B; --warn: #B76A00; --warn-ink: #8A5000; --bad: #B3261E; --info: #1E4FD0;
  --lp-case: #3A4658; --lp-lining: #E4D8BD; --lp-shadow: 0 1px 0 rgba(22,32,43,.06), 0 14px 30px -18px rgba(22,32,43,.45);
  --lp-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --lp-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --lp-sans: ui-sans-serif, system-ui, -apple-system, "SF Pro Text", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lp-w: 1180px; --lp-g: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0F1620; --surface: #172131; --ink: #ECE7DA; --muted: #9AA3AE; --line: #2B3A4F;
    --brand: #7EA2FF; --brand-ink: #A9C0FF; --on-brand: #0B1220; --stripe: #F26A66;
    --ok: #4CC38A; --warn: #F0A93B; --warn-ink: #F0A93B; --bad: #FF7A70; --info: #7EA2FF;
    --lp-case: #0A0F17; --lp-lining: #1B2738; --lp-shadow: 0 14px 30px -18px rgba(0,0,0,.8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F1620; --surface: #172131; --ink: #ECE7DA; --muted: #9AA3AE; --line: #2B3A4F;
  --brand: #7EA2FF; --brand-ink: #A9C0FF; --on-brand: #0B1220; --stripe: #F26A66;
  --ok: #4CC38A; --warn: #F0A93B; --warn-ink: #F0A93B; --bad: #FF7A70; --info: #7EA2FF;
  --lp-case: #0A0F17; --lp-lining: #1B2738; --lp-shadow: 0 14px 30px -18px rgba(0,0,0,.8);
}

body.lp { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--lp-sans); -webkit-font-smoothing: antialiased; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { color: var(--brand-ink); text-underline-offset: .2em; }
.lp :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.lp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 6px; }
.lp-skip:focus { top: 12px; }
.lp-i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lp-wrap { width: min(var(--lp-w), 100% - 2 * var(--lp-g)); margin-inline: auto; }
.lp-code { font: 600 .74rem/1.3 var(--lp-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.lp em { font-family: var(--lp-serif); font-style: italic; font-weight: 500; color: var(--brand-ink); }

/* top bar ---------------------------------------------------------------------------------------- */
.lp-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) max(var(--lp-g), calc((100% - var(--lp-w)) / 2)) 10px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1.5px dashed var(--line); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.15rem/1 var(--lp-sans); letter-spacing: -.03em; color: var(--ink) !important; text-decoration: none; }
.lp-brand img { border-radius: 8px; }
.lp-bar-r { display: flex; align-items: center; gap: 6px; }
.lp-bar-link { padding: 10px 12px; font-weight: 600; font-size: .95rem; color: var(--ink) !important; text-decoration: none; border-radius: 8px; }
.lp-bar-link:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.lp-theme { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.lp-theme:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.lp-theme .i, .lp-theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* buttons ---------------------------------------------------------------------------------------- */
.lp-btn { display: inline-flex; white-space: nowrap; align-items: center; gap: 10px; padding: 15px 24px; min-height: 52px; border-radius: 10px; background: var(--brand); color: var(--on-brand) !important;
  font: 700 1.02rem/1 var(--lp-sans); text-decoration: none; border: 2px solid var(--brand); box-shadow: 0 3px 0 color-mix(in srgb, var(--brand) 55%, #000); transition: transform .12s, box-shadow .12s; }
.lp-btn:hover { transform: translateY(1px); box-shadow: 0 2px 0 color-mix(in srgb, var(--brand) 55%, #000); }
.lp-btn:active { transform: translateY(3px); box-shadow: none; }
.lp-btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); box-shadow: none; }
.lp-btn-ghost:hover { background: var(--ink); color: var(--bg) !important; box-shadow: none; transform: none; }

/* HERO -------------------------------------------------------------------------------------------- */
.lp-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 80px); }
.lp-hero-code { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.lp-hero-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.lp-h1 { margin: 0; font: 800 clamp(2.6rem, 7.4vw, 6.2rem)/.94 var(--lp-sans); letter-spacing: -.05em; text-wrap: balance; }
.lp-h1 em { display: inline; font-weight: 500; letter-spacing: -.03em; }
.lp-lead { margin: 0 0 22px; font-size: 1.12rem; line-height: 1.55; color: var(--ink); max-width: 44ch; }
.lp-hero-side { padding-bottom: 6px; }

/* the board: a photographed bag with pins + the manifest slip */
.lp-board { margin: clamp(32px, 5vw, 56px) 0 0; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.lp-plate { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 12px 34px; box-shadow: var(--lp-shadow); transform: rotate(-.6deg); }
.lp-case { display: block; width: 100%; height: auto; border-radius: 22px; }
.c-shell { fill: var(--lp-case); } .c-lining { fill: var(--lp-lining); } .c-divider { stroke: var(--lp-case); stroke-opacity: .25; stroke-width: 2; stroke-dasharray: 6 6; }
.lp-plate-cap { position: absolute; left: 18px; bottom: 10px; }
.lp-pin { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2.5px solid var(--surface); background: var(--stripe); color: #fff; font: 700 .9rem/1 var(--lp-mono);
  display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .15s; }
.lp-pin:hover, .lp-pin.on { transform: scale(1.22); background: var(--brand); }
.lp-pin::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.lp-pin.on::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--brand); animation: lp-ping 1s ease-out; }
@keyframes lp-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }

/* the slip: airmail border + perforation */
.lp-slip { padding: 10px; border-radius: 6px; background: repeating-linear-gradient(-45deg, var(--stripe) 0 14px, var(--surface) 14px 22px, var(--brand) 22px 36px, var(--surface) 36px 44px); box-shadow: var(--lp-shadow); transform: rotate(.5deg); }
.lp-slip-in { background: var(--surface); border-radius: 3px; padding: clamp(16px, 2.2vw, 26px); }
.lp-slip-h { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-bottom: 12px; border-bottom: 2px dashed var(--line); color: var(--muted); }
.lp-slip-h b { color: var(--ink); font-size: 1.05rem; letter-spacing: .14em; }
.lp-ledger { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.lp-ledger li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 6px; border-bottom: 1.5px dashed var(--line); border-radius: 4px; transition: background .15s; }
.lp-ledger li.on { background: color-mix(in srgb, var(--brand) 11%, transparent); }
.lp-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--stripe); color: #fff; font: 700 .78rem/1 var(--lp-mono); }
.is-nopin .lp-n { background: transparent; color: var(--muted); border: 2px dashed var(--line); }
.lp-what { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.lp-what b { font-weight: 700; }
.lp-what small { color: var(--muted); font-size: .8rem; line-height: 1.3; }
.lp-slip-f { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; color: var(--ink); }
.lp-eg { margin: 10px 0 0; font: italic 400 .82rem/1.4 var(--lp-serif); color: var(--muted); }

/* rubber stamps: a stamp colour always means the same thing */
.lp-stamp { --c: var(--muted); display: inline-block; white-space: nowrap; padding: 5px 8px; border: 2px solid var(--c); border-radius: 4px; color: var(--c);
  font: 700 .7rem/1 var(--lp-mono); letter-spacing: .13em; text-transform: uppercase; transform: rotate(var(--r, -3deg)); opacity: .97;
  background-image: radial-gradient(color-mix(in srgb, var(--c) 18%, transparent) 1px, transparent 1.2px); background-size: 5px 5px; }
.is-ok { --c: var(--ok); } .is-warn { --c: var(--warn-ink); } .is-bad { --c: var(--bad); } .is-info { --c: var(--info); }
.is-nv { --c: var(--muted); border-style: dashed; }
@media (prefers-reduced-motion: no-preference) {
  .lp-board.pre .lp-ledger .lp-stamp { opacity: 0; transform: rotate(var(--r)) scale(1.8); }
  .lp-board.in .lp-ledger .lp-stamp { animation: lp-thump .38s cubic-bezier(.2, .8, .3, 1.2) both; animation-delay: calc(.35s + var(--i, 0) * .22s); }
}
@keyframes lp-thump { 0% { opacity: 0; transform: rotate(var(--r)) scale(1.9); } 60% { opacity: 1; transform: rotate(var(--r)) scale(.94); } 100% { opacity: .97; transform: rotate(var(--r)) scale(1); } }

/* SECTIONS: left rail with the clock ------------------------------------------------------------- */
.lp-sec { padding: clamp(40px, 6vw, 88px) 0; border-top: 1.5px dashed var(--line); }
.lp-rail { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); }
.lp-time { position: sticky; top: 76px; align-self: start; display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
.lp-time b { font: 700 1.5rem/1 var(--lp-mono); letter-spacing: .02em; color: var(--ink); text-transform: none; }
.lp-time::before { content: ""; width: 14px; height: 14px; margin-bottom: 8px; border-radius: 50%; border: 3px solid var(--brand); background: var(--bg); }
.lp-h2 { margin: 0 0 16px; font: 800 clamp(1.9rem, 4.4vw, 3.3rem)/1.02 var(--lp-sans); letter-spacing: -.04em; text-wrap: balance; max-width: 20ch; }
.lp-p { margin: 0 0 28px; max-width: 62ch; font-size: 1.06rem; color: var(--ink); }
.lp-note { margin: 18px 0 0; max-width: 70ch; font-size: .88rem; color: var(--muted); }

/* tag board */
.lp-tags { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; }
.lp-tag { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 4px 4px 12px 12px; padding: 44px 18px 16px; box-shadow: var(--lp-shadow); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.lp-tag::before { content: ""; position: absolute; left: 50%; top: 12px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line); }
.lp-tag h3 { margin: 0 0 10px; text-align: center; }
.lp-tag ul { list-style: none; margin: 0; padding: 0; }
.lp-tag li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1.5px dashed var(--line); }
.lp-tag li::before { content: ""; width: 16px; height: 16px; flex: none; border: 2px solid var(--muted); border-radius: 4px; }
.lp-tag li.ck::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.lp-tag li.ck { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 55%, transparent); }
.lp-tag li i { font: 600 .78rem var(--lp-mono); color: var(--muted); font-style: normal; margin-left: auto; }
.lp-wx { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; margin-top: 22px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.lp-wx-d { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-right: 1.5px dashed var(--line); }
.lp-wx-d:last-child { border-right: 0; }
.lp-wx-d b { font: 700 1.02rem var(--lp-mono); }
.lp-wx-d small { color: var(--muted); font-size: .8rem; }
.lp-wx-d.is-typ { background: repeating-linear-gradient(-45deg, transparent 0 6px, color-mix(in srgb, var(--line) 55%, transparent) 6px 7px); }
.lp-wx-d.is-typ b { color: var(--muted); font-weight: 600; }

/* hung tags (steps) */
.lp-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; }
.lp-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0; border-top: 2px dashed var(--ink); opacity: .35; }
.lp-hang { position: relative; margin-top: 34px; padding: 40px 20px 22px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 6px; box-shadow: var(--lp-shadow);
  clip-path: polygon(14% 0, 86% 0, 100% 10%, 100% 100%, 0 100%, 0 10%); }
.lp-hang:nth-child(1) { transform: rotate(-1.2deg); } .lp-hang:nth-child(2) { transform: rotate(.8deg); } .lp-hang:nth-child(3) { transform: rotate(-.5deg); }
.lp-hang::before { content: ""; position: absolute; left: 50%; top: 9px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line); }
.lp-hang-n { display: block; color: var(--stripe); font-size: .9rem; }
.lp-hang h3 { margin: 4px 0 8px; font: 700 1.2rem/1.2 var(--lp-sans); letter-spacing: -.02em; }
.lp-hang p { margin: 0; color: var(--muted); font-size: .95rem; }

/* evidence */
.lp-ev { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin: 0; max-width: 900px; }
.lp-ev > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-top: 1.5px dashed var(--line); }
.lp-ev dt { padding-top: 4px; } .lp-ev dd { margin: 0; font-size: .96rem; }

/* privacy */
.lp-priv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; }
.lp-checks { list-style: none; margin: 0; padding: 0; max-width: 64ch; }
.lp-checks li { position: relative; padding: 10px 0 10px 34px; border-top: 1.5px dashed var(--line); }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.lp-seal { display: grid; place-items: center; aspect-ratio: 1; border: 4px solid var(--stripe); border-radius: 50%; color: var(--stripe); transform: rotate(-10deg); position: relative; margin-top: 12px; }
.lp-seal::before { content: ""; position: absolute; inset: 8px; border: 2px dashed currentColor; border-radius: 50%; }
.lp-seal-in { display: flex; flex-direction: column; align-items: center; font-family: var(--lp-mono); text-align: center; }
.lp-seal-in b { font-size: 2rem; line-height: 1.05; letter-spacing: .1em; }
.lp-seal-in i { margin-top: 8px; font-style: normal; font-size: .7rem; letter-spacing: .2em; }

/* pocket */
.lp-pocket { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; max-width: 920px; }
.lp-pocket li { display: flex; gap: 14px; padding: 18px 0; border-top: 1.5px dashed var(--line); }
.lp-pocket .lp-i { width: 26px; height: 26px; color: var(--brand-ink); margin-top: 2px; }
.lp-pocket b { display: block; font-size: 1.05rem; } .lp-pocket span { color: var(--muted); font-size: .94rem; }

/* ENTERPRISE panel */
.lp-ent { padding: clamp(24px, 4vw, 56px) 0; }
.lp-ent-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: var(--ink); color: var(--bg); }
.lp-eyebrow { margin: 0 0 14px; font: 700 .78rem/1 var(--lp-mono); letter-spacing: .2em; color: var(--stripe); }
.lp-ent-h { margin: 0 0 16px; font: 800 clamp(1.8rem, 3.6vw, 2.8rem)/1.05 var(--lp-sans); letter-spacing: -.04em; text-wrap: balance; }
.lp-ent-l p:not(.lp-eyebrow) { margin: 0 0 26px; max-width: 46ch; color: color-mix(in srgb, var(--bg) 82%, transparent); }
.lp-ent .lp-btn-ghost { color: var(--bg) !important; border-color: var(--bg); }
.lp-ent .lp-btn-ghost:hover { background: var(--bg); color: var(--ink) !important; }
.lp-ent-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-tile { padding: 20px; border-radius: 16px; background: color-mix(in srgb, var(--bg) 9%, transparent); border: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); }
.lp-tile .lp-i { width: 26px; height: 26px; color: var(--stripe); margin-bottom: 10px; }
.lp-tile b { display: block; margin-bottom: 6px; font-size: 1.04rem; }
.lp-tile p { margin: 0; font-size: .9rem; line-height: 1.5; color: color-mix(in srgb, var(--bg) 78%, transparent); }
:root[data-theme="dark"] .lp-ent-panel { background: #1D2A3F; color: #ECE7DA; }
:root[data-theme="dark"] .lp-ent .lp-btn-ghost { color: #ECE7DA !important; border-color: #ECE7DA; }
:root[data-theme="dark"] .lp-ent .lp-btn-ghost:hover { background: #ECE7DA; color: #0F1620 !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lp-ent-panel { background: #1D2A3F; color: #ECE7DA; }
  :root:not([data-theme="light"]) .lp-ent .lp-btn-ghost { color: #ECE7DA !important; border-color: #ECE7DA; }
  :root:not([data-theme="light"]) .lp-ent .lp-btn-ghost:hover { background: #ECE7DA; color: #0F1620 !important; } }

/* FAQ */
.lp-faq { border-top: 0; }
.lp-faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 64px); }
.lp-qa details { border-top: 1.5px dashed var(--line); } .lp-qa details:last-child { border-bottom: 1.5px dashed var(--line); }
.lp-qa summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 700; font-size: 1.04rem; cursor: pointer; list-style: none; }
.lp-qa summary::-webkit-details-marker { display: none; }
.lp-qa summary::after { content: "+"; font: 400 1.6rem/1 var(--lp-mono); color: var(--brand-ink); }
.lp-qa details[open] summary::after { content: "−"; }
.lp-qa details p { margin: 0 0 18px; max-width: 62ch; color: var(--muted); }

/* final stub */
.lp-final { padding: 0 0 clamp(36px, 6vw, 72px); }
.lp-stub { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; box-shadow: var(--lp-shadow);
  padding: clamp(22px, 4vw, 44px); position: relative; -webkit-mask: radial-gradient(circle 14px at calc(100% - 270px) 0, transparent 98%, #000) , radial-gradient(circle 14px at calc(100% - 270px) 100%, transparent 98%, #000); -webkit-mask-composite: source-in; mask-composite: intersect; }
.lp-stub::after { content: ""; position: absolute; top: 14px; bottom: 14px; right: 270px; border-left: 2px dashed var(--line); }
.lp-stub-l h2 { margin: 8px 0 0; font: 800 clamp(1.7rem, 4vw, 2.9rem)/1.04 var(--lp-sans); letter-spacing: -.04em; }
.lp-stub-r { width: 230px; display: flex; justify-content: center; }

/* footer */
.lp-foot { border-top: 1.5px dashed var(--line); padding: 22px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .88rem; }
.lp-foot-in { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.lp-foot nav { display: flex; gap: 20px; } .lp-foot a { color: var(--muted); } .lp-foot a:hover { color: var(--ink); }
.lp-foot-attr { flex-basis: 100%; font-size: .8rem; }

/* privacy page (document) */
.lp-doc { padding: clamp(28px, 5vw, 64px) 0 72px; }
.lp-doc-in { width: min(780px, 100% - 2 * var(--lp-g)); margin-inline: auto; }
.lp-doc h1 { margin: 10px 0 8px; font: 800 clamp(2.2rem, 6vw, 3.4rem)/1 var(--lp-sans); letter-spacing: -.045em; }
.lp-doc h2 { margin: 40px 0 10px; padding-top: 22px; border-top: 1.5px dashed var(--line); font: 800 1.45rem/1.15 var(--lp-sans); letter-spacing: -.03em; }
.lp-doc p, .lp-doc li { max-width: 68ch; } .lp-doc ul { padding-left: 20px; }
.lp-doc .lp-note { margin-top: 6px; }
.lp-tablewrap { overflow-x: auto; margin: 14px 0; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); }
.lp-doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.lp-doc th, .lp-doc td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1.5px dashed var(--line); }
.lp-doc th { font: 700 .72rem var(--lp-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lp-doc tr:last-child td { border-bottom: 0; }

/* error page */
.lp-err { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.lp-err-slip { width: min(520px, 100%); padding: 32px; background: var(--surface); border-radius: 6px; border: 1.5px solid var(--line); box-shadow: var(--lp-shadow);
  outline: 10px solid transparent; background-clip: padding-box; position: relative; }
.lp-err-slip::before { content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: 10px; background: repeating-linear-gradient(-45deg, var(--stripe) 0 14px, var(--surface) 14px 22px, var(--brand) 22px 36px, var(--surface) 36px 44px); }
.lp-err h1 { margin: 6px 0 8px; font: 800 2rem/1.1 var(--lp-sans); letter-spacing: -.03em; } .lp-err p { color: var(--muted); } .lp-err .lp-brand { margin-bottom: 22px; }
.lp-err .lp-code { color: var(--stripe); }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .lp-rv { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
  .lp-rv.in { opacity: 1; transform: none; }
}

/* responsive ---------------------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .lp-hero-head, .lp-board, .lp-faq-in, .lp-ent-panel, .lp-priv-grid { grid-template-columns: 1fr; }
  .lp-rail { grid-template-columns: 1fr; gap: 10px; }
  .lp-time { position: static; flex-direction: row; align-items: center; gap: 12px; padding: 0; }
  .lp-time::before { margin: 0; }
  .lp-steps { grid-template-columns: 1fr; } .lp-steps::before { display: none; }
  .lp-seal { width: 200px; justify-self: start; }
  .lp-board { gap: 28px; } .lp-plate, .lp-slip { transform: none; }
}
@media (max-width: 680px) {
  :root { --lp-g: 16px; }
  .lp-tags, .lp-ev, .lp-pocket, .lp-ent-tiles { grid-template-columns: 1fr; }
  .lp-wx { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lp-wx-d:nth-child(4) { border-right: 0; } .lp-wx-d:nth-child(n+5) { border-top: 1.5px dashed var(--line); }
  .lp-ev > div { grid-template-columns: 130px 1fr; }
  .lp-stub { grid-template-columns: 1fr; mask: none; -webkit-mask: none; } .lp-stub::after { display: none; } .lp-stub-r { width: auto; justify-content: flex-start; }
  .lp-ledger li { grid-template-columns: 26px minmax(0, 1fr); } .lp-ledger .lp-stamp { grid-column: 2; justify-self: start; }
  .lp-btn { width: 100%; justify-content: center; }
  .lp-bar-link { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; } }
@media print { .lp-bar, .lp-theme { display: none; } }
