.lp-v2 {
    --lp-blue: #0074bf;
    --lp-blue-hover: #005a94;
    --lp-blue-light: #e8f4fd;
    --lp-dark: #1a1a2e;
    --lp-text: #374151;
    --lp-text-muted: #6b7280;
    --lp-bg: #ffffff;
    --lp-bg-alt: #f8f9fb;
    --lp-border: #e5e7eb;
    --lp-code-bg: #080a10;
    --lp-code-header: #10121c;
    --lp-radius: 8px;
    --lp-radius-lg: 12px;
    --lp-nav-h: 64px;
    --lp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --lp-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", Menlo, Monaco, Consolas, monospace;
    --lp-serif: "LyonDisplay", "LyonText", Georgia, serif;
}

.lp-v2,
.lp-v2 *,
.lp-v2 *::before,
.lp-v2 *::after { box-sizing: border-box; }

.lp-v2 {
    font-family: var(--lp-font);
    color: var(--lp-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lp-dash .lp-container {
    max-width: 1000px;
}

/* ---------------------------------------- */
/* Navigation                               */
/* ---------------------------------------- */

.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--lp-nav-h);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lp-border);
    transition: box-shadow 0.2s ease;
}
.lp-nav.lp-nav-scrolled {
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.lp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
a.lp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--lp-dark);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    font-family: var(--lp-serif);
}
.lp-logo svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.lp-nav-links a {
    text-decoration: none;
    color: var(--lp-text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s ease;
}
.lp-nav-links a:hover {
    color: var(--lp-dark);
}
a.lp-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--lp-blue);
    color: #fff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease;
}
a.lp-nav-cta:hover {
    background: var(--lp-blue-hover);
}
.lp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.lp-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--lp-dark);
    border-radius: 1px;
    transition: all 0.2s ease;
}

/* ---------------------------------------- */
/* Buttons                                  */
/* ---------------------------------------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.3;
}
.lp-btn-primary {
    background: var(--lp-blue);
    color: #fff;
    border-color: var(--lp-blue);
}
.lp-btn-primary:hover {
    background: var(--lp-blue-hover);
    border-color: var(--lp-blue-hover);
    color: #fff;
}
.lp-btn-secondary {
    background: transparent;
    color: var(--lp-blue);
    border-color: var(--lp-blue);
}
.lp-btn-secondary:hover {
    background: var(--lp-blue);
    color: #fff;
}
.lp-btn-ghost {
    background: transparent;
    color: var(--lp-blue);
    border-color: transparent;
    padding-left: 4px;
    padding-right: 4px;
}
.lp-btn-ghost:hover {
    color: var(--lp-blue-hover);
}

/* ---------------------------------------- */
/* Hero                                     */
/* ---------------------------------------- */

.lp-hero {
    padding: 140px 0 80px;
    background: linear-gradient(170deg, #f8faff 0%, #fff 40%, var(--lp-bg) 100%);
}
.lp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}
.lp-hero-text h1 {
    font-family: var(--lp-serif);
    font-size: 62px;
    line-height: 1.12;
    font-weight: 700;
    color: var(--lp-dark);
    letter-spacing: -0.025em;
    margin: 0 0 20px;
}
.lp-hero-text p {
    font-size: 19px;
    color: var(--lp-text-muted);
    line-height: 1.6;
    margin: 0 0 36px;
    max-width: 440px;
}
.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* ---------------------------------------- */
/* Code Window                              */
/* ---------------------------------------- */

