/* Public legal and support pages (/privacy, /terms, /support), drawn as documents in the Escrow File:
   the manila folder, a ruled cream sheet, Courier Prime typed, Libre Caslon Text printed. One look,
   light. Static; no script. The faces are the app's own (public/fonts). */
@font-face { font-family: "Courier Prime"; src: url("/fonts/courier-prime-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/fonts/courier-prime-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/fonts/libre-caslon-text-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("/fonts/libre-caslon-text-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --desk: #c9a86a;
  --tab-file: #e9dcbc;
  --paper: #f3ead4;
  --memo: #fffbe6;
  --ink: #2a2420;
  --ink-2: #4a3f33;
  --ink-3: #6b5f50;
  --red: #b3362a;
  --blue: #2e4e8a;
  --rule: rgba(90, 120, 160, 0.16);
  --line: rgba(42, 36, 32, 0.22);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: repeating-linear-gradient(90deg, rgba(90, 60, 20, 0.035) 0 2px, transparent 2px 7px), var(--desk);
  color: var(--ink);
  font: 16px/1.6 "Courier Prime", "Courier New", monospace;
}
.wrap { max-width: 760px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 10px 64px; }
/* The file's tab row: the brand on its tab, the pages as divider tabs. */
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 12px 0 12px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; background: var(--tab-file); padding: 9px 16px 7px; border-radius: 10px 10px 0 0; color: var(--ink); text-decoration: none; font: 700 22px "Libre Caslon Text", Georgia, serif; }
.brand::after { content: "TITLE CO."; font: 700 10px "Courier Prime", monospace; letter-spacing: 0.16em; border: 1.5px solid var(--ink); padding: 1px 5px; }
.brand img { display: none; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; font: 700 12px "Courier Prime", monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.top nav a { color: var(--ink); text-decoration: none; background: #e3d3ac; padding: 8px 12px 6px; border-radius: 6px 6px 0 0; }
.top nav a[aria-current="page"] { background: var(--paper); }
main { background: repeating-linear-gradient(transparent 0 27px, var(--rule) 27px 28px), var(--paper); padding: 22px 18px 28px; box-shadow: 0 1px 0 #d7c79f, 0 2px 0 #eadfc3, 0 3px 0 #d2c091; }
h1 { font: 700 clamp(30px, 7vw, 42px)/1.1 "Libre Caslon Text", Georgia, serif; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); letter-spacing: -0.01em; }
.sub { color: var(--ink-3); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 22px; }
.lede { font-size: 17px; color: var(--ink); }
h2 { font: 700 13px/1.35 "Courier Prime", monospace; letter-spacing: 0.14em; text-transform: uppercase; margin: 34px 0 8px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); }
h3 { font: 700 18px/1.3 "Libre Caslon Text", Georgia, serif; margin: 22px 0 4px; }
p, li { color: var(--ink-2); }
strong { color: var(--ink); }
a { color: var(--blue); text-underline-offset: 3px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.note { position: relative; background: var(--memo); padding: 14px 16px; margin: 22px 0; box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.08); transform: rotate(-0.6deg); }
.note p { margin: 0; }
.note p + p { margin-top: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px dotted var(--ink-3); color: var(--ink-2); }
th { color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.table { overflow-x: auto; }
details { background: var(--memo); padding: 0 16px; margin: 10px 0; box-shadow: 1px 2px 0 rgba(0, 0, 0, 0.08); }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
details[open] summary { padding-bottom: 4px; }
details > *:last-child { margin-bottom: 14px; }
.contact { background: #fffdf4; border-top: 6px solid var(--blue); padding: 18px 20px; margin: 28px 0; box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.1); transform: rotate(-0.5deg); }
.contact a.mail { font-size: 19px; font-weight: 700; }
footer { margin: 0 10px; padding: 18px 8px 0; font-size: 13px; color: var(--ink); }
footer p { color: var(--ink); margin: 6px 0; }
footer a { color: var(--ink); }
.brand::after { white-space: nowrap; }
@media (max-width: 440px) {
  .brand { font-size: 20px; padding: 8px 12px 6px; }
  .brand::after { display: none; }
  .top { padding: 0 6px; gap: 8px; }
  .top nav { font-size: 11px; letter-spacing: 0.04em; gap: 3px; flex-wrap: nowrap; }
  .top nav a { padding: 7px 9px 5px; }
}
