/* Landing page. Tokens follow the Publer system: Inter, near-black on white and slate, own ember accent, pill controls. */
:root {
    --lp-page: #ffffff;
    --lp-sage-1: #f8fafc;
    --lp-sage-2: #dde5ed;
    --lp-card: #ffffff;
    --lp-forest: #c2410c;
    --lp-forest-hover: #9a3412;
    --lp-forest-deep: #1b1d21;
    --lp-text: #1c1d1f;
    --lp-text-2: #4a4c52;
    --lp-muted: #666a73;
    --lp-line: rgba(28, 29, 31, 0.08);
    --lp-line-strong: rgba(28, 29, 31, 0.16);
    --lp-on-forest: #ffffff;
    --lp-on-forest-2: #b4b8c4;
    --lp-warn: #c2410c;
    --lp-radius-s: 8px;
    --lp-radius: 999px;
    --lp-radius-l: 16px;
    --lp-radius-xl: 20px;
    --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --lp-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --lp-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace;
}

body.lp {
    margin: 0;
    background: var(--lp-page) !important;
    color: var(--lp-text) !important;
    font-family: var(--lp-font) !important;
    -webkit-font-smoothing: antialiased;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp h1, .lp h2, .lp h3, .lp p { margin: 0; }
.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-num { font-variant-numeric: tabular-nums; }
.lp-mono { font-family: var(--lp-mono); font-size: 12px; }

/* Header */
.lp-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lp-line); }
.lp-header .lp-wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.lp-brand img { height: 28px; width: auto; }
.lp-nav { display: flex; gap: 4px; flex: 1; }
.lp-nav a { padding: 8px 12px; border-radius: var(--lp-radius); font-size: 14px; font-weight: 500; color: var(--lp-text-2); transition: color 150ms var(--lp-ease), background-color 150ms var(--lp-ease); }
.lp-nav a:hover { color: var(--lp-text); background: var(--lp-sage-1); }
.lp-actions { display: flex; align-items: center; gap: 8px; }
.lp-btn.lp-menu-btn { display: none; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--lp-radius); font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background-color 150ms var(--lp-ease), color 150ms var(--lp-ease), transform 120ms var(--lp-ease); white-space: nowrap; }
.lp-btn:active { transform: scale(0.98); }
.lp-btn--primary { background: var(--lp-forest); color: var(--lp-on-forest) !important; }
.lp-btn--primary:hover { background: var(--lp-forest-hover); }
.lp-btn--ghost { color: var(--lp-text); }
.lp-btn--ghost:hover { background: var(--lp-sage-1); }
.lp-btn--outline { border-color: var(--lp-line-strong); background: var(--lp-card); color: var(--lp-text); }
.lp-btn--outline:hover { background: var(--lp-sage-1); }
.lp-btn--lg { height: 48px; padding: 0 22px; font-size: 15px; }
.lp-btn:focus-visible, .lp-nav a:focus-visible, .lp-tab:focus-visible, .lp-faq button:focus-visible { outline: 2px solid var(--lp-forest); outline-offset: 2px; }

/* Hero */
.lp-hero { padding: 96px 0 96px; }
.lp-hero .lp-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.lp-hero h1 { font-size: 60px; line-height: 1.04; font-weight: 600; letter-spacing: -0.03em; color: var(--lp-text); }
.lp-hero h1 span { color: var(--lp-forest); }
.lp-hero .lp-lead { margin-top: 24px; font-size: 18px; line-height: 1.6; color: var(--lp-text-2); max-width: 34rem; }
.lp-hero .lp-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-hero .lp-networks { margin-top: 40px; display: flex; align-items: center; gap: 16px; color: var(--lp-muted); font-size: 13px; }
.lp-hero .lp-networks i { font-size: 18px; }