.lp-hero-demo {
    min-width: 0;
}
.lp-code-window {
    background: var(--lp-code-bg);
    border-radius: var(--lp-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.lp-code-header {
    display: flex;
    align-items: center;
    background: var(--lp-code-header);
    padding: 0 16px;
    border-bottom: 1px solid #333;
}
.lp-code-dots {
    display: flex;
    gap: 7px;
    margin-right: 20px;
    padding: 16px 0;
}
.lp-code-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.lp-code-dot:nth-child(1) { background: #ed6a5e; }
.lp-code-dot:nth-child(2) { background: #f5bf4f; }
.lp-code-dot:nth-child(3) { background: #62c554; }
.lp-code-tabs {
    display: flex;
    gap: 0;
}
.lp-code-tab {
    padding: 12px 16px;
    background: none;
    border: none;
    color: #6c7086;
    font-size: 13px;
    font-family: var(--lp-font);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s ease;
    margin-bottom: -1px;
}
.lp-code-tab:hover { color: #a6adc8; }
.lp-code-tab.active {
    color: #cdd6f4;
    border-bottom-color: var(--lp-blue);
}
.lp-code-body {
    position: relative;
    min-height: 200px;
}
.lp-code-panel {
    display: none;
    padding: 20px 20px 16px;
    margin: 0;
    overflow-x: auto;
    max-width: 100%;
    background: var(--lp-code-bg);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    visibility: hidden;
    border: none;
}
.lp-code-panel.active {
    display: block;
    position: relative;
    visibility: visible;
}
.lp-code-panel.lp-measure {
    display: block;
    position: absolute;
    visibility: hidden;
}
.lp-code-panel code {
    font-family: var(--lp-mono);
    font-size: 13.5px;
    line-height: 1.65;
    color: #cdd6f4;
    white-space: pre;
    background: none;
    padding: 0;
}
.lp-code-divider {
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c7086;
    border-top: 1px solid #333;
    background: rgba(255,255,255,0.02);
}
.lp-code-response {
    padding: 16px 20px 20px;
    margin: 0;
    overflow-x: auto;
    background: var(--lp-code-bg);
    border: none;
    border-top: 1px solid #333;
}
.lp-code-response code {
    font-family: var(--lp-mono);
    font-size: 13px;
    line-height: 1.6;
    color: #cdd6f4;
    white-space: pre;
    background: none;
    padding: 0;
}
.lp-copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #6c7086;
    font-size: 12px;
    font-family: var(--lp-font);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 2;
}
.lp-copy-btn:hover {
    background: rgba(255,255,255,0.14);
    color: #cdd6f4;
}

/* Syntax highlighting */
.hl-kw { color: #cba6f7; }
.hl-str { color: #a6e3a1; }
.hl-fn { color: #89b4fa; }
.hl-cm { color: #6c7086; }
.hl-num { color: #fab387; }
.hl-key { color: #89dceb; }
.hl-op { color: #94e2d5; }
.hl-flag { color: #f38ba8; }

/* ---------------------------------------- */
/* Section base                             */
/* ---------------------------------------- */

.lp-section {
    padding: 100px 0;
}
.lp-section-alt {
    background: var(--lp-bg-alt);
}
.lp-section-header {
    text-align: center;
    margin-bottom: 64px;
}
.lp-section-header h2 {
    font-family: var(--lp-serif);
    font-size: 40px;
    font-weight: 700;
    color: var(--lp-dark);
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    line-height: 1.2;
}
.lp-section-header p {
    font-size: 18px;
    color: var(--lp-text-muted);
    max-width: 580px;
    margin: 0 auto;
}

/* ---------------------------------------- */
/* Pillars                                  */
/* ---------------------------------------- */

.lp-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.lp-pillar {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 36px 32px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.lp-pillar:hover {
    border-color: #d0d5dd;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.lp-pillar-icon {
    width: 48px;
    height: 48px;
    background: var(--lp-blue-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--lp-blue);
}
.lp-pillar-icon svg {
    width: 24px;
    height: 24px;
}
.lp-pillar h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--lp-dark);
    margin: 0 0 12px;
}
.lp-pillar > p {
    font-size: 15px;
    color: var(--lp-text-muted);
    line-height: 1.6;
    margin: 0 0 20px;
}
.lp-pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.lp-pillar-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--lp-bg-alt);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--lp-text-muted);
}
.lp-pillar-endpoint {
    display: block;
    font-family: var(--lp-mono);
    font-size: 13px;
    color: var(--lp-blue);
    padding: 10px 14px;
    background: #f0f7fc;
    border-radius: 6px;
    overflow-x: auto;
    white-space: nowrap;
}

/* ---------------------------------------- */
/* Why Instaparser                          */
/* ---------------------------------------- */

.lp-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
}
.lp-why-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--lp-dark);
    margin: 0 0 10px;
}
.lp-why-item p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--lp-text);
    margin: 0;
}

/* ---------------------------------------- */
/* Playground                               */
/* ---------------------------------------- */

.lp-playground-box {
    max-width: 860px;
    margin: 0 auto;
}
.lp-playground-input {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.lp-playground-input input {
    flex: 1;
    padding: 14px 18px;
    font-size: 16px;
    font-family: var(--lp-font);
    border: 2px solid var(--lp-border);
    border-radius: var(--lp-radius);
    outline: none;
    transition: border-color 0.15s ease;
    color: var(--lp-dark);
    background: #fff;
}
.lp-playground-input input:focus {
    border-color: var(--lp-blue);
}
.lp-playground-input button {
    padding: 14px 32px;
    background: var(--lp-blue);
    color: #fff;
    border: none;
    border-radius: var(--lp-radius);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--lp-font);
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}
.lp-playground-input button:hover {
    background: var(--lp-blue-hover);
}
/* Preview API selector (dashboard _test_drive partial) */

.lp-preview-api-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}
.lp-preview-api-row > span {
    font-size: 14px;
    color: var(--lp-text-muted);
    margin-right: 4px;
}
.lp-preview-api-btn {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    font-size: 13px;
    font-family: var(--lp-font);
    font-weight: 500;
    color: var(--lp-text);
    cursor: pointer;
    transition: all 0.15s ease;
}
.lp-preview-api-btn:hover,
.lp-preview-api-btn.active {
    border-color: var(--lp-blue);
    color: var(--lp-blue);
    background: var(--lp-blue-light);
}

.lp-playground-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    align-items: center;
}
.lp-playground-examples span {
    font-size: 14px;
    color: var(--lp-text-muted);
    margin-right: 4px;
}
.lp-playground-example {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    font-size: 13px;
    font-family: var(--lp-mono);
    color: var(--lp-text);
    cursor: pointer;
    transition: all 0.15s ease;
}
.lp-playground-example:hover,
.lp-playground-example.active {
    border-color: var(--lp-blue);
    color: var(--lp-blue);
    background: var(--lp-blue-light);
}
.lp-playground-result {
    background: var(--lp-code-bg);
    border-radius: var(--lp-radius-lg);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.lp-playground-result pre {
    background-color: var(--lp-code-bg);
    border: 1px solid #333;
}
.lp-playground-result.visible {
    max-height: 500px;
    opacity: 1;
}
.lp-playground-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-playground-result-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c7086;
}
.lp-playground-result-status {
    font-size: 12px;
    color: #a6e3a1;
    font-family: var(--lp-mono);
}
.lp-playground-result pre {
    padding: 16px 20px 20px;
    margin: 0;
    overflow-x: auto;
}
.lp-playground-result code {
    font-family: var(--lp-mono);
    font-size: 13px;
    line-height: 1.6;
    color: #cdd6f4;
    white-space: pre;
    background: none;
    padding: 0;
}
.lp-playground-cta {
    text-align: center;
    margin-top: 32px;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}
.lp-playground-cta.visible { opacity: 1; }
.lp-playground-cta a {
    color: var(--lp-blue);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}
.lp-playground-cta a:hover { text-decoration: underline; }

/* ---------------------------------------- */
/* Trust                                    */
/* ---------------------------------------- */

.lp-trust {
    padding: 64px 0;
    border-top: 1px solid var(--lp-border);
    border-bottom: 1px solid var(--lp-border);
    text-align: center;
}
.lp-trust p {
    font-family: var(--lp-serif);
    font-size: 22px;
    color: var(--lp-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ---------------------------------------- */
/* Pricing                                  */
/* ---------------------------------------- */

.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.lp-price-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 36px 28px 32px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s ease;
}
.lp-price-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.lp-price-featured {
    border-color: var(--lp-blue);
    box-shadow: 0 8px 30px rgba(0,116,191,0.12);
}
.lp-price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--lp-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.lp-price-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--lp-dark);
    margin: 0 0 8px;
}
.lp-price-amount {
    font-size: 42px;
    font-weight: 700;
    color: var(--lp-dark);
    line-height: 1.1;
    margin-bottom: 4px;
}
.lp-price-amount span {
    font-size: 18px;
    font-weight: 500;
    color: var(--lp-text-muted);
}
.lp-price-period {
    font-size: 14px;
    color: var(--lp-text-muted);
    margin-bottom: 28px;
}
.lp-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
}
.lp-price-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--lp-text);
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
}
.lp-price-features li:last-child { border-bottom: none; }
.lp-price-features .lp-feat-label { color: var(--lp-text-muted); }
.lp-price-features .lp-feat-value { font-weight: 600; color: var(--lp-dark); }
.lp-price-card .lp-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
}
.lp-pricing-note {
    text-align: center;
    font-size: 16px;
    color: var(--lp-text-muted);
    margin-top: 48px;
}
.lp-pricing-note a {
    color: var(--lp-blue);
    text-decoration: none;
    font-weight: 600;
}

