:root {
  --text: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --soft: #f1f3f4;
  --link: #1a73e8;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  background: #fff;
  color: var(--text);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

a { color: inherit; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { height: 64px; display: flex; align-items: center; gap: 16px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.brand-icon, .icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-icon { width: 26px; height: 26px; }


.intro { color: var(--muted); max-width: 680px; margin: 28px 0 24px; }

/* Cards */
.graves {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.grave {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side {
  flex: none;
  width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
}
.icon { width: 40px; height: 40px; color: #3c4043; }
.type-vaporware .icon { color: #80868b; }
.years { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.body { min-width: 0; }
.head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.name { color: var(--link); font-size: 17px; font-weight: 500; text-decoration: none; }
.name:hover { text-decoration: underline; }
.sentence { margin: 6px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 32px; font-size: 14px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--link); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .fine { color: var(--muted); font-size: 13px; margin-top: 4px; }

@media (max-width: 560px) {
  .brand { font-size: 18px; }
  .graves { grid-template-columns: 1fr; }
  .side { width: 56px; }
}
