:root {
  --lp-ink: var(--text, #f2f6ff);
  --lp-muted: var(--muted, #aab9e8);
  --lp-line: rgba(130, 175, 255, .22);
  --lp-surface: var(--card-solid, var(--surface, #0c1747));
  --lp-background: var(--bg, var(--ink, #050b26));
  --lp-accent: var(--azure, #3da2ff);
  --lp-gradient: var(--grad, linear-gradient(120deg, #123ce0, #2470ff 52%, #3a92ff));
  --lp-focus: var(--sky, #8fd3ff);
}
[hidden] { display: none !important; }
.lp-button, .lp-device, .lp-text-button, .lp-close, .lp-dialog input { font: inherit; }
.lp-button, .lp-device, .lp-text-button, .lp-close { cursor: pointer; }
.lp-button:focus-visible, .lp-device:focus-visible, .lp-text-button:focus-visible, .lp-close:focus-visible, .lp-dialog input:focus-visible {
  outline: 2px solid var(--lp-focus); outline-offset: 4px;
}
.lp-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 13px 18px; border-radius: 13px; border: 1px solid rgba(170,210,255,.2);
  background: var(--lp-gradient); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15); transition: transform 140ms ease, filter 160ms ease;
}
.lp-button:active { transform: scale(.985); }
.lp-button:disabled, .lp-close:disabled, .lp-device:disabled, .lp-text-button:disabled { opacity: .58; cursor: wait; }
.lp-button-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.lp-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lp-pricing-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0; color: var(--lp-muted); }
.lp-devices { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-device {
  border: 1px solid var(--lp-line); background: rgba(130,175,255,.055); color: var(--lp-muted);
  min-height: 44px; padding: 10px 15px; border-radius: 12px; font-size: 14px; font-weight: 600;
}
.lp-device[aria-pressed="true"] { background: rgba(61,162,255,.16); border-color: var(--lp-accent); color: var(--lp-ink); }
.lp-status { color: var(--lp-muted); min-height: 0; }
.lp-status:not(:empty) { margin: 24px 0; }
.lp-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-plan {
  min-width: 0; padding: 25px 22px; display: flex; flex-direction: column; border: 1px solid var(--lp-line);
  border-radius: 20px; background: var(--card, linear-gradient(180deg,rgba(56,100,255,.15),rgba(18,32,110,.28)));
  color: var(--lp-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.lp-plan.lp-featured { border-color: rgba(94,170,255,.6); background: linear-gradient(160deg,rgba(39,91,230,.28),rgba(22,44,126,.28)); }
.lp-plan-tag { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--lp-muted); font-size: 10px; font-weight: 600; letter-spacing: .06em; margin-bottom: 24px; }
.lp-plan h3 { font-family: inherit; font-size: 23px; line-height: 1.3; letter-spacing: -.025em; font-weight: 700; margin: 0 0 8px; }
.lp-plan-subtitle { margin: 0 0 22px; color: var(--lp-muted); font-size: 14px; }
.lp-plan-price { font-family: var(--font, var(--body, inherit)); font-size: clamp(35px,3.15vw,46px); line-height: 1.2; letter-spacing: -.035em; font-weight: 800; white-space: nowrap; }
.lp-plan-price small { font-family: inherit; font-size: 21px; font-weight: 500; margin-left: 5px; }
.lp-plan-period { color: var(--lp-muted); font-size: 12px; margin: 6px 0 22px; }
.lp-plan-features { list-style: none; padding: 20px 0; margin: 0 0 24px; border-top: 1px solid var(--lp-line); display: grid; gap: 13px; font-size: 13px; color: var(--lp-muted); }
.lp-plan-features li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.lp-plan-features .lp-icon { color: var(--lp-focus); flex: 0 0 15px; width: 15px; height: 17px; }
.lp-plan > .lp-button { width: 100%; margin-top: auto; }
.lp-trial { margin-top: 20px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 17px; border: 1px solid var(--lp-line); background: rgba(61,162,255,.08); }
.lp-trial strong { display: block; font-size: 17px; color: var(--lp-ink); }
.lp-trial p { color: var(--lp-muted); font-size: 13px; margin: 8px 0 0; line-height: 1.6; }
.lp-pricing-note { color: var(--lp-muted); font-size: 13px; line-height: 1.7; margin-top: 23px; }
.lp-plan-empty { grid-column: 1 / -1; padding: 30px; border: 1px solid var(--lp-line); border-radius: 20px; background: var(--lp-surface); }
.lp-plan-empty h3 { font-family: inherit; font-size: 22px; color: var(--lp-ink); }
.lp-plan-empty p { color: var(--lp-muted); margin: 12px 0 20px; }
.lp-dialog {
  box-sizing: border-box; width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; margin: auto; color: var(--lp-ink); background: var(--lp-surface); border: 1px solid rgba(130,175,255,.28);
  border-radius: 22px; box-shadow: 0 24px 90px rgba(0,0,0,.32); overscroll-behavior: contain;
  font-family: var(--font, var(--body, sans-serif));
}
.lp-dialog::backdrop { background: rgba(3,7,23,.78); backdrop-filter: blur(5px); }
.lp-checkout-core { padding: 28px; }
.lp-checkout-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lp-checkout-label { color: var(--lp-focus); font-size: 11px; font-weight: 600; letter-spacing: .09em; }
.lp-close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--lp-line); border-radius: 12px; background: rgba(130,175,255,.07); color: var(--lp-ink); font-size: 27px; }
.lp-checkout-progress { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--lp-muted); margin: 18px 0 26px; }
.lp-checkout-progress i { flex: 1; height: 1px; background: var(--lp-line); }
.lp-checkout-progress [aria-current="step"] { color: var(--lp-focus); }
.lp-dialog h2 { margin: 0 0 12px; color: var(--lp-ink); font-family: inherit; font-size: 29px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.lp-checkout-description { margin: 0 0 21px; color: var(--lp-muted); font-size: 14px; line-height: 1.6; }
.lp-chosen-plan { padding: 16px 18px; margin-bottom: 23px; background: rgba(61,162,255,.08); border: 1px solid var(--lp-line); border-radius: 13px; font-size: 13px; line-height: 1.6; }
.lp-chosen-plan:empty { display: none; }
.lp-chosen-plan strong { display: block; font-weight: 650; color: var(--lp-ink); }
.lp-chosen-plan div { color: var(--lp-muted); margin-top: 4px; }
.lp-dialog form { margin: 0; }
.lp-dialog form > label { display: block; margin: 0 0 9px; font-size: 14px; font-weight: 500; }
.lp-dialog .lp-optional { color: var(--lp-muted); font-weight: 400; }
.lp-dialog .lp-input-shell { margin-bottom: 17px; }
.lp-dialog .lp-input-shell input { box-sizing: border-box; width: 100%; min-height: 50px; padding: 13px 15px; color: var(--lp-ink); background: rgba(3,9,35,.42); border: 1px solid var(--lp-line); border-radius: 12px; font-size: 16px; }
.lp-dialog input::placeholder { color: var(--lp-muted); opacity: .8; }
.lp-dialog .lp-consent-row { display: flex; align-items: flex-start; gap: 11px; margin: 20px 0 24px; color: var(--lp-muted); font-size: 13px; font-weight: 400; line-height: 1.65; cursor: pointer; }
.lp-consent-row input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--lp-accent); }
.lp-consent-row a { color: var(--lp-focus); text-decoration: underline; text-underline-offset: 3px; }
.lp-dialog .lp-full-width { width: 100%; }
.lp-resend-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: -3px 0 17px; }
.lp-text-button { background: none; border: 0; color: var(--lp-focus); padding: 11px 0; min-height: 44px; font-size: 13px; text-underline-offset: 4px; }
.lp-text-button:hover { text-decoration: underline; }
.lp-quote-box { padding: 17px 18px; border: 1px solid var(--lp-line); border-radius: 13px; background: rgba(61,162,255,.06); }
.lp-quote-box > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 14px; color: var(--lp-muted); font-size: 13px; }
.lp-quote-box > div strong { text-align: right; color: var(--lp-ink); font-weight: 600; }
.lp-quote-box > .lp-quote-total { padding-top: 16px; margin: 0; border-top: 1px solid var(--lp-line); }
.lp-quote-total strong { font-size: 30px; }
.lp-renewal-notice { font-size: 13px; line-height: 1.65; color: var(--lp-muted); margin: 19px 0; }
.lp-edit-quote { display: block; margin: 9px auto 0; }
.lp-checkout-status { font-size: 13px; line-height: 1.7; color: var(--lp-focus); margin: 15px 0 0; overflow-wrap: anywhere; }
.lp-checkout-status:empty { display: none; }
.lp-checkout-status[data-error="true"] { color: #ffb4ae; }
.lp-checkout-safe { color: var(--lp-muted); font-size: 11px; line-height: 1.6; text-align: center; margin-top: 22px; }
.lp-checkout-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (hover: hover) and (pointer: fine) { .lp-button:hover { filter: brightness(1.09); } }
@media (max-width: 1080px) { .lp-plans { grid-template-columns: repeat(2,minmax(0,1fr)); } .lp-plan-price { font-size: 46px; } }
@media (max-width: 640px) {
  .lp-pricing-intro { align-items: flex-start; flex-direction: column; gap: 16px; }
  .lp-plans { grid-template-columns: 1fr; gap: 16px; }
  .lp-plan { padding: 25px; }
  .lp-plan h3 { font-size: 26px; }
  .lp-plan-price { font-size: 48px; }
  .lp-trial { align-items: stretch; flex-direction: column; gap: 18px; padding: 21px; }
  .lp-trial .lp-button { width: 100%; }
  .lp-checkout-core { padding: 22px 19px; }
  .lp-dialog h2 { font-size: 26px; }
  .lp-checkout-progress { gap: 7px; font-size: 10px; }
  .lp-quote-box > div { gap: 10px; }
  .lp-quote-box #quote-duration { max-width: 60%; }
}
@media (prefers-reduced-motion: reduce) { .lp-button { transition: none; } .lp-button:active { transform: none; } }
