* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: #1d1d1f;
    background: #fff;
    min-height: 100vh;
}

/* Header */
.header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e7;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}
.logo { width: 32px; height: 32px; flex-shrink: 0; }
.header h1 { font-size: 17px; font-weight: 600; line-height: 1; }
.header p { font-size: 17px; color: #86868b; line-height: 1; margin: 0; }
.header-divider { color: #d2d2d7; font-weight: 300; }

/* Content */
.content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 24px 64px;
}
section { margin-bottom: 48px; }
section:last-of-type { margin-bottom: 0; }
.content h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1d1d1f;
    margin-top: 32px;
    margin-bottom: 12px;
}
.content h1:first-child { margin-top: 0; }
h2 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-top: 32px;
    margin-bottom: 12px;
}
p, li { font-size: 15px; color: #424245; margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 20px; }
strong { color: #1d1d1f; }
a { color: #1d1d1f; text-decoration: none; }
a:hover { color: #424245; }

/* Quick-action chip row — Apple-reviewer-critical paths
   surfaced under the H1 as anchor links so they're visible
   above the fold and one click away. Uses iOS pill styling
   (rounded-full, subtle border, no fill) so it reads as
   navigation, not as a CTA hierarchy. Wraps on narrow
   viewports — no horizontal scroll, no overflow chrome. */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #e5e5e7;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.chip:hover {
    background: #f5f5f7;
    border-color: #d2d2d7;
    color: #1d1d1f;
}

/* Tail-note block — the "still need help?" line at the
   bottom of the support page. Light recess (no border) so
   it reads as a friendly outro, not as another section
   heading. Uses the muted body color for de-emphasis. */
.tail-note {
    margin-top: 56px;
    padding: 20px 24px;
    background: #f5f5f7;
    border-radius: 14px;
    text-align: center;
}
.tail-note p {
    font-size: 14px;
    color: #424245;
    margin: 0;
}
.tail-note a {
    color: #1d1d1f;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Contact */
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e5e5e7;
    border-radius: 14px;
    transition: background 0.15s ease;
}
.contact-card:hover { background: #f5f5f7; }
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1d1d1f;
}
.contact-icon-svg { width: 18px; height: 18px; }
.contact-text { flex: 1; }
.contact-label { font-size: 13px; color: #86868b; margin: 0; }
.contact-value { font-size: 16px; font-weight: 500; margin: 0; }
.contact-arrow {
    font-size: 28px;
    font-weight: 300;
    color: #c7c7cc;
    flex-shrink: 0;
}

/* FAQ */
.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    /* When a chip anchor (e.g. `#report`) targets a specific
       FAQ item that sits inside a section, the browser scrolls
       the item to the viewport top — pushing the section's
       parent heading (`Safety`, `Account & Privacy`, etc.) off
       the screen. `scroll-margin-top` reserves space above
       the target so the section header stays visible. 100px
       comfortably fits a 28px section heading plus its
       margins on most viewports. */
    scroll-margin-top: 100px;
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
/* `> strong` (direct child) so the question heading is
   block-level, but inline `<strong>` inside answer paragraphs
   (e.g. <strong>Block this Caller</strong>) stays inline. The
   previous descendant selector was forcing every emphasized
   word in an answer onto its own line. */
.faq-item > strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}
.faq-item p {
    font-size: 15px;
    color: #424245;
    /* Was `margin: 0` which collapsed the gap between
       paragraphs in multi-paragraph answers (e.g. the Report a
       user item has two paragraphs). Restore breathing room
       between sibling <p>s; the existing `p:last-child` rule
       still zeroes the trailing margin. */
    margin-bottom: 12px;
}
.faq-item p:last-child { margin-bottom: 0; }
.faq-item a { color: #424245; text-decoration: underline; text-underline-offset: 2px; }

/* Legal pages */
.updated { font-size: 13px; color: #86868b; margin-bottom: 24px; }

/* Footer */
.footer {
    border-top: 1px solid #e5e5e7;
    text-align: center;
    padding: 24px;
    font-size: 13px;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto;
}
.footer a { color: #86868b; text-decoration: none; }
.footer a:hover { color: #424245; }

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body { background: #000; color: #f5f5f7; }
    .header { border-bottom-color: #1c1c1e; }
    strong { color: #f5f5f7; }
    a { color: #f5f5f7; }
    a:hover { color: #a1a1a6; }
    p, li { color: #a1a1a6; }
    .contact-card { border-color: #2c2c2e; }
    .contact-card:hover { background: #1c1c1e; }
    .contact-icon { background: #2c2c2e; color: #f5f5f7; }
    .contact-arrow { color: #48484a; }
    .contact-value { color: #f5f5f7; }
    .faq-item { border-bottom-color: #1c1c1e; }
    .faq-item p { color: #a1a1a6; }
    .faq-item a { color: #a1a1a6; }
    .footer { border-top-color: #1c1c1e; }
    .logo path { fill: #f5f5f7; }
    .content h1 { color: #f5f5f7; }
    h2 { color: #f5f5f7; }
    .chip { border-color: #2c2c2e; color: #f5f5f7; }
    .chip:hover { background: #1c1c1e; border-color: #3a3a3c; color: #f5f5f7; }
    .tail-note { background: #1c1c1e; }
    .tail-note p { color: #a1a1a6; }
    .tail-note a { color: #f5f5f7; }
}

/* Language switching */
[data-lang] { display: none !important; }
[data-lang].active { display: block !important; }
.header [data-lang].active { display: inline !important; }
