/* Moved from templates/partials/_landing_styles.html.twig: served as a cached static file. */
.lp {
    --lp-ink: var(--ink);
    --lp-text: var(--ink-2);
    --lp-muted: var(--muted);
    --lp-line: var(--line);
    --lp-paper: var(--paper);
    --lp-tint: var(--paper-2);
    --lp-accent: var(--brand);
    --lp-accent-dark: var(--brand-ink);
    --lp-accent-soft: var(--brand-tint);
    color: var(--lp-text);
    background: var(--lp-paper);
}

html[data-theme="dark"] .lp {
    --lp-ink: var(--ink);
    --lp-text: var(--ink-2);
    --lp-muted: var(--muted);
    --lp-line: var(--line);
    --lp-paper: var(--paper);
    --lp-tint: var(--paper-2);
    --lp-accent: var(--brand);
    --lp-accent-dark: var(--brand-ink);
    --lp-accent-soft: var(--brand-tint);
}

.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); }
.lp p { color: var(--lp-text); }

.lp-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.lp-section { padding: 5.5rem 0; border-top: 1px solid var(--lp-line); }
.lp-section--tint { background: var(--lp-tint); }

.lp-eyebrow {
    display: block;
    margin-bottom: 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lp-accent);
}

.lp-display {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.12;
}

.lp-lead { font-size: 1.125rem; line-height: 1.65; max-width: 36rem; }

.lp-section-head { max-width: 40rem; margin-bottom: 3rem; }
.lp-section-head h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); margin-bottom: 0.9rem; }
.lp-section-head p { margin: 0; font-size: 1.0625rem; color: var(--lp-muted); }

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    cursor: pointer;
}
.lp-btn--primary { background: var(--lp-accent); color: #fff; }
.lp-btn--primary:hover { background: var(--lp-accent-dark); color: #fff; }
html[data-theme="dark"] .lp-btn--primary,
html[data-theme="dark"] .lp-btn--primary:hover { color: var(--paper); }
.lp-btn--ghost { border-color: var(--lp-line); color: var(--lp-ink); background: transparent; }
.lp-btn--ghost:hover { border-color: var(--lp-ink); color: var(--lp-ink); }
.lp-btn:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; }

/* Hero */
.lp-hero { padding: 5rem 0 4.5rem; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.lp-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); margin-bottom: 1.25rem; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.lp-networks { margin-top: 2.25rem; font-size: 0.875rem; color: var(--lp-muted); line-height: 1.7; }
.lp-networks strong { display: block; color: var(--lp-ink); font-weight: 600; margin-bottom: 0.2rem; }
.lp-networks a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.lp-networks a:hover { color: var(--lp-accent); border-bottom-color: currentColor; }

/* Product sketch: a week of the editorial calendar */
.lp-week {
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    background: var(--lp-paper);
    overflow: hidden;
}
.lp-week-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--lp-line);
    font-size: 0.875rem;
}
.lp-week-head strong { color: var(--lp-ink); font-weight: 600; }
.lp-week-head span { color: var(--lp-muted); }
.lp-week-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lp-day { min-height: 14.5rem; padding: 0.6rem 0.5rem; border-right: 1px solid var(--lp-line); }
.lp-day:last-child { border-right: 0; }
.lp-day-name { font-size: 0.75rem; color: var(--lp-muted); margin-bottom: 0.5rem; }
.lp-day-name b { display: block; font-size: 1rem; color: var(--lp-ink); font-weight: 600; }
.lp-post {
    margin-bottom: 0.45rem;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--lp-line);
    border-left: 3px solid var(--lp-accent);
    background: var(--lp-tint);
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--lp-text);
}
.lp-post time { display: block; font-weight: 600; color: var(--lp-ink); }
.lp-post-state { display: block; margin-top: 0.2rem; color: var(--lp-muted); }
.lp-post--sent { border-left-color: var(--ok); }
.lp-post--draft { border-left-color: var(--line-3); }

