/* logiCells.net shared branding and Material integration - V2.11.2 */
:root {
  --lgc-slate: #0d1418;
  --lgc-slate-2: #10191e;
  --lgc-border: #26343b;
  --lgc-orange: #ff5b22;
  --lgc-text: #101517;
  --lgc-muted: #667177;
  --lgc-surface: #f4f6f3;
  --lgc-max: 1440px;
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: var(--lgc-slate);
  --md-accent-fg-color: var(--lgc-orange);
}
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: var(--lgc-slate);
  --md-accent-fg-color: var(--lgc-orange);
}

html { scroll-padding-top: 9rem; }
body { background: var(--lgc-surface); }
.md-typeset a { text-underline-offset: .12em; }
.md-typeset h1 { font-weight: 700; color: var(--lgc-text); }

/* Ecosystem header ------------------------------------------------------- */
.lgc-site-header {
  position: relative;
  z-index: 5;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e3e6e4;
}
.lgc-site-header__inner {
  min-height: 82px;
  max-width: var(--lgc-max);
  margin: 0 auto;
  padding: 0 42px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.lgc-wordmark {
  display: inline-flex;
  align-items: baseline;
  margin-right: auto;
  text-decoration: none !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.lgc-wordmark__logi { color: #0b1114; }
.lgc-wordmark__cells { color: var(--lgc-orange); }
.lgc-site-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  white-space: nowrap;
}
.lgc-site-nav a {
  color: #111719;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
}
.lgc-site-nav a:hover { color: var(--lgc-orange); }
.lgc-site-cta {
  padding: .85rem 1.15rem;
  border-radius: 3px;
  background: #0c1317;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
}

/* Material documentation chrome ---------------------------------------- */
.md-header {
  position: relative;
  top: auto;
  z-index: 4;
  background: var(--lgc-slate);
  box-shadow: none;
  border-bottom: 1px solid var(--lgc-border);
}
.md-header__inner {
  max-width: var(--lgc-max);
  min-height: 64px;
  margin: 0 auto;
  padding-left: 42px;
  padding-right: 42px;
}
.md-header__button.md-logo,
.md-nav__title .md-logo {
  display: none !important;
}
.md-header__title {
  margin-left: 0 !important;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.md-search { margin-left: auto; }
.md-search__form {
  background: #091014;
  border-radius: 2px;
}
.md-tabs {
  position: relative;
  top: auto;
  z-index: 3;
  background: var(--lgc-slate);
  border-bottom: 1px solid var(--lgc-border);
}
.md-tabs__inner {
  max-width: var(--lgc-max);
  margin: 0 auto;
  padding-left: 42px;
  padding-right: 42px;
}
.md-tabs__link {
  font-weight: 500;
  opacity: .72;
}
.md-tabs__link--active,
.md-tabs__link:hover { opacity: 1; }

/* Language switcher ----------------------------------------------------- */
.lgc-language-switcher {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: .75rem;
}
.lgc-language-switcher__item {
  display: inline-flex;
  min-width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a474d;
  border-radius: 3px;
  color: #cfd6d9 !important;
  text-decoration: none !important;
  font-size: .7rem;
  font-weight: 750;
}
.lgc-language-switcher__item:hover,
.lgc-language-switcher__item.is-active {
  border-color: var(--lgc-orange);
  color: #fff !important;
}
.lgc-language-switcher__item.is-active { background: rgba(255,91,34,.12); }

/* Main documentation layout -------------------------------------------- */
.md-main { background: var(--lgc-surface); }
.md-main__inner { margin-top: 0; }
.md-content__inner { padding-top: 2.3rem; }

/* Home hero ------------------------------------------------------------- */
.lgc-doc-hero {
  position: relative;
  overflow: hidden;
  background: #0b1216;
  color: #fff;
  min-height: 540px;
}
.lgc-doc-hero__grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(87,112,122,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87,112,122,.22) 1px, transparent 1px);
  background-size: 78px 78px;
}
.lgc-doc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--lgc-max);
  margin: 0 auto;
  padding: 72px 42px 78px;
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(380px,.98fr);
  gap: 70px;
  align-items: center;
}
.lgc-doc-hero__eyebrow {
  margin-bottom: 22px;
  color: var(--lgc-orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .22em;
}
.lgc-doc-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.8rem,5vw,5.4rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 800;
}
.lgc-doc-hero__copy > p {
  max-width: 720px;
  margin: 0;
  color: #b9c1c5;
  font-size: 1.2rem;
  line-height: 1.55;
}
.lgc-doc-hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.lgc-button {
  display: inline-flex;
  padding: .9rem 1.2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #536067;
  border-radius: 2px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 750;
}
.lgc-button--primary { background: var(--lgc-orange); border-color: var(--lgc-orange); }
.lgc-button--secondary { background: transparent; }
.lgc-doc-hero__panel {
  border: 1px solid #324149;
  border-radius: 3px;
  background: rgba(8,15,18,.78);
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}
.lgc-doc-hero__panel-head {
  padding: 15px 18px;
  border-bottom: 1px solid #324149;
  color: #7e8b91;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .67rem;
  letter-spacing: .17em;
}
.lgc-doc-hero__panel-head span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  background: var(--lgc-orange);
}
.lgc-doc-hero__panel pre {
  margin: 0;
  padding: 24px;
  background: transparent;
  color: #bdc7cb;
  font-size: .9rem;
}
.lgc-home-content { max-width: var(--lgc-max); margin: 0 auto; }

/* Responsive ------------------------------------------------------------ */
@media screen and (max-width: 76.234375em) {
  .lgc-site-header__inner { padding-left: 24px; padding-right: 24px; min-height: 68px; }
  .lgc-site-nav { gap: 24px; }
  .md-header__inner { padding-left: 20px; padding-right: 20px; }
  .md-tabs { display: none; }
  .md-header__button[for="__drawer"] { display: inline-flex; }
  .md-nav--primary > .md-nav__title {
    height: auto;
    padding-top: .9rem;
    background: #fff;
    color: #111;
    box-shadow: none;
  }
  .md-nav--primary > .md-nav__title .md-nav__button { display: none; }
  .lgc-doc-hero__inner { grid-template-columns: 1fr; }
  .lgc-doc-hero__panel { max-width: 760px; }
}

@media screen and (max-width: 60em) {
  .lgc-site-nav { display: none; }
  .lgc-site-header__inner { min-height: 58px; }
  .lgc-wordmark { font-size: 1.55rem; }
  .lgc-language-switcher { margin-left: .35rem; }
  .md-header__title { font-size: .88rem; }
  .lgc-doc-hero__inner { padding: 52px 22px 60px; gap: 34px; }
}

@media screen and (max-width: 44em) {
  .md-search { margin-left: 0; }
  .lgc-language-switcher__item { min-width: 1.75rem; height: 1.75rem; }
}
