/* News site hosting. Shared tokens and components (plan sheet, comparison, effort columns) live in landing.css. */

.lp section[id] { scroll-margin-top: 80px; }

/* Hero: live readers on a breaking story. The final state is the spike; the motion draws it. */

.lp .w-live-wrap { margin-top: 12px; }
.lp .w-live { margin: 0; padding: 22px 24px calc(22px + var(--zz)); }

.lp .w-live-head { display: flex; align-items: center; gap: 10px; }

.lp .w-live-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bad);
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .lp .w-live-dot { animation: w-live-pulse 1.6s ease-in-out infinite; }
}

@keyframes w-live-pulse {
  50% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0.08); }
}

.lp .w-live-head strong { font-size: 0.9rem; color: var(--mute); }

.lp .w-live-count {
  margin-inline-start: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--magenta);
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.lp .w-live-chart { position: relative; height: 150px; margin-top: 8px; border-bottom: 1px dashed var(--rule); }
.lp .w-live-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }

.lp .w-live-readers,
.lp .w-live-speed {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.lp .w-live-readers { stroke: var(--magenta); }
.lp .w-live-speed { stroke: var(--good); }

/* The breaking-news flag sits over the spike (the chart's x axis is physical, left to right) */
.lp .w-live-flash {
  position: absolute;
  top: -6px;
  left: 57%;
  padding: 3px 10px 1px;
  border-radius: 6px;
  background: var(--bad);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  color: #fff;
  transform: translateX(-50%) rotate(-4deg);
}

.lp .w-live-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.lp .w-live-legend li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--mute); }
.lp .w-live-legend li::before { content: ''; width: 18px; height: 3px; border-radius: 2px; }
.lp .w-live-legend .is-readers::before { background: var(--magenta); }
.lp .w-live-legend .is-speed::before { background: var(--good); }

.lp .w-live-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px dashed var(--rule);
  font-size: 0.88rem;
  font-weight: 600;
  color: #2f5410;
}

.lp .w-live-foot i { margin-inline-end: 4px; color: var(--good); }

/* A breaking-news morning, as a timetable */

.lp .w-clock { max-width: 820px; margin: 0 auto; }

.lp .w-clock li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px dashed var(--rule);
}

.lp .w-clock li:first-child { border-top: 2px solid var(--ink); }

.lp .w-clock time {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--magenta);
  direction: ltr;
  text-align: right;
}

.lp .w-clock h3 { font-size: 1.15rem; font-weight: 700; }
.lp .w-clock p { margin-top: 4px; color: var(--mute); }

@media (max-width: 560px) {
  .lp .w-live { padding: 20px 18px calc(20px + var(--zz)); }
  .lp .w-live-count { font-size: 2.6rem; }
  .lp .w-clock li { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .lp .w-clock time { font-size: 2.1rem; }
}
