/* ==========================================================================
   Valigard: legal pages (security, privacy, terms, dpa)
   Loaded after article.css, which provides the hero, table of contents and body typography.
   ========================================================================== */

.lg-lead { margin: 0 0 26px; max-width: 720px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--text-2); }
.lg-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: #FFF8EC; border: 1px solid #F0DCB4; color: #8A5A00; font-size: 13px; font-weight: 600; line-height: 1; }

.a-body .lg-draft { margin-bottom: 8px; }
.a-body h2:first-of-type { margin-top: 40px; }

.lg-contact { margin-top: 28px; padding: 20px; border-radius: var(--r-md); background: var(--mist); overflow-wrap: anywhere; }
.lg-contact b { display: block; margin-bottom: 6px; font-size: 16px; }
.lg-contact span { display: block; margin-bottom: 10px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.lg-contact a { font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 3px; }
@media (max-width: 1000px) { .lg-contact { display: none; } }

/* Security */
.lg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lg-card { padding: 28px 26px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lg-card .icon-tile { margin-bottom: 22px; }
.lg-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.lg-card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 1000px) { .lg-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .lg-cards { grid-template-columns: 1fr; } }

.lg-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.lg-mock { padding: 5%; border-radius: 24px; background: var(--grad-card-1); }
@media (max-width: 1000px) { .lg-split { grid-template-columns: 1fr; } }

.lg-life { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lg-life__item { display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.lg-life__item > span { width: 40px; height: 40px; margin-bottom: 20px; border-radius: 10px; background: var(--lime); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.lg-life__item b { margin-bottom: 8px; font-size: 19px; }
.lg-life__item p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.75); }
.lg-life__item a { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--sky); }
.lg-life__item a:hover { color: #fff; }
@media (max-width: 900px) { .lg-life { grid-template-columns: 1fr; } }

.lg-report { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 28px; align-items: center; padding: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); background: var(--lime-soft); border: 1px solid #D9EFA6; }
.lg-report .icon-tile { background: #fff; }
.lg-report h2 { margin: 0 0 6px; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; }
.lg-report p { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 760px) { .lg-report { grid-template-columns: 1fr; } .lg-report .btn { justify-self: start; } }

/* Short two-column tables: wrap on phones instead of scrolling */
@media (max-width: 640px) { .a-body table { display: table; white-space: normal; } .a-body th, .a-body td { padding: 12px 14px; } }
