/* ============================================================
   Online Lists Maker — marketing site stylesheet
   For "Online Lists Maker Canvas" page template only.
   Namespace: .lx-   (never collides with GeneratePress/Elementor)
   ============================================================ */

/* ---------- Tokens ---------- */
body.lx {
  --lx-paper: #faf8f1;
  --lx-surface: #ffffff;
  --lx-soft: #f3efe2;
  --lx-line: #e6dfcc;
  --lx-ink: #14231c;
  --lx-muted: #5c6b61;
  --lx-faint: #8b978e;
  --lx-pine-950: #062d21;
  --lx-pine-900: #073b2c;
  --lx-primary: #0b5c44;
  --lx-primary-d: #084a37;
  --lx-primary-soft: #e2f0e8;
  --lx-amber: #c99b2e;
  --lx-amber-soft: #faf0d7;
  --lx-amber-dark: #8a6414;
  --lx-font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --lx-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lx-r-sm: 12px;
  --lx-r: 18px;
  --lx-r-lg: 24px;
  --lx-r-xl: 30px;
  --lx-shadow-sm: 0 1px 2px rgba(20,35,28,.06), 0 2px 10px rgba(20,35,28,.05);
  --lx-shadow: 0 2px 6px rgba(20,35,28,.06), 0 16px 38px -14px rgba(11,92,68,.22);
  --lx-shadow-lg: 0 6px 14px rgba(20,35,28,.08), 0 30px 64px -18px rgba(11,92,68,.30);
  --lx-wrap: 1160px;
  --lx-header-h: 68px;
}

/* ---------- Base (scoped) ---------- */
body.lx {
  margin: 0;
  font-family: var(--lx-font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--lx-ink);
  background: var(--lx-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lx img, body.lx svg { max-width: 100%; height: auto; }
body.lx a { color: var(--lx-primary); text-decoration: none; }
body.lx a:hover { text-decoration: underline; }
body.lx ::selection { background: var(--lx-amber-soft); }
body.lx :focus-visible { outline: 3px solid var(--lx-amber); outline-offset: 2px; border-radius: 6px; }

.lx-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--lx-ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.lx-skip:focus { left: 0; color: #fff; }
.lx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Typography ---------- */
.lx h1, .lx h2, .lx h3, .lx h4 {
  font-family: var(--lx-font-display);
  line-height: 1.2; letter-spacing: -0.02em;
  color: var(--lx-ink); margin: 0 0 0.55em;
}
.lx h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; }
.lx h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 750; }
.lx h3 { font-size: 1.12rem; font-weight: 700; }
.lx p { margin: 0 0 1em; }
.lx-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lx-amber-dark); margin: 0 0 1rem;
}
.lx-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--lx-amber); border-radius: 2px; }
.lx-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--lx-muted); max-width: 44rem; }
.lx-center { text-align: center; }
.lx-center .lx-lead { margin-inline: auto; }
.lx-muted { color: var(--lx-muted); }

/* ---------- Layout ---------- */
.lx-wrap { width: min(var(--lx-wrap), 100% - 2.5rem); margin-inline: auto; }
.lx-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.lx-section--tint { background: var(--lx-surface); border-block: 1px solid var(--lx-line); }

/* ---------- Header ---------- */
.lx-header {
  position: sticky; top: 0; z-index: 50; height: var(--lx-header-h);
  background: rgba(250,248,241,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lx-line);
  transition: box-shadow .2s ease;
}
.lx-header.lx-scrolled { box-shadow: var(--lx-shadow-sm); }
.lx-header-in { height: var(--lx-header-h); display: flex; align-items: center; gap: 1rem; }
.lx-brand { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: auto; text-decoration: none !important; }
.lx-brand-mark { width: 36px; height: 36px; flex: none; display: block; }
.lx-brand-mark svg { width: 100%; height: 100%; display: block; }
.lx-brand-name { font-family: var(--lx-font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--lx-ink); white-space: nowrap; }
.lx-nav { display: flex; align-items: center; gap: 0.25rem; }
.lx-nav a {
  color: var(--lx-ink); font-weight: 600; font-size: 0.95rem; text-decoration: none !important;
  padding: 0.55rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.lx-nav a:hover { background: var(--lx-soft); }
.lx-nav a[aria-current="page"] { background: var(--lx-primary-soft); color: var(--lx-primary-d); }
.lx-header .lx-btn { margin-left: 0.5rem; }
.lx-menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--lx-line); border-radius: 12px;
  background: var(--lx-surface); cursor: pointer; color: var(--lx-ink); flex: none;
}
.lx-menu-btn svg { width: 22px; height: 22px; }
.lx-mobile-nav { display: none; }