.lp-pricing-page {
    padding: 140px 0 100px;
    background: linear-gradient(170deg, #f8faff 0%, #fff 40%, var(--lp-bg) 100%);
}
.lp-pricing-page .lp-section-header {
    margin-bottom: 56px;
}
.lp-pricing-page .lp-pricing-grid {
    margin-bottom: 0;
}
.lp-pricing-page .flash {
    max-width: 600px;
    margin: 0 auto 32px;
    padding: 14px 18px;
    border-radius: var(--lp-radius);
    font-size: 15px;
    line-height: 1.5;
}

.lp-btn-current {
    background: var(--lp-bg-alt);
    color: var(--lp-text-muted);
    border-color: var(--lp-border);
    cursor: default;
}

@media (max-width: 768px) {
    .lp-pricing-page { padding: 100px 0 60px; }
}

/* ---------------------------------------- */
/* Markdown pages (terms, privacy, etc.)    */
/* ---------------------------------------- */

.lp-markdown-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 300px);
}
.lp-markdown-page .lp-container {
    max-width: 780px;
}
.lp-markdown-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--lp-border);
}
.lp-markdown-header h1 {
    font-family: var(--lp-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--lp-dark);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .lp-markdown-page { padding: 100px 0 60px; }
    .lp-markdown-header h1 { font-size: 28px; }
}

/* ---------------------------------------- */
/* Footer                                   */
/* ---------------------------------------- */

