/*
 * Landing pages (alternative, import, Google Agenda, espaces reserves).
 * Self-contained: no Tailwind classes, so it never depends on a rebuild.
 * Dark is the site default; html:not(.dark) switches to the light palette.
 */
.lp {
  --lp-bg: #f4f6fa;
  --lp-panel: #ffffff;
  --lp-rule: #d7deea;
  --lp-text: #0f172a;
  --lp-muted: #51607a;
  --lp-amber: #b86e00;
  --lp-amber-fill: #f5a524;
  --lp-on-amber: #1b1405;
  --lp-shadow: 0 30px 70px -34px rgba(15, 23, 42, .35);
  --lp-display: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lp-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--lp-text);
  font-size: 1.0625rem;
  line-height: 1.65;
}
html.dark .lp {
  --lp-bg: #0b1220;
  --lp-panel: #111a2d;
  --lp-rule: #223050;
  --lp-text: #e8edf7;
  --lp-muted: #9aa8c2;
  --lp-amber: #f5a524;
  --lp-shadow: 0 40px 90px -36px rgba(0, 0, 0, .8);
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
:where(.lp) a { color: inherit; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.lp-section { padding: 96px 0; }
.lp-section + .lp-section { border-top: 1px solid var(--lp-rule); }

/* Headings */
.lp-h1, .lp-h2, .lp-row h3, .lp-note h2, .lp-final h2 {
  font-family: var(--lp-display);
  font-weight: 700;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 0;
}
.lp-h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.08; }
.lp-h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.15; }
:where(.lp) p { margin: 0; }
.lp-muted { color: var(--lp-muted); }

/* Hero */
.lp-hero { padding: 152px 0 88px; }
.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.lp-lead { margin-top: 26px; font-size: 1.22rem; line-height: 1.6; color: var(--lp-muted); max-width: 33em; }
.lp-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.lp-btn {
  display: inline-block;
  background: var(--lp-amber-fill);
  color: var(--lp-on-amber) !important;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  transition: background-color .15s ease, transform .15s ease;
}
.lp-btn:hover { background: #ffb937; }
.lp-btn:active { transform: translateY(1px); }
.lp-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--lp-amber); }
.lp-btn:focus-visible, .lp-link:focus-visible, .lp-faq summary:focus-visible { outline: 2px solid var(--lp-amber); outline-offset: 4px; border-radius: 6px; }

/* Hero with a product capture: give the image the larger column and let it bleed a little */
.lp-hero-grid.has-shot { grid-template-columns: minmax(0, .82fr) minmax(0, 1.28fr); gap: 56px; }
@media (min-width: 1240px) { .lp-hero-grid.has-shot .lp-frame { margin-right: -56px; } }

