/* Content-heavy pages — legal docs, status, news, press releases */

/* ----- Article-style layout ----- */
.article-page {
  padding: 64px 0 80px;
}
.article-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
}
.article-grid.no-sidebar { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
@media (max-width: 880px) {
  .article-grid { grid-template-columns: 1fr; gap: 32px; }
}

.article-toc {
  position: sticky;
  top: 96px;
  align-self: start;
}
.article-toc h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.article-toc ul { list-style: none; display: grid; gap: 8px; }
.article-toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: color .2s, border-color .2s;
}
.article-toc a:hover, .article-toc a.active { color: var(--brand); border-color: var(--brand); }

.article-body h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 40px 0 14px;
  scroll-margin-top: 96px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  margin: 28px 0 10px;
}
.article-body p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}
.article-body p b, .article-body p strong { color: var(--ink); font-weight: 600; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body li {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 6px;
}
.article-body a { color: var(--brand); }
.article-body a:hover { text-decoration: underline; }
.article-body .meta {
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

/* ----- System status ----- */
.status-band {
  padding: 48px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.status-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #f6f9fc 100%);
  border: 1px solid #b5e7c8;
  border-radius: var(--r);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 640px) {
  .status-card { flex-direction: column; text-align: center; gap: 16px; }
}
.status-card .light {
  display: flex;
  align-items: center;
  gap: 16px;
}
.status-card .light .dot-big {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 6px rgba(22,163,74,.18);
  flex-shrink: 0;
  animation: pulse-green 2.4s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 6px rgba(22,163,74,.18); }
  50% { box-shadow: 0 0 0 12px rgba(22,163,74,.06); }
}
.status-card h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.status-card .ts {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.service-list {
  margin-top: 40px;
  display: grid;
  gap: 10px;
}
.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px 22px;
  font-size: 15px;
}
.service-row .svc { font-weight: 600; color: var(--ink); }
.service-row .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
}
.service-row .badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a34a;
}
.service-row.degraded .badge { color: #f59e0b; }
.service-row.degraded .badge::before { background: #f59e0b; }
.service-row.down .badge { color: #dc2626; }
.service-row.down .badge::before { background: #dc2626; }

.incident-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 24px 28px;
}
.incident-card h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}
.incident-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ----- News / Press release listing ----- */
.news-list {
  padding: 48px 0 80px;
}
.news-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
@media (max-width: 880px) {
  .news-grid { grid-template-columns: 1fr; }
}

.news-archive {
  position: sticky;
  top: 96px;
  align-self: start;
}
.news-archive h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  margin-top: 20px;
}
.news-archive h4:first-child { margin-top: 0; }
.news-archive ul { list-style: none; display: grid; gap: 6px; margin-bottom: 8px; }
.news-archive a {
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
}
.news-archive a:hover { color: var(--brand); }

.news-items { display: grid; gap: 24px; }
.news-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.news-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.news-item .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--brand-tint);
}
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item .body { padding: 26px 28px 28px; }
.news-item .date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.news-item h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.news-item h3 a { color: var(--ink); text-decoration: none; transition: color .2s; }
.news-item h3 a:hover { color: var(--brand); }
.news-item p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.news-item .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap .2s;
}
.news-item:hover .read-more { gap: 10px; }
.news-item .read-more svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.2; fill: none; }

/* ----- Partner logo grid ----- */
.partner-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.partner-section:last-child { border-bottom: 0; }
.partner-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: center;
  margin-bottom: 12px;
}
.partner-section h2 em { font-style: italic; color: var(--brand); }
.partner-section p.intro {
  text-align: center;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.partner-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 22px 18px;
  display: grid;
  place-items: center;
  min-height: 96px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.partner-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.partner-tile img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  filter: grayscale(60%);
  opacity: .85;
  transition: filter .2s, opacity .2s;
}
.partner-tile:hover img { filter: none; opacity: 1; }