/* Columns of facts */
.lp-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.lp-fact h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.lp-fact p { margin: 0; font-size: 0.975rem; line-height: 1.65; }
.lp-fact-num {
    display: block;
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--lp-accent);
}

/* Steps */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--lp-line); }
.lp-step { padding: 1.5rem 1.5rem 0 0; }
.lp-step-index { display: block; font-size: 0.8125rem; color: var(--lp-muted); margin-bottom: 0.6rem; }
.lp-step h3 { font-size: 1.0625rem; margin-bottom: 0.45rem; }
.lp-step p { margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* Detail list */
.lp-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.lp-detail { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; padding: 1.1rem 0; border-bottom: 1px solid var(--lp-line); }
.lp-detail i { color: var(--lp-accent); font-size: 1rem; line-height: 1.5; }
.lp-detail strong { display: block; color: var(--lp-ink); font-weight: 600; margin-bottom: 0.15rem; }
.lp-detail span { font-size: 0.95rem; line-height: 1.55; color: var(--lp-text); }

/* Pricing */
.lp-pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.lp-pricing-head .lp-section-head { margin-bottom: 0; }
.lp-pricing-head--center { justify-content: center; }
.lp-period { display: inline-flex; border: 1px solid var(--lp-line); border-radius: 6px; padding: 3px; background: var(--lp-paper); }
.lp-period button {
    border: 0;
    background: transparent;
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lp-muted);
    cursor: pointer;
}
.lp-period button.is-active { background: var(--lp-ink); color: var(--lp-paper); }
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.lp-plan {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    background: var(--lp-paper);
}
.lp-plan--featured { border-color: var(--lp-accent); box-shadow: inset 0 3px 0 var(--lp-accent); }
.lp-plan-tag { align-self: flex-start; margin-bottom: 0.75rem; font-size: 0.75rem; font-weight: 600; color: var(--lp-accent); }
.lp-plan h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.lp-plan-desc { font-size: 0.925rem; color: var(--lp-muted); min-height: 2.8rem; }
.lp-price { display: flex; align-items: baseline; gap: 0.35rem; margin: 1.25rem 0 0.25rem; }
.lp-price-amount { font-family: var(--font-display); font-size: 2.5rem; color: var(--lp-ink); line-height: 1; }
.lp-price-old { font-size: 1rem; color: var(--lp-muted); text-decoration: line-through; }
.lp-price-period { font-size: 0.9rem; color: var(--lp-muted); }
.lp-price-note { min-height: 1.3rem; font-size: 0.8125rem; color: var(--ok-ink); }
.lp-plan ul { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; flex: 1; }
.lp-plan li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.55rem; padding: 0.35rem 0; font-size: 0.925rem; }
.lp-plan li i { color: var(--lp-accent); }
.lp-addons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.5rem; margin: 0 auto 1.75rem; padding: 0.9rem 1.25rem; max-width: 60rem; border: 1px solid var(--lp-line); border-radius: 12px; background: var(--lp-paper); }
.lp-addons-title { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--lp-ink); }
.lp-addon { display: inline-flex; align-items: center; gap: 0.75rem; }
.lp-addon-label { display: flex; flex-direction: column; font-size: 0.92rem; color: var(--lp-ink); line-height: 1.25; }
.lp-addon-label small { color: var(--lp-muted); font-size: 0.78rem; }
.lp-stepper { display: inline-flex; align-items: center; border: 1px solid var(--lp-line); border-radius: 8px; overflow: hidden; }
.lp-stepper button { width: 2rem; height: 2rem; border: 0; background: var(--lp-tint); color: var(--lp-ink); font-size: 1rem; cursor: pointer; }
.lp-stepper button:hover { background: var(--lp-line); }
.lp-stepper input { width: 2.75rem; height: 2rem; border: 0; text-align: center; background: var(--lp-paper); color: var(--lp-ink); font: inherit; -moz-appearance: textfield; }
.lp-stepper input::-webkit-outer-spin-button, .lp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lp-addons-note { width: 100%; text-align: center; font-size: 0.8rem; color: var(--lp-muted); }
.lp-price-options { margin-top: 0.2rem; font-size: 0.8rem; color: var(--lp-accent); font-weight: 600; }
.lp-plan .lp-btn { justify-content: center; width: 100%; white-space: nowrap; text-align: center; padding-inline: 0.75rem; }
.lp-plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.lp-plans--4 .lp-plan { padding: 1.5rem; }
.lp-plan-trial { margin: 0.6rem 0 0; font-size: 0.8125rem; color: var(--lp-muted); text-align: center; }
@media (max-width: 1199.98px) { .lp-plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-pricing-foot { margin-top: 1.5rem; font-size: 0.875rem; color: var(--lp-muted); }

/* FAQ */
.lp-faq { max-width: 48rem; }
.lp-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0;
    font-weight: 600;
    color: var(--lp-ink);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; color: var(--lp-muted); font-weight: 400; }