/* Product frame */
.lp-frame { margin: 0; }
.lp-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--lp-rule);
  box-shadow: var(--lp-shadow);
}
.lp-frame figcaption { margin-top: 14px; font-size: .9rem; color: var(--lp-muted); }
.lp-hero .lp-frame { animation: lp-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Ledger (plans as a ruled timesheet) */
.lp-ledger {
  background: var(--lp-panel);
  border: 1px solid var(--lp-rule);
  border-radius: 14px;
  padding: 30px 32px 26px;
  box-shadow: var(--lp-shadow);
  animation: lp-rise .7s cubic-bezier(.2, .7, .2, 1) both;
}
.lp-ledger-title { font-family: var(--lp-display); font-weight: 700; letter-spacing: -.02em; font-size: 1.4rem; line-height: 1.2; margin: 0 0 6px; }
.lp-ledger-sub { color: var(--lp-muted); font-size: .95rem; margin-bottom: 18px; }
.lp-ledger-row { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 18px 0; border-top: 1px solid var(--lp-rule); }
.lp-ledger-name { font-weight: 600; font-size: 1.1rem; }
.lp-ledger-dots { border-bottom: 2px dotted var(--lp-rule); transform: translateY(-4px); min-width: 24px; }
.lp-ledger-price { font-family: var(--lp-mono); font-size: 1.85rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.lp-ledger-price small { font-size: .85rem; font-weight: 400; color: var(--lp-muted); margin-left: 4px; letter-spacing: 0; }
.lp-ledger-desc { grid-column: 1 / -1; margin-top: -2px; color: var(--lp-muted); font-size: .95rem; }
.lp-ledger-foot { border-top: 1px solid var(--lp-rule); padding-top: 16px; margin-top: 4px; color: var(--lp-muted); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

/* Split sections: sticky heading left, rows right */
.lp-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
.lp-split > header { position: sticky; top: 112px; }
.lp-split > header p { margin-top: 18px; color: var(--lp-muted); max-width: 28em; }
.lp-row { padding: 28px 0; border-top: 1px solid var(--lp-rule); }
.lp-row:first-child { border-top: 0; padding-top: 4px; }
.lp-row h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: -.012em; }
.lp-row p { margin-top: 10px; color: var(--lp-muted); max-width: 40em; }
.lp-source { margin-top: 36px; font-size: .88rem; color: var(--lp-muted); max-width: 42em; }
.lp-source a { text-underline-offset: 3px; }

/* Screens inside sections */
.lp-shots { margin-top: 64px; display: grid; gap: 32px; }
.lp-shots.is-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Steps: a real sequence, so numbered */
.lp-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.lp-steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 1px; background: var(--lp-rule); }
.lp-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 24px; padding: 0 0 34px; position: relative; }
.lp-steps li:last-child { padding-bottom: 0; }
.lp-step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--lp-bg); border: 1px solid var(--lp-amber); color: var(--lp-amber); font-family: var(--lp-mono); font-size: .9rem; font-weight: 600; display: grid; place-items: center; position: relative; z-index: 1; }
.lp-steps h3 { font-family: var(--lp-display); font-weight: 600; letter-spacing: -.012em; font-size: 1.2rem; line-height: 1.3; margin: 5px 0 0; }
.lp-steps p { margin-top: 8px; color: var(--lp-muted); max-width: 38em; }

/* Honest note */
.lp-note { border-left: 3px solid var(--lp-amber-fill); padding: 6px 0 6px 28px; max-width: 46em; }
.lp-note h2 { font-size: 1.4rem; line-height: 1.25; }
.lp-note p { margin-top: 12px; color: var(--lp-muted); }

/* FAQ */
.lp-faq details { border-top: 1px solid var(--lp-rule); }
.lp-faq details:last-child { border-bottom: 1px solid var(--lp-rule); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-family: var(--lp-mono); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--lp-amber); flex: none; transition: transform .2s ease; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { padding: 0 0 24px; color: var(--lp-muted); max-width: 40em; }

/* Final call to action */
.lp-final { padding: 96px 0 112px; }
.lp-final-box {
  border: 1px solid var(--lp-rule);
  border-radius: 18px;
  padding: 64px 56px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(245, 165, 36, .14), transparent 60%),
    var(--lp-panel);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: center;
}
.lp-final h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; }
.lp-final p { margin-top: 14px; color: var(--lp-muted); max-width: 34em; }

/* ------------------------------------------------------------------ Home */
.lp-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 30px 0 0; padding: 0; color: var(--lp-muted); font-size: .93rem; }
.lp-trust li { display: flex; align-items: center; gap: 9px; }
.lp-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-amber-fill); flex: none; }

.lp-home .lp-h1 { font-size: clamp(2.2rem, 3.9vw, 3.3rem); }
/* Hero composition: desktop capture with the iPhone app overlapping its corner */
.lp-stage { position: relative; padding-bottom: 40px; padding-right: 8px; }
.lp-home .lp-hero-grid.has-shot .lp-frame { margin-right: 0; }
.lp-stage > .lp-phone { position: absolute; right: -6px; bottom: 0; width: min(190px, 31%); animation: lp-rise .8s .15s cubic-bezier(.2, .7, .2, 1) both; }

.lp-phone { margin: 0; padding: 28px 7px 7px; border-radius: 32px; background: #0b1220; border: 1px solid var(--lp-rule); box-shadow: var(--lp-shadow); position: relative; }
.lp-phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 30%; height: 17px; transform: translateX(-50%); background: #000; border-radius: 12px; z-index: 2; }
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 26px; }

