/* Shared styles for /vs and /guides content pages. Matches the design system
   used by the React app (src/index.css) and the static trust pages. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2081c3;
  --primary-dark: #185f8f;
  --sky: #63d2ff;
  --teal: #78d5d7;
  --text-dark: #0f2b3d;
  --text-secondary: #3a5a6e;
  --bg: #f7f9f9;
  --border: #d4e5e3;
  --white: #ffffff;
  --code-bg: #0f2b3d;
}

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-secondary);
  line-height: 1.7;
  min-height: 100vh;
}

/* Header */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
header.site a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 15px; }
/* Full brand logo. The source SVG is a square canvas with the lockup floating
   in the vertical middle, so we crop to a fixed-height window (matching the
   homepage header) to keep the header compact. */
header.site .logo { display: block; width: 224px; height: 72px; overflow: hidden; }
header.site .logo img { display: block; width: 224px; height: auto; margin-top: -80px; }

/* Layout */
main { max-width: 820px; margin: 0 auto; padding: 32px 24px 80px; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: #6b8e9e; margin-bottom: 28px; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb span { margin: 0 8px; color: var(--border); }

/* Typography */
h1 {
  font-family: "Tabular", Georgia, serif;
  font-size: 42px; font-weight: 600; color: var(--text-dark);
  line-height: 1.12; letter-spacing: -1px; margin-bottom: 20px;
}
h2 {
  font-family: "Tabular", Georgia, serif;
  font-size: 27px; font-weight: 600; color: var(--text-dark);
  margin-top: 52px; margin-bottom: 14px; letter-spacing: -0.4px;
}
h3 {
  font-family: "Tabular", Georgia, serif;
  font-size: 19px; font-weight: 600; color: var(--text-dark);
  margin-top: 32px; margin-bottom: 10px;
}
p { margin-bottom: 16px; font-size: 16px; }
.lead { font-size: 19px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; font-size: 16px; }
a { color: var(--primary); }
strong { color: var(--text-dark); }

/* Inline + block code */
code {
  font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 13.5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--primary-dark);
}
pre {
  background: var(--code-bg);
  color: #e6f2f8;
  border-radius: 12px;
  padding: 20px 22px;
  overflow-x: auto;
  margin: 8px 0 20px;
  font-size: 13px;
  line-height: 1.65;
}
pre code {
  background: none; border: none; padding: 0; color: inherit; font-size: 13px;
}
pre .c { color: #6b8e9e; }   /* comment */
pre .k { color: var(--sky); } /* keyword / flag */

/* Tables */
.table-wrap { overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white); }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14.5px; vertical-align: top; }
th { background: var(--bg); color: var(--text-dark); font-weight: 700; font-size: 13px; }
td:first-child, th:first-child { font-weight: 600; color: var(--text-dark); }
tr:last-child td { border-bottom: none; }
.num { font-variant-numeric: tabular-nums; }
.yes { color: #1f9d76; font-weight: 600; }
.no { color: #c0654f; font-weight: 600; }

/* Callouts */
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  background: var(--white);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
}
.callout.warn { border-left-color: #e0a336; }
.callout p:last-child { margin-bottom: 0; }
.callout .label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.callout.warn .label { color: #b9791a; }

.todo { color: #b9791a; font-weight: 600; }

/* FAQ */
.faq { margin-top: 20px; }
.faq h3 { margin-top: 24px; }

/* Inline CTA (contextual, not a hard sell) */
.cta-inline {
  margin-top: 48px;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.cta-inline h2 { margin-top: 0; font-size: 21px; }
.cta-inline p { margin-bottom: 0; }

/* Footer */
footer.site {
  text-align: center;
  padding: 32px;
  font-size: 13px;
  color: #6b8e9e;
  border-top: 1px solid var(--border);
}
footer.site a { color: var(--primary); text-decoration: none; }

@media (max-width: 640px) {
  header.site { padding: 16px 24px; }
  header.site .logo { width: 180px; height: 52px; }
  header.site .logo img { width: 180px; margin-top: -64px; }
  h1 { font-size: 31px; }
  h2 { font-size: 23px; }
}