/* Composer (the moment) */
.lp-composer { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-radius-xl); box-shadow: 0 8px 24px rgba(28, 29, 31, 0.06); overflow: hidden; }
.lp-composer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--lp-line); font-size: 13px; color: var(--lp-text-2); }
.lp-composer-head strong { color: var(--lp-text); font-weight: 600; }
.lp-composer-base { padding: 20px; background: var(--lp-sage-1); border-bottom: 1px solid var(--lp-line); }
.lp-label { font-size: 12px; font-weight: 600; color: var(--lp-muted); }
.lp-composer-base p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--lp-text); }
.lp-tabs { display: flex; gap: 4px; padding: 12px 20px 0; border-bottom: 1px solid var(--lp-line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.lp-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 10px; font: inherit; font-size: 13px; font-weight: 600; color: var(--lp-muted); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; transition: color 150ms var(--lp-ease); }
.lp-tab:hover { color: var(--lp-text); }
.lp-tab[aria-selected="true"] { color: var(--lp-text); border-bottom-color: var(--lp-forest); }
.lp-tab i { font-size: 15px; }
.lp-variant { padding: 20px; min-height: 196px; }
.lp-variant-text { font-size: 15px; line-height: 1.55; color: var(--lp-text); white-space: pre-line; }
.lp-variant-meta { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--lp-muted); }
.lp-meter { flex: 1; max-width: 160px; height: 4px; border-radius: 2px; background: var(--lp-sage-2); overflow: hidden; }
.lp-meter span { display: block; height: 100%; background: var(--lp-forest); transition: width 300ms var(--lp-ease); }
.lp-count { font-family: var(--lp-mono); font-size: 12px; color: var(--lp-text-2); font-variant-numeric: tabular-nums; }
.lp-composer-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--lp-line); font-size: 13px; color: var(--lp-text-2); }

/* Sections */
.lp-section { padding: 96px 0; }
.lp-section--sage { background: var(--lp-sage-1); }
.lp-section--forest { background: var(--lp-forest-deep); color: var(--lp-on-forest); }
.lp-h2 { font-size: 40px; line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; max-width: 40rem; }
.lp-sub { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--lp-text-2); max-width: 36rem; }
.lp-section--forest .lp-sub { color: var(--lp-on-forest-2); }

/* Features: a list, not cards */
.lp-features { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.lp-feature i { font-size: 20px; color: var(--lp-forest); }
.lp-feature h3 { margin-top: 16px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.lp-feature p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--lp-text-2); }

/* Steps */
.lp-steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.lp-step { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 20px; }
.lp-step .lp-mono { color: var(--lp-on-forest-2); }
.lp-step h3 { margin-top: 12px; font-size: 17px; font-weight: 700; }
.lp-step p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--lp-on-forest-2); }

/* Pricing */
.lp-switch { margin-top: 32px; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--lp-sage-1); border: 1px solid var(--lp-line); }
.lp-switch button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border: 0; border-radius: var(--lp-radius); background: none; color: var(--lp-text-2); cursor: pointer; transition: background-color 150ms var(--lp-ease), color 150ms var(--lp-ease); }
.lp-switch button[aria-pressed="true"] { background: var(--lp-card); color: var(--lp-text); box-shadow: 0 1px 2px rgba(28, 29, 31, 0.08); }
.lp-plans { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.lp-plan { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-radius-l); padding: 28px; display: flex; flex-direction: column; }
.lp-plan--featured { border-color: var(--lp-forest); box-shadow: 0 0 0 1px var(--lp-forest); }
.lp-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lp-plan-name { font-size: 15px; font-weight: 700; }
.lp-tag { font-size: 12px; font-weight: 600; color: var(--lp-forest); background: #fdeee6; padding: 2px 10px; border-radius: 999px; }
.lp-plan-desc { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--lp-text-2); min-height: 44px; }
.lp-price { margin-top: 24px; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp-price small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--lp-muted); }
.lp-plan .lp-btn { margin-top: 24px; width: 100%; }
.lp-plan ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.lp-plan li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.45; color: var(--lp-text); }
.lp-plan li i { width: 14px; font-size: 12px; color: var(--lp-forest); }
.lp-plan li.is-off { color: var(--lp-muted); }
.lp-plan li.is-off i { color: var(--lp-muted); }
.lp-plan li .lp-count { margin-left: auto; }

/* FAQ */
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.lp-faq { border-top: 1px solid var(--lp-line); }
.lp-faq > div { border-bottom: 1px solid var(--lp-line); }
.lp-faq button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: inherit; font-size: 16px; font-weight: 600; color: var(--lp-text); text-align: left; background: none; border: 0; cursor: pointer; }
.lp-faq button i { color: var(--lp-muted); transition: transform 200ms var(--lp-ease); }
.lp-faq button[aria-expanded="true"] i { transform: rotate(45deg); }
.lp-faq-answer { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--lp-text-2); white-space: pre-line; max-width: 40rem; }

