/* terms page */
/* ── Legal Pages (terms, privacy) ── */
.lp-wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px 64px; }

/* Page header */
.lp-header {
    padding: 32px 0 24px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 32px;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.lp-header-left h1 {
    font-size: 30px; font-weight: 800; color: #111;
    letter-spacing: -.5px; margin: 0 0 6px;
}
.lp-header-left p { font-size: 14px; color: #6b7280; margin: 0; }
.lp-meta-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 20px;
    padding: 5px 14px; font-size: 12px; color: #374151;
}
.lp-badge.green { background: #f0fdf4; border-color: #bbf7d0; color: #065f46; }
.lp-badge strong { font-weight: 600; }

/* Body: TOC + content */
.lp-body { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }

/* Sticky TOC */
.lp-toc {
    position: sticky; top: 74px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    padding: 18px 0; max-height: calc(100vh - 100px); overflow-y: auto;
}
.lp-toc-title {
    font-size: 10px; font-weight: 700; color: #9ca3af;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 0 18px 12px; border-bottom: 1px solid #f3f4f6; margin-bottom: 8px;
}
.lp-toc a {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: #6b7280; text-decoration: none;
    padding: 7px 18px; transition: background .1s, color .1s;
    line-height: 1.3;
}
.lp-toc a::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: #d1d5db; flex-shrink: 0; transition: background .1s;
}
.lp-toc a:hover, .lp-toc a.lp-toc-active {
    background: #f0fdf4; color: #059669;
}
.lp-toc a:hover::before, .lp-toc a.lp-toc-active::before { background: #059669; }
.lp-toc-divider { height: 1px; background: #f3f4f6; margin: 10px 18px; }

/* Content area */
.lp-content { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 40px; }

/* Section */
.lp-section { margin-bottom: 42px; }
.lp-section:last-child { margin-bottom: 0; }
.lp-section-num {
    font-size: 11px; font-weight: 700; color: #059669;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.lp-h2 {
    font-size: 20px; font-weight: 800; color: #111;
    margin: 0 0 14px; padding-bottom: 10px;
    border-bottom: 2px solid #f0fdf4; display: flex; align-items: center; gap: 10px;
}
.lp-h2-icon {
    width: 30px; height: 30px; border-radius: 8px;
    background: #f0fdf4; color: #059669; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.lp-p { font-size: 14.5px; color: #374151; line-height: 1.75; margin: 0 0 14px; }
.lp-p:last-child { margin-bottom: 0; }
.lp-ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.lp-ul li {
    font-size: 14.5px; color: #374151; line-height: 1.6;
    display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px;
    background: #f9fafb; border-radius: 9px;
}
.lp-ul li::before { content: '✓'; color: #059669; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.lp-ul li strong { color: #111; }

/* Highlight note */
.lp-note {
    background: #f0fdf4; border: 1px solid #bbf7d0; border-left: 4px solid #059669;
    border-radius: 9px; padding: 14px 18px; margin: 16px 0;
    font-size: 14px; color: #065f46; line-height: 1.6;
}
.lp-note strong { color: #064e3b; }

/* Warning note */
.lp-warn {
    background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid #d97706;
    border-radius: 9px; padding: 14px 18px; margin: 16px 0;
    font-size: 14px; color: #92400e; line-height: 1.6;
}

/* Address block */
.lp-address {
    font-style: normal; font-size: 14px; color: #374151; line-height: 1.9;
    background: #f9fafb; border: 1px solid #e5e7eb; border-left: 4px solid #059669;
    border-radius: 9px; padding: 16px 20px; margin-top: 14px;
}
.lp-address strong { color: #111; display: block; margin-bottom: 4px; font-size: 15px; }
.lp-address a { color: #059669; text-decoration: none; }
.lp-address a:hover { text-decoration: underline; }

/* Two-col grid inside sections */
.lp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.lp-card-mini {
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px;
    padding: 14px 16px;
}
.lp-card-mini strong { font-size: 13.5px; font-weight: 700; color: #111; display: block; margin-bottom: 4px; }
.lp-card-mini span { font-size: 13px; color: #6b7280; line-height: 1.5; }

@media (max-width: 860px) {
    .lp-body { grid-template-columns: 1fr; }
    .lp-toc { position: static; max-height: none; }
    .lp-toc-scroll { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 4px; }
    .lp-toc a { padding: 5px 12px; border-radius: 20px; border: 1px solid #e5e7eb; }
    .lp-toc a::before { display: none; }
}
@media (max-width: 640px) {
    .lp-header h1 { font-size: 24px; }
    .lp-content { padding: 24px 18px; }
    .lp-h2 { font-size: 17px; }
    .lp-grid2 { grid-template-columns: 1fr; }
}