/* ---------- Buttons ---------- */
.lx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--lx-font-display); font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1.7rem; min-height: 50px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none !important; white-space: nowrap; line-height: 1.2;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
}
.lx-btn:active { transform: scale(.98); }
.lx-btn--primary {
  background: linear-gradient(135deg, #0e7a58, var(--lx-primary));
  color: #fff; box-shadow: 0 10px 24px -8px rgba(11,92,68,.55);
}
.lx-btn--primary:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 14px 30px -8px rgba(11,92,68,.6); }
.lx-btn--amber { background: linear-gradient(135deg, #ddbb4a, var(--lx-amber)); color: var(--lx-pine-950); box-shadow: 0 10px 24px -8px rgba(201,155,46,.55); }
.lx-btn--amber:hover { color: var(--lx-pine-950); filter: brightness(1.05); }
.lx-btn--ghost { background: transparent; color: var(--lx-primary-d); border: 1.5px solid var(--lx-line); box-shadow: none; }
.lx-btn--ghost:hover { border-color: var(--lx-primary); color: var(--lx-primary); }
.lx-btn--light { background: #fff; color: var(--lx-pine-900); box-shadow: var(--lx-shadow-sm); }
.lx-btn--light:hover { color: var(--lx-pine-900); box-shadow: var(--lx-shadow); }
.lx-btn--sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; min-height: 44px; }
.lx-btn--lg { padding: 1.05rem 2.2rem; font-size: 1.08rem; min-height: 58px; }
.lx-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.lx-btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.lx-btn-row--center { justify-content: center; }

/* Gutenberg button compat inside canvas */
.lx .wp-block-button__link {
  font-family: var(--lx-font-display); font-weight: 700; border-radius: 999px;
  padding: 0.9rem 1.7rem; min-height: 50px; display: inline-flex; align-items: center;
  background: var(--lx-primary); color: #fff; text-decoration: none !important; border: 0;
}
.lx .wp-block-button__link:hover { color: #fff; filter: brightness(1.06); }
.lx .is-style-outline .wp-block-button__link { background: transparent; color: var(--lx-primary-d); border: 1.5px solid var(--lx-line); }

/* ---------- Hero ---------- */
.lx-hero { position: relative; overflow: hidden; padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(2.4rem, 5vw, 4rem); }
.lx-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 380px at 12% -60px, rgba(201,155,46,.16), transparent 70%),
    radial-gradient(720px 460px at 88% 8%, rgba(11,92,68,.12), transparent 70%);
}
.lx-hero-in { position: relative; }
.lx-hero-copy { max-width: 780px; margin: 0 auto 2rem; text-align: center; }
.lx-hero-copy .lx-lead { margin: 0 auto; }
.lx-trust-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; justify-content: center;
  margin-top: 1.15rem; padding: 0; list-style: none;
  font-size: 0.88rem; color: var(--lx-muted); font-weight: 600;
}
.lx-trust-row li { display: inline-flex; align-items: center; gap: 0.4rem; }
.lx-trust-row svg { width: 16px; height: 16px; color: var(--lx-primary); flex: none; }
.lx-tool-card {
  background: var(--lx-surface); border: 1px solid var(--lx-line);
  border-radius: var(--lx-r-lg); box-shadow: var(--lx-shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: 860px; margin: 0 auto; position: relative;
}

/* ---------- Trust strip ---------- */
.lx-trust { background: var(--lx-surface); border-block: 1px solid var(--lx-line); }
.lx-trust-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 1.4rem;
  list-style: none; margin: 0; padding: 1.5rem 0;
}
.lx-trust-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 600; color: var(--lx-ink); }
.lx-trust-list svg { width: 20px; height: 20px; color: var(--lx-primary); flex: none; }
@media (min-width: 760px) { .lx-trust-list { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Steps ---------- */
.lx-steps { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
.lx-step {
  background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: var(--lx-r-lg);
  padding: 1.8rem 1.6rem; box-shadow: var(--lx-shadow-sm); position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.lx-step:hover { transform: translateY(-4px); box-shadow: var(--lx-shadow); }
.lx-step-num {
  display: inline-block; font-family: var(--lx-font-display); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.1em; color: var(--lx-amber-dark); background: var(--lx-amber-soft);
  border-radius: 999px; padding: 0.3rem 0.85rem; margin-bottom: 1rem;
}
.lx-step-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--lx-primary-soft); color: var(--lx-primary); margin-bottom: 1.1rem;
}
.lx-step-icon svg { width: 27px; height: 27px; }
.lx-step h3 { margin: 0 0 0.45rem; }
.lx-step p { margin: 0; color: var(--lx-muted); font-size: 0.96rem; }
@media (min-width: 860px) { .lx-steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cards & grids ---------- */
.lx-grid { display: grid; gap: 1.15rem; }
.lx-grid--3 { grid-template-columns: 1fr; }
.lx-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .lx-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .lx-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
.lx-card {
  background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: var(--lx-r);
  padding: 1.75rem 1.5rem; box-shadow: var(--lx-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.lx-card:hover { transform: translateY(-4px); box-shadow: var(--lx-shadow); }
.lx-card-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--lx-primary-soft); color: var(--lx-primary);
}
.lx-card-icon svg { width: 24px; height: 24px; }
.lx-card-icon--amber { background: var(--lx-amber-soft); color: var(--lx-amber-dark); }
.lx-card h3 { margin: 0 0 0.5rem; font-size: 1.08rem; }
.lx-card p { color: var(--lx-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Use cases ---------- */
.lx-use { display: flex; gap: 1.1rem; align-items: flex-start; }
.lx-use .lx-card-icon { margin-bottom: 0; flex: none; }
.lx-use h3 { margin: 0 0 0.35rem; }

/* ---------- FAQ (native details) ---------- */
.lx-faq { max-width: 780px; margin: 2.2rem auto 0; display: grid; gap: 0.7rem; }
.lx-faq-item {
  background: var(--lx-surface); border: 1px solid var(--lx-line);
  border-radius: var(--lx-r-sm); overflow: hidden;
  transition: box-shadow .2s ease;
}
.lx-faq-item[open] { box-shadow: var(--lx-shadow-sm); }
.lx-faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--lx-font-display); font-weight: 700; font-size: 1rem; color: var(--lx-ink);
}
.lx-faq-item summary::-webkit-details-marker { display: none; }
.lx-faq-item summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--lx-soft); color: var(--lx-primary-d);
  display: grid; place-items: center; font-size: 1.25rem; font-weight: 400; line-height: 1;
  transition: transform .22s ease, background .2s ease;
}
.lx-faq-item[open] summary::after { transform: rotate(45deg); background: var(--lx-primary-soft); }
.lx-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.lx-faq-item[open] .lx-faq-a { grid-template-rows: 1fr; }
.lx-faq-a > div { overflow: hidden; }
.lx-faq-a p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--lx-muted); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.lx-cta {
  background:
    radial-gradient(700px 340px at 90% 0%, rgba(201,155,46,.18), transparent 60%),
    linear-gradient(160deg, var(--lx-pine-950), var(--lx-pine-900));
  border-radius: var(--lx-r-xl); padding: clamp(2.4rem, 6vw, 4rem);
  text-align: center; color: #eef5f1; position: relative; overflow: hidden;
  box-shadow: var(--lx-shadow-lg);
}
.lx-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-55deg, transparent 0 44px, rgba(255,255,255,.025) 44px 62px);
}
.lx-cta h2 { color: #fff; position: relative; }
.lx-cta p { color: #cfddd6; max-width: 34rem; margin: 0 auto 1.8rem; position: relative; }
.lx-cta .lx-eyebrow { color: var(--lx-amber); position: relative; }
.lx-cta .lx-eyebrow::before { background: var(--lx-amber); }
.lx-cta .lx-btn-row { position: relative; }

/* ---------- Footer ---------- */
.lx-footer { background: var(--lx-pine-950); color: #b9c8c0; }
.lx-footer-in { padding: clamp(2.75rem, 6vw, 4.5rem) 0 1.75rem; }
.lx-footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
.lx-footer-brand .lx-brand-name { color: #fff; }
.lx-footer-brand p { font-size: 0.92rem; margin: 0.8rem 0 0; max-width: 24rem; }
.lx-footer-h {
  font-family: var(--lx-font-display); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--lx-amber); margin: 0 0 0.9rem;
}
.lx-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; align-content: start; }
.lx-footer nav a { color: #b9c8c0; font-size: 0.93rem; text-decoration: none !important; }
.lx-footer nav a:hover { color: #fff; }
.lx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between;
  font-size: 0.84rem; color: #8fa39a;
}
.lx-footer-bottom p { margin: 0; }
.lx-footer-bottom a { color: #b9c8c0; }
@media (min-width: 820px) { .lx-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.lx-page-hero { padding: clamp(2.25rem, 6vw, 4rem) 0 clamp(1.25rem, 3vw, 2rem); text-align: center; position: relative; overflow: hidden; }
.lx-page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% -80px, rgba(201,155,46,.14), transparent 70%);
}
.lx-page-hero .lx-wrap { position: relative; }
.lx-page-hero p.lx-lead { max-width: 640px; margin: 0 auto; }
.lx-crumbs { font-size: 0.85rem; color: var(--lx-faint); margin-bottom: 0.9rem; }
.lx-crumbs a { color: var(--lx-muted); }
.lx-crumbs [aria-current] { color: var(--lx-ink); font-weight: 600; }

/* ---------- Prose ---------- */
.lx-prose { max-width: 780px; margin: 0 auto; }
.lx-prose h2 { margin-top: 2.2em; font-size: 1.45rem; }
.lx-prose h3 { margin-top: 1.8em; }
.lx-prose ul, .lx-prose ol { padding-left: 1.4em; color: var(--lx-muted); }
.lx-prose li { margin-bottom: 0.5em; }
.lx-prose li::marker { color: var(--lx-primary); }
.lx-related {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--lx-line); font-size: 0.95rem;
}
.lx-related strong { color: var(--lx-ink); }

/* ---------- Template CTA row ---------- */
.lx-tpl-cta {
  background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: var(--lx-r-lg);
  box-shadow: var(--lx-shadow); padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center; max-width: 720px; margin: 0 auto 2.5rem;
}
.lx-tpl-cta .lx-btn-row { justify-content: center; margin-top: 1.25rem; }
.lx-tpl-meta { font-size: 0.85rem; color: var(--lx-faint); margin-top: 0.9rem; }

/* ---------- Forms ---------- */
.lx-field { margin-bottom: 1.1rem; }
.lx-field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.45rem; color: var(--lx-ink); }
.lx-field input, .lx-field textarea, .lx-field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--lx-ink);
  border: 2px solid var(--lx-line); border-radius: 14px; padding: 0.8rem 1rem;
  background: var(--lx-surface); min-height: 52px;
}
.lx-field input:focus, .lx-field textarea:focus, .lx-field select:focus {
  outline: none; border-color: var(--lx-primary); box-shadow: 0 0 0 4px rgba(11,92,68,.12);
}
.lx-field textarea { min-height: 140px; resize: vertical; }
.lx-field .lx-hint { font-size: 0.83rem; color: var(--lx-faint); margin-top: 0.4rem; }

