/* Standalone explainer: match the studio palette without shared app CSS or JS. */
.library-pack-page {
  --lp-pearl: #f5f7f6;
  --lp-white: #ffffff;
  --lp-text: #171817;
  --lp-muted: #606963;
  --lp-line: #d4ddda;
  --lp-soft-line: #e4eae7;
  --lp-orange: #ff5a1f;
  --lp-action: #c74311;
  --lp-action-hover: #a9360c;
  --lp-font: "Avenir Next", "Segoe UI Variable", "Trebuchet MS", sans-serif;
  --lp-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  margin: 0;
  color-scheme: light;
  color: var(--lp-text);
  background: radial-gradient(ellipse at 55% 0%, #fff 0%, transparent 48rem),
    linear-gradient(132deg, #fff 0%, var(--lp-pearl) 48%, #fff 100%);
  font: 16px/1.6 var(--lp-font);
  -webkit-font-smoothing: antialiased;
}

.library-pack-page *,
.library-pack-page *::before,
.library-pack-page *::after { box-sizing: border-box; }

.library-pack-page :where(h1, h2, h3, p, figure, ul, ol) { margin: 0; }
.library-pack-page :where(a) { color: inherit; text-underline-offset: 4px; }
.library-pack-page :where(a:hover) { color: var(--lp-action); }
.library-pack-page :where(a, summary):focus-visible {
  outline: 3px solid var(--lp-action);
  outline-offset: 5px;
  border-radius: 4px;
}
.library-pack-page :where(section[id], main[id]) { scroll-margin-top: 24px; }
.library-pack-page :where(code) { font-family: var(--lp-mono); }
.library-pack-page :where(h1, h2, h3) { line-height: 1.18; }
.library-pack-page :where(h2) { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; font-weight: 650; }
.library-pack-page :where(h3) { font-size: 17px; font-weight: 650; }

.lp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lp-skip {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 10;
  transform: translateY(-180%);
  padding: 10px 16px;
  background: var(--lp-white);
  font-weight: 650;
}
.lp-skip:focus { transform: translateY(0); }

.lp-header { background: rgba(255, 255, 255, .8); }
.lp-header-inner,
.lp-main,
.lp-footer { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.lp-header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-brand-text { display: grid; line-height: 1.2; }
.lp-brand-text strong { font-size: 17px; font-weight: 800; letter-spacing: -.035em; }
.lp-brand-text > span { margin-top: 3px; color: var(--lp-muted); font-size: 10px; letter-spacing: .02em; }
.lp-signal { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
.lp-signal i { width: 4px; border-radius: 99px; background: var(--lp-orange); }
.lp-signal i:nth-child(1), .lp-signal i:nth-child(5) { height: 12px; }
.lp-signal i:nth-child(2), .lp-signal i:nth-child(4) { height: 22px; }
.lp-signal i:nth-child(3) { height: 32px; }
.lp-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.lp-nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; font-weight: 600; text-decoration: none; }

.lp-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 96px) 80px;
}
.lp-intro, .lp-receipt { min-width: 0; }
.lp-eyebrow { color: var(--lp-muted); font-size: 11px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; font-weight: 650; }
.lp-intro > .lp-eyebrow { display: flex; align-items: center; gap: 9px; }
.lp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lp-orange); }
.lp-intro h1 { margin-block: 22px; font-size: clamp(42px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.055em; font-weight: 650; }
.lp-lede { max-width: 40ch; color: var(--lp-muted); font-size: 18px; line-height: 1.65; }
.lp-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 52px;
  padding: 13px 21px;
  border: 1px solid var(--lp-action);
  border-radius: 12px;
  background: var(--lp-action);
  color: var(--lp-white);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.lp-cta:hover { background: var(--lp-action-hover); border-color: var(--lp-action-hover); color: var(--lp-white); }
.lp-cta > span { font-size: 20px; line-height: 1; }
.lp-intro > .lp-cta { margin-top: 30px; }
.lp-cta-note { margin-top: 14px; font-size: 12px; color: var(--lp-muted); line-height: 1.8; }

.lp-receipt {
  position: relative;
  padding: 28px 26px 22px;
  border: 1px solid var(--lp-line);
  border-radius: 16px;
  background: var(--lp-white);
  box-shadow: 0 18px 46px rgba(34, 45, 41, .055), 0 7px 0 -2px #fff, 0 8px 0 -2px var(--lp-line);
}
.lp-receipt-heading { display: grid; gap: 7px; }
.lp-receipt-heading strong { margin-top: 5px; font-size: 23px; letter-spacing: -.035em; font-weight: 650; }
.lp-receipt-heading > code { color: var(--lp-muted); font-size: 12px; overflow-wrap: anywhere; }
.lp-receipt-table { width: 100%; margin-top: 26px; border-collapse: collapse; text-align: left; }
.lp-receipt-table thead { color: var(--lp-muted); font-size: 10px; }
.lp-receipt-table thead th { padding-bottom: 9px; font-weight: 500; }
.lp-receipt-table tr > :last-child { text-align: right; }
.lp-receipt-table tbody tr { border-top: 1px solid var(--lp-soft-line); }
.lp-receipt-table tbody th { width: 34px; color: var(--lp-muted); font: 11px var(--lp-mono); vertical-align: top; padding-top: 19px; padding-right: 10px; }
.lp-receipt-table td { padding-block: 14px; vertical-align: middle; }
.lp-receipt-table td:nth-child(2) { padding-right: 10px; overflow-wrap: anywhere; }
.lp-receipt-table td > span:not(.lp-status) { display: block; font-size: 13px; font-weight: 600; }
.lp-receipt-table td > :is(code, small) { display: block; color: var(--lp-muted); font-size: 10px; margin-top: 3px; }
.lp-status { display: inline-block; border: 1px solid var(--lp-line); border-radius: 5px; padding: 2px 6px; color: var(--lp-muted); background: var(--lp-pearl); font-size: 10px; white-space: nowrap; }
.lp-status-ready { background: #fff; color: var(--lp-text); }
.lp-status-failed { background: #fff5f0; border-color: #f0d8cc; color: #94360f; }
.lp-receipt-includes { margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--lp-line); }
.lp-receipt-includes p { color: var(--lp-muted); font-size: 11px; }
.lp-receipt-includes ul { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 5px; margin-top: 8px; padding: 0; list-style: none; font-size: 10px; }
.lp-receipt-note { margin-top: 16px; color: var(--lp-muted); font-size: 11px; line-height: 1.7; }

.lp-section { padding-block: 54px 60px; border-top: 1px solid var(--lp-line); }
.lp-section-heading h2 { margin-top: 12px; }
.lp-section-heading > p:not(.lp-eyebrow) { margin-top: 16px; max-width: 58ch; color: var(--lp-muted); font-size: 14px; }
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; margin-top: 36px; padding: 0; list-style: none; }
.lp-step-number { color: var(--lp-muted); font: 12px var(--lp-mono); }
.lp-steps h3 { margin-top: 14px; }
.lp-steps p { margin-top: 12px; color: var(--lp-muted); font-size: 14px; }
.lp-limits { display: grid; grid-template-columns: .85fr 1.3fr; column-gap: 64px; row-gap: 32px; }
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.lp-plan + .lp-plan { border-left: 1px solid var(--lp-line); padding-left: 28px; }
.lp-plan h3 { font-size: 14px; }
.lp-plan-size { margin-top: 13px; font-size: 12px; color: var(--lp-muted); }
.lp-plan-size strong { display: block; font-size: 46px; line-height: 1.2; letter-spacing: -.055em; color: var(--lp-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-plan ul { list-style: none; padding: 0; margin-top: 18px; color: var(--lp-muted); font-size: 13px; }
.lp-plan li + li { margin-top: 5px; }
.lp-retention { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.3fr; column-gap: 64px; padding: 24px 0 0; border-top: 1px dashed var(--lp-line); }
.lp-retention h3 { font-size: 15px; }
.lp-retention p { color: var(--lp-muted); font-size: 13px; }
.lp-retention strong { color: var(--lp-text); font-weight: 600; }

.lp-faq { display: grid; grid-template-columns: .85fr 1.3fr; gap: 64px; }
.lp-questions { min-width: 0; }
.lp-questions details { border-bottom: 1px solid var(--lp-line); }
.lp-questions details:first-child { border-top: 1px solid var(--lp-line); }
.lp-questions summary { padding: 18px 3px; font-size: 14px; font-weight: 600; cursor: pointer; }
.lp-questions summary::marker { color: var(--lp-muted); font-size: 11px; }
.lp-questions summary:hover { color: var(--lp-action); }
.lp-questions p { padding: 0 3px 16px; color: var(--lp-muted); font-size: 14px; }
.lp-questions strong { color: var(--lp-text); font-weight: 600; }
.lp-closing { padding-block: 34px; border-block: 1px solid var(--lp-line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-closing h2 { font-size: 24px; }
.lp-closing p { margin-top: 8px; color: var(--lp-muted); font-size: 13px; }
.lp-closing .lp-cta { flex-shrink: 0; }
.lp-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px 32px; color: var(--lp-muted); font-size: 11px; }
.lp-footer nav { display: flex; gap: 20px; }
.lp-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: no-preference) {
  .lp-intro, .lp-receipt { animation: lp-arrive .45s ease both; }
  .lp-receipt { animation-delay: .08s; }
  @keyframes lp-arrive {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-cta { transition: none; }
}
@media (max-width: 960px) {
  .lp-header-inner, .lp-main, .lp-footer { width: calc(100% - 48px); }
  .lp-hero { gap: 32px; }
  .lp-intro h1 { font-size: 48px; }
  .lp-lede { font-size: 16px; }
  .lp-receipt { padding: 24px 20px 20px; }
  .lp-limits, .lp-retention, .lp-faq { column-gap: 36px; }
  .lp-plans { gap: 20px; }
  .lp-plan + .lp-plan { padding-left: 20px; }
}
@media (max-width: 760px) {
  .lp-header-inner { min-height: 76px; }
  .lp-nav { gap: 16px; }
  .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 48px 56px; }
  .lp-intro h1 { font-size: clamp(42px, 8vw, 60px); }
  .lp-lede { max-width: 46ch; }
  .lp-receipt { width: 100%; max-width: 480px; }
  .lp-section { padding-block: 40px; }
  .lp-steps { gap: 26px; }
  .lp-limits, .lp-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-retention { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-closing { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .lp-header-inner, .lp-main, .lp-footer { width: calc(100% - 40px); }
  .lp-header-inner { flex-wrap: wrap; gap: 4px 20px; padding-block: 12px 6px; }
  .lp-brand-text strong { font-size: 16px; }
  .lp-nav { gap: 22px; }
  .lp-nav a { font-size: 12px; }
  .lp-hero { padding-top: 36px; }
  .lp-intro h1 { font-size: clamp(38px, 10.5vw, 50px); }
  .lp-cta { padding-inline: 18px; gap: 16px; }
  .lp-receipt { padding: 22px 16px 18px; }
  .lp-receipt-table tbody th { width: 26px; padding-right: 6px; }
  .lp-receipt-table td:nth-child(2) { padding-right: 6px; }
  .lp-receipt-table td > code { font-size: 9px; }
  .lp-status { padding-inline: 5px; font-size: 9px; }
  .lp-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 26px; }
  .lp-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; }
  .lp-step-number { padding-top: 4px; }
  .lp-steps h3 { margin: 0; }
  .lp-steps p { grid-column: 2; margin-top: 8px; }
  .lp-plan li { line-height: 1.6; }
  .lp-plan-size strong { font-size: 40px; }
  .lp-footer { flex-direction: column; align-items: flex-start; gap: 5px; }
}
@media (forced-colors: active) {
  .lp-signal i, .lp-dot { background: CanvasText; }
  .lp-cta { border-color: ButtonText; }
  .library-pack-page :where(a, summary):focus-visible { outline-color: Highlight; }
}
