:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --card-bg: #ffffff;
  --card-border: #d1d5da;
  --card-header: #f6f8fa;
  --link-color: #0000ff;
  --code-bg: #f6f8fa;
  --code-border: #d1d5da;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0d1117;
    --text-color: #c9d1d9;
    --card-bg: #161b22;
    --card-border: #30363d;
    --card-header: #21262d;
    --link-color: #4490ff;
    --code-bg: #21262d;
    --code-border: #30363d;
  }
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 0.9em;
  margin: 0;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

p {
  margin-top: 0;
  margin-bottom: 16px;
}

ul {
  padding-left: 2em;
  margin-top: 0;
  margin-bottom: 16px;
}

li {
  margin-top: 0.25em;
}

pre {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 16px;
  padding: 16px;
  overflow: auto;
  line-height: 1.45;
  background-color: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 3px;
}

code {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1em;
  padding: 0;
  margin: 0;
  background: initial;
  border: 0;
  display: inline;
  white-space: pre;
  line-height: inherit;
}

.main-card {
  box-sizing: border-box;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 3px;
  line-height: 1.25;
}

.main-card-header {
  box-sizing: border-box;
  padding: 8px;
  margin: -1px -1px 0;
  background-color: var(--card-header);
  border: 1px solid var(--card-border);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-card-content {
  box-sizing: border-box;
  padding: 8px 16px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: -1px;
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
}

article {
  box-sizing: border-box;
  display: block;
  font-size: 19px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

article h1,
article h2 {
  font-weight: 600;
  line-height: 1.25;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--card-border);
}

article h1 {
  font-size: 1.2em;
  margin-top: 20px;
  margin-bottom: 16px;
}

article h2 {
  font-size: 1.5em;
  margin-top: 24px;
  margin-bottom: 16px;
  cursor: pointer;
}
footer {
  padding: 25px 0;
  text-align: center;
  background-color: var(--footer-bg);
}


.nob {
  list-style-type: circle;
  padding: 0;
  margin: 16px;
}

.downlist {
  padding: 0;
  display: inline;
}

#debian,
#raspbian {
  display: none;
}

.how-summary {
  font-size: 1.05em;
  margin: 18px 0 26px;
  opacity: 0.95;
}

.how-section {
  margin-top: 28px;
}

.how-section h2 {
  font-size: 1.05em;
  font-weight: 600;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 4px;
}

.how-section ul,
.how-trust ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
}

.how-section li,
.how-trust li {
  margin: 6px 0;
}

.how-trust {
  background: var(--card-header);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 14px 16px;
  margin-top: 26px;
}

.how-cta {
  text-align: center;
  margin: 36px 0 22px 0;
}

.btn-primary {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  background: var(--text-color);
  color: var(--bg-color);
  font-weight: 600;
}

.btn-primary:hover {
  opacity: 0.85;
}

.diagram-description {
  text-align: center;
  opacity: 0.7;
  margin-top: 6px;
}

.dn-diagram-wrap {
  width: 100%;
}

.dn-diagram {
  max-width: 520px;
  margin: 0 auto;
  display: block;
  --bg: transparent;
  --stroke: color-mix(in srgb, currentColor 35%, transparent);
  --client-fill: color-mix(in srgb, currentColor 8%, transparent);
  --server-fill: #f4c430;
  --label: currentColor;
  --arrow1: #e11d48;
  --arrow2: #f97316;
  --arrow3: #facc15;
  --arrow4: #22c55e;
  --arrow5: #06b6d4;
  --arrow6: #3b82f6;
  --arrow7: #8b5cf6;
  --arrow8: #ec4899;
}

@media (prefers-color-scheme: dark) {
  .dn-diagram {
    --stroke: color-mix(in srgb, currentColor 45%, transparent);
    --client-fill: color-mix(in srgb, currentColor 12%, transparent);
    --server-fill: #f4c430;
    --arrow: #ff9800;
  }
}

.dn-lines path {
  animation: dashMove 60s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -400;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dn-lines path {
    animation: none;
  }
}

.topm {
    margin-top: 20px !important;
}
.mch {
    min-height: calc(100vh - 94px)
}