/* Weightfile — support & privacy pages.
   Palette and type carried over from the app's design system
   (aktawagi/CLAUDE.md): paper, ink, stamp red, typewriter headings. */

:root {
  --paper: #DAD0B8;
  --paper-dark: #C9BC9C;
  --ink: #211D18;
  --ink-soft: #4A443A;
  --line: #B7AA88;
  --stamp: #A32F20;
  --ok-ink: #33502F;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* Record strip — the header bar motif from the app's dashboard. */
.strip {
  border-bottom: 2px solid var(--ink);
  margin-bottom: 36px;
  padding: 22px 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.strip .file {
  font-family: "Special Elite", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.strip .ref {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1 {
  font-family: "Special Elite", Georgia, serif;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}

h2 {
  font-family: "Special Elite", Georgia, serif;
  font-size: 19px;
  margin: 40px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

h3 {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 26px 0 6px;
  color: var(--ink-soft);
}

p, li { color: var(--ink); }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }

a { color: var(--stamp); text-decoration: underline; text-underline-offset: 3px; }
a:hover { background: var(--paper-dark); }

.lede {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 28px;
}

.updated {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

/* "Applies from version X" note under a section heading — quieter than the
   stamped callout, since it qualifies the section rather than shouting. */
.applies {
  font-size: 13px;
  color: var(--ink-soft);
  border-left: 3px solid var(--line);
  padding-left: 12px;
  margin: 0 0 14px;
}

/* Stamped callout — the app's status-field styling. */
.stamp-box {
  border: 2px solid var(--stamp);
  color: var(--stamp);
  padding: 16px 18px;
  margin: 28px 0;
  background: rgba(163, 47, 32, 0.04);
}

.stamp-box .label {
  font-family: "Special Elite", Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.stamp-box p { color: var(--stamp); margin: 0; }

/* Form-field rows, as used for the file status in the app. */
.field {
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  padding: 14px 16px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.16);
}

.field .q {
  font-family: "Special Elite", Georgia, serif;
  font-size: 16px;
  margin: 0 0 6px;
}

.field .a { margin: 0; color: var(--ink-soft); }

.langs {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.langs a { margin-left: 10px; }

nav.crumbs {
  margin: 0 0 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

code {
  background: var(--paper-dark);
  padding: 1px 5px;
  font-size: 13px;
}

@media (max-width: 480px) {
  h1 { font-size: 24px; }
  body { font-size: 14px; }
}
