/* What's new: only what this page alone needs. Everything else is v1's vocabulary in components.css.
   Own classes are prefixed wn- (components.css already owns .rel, .chip, .timeline, .seg ...). Tokens only; no hard-coded page colors. */

/* ── hero: split copy + the release-tempo console ───────────────────────────────────────────────────────────── */
.wn-hero { padding-bottom: 24px; }
.wn-hero .page-hero__media { min-width: 0; }
.wn-feedlink { margin-top: -6px; }
.wn-tempo__cap { margin: 0 0 16px; font: 600 13.5px/1.4 var(--font); color: var(--text-2); }
.wn-chart { list-style: none; margin: 0; padding: 0 0 2px; display: flex; align-items: flex-end; gap: 3px; height: 176px; border-bottom: 1px solid var(--line-2); }
.wn-chart > li { position: relative; flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.wn-chart i {
  display: block; width: 100%; height: max(4px, calc(var(--f, 0) * 100%)); border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--blue-text), var(--blue-2));
  transition: height .9s cubic-bezier(.2, .7, .1, 1), opacity .3s, background-color .5s, box-shadow .9s;
}
.wn-chart > li.is-zero i { height: 3px; background: var(--line-2); border-radius: 2px; }
.wn-chart > li.is-off i { opacity: .4; }
.wn-chart > li.is-now i { box-shadow: 0 0 0 2px var(--gold); }
.wn-chart i.is-lit { background: linear-gradient(180deg, #ffd77a, var(--gold-2)); box-shadow: 0 0 20px var(--glow-gold), 0 0 0 1px rgba(255, 187, 46, .6); transition-duration: .25s; }
.wn-chart.is-grow i { height: 3px; transition-delay: calc(var(--k, 0) * 22ms); }
.wn-chart__a { position: absolute; inset: 0 -1.5px; z-index: 2; display: block; border-radius: 6px; }
.wn-chart__a[hidden] { display: none; }
.wn-chart__a:hover { background: rgba(255, 187, 46, .12); }
.wn-chart__a:focus-visible { outline-offset: 1px; }
.wn-tempo__axis { display: flex; justify-content: space-between; margin-top: 8px; font: 500 12px var(--mono); color: var(--muted); }
.wn-tempo__peak { margin-top: 16px; font-size: 15px; line-height: 1.55; min-height: 4.7em; }
.wn-tempo__peak b { color: var(--text); font-weight: 700; }

/* ── stats: the newest date reads smaller than a count ─────────────────────────────────────────────────────── */
.stat b.wn-date { font: 700 clamp(26px, 2.7vw, 36px)/1.2 var(--mono); letter-spacing: -.03em; display: flex; align-items: center; min-height: clamp(40px, 4.4vw, 56px); }
.wn-statsec { padding-bottom: 40px; }

/* ── headline releases ──────────────────────────────────────────────────────────────────────────────────────── */
.wn-hl .sec-head { margin-bottom: 70px; }
.wn-row + .wn-row { margin-top: 110px; }
.wn-hl .mobile, .wn-hl .cc { gap: clamp(36px, 5vw, 80px); }
.wn-h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.wn-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.wn-row__meta time { font: 500 13px var(--mono); color: var(--gold-text); }
.wn-row .fig { min-width: 0; }
.wn-codes { display: grid; gap: 14px; max-width: 460px; width: 100%; margin-inline: auto; }
.wn-code {
  display: grid; grid-template-columns: 52px auto; grid-template-areas: "k b" "k t"; column-gap: 18px; row-gap: 2px; align-items: center;
  padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-2), var(--card));
  box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s;
}
.wn-code:hover { border-color: var(--line-2); transform: translateX(4px); }
.wn-code__k { grid-area: k; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 187, 46, .14); color: var(--gold-text); }
.wn-code__k svg { width: 24px; height: 24px; }
.wn-code:nth-child(2) .wn-code__k { background: rgba(77, 124, 255, .14); color: var(--blue-text); }
.wn-code:nth-child(3) .wn-code__k { background: rgba(115, 191, 105, .14); color: var(--green); }
.wn-code b { grid-area: b; font: 800 clamp(26px, 3vw, 34px)/1.1 var(--mono); letter-spacing: -.03em; }
.wn-code > span:last-child { grid-area: t; color: var(--text-2); font-size: 15px; }