.lp-footer {
    background: var(--lp-dark);
    color: #9ca3af;
    padding: 72px 0 40px;
}
.lp-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 56px;
}
.lp-footer-col h4 {
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 20px;
}
.lp-footer-col a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.15s ease;
}
.lp-footer-col a:hover { color: #fff; }
.lp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.lp-footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
}
.lp-footer-bottom a:hover { color: #fff; }

/* ---------------------------------------- */
/* Responsive: Tablet                       */
/* ---------------------------------------- */

@media (max-width: 1024px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .lp-hero-text h1 { font-size: 42px; }
    .lp-pillars-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .lp-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------- */
/* Responsive: Mobile                       */
/* ---------------------------------------- */

@media (max-width: 768px) {
    .lp-nav-links { display: none; }
    .lp-nav-links.lp-nav-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--lp-nav-h);
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--lp-border);
        padding: 16px 24px 24px;
        gap: 16px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    }
    .lp-nav-links.lp-nav-open a.lp-nav-cta {
        text-align: center;
        justify-content: center;
    }
    .lp-mobile-toggle { display: flex; }

    .lp-hero { padding: 100px 0 60px; }
    .lp-hero-text h1 { font-size: 34px; }
    .lp-hero-text p { font-size: 17px; }
    .lp-hero-actions { flex-direction: column; align-items: stretch; }
    .lp-hero-actions .lp-btn { text-align: center; justify-content: center; }

    .lp-section { padding: 64px 0; }
    .lp-section-header h2 { font-size: 30px; }
    .lp-section-header { margin-bottom: 40px; }

    .lp-why-grid { grid-template-columns: 1fr; gap: 36px; }
    .lp-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 48px; }

    .lp-playground-input { flex-direction: column; }
    .lp-playground-examples { justify-content: center; }

    .lp-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .lp-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .lp-trust p { font-size: 18px; padding: 0 16px; }
}

@media (max-width: 480px) {
    .lp-hero-text h1 { font-size: 28px; }
    .lp-code-panel code,
    .lp-code-response code { font-size: 12px; }
    .lp-price-amount { font-size: 36px; }
}

/* ---------------------------------------- */
/* Login                                    */
/* ---------------------------------------- */

.lp-login {
    padding: 140px 0 100px;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    background: linear-gradient(170deg, #f8faff 0%, #fff 40%, var(--lp-bg) 100%);
}
.lp-login .lp-container {
    display: flex;
    justify-content: center;
}
.lp-login-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 48px 40px 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.lp-login-header {
    text-align: center;
    margin-bottom: 32px;
}
.lp-login-icon {
    width: 56px;
    height: 56px;
    background: var(--lp-blue-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--lp-blue);
}
.lp-login-icon svg {
    width: 28px;
    height: 28px;
}
.lp-login-header h1 {
    font-family: var(--lp-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--lp-dark);
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    line-height: 1.2;
}
.lp-login-header p {
    font-size: 16px;
    color: var(--lp-text-muted);
    margin: 0;
    line-height: 1.5;
}
.lp-login-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-dark);
    margin-bottom: 8px;
}
.lp-login-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: var(--lp-font);
    border: 2px solid var(--lp-border);
    border-radius: var(--lp-radius);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    color: var(--lp-dark);
    background: #fff;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.lp-login-input:focus {
    border-color: var(--lp-blue);
    box-shadow: 0 0 0 3px rgba(0, 116, 191, 0.1);
}
.lp-login-submit {
    width: 100%;
    padding: 14px 28px;
    font-family: var(--lp-font);
}
.lp-login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--lp-border);
}
.lp-login-footer p {
    font-size: 15px;
    color: var(--lp-text-muted);
    margin: 0;
}
.lp-login-footer a {
    color: var(--lp-blue);
    text-decoration: none;
    font-weight: 600;
}
.lp-login-footer a:hover {
    text-decoration: underline;
}
.lp-login-card .flash,
.lp-signup-card .flash {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

/* Signup card */

.lp-signup-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 48px 40px 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.lp-signup-form .lp-login-input {
    margin-bottom: 16px;
}
.lp-signup-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.lp-signup-row .lp-login-input {
    margin-bottom: 0;
}
.lp-signup-row .lp-signup-field {
    margin-bottom: 16px;
}
.lp-signup-req {
    color: #dc3545;
}
.lp-signup-terms {
    margin: 8px 0 0;
    padding: 12px 0;
    border-bottom: none;
}
.lp-signup-terms .lp-acct-checkbox-text a {
    color: var(--lp-blue);
    text-decoration: none;
    font-weight: 600;
}
.lp-signup-terms .lp-acct-checkbox-text a:hover {
    text-decoration: underline;
}
.lp-signup-recaptcha {
    margin: 12px 0 20px;
}

@media (max-width: 768px) {
    .lp-login { padding: 100px 0 60px; }
    .lp-login-card,
    .lp-signup-card {
        padding: 36px 24px 32px;
        margin: 0 8px;
    }
    .lp-login-header h1 { font-size: 24px; }
    .lp-signup-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------------------------------------- */
/* Docs Layout                              */
/* ---------------------------------------- */

.lp-nav-docs .lp-nav-inner {
    max-width: none;
    padding: 0px 34px;
}

.lp-docs-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    padding-top: var(--lp-nav-h);
}

.lp-docs-sidebar {
    position: sticky;
    top: var(--lp-nav-h);
    height: calc(100vh - var(--lp-nav-h));
    overflow-y: auto;
    border-right: 1px solid var(--lp-border);
    background: var(--lp-bg-alt);
}
.lp-docs-sidebar-inner {
    padding: 32px 24px;
}
.lp-docs-sidebar-inner h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lp-text-muted);
    margin: 0 0 16px;
    padding: 0 12px;
}
.lp-docs-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lp-docs-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lp-text);
    text-decoration: none;
    transition: all 0.15s ease;
}
.lp-docs-nav a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--lp-text-muted);
    transition: color 0.15s ease;
}
.lp-docs-nav a:hover {
    background: rgba(0, 116, 191, 0.06);
    color: var(--lp-blue);
}
.lp-docs-nav a:hover svg { color: var(--lp-blue); }
.lp-docs-nav a.active {
    background: var(--lp-blue-light);
    color: var(--lp-blue);
    font-weight: 600;
}
.lp-docs-nav a.active svg { color: var(--lp-blue); }

