/* Keep Zensical's native reading experience. These tokens only brand the site. */
:root {
  --md-primary-fg-color: #a8cefa;
  --md-primary-fg-color--light: #c8e0fc;
  --md-primary-fg-color--dark: #4998f4;
  --md-accent-fg-color: #a8cefa;
}
.pc-home {
  --pc-home-width: 1440px;
  --pc-home-gutter: clamp(20px, 3vw, 48px);
  color: #e9eef8;
  background: transparent;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pc-home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(var(--pc-home-width), 100%);
  margin-inline: auto;
  padding: 48px var(--pc-home-gutter) 28px;
  overflow: hidden;
}

.pc-home-hero-grid,
.pc-home-value,
.pc-home-split,
.pc-home-modes,
.pc-home-footer {
  position: relative;
  z-index: 1;
}

.pc-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 12px 0 0;
}

.pc-home-copy { min-width: 0; }

.pc-home-hero-grid > .pc-home-examples { margin-top: 40px; }

.pc-home-copy h1 {
  max-width: none;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.pc-home-copy p {
  max-width: 38rem;
  margin: 0 0 14px;
  color: #d6e0f0;
  font-size: 18px;
  line-height: 1.6;
}

.pc-home-copy .pc-home-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #a8cefa;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .035em;
}

.pc-home-eyebrow > span { opacity: .45; }

.pc-home-intro p {
  max-width: 34rem;
  font-size: 17px;
}

.pc-home-intro ul {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pc-home-intro ul li {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid rgba(168, 206, 250, .4);
  color: #c1cfe2;
  font-size: 13px;
  line-height: 1.5;
}

.pc-home-intro li a { color: #a8cefa; font-weight: 600; }
.pc-home-intro li a:focus-visible { outline: 2px solid #a8cefa; outline-offset: 4px; }

.pc-home-intro h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.pc-home-copy .pc-home-platforms,
.pc-home-requirement {
  margin: 12px 0 0;
  color: #c1cfe2;
  font-size: 13px;
  line-height: 1.6;
}

.pc-home-install {
  width: fit-content;
  max-width: 100%;
  margin: 24px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: #142840;
  color: #e9eef8;
  font: 15px/1.5 var(--md-code-font, ui-monospace, SFMono-Regular, Menlo, monospace);
  overflow-x: auto;
}

.pc-home-install code,
.pc-home-terminal-body code {
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.pc-home-copy details.pc-home-brew {
  max-width: 100%;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
}

.pc-home-copy .pc-home-brew > summary {
  display: list-item;
  width: fit-content;
  margin: 0;
  padding: 6px 0;
  background: transparent;
  list-style: disclosure-closed inside;
  color: var(--md-accent-fg-color);
  cursor: pointer;
}

.pc-home-copy .pc-home-brew[open] > summary { list-style-type: disclosure-open; }
.pc-home-brew > summary::before,
.pc-home-brew > summary::after { display: none; }

.pc-home-brew .pc-home-install {
  margin-block: 8px;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.pc-home-terminal-wrap.pc-home-examples {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
}

.pc-home-example-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pc-home-example-label {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 8px;
  color: #c1cfe2;
  font-size: 14px;
  cursor: pointer;
}

.pc-home-example-radio:checked + .pc-home-example-label {
  background: #142840;
  color: #fff;
}

.pc-home-example-radio:focus-visible + .pc-home-example-label,
.pc-home-brew summary:focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 3px;
}

.pc-home-session-example,
.pc-home-docker-example {
  grid-column: 1 / -1;
  min-width: 0;
}

.pc-home-docker-example,
#pc-home-docker:checked ~ .pc-home-session-example {
  display: none;
}

#pc-home-docker:checked ~ .pc-home-docker-example {
  display: block;
}

.pc-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  align-items: center;
}

.pc-home-btn {
  display: inline-flex;
  flex: 0 0 auto;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: auto;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.2;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 20, 34, 0.55);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  gap: 10px;
}

.pc-home-btn.primary {
  background: #fff;
  border-color: #fff;
  color: #0b1220;
}

