/* landing.css — public site (landing + legal pages). Scoped under .lp.
   Direction: clean white / gray-50 bands, large rounded-2xl cards, subtle shadows, one teal accent.
   Self-hosted Figtree only (declared in app.css); no third-party requests.
   Motion: reveals and the hero tilt are decorative and disabled under prefers-reduced-motion.
   Type scale (px): eyebrow 12.5 · small 14 · body 16 · lede 18 · h3 20 · h2 clamp(28,3.4vw,40) · h1 clamp(40,5.6vw,68). */

.lp {
  --lp-ink: #0F1B24;
  --lp-text: #1E2A36;
  --lp-muted: #5C6B7A;
  --lp-line: #E0E6EB;
  --lp-line-soft: #EDF1F4;
  --lp-bg: #FFFFFF;
  --lp-band: #F7F9FA;
  --lp-primary: #0B7E73;
  --lp-primary-hover: #096B62;
  --lp-primary-ink: #075E56;
  --lp-primary-soft: #E6F7F5;
  --lp-primary-mid: #C9F0EA;
  --lp-ok: #166534;       --lp-ok-soft: #DCFCE7;
  --lp-wip: #92400E;      --lp-wip-soft: #FEF3C7;
  --lp-soon: #1E40AF;     --lp-soon-soft: #DBEAFE;
  --lp-no: #475569;       --lp-no-soft: #EDF1F4;
  --lp-r: 16px;
  --lp-r-sm: 10px;
  --lp-sh-sm: 0 1px 2px rgba(15, 27, 36, .05);
  --lp-sh-md: 0 10px 28px -10px rgba(15, 27, 36, .14), 0 2px 6px rgba(15, 27, 36, .04);
  --lp-top-h: 68px;
  --lp-wrap: 1200px;
  margin: 0;
  padding-top: var(--lp-top-h);
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--lp-text);
  background: var(--lp-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { scroll-behavior: smooth; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
:where(.lp) a { color: inherit; }
.lp :focus-visible { outline: 2px solid var(--lp-primary); outline-offset: 3px; border-radius: 4px; }
.lp-ic { flex: none; display: inline-block; vertical-align: middle; }
.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lp-ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.lp-skip:focus { top: 10px; }
.lp [id] { scroll-margin-top: calc(var(--lp-top-h) + 12px); }
.lp-wrap { max-width: var(--lp-wrap); margin: 0 auto; padding: 0 24px; }
.lp-section { padding: clamp(64px, 8.5vw, 108px) 0; }
.lp-band { background: var(--lp-band); }
.lp-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-primary-ink); }
.lp-h1 { margin: 20px 0 0; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; color: var(--lp-ink); text-wrap: balance; }
.lp-h2 { margin: 10px 0 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; color: var(--lp-ink); text-wrap: balance; }
.lp-h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--lp-ink); }
.lp-lede { margin: 16px auto 0; font-size: 18px; line-height: 1.65; color: var(--lp-muted); max-width: 62ch; text-wrap: pretty; }
.lp-small { font-size: 14px; line-height: 1.55; color: var(--lp-muted); }
.lp-hl { color: var(--lp-primary); background: linear-gradient(transparent 64%, var(--lp-primary-mid) 64%); padding: 0 .06em; border-radius: 2px; }