/* ---------- Reveal on scroll ---------- */
.lx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.lx-reveal.lx-in { opacity: 1; transform: none; }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .lx-nav, .lx-header .lx-btn { display: none; }
  .lx-menu-btn { display: inline-flex; margin-left: auto; }
  .lx-mobile-nav {
    display: block; position: fixed; top: var(--lx-header-h); left: 0; right: 0; z-index: 49;
    background: var(--lx-surface); border-bottom: 1px solid var(--lx-line);
    padding: 0.6rem 1.25rem 1.2rem; box-shadow: var(--lx-shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  body.lx-menu-open .lx-mobile-nav { transform: none; opacity: 1; pointer-events: auto; }
  .lx-mobile-nav a {
    display: block; padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--lx-line);
    font-weight: 600; font-size: 1.02rem; color: var(--lx-ink); text-decoration: none !important;
  }
  .lx-mobile-nav a:last-child { border-bottom: 0; }
  .lx-mobile-nav .lx-btn { display: inline-flex; margin-top: 0.8rem; width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  body.lx { scroll-behavior: auto; }
  body.lx *, body.lx *::before, body.lx *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .lx-reveal { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  body.lx { font-size: 16px; }
  .lx-brand-name { font-size: 1.02rem; }
  .lx-cta { border-radius: 20px; }
  .lx-steps { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .lx-steps { grid-template-columns: repeat(2, 1fr); }
}
html { scroll-padding-top: calc(var(--lx-header-h, 68px) + 16px); }

/* ---------- Mega menu (Starter Lists) ---------- */
.lx-has-mega { position: relative; }
.lx-mega-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 0.8rem; border: 0; border-radius: 10px; background: transparent;
  font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--lx-ink); cursor: pointer;
}
.lx-mega-btn:hover { background: var(--lx-soft); }
.lx-mega-btn svg { transition: transform .2s ease; }
.lx-has-mega.lx-open .lx-mega-btn svg { transform: rotate(180deg); }
.lx-mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: min(880px, calc(100vw - 3rem)); max-height: min(70vh, 620px); overflow: auto;
  background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 18px;
  box-shadow: var(--lx-shadow-lg); padding: 1.4rem 1.6rem 1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
.lx-has-mega:hover .lx-mega, .lx-has-mega:focus-within .lx-mega, .lx-has-mega.lx-open .lx-mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.lx-mega-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem 1.4rem; }
.lx-mega-col h3 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--lx-primary-d); margin: 0 0 0.5rem; padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--lx-amber);
}
.lx-mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.lx-mega-col a {
  display: block; padding: 0.32rem 0.45rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--lx-ink); text-decoration: none !important;
}
.lx-mega-col a:hover { background: var(--lx-primary-soft); color: var(--lx-primary-d); }
.lx-mega-foot { margin: 1.1rem 0 0.3rem; padding-top: 0.9rem; border-top: 1px solid var(--lx-line); text-align: center; }
.lx-mega-foot a { font-weight: 700; color: var(--lx-primary-d); text-decoration: none !important; font-size: 0.95rem; }
.lx-mega-foot a:hover { text-decoration: underline !important; }

