:root {
  --bg: #ffffff;
  --text: #242424;
  --muted: #6b6b6b;
  --faint: #24242499;
  --line: #e6e6e6;
  --soft: #f7f7f5;
  --link: #1a1a1a;
  --measure: 680px;
  --wide: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.site-header-inner,
.site-footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-name {
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-section {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
}

.header-links a {
  text-decoration: none;
  color: var(--text);
  padding: 7px 11px;
  border-radius: 6px;
  font-weight: 500;
}

.header-links a:hover { background: var(--soft); }

.page {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.kicker {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.story-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.story {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.story:hover h2 { text-decoration: underline; text-underline-offset: 3px; }

.story h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
  font-weight: 650;
}

.story p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.meta {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.story-mark {
  background: var(--soft);
  border-radius: 4px;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.measure {
  max-width: var(--measure);
  margin: 0 auto;
}

article h1 {
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 16px;
}

.subtitle {
  font-size: 22px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 28px;
}

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  object-fit: contain;
  padding: 4px;
  flex: none;
}

.byline strong {
  display: block;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 650;
}

article h2 {
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 2.2em 0 0.6em;
}

article h3 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 1.6em 0 0.4em;
}

article p { margin: 0 0 1.15em; }

article a { color: var(--link); }

.wide {
  max-width: var(--wide);
  margin: 28px auto 36px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--soft);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}

tr:last-child td { border-bottom: 0; }

td strong { font-weight: 650; }

.note {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  body { font-size: 18px; }
  article h1 { font-size: 32px; }
  .subtitle { font-size: 18px; }
  .story { grid-template-columns: 1fr; }
  .story-mark { min-height: 72px; }
  .story h2 { font-size: 24px; }
}
