:root {
  --navy: #142B5E;
  --muted: #6B6357;
  --gold: #E8B848;
  --border: #EFE6D6;
  --bg: #FBF7EE;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--navy);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.ts-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.ts-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 14px;
}
.ts-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--navy);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
}
.ts-brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700;
}
.ts-nav-links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
  font-weight: 500;
}
.ts-nav-links a:hover { color: var(--navy); }
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 36px;
  margin: 0 0 4px;
  color: var(--navy);
}
.ts-eff {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.ts-rule {
  width: 56px; height: 4px; background: var(--gold);
  border-radius: 999px; margin: 12px 0 24px;
}
article p, article li { font-size: 16px; }
article h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  margin: 28px 0 8px;
}
article h4 {
  font-size: 17px;
  margin: 20px 0 4px;
}
article ul { padding-left: 22px; }
article li { margin: 4px 0; }
article code {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}
article a { color: var(--navy); }
.ts-foot {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.ts-foot a { color: var(--muted); text-decoration: none; margin-right: 12px; }
.ts-foot a:hover { color: var(--navy); }
