/* Page styles for privacy.html, faq.html and features.html — served as an
   EXTERNAL stylesheet on purpose.

   Some content-filtering extensions (AdGuard-family HTML filtering) strip or
   corrupt large inline <style> blocks on cold (non-cached) page loads, which
   rendered these pages unstyled until a manual reload. External same-origin
   stylesheets are not affected. Do not inline this back.

   ONE sheet for THREE pages, unlike visit.css / shared-list.css which are each
   one page's own. These three are the same document: a masthead, a column of
   prose, a footer. Splitting them into three near-identical files would mean
   three places to fix a heading size.

   Fully self-contained: style.css is deliberately NOT linked. Linking it
   inherits body{display:flex} from the catalogue layout, which blows out the
   mobile rendering of any standalone page (the documented trap that visit.css
   and broken-stones.css also avoid). Everything below re-declares what it
   needs. Brand tokens are copied from style.css :root, not imported. */

:root {
    --bg-main: #faf9f6;
    --bg-card: #ffffff;
    --bg-soft: #f4f2ed;
    --text-main: #1a1a1a;
    --text-muted: #767676;
    --accent: #cf9f47;
    --accent-hover: #b88a38;
    --accent-soft: #f3e5c9;
    --border: #e5e2da;
    --border-light: #efede6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    /* The trap, defused explicitly rather than by omission: a future edit that
       does link style.css will still not collapse this page. */
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Outfit', 'Inter', sans-serif; line-height: 1.25; }

/* ── Dark navbar strip with the logo (same silhouette as visit.html) ────── */
.hp-nav {
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
}
.hp-logo { display: inline-flex; align-items: center; }
.hp-logo img { height: 34px; width: auto; display: block; }
.hp-back {
    color: #d8d5cd;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}
.hp-back:hover { color: var(--accent); }

/* ── Masthead ──────────────────────────────────────────────────────────── */
.hp-head {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 1.25rem 2rem;
}
.hp-head-inner { max-width: 780px; margin: 0 auto; }
.hp-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-hover);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.9rem;
}
.hp-head h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 600; }
.hp-lede { color: var(--text-muted); margin-top: 0.75rem; font-size: 1.02rem; }
.hp-updated {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    padding-top: 0.9rem;
}

/* ── The reading column ────────────────────────────────────────────────── */
.hp-wrap { max-width: 780px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }

.hp-section { margin-bottom: 2.5rem; scroll-margin-top: 1rem; }
.hp-section > h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-soft);
}
.hp-section > h3 {
    font-size: 1.02rem;
    font-weight: 600;
    margin: 1.6rem 0 0.4rem;
}
.hp-section p { margin-top: 0.75rem; }
.hp-section ul, .hp-section ol { margin: 0.75rem 0 0 1.25rem; }
.hp-section li { margin-bottom: 0.45rem; }
.hp-section a { color: var(--accent-hover); }

/* Summary card — the "short version" at the top of the policy. */
.hp-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 2.5rem;
}
.hp-card h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; border: 0; padding: 0; }
.hp-card ul { margin: 0.5rem 0 0 1.15rem; }
.hp-card li { margin-bottom: 0.5rem; }

/* Contents list. */
.hp-toc {
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 2.5rem;
}
.hp-toc h2 {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.7rem;
    border: 0;
    padding: 0;
}
.hp-toc ol { margin: 0; padding-left: 1.15rem; }
.hp-toc li { margin-bottom: 0.3rem; }
.hp-toc a { color: var(--text-main); text-decoration: none; }
.hp-toc a:hover { color: var(--accent-hover); text-decoration: underline; }

/* A definition-style block: "what we collect / why". */
.hp-deflist { margin-top: 1rem; }
.hp-deflist dt {
    font-weight: 600;
    margin-top: 1rem;
    font-family: 'Outfit', 'Inter', sans-serif;
}
.hp-deflist dd { margin: 0.25rem 0 0; color: var(--text-main); }
.hp-deflist dd + dd { margin-top: 0.35rem; }
.hp-note { color: var(--text-muted); font-size: 0.92rem; }

/* Emphasis panel — used where the reader must not skim (what survives
   deletion, the signature, what goes to the AI). */
.hp-callout {
    border-left: 3px solid var(--accent);
    background: var(--bg-card);
    border-radius: 0 10px 10px 0;
    padding: 0.9rem 1.1rem;
    margin-top: 1rem;
}
.hp-callout p:first-child { margin-top: 0; }

/* Third-party table — scrolls inside itself on a phone rather than pushing the
   page sideways. */
.hp-tablewrap { overflow-x: auto; margin-top: 1rem; -webkit-overflow-scrolling: touch; }
.hp-table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 0.93rem; }
.hp-table th, .hp-table td {
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}
.hp-table th {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    background: var(--bg-soft);
    white-space: nowrap;
}
.hp-table tr:last-child td { border-bottom: 0; }

/* ── FAQ: native disclosure, no JS ─────────────────────────────────────── */
.hp-faq { border-top: 1px solid var(--border-light); }
.hp-faq details { border-bottom: 1px solid var(--border-light); }
.hp-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 0.95rem 2rem 0.95rem 0;
    font-weight: 600;
    font-family: 'Outfit', 'Inter', sans-serif;
    position: relative;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after {
    content: '+';
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
}
.hp-faq details[open] summary::after { content: '\2212'; }
.hp-faq summary:hover { color: var(--accent-hover); }
.hp-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp-faq .hp-answer { padding: 0 0 1.1rem; color: var(--text-main); }
.hp-faq .hp-answer p { margin-top: 0; }
.hp-faq .hp-answer p + p { margin-top: 0.7rem; }
.hp-faq .hp-answer ul { margin: 0.6rem 0 0 1.2rem; }

/* ── Features: a grid of cards ─────────────────────────────────────────── */
.hp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}
.hp-feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
}
.hp-feature h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.4rem; }
.hp-feature p { margin: 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Call to action at the foot of the features page. */
.hp-cta {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 2.5rem;
}
.hp-cta h2 { border: 0; padding: 0; font-size: 1.2rem; margin-bottom: 0.4rem; }
.hp-cta p { color: var(--text-muted); margin-bottom: 1.1rem; }
.hp-btnrow { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }
.hp-btn {
    display: inline-block;
    background: var(--accent);
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.7rem 1.3rem;
    font-size: 0.95rem;
}
.hp-btn:hover { background: var(--accent-hover); color: #fff; }
.hp-btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.hp-btn-ghost:hover { background: var(--bg-soft); color: var(--text-main); border-color: var(--accent); }

/* ── Foot ──────────────────────────────────────────────────────────────── */
.hp-foot {
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    padding: 1.75rem 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.hp-foot a { color: var(--accent-hover); }
.hp-foot-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; justify-content: center; margin-bottom: 0.85rem; }

@media (max-width: 520px) {
    .hp-head { padding: 1.75rem 1.1rem 1.5rem; }
    .hp-wrap { padding: 1.5rem 1.1rem 3rem; }
    .hp-card, .hp-toc { padding: 1rem 1.1rem; }
}
