@charset "utf-8";
/*
 * pagesaver.ai content pages: About, Contact, Privacy, Terms.
 * Builds on the tokens in css/site.css. One reading column, a serif page
 * title, and plain rules between items instead of cards.
 */

.ps-page {
    max-width: var(--ps-wrap);
    margin: 0 auto;
    padding: clamp(36px, 6vw, 72px) var(--ps-gutter) 24px;
    color: var(--ps-ink);
    font-family: var(--ps-sans);
    font-size: 16px;
    line-height: 1.65;
}
.ps-page a { color: var(--ps-leaf); text-decoration: underline; text-underline-offset: 2px; }
.ps-page a:hover { color: var(--ps-leaf-dark); }
.ps-page a:focus-visible { outline: 3px solid var(--ps-brand); outline-offset: 2px; }

/* Page title block */
.ps-page-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.ps-page-head h1 {
    margin: 0 0 14px;
    font-family: var(--ps-serif);
    font-size: clamp(34px, 4.6vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ps-ink);
}
.ps-page-lede { margin: 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--ps-ink-soft); }
.ps-page-meta { margin: 10px 0 0; font-size: 14px; color: var(--ps-ink-soft); }

.ps-page h2 {
    margin: 0 0 14px;
    font-family: var(--ps-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ps-ink);
}
.ps-page-section { max-width: 760px; padding: 28px 0; border-top: 1px solid var(--ps-mist); }
.ps-page-section p { margin: 0 0 12px; }
.ps-page-section p:last-child { margin-bottom: 0; }

/* About: product list */
.ps-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 6px 0 0; }
.ps-products dt { margin-bottom: 6px; font-size: 17px; font-weight: 600; }
.ps-products dt a { color: var(--ps-ink); text-decoration: none; }
.ps-products dt a:hover { color: var(--ps-leaf); text-decoration: underline; }
.ps-products dd { margin: 0; color: var(--ps-ink-soft); font-size: 15px; }
.ps-products .fa-solid, .ps-products .fa-brands { margin-right: 8px; color: var(--ps-leaf); }

/* Contact: option rows */
.ps-options { max-width: 760px; margin: 0; padding: 0; list-style: none; }
.ps-option {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 4px 16px;
    align-items: start;
    padding: 22px 0;
    border-top: 1px solid var(--ps-mist);
}
.ps-option:last-child { border-bottom: 1px solid var(--ps-mist); }
.ps-option-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--ps-mist);
    color: var(--ps-leaf);
}
.ps-option h2 { margin: 4px 0 2px; font-family: var(--ps-sans); font-size: 17px; font-weight: 600; }
.ps-option p { margin: 0; color: var(--ps-ink-soft); font-size: 15px; }
.ps-option-action { align-self: center; white-space: nowrap; font-weight: 600; }
.ps-page .ps-option-action { text-decoration: none; }
.ps-page .ps-option-action:hover { text-decoration: underline; }


/* Legal pages: contents list beside the text on wide screens */
.ps-legal-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 760px);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.ps-legal-toc {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.4;
}
.ps-legal-toc h2 { margin: 0 0 10px; font-family: var(--ps-sans); font-size: 13px; font-weight: 600; color: var(--ps-ink-soft); }
.ps-legal-toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--ps-mist); }
.ps-legal-toc li a {
    display: block;
    padding: 5px 0 5px 12px;
    margin-left: -1px;
    border-left: 2px solid transparent;
    color: var(--ps-ink-soft);
    text-decoration: none;
}
.ps-legal-toc li a:hover { border-left-color: var(--ps-brand); color: var(--ps-ink); }

.ps-legal-body { min-width: 0; }
.ps-legal-body h2, .ps-legal-body h3.section-title {
    margin: 36px 0 12px;
    padding: 0;
    border: 0;
    font-family: var(--ps-serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ps-ink);
    scroll-margin-top: 88px;
}
.ps-legal-body > :first-child { margin-top: 0; }
.ps-legal-body h4 { margin: 22px 0 8px; font-family: var(--ps-sans); font-size: 17px; font-weight: 600; }
.ps-legal-body p, .ps-legal-body li { color: #2c3830; }
.ps-legal-body ul, .ps-legal-body ol { padding-left: 22px; }
.ps-legal-body li { margin-bottom: 6px; }
.ps-legal-body .contact-section {
    margin-top: 36px;
    padding: 20px 22px;
    border-radius: 8px;
    background: var(--ps-paper);
    border: 1px solid var(--ps-mist);
}
.ps-legal-body .contact-section h3 { margin-top: 0; }

@media (max-width: 900px) {
    .ps-products { grid-template-columns: 1fr; gap: 20px; }
    .ps-legal-layout { grid-template-columns: 1fr; }
    .ps-legal-toc { position: static; max-height: none; padding-bottom: 8px; border-bottom: 1px solid var(--ps-mist); }
}
@media (max-width: 560px) {
    .ps-option { grid-template-columns: 36px minmax(0, 1fr); }
    .ps-option-action { grid-column: 2; justify-self: start; }
}