.pc-home-terminal-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pc-home-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  z-index: 2;
  margin: 0 0 0 6px;
  padding: 0 4px;
  border: 0;
  background: transparent;
}

.pc-home-terminal {
  margin: 0;
  border-radius: 16px;
  background: #0d1b30;
  overflow: hidden;
}

.pc-home-terminal-bar {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 24px;
  background: #142840;
  color: #d6e0f0;
  font-size: 14px;
}

.pc-home-terminal-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.pc-home-terminal-body {
  margin: 0;
  padding: 28px 24px 24px;
  color: #e8eef8;
  font: 15px/1.85 var(--md-code-font, ui-monospace, SFMono-Regular, Menlo, monospace);
  white-space: pre;
  overflow-x: auto;
}

.pc-home-comment { color: #a9bdd6; }

.pc-home-terminal .pc-home-terminal-note {
  margin: 0;
  padding: 0 24px 24px;
  color: #c1cfe2;
  font-size: 14px;
  line-height: 1.5;
}

.pc-home-command-line {
  display: block;
}

.pc-home-prompt {
  color: #7dd3fc;
  user-select: none;
}

.pc-home-value,
.pc-home-split,
.pc-home-modes {
  box-sizing: border-box;
  width: min(var(--pc-home-width), 100%);
  margin: 0 auto;
  padding: 56px var(--pc-home-gutter);
}

.pc-home-preview {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(168, 206, 250, .18);
}

.pc-home-preview p {
  max-width: none;
  margin: 0;
  color: #c1cfe2;
  font-size: 13px;
  line-height: 1.6;
}

.pc-home-stats {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(var(--pc-home-width), 100%);
  margin: 0 auto;
  padding: 8px var(--pc-home-gutter) 0;
}

.pc-home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pc-home-stats-grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.pc-home-stats-grid a:hover {
  border-color: rgba(125, 180, 248, 0.45);
  background: rgba(125, 180, 248, 0.07);
}

.pc-home-stat-value {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.pc-home-stat-unit {
  margin-left: 4px;
  color: #7db4f8;
  font-size: 1rem;
  font-weight: 600;
}

.pc-home-stat-label {
  color: #d6e0f0;
  font-size: 14px;
  line-height: 1.45;
}

.pc-home-stat-note {
  color: rgba(179, 194, 214, 0.72);
  font-size: 12.5px;
  line-height: 1.5;
}

.pc-home-stats-source {
  margin: 14px 2px 0;
  color: rgba(179, 194, 214, 0.62);
  font-size: 12.5px;
  line-height: 1.6;
}

.pc-home-run-code {
  max-width: 42rem;
  margin: 0 0 22px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(12, 18, 30, 0.92);
  color: #e8eef8;
  font-family: var(--md-code-font, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 14px;
  line-height: 1.9;
  overflow-x: auto;
  white-space: pre;
}

.pc-home-run-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  font-size: 14px;
}

.pc-home-run-links a {
  color: #7db4f8;
  text-decoration: none;
}

.pc-home-run-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.pc-home-value,
.pc-home-modes {
  text-align: left;
}

.pc-home-value {
  padding-bottom: 32px;
}

.pc-home-value + .pc-home-modes {
  padding-top: 32px;
}

.pc-home-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #b7c6db;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pc-home-value h2,
.pc-home-split h2,
.pc-home-modes h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.pc-home-lede {
  max-width: 42rem;
  margin: 0 auto 40px;
  color: #c1cfe2;
  font-size: 16px;
  line-height: 1.65;
}

.pc-home-modes .pc-home-lede {
  margin-left: 0;
  margin-right: 0;
}

.pc-home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.pc-home-cards.pc-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-home-cards article,
.pc-home-mode {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.pc-home-cards h3,
.pc-home-split h3,
.pc-home-mode strong {
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
}

.pc-home-cards p,
.pc-home-split p,
.pc-home-mode span,
.pc-home-footer p {
  margin: 0;
  color: #c1cfe2;
  font-size: 14px;
  line-height: 1.6;
}

.pc-home-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.pc-home-split-copy h3 {
  margin-top: 22px;
}

.pc-home-split-media {
  position: relative;
  min-height: 360px;
}

.pc-home-shot {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.pc-home-shot.secondary {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 72%;
  transform: rotate(-4deg);
}

.pc-home-shot.analysis {
  margin-top: 28px;
}

.pc-home-mode .pc-home-mode-feature {
  color: #e9eef8;
  font-size: 18px;
  font-weight: 600;
}

.pc-home-mode > span + span { margin-top: 8px; }
.pc-home-modes .pc-home-preview { margin: 0 0 24px; }

.pc-home-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.pc-home-mode {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.pc-home-mode:hover,
.pc-home-btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.pc-home-btn.primary:hover {
  background: #edf2ff;
}

.pc-home-footer {
  box-sizing: border-box;
  width: min(var(--pc-home-width), 100%);
  margin: 0 auto;
  padding: 28px var(--pc-home-gutter) 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 980px) {
  .pc-home-hero-grid, .pc-home-split, .pc-home-cards, .pc-home-mode-grid, .pc-home-stats-grid { grid-template-columns: minmax(0, 1fr); }
  .pc-home-cards.pc-cols-2 { grid-template-columns: minmax(0, 1fr); }
  .pc-home-shot.secondary { position: static; width: 100%; margin-top: 14px; transform: none; }
  .pc-home-hero, .pc-home-value, .pc-home-split, .pc-home-modes, .pc-home-stats, .pc-home-footer { max-width: 780px; }
  .pc-home-hero-grid { gap: 32px; }
  .pc-home-hero-grid > .pc-home-examples { margin-top: 0; }
  .pc-home-intro h2 { text-wrap: initial; }
}

@media (max-width: 600px) {
  .pc-home-hero { padding-top: 28px; padding-bottom: 24px; }
  .pc-home-hero-grid { padding: 0; gap: 28px; }
  .pc-home-intro ul { gap: 12px; margin-top: 20px; }
  .pc-home-copy .pc-home-eyebrow { font-size: 12px; margin-bottom: 16px; }
  .pc-home-terminal-wrap.pc-home-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pc-home-example-label { width: 100%; padding: 10px 8px; font-size: 12px; line-height: 1.4; text-align: center; }

  .pc-home-copy h1 { font-size: clamp(42px, 11vw, 64px); }

  .pc-home-copy p { font-size: 16px; }
  .pc-home-intro h2 { font-size: 27px; margin-bottom: 18px; }
  .pc-home-actions { margin-top: 22px; gap: 10px; }
  .pc-home-preview { margin-top: 24px; }
  .pc-home-terminal-body { padding: 22px 18px; font-size: 13px; }
  .pc-home-terminal-bar { padding-inline: 18px; }
  .pc-home-terminal .pc-home-terminal-note { padding: 0 18px 20px; font-size: 13px; }
  .pc-home-install { font-size: 14px; }
}

/* A single full-page canvas shared by all Zensical templates. */
html { background: #07090f; }
body {
  height: auto;
  min-height: 100vh;
  isolation: isolate;
  background:
    radial-gradient(ellipse 90% 55% at 78% 8%, rgba(132,181,232,.38), transparent 58%),
    radial-gradient(ellipse 70% 50% at 18% 92%, rgba(46,92,156,.3), transparent 62%),
    linear-gradient(180deg, #1a3d68 0%, #0d1b30 42%, #07090f 100%);
  background-repeat: no-repeat;
}
body::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 48px;
}
/* Preserve native sticky positioning and stacking: header menus must be above tabs. */
.md-header, .md-tabs { background: transparent; backdrop-filter: none; }
.md-header--shadow { background: rgba(13,27,48,.96); }
.md-nav--secondary .md-nav__title { background: transparent; box-shadow: none; }
.md-select__inner { background: #142840; border: 1px solid #416080; border-radius: 12px; }
.md-select__link:hover { background: rgba(255,255,255,.1); }
.md-main__inner:has(.pc-home-container) { display: block; width: 100%; max-width: none; margin-top: 0; }
.pc-home-container { width: 100%; }
.pc-home-article.md-typeset a {
  text-decoration: none;
  transition: color 160ms ease;
}
.pc-home-article.md-typeset a:hover { color: #fff; }
.pc-home-article.md-typeset a:focus-visible {
  outline: 2px solid var(--md-accent-fg-color);
  outline-offset: 4px;
  border-radius: 3px;
}
.pc-home-article a.pc-home-btn.primary { color: #0b1220; }
.pc-home-article .pc-home-terminal-body { color: #e8eef8; }
.md-typeset img[src$=".svg"] { background: #f4f7fc; border-radius: 12px; }
/* The full wordmark carries a light backing for contrast on dark surfaces. */
.md-logo img { width: auto; border-radius: 4px; padding: 0; }
.md-typeset img[src*="/logos/"] { background: transparent; border-radius: 4px; padding: 0; max-width: min(100%, 420px); }
@media (max-width: 76.234375em) {
  .md-nav--primary { background: #102138; }
}
/* Keep peer entries consistent; indent child pages on desktop. */
@media (min-width: 76.25em) {
  .md-nav--primary .md-nav[data-md-level]:not([data-md-level="0"]):not([data-md-level="1"]) > .md-nav__list {
    padding-inline-start: 0.4rem;
    font-size: 0.7rem;
  }
}
.md-code__button, .md-clipboard { color: #afc5df; }
.md-code__button:hover, .md-clipboard:hover { color: #fff; }
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #102138;
  --md-default-fg-color: rgba(239,245,252,.9);
  --md-code-bg-color: #0d1b2e;
}
.md-footer, .md-footer-meta { background: transparent; }
.md-typeset img[src$=".jpg"] { border-radius: 12px; }

/* Task guides use native Markdown lists, headings, fences, tabs and callouts. */
.pv-guide { max-width: 48rem; margin-inline: auto; }
.pv-guide .pv-guide-section { margin: 0 0 .45rem; color: var(--md-accent-fg-color); font-size: .68rem; font-weight: 600; }
.pv-guide h1 { margin-bottom: .8rem; color: var(--md-default-fg-color); font-size: 1.8rem; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
.pv-guide > h1 + p { margin-bottom: 1.8rem; font-size: .86rem; line-height: 1.75; }
.pv-guide h2 { margin-top: 2rem; font-size: 1.15rem; font-weight: 650; }
.pv-guide .highlight { margin-block: 1rem; border: 1px solid rgba(168,206,250,.2); border-radius: .65rem; overflow: hidden; }
.pv-guide .highlight pre { margin: 0; }
.pv-guide .highlight pre > code { padding: 1rem; line-height: 1.65; }
.pv-guide .highlight > .filename { padding: .5rem 1rem; border-bottom: 1px solid rgba(168,206,250,.14); background: rgba(168,206,250,.06); color: var(--md-accent-fg-color); font-size: .65rem; }
.pv-guide .admonition, .pv-guide details { border-radius: .55rem; }
.pv-guide-steps > ol { margin: 1.5rem 0 2rem .55rem; padding: 0; list-style: none; counter-reset: guide-step; }
.pv-guide-steps > ol > li { position: relative; margin: 0; padding: 0 0 1.5rem 1.7rem; border-left: 1px solid rgba(168,206,250,.22); counter-increment: guide-step; }
.pv-guide-steps > ol > li:last-child { padding-bottom: .1rem; border-left-color: transparent; }
.pv-guide-steps > ol > li::before { content: counter(guide-step); position: absolute; top: .05rem; left: -.57rem; display: grid; place-items: center; width: 1.12rem; height: 1.12rem; border: 1px solid rgba(168,206,250,.4); border-radius: 50%; background: #142840; color: #c8e0fc; font-size: .6rem; font-weight: 600; }
.pv-guide-steps > ol > li > h3 { margin: 0 0 1rem; font-size: .85rem; font-weight: 650; line-height: 1.5; }
.pv-guide-steps > ol > li > :last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .pv-guide h1 { font-size: 1.5rem; }
  .pv-guide-steps > ol > li { padding-left: 1.15rem; }
  .pv-guide .highlight pre > code { padding: .75rem; }
}
