/* Weatherscope page styles. Shared tokens and components come from /assets/site.css. */

/* The mockups are drawn on a near-black ground; their frames match it in both themes. */
:root {
  --ws-screen-bg: #0b0c0e;
  --ws-desk-bg: #15171a;
}

/* Hero */
.ws-hero {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 40px 0 48px;
}

@media (min-width: 860px) {
  .ws-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    padding: 56px 0 64px;
  }
}

.ws-hero h1 {
  margin-top: 12px;
}

/* The preview label */
.ws-notice {
  max-width: 40em;
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--badge-dev-text);
  border-radius: 10px;
  background: var(--badge-dev-bg);
  color: var(--text);
}

/* Mockup frames */
.ws-shot {
  margin: 0;
  background: var(--ws-screen-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}

.ws-shot--desk {
  background: var(--ws-desk-bg);
  max-width: 480px;
  justify-self: center;
  width: 100%;
}

.ws-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.ws-shot figcaption {
  padding: 10px 14px 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.ws-shot figcaption strong {
  color: var(--text);
}

/* The screens */
.ws-sim {
  max-width: 42em;
  color: var(--muted);
  font-size: 0.95rem;
}

.ws-screens {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  margin-top: 24px;
}

/* Data sources */
.ws-sources {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.ws-sources li {
  margin-bottom: 6px;
}