/* ---- buttons ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease; }
.lp-btn:active { transform: scale(.98); }
.lp-btn--primary { background: var(--lp-primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(11, 126, 115, .55); }
.lp-btn--primary:hover { background: var(--lp-primary-hover); }
.lp-btn--ghost { background: #fff; color: var(--lp-ink); border-color: var(--lp-line); }
.lp-btn--ghost:hover { border-color: var(--lp-primary); color: var(--lp-primary-ink); }
.lp-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.lp-btn--light { background: #fff; color: var(--lp-primary-ink); }
.lp-btn--light:hover { background: var(--lp-primary-soft); }
.lp-btn--block { width: 100%; }

/* ---- header ---- */
.lp-top { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--lp-top-h); background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--lp-line-soft); }
.lp-nav { display: flex; align-items: center; gap: 8px; height: 100%; max-width: var(--lp-wrap); margin: 0 auto; padding: 0 24px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--lp-ink); text-decoration: none; margin-right: 12px; }
.lp-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.lp-links a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--lp-muted); text-decoration: none; transition: color .15s, background-color .15s; }
.lp-links a:hover { color: var(--lp-ink); background: var(--lp-band); }
.lp-links a[aria-current="true"] { color: var(--lp-primary-ink); background: var(--lp-primary-soft); }
.lp-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lp-login { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--lp-text); text-decoration: none; }
.lp-login:hover { background: var(--lp-band); }
.lp-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--lp-line); border-radius: 10px; background: #fff; color: var(--lp-ink); cursor: pointer; }
.lp-menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--lp-line); box-shadow: var(--lp-sh-md); padding: 10px 24px 18px; }
.lp-menu a { display: block; padding: 12px 4px; font-weight: 600; font-size: 16px; color: var(--lp-text); text-decoration: none; border-bottom: 1px solid var(--lp-line-soft); }
.lp-menu a:last-child { border-bottom: 0; }
@media (max-width: 1060px) {
  .lp-links { display: none; }
  .lp-burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .lp-nav { padding: 0 16px; }
  .lp-wrap { padding: 0 18px; }
  .lp-login { display: none; }
  .lp-brand { font-size: 19px; margin-right: 0; }
}

/* ---- hero ---- */
.lp-hero { position: relative; padding: clamp(44px, 6.5vw, 88px) 0 0; text-align: center; overflow-x: clip;
  background: radial-gradient(980px 460px at 50% -120px, rgba(11, 126, 115, .11), transparent 70%), #fff; }
.lp-hero .lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--lp-primary-mid);
  background: var(--lp-primary-soft); color: var(--lp-primary-ink); font-size: 13px; font-weight: 700; }
.lp-hero .lp-lede { font-size: clamp(17px, 1.7vw, 20px); max-width: 58ch; margin-top: 22px; }
.lp-hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lp-hero-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--lp-muted); }
.lp-hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.lp-hero-trust .lp-ic { color: var(--lp-primary); }