/* ── the log ────────────────────────────────────────────────────────────────────────────────────────────────── */
.wn-wrap { max-width: 940px; margin-inline: auto; --bar-h: 0px; }
.wn-tools {
  position: sticky; top: calc(var(--header-h) - 6px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 10px; margin: 0 0 30px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: var(--shadow-sm);
}
.wn-tools[hidden] { display: none; }
.wn-seg { flex-wrap: wrap; }
.seg__btn .wn-seg__n { margin-left: 7px; font: 500 12px var(--mono); opacity: .8; }
.seg__btn[aria-checked="true"] .wn-seg__n, .seg__btn[aria-pressed="true"] .wn-seg__n { opacity: 1; }
.wn-search { position: relative; flex: 1 1 220px; min-width: 0; display: block; }
.wn-search svg { position: absolute; left: 14px; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; color: var(--muted); pointer-events: none; }
.wn-search input {
  width: 100%; height: 46px; padding: 0 14px 0 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--text);
  font: 400 16px var(--font); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.wn-search input::placeholder { color: var(--muted); opacity: 1; }
.wn-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--glow-blue); }
.wn-all { flex-shrink: 0; }
.wn-status { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin: -8px 4px 24px; font-size: 14.5px; color: var(--text-2); }
.wn-status[hidden] { display: none; }
.wn-status b { color: var(--text); }
.wn-status__lane { color: var(--muted); }
.wn-day { margin: 0 0 44px; scroll-margin-top: calc(var(--header-h) + var(--bar-h) + 12px); }
.wn-day[hidden] { display: none; }
.wn-day__bar { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 18px; }
.wn-day__bar h3 { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; }
.wn-day__bar h3:focus { outline: none; }
.wn-day__n { font: 500 13px var(--mono); color: var(--muted); }
.wn-rels { list-style: none; margin: 0; padding: 0 0 0 28px; display: grid; gap: 14px; border-left: 2px solid var(--line-2); }
.wn-rel {
  --tc: var(--blue);
  position: relative; display: grid; gap: 9px; justify-items: start; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-2), var(--card)); transition: border-color .25s, box-shadow .4s;
  scroll-margin-top: calc(var(--header-h) + var(--bar-h) + 16px);
}
.wn-rel[hidden] { display: none; }
.wn-rel[data-tag="platform"] { --tc: var(--green); }
.wn-rel[data-tag="security"] { --tc: var(--gold); }
.wn-rel[data-tag="apps"] { --tc: var(--violet); }
.wn-rel::before { content: ""; position: absolute; left: -37px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--tc); transition: background-color .25s; }
.wn-rel:hover { border-color: var(--line-2); }
.wn-rel:hover::before, .wn-rel.is-open::before { background: var(--tc); }
.wn-rel:focus { outline: none; }
.wn-rel:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 16px; }
.wn-rel.is-target { border-color: var(--blue); box-shadow: 0 0 0 3px var(--glow-blue), 0 0 44px var(--glow-blue); animation: wnTarget 3.2s ease-out 1.6s forwards; }
@keyframes wnTarget { to { border-color: var(--line); box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; } }
.wn-rel__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.wn-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--text-2); font: 600 12px/1.4 var(--font); letter-spacing: .02em;
}
.wn-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc, var(--blue)); }
.wn-tag[data-tag="feature"] { --tc: var(--blue); }
.wn-tag[data-tag="platform"] { --tc: var(--green); }
.wn-tag[data-tag="security"] { --tc: var(--gold); }
.wn-tag[data-tag="apps"] { --tc: var(--violet); }
.wn-area { font-size: 13px; color: var(--muted); }
.wn-rel__title { font: 700 clamp(18px, 2vw, 21px)/1.3 var(--display); letter-spacing: -.015em; }
.wn-rel__sum { color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 70ch; }
.wn-rel__tog {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; margin-top: 4px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--blue-text); font: 600 14px var(--font);
  transition: background-color .2s, border-color .2s;
}
.wn-rel__tog:hover { background: var(--card-2); border-color: var(--blue); }
.wn-rel__tog .i { transition: transform .25s; }
.wn-rel__tog[aria-expanded="true"] .i { transform: rotate(180deg); }
.wn-rel__panel { width: 100%; margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: grid; gap: 16px; }
.wn-rel__panel[hidden] { display: none; }
.wn-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; width: 100%; }
.wn-rel > .wn-items { margin-top: 6px; }
.wn-items li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 76ch; }
.wn-items li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--tc, var(--blue)); }
.wn-items li b { color: var(--text); font-weight: 600; }
.wn-items li.is-hit { color: var(--text); }
.wn-f { color: var(--blue-text); font-weight: 600; text-decoration: underline dotted; text-underline-offset: 3px; }
.wn-f:hover { text-decoration: underline solid; }
.wn-rel__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.wn-rel__see { font-size: 13px; color: var(--muted); margin-right: 2px; }
.wn-rel__foot .chip { text-decoration: none; }
.wn-rel__copy { margin-left: auto; }
.wn-empty { text-align: center; padding: 56px 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: var(--card); display: grid; gap: 12px; justify-items: center; color: var(--text-2); }
.wn-empty[hidden] { display: none; }
.wn-empty__h { font: 700 22px var(--display); color: var(--text); }
.wn-fab {
  position: fixed; right: 16px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: linear-gradient(180deg, var(--btn-1), var(--btn-2)); color: #fff; font: 600 15px var(--font); box-shadow: var(--shadow);
}
.wn-fab[hidden] { display: none; }