/* From timer to invoice */
.lp-chain-head { max-width: 40em; margin-bottom: 52px; }
.lp-chain-head p { margin-top: 14px; }
.lp-chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; position: relative; }
.lp-chain::before { content: ""; position: absolute; top: 17px; left: 18px; right: 18px; height: 1px; background: var(--lp-rule); }
.lp-chain li { position: relative; }
.lp-chain h3 { margin: 22px 0 0; font-size: 1.22rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }
.lp-chain p { margin-top: 8px; color: var(--lp-muted); font-size: .99rem; }

/* Capture and text rows */
.lp-feature { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 72px; align-items: center; }
.lp-feature.is-flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.lp-feature.is-flip .lp-feature-text { order: 2; }
.lp-feature-text p { margin-top: 18px; max-width: 30em; }
.lp-feature-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px !important; }

/* iPhone app */
.lp-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: center; border: 1px solid var(--lp-rule); border-radius: 22px; padding: 60px 56px 0; overflow: hidden;
  background: radial-gradient(70% 90% at 100% 0%, rgba(245, 165, 36, .14), transparent 60%), var(--lp-panel); }
.lp-chip { display: inline-block; border: 1px solid var(--lp-amber); color: var(--lp-amber); border-radius: 999px; padding: 4px 13px; font-size: .86rem; font-weight: 600; margin-bottom: 20px; }
.lp-app-text { padding-bottom: 60px; }
.lp-app-text > p { margin-top: 16px; max-width: 32em; }
.lp-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 32em; }
.lp-points li { position: relative; padding-left: 26px; }
.lp-points li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 9px; height: 5px; border-left: 2px solid var(--lp-amber); border-bottom: 2px solid var(--lp-amber); transform: rotate(-45deg); }
.lp-app-status { margin-top: 26px !important; font-size: .95rem; }
.lp-app-text .lp-btn { margin-top: 6px; }
.lp-app-phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; align-self: end; }
.lp-app-phones .lp-phone { width: min(236px, 46%); border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
.lp-app-phones .lp-phone + .lp-phone { margin-top: 56px; }
.lp-app-phones .lp-phone img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Switching tools */
.lp-switch a.lp-row { display: block; text-decoration: none; }
.lp-switch a.lp-row h3 { transition: color .15s ease; }
.lp-switch a.lp-row:hover h3 { color: var(--lp-amber); }
.lp-switch a.lp-row:focus-visible { outline: 2px solid var(--lp-amber); outline-offset: 4px; border-radius: 6px; }
.lp-switch a.lp-row:first-child { border-top: 0; padding-top: 4px; }

@media (max-width: 960px) {
  .lp-hero { padding: 124px 0 64px; }
  .lp-hero-grid, .lp-hero-grid.has-shot, .lp-split, .lp-final-box { grid-template-columns: minmax(0, 1fr); }
  .lp-hero-grid { gap: 44px; }
  .lp-split { gap: 36px; }
  .lp-split > header { position: static; }
  .lp-section { padding: 72px 0; }
  .lp-shots.is-pair { grid-template-columns: minmax(0, 1fr); }
  .lp-final-box { padding: 40px 28px; }
  .lp-chain { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-chain::before { display: none; }
  .lp-chain li { padding-left: 54px; }
  .lp-chain li .lp-step-n { position: absolute; left: 0; top: 0; }
  .lp-chain h3 { margin-top: 4px; }
  .lp-feature, .lp-feature.is-flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-feature.is-flip .lp-feature-text { order: 0; }
  .lp-app { grid-template-columns: minmax(0, 1fr); padding: 40px 28px 0; gap: 36px; }
  .lp-app-text { padding-bottom: 0; }
  .lp-app-phones { align-self: auto; }
  .lp-stage { padding-right: 0; }
  .lp-stage > .lp-phone { right: 6px; width: min(150px, 34%); }
}
@media (max-width: 520px) {
  .lp-wrap { padding: 0 20px; }
  .lp-ledger { padding: 24px 20px 20px; }
  .lp-ledger-price { font-size: 1.5rem; }
}
/* ------------------------------------------------------------ Features page */
/* Smooth anchor jumps, only on the page that has the chapter bar */
@media (prefers-reduced-motion: no-preference) { html:has(.lp-nav) { scroll-behavior: smooth; } }

/* Chapter bar: 48px under the 64px site header; one amber line slides to the chapter being read */
.lp-nav {
  position: sticky; top: 64px; z-index: 40;
  background: var(--lp-bg);
  border-top: 1px solid var(--lp-rule);
  border-bottom: 1px solid var(--lp-rule);
}
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .lp-nav { background: color-mix(in srgb, var(--lp-bg) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.lp-nav .lp-wrap { padding: 0; }
.lp-nav-list {
  list-style: none; margin: 0; padding: 0 28px; height: 48px;
  display: flex; align-items: stretch; gap: 2px;
  overflow-x: auto; scrollbar-width: none; position: relative;
}
.lp-nav-list::-webkit-scrollbar { display: none; }
.lp-nav-list li { flex: none; display: flex; }
.lp-nav-list a {
  display: flex; align-items: center; gap: 8px; padding: 0 14px;
  font-size: .92rem; font-weight: 600; color: var(--lp-muted);
  text-decoration: none; white-space: nowrap; transition: color .15s ease;
}
.lp-nav-list a:hover, .lp-nav-list a[aria-current="true"] { color: var(--lp-text); }
.lp-nav-list a:focus-visible { outline: 2px solid var(--lp-amber); outline-offset: -3px; border-radius: 6px; }
.lp-nav-n {
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--lp-rule);
  display: grid; place-items: center; font-family: var(--lp-mono); font-size: .72rem; font-weight: 500;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.lp-nav-list a[aria-current="true"] .lp-nav-n { background: var(--lp-amber-fill); border-color: var(--lp-amber-fill); color: var(--lp-on-amber); }
.lp-nav-list li.lp-nav-sep { width: 1px; margin: 14px 10px; background: var(--lp-rule); }
.lp-nav-list li.lp-nav-ind { position: absolute; left: 0; bottom: 0; display: block; height: 2px; width: 0; background: var(--lp-amber-fill); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .lp-nav-list li.lp-nav-ind { transition: transform .35s cubic-bezier(.3, .7, .2, 1), width .35s cubic-bezier(.3, .7, .2, 1), opacity .2s ease; }
}

/* Chapters */
.lp-features .lp-h1 { font-size: clamp(2.2rem, 3.9vw, 3.3rem); }
.lp-features .lp-hero-grid.has-shot .lp-frame { margin-right: 0; }
.lp-fsec { scroll-margin-top: 112px; }
.lp-fhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 72px; align-items: end; margin-bottom: 48px; }
.lp-fhead-t { display: flex; align-items: center; gap: 18px; }
.lp-fhead-t .lp-step-n { flex: none; }
.lp-fhead-r p { max-width: 34em; }
.lp-fhead-r > .lp-plan { margin-top: 16px; }
.lp-h3 { font-family: var(--lp-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.2; text-wrap: balance; margin: 0; }
.lp-fblock.lp-feature { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 56px; }
.lp-fblock.lp-feature.is-flip { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
.lp-fblock + .lp-fblock { margin-top: 88px; }
.lp-fblock + .lp-minis { margin-top: 80px; }
.lp-fblock .lp-feature-text p { max-width: 31em; }

/* The plan a feature needs, when it needs one */
.lp-plan { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--lp-amber); }
.lp-plan::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-amber-fill); flex: none; }
.lp-plan.is-pro { border: 1px solid var(--lp-amber); border-radius: 999px; padding: 2px 11px 2px 9px; }
.lp-feature-text > .lp-plan { margin-bottom: 14px; }
.lp-mini > .lp-plan { margin-top: 14px; }

/* Small items under a capture */
.lp-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; }
.lp-minis.n-1 { grid-template-columns: minmax(0, 36em); }
.lp-minis.n-2, .lp-minis.n-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-mini { border-top: 1px solid var(--lp-rule); padding: 26px 0 34px; }
.lp-mini h3 { font-family: var(--lp-display); font-weight: 600; letter-spacing: -.012em; font-size: 1.15rem; line-height: 1.3; margin: 0; }
.lp-mini p { margin-top: 10px; font-size: .99rem; max-width: 30em; }

@media (max-width: 960px) {
  .lp-fhead { grid-template-columns: minmax(0, 1fr); margin-bottom: 44px; }
  .lp-fblock.lp-feature, .lp-fblock.lp-feature.is-flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-fblock + .lp-fblock { margin-top: 64px; }
  .lp-fblock + .lp-minis { margin-top: 56px; }
  .lp-minis, .lp-minis.n-2, .lp-minis.n-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
  .lp-minis.n-1 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .lp-nav-list { padding: 0 20px; }
  .lp-minis, .lp-minis.n-2, .lp-minis.n-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ Documentation */
.lp-doc { padding: 112px 0 40px; }
.lp-doc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 72px; align-items: start; }

/* Guides column */
.lp-doc-side { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 24px; }
.lp-doc-menu summary { display: none; }
.lp-doc-menu nav { display: block; }
.lp-doc-home { display: block; font-weight: 700; font-size: .95rem; text-decoration: none; margin-bottom: 18px; }
.lp-doc-home:hover { color: var(--lp-amber); }
.lp-doc-cat { margin: 22px 0 8px !important; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--lp-muted); }
.lp-doc-menu ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--lp-rule); }
.lp-doc-menu li a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: .93rem; line-height: 1.4; color: var(--lp-muted); text-decoration: none; }
.lp-doc-menu li a:hover { color: var(--lp-text); }
.lp-doc-menu li a[aria-current="page"] { color: var(--lp-text); font-weight: 600; border-left-color: var(--lp-amber-fill); }
.lp-doc-menu a:focus-visible { outline: 2px solid var(--lp-amber); outline-offset: 2px; border-radius: 4px; }

