/* The public News pages (/news/ and /news/article/), in the landing and FAQ look: their colours come from the page's
   own :root. What goes in them is drawn by /js/announcements.js. Poppins throughout, never the "titles" font, which
   draws digits as blocks. A type's colour arrives as --t on the element. */
h1, h2, h3 { font-family: Poppins, system-ui, sans-serif; font-weight: 600; }
.lhero .kicker { margin-bottom: 16px; }
.lhero h1 { font-weight: 600; letter-spacing: -.02em; }

.ann-i { display: inline-block; flex: none; vertical-align: middle; }
.ann-pill { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 8px; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--t, #6EA8FF); background: rgba(255, 255, 255, .06); background: color-mix(in srgb, var(--t, #6EA8FF) 14%, transparent); border-radius: 999px; }
.ann-live { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--text); }
.ann-live i { width: 8px; height: 8px; background: var(--t, #6EA8FF); border-radius: 50%; box-shadow: 0 0 0 4px rgba(110, 168, 255, .2); }

.ann-pub { max-width: 860px; padding-top: 40px; padding-bottom: 80px; }
.ann-pub-article { max-width: 780px; padding-top: 36px; }
.ann-pub [aria-busy="true"] { min-height: 260px; border-radius: 20px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: ann-wait 1.4s ease-in-out infinite; }
@keyframes ann-wait { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .ann-pub [aria-busy="true"] { animation: none; } }
.ann-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.ann-back:hover { color: var(--text); }

/* The one on the bar now, at the top of the list. */
.ann-feat { position: relative; display: block; overflow: hidden; padding: 28px 30px; text-decoration: none; border: 1px solid var(--line); border-color: color-mix(in srgb, var(--t, #6EA8FF) 35%, var(--line)); border-radius: 20px;
  background: radial-gradient(600px 200px at 0% 0%, color-mix(in srgb, var(--t, #6EA8FF) 14%, transparent), transparent 70%), var(--surface); }
.ann-feat:hover { border-color: color-mix(in srgb, var(--t, #6EA8FF) 55%, var(--line)); }
.ann-feat-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.ann-feat-date { margin-left: auto; }
.ann-feat-title { display: block; margin: 16px 0 10px; font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--text); }
.ann-feat-sum { display: block; margin: 0 0 18px; font-size: 16.5px; color: var(--body); }
.ann-feat-more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #A9B8FF; }

.ann-sec { margin: 40px 0 12px; font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.ann-sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 44px 0 12px; }
.ann-sec-h .ann-sec { margin: 0; }
.ann-all { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: #A9B8FF; text-decoration: none; }

/* A list of announcements: the date, the type, the title and the short text. */
.ann-list { overflow: hidden; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; }
.ann-row { display: flex; align-items: center; gap: 20px; padding: 18px 22px; text-decoration: none; }
.ann-row + .ann-row { border-top: 1px solid var(--line); }
.ann-row:hover { background: var(--surface); }
.ann-row .ann-tile { display: none; }
.ann-row-date { flex: none; order: -1; width: 100px; font-size: 13px; color: var(--dim); }
.ann-row-main { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.ann-row-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; }
.ann-row-title { font-size: 16px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.ann-row-sum { font-size: 14px; color: var(--muted); }
.ann-row-go { display: inline-flex; flex: none; color: var(--dim); }

.ann-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 56px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: 18px; }
.ann-empty .ann-i { margin-bottom: 8px; color: var(--violet); }
.ann-empty b { font-size: 20px; font-weight: 600; color: var(--text); }
.ann-empty span { max-width: 440px; font-size: 15px; }
.ann-empty .ann-back, .ann-empty .ann-btn { margin: 14px 0 0; }
.ann-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer;
  background: rgba(255, 255, 255, .02); border: 1px solid var(--line2); border-radius: 12px; }
.ann-btn:hover { background: rgba(255, 255, 255, .06); }

/* One article. */
.ann-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13.5px; color: var(--muted); }
.ann-dot { width: 3px; height: 3px; background: var(--dim); border-radius: 50%; }
.ann-title { margin: 0 0 16px; font-size: 40px; font-weight: 600; line-height: 1.18; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ann-lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--body); }
.ann-rule { height: 1px; margin: 30px 0; background: var(--line); }
.ann-updates { margin-top: 28px; padding: 18px 22px; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; }
.ann-updates h2 { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.ann-updates ol { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ann-updates li { position: relative; display: flex; flex-direction: column; gap: 2px; padding-left: 22px; font-size: 15px; color: var(--body); overflow-wrap: anywhere; }
.ann-updates li::before { content: ""; position: absolute; top: 7px; left: 2px; width: 9px; height: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(59, 196, 127, .15); }
.ann-updates time { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ann-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.ann-share .ann-btn { margin-left: auto; }

/* The article's own text, from js/article-md.js. */
.art { font-size: 16.5px; line-height: 1.75; color: var(--body); overflow-wrap: anywhere; }
.art > :first-child { margin-top: 0; }
.art > :last-child { margin-bottom: 0; }
.art p { margin: 0 0 14px; }
.art h2 { margin: 32px 0 8px; font-size: 21px; letter-spacing: 0; color: var(--text); }
.art h3 { margin: 24px 0 6px; font-size: 17.5px; letter-spacing: 0; color: var(--text); }
.art ul, .art ol { margin: 0 0 14px; padding-left: 22px; }
.art li { margin: 5px 0; }
.art li::marker { color: var(--violet); }
.art strong { font-weight: 600; color: var(--text); }
.art a { color: #A9B8FF; text-underline-offset: 3px; }
.art hr { margin: 26px 0; border: 0; border-top: 1px solid var(--line); }
.art-box { margin: 0 0 14px; padding: 14px 18px; background: rgba(143, 116, 255, .08); border-left: 3px solid var(--violet); border-radius: 10px; }
.art-box > :last-child { margin-bottom: 0; }
.art-figure { margin: 6px 0 18px; }
.art-picture { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; }

/* Visitors are asked to join; somebody signed in is offered their dashboard (the signed-in class on <html>). */
.ann-cta { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 24px 26px; border: 1px solid var(--line2); border-radius: 20px;
  background: radial-gradient(500px 160px at 100% 0%, rgba(143, 116, 255, .18), transparent 70%), var(--surface); }
.ann-cta div { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.ann-cta b { font-size: 17px; font-weight: 600; }
.ann-cta span { font-size: 14.5px; color: var(--muted); }
.signed-in .ann-cta .in { display: inline-flex !important; }

@media (max-width: 760px) {
  .ann-pub { padding-top: 24px; }
  .ann-feat { padding: 20px; }
  .ann-feat-title { font-size: 22px; }
  .ann-feat-date { margin-left: 0; }
  .ann-row { flex-wrap: wrap; gap: 8px; padding: 16px 18px; }
  .ann-row-date { order: 2; width: auto; }
  .ann-row-main { order: 1; flex-basis: 100%; }
  .ann-row-go { display: none; }
  .ann-title { font-size: 28px; }
  .ann-lead { font-size: 17px; }
  .ann-cta { flex-direction: column; align-items: stretch; }
  .ann-cta .btn { justify-content: center; }
}