/* Blog */
.lp-posts { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.lp-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--lp-radius-l); background: var(--lp-sage-2); }
.lp-post h3 { margin-top: 16px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.lp-post p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--lp-text-2); }
.lp-post:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

/* Closing CTA */
.lp-close { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* Footer */
.lp-footer { border-top: 1px solid var(--lp-line); padding: 56px 0 32px; font-size: 14px; color: var(--lp-text-2); }
.lp-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.lp-footer h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--lp-text); }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-footer a:hover { color: var(--lp-text); }
.lp-footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--lp-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--lp-muted); }

[x-cloak] { display: none !important; }

@media (max-width: 1024px) {
    .lp-hero .lp-wrap, .lp-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .lp-features, .lp-plans, .lp-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .lp-nav, .lp-actions .lp-hide-sm { display: none; }
    .lp-btn.lp-menu-btn { display: inline-flex; }
    .lp-header .lp-wrap { justify-content: space-between; }
    .lp-mobile-nav { border-top: 1px solid var(--lp-line); padding: 12px 24px 20px; display: grid; gap: 4px; }
    .lp-mobile-nav a { padding: 10px 0; font-weight: 500; }
}
@media (max-width: 640px) {
    .lp-wrap { padding: 0 16px; }
    .lp-hero { padding: 56px 0 64px; }
    .lp-hero h1 { font-size: 40px; }
    .lp-section { padding: 64px 0; }
    .lp-h2 { font-size: 28px; }
    .lp-features, .lp-plans, .lp-posts, .lp-steps, .lp-footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .lp * { transition: none !important; }
}