/* tilted interactive product mock (CSS perspective; flattens on hover/focus) */
.lp-scene { position: relative; margin-top: clamp(36px, 5vw, 60px); perspective: 1500px; padding: 0 24px;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.lp-mock { --tilt: 17deg; --ry: 0deg; max-width: 1040px; margin: 0 auto; text-align: left; background: #fff; border: 1px solid var(--lp-line); border-radius: 18px;
  box-shadow: 0 24px 80px rgba(15, 27, 36, .12), 0 2px 8px rgba(15, 27, 36, .05); transform-origin: 50% 0;
  transform: rotateX(var(--tilt)) rotateY(var(--ry)) scale(.95); transition: transform .45s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.lp-scene:hover .lp-mock, .lp-mock:focus-within { --tilt: 4deg; }
.lp-mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--lp-line-soft); background: var(--lp-band); border-radius: 18px 18px 0 0; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--lp-line); }
.lp-mock-bar span { margin-left: 10px; font-size: 12px; color: var(--lp-muted); }
.lp-mock-body { padding: 18px 22px 24px; }
.lp-mock-top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.lp-mock-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--lp-ink); font-size: 15px; }
.lp-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--lp-band); border: 1px solid var(--lp-line); border-radius: 999px; }
.lp-tab { font: inherit; font-size: 13.5px; font-weight: 700; padding: 6px 16px; min-height: 32px; border: 0; border-radius: 999px; background: transparent; color: var(--lp-muted); cursor: pointer; transition: background-color .15s, color .15s; }
.lp-tab:hover { color: var(--lp-ink); }
.lp-tab[aria-selected="true"] { background: var(--lp-primary); color: #fff; }
.lp-mock-demo { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--lp-muted); background: var(--lp-band); border: 1px dashed var(--lp-line); border-radius: 999px; padding: 3px 10px; }
.lp-mpanes { display: grid; }
.lp-mpane { grid-area: 1 / 1; min-width: 0; visibility: hidden; opacity: 0; transition: opacity .2s; }
.lp-mpane[data-active="true"] { visibility: visible; opacity: 1; }
.lp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.lp-tile { background: #fff; border: 1px solid var(--lp-line); border-radius: 12px; padding: 12px 14px; }
.lp-tile small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--lp-muted); }
.lp-tile b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--lp-ink); font-variant-numeric: tabular-nums; }
.lp-tile b.is-ok { color: var(--lp-ok); } .lp-tile b.is-warn { color: var(--lp-wip); }
.lp-rows { border: 1px solid var(--lp-line); border-radius: 12px; overflow: hidden; }
.lp-row { display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--lp-line-soft); font-size: 14px; }
.lp-row:first-child { border-top: 0; }
.lp-row .t { font-weight: 700; color: var(--lp-primary-ink); font-variant-numeric: tabular-nums; }
.lp-row .n { font-weight: 700; color: var(--lp-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-row .r { color: var(--lp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-badge { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.lp-badge--ok { background: var(--lp-ok-soft); color: var(--lp-ok); }
.lp-badge--wip { background: var(--lp-wip-soft); color: var(--lp-wip); }
.lp-badge--done { background: var(--lp-primary-soft); color: var(--lp-primary-ink); }
.lp-badge--late { background: #FEE2E2; color: #991B1B; }
@media (max-width: 720px) {
  .lp-scene { padding: 0 14px; }
  .lp-mock { --tilt: 9deg; }
  .lp-mock-body { padding: 14px 14px 18px; }
  .lp-row { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .lp-row .r { display: none; }
  .lp-tile { padding: 10px; } .lp-tile b { font-size: 17px; }
  .lp-mock-demo { display: none; }
}

/* ---- trust strip ---- */
.lp-strip { border-top: 1px solid var(--lp-line-soft); border-bottom: 1px solid var(--lp-line-soft); background: #fff; }
.lp-strip ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; margin: 0; padding: 26px 0; list-style: none; }
.lp-strip li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--lp-text); }
.lp-strip .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lp-primary-soft); color: var(--lp-primary); flex: none; }
@media (max-width: 820px) { .lp-strip ul { grid-template-columns: 1fr; padding: 20px 0; } }

/* ---- cards + chips ---- */
.lp-card { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); box-shadow: var(--lp-sh-sm); padding: 26px; }
.lp-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lp-primary-soft); color: var(--lp-primary); flex: none; }
.lp-chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; line-height: 1.7; white-space: nowrap; letter-spacing: .01em; }
.lp-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lp-chip--ok { background: var(--lp-ok-soft); color: var(--lp-ok); }
.lp-chip--wip { background: var(--lp-wip-soft); color: var(--lp-wip); }
.lp-chip--soon { background: var(--lp-soon-soft); color: var(--lp-soon); }

/* ---- feature map ---- */
.lp-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 32px; }
.lp-fbtn { font: inherit; font-size: 14px; font-weight: 700; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--lp-line); background: #fff; color: var(--lp-text); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.lp-fbtn:hover { border-color: var(--lp-primary); }
.lp-fbtn[aria-pressed="true"] { background: var(--lp-ink); border-color: var(--lp-ink); color: #fff; }
.lp-fbtn span { opacity: .65; margin-left: 4px; font-variant-numeric: tabular-nums; }
.lp-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.lp-cat { padding: 24px; }
.lp-cat-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.lp-cat-head p { margin: 2px 0 0; font-size: 14px; color: var(--lp-muted); }
.lp-caps { list-style: none; margin: 0; padding: 0; }
.lp-cap { padding: 12px 0; border-top: 1px solid var(--lp-line-soft); }
.lp-cap-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lp-cap-name { font-size: 15px; font-weight: 700; color: var(--lp-ink); line-height: 1.35; }
.lp-cap-tag { display: block; font-size: 13.5px; font-weight: 600; color: var(--lp-primary-ink); }
.lp-cap p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--lp-muted); }
.lp-cap .lp-note { font-style: italic; }
.lp-map-empty { text-align: center; color: var(--lp-muted); }
@media (max-width: 1020px) { .lp-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .lp-map { grid-template-columns: minmax(0, 1fr); } }

