/* Policy pages (privacy-policy, terms, refund-policy, safeguarding) — scoped under .lg */
.lg .lg-hero { padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 4vw, 56px); text-align: center; }
.lg-hero-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.lg-hero-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px; color: #fff;
    background: linear-gradient(135deg, #2dd4bf, #0d9488 58%, #0f766e); box-shadow: 0 14px 30px -10px rgba(13, 148, 136, .55); animation: lg-float 5s ease-in-out infinite; }
.lg-hero-icon svg { width: 30px; height: 30px; }
.lg .hm-hero-title { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.lg .hm-hero-sub { margin-left: auto; margin-right: auto; max-width: 620px; }
.lg-updated { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font: 600 .8rem var(--font-ui); }
.lg-updated svg { width: 14px; height: 14px; }

.lg-body { padding: 0 0 clamp(64px, 7vw, 104px); }
.lg-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1120px; margin: 0 auto; }
.lg-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.lg-toc, .lg-others { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.lg-toc-title { margin: 0 0 10px; color: var(--ink); font: 700 .78rem var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lg-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); font: 500 .86rem/1.35 var(--font-ui); text-decoration: none; transition: background .2s ease, color .2s ease; }
.lg-toc a span { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 700; }
.lg-toc a:hover, .lg-toc a.is-active { background: #fff; color: var(--teal-d); box-shadow: var(--shadow-sm); }
.lg-toc a.is-active span { color: var(--teal); }
.lg-others a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font: 600 .86rem var(--font-ui); text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.lg-others a svg { width: 16px; height: 16px; color: var(--teal); }
.lg-others a:hover { background: #fff; color: var(--teal-d); transform: translateX(3px); }

.lg-content { min-width: 0; }
.lg-section { scroll-margin-top: 110px; padding: clamp(22px, 3vw, 32px); margin-bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.lg-section h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 clamp(1.2rem, 2vw, 1.45rem)/1.25 var(--font-h); letter-spacing: -.02em; color: var(--ink); }
.lg-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--teal-d); font: 800 .82rem var(--font-ui); }
.lg-section h3 { margin: 18px 0 8px; font: 700 1rem var(--font-h); color: var(--ink); }
.lg-section p, .lg-section li { color: var(--ink-2); font-size: .98rem; line-height: 1.75; }
.lg-section p { margin: 0 0 12px; }
.lg-section ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.lg-section ul li { position: relative; padding-left: 24px; margin-bottom: 6px; }
.lg-section ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 3px rgba(20, 184, 166, .15); }
.lg-section a { color: var(--teal-d); font-weight: 600; }
.lg-callout { display: flex; gap: 12px; padding: 14px 16px; margin: 6px 0 12px; border-radius: 14px; background: var(--mint); border: 1px solid rgba(13, 148, 136, .18); }
.lg-callout svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; color: var(--teal); }
.lg-callout p { margin: 0; }
.lg-callout.is-alert { background: #fef2f2; border-color: #fecaca; }
.lg-callout.is-alert svg { color: #dc2626; }

.lg-contact { display: flex; gap: 18px; align-items: flex-start; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); color: #e6fffb;
    background: radial-gradient(60% 90% at 100% 0%, rgba(45, 212, 191, .35), transparent 70%), linear-gradient(135deg, #0b4f4a, #0f766e); }
.lg-contact-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; }
.lg-contact h2 { margin: 0 0 6px; color: #fff; font: 700 1.2rem var(--font-h); }
.lg-contact p { margin: 0; line-height: 1.7; }
.lg-contact a { color: #fff; font-weight: 700; }

@keyframes lg-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .lg-hero-icon { animation: none; } }
@media (max-width: 900px) {
    .lg-grid { grid-template-columns: 1fr; }
    .lg-aside { position: static; }
    .lg-others { display: none; }
}
.lg-steps { counter-reset: lgstep; list-style: none; margin: 0 0 12px; padding: 0; }
.lg-steps li { counter-increment: lgstep; position: relative; padding-left: 40px; margin-bottom: 10px; }
.lg-steps li::before { content: counter(lgstep); position: absolute; left: 0; top: .15em; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--teal); color: #fff; font: 800 .78rem var(--font-ui); }
