[data-lustra-shell-header] {
  position: sticky;
  top: 12px;
  z-index: 100;
  height: 96px;
  pointer-events: none;
}

.lustra-shell {
  --shell-ink: #171714;
  --shell-muted: #6d6962;
  --shell-line: rgba(42, 38, 32, 0.12);
  --shell-paper: rgba(255, 253, 249, 0.94);
  --shell-accent: #c9572d;
  position: relative;
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  color: var(--shell-ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  pointer-events: auto;
}

.lustra-shell__bar {
  display: grid;
  grid-template-columns: minmax(185px, 1fr) auto minmax(185px, 1fr);
  align-items: center;
  min-height: 64px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--shell-line);
  border-radius: 18px;
  background: var(--shell-paper);
  box-shadow: 0 18px 50px rgba(39, 31, 23, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lustra-shell__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.lustra-shell__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: #171714;
}

.lustra-shell__mark svg {
  width: 17px;
  height: 17px;
}

.lustra-shell__wordmark {
  display: grid;
  line-height: 1;
}

.lustra-shell__wordmark strong {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lustra-shell__wordmark small {
  margin-top: 4px;
  color: var(--shell-muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lustra-shell__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.lustra-shell__nav a,
.lustra-shell__login {
  color: #4f4b45;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.lustra-shell__nav a:hover,
.lustra-shell__login:hover {
  color: var(--shell-accent);
}

.lustra-shell__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.lustra-shell__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  color: #fff !important;
  background: var(--shell-accent);
  box-shadow: 0 10px 22px rgba(201, 87, 45, 0.23);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.lustra-shell__toggle,
.lustra-shell__mobile {
  display: none;
}

.lustra-shared-footer {
  --shell-ink: #171714;
  --shell-muted: #716c64;
  --shell-line: rgba(42, 38, 32, 0.12);
  --shell-paper: #fffdf9;
  border-top: 1px solid var(--shell-line);
  background: var(--shell-paper);
  color: var(--shell-ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.lustra-shared-footer__inner {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: 46px 0 30px;
}

.lustra-shared-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 54px;
}

.lustra-shared-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.lustra-shared-footer__intro p {
  max-width: 320px;
  margin: 22px 0 0;
  color: var(--shell-muted);
  font-size: 13px;
  line-height: 1.7;
}

.lustra-shared-footer__column strong {
  display: block;
  margin-bottom: 17px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lustra-shared-footer__column a {
  display: block;
  width: fit-content;
  margin-top: 11px;
  color: var(--shell-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.lustra-shared-footer__column a:hover {
  color: var(--shell-ink);
}

.lustra-shared-footer__column .lustra-shared-footer__journal {
  padding: 9px 12px;
  border: 1px solid var(--shell-line);
  border-radius: 10px;
  background: #f7f2ec;
  color: var(--shell-ink);
}

.lustra-shared-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--shell-line);
  color: var(--shell-muted);
  font-size: 11px;
}

.lustra-shared-footer__bottom span:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  [data-lustra-shell-header] {
    top: 10px;
    height: 84px;
  }

  .lustra-shell {
    width: min(100% - 20px, 680px);
  }

  .lustra-shell__bar {
    display: flex;
    justify-content: space-between;
    min-height: 58px;
    padding: 7px 8px 7px 11px;
    border-radius: 16px;
  }

  .lustra-shell__nav,
  .lustra-shell__actions {
    display: none;
  }

  .lustra-shell__toggle {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--shell-accent);
  }

  .lustra-shell__toggle span {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
    box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
  }

  .lustra-shell__mobile {
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    padding: 14px;
    border: 1px solid var(--shell-line);
    border-radius: 16px;
    background: #fffdfa;
    box-shadow: 0 20px 50px rgba(39, 31, 23, 0.16);
  }

  .lustra-shell.is-open .lustra-shell__mobile {
    display: grid;
  }

  .lustra-shell__mobile nav {
    display: grid;
  }

  .lustra-shell__mobile nav a {
    padding: 13px 10px;
    border-bottom: 1px solid var(--shell-line);
    color: var(--shell-ink);
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
  }

  .lustra-shell__mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 14px;
  }

  .lustra-shell__mobile-actions .lustra-shell__login {
    display: grid;
    place-items: center;
    border: 1px solid var(--shell-line);
    border-radius: 13px;
  }

  .lustra-shared-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 26px;
  }
}

@media (max-width: 420px) {
  .lustra-shell__wordmark small {
    display: none;
  }

  .lustra-shared-footer__inner {
    width: min(calc(100% - 28px), 1180px);
  }

  .lustra-shared-footer__grid {
    grid-template-columns: 1fr;
    padding-bottom: 36px;
  }

  .lustra-shared-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .lustra-shared-footer__bottom span:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lustra-shell *,
  .lustra-shell *::before,
  .lustra-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