/* Article */
.lp-doc-main { max-width: 760px; min-width: 0; }
.lp-crumbs { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: var(--lp-muted); margin-bottom: 18px !important; }
.lp-crumbs a { text-decoration: none; }
.lp-crumbs a:hover { color: var(--lp-amber); }
.lp-doc-h1 { font-size: clamp(2rem, 3.6vw, 2.8rem) !important; }
.lp-doc-main > .lp-lead { margin-top: 18px; font-size: 1.15rem; }
.lp-doc-plan { margin-top: 20px !important; }
.lp-doc-updated { margin-top: 12px !important; font-size: .9rem; color: var(--lp-muted); }
.lp-doc-toc { margin: 36px 0 8px; padding: 18px 22px; border: 1px solid var(--lp-rule); border-radius: 12px; background: var(--lp-panel); }
.lp-doc-toc p { font-size: .82rem; font-weight: 700; color: var(--lp-muted); margin-bottom: 8px !important; }
.lp-doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lp-doc-toc a { text-decoration: none; font-size: .98rem; }
.lp-doc-toc a:hover { color: var(--lp-amber); text-decoration: underline; }
.lp-doc-sec { scroll-margin-top: 96px; margin-top: 56px; }
.lp-doc-h2 { font-size: clamp(1.45rem, 2.4vw, 1.75rem) !important; margin-bottom: 18px !important; }
.lp-doc-p { margin: 14px 0 0 !important; max-width: 41em; }
.lp-doc-p strong, .lp-doc-steps strong, .lp-doc-list strong, .lp-callout strong + span strong, .lp-doc-table strong { font-weight: 650; }
.lp-doc code, .lp-doc-main code { font-family: var(--lp-mono); font-size: .88em; padding: 1px 6px; border-radius: 5px; background: var(--lp-panel); border: 1px solid var(--lp-rule); }
.lp-doc-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; max-width: 41em; }
.lp-doc-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.lp-doc-n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--lp-amber); color: var(--lp-amber); font-family: var(--lp-mono); font-size: .82rem; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.lp-doc-list { margin-top: 16px !important; max-width: 41em; }
.lp-doc-shot { margin: 28px 0 6px; }
.lp-doc-shot figcaption { font-size: .88rem; }
.lp-callout { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 24px 0 0; padding: 16px 20px; border-radius: 10px; border: 1px solid var(--lp-rule); border-left: 3px solid var(--lp-amber-fill); background: var(--lp-panel); font-size: .98rem; max-width: 41em; }
.lp-callout > strong { font-size: .86rem; font-weight: 700; color: var(--lp-amber); white-space: nowrap; padding-top: 2px; }
.lp-callout > span { color: var(--lp-muted); }
.lp-doc-table { margin: 22px 0 0; overflow-x: auto; }
.lp-doc-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lp-doc-table th, .lp-doc-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--lp-rule); vertical-align: top; }
.lp-doc-table th { font-size: .82rem; font-weight: 700; color: var(--lp-muted); }
.lp-doc-table td { color: var(--lp-muted); }
.lp-doc-table td:first-child { color: var(--lp-text); font-weight: 600; }

