/* Sayzly website styles, part 5: help, legal and 404 pages, tech demo slots. */
.doc { max-width: 46rem; }
.doc h1 { margin-bottom: 0.25rem; }
.doc h2 { margin-top: 2.25rem; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.doc section { padding-block: 0; }
.doc-lead { font-size: 1.25rem; font-weight: 600; }
.doc-updated { color: var(--fig-soft); font-size: 0.95rem; margin-top: 0; }
.doc li { margin-bottom: 0.4rem; }
.toc { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 1.25rem 0 0.5rem; font-weight: 600; }
kbd { font: inherit; font-weight: 700; padding: 0 0.4em; border: 2px solid var(--fig); border-bottom-width: 3.5px; border-radius: 0.4em; background: var(--paper); white-space: nowrap; }
mark.confirm { display: inline; background: #FFE08A; color: var(--fig); padding: 0.05em 0.3em; border-radius: 4px; font-weight: 600; outline: 2px dashed #C98A00; }
.nf { text-align: center; padding-block: 4rem 6rem; }
.nf-bubble { margin: 0 auto 1rem; width: 7.5rem; height: auto; }
.nf .btn { display: inline-flex; }

/* tech.html: six screenshot slots */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.shot { margin: 0; }
.shot-frame {
  aspect-ratio: 16 / 10; border: 2.5px solid var(--fig); border-radius: 14px; overflow: hidden;
  background: repeating-linear-gradient(-45deg, #EAF1E0 0 12px, #F3F7EC 12px 24px);
  display: grid; place-items: center; color: var(--fig-soft); font-weight: 600;
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption { margin-top: 0.5rem; font-size: 0.95rem; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .shots { grid-template-columns: 1fr; } }

/* download page */
.dl-h { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.key-activate { margin: 0.5rem 0 0.75rem; }
.key-activate .btn { font-size: 1.15rem; }
.win-soon { margin-top: 2rem; }
.win-soon p { margin: 0; }

/* download page: one smart button + a menu with every version */
.dl-pick { position: relative; margin: 1.5rem 0 2rem; max-width: 34rem; }
.dl-split { position: relative; display: inline-flex; align-items: stretch; gap: 0; }
.dl-split .dl-main { border-top-right-radius: 0; border-bottom-right-radius: 0; font-size: 1.1rem; }
.dl-split .dl-more { display: inline-flex; align-items: center; justify-content: center; padding-inline: 0.85rem; margin-left: -2.5px; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.dl-more svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: rotate 0.2s; }
.dl-more[aria-expanded="true"] svg { rotate: 180deg; }
.dl-menu { position: absolute; z-index: 5; left: 0; top: calc(100% + 0.5rem); min-width: 18rem; margin: 0; padding: 0.4rem; list-style: none; background: var(--paper); border: 2.5px solid var(--fig); border-radius: 16px; box-shadow: 5px 5px 0 var(--fig); }
.dl-menu a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.8rem; border-radius: 10px; text-decoration: none; font-weight: 600; }
.dl-menu a span { color: var(--fig-soft); font-weight: 400; }
.dl-menu a:hover, .dl-menu a:focus-visible, .dl-menu a[aria-current="true"] { background: #FFF1CF; outline: none; }
.dl-pick .note { margin-top: 0.75rem; }
@media (max-width: 520px) { .dl-split { display: flex; } .dl-split .dl-main { flex: 1; font-size: 1rem; } .dl-menu { min-width: 0; right: 0; } }

/* refund request page */
.rr-form label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.rr-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.rr-row input { flex: 1 1 16rem; min-width: 0; font: inherit; font-size: 1.1rem; padding: 0.7rem 0.9rem; border: 2.5px solid var(--fig); border-radius: 14px; background: var(--paper); color: var(--fig); }
.rr-row input:focus-visible { outline: 3px solid #FFCB66; outline-offset: 2px; }
.rr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rr-msg { margin-top: 1.5rem; padding: 1rem 1.2rem; border: 2.5px solid var(--fig); border-radius: 16px; font-weight: 600; font-size: 1.1rem; }
.rr-msg.is-ok { background: #E4F3D6; }
.rr-msg.is-note { background: #FFF1CF; }
.rr-foot { margin-top: 2.5rem; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Help: features guide ---------- */
.doc h3 { margin-top: 2rem; font-size: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; }
.doc h4 { margin-top: 1.6rem; font-size: 1.12rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; }
.tag { display: inline-block; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; line-height: 1.5; white-space: nowrap; vertical-align: middle; font-family: var(--hand); }
.tag-off { background: #E4F3D6; color: #2E5A1C; border: 1.5px solid #9CC77E; }
.tag-on { background: #FFF1CF; color: #7A4B00; border: 1.5px solid var(--marigold-deep); }
.feat-legend { font-size: 0.95rem; }
.feat-where { color: var(--fig-soft); }
.feat-where strong { color: var(--fig); }
.feat-shot { margin: 1rem 0 0.5rem; }
.feat-shot img { display: block; max-width: 100%; height: auto; border: 2px solid var(--fig); border-radius: 14px; box-shadow: 4px 4px 0 var(--fig); background: var(--milk); }