.lp-docs-content {
    max-width: 860px;
    padding: 48px 56px 80px;
    min-width: 0;
}

.lp-docs-header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--lp-border);
}
.lp-docs-header h1 {
    font-family: var(--lp-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--lp-dark);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    line-height: 1.2;
}
.lp-docs-header p {
    font-size: 17px;
    color: var(--lp-text-muted);
    line-height: 1.6;
    margin: 0;
}
.lp-docs-header p a {
    color: var(--lp-blue);
    text-decoration: none;
    font-weight: 500;
}
.lp-docs-header p a:hover { text-decoration: underline; }

/* ---------------------------------------- */
/* Docs: Markdown content styling           */
/* ---------------------------------------- */

.lp-docs-body h5 {
    font-size: 22px;
    font-weight: 700;
    color: var(--lp-dark);
    margin: 48px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--lp-border);
    line-height: 1.3;
}
.lp-docs-body h5:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.lp-docs-body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lp-text);
    margin: 0 0 16px;
}
.lp-docs-body p a,
.lp-docs-body li a {
    color: var(--lp-blue);
    text-decoration: none;
    font-weight: 500;
}
.lp-docs-body p a:hover,
.lp-docs-body li a:hover { text-decoration: underline; }

.lp-docs-body strong {
    font-weight: 600;
    color: var(--lp-dark);
}

.lp-docs-body hr {
    border: none;
    border-top: 1px solid var(--lp-border);
    margin: 40px 0;
}

.lp-docs-body code {
    font-family: var(--lp-mono);
    font-size: 13px;
    background: var(--lp-bg-alt);
    padding: 2px 7px;
    border-radius: 4px;
    color: #d6336c;
    border: 1px solid var(--lp-border);
}
.lp-docs-body pre {
    background: var(--lp-code-bg);
    border-radius: var(--lp-radius);
    padding: 20px;
    margin: 0 0 20px;
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,0.06);
}
.lp-docs-body pre code {
    font-family: var(--lp-mono);
    font-size: 13px;
    line-height: 1.65;
    color: #cdd6f4;
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
}

.lp-docs-body .flash {
    font-family: var(--lp-mono);
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 0 0 20px;
    font-weight: 500;
}
.lp-docs-body .flash_info {
    background: var(--lp-blue-light);
    color: var(--lp-blue);
    border: 1px solid rgba(0, 116, 191, 0.15);
}

.lp-docs-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 20px;
    font-size: 14px;
}
.lp-docs-body table th {
    text-align: left;
    font-weight: 600;
    color: var(--lp-dark);
    padding: 10px 16px;
    border-bottom: 2px solid var(--lp-border);
    background: var(--lp-bg-alt);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.lp-docs-body table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--lp-border);
    color: var(--lp-text);
    vertical-align: top;
    line-height: 1.5;
}
.lp-docs-body table td code {
    font-size: 12.5px;
    padding: 1px 6px;
}
.lp-docs-body table td em {
    font-style: normal;
    font-family: var(--lp-mono);
    font-size: 13px;
    font-weight: 600;
}
.lp-docs-body table tr:last-child td { border-bottom: none; }

.lp-docs-body ul,
.lp-docs-body ol {
    margin: 0 0 20px;
    padding-left: 24px;
}
.lp-docs-body li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lp-text);
    margin-bottom: 6px;
}

.lp-docs-sidebar-toggle {
    display: none;
    background: none;
    border: 1px solid var(--lp-border);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
    margin-bottom: 20px;
    color: var(--lp-text-muted);
    transition: all 0.15s ease;
}
.lp-docs-sidebar-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}
.lp-docs-sidebar-toggle:hover {
    border-color: var(--lp-blue);
    color: var(--lp-blue);
}

/* ---------------------------------------- */
/* Docs: Responsive                         */
/* ---------------------------------------- */

@media (max-width: 1024px) {
    .lp-docs-content {
        padding: 40px 32px 80px;
    }
}

