/* Shared styling for the /guides articles. Same palette as the landing page
   (src/constants/theme.ts): dark-only, because the app is dark-only. */

:root { color-scheme: dark; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #0B0E12;
  color: #E8EDF2;
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 680px; margin: 0 auto; padding: 40px 24px 88px; }

.crumb { font-size: 14px; color: #8A95A3; margin-bottom: 28px; }
.crumb a { color: #8A95A3; }
.crumb a:hover { color: #4CC2E8; }

h1 {
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
  text-wrap: balance;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.2px;
  margin: 44px 0 12px;
  text-wrap: balance;
}

h3 { font-size: 17px; margin: 28px 0 8px; }

p { color: #C7CFD8; margin: 0 0 1em; }

.lede { font-size: 19px; color: #E8EDF2; }

ul, ol { padding-left: 22px; }
li { color: #C7CFD8; margin: 8px 0; }
li::marker { color: #8A95A3; }

a { color: #4CC2E8; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid #4CC2E8; outline-offset: 3px; border-radius: 2px; }

strong { color: #E8EDF2; }

code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: #1B222B;
  border: 1px solid #232B35;
  border-radius: 4px;
  padding: 1px 5px;
}

pre {
  background: #141920;
  border: 1px solid #232B35;
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
}
pre code { background: none; border: 0; padding: 0; font-size: 13.5px; line-height: 1.55; }

.scroller { overflow-x: auto; border: 1px solid #232B35; border-radius: 10px; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7C8B9D;
  font-weight: 600;
  padding: 12px 14px;
  background: #141920;
  border-bottom: 1px solid #232B35;
  white-space: nowrap;
}
td { padding: 12px 14px; border-bottom: 1px solid #1C232C; color: #C7CFD8; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: #E8EDF2; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; white-space: nowrap; }

.note {
  border-left: 2px solid #2A5B6B;
  background: #10222B;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 22px 0;
}
.note p:last-child { margin-bottom: 0; }

.warn { border-left-color: #4A3A18; background: #241D10; }

.cta-card {
  border: 1px solid #2A5B6B;
  background: #10222B;
  border-radius: 12px;
  padding: 22px;
  margin: 44px 0 0;
}
.cta-card h2 { margin-top: 0; font-size: 20px; }
.cta {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: #4CC2E8;
  color: #0B0E12;
  font-weight: 700;
  text-decoration: none;
}
.cta:hover { background: #6FCFEE; }

.related { margin-top: 44px; border-top: 1px solid #232B35; padding-top: 22px; }
.related h2 { font-size: 16px; margin-top: 0; }

footer {
  margin-top: 44px;
  border-top: 1px solid #232B35;
  padding-top: 20px;
  color: #8A95A3;
  font-size: 14px;
}
footer p { color: #8A95A3; }