/* ---------- Hero accents (per category) ---------- */
.lx-page-hero--pine::before { background: radial-gradient(640px 320px at 50% -80px, rgba(11,92,68,.17), transparent 70%); }
.lx-page-hero--sky::before { background: radial-gradient(640px 320px at 50% -80px, rgba(56,130,190,.17), transparent 70%); }
.lx-page-hero--rose::before { background: radial-gradient(640px 320px at 50% -80px, rgba(190,80,110,.15), transparent 70%); }

/* ---------- Chip nav (hub anchor links) ---------- */
.lx-chip-nav { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; margin: 0 0 2.2rem; }
.lx-chip {
  display: inline-block; padding: 0.5rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--lx-line); background: var(--lx-surface);
  font-size: 0.88rem; font-weight: 600; color: var(--lx-ink); text-decoration: none !important;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.lx-chip:hover { border-color: var(--lx-primary); background: var(--lx-primary-soft); color: var(--lx-primary-d); transform: translateY(-1px); }

/* ---------- Mobile accordion (mega-menu) ---------- */
.lx-m-acc { border-bottom: 1px solid var(--lx-line); }
.lx-m-acc > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0.2rem; font-weight: 600; font-size: 1.02rem; color: var(--lx-ink);
  cursor: pointer; list-style: none;
}
.lx-m-acc > summary::-webkit-details-marker { display: none; }
.lx-m-acc > summary svg { transition: transform .2s ease; color: var(--lx-muted); }
.lx-m-acc[open] > summary svg { transform: rotate(180deg); }
.lx-m-acc-body { padding: 0 0 0.6rem; }
.lx-m-acc-cat { border-top: 1px dashed var(--lx-line); }
.lx-m-acc-cat > summary {
  padding: 0.7rem 0.2rem 0.7rem 0.6rem; font-weight: 700; font-size: 0.9rem;
  color: var(--lx-primary-d); cursor: pointer; list-style: none;
}
.lx-m-acc-cat > summary::-webkit-details-marker { display: none; }
.lx-m-acc-links { display: grid; gap: 0; padding: 0 0 0.5rem 0.6rem; }
.lx-mobile-nav .lx-m-acc-links a { padding: 0.55rem 0.2rem; font-size: 0.95rem; font-weight: 500; border-bottom: 0; }
.lx-m-acc-all { display: block; padding: 0.8rem 0.2rem; font-weight: 700; color: var(--lx-primary-d); }
