/* ==========================================================================
   Below the tool: the reference content on the five tool pages that carry
   a contents list (PDF, website and PowerPoint extractors, metadata
   extractor, PDF locker and unlocker).

   The same quiet treatment as the rest of the site: no cards, sections
   divided by hairlines, icons as small marks rather than tiles, and every
   action as an underlined text button. Loaded after each page's own
   <style>, and every selector starts at body, so these win over the older
   per page rules without !important.
   ========================================================================== */

/* ---------------------------------------------------------- scope note */
body .use-policy {
    margin: 3rem 0 0;
    padding: 1.4rem 0 1.4rem 1.25rem;
    background: none;
    border: 0;
    border-left: 2px solid #00B4D8;
    border-radius: 0;
}

body .use-policy h2 { font-size: 1rem; font-weight: 700; color: #0D1425; margin: 0 0 0.5rem; }
body .use-policy p { color: #4b5563; font-size: 0.95rem; line-height: 1.7; max-width: 75ch; }

/* ---------------------------------------------------------- intro */
body .intro-section {
    margin: 4.5rem 0 3.5rem;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
}

body .intro-section .intro-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: #0D1425;
    margin: 0 0 1.2rem;
    max-width: 30ch;
    background: none;
    -webkit-text-fill-color: currentColor;
}

body .intro-section .intro-description p { color: #4b5563; font-size: 1rem; line-height: 1.75; max-width: 75ch; }
body .intro-section .intro-description a { color: #0369a1; font-weight: 600; }

/* ---------------------------------------------------------- layout */
body .content-layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 4.5rem;
    align-items: start;
    margin-top: 1rem;
}

body .content-main { min-width: 0; }

body .content-section {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 3.5rem;
    margin: 0 0 3.5rem;
    border-bottom: 1px solid #e5e7eb;
}

body .content-section:last-child { border-bottom: 0; margin-bottom: 0; }

body .content-section .section-header,
body .content-section .section-header-content {
    margin: 0 0 1.75rem;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
}

body .content-section .section-title {
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: #0D1425;
    margin: 0 0 0.45rem;
    background: none;
    -webkit-text-fill-color: currentColor;
}

body .content-section .section-subtitle { color: #64748b; font-size: 1rem; line-height: 1.6; margin: 0; }

/* ---------------------------------------------------------- icon lists
   use-case and feature grids: two columns of short entries, each a small
   icon beside a name and a line, on hairlines. */
/* The older per page rules drew these grids as a rounded table with an
   outer border. All of that goes: only a top hairline is left, and the
   columns are spaced with padding rather than a gap so each row's line
   runs unbroken across both columns. */
body .content-section .use-case-grid,
body .content-section .feature-grid,
body .content-section .prompt-cards,
body .content-section .ai-tools-grid {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

body .content-section .use-case-grid,
body .content-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

body .content-section .use-case-grid > :nth-child(odd),
body .content-section .feature-grid > :nth-child(odd) { padding-right: 2.75rem; }
body .content-section .use-case-grid > :nth-child(even),
body .content-section .feature-grid > :nth-child(even) { padding-left: 2.75rem; }

body .content-section .use-case-card,
body .content-section .feature-card {
    display: grid;
    grid-template-columns: 1.75rem minmax(0, 1fr);
    column-gap: 0.85rem;
    align-content: start;
    padding: 1.3rem 0 1.4rem;
    background: none;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    transform: none;
}

body .content-section .use-case-card:hover,
body .content-section .feature-card:hover {
    background: none;
    border-color: #e5e7eb;
    box-shadow: none;
    transform: none;
}

body .content-section .use-case-icon,
body .content-section .feature-icon {
    grid-row: 1 / span 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 1.75rem;
    height: auto;
    margin: 0;
    padding-top: 0.2rem;
    background: none;
    border: 0;
    border-radius: 0;
    color: #0369a1;
    font-size: 1rem;
    box-shadow: none;
}

body .content-section .use-case-icon i,
body .content-section .feature-icon i { color: inherit; font-size: inherit; }

body .content-section .use-case-card h4,
body .content-section .feature-card h4 {
    grid-column: 2;
    font-size: 1rem;
    font-weight: 700;
    color: #0D1425;
    margin: 0 0 0.3rem;
}

body .content-section .use-case-card p,
body .content-section .feature-card p {
    grid-column: 2;
    color: #4b5563;
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0;
}

/* ---------------------------------------------------------- steps */
body .content-section .workflow-section {
    margin-top: 2.5rem;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body .content-section .workflow-section h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 1rem;
    text-align: left;
}

body .content-section .workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 2rem;
    align-items: start;
    padding: 0;
    background: none;
    border: 0;
}

body .content-section .workflow-step {
    display: block;
    box-shadow: none;
    flex: none;
    padding: 1.1rem 0 0;
    background: none;
    border: 0;
    border-top: 2px solid #e2e8f0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    transform: none;
}

body .content-section .workflow-step:first-child { border-top-color: #00B4D8; }

body .content-section .step-number {
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 0.55rem;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #0369a1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    text-align: left;
}

body .content-section .step-content h4 { font-size: 1rem; font-weight: 700; color: #0D1425; margin: 0 0 0.35rem; }
body .content-section .step-content p { color: #4b5563; font-size: 0.92rem; line-height: 1.65; margin: 0; }

/* ---------------------------------------------------------- prompts
   One row per prompt: its name and text on the left, a text button to
   copy it on the right. */
body .content-section .prompt-cards { display: block; }

body .content-section .prompt-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2.5rem;
    align-items: center;
    padding: 1.35rem 0;
    background: none;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

body .content-section .prompt-card:hover { background: none; border-color: #e5e7eb; box-shadow: none; transform: none; }

body .content-section .prompt-card h5 {
    grid-column: 1;
    font-size: 1rem;
    font-weight: 700;
    color: #0D1425;
    margin: 0 0 0.35rem;
}

body .content-section .prompt-card .prompt-text {
    grid-column: 1;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    color: #4b5563;
    font-size: 0.95rem;
    font-style: normal;
    line-height: 1.65;
    max-width: 68ch;
}

body .content-section .prompt-card .copy-prompt-btn,
body .content-section .prompt-card .btn-secondary-light {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0.4rem 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #0369a1;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: transparent;
    text-underline-offset: 5px;
    transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

/* The tertiary button (globalstyle.css): accent text, underlined on hover. */
body .content-section .prompt-card .copy-prompt-btn:hover,
body .content-section .prompt-card .btn-secondary-light:hover {
    background: none;
    border: 0;
    color: #0369a1;
    text-decoration-color: currentColor;
    transform: none;
}

body .content-section .prompt-card .copy-prompt-btn:focus-visible,
body .content-section .prompt-card .btn-secondary-light:focus-visible {
    background: none;
    outline: 2px solid #0369a1;
    outline-offset: 3px;
}

body .content-section .prompt-card .copy-prompt-btn i,
body .content-section .prompt-card .btn-secondary-light i { font-size: 0.85rem; }

/* ---------------------------------------------------------- AI tools */
body .content-section .ai-tools-grid { display: block; }

body .content-section .ai-tool {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 0;
    background: none;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    text-decoration: none;
    transform: none;
}

body .content-section .ai-tool:focus-visible { outline: 2px solid #0369a1; outline-offset: 3px; }

body .content-section .ai-tool:hover { background: none; border-color: #e5e7eb; box-shadow: none; transform: none; }

body .content-section .ai-tool .tool-logo { width: 2rem; height: 2rem; object-fit: contain; margin: 0; }
body .content-section .ai-tool .tool-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0D1425;
    margin: 0 0 0.2rem;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease;
}
body .content-section .ai-tool:hover .tool-info h4 { text-decoration-color: currentColor; }
body .content-section .ai-tool .tool-info p { color: #4b5563; font-size: 0.92rem; line-height: 1.55; margin: 0; }

body .content-section .more-tools { color: #94a3b8; font-size: 0.9rem; margin: 1rem 0 0; text-align: left; }

/* ---------------------------------------------------------- odds and ends */
body .content-section .tool-shot img,
body .content-section img.tool-shot {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 24px 48px -32px rgba(13, 20, 37, 0.45);
}

body .last-updated { color: #94a3b8; font-size: 0.85rem; }

/* ---------------------------------------------------------- narrow */
@media (max-width: 1024px) {
    body .content-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (max-width: 700px) {
    body .content-section .use-case-grid,
    body .content-section .feature-grid { grid-template-columns: minmax(0, 1fr); }
    body .content-section .use-case-grid > :nth-child(n),
    body .content-section .feature-grid > :nth-child(n) { padding-left: 0; padding-right: 0; }
    body .content-section .prompt-card { grid-template-columns: minmax(0, 1fr); row-gap: 0.5rem; }
    body .content-section .prompt-card .copy-prompt-btn,
    body .content-section .prompt-card .btn-secondary-light { grid-column: 1; grid-row: auto; justify-self: start; }
    body .intro-section { margin: 3rem 0 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    body .content-section .prompt-card .copy-prompt-btn,
    body .content-section .prompt-card .btn-secondary-light,
    body .content-section .ai-tool .tool-info h4 { transition: none; }
}