@media (max-width: 768px) {
    .lp-docs-wrapper {
        grid-template-columns: 1fr;
    }
    .lp-docs-sidebar {
        position: fixed;
        top: var(--lp-nav-h);
        left: 0;
        bottom: 0;
        width: 280px;
        z-index: 90;
        transform: translateX(-100%);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        box-shadow: none;
    }
    .lp-docs-sidebar.lp-docs-sidebar-open {
        transform: translateX(0);
        box-shadow: 8px 0 30px rgba(0,0,0,0.1);
    }
    .lp-docs-sidebar-toggle { display: block; }
    .lp-docs-content { padding: 24px 20px 60px; }
    .lp-docs-header h1 { font-size: 28px; }
    .lp-docs-header p { font-size: 15px; }
    .lp-docs-body h5 { font-size: 19px; }
    .lp-docs-body table { font-size: 13px; }
    .lp-docs-body table th,
    .lp-docs-body table td { padding: 8px 10px; }
}

/* ---------------------------------------- */
/* Preview API selector                     */
/* ---------------------------------------- */

.lp-preview-api-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}
.lp-preview-api-row > span {
    font-size: 14px;
    color: var(--lp-text-muted);
    margin-right: 4px;
}
.lp-preview-api-btn {
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    font-size: 13px;
    font-family: var(--lp-font);
    font-weight: 500;
    color: var(--lp-text);
    cursor: pointer;
    transition: all 0.15s ease;
}
.lp-preview-api-btn:hover,
.lp-preview-api-btn.active {
    border-color: var(--lp-blue);
    color: var(--lp-blue);
    background: var(--lp-blue-light);
}

/* ---------------------------------------- */
/* Dashboard                                */
/* ---------------------------------------- */

.lp-dash {
    padding: 120px 0 80px;
    min-height: calc(100vh - 300px);
    background: linear-gradient(170deg, #f8faff 0%, #fff 40%, var(--lp-bg) 100%);
}

.lp-dash-header {
    margin-bottom: 32px;
}
.lp-dash-header h1 {
    font-family: var(--lp-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--lp-dark);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.lp-dash-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.lp-dash-meta-item {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
}
.lp-dash-meta-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-text-muted);
}
.lp-dash-meta-value {
    font-family: var(--lp-mono);
    font-size: 15px;
    color: var(--lp-dark);
    font-weight: 600;
    background: none;
    padding: 0;
    border: none;
    word-break: break-all;
}
.lp-dash-meta-plan {
    font-family: var(--lp-font);
    font-size: 16px;
}

/* Sections */

.lp-dash-section {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}
.lp-dash-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.lp-dash-section-head svg {
    width: 22px;
    height: 22px;
    color: var(--lp-blue);
    flex-shrink: 0;
}
.lp-dash-section-head h2 {
    font-family: var(--lp-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--lp-dark);
    margin: 0;
    line-height: 1.3;
}

/* Tabs */

.lp-dash-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--lp-border);
    margin-bottom: 24px;
    list-style: none;
    padding: 0;
}
.lp-dash-tabs li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s ease;
    cursor: pointer;
}
.lp-dash-tabs li a:hover {
    color: var(--lp-dark);
}
.lp-dash-tabs li.active a {
    color: var(--lp-blue);
}

.lp-dash-tab-content {
    min-height: 305px;
}


.lp-dash-chart {
    width: 100%;
    overflow: hidden;
}

/* Tooltip */

.lp-dash-tooltip {
    display: none;
    z-index: 50;
    background: var(--lp-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Table */

.lp-dash-table-wrap {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
}
.lp-dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.lp-dash-table th {
    position: sticky;
    top: 0;
    text-align: left;
    font-weight: 600;
    color: var(--lp-dark);
    padding: 12px 16px;
    background: var(--lp-bg-alt);
    border-bottom: 2px solid var(--lp-border);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    z-index: 1;
}
.lp-dash-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--lp-border);
    color: var(--lp-text);
}
.lp-dash-table tbody tr:last-child td { border-bottom: none; }
.lp-dash-table tfoot th {
    border-top: 2px solid var(--lp-border);
    border-bottom: none;
    position: static;
}

/* Empty state */

.lp-dash-empty {
    text-align: center;
    padding: 24px 0 8px;
}
.lp-dash-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--lp-dark);
    margin: 0 0 8px;
}
.lp-dash-empty > p {
    font-size: 16px;
    color: var(--lp-text-muted);
    margin: 0 0 32px;
}

.lp-dash-examples {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}
.lp-dash-example {
    margin-bottom: 24px;
}
.lp-dash-example-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-dark);
    margin-bottom: 8px;
}
.lp-dash-example-label code {
    font-family: var(--lp-mono);
    font-size: 12px;
    background: var(--lp-bg-alt);
    padding: 2px 7px;
    border-radius: 4px;
    color: #d6336c;
    border: 1px solid var(--lp-border);
    font-weight: 400;
}
.lp-dash-example pre {
    background: var(--lp-code-bg);
    border-radius: var(--lp-radius);
    padding: 16px 20px;
    margin: 0;
    overflow-x: auto;
    border: 1px solid rgba(255,255,255,0.06);
}
.lp-dash-example pre code {
    font-family: var(--lp-mono);
    font-size: 13px;
    line-height: 1.65;
    color: #cdd6f4;
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
    white-space: pre;
}
.lp-dash-examples-cta {
    text-align: center;
    margin-top: 32px;
    font-size: 16px;
}
.lp-dash-examples-cta a {
    color: var(--lp-blue);
    text-decoration: none;
    font-weight: 600;
}
.lp-dash-examples-cta a:hover { text-decoration: underline; }

