/* Info pages (/about, /parents, /creators, /help, /download, /status) and the maintenance banner. Site tokens only. */

.if-page { gap: 26px; max-width: 900px; }
.if-head { display: flex; gap: 18px; align-items: flex-start; }
.if-head__icon { flex: none; width: 60px; height: 60px; border-radius: 20px; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; }
.if-lead { font-size: 18px; line-height: 1.55; color: var(--muted); margin-top: 10px; max-width: 62ch; }
.if-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.if-section { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; }
.if-section p, .if-list, .if-q__a { line-height: 1.6; max-width: 68ch; }
.if-list { padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.if-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.if-point { display: flex; gap: 14px; background: var(--surface); border-radius: 20px; padding: 16px 18px; box-shadow: 0 3px 0 var(--line); }
.if-point__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.if-point__t { font-family: var(--font-head); font-weight: 800; font-size: 19px; margin-bottom: 4px; }
.if-point p { color: var(--muted); line-height: 1.5; font-size: 15px; }
.if-note { line-height: 1.6; max-width: 68ch; border-left: 6px solid var(--play); }
.if-table-wrap { overflow-x: auto; }
.if-table { border-collapse: collapse; width: 100%; background: var(--surface); border-radius: 16px; overflow: hidden; }
.if-table th, .if-table td { text-align: left; padding: 12px 14px; border-bottom: 2px solid var(--soft); vertical-align: top; }
.if-table thead th { background: var(--soft); font-size: 14px; }
.if-examples { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
.if-example { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border-radius: 16px; padding: 12px 16px; border-left: 6px solid var(--accent); line-height: 1.5; }

.if-faq { display: flex; flex-direction: column; gap: 8px; }
.if-q { background: var(--surface); border-radius: 16px; box-shadow: 0 2px 0 var(--line); }
.if-q summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 600; border-radius: 16px; }
.if-q summary::-webkit-details-marker { display: none; }
.if-q__chev { flex: none; transition: transform .15s; display: inline-flex; }
.if-q[open] .if-q__chev { transform: rotate(180deg); }
.if-q__a { padding: 0 18px 16px; color: var(--ink); }
.if-q__a p + p { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .if-q__chev { transition: none; } }

.if-download { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 28px 32px; border-radius: 24px; }
.if-download__main { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.if-download__later { display: flex; gap: 8px; flex-wrap: wrap; }
.if-download__later .bz-chip { opacity: .65; cursor: default; }

.st-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.st-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 16px; padding: 14px 18px; box-shadow: 0 2px 0 var(--line); }
.st-name { flex: 1; font-weight: 600; }
.st-dot, .if-head__icon.st-ok, .if-head__icon.st-maintenance, .if-head__icon.st-down { display: inline-grid; place-items: center; }
.st-ok { color: var(--online); }
.st-maintenance { color: var(--level-ink); }
.st-down { color: var(--accent-text); }
.if-head__icon.st-ok { background: var(--teal-soft); color: var(--teal-ink); }
.if-head__icon.st-maintenance { background: var(--level-soft); color: var(--level-ink); }
.if-head__icon.st-down { background: var(--accent-soft); color: var(--accent-text); }
.st-state { font-weight: 600; font-size: 14px; }
.st-state.st-ok { color: var(--teal-ink); } /* the green dot colour is 2.6:1 on white: too faint for text */

.mt-banner { background: var(--level-soft); color: var(--level-ink); border-bottom: 2px solid var(--line); }
.mt-banner__in { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.mt-banner__in p { flex: 1; min-width: 0; line-height: 1.4; }
.mt-banner__in a { color: inherit; font-weight: 600; text-decoration: underline; }

@media (max-width: 720px) {
  .if-head { flex-direction: column; gap: 12px; }
  .if-download { padding: 20px; }
  .if-q summary { padding: 12px 14px; }
}

/* Blog list (src/pages/blog.js) */
.bl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.bl-item { background: var(--surface); border-radius: 24px; padding: 20px 24px; }
.bl-item .bz-h2 { margin: 0 0 4px; }
.bl-item p { margin: 0 0 8px; }

/* Copyright report form and the designated agent block (pages/copyright.js) */
.cpr-form { max-width: 640px; }
.cpr-check { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.cpr-check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.cpr-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cpr-agent { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.cpr-agent dt { font-weight: 600; }
.cpr-agent dd { margin: 0; overflow-wrap: anywhere; }
.cpr-placeholder { color: var(--accent-text); font-style: italic; }
.cpr-quote { margin: 0; padding: 12px 16px; border-left: 4px solid var(--line); background: var(--surface); border-radius: 8px; overflow-wrap: anywhere; }
@media (max-width: 720px) { .cpr-agent { grid-template-columns: 1fr; } }
