/* List Polisher — shared styles for guide/content pages */
:root {
  --bg: #0e0e10; --bg-2: #141416; --bg-3: #1a1a1d; --bg-4: #232327;
  --border: #2a2a2e; --border-2: #383840;
  --text: #f4efe6; --text-2: #a7a59c; --text-3: #6f6e68;
  --accent: #f59e0b; --accent-soft: #fbbf24; --accent-bg: rgba(245,158,11,0.10);
  --good: #10b981;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(245,158,11,0.06), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(59,130,246,0.04), transparent);
  background-attachment: fixed;
}

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px;
}
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #c2410c);
  display: grid; place-items: center; font-family: var(--serif);
  color: #1a1206; font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.brand-text .title { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--text); line-height: 1.1; }
.brand-text .subtitle { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { font-size: 13px; color: var(--text-2); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent-soft); }
.site-nav .nav-cta {
  background: var(--accent); color: #1a1206; padding: 7px 14px; border-radius: 7px; font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--accent-soft); color: #1a1206; }

/* Article container */
.wrap { max-width: 760px; margin: 0 auto; padding: 48px 22px 72px; }
.kicker { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; }
h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 42px); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 12px 0 16px; }
.lead { font-size: 18px; color: var(--text-2); line-height: 1.6; margin-bottom: 8px; }
.article h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 40px 0 12px; letter-spacing: -0.01em; }
.article h3 { font-size: 17px; font-weight: 600; margin: 26px 0 8px; color: var(--text); }
.article p { color: var(--text-2); margin-bottom: 14px; }
.article ul, .article ol { color: var(--text-2); margin: 0 0 16px 22px; display: grid; gap: 8px; }
.article strong { color: var(--text); font-weight: 600; }
.article a { color: var(--accent-soft); }
.article code {
  font-family: var(--mono); font-size: 13px;
  background: var(--bg-3); color: var(--accent-soft);
  padding: 2px 6px; border-radius: 4px;
}
.article pre {
  background: #0a0a0c; border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 18px; overflow-x: auto;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: #d4d2cc;
  margin: 0 0 18px;
}

/* Callout */
.callout {
  background: var(--accent-bg); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); border-radius: 10px;
  padding: 14px 18px; margin: 18px 0; font-size: 14px; color: var(--text-2);
}
.callout strong { color: var(--text); }

/* CTA */
.cta-row { margin: 28px 0; }
.cta-btn {
  display: inline-block; background: var(--accent); color: #1a1206;
  font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 9px;
  text-decoration: none; transition: background 0.15s;
}
.cta-btn:hover { background: var(--accent-soft); }
.cta-sub { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 8px; }

/* Mock SharePoint list */
.mock-list {
  background: #fff; border-radius: 10px; overflow: hidden;
  border: 1px solid #e1dfdb; box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  margin: 8px 0 6px;
}
.mock-head, .mock-row { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; padding: 11px 16px; }
.mock-head { background: #f3f2f1; font-size: 12px; font-weight: 700; color: #605e5c; text-transform: uppercase; letter-spacing: 0.04em; }
.mock-row { font-size: 13.5px; color: #323130; border-top: 1px solid #edebe9; }
.pill { justify-self: start; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 12px; }
.mock-cap { font-size: 11px; color: var(--text-3); font-family: var(--mono); text-align: center; margin-bottom: 22px; }

/* FAQ accordions */
details.faq { background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
details.faq summary { cursor: pointer; padding: 13px 16px; font-weight: 600; color: var(--text); list-style: none; position: relative; padding-right: 38px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--text-3); }
details.faq[open] summary::after { content: '−'; }
details.faq .faq-body { padding: 0 16px 14px; color: var(--text-2); font-size: 14px; }

/* Related links */
.related { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.related h2 { font-size: 18px; margin: 0 0 12px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.related-grid a {
  display: block; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--text);
  font-weight: 600; font-size: 14px; transition: border-color 0.15s;
}
.related-grid a:hover { border-color: var(--accent); }
.related-grid a span { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-3); margin-top: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 22px; max-width: 760px; margin: 0 auto; }
.site-footer p { font-size: 12.5px; color: var(--text-3); line-height: 1.7; }
.site-footer a { color: var(--text-2); }
.site-footer .meta { margin-top: 10px; font-size: 11.5px; }

@media (max-width: 700px) {
  .site-nav { gap: 12px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .wrap { padding: 32px 18px 56px; }
}