/* Hero demo: one video, a caption per network, published to all */
.lp-media { display: flex; align-items: center; gap: 16px; }
.lp-video { position: relative; flex: none; width: 96px; aspect-ratio: 9 / 16; max-height: 120px; border-radius: 10px; background: linear-gradient(160deg, #3a2a1f 0%, #6b4a2f 55%, #c9955f 100%); display: grid; place-items: center; color: #fff; font-size: 14px; }
.lp-video i { width: 32px; height: 32px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); display: grid; place-items: center; padding-left: 2px; }
.lp-video-time { position: absolute; right: 6px; bottom: 6px; font-size: 11px; font-family: var(--lp-mono); background: rgba(0, 0, 0, 0.45); padding: 1px 5px; border-radius: 4px; }
.lp-tab { position: relative; }
.lp-done { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 2px; border-radius: 999px; background: var(--lp-forest); color: #fff; font-size: 8px; opacity: 0; transform: scale(0.6); transition: opacity 200ms var(--lp-ease), transform 200ms var(--lp-ease); }
.lp-tab.is-done .lp-done { opacity: 1; transform: scale(1); }
.lp-stage { min-height: 214px; }
.lp-variant[hidden], .lp-results[hidden] { display: none; }
.lp-variant-text { min-height: 72px; }
.lp-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.15em; background: var(--lp-forest); opacity: 0; }
.lp-composer.is-typing .lp-caret { opacity: 1; animation: lp-blink 1s steps(1) infinite; }
@keyframes lp-blink { 50% { opacity: 0; } }
.lp-results { list-style: none; margin: 0; padding: 12px 20px; display: grid; gap: 2px; }
.lp-results li { display: flex; align-items: center; gap: 12px; height: 32px; font-size: 14px; color: var(--lp-text); }
.lp-results li > i { width: 18px; text-align: center; color: var(--lp-text-2); }
.lp-status { margin-left: auto; font-size: 13px; color: var(--lp-muted); transition: color 200ms var(--lp-ease); }
.lp-results li.is-posting .lp-status { color: var(--lp-text-2); }
.lp-results li.is-posted .lp-status { color: #15803d; font-weight: 600; }
.lp-results li.is-posted .lp-status::before { content: '\2713\00a0'; }
.lp-results li { animation: lp-rise 300ms var(--lp-ease) both; }
.lp-results li:nth-child(2) { animation-delay: 40ms; } .lp-results li:nth-child(3) { animation-delay: 80ms; }
.lp-results li:nth-child(4) { animation-delay: 120ms; } .lp-results li:nth-child(5) { animation-delay: 160ms; } .lp-results li:nth-child(6) { animation-delay: 200ms; }
@keyframes lp-rise { from { opacity: 0; transform: translateY(6px); } }
.lp-publish { height: 32px; padding: 0 14px; font-size: 13px; transition: background-color 150ms var(--lp-ease), transform 120ms var(--lp-ease); }
.lp-publish.is-pressed { transform: scale(0.97); background: var(--lp-forest-hover); }
@media (prefers-reduced-motion: reduce) { .lp-results li { animation: none; } .lp-caret { display: none; } }

/* Smooth section scrolling */
html:has(body.lp) { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html:has(body.lp) { scroll-behavior: auto; } }

/* Equal-height plan cards: list grows, so buttons and lists line up */
.lp-plan { height: 100%; }
.lp-plan ul { flex: 1; }
.lp-plan-desc { min-height: 66px; }

/* Inner pages */
.lp-page-head { padding: 80px 0 48px; }
.lp-h1 { font-size: 48px; line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; max-width: 44rem; }
.lp-narrow { max-width: 760px; }
.lp-link { color: var(--lp-forest) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lp-muted { color: var(--lp-muted); }
.lp-empty { padding: 48px 0; font-size: 15px; color: var(--lp-text-2); }
.lp-search { position: relative; margin-top: 32px; max-width: 420px; }
.lp-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--lp-muted); font-size: 14px; }
.lp-search input { width: 100%; height: 44px; padding: 0 16px 0 40px; border-radius: 999px; border: 1px solid var(--lp-line-strong); background: var(--lp-card); font: inherit; font-size: 15px; color: var(--lp-text); outline: none; transition: border-color 150ms var(--lp-ease); }
.lp-search input:focus { border-color: var(--lp-forest); }
.lp-pager { margin-top: 40px; }
.lp-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.lp-featured img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--lp-radius-xl); background: var(--lp-sage-2); }
.lp-featured h2 { margin-top: 12px; font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.lp-featured p:last-child { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--lp-text-2); }
.lp-featured:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.lp-back { font-size: 14px; font-weight: 600; color: var(--lp-text-2) !important; display: inline-flex; gap: 8px; align-items: center; }
.lp-back:hover { color: var(--lp-text) !important; }
.lp-article { padding: 64px 0 96px; }
.lp-article-cover { max-width: 1000px; margin-top: 40px; }
.lp-article-cover img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--lp-radius-xl); }
.lp-prose { margin-top: 40px; font-size: 17px; line-height: 1.75; color: var(--lp-text); }
.lp-prose > * + * { margin-top: 1em; }
.lp-prose h2, .lp-prose h3, .lp-prose h4 { margin-top: 1.8em; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.lp-prose h2 { font-size: 26px; } .lp-prose h3 { font-size: 21px; }
.lp-prose a { color: var(--lp-forest); text-decoration: underline; text-underline-offset: 3px; }
.lp-prose ul { list-style: disc; padding-left: 1.4em; } .lp-prose ol { list-style: decimal; padding-left: 1.4em; }
.lp-prose img { max-width: 100%; height: auto; border-radius: var(--lp-radius-l); }
.lp-prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--lp-forest); color: var(--lp-text-2); }
.lp-prose pre { overflow-x: auto; padding: 16px 20px; border-radius: var(--lp-radius-l); background: var(--lp-forest-deep); color: #e6e8ee; font-size: 14px; }
.lp-prose table { width: 100%; border-collapse: collapse; font-size: 15px; } .lp-prose td, .lp-prose th { padding: 8px 12px; border-bottom: 1px solid var(--lp-line); text-align: left; }
.lp-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-section .lp-posts { margin-top: 40px; }
.lp-contact { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; max-width: 760px; }
.lp-contact dt { font-size: 13px; font-weight: 600; color: var(--lp-muted); }
.lp-contact dd { margin: 8px 0 0; font-size: 18px; line-height: 1.5; white-space: pre-line; }
.lp-switch--links { margin-top: 0; flex-wrap: wrap; border-radius: 22px; }
.lp-switch--links a { font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; color: var(--lp-text-2); transition: background-color 150ms var(--lp-ease), color 150ms var(--lp-ease); }
.lp-switch--links a:hover { color: var(--lp-text); }
.lp-switch--links a[aria-current="page"] { background: var(--lp-card); color: var(--lp-text); box-shadow: 0 1px 2px rgba(28, 29, 31, 0.08); }
.lp-social { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--lp-line); }
.lp-social a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--lp-line); font-weight: 600; }
.lp-social a i { width: 20px; text-align: center; color: var(--lp-text-2); }
.lp-social .lp-muted { margin-left: auto; font-weight: 400; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }

@media (max-width: 860px) {
    .lp-featured { grid-template-columns: 1fr; gap: 24px; }
}

/* Demo on phones: icon-only tabs so all six fit, fixed stage height so nothing jumps */
@media (max-width: 640px) {
    .lp-h1 { font-size: 34px; }
    .lp-page-head { padding: 48px 0 32px; }
    .lp-contact { grid-template-columns: 1fr; gap: 28px; }
    .lp-composer { border-radius: var(--lp-radius-l); }
    .lp-composer-head, .lp-composer-foot { padding: 12px 16px; }
    .lp-composer-base { padding: 14px 16px; }
    .lp-video { width: 54px; max-height: 96px; border-radius: 8px; }
    .lp-video i { width: 24px; height: 24px; font-size: 10px; }
    .lp-video-time { display: none; }
    .lp-composer-base p:not(.lp-label) { font-size: 14px; }
    .lp-tabs { padding: 8px 8px 0; gap: 0; justify-content: space-between; }
    .lp-tab { flex: 1; justify-content: center; padding: 10px 4px 12px; gap: 4px; }
    .lp-tab i { font-size: 17px; }
    .lp-tab-label { display: none; }
    .lp-done { position: absolute; top: 4px; right: calc(50% - 18px); width: 12px; height: 12px; margin: 0; font-size: 7px; }
    .lp-stage { min-height: 236px; }
    .lp-variant { padding: 16px; min-height: 0; }
    .lp-variant-text { font-size: 14px; min-height: 88px; }
    .lp-variant-meta { font-size: 12px; }
    .lp-meter { max-width: 80px; }
    .lp-results { padding: 8px 16px; }
    .lp-results li { height: 34px; font-size: 14px; }
    .lp-composer-foot { font-size: 12px; gap: 8px; }
    .lp-publish { padding: 0 12px; font-size: 12px; }
    .lp-cta .lp-btn { flex: 1; }
}

/* Six networks never fit as text tabs: icons at every width, the name shows under the caption */
.lp-composer { max-width: 100%; min-width: 0; }
.lp-tabs { padding: 8px 8px 0; gap: 0; }
.lp-tab { flex: 1; justify-content: center; padding: 10px 4px 12px; }
.lp-tab i { font-size: 17px; }
.lp-tab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-done { position: absolute; top: 4px; right: calc(50% - 20px); width: 13px; height: 13px; margin: 0; font-size: 7px; }

/* Wide screens: demo starts level with the headline, less air above the hero */
@media (min-width: 1025px) {
    .lp-hero { padding: 56px 0 96px; }
    .lp-hero .lp-wrap { align-items: start; }
    .lp-hero .lp-wrap > div:first-child { padding-top: 24px; }
}

/* Tab progress without badges: pending tabs are muted, finished ones dark, the active one underlined */
.lp-done { display: none !important; }
.lp-tab { color: #9aa0ab; }
.lp-tab.is-done { color: var(--lp-text); }
.lp-tab[aria-selected="true"] { color: var(--lp-forest); border-bottom-color: var(--lp-forest); }

/* The current network, one at a time (shown on phones instead of the tab row) */
.lp-current { display: none; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--lp-text); }
.lp-current i { width: 18px; text-align: center; font-size: 16px; color: var(--lp-forest); }
.lp-step { margin-left: auto; font-family: var(--lp-mono); font-size: 12px; font-weight: 400; color: var(--lp-muted); }
.lp-current.is-in { animation: lp-swap 260ms var(--lp-ease); }
@keyframes lp-swap { from { opacity: 0; transform: translateY(4px); } }
@media (max-width: 640px) {
    .lp-tabs { display: none; }
    .lp-current { display: flex; }
    .lp-stage { min-height: 250px; }
}
@media (prefers-reduced-motion: reduce) { .lp-current.is-in { animation: none; } }
.lp-step { line-height: 1; align-self: center; }

