/*
 * Closetful web pages.
 *
 * Deliberately dependency-free: no fonts, scripts or assets are fetched from
 * anywhere. These pages exist so someone can read a privacy policy or find a
 * support address, usually on a phone, sometimes on a bad connection.
 */

:root {
  --bg: #f4f1eb;
  --surface: #ffffff;
  --ink: #16130f;
  --ink-muted: #6e665a;
  --ink-faint: #a79d8e;
  --line: #ded6c9;
  --accent: #b4522e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131110;
    --surface: #1d1a17;
    --ink: #f3efe8;
    --ink-muted: #a79d8e;
    --ink-faint: #736a5f;
    --line: #37312c;
    --accent: #e27b4e;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 20px 80px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  overflow-wrap: break-word;
}

main {
  max-width: 660px;
  margin: 0 auto;
}

header.site {
  max-width: 660px;
  margin: 0 auto;
  padding: 32px 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  flex: none;
  position: relative;
}

/* The app icon reduced to its essentials: a garment laid on a surface. */
.mark::before,
.mark::after {
  content: '';
  position: absolute;
  background: var(--bg);
  border-radius: 2px;
}
.mark::before {
  left: 7px;
  top: 8px;
  width: 12px;
  height: 13px;
  transform: rotate(-7deg);
}
.mark::after {
  right: 6px;
  bottom: 7px;
  width: 9px;
  height: 11px;
  opacity: 0.82;
  transform: rotate(9deg);
}

.wordmark {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.wordmark a {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(30px, 7vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 28px 0 6px;
}

h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
}

h3 {
  font-size: 16px;
  margin: 26px 0 6px;
}

p,
li {
  color: var(--ink-muted);
}

li {
  margin-bottom: 8px;
}

ul {
  padding-left: 20px;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.lede {
  font-size: 18px;
  color: var(--ink-muted);
  margin-top: 0;
}

.meta {
  color: var(--ink-faint);
  font-size: 14px;
  margin: 0 0 8px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 26px 0;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.panel :last-child {
  margin-bottom: 0;
}

.callout {
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 2px 18px;
  margin: 26px 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

footer {
  max-width: 660px;
  margin: 60px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 14px;
}

footer a {
  color: var(--ink-muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-muted);
}

th {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
