/* Shared navigation and interaction cues for onboarding and product demos. */
:root { --discovery-accent: #FFC66D; --discovery-line: rgba(255,198,109,0.3); }
a[href], button:not(:disabled), summary, select, input[type="checkbox"], input[type="radio"] { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:is(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--discovery-accent); outline-offset: 3px; }
:where(#main-content, .lp-body, .legal-modal) :is(p, li) a:not(.wa-link):not(.lp-cta):not(.lp-ghost) {
  color: var(--discovery-accent); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px;
}
:where(#main-content, .lp-body, .legal-modal) :is(p, li) a:hover { text-decoration-thickness: 2px; }
.site-footer-links :is(a, button), .lp-foot-links a { text-decoration: underline; text-underline-offset: 0.25em; }
.site-nav-link, .lp-nav-links a { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.12); text-underline-offset: 0.45em; transition: text-decoration-color 0.15s ease, color 0.15s ease; }
.site-nav-link:hover, .lp-nav-links a:hover { text-decoration-color: var(--discovery-accent); }
/* Information cards should not imitate the links beside them. */
.feature-card:not(a):hover, .lp-onboarding-page .lp-card:not(a):hover { transform: none; box-shadow: none; border-color: #484848 !important; }
.feature-card:not(a):hover::before, .lp-onboarding-page .lp-card:not(a):hover::before { opacity: 0; }
#main-content a.border, .lp-body .lp-ghost { border-color: var(--discovery-line); color: #E0E0E0; }
.lp-body .lp-cta, .lp-body .lp-ghost, #main-content a[class*="rounded"]:not(.feature-card) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
}
.discovery-link, .lp-back-link {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px;
  color: var(--discovery-accent); font-size: 0.875rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 0.25em;
}
.discovery-link { margin-top: 1rem; }
.lp-back-link { margin-bottom: 1.25rem; }
.lp-body { scroll-behavior: smooth; }
#demo { scroll-margin-top: 5rem; }
.lp-demo-link { border-color: var(--discovery-accent) !important; color: var(--discovery-accent) !important; }
.demo-next {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0.5rem 2rem; margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid var(--discovery-line); max-width: 48rem;
}
.demo-next a { min-height: 44px; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--discovery-accent); text-decoration: underline; text-underline-offset: 0.25em; }
/* Topic links as tiles: the tile edge is the link cue, so no underline on
   top of a border. Flex (not grid) centres an incomplete last row. */
