/* pum.me: the roadmap. The home's teaser rail grown to a page: one line,
   time running down it. A filled pink dot is shipped, a pulsing ring is
   being built now, a dashed ring is next. The updates before the App Store
   fold into one row. Titles only. */

.timeline-sec { padding-block: clamp(8px, 2vw, 24px) clamp(72px, 10vw, 120px); }
.timeline {
  --dot: 16px;
  --vcol: 4.6rem;               /* the version column, left of the rail */
  list-style: none; position: relative;
}
.timeline::before {             /* the rail: pink through the record, pale ahead */
  content: ''; position: absolute; top: 24px; bottom: 24px;
  left: calc(var(--vcol) + 22px + var(--dot) / 2 - 1px); width: 2px; border-radius: 2px;
  background: linear-gradient(var(--aqua-pale) 0 6%, var(--signal) 14% 80%, var(--hair-2) 86%);
}
.timeline > li, .tl-inner > li, .tl-early summary {
  position: relative;
  display: grid; grid-template-columns: var(--vcol) 1fr; column-gap: calc(22px + var(--dot) + 22px);
  align-items: baseline;
  padding: 15px 0;
}
.tl-v {
  text-align: right;
  font-size: 15px; font-weight: 560; color: var(--ink-2);
  font-variant-numeric: tabular-nums; letter-spacing: -0.005em; white-space: nowrap;
}
.tl-t { font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.tl-t b { font-weight: 560; color: var(--ink); }
.tl-t i { font-style: normal; color: var(--ink-3); padding: 0 .2em; }
.tl-t a { margin-left: 10px; font-size: 15px; font-weight: 520; color: var(--aqua-deep); text-underline-offset: 3px; text-decoration-color: rgba(14, 133, 151, .35); }

/* the dots sit on the rail */
.timeline > li::before, .tl-inner > li::before, .tl-early summary::before {
  content: ''; position: absolute; z-index: 1;
  left: calc(var(--vcol) + 22px); top: calc(15px + .78em - var(--dot) / 2);
  width: var(--dot); height: var(--dot); border-radius: 50%; box-sizing: border-box;
}
.timeline > li.done::before { background: linear-gradient(135deg, #FF6B9E, #FF4D88); box-shadow: 0 0 0 5px var(--ground), inset 0 1px 1px rgba(255,255,255,.5); }
.timeline > li.now::before { background: var(--ground); border: 2px solid var(--signal); box-shadow: 0 0 0 5px var(--ground); }
.timeline > li.now::after {
  content: ''; position: absolute; z-index: 1;
  left: calc(var(--vcol) + 22px - 6px); top: calc(15px + .78em - var(--dot) / 2 - 6px);
  width: calc(var(--dot) + 12px); height: calc(var(--dot) + 12px); border-radius: 50%;
  border: 1.5px solid var(--signal); opacity: 0; animation: tl-ping 2.4s var(--ease) infinite;
}
@keyframes tl-ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .timeline > li.now::after { animation: none; } }
.timeline > li.next::before { background: var(--ground); border: 1.5px dashed var(--ink-3); box-shadow: 0 0 0 5px var(--ground); }
.timeline > li.now .tl-v, .timeline > li.next .tl-v {
  font-size: 11.5px; font-weight: 640; letter-spacing: .12em; text-transform: uppercase;
}
.timeline > li.now .tl-v { color: var(--signal); }
.timeline > li.now .tl-t, .timeline > li.next .tl-t { font-size: clamp(20px, 2.4vw, 24px); letter-spacing: -0.012em; }
.timeline > li.now, .timeline > li.next { padding-block: 22px; }
.timeline > li.now::before, .timeline > li.now::after, .timeline > li.next::before { top: calc(22px + .8em - var(--dot) / 2); }
.timeline > li.now::after { top: calc(22px + .8em - var(--dot) / 2 - 6px); }

/* before the App Store: one row that opens */
.tl-early { padding: 0 !important; display: block !important; }
.tl-early summary { list-style: none; cursor: pointer; }
.tl-early summary::-webkit-details-marker { display: none; }
.tl-early summary::before { background: linear-gradient(135deg, #5ED3E1, #14AFC3); box-shadow: 0 0 0 5px var(--ground), inset 0 1px 1px rgba(255,255,255,.5); }
.tl-early summary .tl-t::after {
  content: '+'; display: inline-block; margin-left: 12px;
  font-weight: 300; font-size: 22px; line-height: 1; color: var(--ink-3);
  transition: transform .3s var(--ease);
}
.tl-early summary:hover .tl-t { color: var(--ink); }
.tl-early details[open] summary .tl-t::after { transform: rotate(45deg); }
.tl-inner { list-style: none; }
.tl-inner > li { padding-block: 9px; }
.tl-inner > li::before {
  --dot: 10px; left: calc(var(--vcol) + 22px + 3px); top: calc(9px + .78em - 5px);
  background: #5ED3E1; box-shadow: 0 0 0 4px var(--ground);
}
.tl-inner .tl-v { font-weight: 500; color: var(--ink-3); }
.tl-inner .tl-t { font-size: 16px; }

@media (max-width: 560px) {
  .timeline { --vcol: 3.3rem; }
  .timeline > li, .tl-inner > li, .tl-early summary { column-gap: calc(14px + var(--dot) + 16px); }
  .timeline::before { left: calc(var(--vcol) + 14px + var(--dot) / 2 - 1px); }
  .timeline > li::before, .tl-early summary::before { left: calc(var(--vcol) + 14px); }
  .tl-inner > li::before { left: calc(var(--vcol) + 14px + 3px); }
  .timeline > li.now::after { left: calc(var(--vcol) + 14px - 6px); }
  .tl-early summary .tl-v { font-size: 12.5px; letter-spacing: -0.02em; }
  .tl-t { font-size: 16px; }
}

/* ---------- suggest ---------- */
.suggest { padding-block: clamp(56px, 9vw, 104px); background: var(--paper); }
.suggest-grid { display: grid; gap: 32px; }
.suggest .lede { margin-top: 14px; }
.suggest-form { display: grid; gap: 12px; }
.suggest-form textarea {
  font: inherit; font-size: 17px; resize: vertical;
  padding: 18px 20px; border-radius: 20px; border: 0;
  background: var(--ground); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hair-2);
  outline: none;
}
.suggest-form textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--aqua), 0 12px 30px -22px rgba(14,133,151,.5); }
.suggest-form .btn { justify-self: start; }
@media (min-width: 900px) { .suggest-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
