/* ============================================================
   WizBrand company / trust / legal pages (owner Task 2, 2026-12-01)
   Shared by resources/views/components/wz/legal-page.blade.php.
   Same palette and type as the redesigned public pages (pricing).
   ============================================================ */
.wzt { --wzt-ink: #0f1b34; --wzt-text: #41506b; --wzt-soft: #5f6b86; --wzt-rule: #e6ecf5;
       --wzt-brand: #1d4ed8; --wzt-brand-soft: #eaf1ff; --wzt-ground: #f6f8fc;
       --wzt-ok: #0f7b4f; --wzt-ok-bg: #e6f4ee; --wzt-warn: #a15c07; --wzt-warn-bg: #fdf3e4;
       --wzt-bad: #b42318; --wzt-bad-bg: #fdecea;
       font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif; color: var(--wzt-text); background: var(--wzt-ground); }
.wzt * { box-sizing: border-box; }
.wzt-wrap { max-width: 1100px; margin: 0 auto; padding-left: max(16px, 1.4rem); padding-right: max(16px, 1.4rem); }

/* Hero */
.wzt-hero { background: linear-gradient(125deg, #0b2350 0%, #1d4ed8 70%, #3b7dff 100%); color: #fff; padding-block: 2.4rem 2.6rem; }
.wzt-crumbs { display: flex; flex-wrap: wrap; gap: .45rem; font-size: .85rem; color: #cfe0ff; margin-bottom: 1.1rem; }
.wzt-crumbs a { color: #e4edff; text-decoration: none; }
.wzt-crumbs a:hover, .wzt-crumbs a:focus-visible { text-decoration: underline; }
.wzt-eyebrow { margin: 0 0 .45rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #cfe0ff; }
.wzt-hero h1 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.8rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .7rem; text-wrap: balance; }
.wzt-lede { color: #dbe6f7; font-size: 1.08rem; max-width: 46rem; margin: 0 0 .8rem; line-height: 1.6; }
.wzt-updated { margin: 0; font-size: .85rem; color: #bcd0f5; }

/* Body: optional table of contents beside the text */
.wzt-body { padding-block: 2.2rem 2.6rem; display: grid; gap: 2rem; }
@media (min-width: 900px) { .wzt-body.has-toc { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; } }
.wzt-toc { background: #fff; border: 1px solid var(--wzt-rule); border-radius: 14px; padding: 1rem 1.1rem; }
@media (min-width: 900px) { .wzt-toc { position: sticky; top: 90px; } }
.wzt-toc-title { margin: 0 0 .5rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wzt-soft); }
.wzt-toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .92rem; }
.wzt-toc a { color: var(--wzt-ink); text-decoration: none; }
.wzt-toc a:hover, .wzt-toc a:focus-visible { color: var(--wzt-brand); text-decoration: underline; }

.wzt-content { min-width: 0; background: #fff; border: 1px solid var(--wzt-rule); border-radius: 16px; padding: 1.6rem clamp(1rem, 3vw, 2.2rem); line-height: 1.75; font-size: 1rem; }
.wzt-content > section + section { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--wzt-rule); }
.wzt-content h2 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--wzt-ink); margin: 0 0 .7rem; scroll-margin-top: 90px; }
.wzt-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--wzt-ink); margin: 1.2rem 0 .4rem; }
.wzt-content p { margin: 0 0 .9rem; }
.wzt-content ul, .wzt-content ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.wzt-content li { margin-bottom: .35rem; }
.wzt-content a { color: var(--wzt-brand); }
.wzt-note { background: var(--wzt-brand-soft); border-radius: 12px; padding: .9rem 1.1rem; margin: 0 0 1rem; }

/* Tables (subprocessors, cookies) */
.wzt-table-scroll { overflow-x: auto; margin: 0 0 1rem; border: 1px solid var(--wzt-rule); border-radius: 12px; }
.wzt-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.wzt-table th, .wzt-table td { padding: .6rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--wzt-rule); }
.wzt-table th { background: var(--wzt-ground); color: var(--wzt-ink); font-weight: 700; white-space: nowrap; }
.wzt-table tr:last-child td { border-bottom: 0; }

