/* © TechNext Pte. Ltd. (technext.asia). All rights reserved. */
/* Privacy Policy and Terms of Service (22 Oct 2026): a glass header block, the legal text on one calm glass sheet with readable
   typography, and a contents list that follows the reader on wide screens. Builds on home-fx.css tokens. No illustrations. */

.lg-hero { padding: 40px 0 28px; }
.lg-head { position: relative; max-width: 880px; padding: 34px 40px 30px; border-radius: 26px; background: var(--fx-glass); border: 1px solid var(--fx-edge);
  box-shadow: var(--fx-depth), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.lg-head .crumbs { margin-bottom: 16px; }
.lg-head h1 { margin: 0; font: 800 clamp(2.2rem, 1.5rem + 2.6vw, 3.3rem)/1.05 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.lg-lead { margin: 14px 0 0; font-size: 1.1rem; line-height: 1.6; color: var(--body); max-width: 37.85em; }
.lg-head .legal-meta { margin: 16px 0 0; font: 600 13.5px/1.4 var(--font-body); color: var(--body); }

.lg-sec { padding: 20px 0 96px; }
.lg-wrap { display: block; }
.lg-wrap.has-toc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.lg-col { min-width: 0; max-width: 820px; }

/* the contents list */
.lg-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 18px 16px 14px; border-radius: 20px; background: var(--fx-glass); border: 1px solid var(--fx-edge); box-shadow: var(--fx-depth);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lg-toc:empty { display: none; }
.lg-toc-h { margin: 0 0 8px; padding: 0 8px; font: 800 14px/1.2 var(--font-display); color: var(--ink); }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: relative; }
.lg-toc a { position: relative; display: flex; align-items: center; min-height: 40px; padding: 6px 10px; border-radius: 10px; font: 550 14px/1.3 var(--font-body); color: var(--body); text-decoration: none;
  transition: background-color .3s var(--fx-ease), color .3s var(--fx-ease); }
.lg-toc a:hover { background: var(--blue-050); color: var(--blue-700); }
.lg-toc a[aria-current="true"] { background: var(--blue-050); color: var(--blue-700); font-weight: 700; }
.lg-toc a:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 1px; }

/* the text on one calm sheet */
.lg-prose { max-width: none; padding: 40px 48px 36px; border-radius: 26px; background: rgba(255,255,255,.82); border: 1px solid var(--fx-edge); box-shadow: var(--fx-depth);
  font-size: 17px; line-height: 1.75; color: var(--body); }
.lg-prose h2 { margin: 2.2em 0 .55em; padding-top: 1.6em; border-top: 1px solid var(--fx-line); font: 800 clamp(1.35rem, 1.1rem + .9vw, 1.65rem)/1.25 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.lg-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lg-prose p { max-width: 42.9em; }
.lg-prose ul { max-width: 42.9em; }
.lg-prose a { color: var(--blue-700); }
.lg-prose code { padding: 2px 7px; border-radius: 6px; background: var(--blue-050); color: var(--blue-700); font-size: .88em; }
.lg-prose > :last-child { margin-bottom: 0; }

.lg-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 20px; padding: 22px 28px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(234,240,251,.95), rgba(255,255,255,.85)); border: 1px solid rgba(49,103,202,.28); box-shadow: 0 0 0 1px rgba(49,103,202,.08), var(--fx-depth); }
.lg-ask p { margin: 0; max-width: 29.02em; font-size: 1.02rem; line-height: 1.55; color: var(--body); }
.lg-ask b { color: var(--ink); }

@media (max-width: 980px) {
  .lg-wrap.has-toc { grid-template-columns: minmax(0, 1fr); }
  .lg-toc { display: none; }
}
@media (max-width: 600px) {
  .lg-hero { padding: 24px 0 20px; }
  .lg-head { padding: 24px 20px 22px; border-radius: 22px; }
  .lg-prose { padding: 26px 20px 24px; border-radius: 22px; font-size: 16.5px; }
  .lg-ask { padding: 20px; }
  .lg-ask .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .lg-toc a { transition: none; } }