.lp-faq details[open] summary::after { content: '\2212'; }
.lp-faq details p { margin: 0 0 1.25rem; line-height: 1.65; max-width: 42rem; }

/* Contact */
.lp-contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; }
.lp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lp-form .lp-full { grid-column: 1 / -1; }
.lp-form-notice { margin: 0.75rem 0 0; font-size: 0.8rem; line-height: 1.45; color: var(--lp-muted); }
.lp-form-notice a { color: inherit; text-decoration: underline; }
.lp-form label { display: block; margin-bottom: 0.35rem; font-size: 0.875rem; font-weight: 500; color: var(--lp-ink); }
.lp-form input, .lp-form textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    background: var(--lp-paper);
    color: var(--lp-ink);
    font-size: 0.95rem;
}
.lp-form textarea { min-height: 8.5rem; resize: vertical; }
.lp-form input:focus, .lp-form textarea:focus { outline: 2px solid var(--lp-accent); outline-offset: 0; border-color: var(--lp-accent); }
.lp-captcha { display: flex; align-items: center; gap: 0.75rem; }
.lp-captcha input { max-width: 6rem; }
.lp-notice { padding: 0.8rem 1rem; border-radius: 6px; font-size: 0.925rem; margin-bottom: 1rem; }
.lp-notice--ok { background: var(--ok-bg); color: var(--ok-ink); }
.lp-notice--error { background: var(--signal-bg); color: var(--signal-ink); }
.lp-contact-meta { margin-top: 1.75rem; font-size: 0.95rem; line-height: 1.8; }
.lp-contact-meta a { color: var(--lp-accent); }

/* Closing band */
.lp-band { background: var(--night); color: #e9ecef; padding: 4rem 0; }
.lp-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.lp-band h2 { color: #ffffff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 0.4rem; }
.lp-band p { color: #b9c0c8; margin: 0; }
.lp-band .lp-btn--primary { background: var(--card); color: var(--ink); }
.lp-band .lp-btn--primary:hover { background: var(--paper-2); color: var(--ink); }

@media (max-width: 991.98px) {
    .lp-hero-grid, .lp-contact { grid-template-columns: 1fr; gap: 2.5rem; }
    .lp-columns { grid-template-columns: 1fr 1fr; }
    .lp-steps { grid-template-columns: 1fr 1fr; }
    .lp-plans { grid-template-columns: 1fr; max-width: 30rem; }
}

@media (max-width: 640px) {
    .lp-section { padding: 4rem 0; }
    .lp-hero { padding: 3rem 0; }
    .lp-columns, .lp-steps, .lp-details, .lp-form { grid-template-columns: 1fr; }
    .lp-week-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-day:nth-child(n+4) { display: none; }
    .lp-day:nth-child(3) { border-right: 0; }
}
