:root {
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --soft: #f5f5f7;
  --accent: #b4532a;
  --max: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 18px/1.65 Georgia, "PT Serif", "Times New Roman", serif;
}

a { color: inherit; text-decoration-color: rgba(180, 83, 42, .45); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: .01em; }
.logo-mark { width: 22px; height: 22px; border: 1.5px solid var(--text); border-radius: 4px; position: relative; }
.logo-mark::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 4px; height: 3px; border-radius: 50%; background: rgba(0, 0, 0, .18); }
nav a { text-decoration: none; font-size: 15px; color: var(--muted); margin-left: 22px; }
nav a:hover, nav a.active { color: var(--text); }

.hero { padding: 64px 0 40px; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; font-weight: 400; letter-spacing: -.01em; }
.hero p { color: var(--muted); margin: 0; max-width: 560px; }

.posts { list-style: none; margin: 0 0 64px; padding: 0; }
.posts li { padding: 28px 0; border-top: 1px solid var(--line); }
.posts h2 { font-size: 24px; line-height: 1.3; margin: 6px 0 8px; font-weight: 400; }
.posts h2 a { text-decoration: none; }
.posts p { margin: 0; color: #3a3a3c; }
.meta { font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--muted); }

article { padding: 48px 0 24px; }
article h1 { font-size: 36px; line-height: 1.2; margin: 8px 0 28px; font-weight: 400; letter-spacing: -.01em; }
article h2 { font-size: 24px; font-weight: 400; margin: 40px 0 12px; }
article p, article li { color: #2c2c2e; }
article ul, article ol { padding-left: 22px; }
article li { margin: 6px 0; }
.lead { font-size: 20px; color: #3a3a3c; }

figure { margin: 32px 0; }
figure svg { display: block; width: 100%; height: auto; background: var(--soft); border-radius: 10px; }
figcaption { font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--muted); margin-top: 10px; }

.note {
  background: var(--soft);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
  font-size: 17px;
}

table { width: 100%; border-collapse: collapse; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 20px 0; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }

.more { border-top: 1px solid var(--line); padding: 28px 0 56px; }
.more h3 { font: 600 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.more ul { list-style: none; padding: 0; margin: 0; }
.more li { margin: 8px 0; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--muted);
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { padding: 40px 0 24px; }
  .hero h1 { font-size: 30px; }
  article h1 { font-size: 28px; }
  nav a { margin-left: 16px; }
}
