/* Daruma Tech colours for the documentation theme. */
:root,
[data-md-color-scheme="default"] {
  --md-primary-fg-color: #14799c;
  --md-primary-fg-color--light: #3a95b4;
  --md-primary-fg-color--dark: #0f5d78;
  --md-accent-fg-color: #0f5d78;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #0f5d78;
  --md-primary-fg-color--light: #3a95b4;
  --md-primary-fg-color--dark: #0b4a60;
  --md-accent-fg-color: #6cc2de;
}

/* ── Brand: the header mark, and a product's lockup inside its section (overrides/partials/logo.html). */
.md-header__button.md-logo { display: inline-flex; align-items: center; gap: .45rem; margin-right: .6rem; }
.md-header__button.md-logo img.dt-logo { height: 1.55rem; width: auto; }
.md-header__button.md-logo .dt-product { display: inline-flex; align-items: center; gap: .35rem; }
.md-header__button.md-logo .dt-product-sep { opacity: .75; font-size: .9rem; }
.md-header__button.md-logo img.dt-product-mark { height: 1.1rem; width: 1.1rem; }
.md-header__button.md-logo .dt-product-name { font-size: .78rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
/* The title beside the logo repeats the site name; the logos say it. */
.md-header__title .md-header__topic:first-child { visibility: hidden; }

/* Light and dark versions of a mark (data-md-color-scheme: default / slate). */
[data-md-color-scheme="default"] .only-dark, [data-md-color-scheme="slate"] .only-light { display: none !important; }

/* A product's name and mark at the top of its landing page. */
.product-hero { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; }
.product-hero img { width: 3.2rem; height: 3.2rem; }
.product-hero-text { display: flex; flex-direction: column; gap: .2rem; }
.product-hero-word { font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--md-default-fg-color); }
.product-hero-tag { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--md-default-fg-color--light); }

/* The home page's product cards. */
.product-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 1.2rem 0 1.6rem; }
.md-typeset a.product-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: .5rem; color: inherit; text-decoration: none; transition: border-color 120ms, box-shadow 120ms; }
.md-typeset a.product-card:hover, .md-typeset a.product-card:focus-visible { border-color: var(--md-accent-fg-color);
  box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.product-card-mark { width: 3rem; height: 3rem; flex: none; }
.product-card-text { display: flex; flex-direction: column; gap: .35rem; }
.product-card-name { font-weight: 700; font-size: .95rem; color: var(--md-default-fg-color); }
.product-card-desc { font-size: .72rem; color: var(--md-default-fg-color--light); line-height: 1.5; }
