/* The help pages (platform-faq.html, platform-projecting.html) and the privacy policy (platform-privacy.html). They use platform-home.css for the header,
   buttons and footer, and add the page title block, the question list and the how-to steps. */

.help-hero {
    padding: 48px 0 40px;
    background: linear-gradient(180deg, var(--blue-100) 0%, var(--paper) 100%);
}

.help-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 4.4vw, 2.6rem);
    line-height: 1.15;
    color: var(--blue-900);
}

.help-hero p {
    margin: 0;
    max-width: 40em;
    color: var(--muted);
    font-size: 1.1rem;
}

.help-body {
    padding: 8px 0 64px;
}

.help-hero .wrap,
.help-body .wrap {
    max-width: 860px;
}

.help-body h2 {
    margin: 40px 0 14px;
}

.nav a[aria-current="page"] {
    color: var(--blue-700);
    box-shadow: 0 2px 0 var(--blue-500);
}

/* ---- jump links at the top of a page ---- */

.jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.jump a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #b9d4ee;
    border-radius: 999px;
    background: #fff;
    color: var(--blue-700);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.jump a:hover {
    background: var(--blue-100);
}

/* ---- questions and answers ---- */

.qa {
    margin: 0 0 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(18, 74, 124, 0.06);
}

.qa summary {
    position: relative;
    padding: 14px 48px 14px 18px;
    font-weight: 700;
    color: var(--blue-900);
    cursor: pointer;
    list-style: none;
}

.qa summary::-webkit-details-marker {
    display: none;
}

.qa summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: 1.2rem;
    line-height: 26px;
    text-align: center;
}

.qa[open] summary::after {
    content: "\2212";
    background: var(--blue-500);
    color: #fff;
}

.qa summary:focus-visible {
    outline: 3px solid var(--blue-500);
    outline-offset: 2px;
    border-radius: 14px;
}

.qa .answer {
    padding: 0 18px 16px;
    color: var(--ink);
}

.qa .answer p {
    margin: 0 0 10px;
}

.qa .answer p:last-child,
.qa .answer ul:last-child {
    margin-bottom: 0;
}

.qa .answer ul {
    margin: 0 0 10px;
    padding-inline-start: 22px;
}

/* ---- how-to: option cards with numbered steps ---- */

.option {
    margin: 0 0 22px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(18, 74, 124, 0.08);
}

.option h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: var(--blue-900);
}

.option .best {
    display: inline-block;
    margin: 0 0 10px;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--blue-100);
    color: var(--blue-700);
    font-size: 0.8rem;
    font-weight: 700;
}

.option p {
    margin: 0 0 10px;
}

.option ol {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
    counter-reset: n;
}

.option ol li {
    position: relative;
    margin: 0 0 8px;
    padding-inline-start: 34px;
    counter-increment: n;
}

.option ol li::before {
    content: counter(n);
    position: absolute;
    top: 1px;
    inset-inline-start: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-500);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

/* A short tip inside an option (wallzooki.com/tv for a laptop): above the closing note, set off with a blue edge. */
.option .tip {
    margin: 0 0 10px;
    padding: 8px 12px;
    border-left: 4px solid var(--blue-500, #2196f3);
    border-radius: 6px;
    background: var(--blue-100, #e3f2fd);
    font-size: 0.95rem;
}

.option .pros {
    margin: 0;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--wash);
    color: var(--muted);
    font-size: 0.92rem;
}

kbd {
    direction: ltr;
    unicode-bidi: isolate;
    padding: 1px 6px;
    border: 1px solid #b9c6d4;
    border-bottom-width: 2px;
    border-radius: 5px;
    background: #fff;
    font: 600 0.85em system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    white-space: nowrap;
}

/* ---- a highlighted tip ---- */

.tip {
    margin: 0 0 22px;
    padding: 14px 18px;
    border-inline-start: 5px solid var(--orange);
    border-radius: 10px;
    background: #fff7ea;
}

.tip strong {
    color: #8a4b00;
}

.tip p {
    margin: 0;
}

.check {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.check li {
    position: relative;
    margin: 0 0 8px;
    padding-inline-start: 30px;
}

.check li::before {
    content: "\2713";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.help-cta {
    margin: 36px 0 0;
    text-align: center;
}

@media (max-width: 520px) {
    .help-hero {
        padding: 32px 0 28px;
    }
    .option {
        padding: 16px;
    }
}

/* ---- the privacy policy: plain sections of text ---- */

.help-hero .policy-date {
    margin-top: 10px;
    font-size: 0.95rem;
}

.policy p,
.policy ul {
    margin: 0 0 12px;
    max-width: 46em;
}

.policy ul {
    padding-inline-start: 22px;
}

.policy li {
    margin-bottom: 6px;
}

.policy h3 {
    margin: 22px 0 10px;
    font-size: 1.1rem;
    color: var(--blue-900);
}
