/* Guides: same document layout as legal.css, in the landing page's colours, type and header.
   Loaded after legal.css; the guide is always dark, like the home page. */
:root {
  --bg: #07090d;
  --card: #0b1018;
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f2f5fa;
  --dim: #bcc7d6;
  --accent: #91b6ff;
  --head: "Heebo", Arial, sans-serif;
  --body: "Heebo", Arial, sans-serif;
  color-scheme: dark;
}

body { font-size: 17px; line-height: 1.75; }
p, li { color: var(--dim); }
strong, b { color: var(--text); }
h1, h2, h3 { color: var(--text); letter-spacing: -0.02em; }
h1 { font-weight: 600; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.2; margin-bottom: 10px; }
h2 { font-weight: 600; font-size: 24px; margin-top: 44px; }
h3 { font-family: var(--head); font-weight: 600; font-size: 19px; margin: 24px 0 6px; }
ol li { margin-bottom: 10px; }

header.top { position: sticky; top: 0; z-index: 5; background: #080b10e8; backdrop-filter: blur(18px); border-bottom: 1px solid #ffffff0b; }
header.top .wrap { max-width: 1100px; padding-block: 12px; }
.home-hint { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 10px; padding: 6px 12px; border: 1px solid #91b6ff55; border-radius: 8px; color: var(--accent); font-size: 15px; font-weight: 600; white-space: nowrap; }
.home-hint svg { width: 28px; height: 28px; flex: none; }
.brand:hover .home-hint { background: #91b6ff1f; }
.top-actions { display: flex; align-items: center; gap: 18px; }
.top-actions .login { color: #b1bbcb; font-size: 15px; text-decoration: none; }
.top-actions .login:hover { color: var(--text); }

.cta-btn, .top-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
  background: #afcaff; color: #101c30; border: 1px solid #c6daff; border-radius: 8px;
  font-weight: 600; text-decoration: none; box-shadow: inset 0 1px 0 #ffffffa6, 0 3px 14px #548cff15;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn { min-height: 52px; padding: 13px 22px; }
.cta-btn:hover, .top-cta:hover { background: #c6daff; transform: translateY(-2px); }
.top-cta { font-size: 15px; }

.summary { background: var(--card); border-color: var(--border-soft); border-radius: 14px; padding: 18px 22px; }
.crumbs { font-size: 15px; color: var(--dim); margin-bottom: 14px; }
.crumbs a { color: var(--dim); }
.updated { font-size: 15px; }
.cta-line { margin-top: 40px; }
.fine { color: #8d9bb0; font-size: 15px; }
footer { color: #8d9bb0; font-size: 15px; }
footer nav a { color: var(--dim); }

/* Comparison tables: a table from 760px (scrolls inside its box, tool names pinned), one card per tool below that. */
.disclosure { background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 14px 18px; font-size: 16px; max-width: none; }
.compare-scroll { overflow-x: auto; margin: 12px 0; border: 1px solid var(--border-soft); border-radius: 12px; }
.compare-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
table.compare { display: table; margin: 0; min-width: 1240px; font-size: 14px; line-height: 1.55; }
.compare th, .compare td { min-width: 100px; color: var(--dim); }
.compare td:nth-last-child(-n+3) { min-width: 170px; }
.compare thead th { color: var(--text); white-space: nowrap; }
.compare tbody th { position: sticky; inset-inline-start: 0; background: var(--card); color: var(--text); white-space: nowrap; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.sources a { overflow-wrap: anywhere; }
@media (min-width: 900px) { .compare-scroll { margin-inline: calc((100% - min(1240px, 100vw - 48px)) / 2); } }
@media (max-width: 759px) {
  .compare-scroll { overflow: visible; border: 0; border-radius: 0; }
  table.compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; min-width: 0; }
  table.compare { min-width: 0; font-size: 15px; }
  .compare thead { display: none; }
  .compare tr { background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; padding: 6px 16px 10px; margin-bottom: 12px; }
  .compare tbody th { position: static; background: none; font-size: 18px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
  .compare td, .compare td:nth-last-child(-n+3) { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 8px 0; min-width: 0; }
  .compare td::before { content: attr(data-label); color: var(--text); font-weight: 600; }
  .compare tr > :last-child { border-bottom: 0; }
}

@media (max-width: 480px) {
  .top-actions { gap: 12px; }
  .top-actions .login { display: none; }
  .home-hint { margin-inline-start: 4px; padding: 4px 8px; font-size: 13px; }
  .home-hint svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-btn, .top-cta { transition: none; }
  .cta-btn:hover, .top-cta:hover { transform: none; }
}