.lp-body .lp-more {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
  max-width: 60rem; margin-inline: auto;
}
.lp-body .lp-more a {
  flex: 0 1 calc((100% - 1.5rem) / 3);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  min-height: 56px; padding: 0.875rem 1.125rem;
  border: 1px solid #484848; border-radius: 0.75rem; background: #3A3A3A;
  color: #E0E0E0; font-size: 0.9375rem; font-weight: 600; text-align: left; text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.lp-body .lp-more a::after {
  content: '→'; color: var(--discovery-accent); transition: transform 0.2s ease;
}
.lp-body .lp-more a:hover {
  transform: none; color: #fff; border-color: var(--discovery-accent); background: #3F3C36;
}
.lp-body .lp-more a:hover::after { transform: translateX(3px); }
/* Kicker sits above a centred h2, so it centres with it. */
.lp-section > .lp-wrap > .lp-kicker:has(+ h2) { text-align: center; }
.lp-nav-inner { gap: 1.5rem; }
.lp-nav-links { margin-left: auto; }
.lp-nav-links a, .lp-brand { display: inline-flex; align-items: center; min-height: 44px; }
.lp-nav-menu { display: none; }
.lp-nav .lp-cta { box-shadow: none; }
.lp-nav .lp-cta:hover { transform: none; }
.demo-status {
  max-width: 48rem; min-height: 3.5rem; margin: 0 auto 1rem; padding: 0.75rem 1rem;
  border-left: 3px solid var(--discovery-accent); background: #3A3833;
  color: #E0E0E0; font-size: 0.9rem; line-height: 1.5;
}
.demo-feedback {
  flex-shrink: 0; margin: 0; padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--discovery-line); background: #3A3833;
  color: #E0E0E0; font-size: 0.75rem; line-height: 1.4;
}
:is(.service-demo, .qr-demo, .kds-demo) :is(button, select) { min-height: 44px; }
:is(.service-demo, .qr-demo, .kds-demo) button:focus-visible { outline-offset: -3px; }
:is(.service-demo, .qr-demo, .kds-demo) button:not(:disabled):active { filter: brightness(1.2); }
:is(.service-demo, .qr-demo, .kds-demo) [aria-pressed="true"] { box-shadow: inset 0 -3px var(--discovery-accent); }
.qr-add { min-width: 44px; }
.kds-demo .kds-item__btn { width: auto; min-width: 74px; padding: 0.4rem 0.5rem; gap: 0.3rem; font-size: 0.75rem; font-weight: 700; }
.kds-demo .kds-item__btn svg { flex-shrink: 0; }
.sv-cart-dock { position: sticky; bottom: 0; }
.qr-search input { min-width: 0; width: 100%; border: 0; background: transparent; color: #E0E0E0; font: inherit; font-size: 16px; min-height: 44px; }
.qr-demo .qr-search { height: auto; }
.qr-demo .qr-banner__toggle span { display: inline; }
.qr-demo .qr-banner__privacy { text-decoration: underline; text-underline-offset: 0.2em; }
.qr-cart-panel { padding: 1rem; }
.qr-cart-panel h2 { margin: 0 0 1rem; font-size: 1.1rem; }
.qr-cart-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0; border-bottom: 1px solid #555; font-size: 0.8rem; }
.qr-cart-panel button { padding: 0.5rem 0.75rem; border: 1px solid var(--discovery-line); border-radius: 8px; color: var(--discovery-accent); }
.qr-cart-panel .qr-cart-submit { width: 100%; margin-top: 1rem; background: var(--discovery-accent); color: #2B2B2B; font-weight: 700; }
.qr-cart-total { display: flex; justify-content: space-between; margin-top: 1rem; }
.qr-empty { padding: 1rem; font-size: 0.875rem; }
@media (hover:hover) and (pointer:fine) {
  :is(.service-demo, .qr-demo, .kds-demo) button:not(:disabled):hover { filter: brightness(1.18); }
}
@media (max-width:767px) {
  .lp-nav-inner { gap: 0.5rem; }
  .lp-nav-topics { display: none; }
  .lp-nav .lp-cta { margin-left: auto; padding-inline: 0.7rem; font-size: 0.75rem; }
  .lp-nav-menu { display: block; }
  .lp-nav-menu summary { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 0.25em; list-style: none; }
  .lp-nav-menu summary::-webkit-details-marker { display: none; }
  .lp-nav-menu > div { position: absolute; top: 100%; right: 1rem; left: 1rem; padding: 0.5rem 1rem; background: #333; border: 1px solid #555; border-radius: 0 0 0.75rem 0.75rem; box-shadow: 0 12px 24px #0005; }
  .lp-nav-menu a { display: flex; align-items: center; min-height: 48px; text-decoration: underline; text-underline-offset: 0.25em; }
  .lp-body .lp-more a { flex-basis: calc((100% - 0.75rem) / 2); }
}
@media (max-width:380px) {
  .lp-body .lp-more a { flex-basis: 100%; }
  .lp-nav .lp-brand-name { font-size: 0.875rem; }
  .lp-nav .lp-wrap { padding-inline: 0.75rem; }
  .qr-demo .qr-banner__toggle { gap: 0.25rem; font-size: 0.65rem; }
}
@media (prefers-reduced-motion:reduce) {
  .lp-body { scroll-behavior: auto; }
  .lp-body :is(.lp-cta, .lp-ghost, .lp-more a), :is(.service-demo, .qr-demo, .kds-demo) button { transition: none; }
  .lp-body .lp-more a::after { transition: none; }
  .lp-body .lp-more a:hover::after { transform: none; }
  .lp-body .lp-cta:hover, :is(.service-demo, .qr-demo, .kds-demo) button:active { transform: none; }
}
.qr-banner { flex-wrap: wrap; }
.qr-banner__toggle { margin-left: auto; }
.qr-banner :is(a, button):focus-visible { outline-color: #2B2B2B; }

#toggle-pw { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; right: 2px; }
.legal-close { min-width: 44px; min-height: 44px; }
