:root {
  color-scheme: light;
  --background: #f7f7f4;
  --surface: #ffffff;
  --text: #202124;
  --muted: #5f6368;
  --line: #d8d9d2;
  --accent: #0f766e;
  --accent-soft: #e0f2f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#app {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 28px;
  border-bottom: 2px solid var(--text);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h3 {
  font-size: 1.08rem;
}

.meta,
.role,
.entry-header span {
  color: var(--muted);
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  font-weight: 600;
}

main {
  display: grid;
  gap: 30px;
  padding-top: 32px;
}

.section {
  display: grid;
  gap: 14px;
}

.section h2 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.entry {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.entry-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 9px;
  background: var(--accent-soft);
  border: 1px solid #b2dfdb;
  border-radius: 6px;
  color: #134e4a;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  #app {
    width: min(100% - 24px, 960px);
    padding-top: 18px;
  }

  .hero,
  .entry-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .links {
    justify-content: flex-start;
  }
}
