@charset "utf-8";
/*
 * pagesaver.ai site chrome: design tokens, header, footer.
 * Page-specific styles live in their own files (css/home.css, ...).
 */
:root {
    --ps-paper: #f7f9f4;
    --ps-sheet: #ffffff;
    --ps-ink: #18211b;
    --ps-ink-soft: #4a564d;
    --ps-leaf: #1d6f35;
    --ps-leaf-dark: #155428;
    --ps-brand: #28a745;
    --ps-mist: #e3ebe0;
    --ps-highlight: #f3e77a;
    --ps-serif: Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria, Georgia, "Songti SC", "Noto Serif CJK SC", serif;
    --ps-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans Thai", sans-serif;
    --ps-wrap: 1180px;
    --ps-gutter: clamp(18px, 4vw, 40px);
}

body {
    font-family: var(--ps-sans);
    color: var(--ps-ink);
    text-align: left;
}

/* The old fixed header needed a spacer; the new header sits in the flow. */
#content_container .content_container_padding { display: none; }

.ps-skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 1100;
    padding: 8px 14px;
    background: var(--ps-ink);
    color: #fff;
    border-radius: 4px;
}
.ps-skip-link:focus { top: 12px; color: #fff; }

#ps-main:focus { outline: none; }

/* Older Bootstrap pages (FAQ, issue report, legal pages) start straight with
   a column or container; give them the same gap below the header as the
   PDF tools and pricing pages. */
#ps-main > .col-md-12:first-child,
#ps-main > .container:first-child,
#ps-main > #main_body:first-child { padding-top: 32px; }

/* ---------- Header ---------- */
.ps-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 249, 244, 0.94);
    border-bottom: 1px solid var(--ps-mist);
    font-family: var(--ps-sans);
    line-height: 1.4;
}
@supports (backdrop-filter: blur(6px)) {
    .ps-site-header { backdrop-filter: blur(6px); }
}
.ps-site-header-inner {
    max-width: var(--ps-wrap);
    margin: 0 auto;
    padding: 0 var(--ps-gutter);
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.ps-site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ps-ink);
    font-family: var(--ps-serif);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
}
.ps-site-brand:hover, .ps-site-brand:focus { color: var(--ps-ink); text-decoration: none; }
.ps-site-mark { flex: none; width: 32px; height: 32px; border-radius: 7px; }

.ps-site-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.ps-site-links {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ps-site-links a {
    display: block;
    padding: 8px 12px;
    color: var(--ps-ink-soft);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
}
.ps-site-links a:hover { color: var(--ps-ink); background: var(--ps-mist); text-decoration: none; }
.ps-site-links a[aria-current="page"] {
    color: var(--ps-ink);
    box-shadow: inset 0 -2px 0 var(--ps-brand);
    border-radius: 0;
}

.ps-site-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ps-site-signin {
    color: var(--ps-ink);
    font-size: 15px;
    font-weight: 500;
}
.ps-site-signin:hover { color: var(--ps-leaf); }
.ps-site-cta {
    display: inline-block;
    padding: 9px 16px;
    background: var(--ps-leaf);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
}
.ps-site-cta:hover, .ps-site-cta:focus { background: var(--ps-leaf-dark); color: #fff; text-decoration: none; }

.ps-site-header a:focus-visible,
.ps-site-header button:focus-visible,
.ps-site-footer a:focus-visible {
    outline: 3px solid var(--ps-brand);
    outline-offset: 2px;
}

/* Account menu */
.ps-site-account { position: relative; }
.ps-site-account-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 4px 4px;
    border: 1px solid var(--ps-mist);
    border-radius: 999px;
    background: var(--ps-sheet);
    color: var(--ps-ink);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.ps-site-avatar {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ps-ink);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}
.ps-site-account-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ps-site-account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 200px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--ps-sheet);
    border: 1px solid var(--ps-mist);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(24, 33, 27, 0.12);
}
.ps-site-account-menu a {
    display: block;
    padding: 8px 10px;
    color: var(--ps-ink);
    border-radius: 5px;
    text-decoration: none;
}
.ps-site-account-menu a:hover, .ps-site-account-menu a:focus { background: var(--ps-paper); text-decoration: none; }
.ps-site-account-sep { border-top: 1px solid var(--ps-mist); margin-top: 6px; padding-top: 6px; }

.ps-site-menu-toggle {
    display: none;
    margin-left: auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--ps-mist);
    border-radius: 6px;
    background: var(--ps-sheet);
    color: var(--ps-ink);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.ps-site-menu-icon,
.ps-site-menu-icon::before,
.ps-site-menu-icon::after {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}
.ps-site-menu-icon { position: relative; }
.ps-site-menu-icon::before,
.ps-site-menu-icon::after { content: ""; position: absolute; left: 0; }
.ps-site-menu-icon::before { top: -5px; }
.ps-site-menu-icon::after { top: 5px; }

@media (max-width: 860px) {
    .ps-site-header-inner { flex-wrap: wrap; gap: 0; }
    .ps-site-menu-toggle { display: inline-flex; }
    .ps-site-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 8px 0 18px;
    }
    .ps-site-header.is-open .ps-site-nav { display: flex; }
    .ps-site-links { flex-direction: column; }
    .ps-site-links a { padding: 10px 4px; font-size: 16px; }
    .ps-site-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--ps-brand); padding-left: 12px; }
    .ps-site-actions { justify-content: space-between; }
    .ps-site-account-menu { left: 0; right: auto; }
}

/* ---------- Footer ---------- */
.ps-site-footer {
    margin-top: 72px;
    background: var(--ps-ink);
    color: #c9d3cb;
    font-family: var(--ps-sans);
    font-size: 14px;
    line-height: 1.6;
}
.ps-site-footer-inner {
    max-width: var(--ps-wrap);
    margin: 0 auto;
    padding: 56px var(--ps-gutter) 40px;
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) 2fr;
    gap: 40px;
}
.ps-site-footer-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    color: #fff;
    font-family: var(--ps-serif);
    font-size: 20px;
    font-weight: 700;
}
.ps-site-footer-name img { flex: none; border-radius: 6px; }
.ps-site-footer-brand p:last-child { max-width: 34ch; margin: 0; }
.ps-site-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.ps-site-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-family: var(--ps-sans);
    font-size: 14px;
    font-weight: 600;
}
.ps-site-footer ul { margin: 0; padding: 0; list-style: none; }
.ps-site-footer li { margin: 0 0 8px; }
.ps-site-footer a { color: #c9d3cb; }
.ps-site-footer a:hover { color: #fff; }
.ps-site-footer-legal {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: #8f9b92;
}
@media (max-width: 760px) {
    .ps-site-footer-inner { grid-template-columns: 1fr; }
    .ps-site-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; }
}
