/* ===== DOCUMENTIZE PURCHASE POLICIES ===== */
/* Reuses the shared design tokens from the main bundle (--dark-blue, --dark-gray …). */

.pol-page {
    --pol-accent: var(--dark-blue, #557a95);
    --pol-border: var(--light-gray, #e0e0e0);
    --pol-muted: var(--dark-gray, #5b6770);
    max-width: 900px;
    margin: 0 auto;
    padding: 8px 16px 64px;
    color: var(--black, #1d1d1f);
    line-height: 1.6;
    font-size: 1rem;
}

/* ---- headings ---- */
.pol-h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.6rem 0 1.4rem;
    color: var(--black, #1d1d1f);
}
.pol-page h2,
.pol-page h3,
.pol-page h4,
.pol-page h5,
.pol-page h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--black, #1d1d1f);
    scroll-margin-top: 90px;
}
.pol-page h2 { font-size: 1.45rem; margin: 2rem 0 0.8rem; }
.pol-page h3 { font-size: 1.2rem; margin: 1.6rem 0 0.6rem; }
.pol-page h4 { font-size: 1.05rem; margin: 1.4rem 0 0.5rem; }
.pol-page h5 { font-size: 1rem; margin: 1.2rem 0 0.5rem; }
.pol-page h6 { font-size: 0.95rem; margin: 1.1rem 0 0.5rem; }

.pol-page p { margin: 0 0 1rem; }

/* ---- links ---- */
.pol-page a {
    color: var(--pol-accent);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.pol-page a:hover { text-decoration: underline; }

/* ---- lists ---- */
.pol-list { margin: 0 0 1rem; padding-left: 1.4rem; }
.pol-list li { margin: 0.35rem 0; }
.pol-list .pol-list { margin: 0.4rem 0 0.4rem; }

/* ---- horizontal rule ---- */
.pol-hr {
    border: 0;
    border-top: 1px solid var(--pol-border);
    margin: 2rem 0;
}

/* ---- blockquote / notes ---- */
.pol-quote {
    margin: 1.2rem 0;
    padding: 0.8rem 1.2rem;
    border-left: 4px solid var(--pol-accent);
    background: var(--white-smoke, #f6f8fa);
    border-radius: 0 6px 6px 0;
}
.pol-quote p:last-child,
.pol-quote ul:last-child { margin-bottom: 0; }

/* ---- code ---- */
.pol-code {
    background: #1e2933;
    color: #e6edf3;
    border-radius: 8px;
    padding: 16px 18px;
    overflow-x: auto;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 1.2rem 0;
}
.pol-page code {
    background: var(--white-smoke, #f0f2f4);
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-size: 0.88em;
}
.pol-code code { background: none; padding: 0; font-size: inherit; color: inherit; }

/* ---- "Jump To" block (policies index) ---- */
.pol-jump-title {
    text-align: center;
    font-size: 1.1rem;
    margin: 2rem 0 1rem;
}
.pol-jump-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 1rem;
}
.pol-jump-col {
    flex: 1 1 280px;
    background: var(--white-smoke, #f6f8fa);
    border: 1px solid var(--pol-border);
    border-radius: 10px;
    padding: 16px 20px;
}
.pol-jump-col .pol-list { margin-bottom: 0; }

/* ---- policy section cards (index) ---- */
.pol-card {
    border: 1px solid var(--pol-border);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 0 0 22px;
    background: var(--white, #fff);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}
.pol-card > h5:first-child,
.pol-card > h2:first-child,
.pol-card > h3:first-child {
    margin-top: 0;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--pol-accent);
    color: var(--pol-accent);
}
.pol-card .pol-list { margin-bottom: 0; }

/* ---- "Questions?" callout ---- */
.pol-questions {
    margin: 2.4rem 0 0.5rem;
    padding: 18px 22px;
    border: 1px solid var(--pol-border);
    border-left: 4px solid var(--pol-accent);
    border-radius: 0 8px 8px 0;
    background: var(--white-smoke, #f6f8fa);
}
.pol-questions > :first-child { margin-top: 0; }
.pol-questions > :last-child { margin-bottom: 0; }

/* ---- reseller .NET API links box ---- */
.pol-links-box {
    border: 1px solid var(--pol-border);
    border-radius: 10px;
    padding: 16px 22px;
    margin: 1.2rem 0;
    background: var(--white, #fff);
}
.pol-links-box .pol-h5 { margin-top: 0; }

/* ---- tables ---- */
.pol-table-wrap { overflow-x: auto; margin: 1.2rem 0; }
.pol-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.pol-table th,
.pol-table td {
    border: 1px solid var(--pol-border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.pol-table thead th {
    background: var(--pol-accent);
    color: var(--white, #fff);
    font-weight: 600;
}
.pol-table thead th a { color: var(--white, #fff); text-decoration: underline; }
.pol-table tbody tr:nth-child(even) { background: var(--white-smoke, #f6f8fa); }
.pol-license-table .pol-c { text-align: center; white-space: nowrap; }
.pol-yes { color: #1a8a3a; font-weight: 700; }
.pol-no { color: var(--pol-muted); }

/* ---- inline tooltip badge ---- */
.pol-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    border-radius: 50%;
    background: var(--pol-muted);
    color: var(--white, #fff);
    font-size: 11px;
    font-weight: 700;
    cursor: help;
    vertical-align: middle;
}

/* ---- responsive ---- */
@media (max-width: 600px) {
    .pol-h1 { font-size: 1.6rem; }
    .pol-page { padding-bottom: 48px; }
}