/* Auth pages (log in, sign up, password reset): same system, light, one quiet card.
   The Livewire forms read theme variables, so they are re-pointed here instead of editing each form. */
body.lp-auth {
    --theme-header-text-color: var(--lp-text);
    --theme-muted-text-color: var(--lp-text-2);
    --theme-link-color: var(--lp-forest);
    --theme-link-hover-color: var(--lp-forest-hover);
    --theme-accent: var(--lp-forest);
    --theme-accent-rgb: 194, 65, 12;
    --theme-border-color: rgba(28, 29, 31, 0.16);
    --theme-input-surface: #ffffff;
    --theme-input-text: var(--lp-text);
    --theme-input-placeholder: #8a8f99;
    --theme-input-radius: 10px;
    --theme-button-radius: 999px;
    --theme-soft-surface: #ffffff;
    --theme-danger-color: #b91c1c;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--lp-sage-1) !important;
}
.lp-auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; max-width: 1200px; width: 100%; margin: 0 auto; }
.lp-auth-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px 48px; }
.lp-auth-card { width: 100%; max-width: 420px; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: var(--lp-radius-xl); padding: 36px 32px; box-shadow: 0 8px 24px rgba(28, 29, 31, 0.06); }
.lp-auth-legal { margin-top: 24px; display: flex; gap: 20px; font-size: 13px; color: var(--lp-muted); }
.lp-auth-legal a:hover { color: var(--lp-text); }
/* Dark-theme utility classes left inside the forms */
.lp-auth-card [class*="text-white"] { color: var(--lp-text-2) !important; }
.lp-auth-card h1, .lp-auth-card h1[class*="text-white"] { color: var(--lp-text) !important; font-weight: 600 !important; letter-spacing: -0.02em; }
.lp-auth-card [class*="bg-white/"] { background-color: var(--lp-line) !important; }
.lp-auth-card [class*="border-white/"] { border-color: var(--lp-line-strong) !important; }
.lp-auth-card [class*="tracking-[0.22em]"] { text-transform: none !important; letter-spacing: 0 !important; }
.lp-auth-card input[type="text"], .lp-auth-card input[type="email"], .lp-auth-card input[type="password"] { font-weight: 400 !important; }
.lp-auth-card button[type="submit"] { height: 44px !important; box-shadow: none !important; }
.lp-auth-card button[type="submit"]:hover { background: var(--lp-forest-hover) !important; border-color: var(--lp-forest-hover) !important; }
.lp-auth-card a[style*="theme-link-color"] { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
    .lp-auth-top { padding: 16px; }
    .lp-auth-card { padding: 28px 20px; border-radius: var(--lp-radius-l); }
}
.lp-auth-top [class*="text-white"] { color: var(--lp-text-2) !important; }
.lp-auth-top button[class*="border-white"] { border-color: var(--lp-line-strong) !important; background: var(--lp-card) !important; }
.lp-auth-top [class*="rounded-[1.4rem]"], .lp-auth-top [class*="absolute"][class*="mt-"] { background: var(--lp-card) !important; border-color: var(--lp-line) !important; box-shadow: 0 8px 24px rgba(28, 29, 31, 0.08) !important; }
.lp-auth-card button[type="submit"], .lp-auth-card button[type="submit"] * { color: #fff !important; }
.lp-auth-card label > span[class*="h-5"][class*="w-5"] { background: #fff !important; border-color: var(--lp-line-strong) !important; }
.lp-auth-card input:checked + span[class*="h-5"] { background: var(--lp-forest) !important; border-color: var(--lp-forest) !important; color: #fff !important; }
.lp-auth-card input:checked + span[class*="h-5"] svg { opacity: 1 !important; }
.lp-auth-card input:focus-visible + span[class*="h-5"] { outline: 2px solid var(--lp-forest); outline-offset: 2px; }
.lp-auth-card h1 + p { margin-top: 6px; }
.lp-auth-card:has(input[autocomplete="new-password"]) { max-width: 520px; }
