/* Wardroby website: tokens follow docs/claude/design-system.md (terracotta accent, system fonts, light + dark). */
:root {
  --bg: #ffffff;
  --surface: #f7f4f2;
  --text: #1c1c1e;
  --text-muted: #6b6560;
  --border: #ebe5e0;
  --accent: #b5836b;
  /* Links use the darker accent so body text keeps WCAG AA contrast. */
  --link: #8b5e48;
  --mark: #fff3cd;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0f;
    --surface: #1a1a1c;
    --text: #f2efec;
    --text-muted: #a39d98;
    --border: #2a2a2d;
    --link: #d4a58d;
    --mark: #4a3b12;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
}

a { color: var(--link); text-underline-offset: 2px; }

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

header.site {
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; }
.lang { font-size: 14px; }

main { padding: 32px 0 48px; }

h1 { font-size: 28px; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 20px; line-height: 1.35; margin: 40px 0 8px; }
h3 { font-size: 16px; margin: 24px 0 4px; }
p, ul, ol, table { margin: 0 0 16px; }
li { margin-bottom: 4px; }
.muted { color: var(--text-muted); }
.lead { font-size: 18px; color: var(--text-muted); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  margin: 0 0 16px;
}

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }

/* Placeholders the owner still has to fill in; search the source for "[[". */
mark { background: var(--mark); color: inherit; padding: 0 3px; border-radius: 4px; }

.hero { text-align: center; padding: 48px 0 24px; }
.hero img { width: 88px; height: 88px; margin-bottom: 16px; }
.hero h1 { font-size: 36px; }

footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; font-size: 14px; color: var(--text-muted); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.flush { margin: 0; }