/* ---- modules ---- */
.lp-mods { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 20px; align-items: stretch; }
.lp-core { background: var(--lp-ink); color: #D8E2EA; border-color: var(--lp-ink); }
.lp-core .lp-h3 { color: #fff; }
.lp-core ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.lp-core li { display: flex; gap: 9px; align-items: flex-start; }
.lp-core li .lp-ic { color: #5EEAD4; margin-top: 3px; }
.lp-core .lp-incl { display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #5EEAD4; }
.lp-mod { display: flex; flex-direction: column; gap: 10px; }
.lp-mod .lp-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--lp-line-soft); font-size: 14px; color: var(--lp-muted); }
.lp-mod .lp-price b { font-size: 22px; color: var(--lp-ink); letter-spacing: -.02em; }
.lp-mod .tag { margin: 0; font-weight: 700; color: var(--lp-primary-ink); font-size: 15px; }
.lp-mod p { margin: 0; }
.lp-mods-note { max-width: 70ch; margin: 28px auto 0; text-align: center; }
@media (max-width: 1100px) { .lp-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-core { grid-column: 1 / -1; } }
@media (max-width: 620px) { .lp-mods { grid-template-columns: minmax(0, 1fr); } }

/* ---- steps ---- */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.lp-step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lp-primary); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.lp-step p { margin: 8px 0 0; color: var(--lp-muted); }
@media (max-width: 820px) { .lp-steps { grid-template-columns: 1fr; } }

/* ---- security ---- */
.lp-sec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-sec .lp-card { display: flex; flex-direction: column; gap: 12px; }
.lp-sec p { margin: 0; font-size: 15px; color: var(--lp-muted); }
.lp-sec-note { margin: 28px auto 0; max-width: 70ch; text-align: center; }
.lp-sec-note a { color: var(--lp-primary-ink); font-weight: 700; }
@media (max-width: 1060px) { .lp-sec { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lp-sec { grid-template-columns: 1fr; } }

/* ---- comparison matrix ---- */
.lp-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13.5px; color: var(--lp-text); }
.lp-legend li { display: inline-flex; align-items: center; gap: 7px; }
.lp-tablewrap { position: relative; overflow-x: auto; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); box-shadow: var(--lp-sh-sm); }
.lp-table { width: 100%; min-width: 880px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.lp-table caption { text-align: left; padding: 0; }
.lp-table th, .lp-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--lp-line-soft); vertical-align: middle; }
.lp-table thead th { position: sticky; top: 0; background: #fff; font-size: 14px; font-weight: 800; color: var(--lp-ink); border-bottom: 1px solid var(--lp-line); vertical-align: bottom; }
.lp-table thead th small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--lp-muted); line-height: 1.3; }
.lp-table tbody th { text-align: left; font-weight: 600; color: var(--lp-ink); min-width: 220px; max-width: 280px; background: #fff; position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 0 var(--lp-line-soft); }
.lp-table thead th:first-child { position: sticky; left: 0; z-index: 3; text-align: left; }
.lp-table tbody tr:last-child th, .lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table .hint { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--lp-muted); line-height: 1.4; }
.lp-table .col-marfil { background: var(--lp-primary-soft); }
.lp-table thead .col-marfil { background: var(--lp-primary-soft); color: var(--lp-primary-ink); box-shadow: inset 0 3px 0 var(--lp-primary); }
.lp-cell { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.lp-cell .dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; }
.lp-cell .dot .lp-ic { width: 13px; height: 13px; }
.lp-cell--yes { color: var(--lp-ok); } .lp-cell--yes .dot { background: var(--lp-ok-soft); }
.lp-cell--partial { color: var(--lp-wip); } .lp-cell--partial .dot { background: var(--lp-wip-soft); }
.lp-cell--no { color: var(--lp-no); } .lp-cell--no .dot { background: var(--lp-no-soft); }
.lp-cell--unmeasured { color: var(--lp-muted); font-weight: 600; } .lp-cell--unmeasured .dot { background: #fff; border: 1.5px dashed #94A3B8; }
.lp-cell--building { color: var(--lp-primary-ink); } .lp-cell--building .dot { background: var(--lp-primary-mid); }
.lp-cell--planned { color: var(--lp-soon); } .lp-cell--planned .dot { background: var(--lp-soon-soft); }
.lp-matrix-notes { margin: 20px auto 0; max-width: 78ch; text-align: center; }
.lp-sources { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 13px; }
.lp-sources a { color: var(--lp-primary-ink); text-underline-offset: 3px; }
.lp-scroll-hint { display: none; margin: 0 0 8px; font-size: 13px; color: var(--lp-muted); text-align: center; }
@media (max-width: 960px) {
  .lp-scroll-hint { display: block; }
  .lp-table tbody th { min-width: 168px; max-width: 168px; font-size: 13.5px; padding: 10px 10px; }
  .lp-table th, .lp-table td { padding: 10px 10px; }
  .lp-table { min-width: 760px; }
}
@media (max-width: 560px) {
  .lp-table tbody th { min-width: 140px; max-width: 140px; font-size: 13px; padding: 10px 8px; }
  .lp-table .hint { font-size: 12px; }
}

/* ---- pricing ---- */
.lp-currency { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 8px; border-radius: 999px; background: #fff; border: 1px solid var(--lp-line); font-size: 13.5px; font-weight: 700; color: var(--lp-text); }
.lp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; margin-top: 8px; }
.lp-plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; }
.lp-plan--pop { border: 2px solid var(--lp-primary); box-shadow: 0 28px 56px -20px rgba(11, 126, 115, .28), 0 4px 12px rgba(15, 27, 36, .05); }
.lp-plan-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--lp-primary); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.lp-plan-name { margin: 0; font-size: 18px; font-weight: 800; color: var(--lp-ink); }
.lp-plan-for { margin: 6px 0 0; font-size: 14.5px; color: var(--lp-muted); min-height: 3em; }
.lp-plan-price { margin: 18px 0 0; display: flex; align-items: baseline; gap: 6px; color: var(--lp-ink); }
.lp-plan-price b { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.lp-plan-price .cur { font-size: 16px; font-weight: 800; color: var(--lp-muted); }
.lp-plan-price .per { font-size: 15px; color: var(--lp-muted); }
.lp-plan ul { list-style: none; margin: 22px 0 26px; padding: 22px 0 0; border-top: 1px solid var(--lp-line-soft); display: grid; gap: 12px; flex: 1; align-content: start; }
.lp-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.lp-plan li .lp-ic { color: var(--lp-primary); margin-top: 3px; }
.lp-plan li .lp-chip { margin-left: 6px; vertical-align: 1px; }
.lp-plan li.inherit { font-weight: 700; color: var(--lp-ink); }
.lp-plan-price b.quote { font-size: 32px; letter-spacing: -.02em; }
.lp-includes { margin: 36px auto 0; max-width: 960px; text-align: center; }
.lp-includes h3 { margin: 0 0 12px; font-weight: 800; color: var(--lp-ink); }
.lp-includes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.lp-includes li { display: inline-flex; gap: 8px; align-items: center; font-size: 14.5px; }
.lp-includes li .lp-ic { color: var(--lp-primary); }
.lp-price-notes { margin: 32px auto 0; max-width: 72ch; text-align: center; display: grid; gap: 8px; }
.lp-price-notes .pay { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--lp-text); }
@media (max-width: 1180px) { .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .lp-plans { grid-template-columns: minmax(0, 480px); justify-content: center; gap: 32px; } .lp-plan-for { min-height: 0; } }

