/* Docket: the four apps' colors in the rule, and a day's columns for a hero.

   This app has no medium of its own: everything on every page of it was
   written by one of the other four. So the rule along the top is their four
   colors rather than a palette of its own, and the hero is the thing the app
   makes -- a day, ruled into the hours things sit at. */
:root {
  --bar-silver: #1c1c1e;  /* Match Cut */
  --bar-yellow: #ffcb45;  /* Dog Ear */
  --bar-cyan:   #4a7dff;  /* Liner Notes */
  --bar-green:  #ff383c;  /* Save Point */
  --bar-magenta:#1c1c1e;
  --bar-red:    #ffcb45;
  --bar-blue:   #4a7dff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bar-silver: #48484a;
    --bar-yellow: #ffcb45;
    --bar-cyan:   #6d7cff;
    --bar-green:  #ff4245;
    --bar-magenta:#48484a;
    --bar-red:    #ffcb45;
    --bar-blue:   #6d7cff;
  }
}

/* Back to front: a cool bloom; a vignette; then the ruled lines of a day,
   with a heavier one every fourth to read as hours rather than graph paper.
   `--line` is the spacing. */
.hero {
  --line: 22px;
  background:
    radial-gradient(42% 38% at 50% 38%, rgba(120, 140, 180, 0.22) 0%, transparent 70%),
    radial-gradient(85% 70% at 50% 45%, transparent 25%, rgba(0, 0, 0, 0.78) 100%),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.075) 0 1px, transparent 1px calc(var(--line) * 4)),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px var(--line)),
    var(--static);
}

/* ---------------------------------------------------- what it reads from */
/* Docket on top, the four it reads under it, an arrow from each. The premise
   takes a paragraph to say and a second to see. The arrows are one SVG rather
   than four rotated boxes, so they stay pointed at the same spot at any width;
   the four below never wrap, for the same reason. */
.feeds {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0 8px;
}

.feeds-dest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.feeds-dest img { width: 96px; height: 96px; border-radius: 22px; }

/* The arrows. `currentColor` so they take the page's own muted gray, and the
   viewBox is the same 400 wide the row below is laid out against, which is
   what keeps each arrow over its own icon. */
.feeds-arrows {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 14px 0 4px;
  color: var(--muted);
  overflow: visible;
}

.feeds-group {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  max-width: 480px;
}

.feeds-group a {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
  text-align: center;
}
.feeds-group a:hover { color: var(--ink); }
.feeds picture { display: contents; }
.feeds-group img { width: 72px; height: 72px; border-radius: 17px; }

@media (max-width: 560px) {
  .feeds-dest img { width: 68px; height: 68px; border-radius: 16px; }
  .feeds-dest { font-size: 0.84rem; }
  .feeds-group a { font-size: 0.7rem; }
  .feeds-group img { width: 48px; height: 48px; border-radius: 12px; }
}
