/* Terms, Privacy and Support: plain reading pages in the hive's colours. Loaded after base.css. */
.doc-top { background: linear-gradient(180deg, var(--honey) 0%, var(--honey-hi) 100%); border-bottom: 4px solid var(--honey-deep); }
.doc-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.doc-top img { width: 120px; }
.doc-top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.doc-top nav a { font-weight: 800; text-decoration: none; color: var(--wood); }
.doc-top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

.doc { padding: 40px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-family: Coiny, Nunito, sans-serif; font-weight: 400; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; margin: 0 0 6px; color: var(--wood); }
.doc .lede { color: var(--ink-soft); margin: 0 0 8px; font-size: 1.08rem; }
.doc .stamp { color: var(--ink-soft); font-size: .92rem; margin: 0 0 28px; }
.doc h2 { font-family: Coiny, Nunito, sans-serif; font-weight: 400; font-size: 1.45rem; color: var(--wood); margin: 34px 0 8px; scroll-margin-top: 16px; }
.doc h3 { font-size: 1.05rem; margin: 18px 0 4px; color: var(--wood); }
.doc p, .doc li { font-weight: 600; color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }
.doc a { color: var(--ribbon-dark); font-weight: 800; }
.doc .toc { background: #fff; border: 2px solid var(--cream-2); border-radius: 18px; padding: 14px 18px; margin: 0 0 8px; }
.doc .toc ol { margin: 0; padding-left: 1.2em; columns: 2 220px; column-gap: 24px; }
.doc .toc a { font-weight: 700; text-decoration: none; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .95rem; background: #fff; border-radius: 14px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--cream-2); }
.doc th { background: var(--cream-2); color: var(--wood); }
.doc .table-scroll { overflow-x: auto; }

/* Support: FAQ + contact form */
.qa details { background: #fff; border: 2px solid var(--cream-2); border-radius: 18px; margin: 10px 0; padding: 0 18px; }
.qa summary { cursor: pointer; font-weight: 800; padding: 14px 30px 14px 0; position: relative; color: var(--wood); list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.3rem; line-height: 1; }
.qa details[open] summary::after { content: "–"; }
.qa details > *:not(summary) { margin-top: 0; }

.form { background: #fff; border: 3px solid var(--honey); border-radius: var(--radius); padding: 22px; margin-top: 14px; box-shadow: var(--shadow-lg); }
.form .row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row.two { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 800; color: var(--wood); font-size: .95rem; }
.form .hint { font-weight: 600; color: var(--ink-soft); font-size: .85rem; }
.form input, .form select, .form textarea {
  font: 700 1rem Nunito, system-ui, sans-serif; color: var(--ink); background: var(--cream);
  border: 2px solid var(--cream-2); border-radius: 14px; padding: 12px 14px; width: 100%;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--honey-deep); background: #fff; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.form button { font: 900 1.05rem Nunito, system-ui, sans-serif; color: #fff; background: linear-gradient(180deg, var(--leaf-hi), var(--leaf)); border: 0; border-bottom: 5px solid var(--leaf-dark); border-radius: 999px; padding: 13px 28px; cursor: pointer; }
.form button[disabled] { opacity: .6; cursor: progress; }
.form .status { font-weight: 800; margin: 0; }
.form .status.ok { color: var(--leaf-dark); }
.form .status.err { color: #b3261e; }
.form .count { font-size: .8rem; color: var(--ink-soft); justify-self: end; }