/* ---- faq ---- */
.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); box-shadow: var(--lp-sh-sm); }
.lp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; padding: 18px 22px; font-size: 17px; font-weight: 700; color: var(--lp-ink); min-height: 56px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .lp-ic { color: var(--lp-primary); transition: transform .2s ease; }
.lp-faq details[open] summary .lp-ic { transform: rotate(45deg); }
.lp-faq details[open] { border-color: var(--lp-primary-mid); }
.lp-faq .ans { padding: 0 22px 20px; margin: 0; color: var(--lp-muted); font-size: 16px; line-height: 1.65; max-width: 70ch; }

/* ---- contact ---- */
.lp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.lp-contact dl { margin: 18px 0 0; display: grid; gap: 14px; }
.lp-contact dt { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-muted); }
.lp-contact dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; color: var(--lp-ink); }
.lp-pending { display: inline-block; padding: 2px 10px; border-radius: 8px; border: 1.5px dashed #CBD5E1; background: #F8FAFC; color: var(--lp-muted); font-size: 14px; font-weight: 600; }
.lp-contact .lp-btn { margin-top: 20px; }
@media (max-width: 760px) { .lp-contact { grid-template-columns: 1fr; } }

/* ---- final cta ---- */
.lp-final { background: var(--lp-primary); color: #fff; text-align: center; padding: clamp(56px, 7vw, 88px) 0; }
.lp-final h2 { margin: 0; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; color: #fff; text-wrap: balance; }
.lp-final p { margin: 12px auto 0; color: #CFF3EE; max-width: 52ch; }
.lp-final .lp-hero-ctas { margin-top: 28px; }
.lp-final .lp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.lp-final .lp-btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---- footer ---- */
.lp-footer { background: #fff; border-top: 1px solid var(--lp-line); padding: 56px 0 28px; }
.lp-fgrid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.lp-footer h2 { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-ink); }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lp-footer li a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--lp-muted); text-decoration: none; }
.lp-footer li a:hover { color: var(--lp-primary-ink); text-decoration: underline; text-underline-offset: 3px; }
.lp-footer .about { margin: 14px 0 0; max-width: 34ch; font-size: 14.5px; color: var(--lp-muted); }
.lp-fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--lp-line-soft); font-size: 13.5px; color: var(--lp-muted); }
@media (max-width: 860px) { .lp-fgrid { grid-template-columns: repeat(2, 1fr); } .lp-fgrid > :first-child { grid-column: 1 / -1; } }