/* Next guides and help */
.lp-doc-next { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--lp-rule); }
.lp-doc-next h2 { font-family: var(--lp-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 20px; }
.lp-doc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-doc-card { display: block; padding: 20px 22px; border: 1px solid var(--lp-rule); border-radius: 12px; background: var(--lp-panel); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.lp-doc-card:hover { border-color: var(--lp-amber); }
.lp-doc-card:focus-visible { outline: 2px solid var(--lp-amber); outline-offset: 3px; }
.lp-doc-card h3 { font-family: var(--lp-display); font-size: 1.1rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; margin: 0; }
.lp-doc-card p { margin-top: 8px; color: var(--lp-muted); font-size: .95rem; line-height: 1.55; }
.lp-doc-card .lp-plan { margin-top: 12px; }
.lp-doc-card[hidden], .lp-doc-group[hidden], .lp-doc-empty[hidden] { display: none; }
.lp-doc-help { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border: 1px solid var(--lp-rule); border-radius: 14px; background: var(--lp-panel); }
.lp-doc-help h2 { font-family: var(--lp-display); font-size: 1.25rem; font-weight: 700; margin: 0; }
.lp-doc-help p { margin-top: 6px; color: var(--lp-muted); }

/* Documentation home */
.lp-docs-hero { padding-bottom: 40px; }
.lp-doc-search { margin-top: 32px; max-width: 560px; }
.lp-doc-search label { display: block; font-size: .86rem; font-weight: 600; color: var(--lp-muted); margin-bottom: 8px; }
.lp-doc-search input { width: 100%; font: inherit; font-size: 1.05rem; padding: 14px 18px; border-radius: 10px; border: 1px solid var(--lp-rule); background: var(--lp-panel); color: var(--lp-text); }
.lp-doc-search input::placeholder { color: var(--lp-muted); opacity: .8; }
.lp-doc-search input:focus-visible { outline: 2px solid var(--lp-amber); outline-offset: 2px; }
.lp-docs-list { padding-top: 48px; }
.lp-doc-group + .lp-doc-group { margin-top: 56px; }
.lp-doc-group .lp-h3 { margin-bottom: 20px; }
.lp-docs-list .lp-doc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-doc-empty { margin-top: 32px !important; }

@media (max-width: 960px) {
  .lp-doc { padding-top: 92px; }
  .lp-doc-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lp-doc-side { position: static; max-height: none; overflow: visible; padding: 0; }
  .lp-doc-menu { border: 1px solid var(--lp-rule); border-radius: 10px; background: var(--lp-panel); }
  .lp-doc-menu summary { display: block; cursor: pointer; padding: 13px 16px; font-weight: 600; list-style: none; }
  .lp-doc-menu summary::-webkit-details-marker { display: none; }
  .lp-doc-menu summary::after { content: "+"; float: right; font-family: var(--lp-mono); color: var(--lp-amber); }
  .lp-doc-menu[open] summary::after { content: "\2212"; }
  .lp-doc-menu nav { padding: 0 16px 16px; }
  .lp-docs-list .lp-doc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lp-doc-cards, .lp-docs-list .lp-doc-cards { grid-template-columns: minmax(0, 1fr); }
  .lp-doc-help { padding: 22px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero .lp-frame, .lp-ledger { animation: none; }
  .lp-btn, .lp-faq summary::after { transition: none; }
}
