:root {
  --wine-red: #7B2D3B;
  --wine-dark: #2B1B1E;
  --wine-gold: #B08D57;
  --wine-white: #FBF8F5;
  --text: #2B1B1E;
  --muted: #6B5B5E;
  --rule: #E7DED8;
  --max: 42rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--wine-white);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

header.site {
  border-bottom: 1px solid var(--rule);
  background: #fff;
}

header.site .wrap {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--wine-red);
  text-decoration: none;
  letter-spacing: 0.01em;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  margin-left: 1.1rem;
}

nav a:hover, nav a:focus { color: var(--wine-red); text-decoration: underline; }

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.4rem;
  color: var(--wine-dark);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  margin: 2.5rem 0 0.6rem;
  color: var(--wine-dark);
}

h3 { font-size: 1.02rem; margin: 1.6rem 0 0.4rem; }

.lead { font-size: 1.08rem; color: var(--muted); margin-top: 0; }

.updated {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 2rem;
}

.langs { margin: 0 0 2rem; font-size: 0.9rem; color: var(--muted); }
.langs a { color: var(--wine-red); }

a { color: var(--wine-red); }

.callout {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--wine-gold);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}

th { color: var(--muted); font-weight: 600; }

ul { padding-left: 1.15rem; }
li { margin-bottom: 0.4rem; }

footer.site {
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site .wrap { padding: 1.5rem; }

.hero {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
}

.hero h1 { font-size: 2.6rem; }

.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 2.5rem 0;
}

.feature {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}

.feature h3 { margin-top: 0; color: var(--wine-red); }
.feature p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }
