/* ============================================================
   What's new — the app's release notes, newest version first.
   Built on home.css (tokens, .h1, .lede, .eyebrow, .phone, .cta-card)
   and subpages.css (shared public-page theme). Flat colour only.
   ============================================================ */

.wn-hero { padding-top: 150px; padding-bottom: clamp(16px, 3vw, 32px); }
.wn-hero .container { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.wn-hero .h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); max-width: 14ch; }
.wn-hero .lede { max-width: 32em; }

.wn-releases { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 104px); padding-bottom: clamp(32px, 6vw, 72px); }

/* ---------- One version ---------- */
.wn-release { scroll-margin-top: 110px; display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.wn-release-head {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 18px; row-gap: 14px;
  padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--hair);
}
.wn-anchor { color: inherit; text-decoration: none; }
.wn-version {
  font-family: var(--display, var(--sans)); font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.035em; line-height: 1;
}
.wn-anchor:hover .wn-version { color: var(--accent); }
.wn-date {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tx-3);
}
.wn-intro {
  grid-column: 1 / -1; max-width: 40em;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--tx-2);
}

/* ---------- One section: the words, and the app beside them ---------- */
.wn-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.wn-section.has-shot { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); }
.wn-section.has-shot:nth-of-type(even) .wn-copy { order: 2; }
.wn-copy h3 {
  font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 18px;
}
.wn-copy ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.wn-copy li {
  position: relative; padding-left: 22px;
  font-size: 1.02rem; line-height: 1.6; color: var(--tx-2);
}
.wn-copy li::before {
  content: ""; position: absolute; left: 2px; top: 0.72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
/* Sections without a capture read as a two-column list on wide screens. */
.wn-section:not(.has-shot) ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }

.wn-shot { display: flex; justify-content: center; }
.wn-shot .phone { --pw: clamp(220px, 24vw, 300px); }

.wn-cta .cta-card p { max-width: 34em; }

@media (max-width: 860px) {
  .wn-hero { padding-top: 120px; }
  .wn-section.has-shot { grid-template-columns: minmax(0, 1fr); }
  .wn-section.has-shot:nth-of-type(even) .wn-copy { order: 0; }
  .wn-shot .phone { --pw: min(62vw, 280px); }
  .wn-section:not(.has-shot) ul { grid-template-columns: minmax(0, 1fr); }
}

[dir="rtl"] .wn-copy li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .wn-copy li::before { left: auto; right: 2px; }
