/* Styles for the static docs pages. Standalone on purpose: /docs/ must keep
   working whatever happens to WordPress or the theme. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

* { box-sizing: border-box; }
:root { color-scheme: dark; }
body { margin: 0; font: 400 1rem/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #f0f0f0; background: #141416; -webkit-text-size-adjust: 100%; }
.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }
a { color: #ff7a70; text-underline-offset: 3px; }

.top { background: #0a0a0c; }
.top .wrap { max-width: 1180px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { line-height: 0; }
.logo img { height: 22px; width: auto; }
.top nav { display: flex; gap: 18px; align-items: center; }
.top nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.top nav a.buy { background: #c62a25; padding: 7px 14px; border-radius: 8px; font-weight: 600; }

.crumbs { font-size: .88rem; color: #a0a0aa; padding: 22px 0 6px; }
.crumbs a { color: #a0a0aa; }
main { padding-bottom: 64px; }
h1 { line-height: 1.2; letter-spacing: -0.02em; color: #fff; font-size: clamp(1.8rem, 5vw, 2.4rem); margin: .4em 0 .5em; }
.lede { font-size: 1.1rem; color: #cfcfd6; }
.muted { color: #a0a0aa; font-size: .92rem; }

.doc-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.doc-list li { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #2c2c33; border-radius: 10px; background: #1c1c1f; }
.doc-list li:hover { border-color: #4a4a52; background: #232327; }
.doc-list li:focus-within { outline: 2px solid #ff7a70; outline-offset: 2px; }
.doc-link { text-decoration: none; font-size: 1.05rem; margin-right: auto; color: #f0f0f0; }
/* The whole card is the link, not just its title. */
.doc-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.doc-link:focus-visible { outline: none; }
.pdf-link { font-size: .8rem; font-weight: 600; text-decoration: none; border: 1px solid #3a3a40; border-radius: 6px; padding: 3px 8px; color: #a0a0aa; }
.button { display: inline-block; background: #d9302c; color: #fff; padding: 11px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; }

.bottom { background: #0a0a0c; color: #a0a0aa; font-size: .85rem; padding: 22px 0; }
.bottom .wrap { max-width: 1180px; }
.bottom a { color: #ececee; }
