/* Look of the documentation site, on top of Material for MkDocs */
:root {
  --md-accent-fg-color: #0e7490;                 /* links and buttons under the pointer */
  --md-accent-fg-color--transparent: rgba(14, 116, 144, .1);
  --md-typeset-a-color: #0891b2;
}
.md-typeset .md-button { border-radius: .25rem; border-width: .075rem; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.md-typeset .md-button:hover, .md-typeset .md-button:focus { background-color: rgba(8, 145, 178, .08); border-color: #0e7490; color: #0e7490; }
.md-typeset .md-button--primary { background-color: #0891b2; border-color: #0891b2; color: #fff; }
.md-typeset .md-button--primary:hover, .md-typeset .md-button--primary:focus { background-color: #0e7490; border-color: #0e7490; color: #fff; box-shadow: 0 .3rem .9rem rgba(14, 116, 144, .28); }
.md-nav__link:hover, .md-tabs__link:hover { color: #0e7490; }
.md-tabs__link:hover { color: #fff; }
.md-copyright a { color: inherit; text-decoration: underline; }

/* ---- home page hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.2rem; align-items: center; margin: .6rem 0 2.4rem; padding: 2.4rem; border-radius: 1.2rem;
  background: radial-gradient(60rem 30rem at 110% -20%, rgba(8, 145, 178, .18), transparent 60%), radial-gradient(40rem 24rem at -10% 120%, rgba(201, 100, 66, .12), transparent 60%), #f6fbfc;
  border: .05rem solid rgba(8, 145, 178, .18); }
.hero__eyebrow { display: inline-block; margin: 0 0 .9rem; padding: .2rem .7rem; border-radius: 10rem; background: rgba(8, 145, 178, .12); color: #0e7490; font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.md-typeset .hero h1 { margin: 0 0 .9rem; font-size: clamp(1.3rem, 2.9vw, 1.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; color: #0f172a; }
.md-typeset .hero h1 em { font-style: normal; color: #0891b2; }
.md-typeset .hero p { margin: 0 0 .5rem; font-size: .82rem; line-height: 1.6; color: #334155; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.md-typeset .hero__actions .md-button { margin: 0; padding: .5em 1.3em; white-space: nowrap; }
.md-typeset .hero code { white-space: nowrap; }
.md-typeset .hero__more { margin-top: .9rem; font-size: .72rem; }
.md-typeset .hero__points { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin: 1.2rem 0 0; padding: 0; list-style: none; font-size: .68rem; color: #475569; }
.md-typeset .hero__points li { margin: 0 !important; list-style: none; }
.hero__points li::before { content: "\2713"; margin-right: .35rem; color: #0891b2; font-weight: 700; }
.hero__shot { display: block; border-radius: .7rem; overflow: hidden; border: .05rem solid rgba(15, 23, 42, .12); box-shadow: 0 1.2rem 3rem rgba(15, 23, 42, .16), 0 .2rem .6rem rgba(15, 23, 42, .06); transition: transform .2s, box-shadow .2s; }
.hero__shot:hover { transform: translateY(-.15rem); box-shadow: 0 1.6rem 3.6rem rgba(15, 23, 42, .2), 0 .2rem .6rem rgba(15, 23, 42, .06); }
.hero__shot img { display: block; width: 100%; }
@media (max-width: 60em) {
  .hero { grid-template-columns: 1fr; padding: 1.4rem; gap: 1.4rem; }
  .md-typeset .hero h1 { font-size: clamp(1.25rem, 6.2vw, 1.9rem); }
}
.md-typeset .hero ol { margin: .2rem 0 0; padding: 0; font-size: .82rem; line-height: 1.5; color: #0f172a; }
.md-typeset .hero ol li { margin: 0 0 .35rem 1.1rem; }

/* ---- left menu: the pages of a group are indented under its title */
@media (min-width: 76.25em) {
  .md-nav--primary .md-nav__item--section .md-nav__item--section > .md-nav > .md-nav__list > .md-nav__item { padding-left: .7rem; }
}
.md-typeset .hero h1 .hero__keep { white-space: nowrap; }

/* ---- phones: the two buttons of the hero take the full width, one above the other */
@media (max-width: 30em) {
  .md-typeset .hero__actions { flex-direction: column; gap: 0; }
  .md-typeset .hero__actions .md-button + .md-button { margin-top: .45rem; }
  .md-typeset .hero__actions .md-button { width: 100%; padding: .5em 1em; text-align: center; font-size: .72rem; }
}

/* ---- the three setups: their name, as a label above a card or a title */
.md-typeset .setup__tag { display: inline-block; padding: .15rem .65rem; border-radius: 10rem; background: rgba(8, 145, 178, .12); color: #0e7490; font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.md-typeset .setup__tag--accent { background: #0891b2; color: #fff; }
.md-typeset .grid.cards.setups { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.md-typeset .grid.cards.setups > ul > li { display: flex; flex-direction: column; }
.md-typeset .grid.cards.setups > ul > li > p:last-child { margin-top: auto; padding-top: .4rem; font-weight: 700; }
.md-typeset .grid.cards.setups pre > code { font-size: .62rem; }

/* ---- where a query goes: boxes and arrows, in a row (a column on phones) */
.md-typeset .flow { display: flex; align-items: stretch; margin: 1.2em 0 1.4em; font-size: .68rem; line-height: 1.45; }
.md-typeset .flow__box { flex: 1 1 0; min-width: 0; padding: .65rem .8rem; border: .05rem solid var(--md-default-fg-color--lighter); border-radius: .4rem; background: var(--md-default-bg-color); }
.md-typeset .flow__box strong { display: block; margin-bottom: .1rem; font-size: .74rem; }
.md-typeset .flow__box--yours { border-color: rgba(8, 145, 178, .55); background: rgba(8, 145, 178, .06); }
.md-typeset .flow__box--untrusted { border-style: dashed; border-color: rgba(201, 100, 66, .8); background: rgba(201, 100, 66, .06); }
.md-typeset .flow__arrow { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 7.5rem; padding: 0 .5rem; color: var(--md-default-fg-color--light); font-size: .6rem; line-height: 1.3; text-align: center; }
.md-typeset .flow__arrow::after { content: "\2192"; color: #0891b2; font-size: 1.1rem; line-height: 1.1; }
@media (max-width: 45em) {
  .md-typeset .flow { flex-direction: column; }
  .md-typeset .flow__arrow { max-width: none; padding: .3rem 0; }
  .md-typeset .flow__arrow::after { content: "\2193"; }
}

/* ---- tables that compare the setups: the first column names the rows */
.md-typeset .compare table td:first-child { font-weight: 700; white-space: nowrap; }

/* ---- key figures side by side: narrower cards than the default grid */
.md-typeset .grid.cards.kpis { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