/* ── be first to know ───────────────────────────────────────────────────────────────────────────────────────── */
.wn-tile-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.wn-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.wn-areas a { display: block; padding: 7px 0; color: var(--text-2); font-size: 15px; border-bottom: 1px solid var(--line); transition: color .2s; }
.wn-areas a:hover { color: var(--text); }
.wn-areas a b { color: var(--blue-text); font-weight: 600; }
.wn-touchhint { display: none; }
@media (hover: none), (pointer: coarse) { .wn-kbdhint { display: none; } .wn-touchhint { display: inline; } }

/* ── responsive ─────────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .wn-row + .wn-row { margin-top: 80px; }
  #follow .t-2:last-child { grid-column: 1 / -1; }
  .wn-codes { max-width: 520px; }
  .wn-hero .page-hero__media { max-width: 640px; margin-inline: auto; width: 100%; }
}
@media (max-width: 760px) {
  .wn-tools { position: static; }
  .wn-seg { width: 100%; }
  .wn-seg .seg__btn { flex: 1 1 auto; padding-inline: 10px; }
  .wn-all { width: 100%; }
  .wn-rels { padding-left: 18px; }
  .wn-rel { padding: 18px 16px; }
  .wn-rel::before { left: -27px; top: 24px; }
  .wn-rel__copy { margin-left: 0; }
  .wn-chart { height: 140px; gap: 2px; }
  .wn-tempo__peak { min-height: 6.2em; }
  .wn-hl .sec-head { margin-bottom: 44px; }
  .stat b.wn-date { font-size: 21px; }
  .wn-areas { grid-template-columns: 1fr; }
  #follow .t-2:last-child { grid-column: auto; }
  .wn-hero .page-hero__media { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .wn-chart i, .wn-code, .wn-rel, .wn-rel__tog .i { transition: none; }
  .wn-chart.is-grow i { height: max(4px, calc(var(--f, 0) * 100%)); }
  .wn-rel.is-target { animation: none; }
}
html[data-motion="reduced"] .wn-chart i, html[data-motion="reduced"] .wn-code, html[data-motion="reduced"] .wn-rel { transition: none; }
html[data-motion="reduced"] .wn-chart.is-grow i { height: max(4px, calc(var(--f, 0) * 100%)); }
html[data-motion="reduced"] .wn-rel.is-target { animation: none; }

/* narrow phones: the three-phone cluster is 560 px wide at full size; scale it so the left phone is not cut by the screen edge */
@media (max-width: 480px) {
  .wn-hl .fig.phones { transform: translateX(14px) scale(.62); transform-origin: 50% 0; height: 520px; margin-bottom: -200px; }
}