/* ---- tour (shell around the existing mockup) ---- */
.lp-tour.mk-tour { padding: clamp(64px, 8.5vw, 108px) 0; }
.lp-tour .mk-tour-head { margin-bottom: 40px; }
.lp-tour .mk-tour-head .lp-lede { margin-top: 16px; }
.lp-tour .mk-window { border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(15, 27, 36, .28); }
.lp-tour .mk-tab { border-radius: 12px; }

/* ---- reveals: hidden only when JS is on; reduced motion always shows ---- */
.js .lp-reveal { opacity: 0; transform: translateY(14px); }
.js .lp-reveal.is-in { opacity: 1; transform: none; transition: opacity .35s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1); }

/* ---- legal documents ---- */
.lg-page { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); background: var(--lp-band); }
.lg-grid { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 48px; justify-content: center; align-items: start; }
.lg-toc { position: sticky; top: calc(var(--lp-top-h) + 24px); font-size: 14px; }
.lg-toc h2 { margin: 0 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lp-ink); }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--lp-line); }
.lg-toc a { display: block; padding: 6px 12px; color: var(--lp-muted); text-decoration: none; border-left: 2px solid transparent; margin-left: -2px; line-height: 1.4; }
.lg-toc a:hover { color: var(--lp-ink); }
.lg-toc a[aria-current="true"] { color: var(--lp-primary-ink); border-left-color: var(--lp-primary); font-weight: 700; }
.lg-docnav { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--lp-line); display: grid; gap: 2px; }
.lg-docnav a { padding: 5px 0; color: var(--lp-muted); text-decoration: none; font-size: 14px; }
.lg-docnav a:hover, .lg-docnav a[aria-current="page"] { color: var(--lp-primary-ink); font-weight: 700; }
.lg-doc { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); box-shadow: var(--lp-sh-sm); padding: clamp(24px, 4vw, 48px); }
.lg-doc h1 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--lp-ink); }
.lg-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; font-size: 14px; color: var(--lp-muted); }
.lg-meta code { font-family: inherit; font-weight: 800; color: var(--lp-ink); }
.lg-draft { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 6px 14px; border-radius: 10px; background: var(--lp-wip-soft); color: var(--lp-wip); font-size: 14px; font-weight: 800; }
.lg-lead { margin: 22px 0 0; font-size: 18px; line-height: 1.65; color: var(--lp-text); }
.lg-doc section { margin-top: 36px; }
.lg-doc h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.015em; color: var(--lp-ink); }
.lg-doc h3 { margin: 22px 0 6px; font-size: 17px; font-weight: 800; color: var(--lp-ink); }
.lg-doc p, .lg-doc li { font-size: 16px; line-height: 1.7; color: var(--lp-text); }
.lg-doc p { margin: 10px 0 0; }
.lg-doc ul { list-style: disc; } .lg-doc ol { list-style: decimal; }
.lg-doc ul, .lg-doc ol { margin: 10px 0 0; padding-left: 22px; }
.lg-tw { overflow-x: auto; margin-top: 14px; }
.lg-tw table { margin: 0; min-width: 520px; }
.lg-doc li { margin: 6px 0; padding-left: 2px; }
.lg-doc a { color: var(--lp-primary-ink); text-underline-offset: 3px; }
.lg-doc code { font-family: inherit; font-weight: 700; background: var(--lp-band); padding: 1px 6px; border-radius: 6px; }
.lg-doc table { width: 100%; border-collapse: collapse; margin: 14px 0 0; font-size: 15px; }
.lg-doc th, .lg-doc td { text-align: left; padding: 10px 12px; border: 1px solid var(--lp-line); vertical-align: top; }
.lg-doc th { background: var(--lp-band); font-weight: 800; }
.lg-ph { background: #FEF9C3; border-bottom: 2px dashed #CA8A04; padding: 0 4px; border-radius: 3px; font-weight: 600; color: #713F12; }
.lg-callout { margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--lp-primary-soft); border: 1px solid var(--lp-primary-mid); font-size: 15.5px; }
.lg-callout p { margin: 0; }
.lg-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--lp-line); font-size: 14px; color: var(--lp-muted); }
.lg-foot p { font-size: 14px; color: var(--lp-muted); }
.lg-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.lg-cards a { display: block; padding: 20px; border: 1px solid var(--lp-line); border-radius: var(--lp-r); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.lg-cards a:hover { border-color: var(--lp-primary); box-shadow: var(--lp-sh-md); }
.lg-cards b { display: block; font-size: 17px; color: var(--lp-ink); }
.lg-cards span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--lp-muted); line-height: 1.5; }
@media (max-width: 900px) {
  .lg-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lg-toc { position: static; background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-r); padding: 16px 18px; }
  .lg-cards { grid-template-columns: 1fr; }
}

/* ---- reduced motion: static tilt, no reveal, no smooth scroll, no transitions ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-mock, .lp-btn, .lp-tab, .lp-faq summary .lp-ic, .lp-mpane, .lp-fbtn { transition: none !important; }
  .js .lp-reveal { opacity: 1; transform: none; }
  .lp-scene:hover .lp-mock, .lp-mock:focus-within { --tilt: 17deg; }
}
