/* Privacy, Terms and Support pages. Loaded after styles.css, which supplies the palette, fonts, nav and footer. */
.doc { padding: 120px 0 72px; }
.doc-head { margin-bottom: 36px; }
.doc-head h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.04; margin: 0 0 14px; }
.doc-head p { color: var(--dim); font-size: 18px; margin: 0; }
.doc-meta { color: var(--faint); font-size: 14px; margin-top: 12px !important; }

.doc-summary { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 10px; }
.doc-summary li { position: relative; padding: 14px 18px 14px 50px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); color: var(--dim); }
.doc-summary li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 16px; height: 16px; border-radius: 4px; background: var(--neon); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 70%); }

.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.doc-toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); color: var(--dim); font: 600 14px var(--cond); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.doc-toc a:hover { color: var(--text); border-color: var(--neon); }

.doc section { padding-top: 8px; margin-bottom: 36px; scroll-margin-top: 90px; }
.doc h2 { font: 700 26px/1.2 var(--cond); letter-spacing: .02em; margin: 0 0 12px; color: var(--text); }
.doc h3 { font: 600 18px/1.3 var(--sans); margin: 22px 0 6px; color: var(--text); }
.doc p, .doc li { color: var(--dim); }
.doc p { margin: 0 0 12px; }
.doc ul.plain { margin: 0 0 12px; padding-left: 20px; }
.doc ul.plain li { margin-bottom: 6px; }
.doc a { color: var(--neon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc a:hover { color: var(--neon-bright); }
.doc .btn { color: #062012; text-decoration: none; }

.doc-card { border: 1px solid var(--border); border-radius: var(--r); background: var(--panel); padding: 22px; margin-bottom: 40px; }
.doc-card h2 { margin-bottom: 6px; }
.doc-card p:last-child { margin-bottom: 0; }
.doc-card .btn { margin-top: 6px; }

.doc details { border: 1px solid var(--border); border-radius: 14px; background: var(--panel); margin-bottom: 10px; }
.doc summary { cursor: pointer; padding: 16px 18px; font-weight: 600; color: var(--text); list-style: none; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; float: right; color: var(--neon); font-weight: 700; }
.doc details[open] summary::after { content: "–"; }
.doc details > div { padding: 0 18px 8px; }

/* The nav on these pages has no section links, just a way back. */
.nav-doc .links { display: flex; justify-content: flex-end; margin-left: auto; margin-right: 0; }

@media (max-width: 640px) {
  .doc { padding-top: 96px; }
  .nav-doc .links { gap: 14px; }
  .nav-doc .links a { font-size: 15px; }
}
