/* Additions on top of the extracted app stylesheet.
   The original site was a single-page app; these rules cover the few things
   its JavaScript used to do inline — button-styled links, the mobile menu,
   and accordion panels. Everything here uses the design tokens already
   defined in styles.css. */

/* CTAs that became real links keep the button look. */
a.tk-btn,
a.lp5-tab,
a.link {
  text-decoration: none;
}

a.link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--v5-blue, var(--accent));
  font: inherit;
  cursor: pointer;
}

a.lp5-tab {
  display: inline-flex;
  align-items: center;
}

/* ---- mobile menu ---------------------------------------------------- */

.ss-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--v5-line, var(--border));
}

.ss-mobile-menu[hidden] {
  display: none;
}

.ss-mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.ss-mobile-menu nav a {
  padding: 11px 8px;
  border-radius: 10px;
  color: var(--lp-body, var(--text));
  font-size: 15.5px;
  font-weight: 550;
  text-decoration: none;
}

.ss-mobile-menu nav a:hover {
  background: var(--lp-tint, var(--panel-2));
}

.ss-mobile-menu .tk-btn {
  width: 100%;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .ss-mobile-menu:not([hidden]) {
    display: flex;
  }
}

/* ---- accordions ------------------------------------------------------ */

.lp5-faq-a[hidden],
.lp-faq-a[hidden] {
  display: none;
}

.lp5-faq-a:empty,
.lp-faq-a:empty {
  padding-bottom: 0;
}

/* ---- product-tour tab panels ----------------------------------------
   .lp5-split is display:flex, which would otherwise beat the [hidden]
   attribute's default display:none. */

.lp5-split[hidden],
.ss-panel-stub[hidden] {
  display: none;
}

.ss-panel-stub-note {
  flex: 1;
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--v5-line, var(--border-strong));
  border-radius: 16px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

/* ---- checklist bullets ------------------------------------------------
   Brand rule: bullets use the brand blue, not the success green the app
   stylesheet ships. This also restores the tick itself — the extracted
   stylesheet lost the border-style on .lp-check::after, so the checkmark
   never drew and every bullet rendered as a plain filled circle. */

.lp-check,
.lp-v5 .lp-check {
  background: var(--accent-soft, #e9f2ff);
}

.lp-check::after,
.lp-v5 .lp-check::after {
  border-style: solid;
  border-color: var(--v5-blue, var(--accent, #0c66e4));
}

/* On blue and dark tiles the mark stays white, for contrast against the
   panel rather than against the page. */
.lp-v5 .is-blue .lp-check::after,
.lp5-tile.is-dark .lp-check::after {
  border-color: #fff;
}

/* ---- focus visibility ------------------------------------------------ */

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--v5-blue, var(--accent));
  outline-offset: 2px;
}
