/* Secondary pages: legal, contact, thank-you, 404. Loaded after styles.css. */
.page { padding-top: calc(var(--nav-h) + 5.5rem); padding-bottom: var(--section); }
.page-head { max-width: 48rem; margin-bottom: 3rem; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.page-head .lead { margin-top: 1rem; }
.updated { display: block; margin-top: 1.2rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--bone-mute); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.8rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1.8rem; color: var(--bone); }
.prose p, .prose li { margin-top: 0.9rem; color: var(--bone-dim); }
.prose strong { color: var(--bone); }
.prose ul { list-style: disc; padding-left: 1.3rem; }
.prose ol { padding-left: 1.3rem; }
.prose li { margin-top: 0.5rem; }
.prose a, .contact-aside a { color: var(--tan); text-decoration: underline; text-underline-offset: 3px; }
.prose address { font-style: normal; }
.notice { margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-radius: var(--r-panel); background: var(--ink-1); border: 1px solid var(--line); color: var(--bone-dim); }

.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-aside h2 { margin-top: 2.2rem; font-size: 1.25rem; }
.contact-aside p { margin-top: 0.8rem; color: var(--bone-dim); }
.form-shell { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--r-panel); background: var(--ink-1); border: 1px solid var(--line); }
.f-field { display: grid; gap: 0.45rem; margin-top: 1.2rem; }
.f-field:first-child { margin-top: 0; }
.f-field label { font-weight: 600; font-size: 0.95rem; }
.f-field .hint { font-size: 0.85rem; color: var(--bone-mute); }
.f-field input, .f-field textarea {
  width: 100%; padding: 0.85rem 1rem;
  border-radius: var(--r-ctrl);
  background: var(--ink-0); color: var(--bone);
  border: 1px solid var(--line-strong);
  font: inherit; line-height: 1.4;
}
.f-field input::placeholder, .f-field textarea::placeholder { color: var(--bone-mute); }
.f-field input:focus-visible, .f-field textarea:focus-visible { outline: 2px solid var(--tan); outline-offset: 2px; }
.f-field textarea { resize: vertical; min-height: 150px; }
.f-check { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 1.2rem; font-size: 0.92rem; color: var(--bone-dim); cursor: pointer; }
.f-check input { width: 18px; height: 18px; margin-top: 0.2rem; flex: none; accent-color: var(--tan); }
.f-check a { color: var(--tan); text-decoration: underline; text-underline-offset: 3px; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-shell .btn { margin-top: 1.4rem; }
.f-status { margin-top: 1rem; min-height: 1.5em; font-size: 0.95rem; }
.f-status.ok { color: var(--tan); }
.f-status.err { color: #e7b9a3; }

.stack { min-height: 72vh; display: grid; align-content: center; justify-items: start; }
.stack h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; }
.stack .lead { margin-top: 1.2rem; }
.stack .btn { margin-top: 2rem; }
.ref { display: inline-block; margin-top: 1.4rem; padding: 0.6rem 1rem; border-radius: var(--r-ctrl); background: var(--ink-1); border: 1px solid var(--line); font-family: var(--font-mono); color: var(--tan); }

@media (max-width: 899px) {
  .contact { grid-template-columns: 1fr; }
  .page { padding-top: calc(var(--nav-h) + 4rem); }
}