/* Trust Center cards */
.wzt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 0 0 1.2rem; }
.wzt-card { display: flex; flex-direction: column; gap: .3rem; border: 1px solid var(--wzt-rule); border-radius: 14px; padding: 1rem 1.1rem; color: inherit; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.wzt-card:hover, .wzt-card:focus-visible { border-color: var(--wzt-brand); box-shadow: 0 10px 24px rgba(29, 78, 216, .1); }
.wzt-card b { color: var(--wzt-ink); font-size: 1.02rem; }
.wzt-card span { font-size: .9rem; color: var(--wzt-soft); line-height: 1.5; }

/* FAQ */
.wzt-faq details { border: 1px solid var(--wzt-rule); border-radius: 12px; padding: .2rem 1rem; margin: 0 0 .7rem; background: #fff; }
.wzt-faq summary { cursor: pointer; font-weight: 700; color: var(--wzt-ink); padding: .7rem 0; list-style-position: outside; }
.wzt-faq summary:focus-visible { outline: 2px solid var(--wzt-brand); outline-offset: 3px; border-radius: 6px; }
.wzt-faq details[open] summary { border-bottom: 1px solid var(--wzt-rule); margin-bottom: .6rem; }

/* What's New timeline */
.wzt-log { list-style: none; padding: 0; margin: 0; }
.wzt-log li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--wzt-rule); }
.wzt-log li:last-child { border-bottom: 0; }
.wzt-log time { font-size: .85rem; font-weight: 700; color: var(--wzt-brand); font-variant-numeric: tabular-nums; }
.wzt-log b { display: block; color: var(--wzt-ink); }
@media (max-width: 560px) { .wzt-log li { grid-template-columns: 1fr; gap: .2rem; } }

/* Status */
.wzt-overall { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-radius: 14px; margin: 0 0 1.2rem; font-weight: 700; color: var(--wzt-ink); }
.wzt-overall--ok { background: var(--wzt-ok-bg); }
.wzt-overall--slow { background: var(--wzt-warn-bg); }
.wzt-overall--down { background: var(--wzt-bad-bg); }
.wzt-dot { width: .8rem; height: .8rem; border-radius: 50%; flex: none; }
.wzt-dot--ok { background: var(--wzt-ok); } .wzt-dot--slow { background: var(--wzt-warn); } .wzt-dot--down { background: var(--wzt-bad); }
.wzt-state { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; white-space: nowrap; }
.wzt-state--ok { color: var(--wzt-ok); } .wzt-state--slow { color: var(--wzt-warn); } .wzt-state--down { color: var(--wzt-bad); }

/* Operator box + related pages */
.wzt-operator { margin-top: 2rem; padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--wzt-ground); border: 1px solid var(--wzt-rule); }
.wzt-operator h2 { font-size: 1.05rem; }
.wzt-operator p:last-child { margin-bottom: 0; }
.wzt-related { background: #fff; border-top: 1px solid var(--wzt-rule); padding-block: 1.4rem; }
.wzt-related-title { margin: 0 0 .6rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wzt-soft); }
.wzt-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.wzt-related a { display: inline-block; padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--wzt-rule); color: var(--wzt-ink); text-decoration: none; font-size: .88rem; min-height: 40px; line-height: 1.7; }
.wzt-related a:hover, .wzt-related a:focus-visible { border-color: var(--wzt-brand); color: var(--wzt-brand); }
.wzt-related a[aria-current="page"] { background: var(--wzt-brand); border-color: var(--wzt-brand); color: #fff; }

@media (prefers-reduced-motion: reduce) { .wzt-card { transition: none; } }
.wzt-soft { color: var(--wzt-soft); font-size: .88rem; }
.wzt-content h2, .wzt-content h3 { text-align: left; }

/* Help Center (/docs) */
.wzt [hidden] { display: none !important; } /* .wzt-card is display:flex, which beats the hidden attribute */
.wzt-search-label { display: block; font-weight: 700; color: var(--wzt-ink); margin-bottom: .4rem; }
.wzt-search { width: 100%; max-width: 34rem; padding: .75rem 1rem; border: 1px solid #cfd8e6; border-radius: 12px; font-size: 1rem; font-family: inherit; color: var(--wzt-ink); background: #fff; }
.wzt-search:focus-visible { outline: 2px solid var(--wzt-brand); outline-offset: 2px; border-color: var(--wzt-brand); }
.wzt-article h2 { margin-top: 1.6rem; }
.wzt-article h2:first-child { margin-top: 0; }
.wzt-article ol li, .wzt-article ul li { margin-bottom: .45rem; }
.wzt-article code { background: var(--wzt-ground); border: 1px solid var(--wzt-rule); border-radius: 4px; padding: 0 .3em; font-size: .9em; }
.wzt-article table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; display: block; overflow-x: auto; }
.wzt-article th, .wzt-article td { border: 1px solid var(--wzt-rule); padding: .5rem .7rem; text-align: left; }
.wzt-article blockquote { margin: 0 0 1rem; padding: .8rem 1rem; background: var(--wzt-brand-soft); border-radius: 10px; }
