/* Small pages: suggest a question, privacy policy. */

/* ---------- suggest a question ---------- */
.sq { position: relative; padding-top: 8px }
/* the form and the steps end on one line */
.sq-hero { align-items: stretch; padding-bottom: 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 520px) }
.sq-title { max-width: 14ch }
.sq-steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 760px }
.sq-steps li { counter-increment: step; display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 2px solid var(--sr-line-strong) }
.sq-steps li:first-child { border-top-color: var(--sr-done) }
.sq-steps li::before { content: counter(step); font: 500 12px/1 var(--sr-mono); color: var(--sr-faint); margin-bottom: 4px }
.sq-steps b { font-size: 15px; font-weight: 600 }
.sq-steps span { font-size: 13.5px; line-height: 1.45; color: var(--sr-muted) }
.sq-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--sr-r-lg); align-self: end }
.sq-label { font-size: 15px; font-weight: 600 }
.sq-field {
    width: 100%; min-height: 200px; padding: 14px 16px; resize: vertical; box-sizing: border-box;
    border-radius: var(--sr-r-md); border: 1px solid transparent; background: var(--sr-well); color: var(--sr-text);
    box-shadow: inset 0 1px 3px rgb(var(--sr-shadow-color) / .28); font: 400 16px/1.55 var(--sr-font);
}
.sq-field::placeholder { color: var(--sr-muted) }
.sq-field:focus-visible { outline: none; border-color: var(--sr-accent); box-shadow: inset 0 1px 3px rgb(var(--sr-shadow-color) / .28), 0 0 0 4px var(--sr-accent-soft) }
.sq-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px }
.sq-bar .is-near { color: var(--sr-accent-text) }
.sq-error { margin: 0; font-size: 14px; color: var(--sr-error) }
.sq-card--done { color: var(--sr-feature-ink); align-items: flex-start }
.sq-card--done .sr-mono-label { color: var(--sr-feature-muted); padding-right: 64px }
.sq-card--done h2 { margin: 0; padding-right: 56px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3 }
.sq-card--done p { margin: 0; font-size: 15px; color: var(--sr-feature-muted) }
.sq-card--done .sr-bite__dot svg { stroke-width: 2.6 }

/* ---------- privacy policy: a calm document column ---------- */
.pp { position: relative; padding-top: 8px }
.pp-head, .pp-text { max-width: 760px }
.pp-head { position: relative; isolation: isolate; padding: 32px 0 28px }
.pp-title { max-width: 20ch; margin-bottom: 12px }
.pp-text { font-size: 16.5px }
.pp-text h2, .pp-text h3 { scroll-margin-top: calc(var(--sr-header-h) + 24px) }

@media (max-width: 860px) {
    .sq-steps { grid-template-columns: minmax(0, 1fr) }
}

@media (max-width: 860px) { .sq-hero { grid-template-columns: minmax(0, 1fr) } .sq-field { min-height: 220px } }

/* ---------- login and 404: a section-page head; the bite card is the one action ---------- */
.lg { position: relative; padding-top: 8px; padding-bottom: 40px }
.lg-hero { padding-bottom: 48px }
.lg-hero > .lg-card { align-self: end }
.lg-hero--single { grid-template-columns: minmax(0, 1fr) }
/* 404: the snake bends into a question mark beside the title — the same question the reader has */
.lg-art { align-self: center; justify-self: center; display: grid; place-items: center }
.lg-art .sr-snake { width: clamp(120px, 14vw, 190px); animation: lg-wonder 3.2s var(--sr-ease) infinite }
@keyframes lg-wonder { 0%, 70%, 100% { transform: rotate(0) } 80% { transform: rotate(-6deg) } 90% { transform: rotate(4deg) } }
@media (max-width: 860px) { .lg-art { justify-self: start } .lg-art .sr-snake { width: 110px } }
@media (prefers-reduced-motion: reduce) { .lg-art .sr-snake { animation: none } }
.lg-title { max-width: 14ch }
.lg-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 24px 24px; color: var(--sr-feature-ink) }
.lg-card .sr-mono-label { color: var(--sr-feature-muted); padding-right: 64px }
.lg-card .sr-bite__dot svg { fill: none }
.lg-steps { list-style: none; counter-reset: step; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 12px }
.lg-steps li { counter-increment: step; display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; row-gap: 2px }
.lg-steps li::before { content: counter(step); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--sr-feature-ink) 9%, transparent); font: 600 13px/1 var(--sr-font) }
.lg-steps b { font-size: 15.5px; font-weight: 600; padding-top: 3px }
.lg-steps span { font-size: 14px; line-height: 1.45; color: var(--sr-feature-muted) }
.lg-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.lg-links a {
    display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border-radius: var(--sr-r-lg);
    background: var(--sr-surface); border: 1px solid var(--sr-line); color: var(--sr-text); text-decoration: none; transition: border-color .2s, transform .25s var(--sr-ease);
}
.lg-links a:hover { color: var(--sr-text); border-color: var(--sr-line-strong); transform: translateY(-2px) }
.lg-links b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em }
.lg-links span { font-size: 14px; line-height: 1.45; color: var(--sr-muted) }
@media (max-width: 960px) { .lg-links { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .lg-links { grid-template-columns: minmax(0, 1fr) } }
