/* duck-yellow accent — Material's "custom" primary/accent reads these vars. */
:root {
  --md-primary-fg-color:        #f2c200;
  --md-primary-fg-color--light: #f7d652;
  --md-primary-fg-color--dark:  #c79e00;
  --md-primary-bg-color:        #1b1f24;
  --md-primary-bg-color--light: #1b1f24;
  --md-accent-fg-color:         #b58900;
  --md-accent-fg-color--transparent: rgba(242, 194, 0, 0.1);
}

/* In dark mode the yellow header text/icons need a dark ink to stay legible. */
[data-md-color-scheme="slate"] {
  --md-accent-fg-color: #f2c200;
}

/* Links pick up the brand yellow without washing out on white. */
.md-typeset a {
  color: var(--md-accent-fg-color);
}

/* The page's own H1 exists only to stop MkDocs injecting an "Home" title — hide it. */
.md-typeset h1.duck-hide {
  display: none;
}

/* A slightly larger header logo — the brand now lives only here (no hero logo). */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 1.7rem;
  width: auto;
}

/* Minimal homepage hero — pitch + buttons only, compact so "Install" and the read
   snippet are visible on the first screen without scrolling. */
.md-typeset .duck-hero {
  text-align: center;
  margin: 0 auto 0.5rem;
}
.md-typeset .duck-hero .tagline {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--md-default-fg-color--light);
  max-width: 560px;
  margin: 0.4rem auto 0.2rem;
}
.duck-hero .mantra {
  font-size: 0.78rem;
  color: var(--md-default-fg-color--lighter);
  margin: 0.3rem auto 0;
}
.md-typeset .duck-hero .md-button {
  margin: 0.2rem 0.2rem;
  padding: 0.35em 0.9em;
}

/* The install / quickstart column on the minimal homepage — wide, tight to the buttons. */
.duck-home-code {
  max-width: 820px;
  margin: 0.6rem auto 0;
}
.md-typeset .duck-home-code h2:first-child {
  margin-top: 0.3rem;
}
/* No horizontal scrolling: long lines (the abfss:// connect string) wrap instead. */
.md-typeset .duck-home-code pre > code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Acknowledgements — compact, centered single-line credit. */
.duck-thanks {
  text-align: center;
  color: var(--md-default-fg-color--light);
  margin-top: 1.5rem;
  font-size: 0.85rem;
}
