/* =====================================================================
   Nexiwave 2026 site template, "Lockscreen" design (template v2).

   1. Lockscreen design: every rule is scoped under .ls (the page wrapper),
      which also lets it outrank Bootstrap 4 / gc.css element styles.
   2. Template additions: Bootstrap clashes, header account area and mobile
      menu, inner pages (Joomla articles), homepage chrome, app modals.
   ===================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.ls-body { margin: 0; background: #f3f2f8; }

/* ---------------------------------------------------------------------
   1. Lockscreen design
   --------------------------------------------------------------------- */
.ls {
  --ink: #0b0b14;
  --text: #2c2c3a;
  --muted: #6e6e80;
  --line: rgba(15, 15, 40, .08);
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --blue: #0a84ff;
  --green: #30d158;
  --phone-hl: #d6f9e3;
  --phone-fg: #0a7a3c;
  --violet: #7b3fe4;
  --pink: #e2458a;
  --amber: #f59e0b;
  --radius: 28px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-family: var(--font);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
.ls *, .ls *::before, .ls *::after { box-sizing: border-box; }
.ls a { color: var(--blue); text-decoration: none; }
.ls a:hover { text-decoration: underline; }
.ls img { max-width: 100%; }
.ls h1, .ls h2, .ls h3 { color: var(--ink); letter-spacing: -0.03em; line-height: 1.08; margin: 0; font-weight: 800; }
.ls p { margin: 0; }
.ls .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ls .muted { color: var(--muted); }
.ls :focus-visible { outline: 3px solid rgba(10, 132, 255, .5); outline-offset: 2px; border-radius: 8px; }

/* Wallpaper: soft phone-style gradient mesh behind the whole page top */
.ls .wallpaper {
  position: absolute; inset: 0 0 auto 0; height: 1180px; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(42% 50% at 82% 18%, rgba(123, 63, 228, .55), transparent 70%),
    radial-gradient(38% 46% at 62% 62%, rgba(226, 69, 138, .42), transparent 70%),
    radial-gradient(40% 44% at 96% 70%, rgba(245, 158, 11, .38), transparent 70%),
    radial-gradient(50% 60% at 8% 10%, rgba(10, 132, 255, .18), transparent 70%),
    linear-gradient(180deg, #f6f3ff 0%, #f3f2f8 100%);
}
.ls .wallpaper::after { content: ""; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(transparent, #f3f2f8); }
.ls > *:not(.wallpaper) { position: relative; z-index: 1; }

/* ---------- Top bar (frosted, like a status/nav bar) ---------- */
.ls .bar { position: sticky; top: 12px; z-index: 50; margin: 12px auto 0; max-width: 1180px; padding: 0 24px; }
.ls .bar__in {
  display: flex; align-items: center; gap: 22px; padding: 10px 10px 10px 20px; border-radius: 22px;
  background: var(--glass); border: 1px solid rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 30px rgba(30, 20, 80, .08);
}
.ls .bar__logo img { height: 36px; width: auto; display: block; }
.ls .bar nav { display: flex; gap: 4px; margin-right: auto; }
.ls .bar nav a { color: var(--text); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 12px; }
.ls .bar nav a:hover { background: rgba(255,255,255,.7); text-decoration: none; }
.ls .btn {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease;
}
.ls .btn:hover { text-decoration: none; transform: translateY(-1px); }
.ls .btn--dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(11, 11, 20, .22); }
.ls .btn--dark:hover { color: #fff; }
.ls .btn--blue { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(10, 132, 255, .35); }
.ls .btn--blue:hover { color: #fff; }
.ls .btn--glass { background: var(--glass-strong); color: var(--ink); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ls .btn--glass:hover { color: var(--ink); }
.ls .btn--sm { padding: 10px 16px; font-size: 14px; }
/* Outlined, see-through button for light backgrounds (the dark-text twin of .final .btn--clear) */
.ls .btn--outline, .ls .btn--outline:hover, .ls .btn--outline:focus, .ls .btn--outline:active, .ls .btn--outline:visited {
  background: rgba(11,11,20,.04); color: var(--ink); border: 1px solid rgba(11,11,20,.35); }
.ls .btn--outline:hover { background: rgba(11,11,20,.08); }
.ls .btn--soft { background: #ece6ff; color: #3b2a85; box-shadow: inset 0 0 0 1px rgba(123,63,228,.25); }
/* Keep button colours fixed in every state, whatever the app's stylesheets (Bootstrap, gc.css) say. */
.ls .btn--blue, .ls .btn--blue:hover, .ls .btn--blue:focus, .ls .btn--blue:active, .ls .btn--blue:visited { background: var(--blue); color: #fff; }
.ls .btn--blue:hover { background: #0071e3; }
.ls .btn--soft:hover, .ls .btn--soft:focus, .ls .btn--soft:active, .ls .btn--soft:visited { background: #e2d9ff; color: #3b2a85; }
.ls .btn--dark:focus, .ls .btn--dark:active, .ls .btn--dark:visited { background: var(--ink); color: #fff; }
.ls .plan .btn--line:focus, .ls .plan .btn--line:active, .ls .plan .btn--line:visited { background: #f1f0f7; color: var(--ink); }
.ls .plan .btn--line:hover { background: #e8e6f2; }
.ls .signin { color: var(--text); font-weight: 500; font-size: 15px; padding: 8px 6px; }

/* ---------- Hero ---------- */
.ls .hero { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.ls .chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; color: var(--text);
  background: var(--glass); border: 1px solid rgba(255,255,255,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ls .chip b { background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.ls .chip:hover { text-decoration: none; color: var(--ink); }
.ls .hero h1 { font-size: clamp(46px, 7.4vw, 92px); margin: 26px 0 22px; letter-spacing: -0.045em; line-height: .98; }
.ls .hero h1 .soft { display: block; background: linear-gradient(95deg, var(--violet), var(--pink) 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.ls .hero .lead { font-size: 21px; color: #474759; max-width: 30em; margin-bottom: 32px; }
.ls .hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.ls .proof { display: flex; flex-wrap: wrap; gap: 10px; }
.ls .proof span {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text);
  padding: 8px 14px; border-radius: 14px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.75);
}
.ls .proof svg { color: var(--green); }
.ls .quote { margin-top: 30px; font-size: 15px; color: var(--muted); }
.ls .quote q { font-style: italic; color: var(--text); }

/* ---------- The phone ---------- */
.ls .stage { position: relative; display: flex; justify-content: center; }
.ls .phone {
  position: relative; width: 360px; height: 740px; border-radius: 62px; padding: 12px;
  background: linear-gradient(145deg, #2b2b33, #0d0d12 40%, #24242b);
  box-shadow:
    inset 0 0 0 2px #3a3a44, inset 0 0 0 4px #0b0b0f,
    0 50px 100px -20px rgba(40, 20, 90, .45), 0 30px 60px -30px rgba(0,0,0,.5);
}
.ls .phone::before, .ls .phone::after { /* side buttons */
  content: ""; position: absolute; width: 4px; border-radius: 3px; background: #2a2a31;
}
.ls .phone::before { left: -3px; top: 150px; height: 60px; box-shadow: 0 80px 0 #2a2a31; }
.ls .phone::after { right: -3px; top: 200px; height: 96px; }
.ls .screen {
  position: relative; height: 100%; border-radius: 50px; overflow: hidden; color: #fff;
  background:
    radial-gradient(70% 45% at 20% 12%, #8a5cf6 0%, transparent 70%),
    radial-gradient(60% 40% at 90% 40%, #ff5fa2 0%, transparent 70%),
    radial-gradient(80% 50% at 30% 95%, #ffb347 0%, transparent 70%),
    linear-gradient(170deg, #5a3cc9, #c4458f 55%, #f39a52);
}
.ls .island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 112px; height: 32px; border-radius: 20px; background: #000; z-index: 3; }
.ls .status { position: absolute; top: 15px; left: 34px; right: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; z-index: 2; }
.ls .status .icons { display: flex; gap: 6px; align-items: center; }
.ls .clock { text-align: center; margin-top: 70px; text-shadow: 0 2px 20px rgba(60, 0, 80, .2); }
.ls .clock .date { font-size: 18px; font-weight: 600; opacity: .9; }
.ls .clock .time { font-size: 92px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 2px; }
.ls .stack { position: absolute; left: 12px; right: 12px; top: 244px; display: flex; flex-direction: column; gap: 8px; }
.ls .note {
  border-radius: 22px; padding: 11px 13px 12px; color: #111;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: 0 4px 18px rgba(40, 10, 60, .12);
  transform-origin: top center;
}
.ls .note__head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #555; margin-bottom: 4px; }
.ls .appicon { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--pink) 55%, var(--amber)); }
.ls .note__head b { font-weight: 600; color: #333; letter-spacing: .02em; text-transform: uppercase; font-size: 11.5px; }
.ls .note__head time { margin-left: auto; }
.ls .note__title { font-weight: 700; font-size: 14.5px; color: #0b0b14; line-height: 1.3; }
.ls .note__body { font-size: 14px; line-height: 1.38; color: #222; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ls .note__body .k { font-weight: 700; }
.ls .tel { background: var(--phone-hl); color: var(--phone-fg); font-weight: 700; border-radius: 5px; padding: 0 4px; white-space: nowrap; }
.ls .note.is-new { animation: ls-drop .6s cubic-bezier(.2, .9, .25, 1.1) both; }
.ls .note.is-leaving { animation: ls-fade .35s ease both; }
@keyframes ls-drop { from { opacity: 0; transform: translateY(-26px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ls-fade { to { opacity: 0; transform: scale(.94); } }
.ls .lockbtns { position: absolute; left: 42px; right: 42px; bottom: 46px; display: flex; justify-content: space-between; }
.ls .lockbtns span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ls .homebar { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 136px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.9); }

.ls .float {
  position: absolute; z-index: 4; border-radius: 20px; padding: 14px 16px; min-width: 170px;
  background: var(--glass-strong); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 18px 40px rgba(40, 20, 90, .16); color: var(--ink);
}
.ls .float b { display: block; font-size: 30px; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.ls .float small { font-size: 13px; color: var(--muted); }
.ls .float--a { left: -96px; top: 118px; }
.ls .float--b { right: -84px; bottom: 34px; }
.ls .float--a b { color: var(--phone-fg); }

/* ---------- Section scaffolding ("screens") ---------- */
.ls section.scr { padding: 96px 0; }
.ls .tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ls .tag i { font-style: normal; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; letter-spacing: 0; }
.ls .head { max-width: 760px; margin-bottom: 48px; }
.ls .head h2 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 16px; }
.ls .head p { font-size: 19px; color: #50506a; }
.ls .center { text-align: center; margin-left: auto; margin-right: auto; }

/* Logos */
.ls .logos { padding: 8px 0 24px; }
.ls .logos p { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.ls .logos p b { color: var(--ink); }
.ls .logos__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 44px; }
.ls .logos__row img { height: 32px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .55; }

/* Screen 01: how it arrives — email + SMS */
.ls .arrive { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
/* let grid columns shrink below their content's natural width on small phones */
.ls .arrive > *, .ls .setup > *, .ls .duo > *, .ls .plans > *, .ls .uses > * { min-width: 0; }
.ls .win { background: #fff; border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(30, 20, 80, .28), 0 0 0 1px var(--line); overflow: hidden; }
.ls .win__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fafafc; font-size: 13px; color: var(--muted); }
.ls .dots { display: flex; gap: 7px; margin-right: 10px; }
.ls .dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.ls .dots i:nth-child(2) { background: #febc2e; }
.ls .dots i:nth-child(3) { background: #28c840; }
.ls .mail { padding: 26px 28px 28px; }
.ls .mail__subj { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 14px; }
.ls .mail__from { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; font-size: 14px; }
.ls .mail__from .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--pink) 55%, var(--amber)); }
.ls .mail__from b { color: var(--ink); display: block; }
.ls .mail__from span { color: var(--muted); }
.ls .mail__text { font-size: 18px; line-height: 1.65; color: var(--ink); }
.ls .mail__text .k { font-weight: 700; }
.ls .attach { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; border-radius: 16px; background: #f4f4f8; font-size: 14px; }
.ls .attach .play { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex-shrink: 0; }
.ls .bars { display: flex; align-items: center; gap: 3px; flex: 1; height: 26px; }
.ls .bars i { width: 3px; border-radius: 3px; background: #c9c6e4; }
.ls .mail__foot { margin-top: 18px; font-size: 13px; color: var(--muted); }

.ls .sms { display: flex; flex-direction: column; }
.ls .sms__top { text-align: center; padding: 18px 12px 12px; border-bottom: 1px solid var(--line); background: #fafafc; }
.ls .sms__top .av { width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--pink) 55%, var(--amber)); }
.ls .sms__top b { font-size: 13px; color: var(--ink); }
.ls .sms__body { padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ls .sms__stamp { text-align: center; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.ls .bub { max-width: 88%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.4; background: #e9e9ee; color: #111; border-bottom-left-radius: 6px; }
.ls .arrive__label { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }

/* Screen 02: setup converter */
.ls .setup { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.ls .card { background: var(--glass-strong); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px -30px rgba(30, 20, 80, .25); }
.ls .step { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.ls .card h3 { font-size: 24px; margin-bottom: 10px; }
.ls .card p { color: #50506a; }
.ls .conv { margin-top: 22px; }
.ls .conv label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.ls .conv input {
  width: 100%; font: 500 18px var(--font); color: var(--ink); padding: 15px 18px; border-radius: 16px;
  border: 1px solid rgba(15,15,40,.12); background: #fff; outline: none;
}
.ls .conv input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,132,255,.15); }
.ls .conv input::placeholder { color: #a3a3b8; opacity: 1; }
.ls .arrow { display: flex; justify-content: center; padding: 12px 0; color: var(--muted); }
.ls .out { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border-radius: 16px; background: #eef5ff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(10,132,255,.25); }
.ls .out code { font: 600 17px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; flex: 1; overflow-wrap: anywhere; }
.ls .out code .u { color: #0a84ff; }
.ls .out button { font: 600 13px var(--font); border: 0; border-radius: 999px; padding: 8px 14px; background: var(--blue); color: #fff; cursor: pointer; flex-shrink: 0; }
.ls .out button:hover { background: #0071e3; }
.ls .out button:disabled { opacity: .35; cursor: default; background: var(--blue); }
.ls .hint { margin-top: 10px; font-size: 13px; color: var(--muted); min-height: 1.4em; }
.ls .guides { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ls .guides a { font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(15,15,40,.1); color: var(--ink); }
.ls .guides a:hover { border-color: var(--blue); text-decoration: none; }
.ls .flow { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.ls .flow div { display: flex; align-items: center; gap: 12px; font-size: 15px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.ls .flow .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }

/* Screen 03: widgets */
.ls .widgets { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 172px; gap: 18px; grid-auto-flow: dense; }
.ls .w.w--full { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 22px; }
.ls .w--full h3 { font-size: 22px; margin-bottom: 4px; }
.ls .w--full p { font-size: 16px; }
.ls .w { border-radius: 30px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative;
  background: #fff; box-shadow: 0 20px 40px -26px rgba(30,20,80,.3), 0 0 0 1px var(--line); }
.ls .w h3 { font-size: 18px; letter-spacing: -0.01em; }
.ls .w p { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.ls .w .big { font-size: 56px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.ls .w--2x { grid-column: span 2; }
.ls .w--tall { grid-row: span 2; }
.ls .w--grad { background: linear-gradient(150deg, #6c3be6, #d9478f 60%, #f39a52); color: #fff; }
.ls .w--grad h3, .ls .w--grad .big { color: #fff; }
.ls .w--grad p { color: rgba(255,255,255,.85); }
.ls .w--dark { background: #f5f1ff; box-shadow: 0 0 0 1px rgba(123,63,228,.22); }
.ls .w--dark h3, .ls .w--dark .big { color: var(--ink); }
.ls .w--dark p { color: #50506a; }
.ls .w--green .big { color: var(--phone-fg); }
.ls .w .wi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f1f0f7; color: var(--ink); }
.ls .w--grad .wi { background: rgba(255,255,255,.16); color: #fff; }
.ls .w--dark .wi { background: var(--violet); color: #fff; }
.ls .ring { width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; align-self: flex-start;
  background: conic-gradient(var(--green) 0 99%, #e7e7ef 99% 100%); position: relative; }
.ls .ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
.ls .ring span { position: relative; font-weight: 800; font-size: 26px; color: var(--ink); letter-spacing: -0.03em; }
.ls .hl-demo { font-size: 15.5px; line-height: 1.6; color: #fff; }
.ls .hl-demo .k { background: rgba(255,255,255,.22); border-radius: 5px; padding: 0 4px; font-weight: 700; }
.ls .timer { font-variant-numeric: tabular-nums; }

/* Screen 04: integrations as a home screen */
.ls .home {
  border-radius: 40px; padding: 40px 36px 34px; position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(123, 63, 228, .9), transparent 70%),
    radial-gradient(50% 70% at 85% 30%, rgba(226, 69, 138, .8), transparent 70%),
    radial-gradient(60% 70% at 60% 100%, rgba(245, 158, 11, .8), transparent 70%),
    #5b3fc8;
}
.ls .apps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 18px; }
.ls .app { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; font-weight: 500; text-align: center; text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.ls .app:hover { text-decoration: none; color: #fff; }
.ls .app:hover .ico { transform: translateY(-3px) scale(1.04); }
.ls .ico {
  width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; transition: transform .2s ease;
  font-weight: 800; font-size: 22px; letter-spacing: -0.03em; text-shadow: none; box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.ls .dock { margin-top: 34px; display: flex; justify-content: center; }
.ls .dock span {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 26px; color: #fff; font-weight: 600; font-size: 15px;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.ls .uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.ls .use { background: #fff; border-radius: 24px; padding: 22px 24px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 6px; }
.ls .use b { color: var(--ink); font-size: 17px; }
.ls .use p { font-size: 15px; color: var(--muted); }
.ls .use a { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; }

/* Screen 05: testimonials as Messages */
.ls .msgs { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 34px; box-shadow: 0 30px 70px -30px rgba(30,20,80,.25), 0 0 0 1px var(--line); overflow: hidden; }
.ls .msgs__top { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-bottom: 1px solid var(--line); background: #fafafc; font-size: 14px; font-weight: 600; color: var(--ink); }
.ls .msgs__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 22px; }
.ls .msg { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: end; }
.ls .msg img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ls .msg .who { font-size: 12.5px; color: var(--muted); margin: 0 0 4px 14px; }
.ls .msg .bub { max-width: 560px; font-size: 16.5px; padding: 12px 16px; }

/* Screen 06: pricing */
.ls .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.ls .plan { background: #fff; border-radius: 30px; padding: 30px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; position: relative; }
.ls .plan--pro { background: #f5f1ff; color: var(--text); box-shadow: 0 0 0 1.5px rgba(123, 63, 228, .35), 0 30px 60px -34px rgba(90, 50, 180, .35); }
.ls .plan--pro h3, .ls .plan--pro .price b { color: var(--ink); }
.ls .plan__badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: linear-gradient(95deg, var(--violet), var(--pink)); color: #fff; }
.ls .plan h3 { font-size: 21px; margin-bottom: 4px; }
.ls .plan .for { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.ls .plan--pro .for { color: var(--muted); }
.ls .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.ls .price b { font-size: 50px; font-weight: 800; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.ls .price span { font-size: 14.5px; }
.ls .plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.ls .plan li { display: flex; gap: 10px; align-items: flex-start; }
.ls .plan li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5'/%3E%3C/svg%3E") center no-repeat; }
.ls .plan li.off { color: #a0a0b0; }
.ls .plan li.off::before { background: #e2e2ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3 3l6 6M9 3 3 9'/%3E%3C/svg%3E") center no-repeat; }
.ls .plan .btn { margin-top: auto; justify-content: center; }
.ls .plan__signup { margin-top: auto; display: flex; flex-direction: column; }
.ls .plan__signup .btn { margin-top: 0; }
/* Instant sign-up form (moved in by quick_register.js); hide the button while it's open */
.ls .plan__signup:has(#EmbedRegisterForm) .signup_embed { display: none; }
.ls .nx-embed { margin: 0; }
.ls .nx-embed__label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.ls .nx-embed__row { display: flex; gap: 8px; }
.ls .nx-embed .inputbox { flex: 1; min-width: 0; width: auto; height: auto; font: 500 15px var(--font); color: var(--ink); padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(15,15,40,.15); background: #fff; box-shadow: none; outline: none; }
.ls .nx-embed .inputbox:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,132,255,.15); }
.ls .nx-embed .inputbox::placeholder { color: #a3a3b8; opacity: 1; }
.ls .nx-embed .btn { flex-shrink: 0; padding: 11px 18px; }
.ls .nx-embed__links { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.ls .plan .ThankYou4SignUp { margin-top: auto; text-align: center; font-weight: 600; }
.ls .plan .btn--line { background: #f1f0f7; color: var(--ink); }
.ls .plan .btn--line:hover { color: var(--ink); }
.ls .fine { text-align: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.ls .fine span { display: inline-block; margin: 0 10px; }
.ls .for-who { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.ls .for-who span { font-size: 14px; padding: 9px 15px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ls .for-who b { font-size: 14px; padding: 9px 4px; color: var(--ink); }

/* Screen 07: FAQ as grouped settings list */
.ls .faq-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
.ls .faq-grid > div:last-child { width: 100%; max-width: 860px; margin: 0 auto; }
.ls .group { background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.ls .group details + details { border-top: 1px solid var(--line); }
.ls .group summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 17px 20px; font-weight: 600; color: var(--ink); font-size: 16.5px; }
.ls .group summary::-webkit-details-marker { display: none; }
.ls .group summary .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.ls .group summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid #b5b5c4; border-bottom: 2px solid #b5b5c4; transform: rotate(-45deg); transition: transform .2s ease; flex-shrink: 0; }
.ls .group details[open] summary::after { transform: rotate(45deg); }
.ls .group .a { padding: 0 20px 20px 64px; color: #50506a; font-size: 15.5px; }
.ls .group .a p + p, .ls .group .a ul { margin-top: 8px; }
.ls .group .a ul { padding-left: 18px; margin-bottom: 0; }

/* News + about */
.ls .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ls .news a { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.ls .news a:hover { color: var(--blue); text-decoration: none; }
.ls .news time { flex-shrink: 0; width: 100px; color: var(--muted); font-weight: 500; font-size: 14px; padding-top: 2px; }
.ls .duo h3 { font-size: 22px; margin-bottom: 12px; }

/* Final CTA */
.ls .final { text-align: center; border-radius: 44px; padding: 80px 28px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(60% 80% at 20% 10%, #8a5cf6, transparent 70%), radial-gradient(60% 80% at 85% 90%, #ff7a59, transparent 70%), linear-gradient(130deg, #5a3cc9, #c4458f); }
.ls .final h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); margin-bottom: 14px; }
.ls .final p { font-size: 19px; opacity: .92; margin-bottom: 30px; }
.ls .final .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ls .final .btn--white { background: #fff; color: var(--ink); }
.ls .final .btn--white:hover { color: var(--ink); }
.ls .final .btn--clear { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.ls .final .btn--clear:hover { color: #fff; }
.ls .final .btn--white:focus, .ls .final .btn--white:active, .ls .final .btn--white:visited { background: #fff; color: var(--ink); }
.ls .final .btn--clear:focus, .ls .final .btn--clear:active, .ls .final .btn--clear:visited { background: rgba(255,255,255,.18); color: #fff; }
.ls .btn--glass:focus, .ls .btn--glass:active, .ls .btn--glass:visited { background: var(--glass-strong); color: var(--ink); }

/* Footer */
.ls footer { padding: 64px 0 40px; font-size: 15px; }
.ls .foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.ls .foot img { height: 34px; width: auto; margin-bottom: 14px; }
.ls .foot h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.ls .foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ls .foot a { color: var(--text); }
.ls .foot address { font-style: normal; color: var(--muted); }
.ls .foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ls .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
  .ls .hero .copy { text-align: center; }
  .ls .hero .lead { margin-left: auto; margin-right: auto; }
  .ls .hero .ctas, .ls .proof { justify-content: center; }
  .ls .float--a { left: -30px; }
  .ls .float--b { right: -30px; }
  .ls .widgets { grid-template-columns: repeat(2, 1fr); }
  .ls .apps { grid-template-columns: repeat(4, 1fr); }
  .ls .faq-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .ls .bar nav { display: none; }
  .ls .bar__in { justify-content: space-between; }
  .ls .arrive, .ls .setup, .ls .duo { grid-template-columns: 1fr; }
  .ls .plans, .ls .uses { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .ls .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ls { font-size: 16px; }
  .ls .wrap, .ls .bar { padding: 0 16px; }
  .ls .bar__in { padding: 8px 8px 8px 14px; gap: 10px; }
  .ls .bar .signin { display: none; }
  .ls section.scr { padding: 64px 0; }
  .ls .hero .lead { font-size: 18px; }
  .ls .phone { width: 300px; height: 620px; border-radius: 52px; padding: 10px; }
  .ls .screen { border-radius: 43px; }
  .ls .island { width: 92px; height: 27px; top: 10px; }
  .ls .status { left: 28px; right: 22px; top: 13px; font-size: 13px; }
  .ls .clock { margin-top: 56px; }
  .ls .clock .date { font-size: 15px; }
  .ls .clock .time { font-size: 72px; }
  .ls .stack { top: 186px; left: 9px; right: 9px; gap: 7px; }
  .ls .note { padding: 9px 11px 10px; border-radius: 18px; }
  .ls .note__body { font-size: 13px; -webkit-line-clamp: 2; }
  .ls .note__title { font-size: 13.5px; }
  .ls .lockbtns { left: 32px; right: 32px; bottom: 34px; }
  .ls .lockbtns span { width: 42px; height: 42px; }
  .ls .float { min-width: 0; padding: 12px 14px; border-radius: 18px; }
  .ls .float b { font-size: 24px; }
  .ls .float small { font-size: 12px; }
  .ls .widgets { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px; }
  .ls .w { border-radius: 24px; padding: 16px; }
  .ls .w--2x { grid-column: span 2; }
  .ls .w.w--full { grid-row: span 1; padding: 18px; gap: 14px; }
  .ls .w--full h3 { font-size: 16px; }
  .ls .w--full p { font-size: 13px; }
  .ls .w .big { font-size: 40px; }
  .ls .w h3 { font-size: 15.5px; }
  .ls .w p { font-size: 13px; }
  .ls .ring { width: 84px; height: 84px; }
  .ls .ring::before { inset: 9px; }
  .ls .ring span { font-size: 21px; }
  .ls .home { padding: 28px 16px 24px; border-radius: 30px; }
  .ls .apps { grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
  .ls .ico { width: 62px; height: 62px; border-radius: 16px; font-size: 18px; }
  .ls .app { font-size: 12px; }
  .ls .dock span { font-size: 13.5px; padding: 12px 16px; text-align: center; }
  .ls .mail { padding: 20px; }
  .ls .mail__text { font-size: 16px; }
  .ls .card { padding: 24px 20px; }
  .ls .out { flex-wrap: wrap; }
  .ls .out code { font-size: 14px; flex: 1 1 100%; overflow-wrap: normal; }
  .ls .stage { flex-wrap: wrap; gap: 10px; }
  .ls .logos { padding-top: 32px; }
  .ls .stage .phone { flex: 0 0 auto; }
  .ls .float { position: static; flex: 1 1 140px; max-width: 170px; text-align: center; }
  .ls .msgs__body { padding: 20px 14px 24px; }
  .ls .msg { grid-template-columns: 32px 1fr; gap: 8px; }
  .ls .msg img { width: 32px; height: 32px; }
  .ls .msg .bub { font-size: 15px; }
  .ls .group .a { padding-left: 20px; }
  .ls .final { border-radius: 30px; padding: 56px 20px; }
  .ls .foot { grid-template-columns: 1fr; }
  .ls .news a { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .ls .note.is-new, .ls .note.is-leaving { animation: none; }
  .ls .btn, .ls .ico { transition: none; }
}

/* ---------------------------------------------------------------------
   2. Template additions
   --------------------------------------------------------------------- */

/* Bootstrap 4 / gc.css clashes (their .btn, .card, .lead and code styles) */
.ls .btn { line-height: 1.2; text-align: center; vertical-align: middle; }
.ls .btn:focus { box-shadow: none; }
.ls .btn:focus-visible { outline: 3px solid rgba(10, 132, 255, .5); outline-offset: 2px; }
.ls .card { display: block; min-width: 0; word-wrap: normal; }
.ls .hero .lead { font-weight: 400; }
.ls .out code { color: inherit; }
.ls address { margin-bottom: 0; }
body.ls-body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #2c2c3a; }

/* Brand icon (new logo) inside the phone notifications and mail/SMS avatars */
.ls .appicon, .ls .av, .ls .mail__from .av, .ls .sms__top .av { overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(15,15,40,.1); }
.ls .appicon img, .ls .av img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.ls .appicon { padding: 2px; }
.ls .appicon, .ls .av { box-sizing: border-box; }
.ls .mail__from .av { padding: 7px; }
.ls .sms__top .av { padding: 8px; }

.ls-skip { position: absolute; left: -9999px; top: 8px; z-index: 9999; background: #0b0b14; color: #fff !important; padding: 8px 14px; border-radius: 8px; }
.ls-skip:focus { left: 8px; }

/* Header: account area (#LoginSect) */
.ls .acct { display: flex; align-items: center; }
.ls .bar__logo { flex-shrink: 0; }
.ls .acct .ShowOnlyIfNotLoggedIn { display: flex; align-items: center; }
.ls .acct__row { display: flex; align-items: center; gap: 10px; }
.ls .acct__free { white-space: pre; }
.ls .acct .btn--sm { gap: 0; }
.ls .acct .preferredName4Display { font-size: 14px; color: var(--muted); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls .acct .ThankYou4SignUp { font-size: 14px; margin-right: 8px; }
.ls .acct .ThankYou4SignUp:empty { display: none; }
.ls .bar nav .nav-acct { display: none; }

/* Header: phone menu */
.ls .menu-btn { display: none; position: relative; width: 42px; height: 42px; flex-shrink: 0; border: 0; border-radius: 14px; background: rgba(255,255,255,.75); cursor: pointer; padding: 0; }
.ls .menu-btn span, .ls .menu-btn span::before, .ls .menu-btn span::after {
  position: absolute; left: 12px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); content: ""; transition: transform .2s ease, opacity .2s ease;
}
.ls .menu-btn span { top: 20px; }
.ls .menu-btn span::before { left: 0; top: -6px; }
.ls .menu-btn span::after { left: 0; top: 6px; }
.ls .bar.is-open .menu-btn span { background: transparent; }
.ls .bar.is-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.ls .bar.is-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .ls .bar__in { flex-wrap: wrap; justify-content: flex-start; }
  .ls .acct { margin-left: auto; }
  .ls .menu-btn { display: block; }
  .ls .bar.is-open nav { display: flex; flex-direction: column; order: 10; width: 100%; margin: 6px 0 2px; padding-top: 6px; border-top: 1px solid var(--line); }
  .ls .bar.is-open nav a { font-size: 16px; padding: 12px 10px; }
}
@media (max-width: 560px) {
  .ls .bar__logo img { height: 30px; }
  .ls .acct .preferredName4Display, .ls .acct .acct__out, .ls .acct .ThankYou4SignUp { display: none; }
  .ls .bar.is-open nav .nav-acct { display: block; }
  .ls .bar.is-open nav .nav-acct a { display: block; }
}
@media (max-width: 440px) {
  .ls .bar__in { gap: 8px; }
  .ls .bar__logo img { height: 26px; }
  .ls .acct .btn--sm { padding: 9px 13px; font-size: 13.5px; }
  .ls .menu-btn { width: 38px; height: 38px; }
  .ls .menu-btn span { left: 10px; top: 18px; }
}
@media (max-width: 350px) {
  .ls .bar__in { padding: 6px 6px 6px 10px; gap: 6px; }
  .ls .bar__logo img { height: 22px; }
  .ls .acct .btn--sm { padding: 8px 12px; font-size: 13px; }
  .ls .acct__free { display: none; }
  /* smallest phones: shrink the phone mockup so the hero fits */
  .ls .phone { width: 272px; height: 560px; border-radius: 48px; padding: 9px; }
  .ls .screen { border-radius: 40px; }
  .ls .clock .time { font-size: 62px; }
  .ls .stack { top: 168px; }
}
.ls .hero > * { min-width: 0; }

/* Homepage: hide Joomla's article chrome around the sections */
.ls-home .item-page > h1, .ls-home .item-page > h2, .ls-home .item-page > .page-header,
.ls-home .item-page > .actions, .ls-home .item-page > .icons,
.ls-home .item-page > .article-info, .ls-home .item-page > dl.article-info,
.ls-home .item-page > .pagenav, .ls-home .item-page > .content_rating { display: none; }
.ls .ls-msg:empty { display: none; }

/* Inner pages: the article sits on a frosted card over a shorter wallpaper */
.ls-inner .wallpaper { height: 640px; }
.ls .prose-wrap { max-width: 920px; margin: 40px auto 96px; padding: 0 24px; }
.ls .prose {
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .9); border-radius: 32px; padding: 48px 56px;
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 30px 70px -30px rgba(30, 20, 80, .25); font-size: 17px; line-height: 1.7; overflow-wrap: break-word;
}
.ls .prose > *:first-child { margin-top: 0; }
.ls .prose h1, .ls .prose .contentheading, .ls .prose .componentheading { font-size: clamp(30px, 4vw, 44px); margin: 0 0 20px; line-height: 1.1; }
.ls .prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 36px 0 12px; line-height: 1.15; }
.ls .prose h3 { font-size: 24px; margin: 36px 0 12px; line-height: 1.2; }
.ls .prose h4 { font-size: 19px; margin: 28px 0 10px; color: var(--ink); font-weight: 700; }
.ls .prose h2 a, .ls .prose h3 a { color: var(--ink); }
.ls .prose p { margin: 0 0 16px; }
.ls .prose ul, .ls .prose ol { padding-left: 24px; margin: 0 0 16px; }
.ls .prose li { margin-top: .35em; }
.ls .prose img { height: auto; border-radius: 12px; }
.ls .prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.ls .prose th, .ls .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ls .prose th { background: #f4f4f8; font-weight: 600; color: var(--ink); }
.ls .prose pre, .ls .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.ls .prose pre { background: #f4f4f8; color: var(--ink); padding: 18px 20px; border-radius: 14px; overflow-x: auto; box-shadow: inset 0 0 0 1px var(--line); }
.ls .prose :not(pre) > code { background: #f1f0f7; padding: 2px 6px; border-radius: 6px; color: var(--ink); }
.ls .prose blockquote { border-left: 3px solid var(--blue); margin: 24px 0; padding: 4px 0 4px 20px; color: var(--muted); }
/* Joomla com_content chrome */
.ls .prose .actions, .ls .prose .icons { float: right; list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.ls .prose .article-info, .ls .prose dl.article-info { font-size: 14px; color: var(--muted); margin: -8px 0 24px; }
.ls .prose dl.article-info dt { display: none; }
.ls .prose dl.article-info dd { display: inline; margin: 0 14px 0 0; }
.ls .prose .category td a, .ls .prose .category-list td a { font-weight: 600; }
.ls .prose .list-date, .ls .prose td.list-date { white-space: nowrap; color: var(--muted); }
.ls .prose .filters, .ls .prose .display-limit { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.ls .prose .pagination, .ls .prose .pagenav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 32px 0 0; }
.ls .prose .pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ls .prose .pagination li, .ls .prose .pagenav li { margin: 0; }
.ls .prose .pagination a, .ls .prose .pagination span, .ls .prose .pagenav a {
  display: inline-block; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(15,15,40,.12); color: var(--text); background: #fff; font-size: 14px;
}
.ls .prose .pagination a:hover, .ls .prose .pagenav a:hover { border-color: var(--blue); text-decoration: none; }
.ls .prose .counter { font-size: 14px; color: var(--muted); margin-top: 12px; }
.ls .prose .items-leading > div, .ls .prose .items-row .item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.ls .prose .readmore a { font-weight: 600; }
.ls #system-message, .ls #system-message-container dl, .ls #system-message-container .alert { border-radius: 14px; padding: 14px 18px; background: #fff7e6; border: 1px solid #ffe2a8; margin: 0 0 24px; list-style: none; }
.ls-home .ls-msg #system-message-container dl, .ls-home .ls-msg #system-message { margin-top: 24px; }
@media (max-width: 560px) {
  .ls .prose-wrap { padding: 0 12px; margin: 24px auto 64px; }
  .ls .prose { padding: 28px 20px; border-radius: 24px; font-size: 16px; }
  .ls .prose .actions, .ls .prose .icons { float: none; margin-bottom: 12px; }
  .ls .prose table { display: block; overflow-x: auto; }
}

/* Account modals (markup from the app, outside .ls) */
.ls-body .modal-content { border: 0; border-radius: 22px; box-shadow: 0 40px 80px -20px rgba(30, 20, 80, .35); }
.ls-body .modal-header { padding: 18px 22px 8px; }
.ls-body .modal-body { padding: 16px 22px; }
.ls-body .modal-footer { border-top-color: rgba(15, 15, 40, .08); padding: 14px 22px; }
.ls-body .modal .nav-tabs { border-bottom: 0; gap: 4px; background: #f1f0f7; padding: 4px; border-radius: 999px; }
.ls-body .modal .nav-tabs .nav-link { border: 0; border-radius: 999px; color: #6e6e80; font-weight: 600; padding: 8px 18px; }
.ls-body .modal .nav-tabs .nav-link.active { background: #fff; color: #0b0b14; box-shadow: 0 1px 3px rgba(11, 11, 20, .12); }
.ls-body .modal .nav-tabs .nav-link:hover { text-decoration: none; }
.ls-body .modal .form-control { border-radius: 12px; border-color: rgba(15, 15, 40, .14); padding: .6rem .85rem; height: auto; }
.ls-body .modal .form-control:focus { border-color: #0a84ff; box-shadow: 0 0 0 4px rgba(10, 132, 255, .15); }
.ls-body .modal .btn { border-radius: 999px; font-weight: 600; padding: .5rem 1.1rem; margin: 4px 0 4px 4px; }
.ls-body .modal .btn-primary { background: #0a84ff; border-color: #0a84ff; }
.ls-body .modal .btn-primary:hover { background: #0071e3; border-color: #0071e3; }
.ls-body .modal .btn-secondary { background: #fff; color: #0b0b14 !important; border-color: rgba(15, 15, 40, .14); }
.ls-body .modal .btn-secondary:hover { background: #f4f4f8; }
.ls-body .modal .input-group-text { border-radius: 0 12px 12px 0; background: #f4f4f8; }
.ls-body .modal .legaltext { color: #6e6e80; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ls .menu-btn span, .ls .menu-btn span::before, .ls .menu-btn span::after { transition: none; }
}

/* Integrations: real logos on white app tiles */
.ls .ico--logo { background: #fff; padding: 12px; }
.ls .ico--logo img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Static site: news / guides lists, post dates */
.ls .prose .crumb { font-size: 14px; margin: 0 0 12px; }
.ls .prose .post-date { color: var(--muted); font-size: 14px; margin: -8px 0 24px; }
.ls .prose .post-list { list-style: none; padding: 0; margin: 8px 0 0; }
.ls .prose .post-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line); }
.ls .prose .post-list a { font-weight: 600; }
.ls .prose .post-list time { flex-shrink: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .ls .prose .post-list li { flex-direction: column; gap: 2px; } }
.ls .ico--logo.ico--wide { padding: 6px; }
.ls .ico--logo.ico--dark { background: #0f1a33; }
.ls .ico--logo.ico--full { padding: 0; overflow: hidden; }

/* "Sign in with Microsoft / Google" (loaded by the app from /static/html/social-sign-in-buttons.html).
   Its Font Awesome 4 icon names don't exist in the FA5 stylesheet, and bootstrap-social pins the icon
   to the left edge; show clean centred pills with real logos instead. */
.ls-body .social-sign-in-buttons { display: grid; gap: 10px; }
.ls-body .social-sign-in-buttons .btn-social {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin: 0; padding: 11px 18px; border-radius: 999px; text-align: center;
  background: #fff; color: #1f1f2e; border: 1px solid rgba(15,15,40,.15); font-weight: 600; line-height: 1.2;
  overflow: visible; white-space: normal; box-shadow: none;
}
.ls-body .social-sign-in-buttons .btn-social:hover { background: #f6f6fa; color: #1f1f2e; border-color: rgba(15,15,40,.25); }
.ls-body .social-sign-in-buttons .btn-social.disabled { opacity: .5; }
.ls-body .social-sign-in-buttons .btn-social > :first-child {
  position: static; flex: none; width: 18px; height: 18px; line-height: 1; border: 0; padding: 0; margin: 0;
  font-size: 0; background: center / contain no-repeat;
}
.ls-body .social-sign-in-buttons .btn-social > :first-child::before { content: none; }
.ls-body .social-sign-in-buttons .btn-microsoft > :first-child { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23f25022' d='M0 0h9.5v9.5H0z'/%3E%3Cpath fill='%237fba00' d='M10.5 0H20v9.5h-9.5z'/%3E%3Cpath fill='%2300a4ef' d='M0 10.5h9.5V20H0z'/%3E%3Cpath fill='%23ffb900' d='M10.5 10.5H20V20h-9.5z'/%3E%3C/svg%3E"); }
.ls-body .social-sign-in-buttons .btn-google > :first-child { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E"); }
