/* status.html: what works today, what's next, and fit. Loaded after site.css. */

#status h2 {
  text-wrap: balance;
}

/* Status */
.status-sec {
  background: var(--bg-sunken);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.st-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: -24px 0 20px;
  font-size: 14px;
  color: var(--muted);
}
.st-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 14px;
  white-space: nowrap;
}
.st-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 2px 8px 2px 6px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
}
.st-tag svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.st-tag.today {
  color: var(--ok);
  background: var(--ok-soft);
}
.st-tag.partial {
  color: var(--warn);
  background: var(--warn-soft);
}
.st-tag.target {
  color: var(--idea);
  background: var(--idea-soft);
}
/* Columns rather than a grid, so cards of different lengths pack. */
.st-grid {
  columns: 2;
  column-gap: 18px;
}
.st-card {
  break-inside: avoid;
  margin-bottom: 18px;
}
.st-card {
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--line);
}
.st-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.st-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.st-card li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.45;
}
.st-card li .st-tag {
  justify-self: start;
}
.st-card code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent-text);
}
.st-why {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}
.st-road {
  margin-top: 40px;
}
.st-road ol {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
/* The line the three stops sit on. */
.st-road ol::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 0;
  top: 7px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0 18%, var(--line-strong) 34%);
}
.st-road li {
  position: relative;
  padding-top: 30px;
}
.st-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--faint);
  background: var(--bg-sunken);
}
.st-road .now .st-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft), 0 0 16px var(--accent-glow);
}
.st-ver {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.st-road .now .st-ver {
  color: var(--accent-text);
}
.st-ver em {
  margin-left: 6px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.st-road p {
  margin: 6px 0 0;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

#fit h2 {
  text-wrap: balance;
}

/* Fit */
.fit-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.fit-col {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 28px 28px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.fit-col.good {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}
.fit-col.good::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 70% 60% at 0% 0%, var(--accent-glow), transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}
.fit-col header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.fit-col h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fit-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.fit-col.good .fit-ic {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--accent-soft);
  color: var(--accent-text);
}
.fit-ic svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fit-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.fit-list li:last-child {
  padding-bottom: 0;
}
.fit-list b {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}
.fit-list a {
  font-weight: 500;
}
.fit code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--accent-text);
}
@media (max-width: 760px) {
  .fit-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .fit-col {
    padding: 22px 20px 24px;
  }
}
@media (max-width: 760px) {
  .st-grid {
    columns: 1;
  }
  .st-key {
    margin-top: -16px;
  }
  .st-road ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .st-road ol::before {
    left: 7px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent) 0 18%, var(--line-strong) 34%);
  }
  .st-road li {
    padding: 0 0 0 32px;
  }
}
