:root {
  color-scheme: light;
}
body {
  margin: 0;
  padding: 64px 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
}
main {
  max-width: 720px;
  margin: 0 auto;
}
h1,
h2 {
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 16px;
}
h2 {
  font-size: 1.1rem;
  margin-top: 32px;
}
p {
  margin: 0 0 16px;
}
.intro {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.intro-text {
  flex: 1 1 320px;
}
.intro-attribution {
  font-size: 0.95rem;
  color: #555;
}
.pathways {
  margin-top: 40px;
}
.pathways-intro {
  font-size: 0.9rem;
  color: #777;
  font-style: italic;
  margin-bottom: 24px;
}
.pathway-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pathway-item {
  display: flex;
  gap: 20px;
  position: relative;
}
.node-line {
  width: 40px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pathway-item:not(:last-child) .node-line::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 8px);
  background: #111;
}
.node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.pathway-item.origin .node-dot {
  background: #2f9e44;
}
.pathway-item.current .node-dot {
  width: 14px;
  height: 14px;
  background: #111;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px #2f9e44;
}
.branch-hint {
  position: absolute;
  top: 6px;
  width: 14px;
  height: 18px;
  border-bottom: 1.5px solid #bbb;
}
.branch-hint.left {
  right: 50%;
  margin-right: 6px;
  border-left: 1.5px solid #bbb;
  border-bottom-left-radius: 10px;
}
.branch-hint.right {
  left: 50%;
  margin-left: 6px;
  border-right: 1.5px solid #bbb;
  border-bottom-right-radius: 10px;
}
.node-content {
  flex: 1;
  padding-bottom: 24px;
}
.node-content p {
  margin: 4px 0 0;
}
.node-date {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #555;
}
.node-title {
  font-weight: 500;
}
.node-summary {
  color: #555;
  font-size: 0.95rem;
}
.pathway-item.origin .node-date,
.pathway-item.origin .node-title {
  color: #2f9e44;
  font-size: 0.85rem;
}
.pathway-item.future .node-date {
  color: #2f9e44;
}
.future-line {
  width: 40px;
  display: flex;
  justify-content: center;
}
.future-svg {
  width: 40px;
  height: 50px;
}
.pathway-item .future-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pathway-item .future-list li {
  font-size: 0.85rem;
  color: #2f9e44;
  padding: 4px 12px;
  border: 1px solid #2f9e44;
  border-radius: 14px;
  margin: 0;
}
@media (max-width: 500px) {
  .node-line {
    width: 32px;
  }
  .pathway-item {
    gap: 14px;
  }
}
ul {
  margin: 0;
  padding-left: 18px;
}
li {
  margin-bottom: 8px;
}
a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}
a:hover {
  border-bottom-color: #111;
}
nav {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 0.95rem;
}
nav a {
  border-bottom: none;
  font-weight: 500;
}
nav a:hover {
  border-bottom: 1px solid #111;
}
footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #555;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.quote-card {
  border-radius: 12px;
  border: 1px solid;
  padding: 16px;
}
.quote-card blockquote {
  margin: 0;
  font-size: 0.98rem;
}
.quote-card .intro-attribution {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.85rem;
}
.quote-card-a {
  background: #fff7ed;
  border-color: #fdba74;
}
.quote-card-b {
  background: #ecfeff;
  border-color: #67e8f9;
}
.quote-card-c {
  background: #f5f3ff;
  border-color: #c4b5fd;
}
.quote-card-d {
  background: #f0fdf4;
  border-color: #86efac;
}
