/* RepVault brand layer — only the things Tailwind utilities can't express.
   Colours, radii, shadows and the display font-family live in the Tailwind theme
   (Sources/App/TailwindSwiftUI/Styles/RepVaultTheme.swift). */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Public+Sans:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, 'Public Sans', system-ui, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #0A84FF;
    color: #fff;
}

/* FAQ accordion — hide the native disclosure marker and rotate the "+" when open. */
summary {
    list-style: none;
    cursor: pointer;
}

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

.rv-faq-plus {
    transition: transform 200ms cubic-bezier(.22, .61, .36, 1);
}

details[open] .rv-faq-plus {
    transform: rotate(45deg);
}

/* Article "On this page" sidebar. The rail and active marker are easier to express here than as
   utilities; the highlight class is applied by /scripts/article-toc.js. */
.toc a {
    font-size: 14px;
    line-height: 1.35;
    color: rgba(235, 235, 245, .32);
    padding: 7px 0 7px 14px;
    border-left: 2px solid rgba(255, 255, 255, .08);
    transition: color .15s, border-color .15s;
}

.toc a:hover {
    color: rgba(235, 235, 245, .62);
}

.toc a.active {
    color: #fff;
    border-left-color: #0A84FF;
    font-weight: 600;
}
