/* Legal, security and Amazon integration pages. Loaded after styles.css and uses its design tokens. */


.lg-hero { position: relative; overflow: hidden; color: #fff; padding-block: clamp(48px, 7vw, 88px) clamp(72px, 9vw, 110px); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.lg-hero::before { content: ""; position: absolute; width: 420px; height: 420px; top: -180px; right: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(91,156,240,.28), transparent 70%); }
.lg-hero .container { position: relative; }
.lg-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); background: rgba(255,255,255,.08); padding: 6px 14px; border-radius: 999px; }
.lg-hero h1 { font-size: clamp(32px, 4.5vw, 52px); font-weight: 800; margin-top: 16px; }
.lg-lead { margin-top: 14px; max-width: 640px; color: rgba(255,255,255,.76); font-size: 17px; }

.lg-highlights { position: relative; z-index: 2; margin-top: -48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lg-hl { display: block; background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.lg-hl:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-400); }
.lg-hl .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 12px; background: var(--blue-50); color: var(--blue-600); transition: background .25s, color .25s; }
.lg-hl:hover .ico { background: var(--blue-500); color: #fff; }
.lg-hl .ico svg { width: 19px; height: 19px; }
.lg-hl strong { display: block; font-family: var(--font-display); font-size: 15.5px; color: var(--navy-800); }
.lg-hl span.t { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--ink-500); }

.lg-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding-block: 32px clamp(48px, 7vw, 88px); align-items: start; }
.lg-toc { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-md); padding: 14px; box-shadow: var(--shadow-sm); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.lg-toc h3 { margin: 4px 8px 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-500); }
.lg-toc a { position: relative; display: block; padding: 7px 10px 7px 14px; border-radius: 8px; font-size: 13.5px; color: var(--ink-700); transition: background .2s, color .2s, padding .2s; }
.lg-toc a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--gold-500); transform: translateY(-50%); transition: height .25s; }
.lg-toc a:hover { background: var(--blue-50); color: var(--blue-600); }
.lg-toc a.is-active { background: var(--blue-50); color: var(--blue-600); font-weight: 600; padding-left: 18px; }
.lg-toc a.is-active::before { height: 60%; }

.lg-doc { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius-md); padding: 12px clamp(18px, 4vw, 40px); box-shadow: var(--shadow-sm); color: var(--ink-700); font-size: 15.5px; line-height: 1.75; }
.lg-doc > p:first-child { padding-top: 24px; }
.lg-doc section { padding: 28px 0 14px; border-bottom: 1px solid var(--ink-100); }
.lg-doc section:last-of-type { border-bottom: 0; }
.lg-doc h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; color: var(--navy-800); margin-bottom: 14px; }
.lg-doc h2 .num { flex: none; display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; font-size: 14px; background: var(--blue-50); color: var(--blue-600); transition: background .25s, color .25s; }
.lg-doc section:hover h2 .num { background: var(--navy-800); color: var(--gold-400); }
.lg-doc h3 { font-size: 16.5px; font-weight: 700; color: var(--navy-800); margin: 18px 0 6px; }
.lg-doc p { margin: 0 0 12px; }
.lg-doc ul, .lg-doc ol { margin: 0 0 14px; padding-left: 22px; list-style: disc; display: grid; gap: 7px; }
.lg-doc ol { list-style: decimal; }
.lg-doc li::marker { color: var(--blue-400); }
.lg-doc strong { color: var(--navy-800); }
.lg-doc a { color: var(--blue-600); font-weight: 600; }
.lg-doc a:hover { text-decoration: underline; }

.callout, .info { border-radius: 12px; padding: 14px 16px 14px 18px; margin: 14px 0; border: 1px solid; border-left-width: 4px; }
.callout { background: var(--gold-100); border-color: var(--gold-400); color: #6b4e00; }
.callout strong { color: #6b4e00; }
.info { background: var(--blue-50); border-color: var(--blue-100); border-left-color: var(--blue-500); color: var(--navy-800); }

.lg-table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--ink-200); border-radius: 12px; }
.lg-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.lg-table th, .lg-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.lg-table th { background: var(--blue-50); color: var(--navy-800); font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.lg-table tr:last-child td { border-bottom: 0; }

.lg-doc .lg-steps { list-style: none; padding: 0; counter-reset: step; gap: 12px; }
.lg-steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 58px; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--surface-alt); }
.lg-steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--navy-900); background: var(--gold-400); }

.lg-top { position: fixed; right: 22px; bottom: 90px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.lg-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.lg-top:hover { background: var(--blue-600); }
.lg-top svg { width: 20px; height: 20px; }


@media (max-width: 980px) { .lg-highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .lg-layout { grid-template-columns: minmax(0, 1fr); }
  .lg-toc { position: static; max-height: none; }
}
@media (max-width: 480px) {
  .lg-highlights { margin-top: -32px; gap: 10px; }
  .lg-hl { padding: 14px; }
  .lg-hl span.t { display: none; }
}
@media print {
  .header, .footer, .lg-toc, .lg-top, .lg-highlights, .whatsapp { display: none; }
  .lg-layout { display: block; padding: 0; }
  .lg-hero { background: none; color: #000; padding: 0 0 16px; }
  .lg-hero h1, .lg-lead { color: #000; }
  .lg-doc { box-shadow: none; border: 0; padding: 0; }
}

.trust-card { display: block; color: inherit; }
.lg-toc .lg-toc__rel { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ink-100); }
