/* ALL24 — Info pages stylesheet (light corporate)
 * Used for the on-screen / shareable web version of the docs at /info/*.
 * Print/PDF rendering uses info-print.css separately.
 */

:root {
  --ink:        #0f172a;       /* near-black for headings */
  --text:       #1f2937;       /* body text */
  --text-soft:  #475569;       /* secondary text */
  --muted:      #6b7280;       /* tertiary text, captions */
  --rule:       #e5e7eb;       /* borders + dividers */
  --rule-soft:  #f0f2f5;       /* very faint dividers */
  --paper:      #ffffff;       /* article + card surfaces */
  --canvas:     #f6f8fb;       /* page background */
  --accent:     #1d7fb8;       /* corporate brand blue (the darker variant) */
  --accent-bg:  #eaf3f9;       /* subtle blue tint backgrounds */
  --accent-2:   #49B2E3;       /* light brand blue (use sparingly) */
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--canvas);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color .12s ease; }
a:hover { color: #155a86; text-decoration: underline; }

::selection { background: var(--accent-bg); color: var(--ink); }

/* ── Page header (logo banner + AMGI subtitle + nav) ── */
.info-masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.info-masthead-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-logo {
  display: block;
  height: 84px;
  width: auto;
  max-width: 360px;
  margin: 0 0 16px;
}

.info-tagline {
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -.005em;
}

.info-amg {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
  font-weight: 500;
}

.info-amg strong { color: var(--text-soft); font-weight: 600; }


.info-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 18px;
  width: 100%;
  max-width: 1040px;
}

.info-nav a {
  color: var(--text-soft);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: all .12s ease;
}
.info-nav a:hover {
  color: var(--accent);
  background: var(--accent-bg);
  text-decoration: none;
}
.info-nav a.info-nav-cur {
  color: var(--accent);
  background: var(--accent-bg);
  font-weight: 600;
}

@media (max-width: 600px) {
  .info-masthead-inner { padding: 24px 18px 18px; }
  .info-logo { height: 56px; }
  .info-tagline { font-size: 15px; margin-bottom: 6px; }
  .info-amg { font-size: 10px; margin-bottom: 18px; }
  .info-nav { font-size: 13px; padding-top: 14px; }
  .info-nav a { padding: 5px 10px; }
}

/* ── Main article ── */
.info-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 28px 60px;
}

.info-article {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 56px 72px 64px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  position: relative;
}

@media (max-width: 900px) {
  .info-article { padding: 40px 36px 48px; }
}
@media (max-width: 700px) {
  .info-article { padding: 28px 22px 36px; border-radius: 6px; }
  .info-main { padding: 18px 12px 40px; }
}

/* ── Action buttons (top of article) ── */
.info-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: -8px 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule-soft);
  flex-wrap: wrap;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease;
  font-family: inherit;
  text-decoration: none;
}
.info-btn:hover {
  background: #155a86;
  border-color: #155a86;
  color: #fff;
  text-decoration: none;
}
.info-btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--rule);
}
.info-btn-ghost:hover {
  background: var(--rule-soft);
  color: var(--ink);
  border-color: var(--rule);
}

/* ── Article typography ── */
.info-article h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 24px;
  color: var(--ink);
  letter-spacing: -.015em;
  font-weight: 700;
}
.info-article h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 44px 0 14px;
  color: var(--ink);
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  letter-spacing: -.005em;
}
.info-article h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 28px 0 10px;
  color: var(--ink);
  font-weight: 600;
}
.info-article h4 {
  font-size: 15px;
  margin: 22px 0 8px;
  color: var(--ink);
  font-weight: 600;
}

.info-article p {
  margin: 12px 0;
  color: var(--text);
}

.info-article > p:first-of-type,
.info-article > h1 + p {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.6;
}

.info-article ul, .info-article ol {
  margin: 12px 0;
  padding-left: 22px;
  color: var(--text);
}
.info-article li { margin: 5px 0; }
.info-article li::marker { color: var(--accent); }

.info-article hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 36px 0;
}

.info-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 14.5px;
}
.info-article table th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 11px 14px 11px 0;
  border-bottom: 2px solid var(--rule);
  vertical-align: top;
  background: transparent;
}
.info-article table td {
  padding: 14px 14px 16px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--text);
  line-height: 1.55;
}
.info-article table th + th,
.info-article table td + td {
  padding-left: 18px;
}
.info-article table tr:last-child td {
  border-bottom: 0;
  padding-bottom: 8px;
}

.info-article strong { color: var(--ink); font-weight: 600; }
.info-article em { color: var(--text-soft); font-style: italic; }

.info-article blockquote {
  margin: 18px 0;
  padding: 14px 20px;
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  color: var(--text);
  font-style: italic;
}
.info-article blockquote p:first-child { margin-top: 0; }
.info-article blockquote p:last-child { margin-bottom: 0; }

.info-article code {
  background: #f0f2f5;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  color: #155a86;
  border: 1px solid var(--rule);
}

.info-article pre {
  background: #f6f8fb;
  padding: 14px 16px;
  border-radius: 6px;
  overflow-x: auto;
  border: 1px solid var(--rule);
}
.info-article pre code {
  background: transparent;
  padding: 0;
  border: 0;
  color: var(--text);
}

.info-article ul li input[type=checkbox] {
  margin-right: 8px;
  accent-color: var(--accent);
}

/* ── Hub/index page tile grid ── */
.info-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
}

.info-tile {
  display: block;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 22px 22px 24px;
  color: var(--ink);
  transition: all .15s ease;
}
.info-tile:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(29,127,184,.10);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--ink);
}

.info-tile-aud {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 12px;
  font-weight: 600;
}
.info-tile-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}
.info-tile-desc {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
}

/* ── Footer ── */
.info-foot {
  border-top: 1px solid var(--rule);
  margin-top: 0;
  padding: 32px 28px;
  background: var(--paper);
}
.info-foot-row {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.info-foot-row a { color: var(--text-soft); }
.info-foot-row a:hover { color: var(--accent); }

.info-foot-co {
  font-weight: 600;
  color: var(--text-soft);
}

/* ── Browser print (when user hits Cmd+P) ── */
@media print {
  body { background: #fff; }
  .info-masthead, .info-actions, .info-foot { display: none; }
  .info-main { max-width: 100%; padding: 0; }
  .info-article {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .info-article h1, .info-article h2, .info-article h3, .info-article h4 { color: #000; }
  .info-article h2 { border-bottom-color: #ccc; }
  .info-article a { color: #1d7fb8; text-decoration: underline; }
}
