/* Shared chrome for the legal + support pages. Same Printed Paper palette and paper grain
   as index.html, kept in one file so the three pages can't drift apart. */
:root {
  --paper:      #FAF5EC;
  --surface:    #FFFCF5;
  --surface-2:  #F3ECDE;
  --ink:        #221E19;
  --muted:      #7C7469;
  --vermilion:  #C43418;
  --hairline:   rgba(34, 30, 25, 0.10);
  --grain:      url("assets/paper-grain-light.png");
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper:     #221D15;
    --surface:   #2C261B;
    --surface-2: #332C1F;
    --ink:       #F2E7D2;
    --muted:     #A39781;
    --vermilion: #E85C2B;
    --hairline:  rgba(242, 231, 210, 0.12);
    --grain:     url("assets/paper-grain-dark.png");
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  background-repeat: repeat;
  background-size: 384px 384px;
  color: var(--ink);
  font: 400 16.5px/1.7 ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vermilion); }

.wrap { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.topbar { padding: 26px 0 0; }
.topbar picture, .topbar img { margin: 0 auto; }
.wordmark { width: min(210px, 52vw); }
.back { display: inline-block; margin: 24px 0 0; font-size: 15px; text-decoration: none; font-weight: 600; }

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 700; letter-spacing: -0.01em;
}
h1 { font-size: clamp(30px, 5vw, 44px); margin: 22px 0 6px; }
h2 { font-size: clamp(20px, 2.6vw, 25px); margin: 44px 0 10px; }
h3 { font-size: 18px; margin: 26px 0 6px; }
.updated { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; }
p, li { color: var(--ink); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
main { padding-bottom: 72px; }


footer {
  border-top: 1px solid var(--hairline); padding: 28px 0 56px;
  color: var(--muted); font-size: 14.5px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--vermilion); }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.mark img { width: 24px; height: 24px; border-radius: 7px; }

/* ── Support form ─────────────────────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--vermilion);
}
.submit {
  align-self: flex-start; background: var(--vermilion); color: #FFF6EC;
  border: 0; border-radius: 999px; padding: 13px 28px;
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
.submit[disabled] { opacity: .6; cursor: default; }
.sent {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 28px; text-align: center; margin-top: 26px;
}
.sent h3 { margin: 0 0 6px; }
.sent p { margin: 0; color: var(--muted); }
.ways { margin-top: 44px; }
.way { display: flex; gap: 12px; margin: 16px 0; }
.way h4 { margin: 0 0 2px; font-size: 15.5px; }
.way p { margin: 0; color: var(--muted); font-size: 15px; }