/* Doc cards */

.lp-dash-docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.lp-dash-doc-card {
    display: block;
    padding: 24px;
    background: var(--lp-bg-alt);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lp-dash-doc-card:hover {
    border-color: var(--lp-blue);
    box-shadow: 0 4px 16px rgba(0,116,191,0.08);
}
.lp-dash-doc-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--lp-dark);
    margin: 0 0 8px;
}
.lp-dash-doc-card p {
    font-size: 14px;
    color: var(--lp-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Support */

.lp-dash-support-text {
    font-size: 16px;
    color: var(--lp-text);
    margin: 0;
    line-height: 1.6;
}
.lp-dash-support-text a {
    color: var(--lp-blue);
    text-decoration: none;
    font-weight: 600;
}
.lp-dash-support-text a:hover { text-decoration: underline; }

.lp-dash .flash {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: var(--lp-radius);
    font-size: 15px;
    line-height: 1.5;
}

/* Dashboard: Responsive */

@media (max-width: 1024px) {
    .lp-dash-docs-grid { grid-template-columns: 1fr; max-width: 500px; }
}

@media (max-width: 768px) {
    .lp-dash { padding: 100px 0 60px; }
    .lp-dash-header h1 { font-size: 28px; }
    .lp-dash-meta { flex-direction: column; gap: 12px; }
    .lp-dash-meta-item { min-width: 0; }
    .lp-dash-section { padding: 24px 20px; }
    .lp-dash-section-head h2 { font-size: 19px; }
    .lp-dash-tabs li a { padding: 8px 14px; font-size: 13px; }
    .lp-dash-docs-grid { grid-template-columns: 1fr; }
    .lp-dash-table th, .lp-dash-table td { padding: 10px 12px; }
}

/* ---------------------------------------- */
/* Account                                  */
/* ---------------------------------------- */

.lp-acct-table {
    display: flex;
    flex-direction: column;
}
.lp-acct-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--lp-border);
}
.lp-acct-row:last-child { border-bottom: none; }
.lp-acct-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 12px;
}
.lp-acct-value {
    font-size: 15px;
    color: var(--lp-dark);
    min-width: 0;
    word-break: break-all;
}
.lp-acct-value code {
    font-family: var(--lp-mono);
    font-size: 13px;
    background: var(--lp-bg-alt);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--lp-border);
    color: var(--lp-dark);
}
.lp-acct-action a,
.lp-acct-link-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-blue);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--lp-font);
    padding: 0;
    transition: color 0.15s ease;
}
.lp-acct-action a:hover,
.lp-acct-link-btn:hover {
    color: var(--lp-blue-hover);
    text-decoration: underline;
}

/* Checkboxes */

.lp-acct-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--lp-border);
    cursor: pointer;
}
.lp-acct-checkbox:last-of-type { border-bottom: none; }
.lp-acct-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.lp-acct-checkbox-mark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--lp-border);
    border-radius: 4px;
    margin-top: 2px;
    transition: all 0.15s ease;
    position: relative;
    background: #fff;
}
.lp-acct-checkbox input:checked + .lp-acct-checkbox-mark {
    background: var(--lp-blue);
    border-color: var(--lp-blue);
}
.lp-acct-checkbox input:checked + .lp-acct-checkbox-mark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.lp-acct-checkbox-text {
    font-size: 15px;
    color: var(--lp-text);
    line-height: 1.5;
}
.lp-acct-checkbox-text strong {
    display: block;
    font-weight: 600;
    color: var(--lp-dark);
    margin-bottom: 2px;
}

.lp-acct-save-btn {
    margin-top: 20px;
    padding: 12px 28px;
    font-family: var(--lp-font);
}

/* Danger zone */

.lp-acct-danger-section .lp-dash-section-head svg {
    color: #dc3545;
}
.lp-acct-danger-text {
    font-size: 15px;
    color: var(--lp-text-muted);
    line-height: 1.6;
    margin: 0 0 20px;
}
.lp-btn-danger {
    background: transparent;
    color: #dc3545;
    border-color: #dc3545;
    font-size: 14px;
    padding: 10px 24px;
}
.lp-btn-danger:hover {
    background: #dc3545;
    color: #fff;
}

.lp-delete-notice {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: var(--lp-radius);
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Account: Responsive */

@media (max-width: 768px) {
    .lp-acct-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .lp-acct-action { margin-top: 4px; }
}

/* ---------------------------------------- */
/* Plan Change                              */
/* ---------------------------------------- */

.lp-change-card {
    width: 100%;
    max-width: 540px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 48px 40px 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.lp-change-plans {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}
.lp-change-plan-badge {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}
.lp-change-plan-badge.lp-from {
    background: var(--lp-bg-alt);
    color: var(--lp-text-muted);
    border: 1px solid var(--lp-border);
}
.lp-change-plan-badge.lp-to {
    background: var(--lp-blue-light);
    color: var(--lp-blue);
    border: 1px solid rgba(0,116,191,0.2);
}
.lp-change-arrow {
    color: var(--lp-text-muted);
}
.lp-change-arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}
.lp-change-details {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lp-text);
    margin-bottom: 28px;
}
.lp-change-details strong {
    font-weight: 600;
    color: var(--lp-dark);
}
.lp-change-details p {
    margin: 0 0 12px;
}
.lp-change-details p:last-child {
    margin-bottom: 0;
}
.lp-change-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: var(--lp-bg-alt);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    margin-bottom: 20px;
}
.lp-change-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.lp-change-checkbox label {
    font-size: 14px;
    color: var(--lp-text);
    line-height: 1.5;
    cursor: pointer;
}

/* Plan Change: Responsive */

@media (max-width: 768px) {
    .lp-change-card {
        padding: 36px 24px 32px;
        margin: 0 8px;
    }
}

/* ---------------------------------------- */
/* Preview / Test                           */
/* ---------------------------------------- */

.lp-preview {
    padding: 120px 0 80px;
    min-height: calc(100vh - 300px);
    background: linear-gradient(170deg, #f8faff 0%, #fff 40%, var(--lp-bg) 100%);
}
.lp-preview .lp-container {
    max-width: 900px;
}
.lp-preview-header {
    margin-bottom: 32px;
}
.lp-preview-header h1 {
    font-family: var(--lp-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--lp-dark);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}
.lp-preview-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.lp-preview-form input[type="url"] {
    flex: 1;
    padding: 14px 18px;
    font-size: 16px;
    font-family: var(--lp-font);
    border: 2px solid var(--lp-border);
    border-radius: var(--lp-radius);
    outline: none;
    transition: border-color 0.15s ease;
    color: var(--lp-dark);
    background: #fff;
}
.lp-preview-form input[type="url"]:focus {
    border-color: var(--lp-blue);
}
.lp-preview-form button {
    padding: 14px 32px;
    background: var(--lp-blue);
    color: #fff;
    border: none;
    border-radius: var(--lp-radius);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--lp-font);
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}
.lp-preview-form button:hover {
    background: var(--lp-blue-hover);
}
.lp-preview-results {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 32px;
    margin-top: 24px;
}
.lp-preview-results h2 {
    font-family: var(--lp-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--lp-dark);
    margin: 0 0 24px;
    line-height: 1.3;
}
.lp-preview-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.lp-preview-results-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--lp-border);
    vertical-align: top;
    color: var(--lp-text);
    line-height: 1.6;
}
.lp-preview-results-table tr:last-child td {
    border-bottom: none;
}
.lp-preview-results-table td:first-child {
    width: 120px;
    white-space: nowrap;
}
.lp-preview-results-table td:first-child code {
    font-family: var(--lp-mono);
    font-size: 13px;
    background: var(--lp-bg-alt);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--lp-border);
    color: var(--lp-dark);
    font-weight: 500;
}
.lp-preview-results-table .lp-preview-thumbnail img {
    max-width: 150px;
    border-radius: var(--lp-radius);
    border: 1px solid var(--lp-border);
}
.lp-preview-results-table .lp-preview-html {
    max-width: 660px;
    font-size: 16px;
    line-height: 1.7;
}
.lp-preview-results-table .lp-preview-html section {
    padding: 0;
    margin: 0;
    border: 0;
    height: auto;
    font-size: inherit;
}
.lp-preview-results-table .lp-preview-html article {
    padding: 0;
    margin: 0;
}
.lp-preview-results-table .lp-preview-html a {
    color: var(--lp-blue);
    text-decoration: none;
}
.lp-preview-results-table .lp-preview-html img {
    max-width: 100%;
    height: auto;
    border-radius: var(--lp-radius);
    margin: 8px 0;
}
.lp-preview-results-table blockquote {
    padding: 8px 16px;
    margin: 8px 0;
    border-left: 3px solid var(--lp-blue);
    color: var(--lp-text);
    font-size: 15px;
    line-height: 1.6;
    background: var(--lp-bg-alt);
    border-radius: 0 var(--lp-radius) var(--lp-radius) 0;
}
.lp-preview-empty {
    text-align: center;
    padding: 40px 24px;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    margin-top: 24px;
}
.lp-preview-empty h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--lp-dark);
    margin: 0 0 8px;
}
.lp-preview-empty p {
    font-size: 16px;
    color: var(--lp-text-muted);
    margin: 0;
}

/* Preview: Responsive */

@media (max-width: 768px) {
    .lp-preview { padding: 100px 0 60px; }
    .lp-preview-header h1 { font-size: 28px; }
    .lp-preview-form { flex-direction: column; }
    .lp-preview-results { padding: 24px 20px; }
    .lp-preview-results-table td:first-child { width: 90px; }
}
